Bandwidth allocation method, and communication device and storage medium
By introducing a bandwidth allocation method in the FTTR and FTTH networks, the bandwidth is allocated in a coordinated manner according to the service attributes, the problem that existing networks cannot coordinate in resource allocation is solved, and low-latency transmission of services and deterministic delay transmission of services are realized.
Patent Information
- Application Number
- PCT/CN2024/103172
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-27
- Filing Date
- 2024-07-02
- Publication Date
- 2025-05-01
AI Technical Summary
The existing FTTR and FTTH networks cannot coordinate in resource allocation, making it difficult to achieve low-latency transmission or deterministic delay transmission of services.
By implementing the bandwidth allocation method between the master and the slave device, bandwidth allocation operations are performed according to the attributes of the service, and bandwidth resource allocation between FTTR and FTTH is coordinated.
The bandwidth resource collaboration between FTTR and FTTH networks is realized, and the service certainty service capabilities of the network are improved.
Smart Images

Figure CN2024103172_01052025_PF_FP_ABST
Abstract
Description
Bandwidth allocation method, communication device and storage medium
[0001] Cross-references
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on October 27, 2023, with application number 202311424860.3 and application name “Bandwidth Allocation Method, Communication Equipment and Storage Medium”. The entire contents of the application are incorporated by reference into this application. Technical Field
[0003] The embodiments of the present application relate to the field of communication technology, and in particular to a bandwidth allocation method, communication equipment, and storage medium. Background Art
[0004] As fiber-to-the-room (FTTR) technology standardization matures, FTTR is entering the large-scale deployment phase. Similar to fiber-to-the-home (FTTH), FTTR utilizes a point-to-multipoint network topology, consisting of a main FTTR unit (MFU) connected to multiple sub-FTTR units (SFUs) via an indoor optical distribution network (IFDN). Furthermore, these multiple main units are connected to the FTTH optical line terminal (OLT) via an optical distribution network (ODN).
[0005] In the current networking applications of related technologies, FTTR and FTTH are two independent networks that cannot achieve coordination in resource allocation, making it difficult to achieve low-latency or deterministic latency transmission of services.
[0006] Summary of the Invention
[0007] In a first aspect, an embodiment of the present application provides a bandwidth allocation method, applied to a master device, the method comprising: receiving a bandwidth request for a first service sent by a slave device; and performing bandwidth allocation-related operations according to 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: receiving a service message of a first service sent by a home user device; sending a bandwidth request related to the service attributes of the first service to a master device, wherein the bandwidth request is used to request allocation of bandwidth for the first service.
[0009] In a third aspect, an embodiment of the present application provides a communication device, comprising: one or more processors; a memory on which one or more programs are stored, and 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.
[0010] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the bandwidth allocation method as described in the first aspect above, or the bandwidth allocation method as described in the second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] 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 to the technical solution of the present invention.
[0012] FIG1 is a schematic diagram of an implementation environment of a bandwidth allocation method provided in an embodiment of the present application;
[0013] FIG2 is a schematic diagram of an integrated FTTH and FTTR network architecture provided in an embodiment of the present application;
[0014] FIG3 is a schematic diagram of another integrated FTTH and FTTR network architecture provided in an embodiment of the present application;
[0015] FIG4 is a flow chart of a bandwidth allocation method provided in an embodiment of the present application;
[0016] FIG5a is a schematic diagram of an uplink channel construction provided in an embodiment of the present application;
[0017] FIG5b is a schematic diagram of another uplink channel construction provided in an embodiment of the present application;
[0018] FIG6 is a flow chart of a bandwidth allocation method provided in an embodiment of the present application;
[0019] FIG7 is a flow chart of a bandwidth allocation method provided in an embodiment of the present application;
[0020] FIG8 is a schematic diagram of the device structure of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to 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 intended to limit the present invention.
[0022] 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 for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. "At least one" means one or more, and "more" 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 existence of A alone, the existence of A and B at the same time, and the existence of B 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, b and c, where a, b, c can be single or multiple.
[0023] 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.
[0024] To facilitate understanding of the solutions of the embodiments of the present application and to provide a clear and concise description of the following embodiments, a brief introduction to the relevant technologies is first given:
[0025] Passive Optical Network (PON): A 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-layer network, completing the upstream access of the PON. The upper-layer 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, completing the downstream transmission of the PON and realizing functions such as control, management and ranging 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. The ONU works with the OLT to implement Ethernet Layer 2 and Layer 3 functions, providing users with voice, data and multimedia services. For example, the ONU can selectively receive data sent by the OLT; respond to management commands issued by the OLT and make corresponding adjustments; buffer the user's Ethernet data and send it to the uplink within the sending window allocated by the OLT; and perform other user management functions.
[0026] 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.
[0027] Fiber to the Room (FTTR) refers to the use of fiber optics to connect all incoming broadband services to homes, ensuring that every room has the same broadband speed as the home broadband, without any impact. Similar to FTTH (Fiber to the Home), FTTR uses a point-to-multipoint network topology, with a main FTTR unit (MFU) connecting multiple sub-FTTR units (SFUs) via an indoor fiber distribution network (IFDN).
[0028] Please refer to Figure 1, which is a schematic diagram of an implementation environment for the bandwidth allocation method provided in an embodiment of the present application. The implementation environment includes an OLT, at least one master device, and at least one slave device. In the example shown in Figure 1, an OLT is connected to multiple master devices, each of which is connected to multiple slave devices. The OLT can connect to multiple master devices via an ODN, and the master device can connect to multiple slave devices via an IFDN.
[0029] For example, 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.
[0030] 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.
[0031] The east-west service can represent a home interconnection service. The destination address of the east-west service is the address of the home user device. The east-west service message is forwarded by the FTTR networking devices to the home user device corresponding to the destination address. For example, the master device receives the east-west service message from the home user device, then forwards the message to the corresponding slave device based on the destination address. The slave device then forwards the message to the home user device corresponding to the destination address. Alternatively, slave device 1 receives the east-west service message from the home user device and then forwards the message to the master device. The master device then forwards the message to slave device 2 based on the destination address. Slave device 2 then forwards the message to the home user device corresponding to the destination address.
[0032] North-south services can refer to access services, which can be Ethernet services, Synchronous Digital Hierarchy (SDH) services, etc. For example, Ethernet / SDH service packets are first forwarded by FTTR networking equipment to FTTH networking equipment, and then enter the upper-layer equipment through the FTTH equipment to achieve service access. For example, the master device receives north-south service packets from home user devices, then forwards the service packets to the OLT, and then achieves network access through the OLT; alternatively, the slave device receives north-south service packets from home user devices, then forwards the service packets to the master device, which then forwards the service packets to the OLT, and then enters the upper-layer equipment through the OLT to achieve service access.
[0033] Exemplarily, a home user device may be a handheld device, wearable device, or computing device with wireless communication capabilities. Specifically, a home user device may be a mobile phone, a tablet computer, a smart electrical device, or a computer with wireless transceiver capabilities. A home user device may also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wired / wireless terminal used in industrial control, a wired / wireless terminal used in telemedicine, a wired / wireless terminal used in a smart home, a wired / wireless terminal used in a smart grid, a wired / wireless terminal used in a smart city, and the like.
[0034] 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.
[0035] In current networking applications of related technologies, FTTR and FTTH are two independent networks that cannot coordinate in resource allocation. Specifically, east-west services transmitted only in the FTTR segment, and north-south services transmitted in both the FTTH and FTTR segments, cannot coordinate in bandwidth allocation. The bandwidth of north-south services in the FTTH and FTTR segments cannot be coordinated either, making it difficult to achieve low-latency or deterministic latency transmission of services.
[0036] Please refer to Figure 2, which is a schematic diagram of an integrated FTTH and FTTR networking architecture provided by an embodiment of the present application. As shown in Figure 2, when FTTH and FTTR are implemented in an integrated network, the OLT in Figure 1 serves as the OLT in the FTTH architecture and can be referred to as the FTTH OLT; the master device in Figure 1 serves as both the ONU in the FTTH architecture and the OLT in the FTTR architecture, and can therefore be considered to consist of two modules: the FTTH ONU and the FTTR OLT; the slave device in Figure 1 serves as the ONU in the FTTR architecture and can be referred to as the FTTR ONU.
[0037] 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 between 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 the slave device, then determines the service attributes of the first service, and then performs a bandwidth allocation operation based on the service attributes of the first service. In the embodiment of the present application, the master device performs a corresponding bandwidth allocation operation based on the service attributes, coordinates the allocation of bandwidth resources between FTTR and FTTH, and provides support for improving the service determinism of the network.
[0038] Please refer to Figure 3, which is a schematic diagram of another integrated FTTH and FTTR networking architecture provided by an embodiment of the present application. In the example of Figure 3, the master device includes an FTTH ONU and a forwarding channel. The forwarding channel is a PON layer forwarding channel located between the OLT and the slave device. This forwarding channel is used to forward upstream frames from the slave device to the OLT with equal delay, or to forward downstream frames from the OLT to the slave device with equal delay. For example, 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 request response, or other downstream message.
[0039] It should be noted that the equal-latency forwarding described in the embodiments of this application means that the time required for uplink and downlink frames to enter and leave the master device remains consistent. If the standards of the FTTH and FTTR segments are the same, no standard conversion is required; equal-latency forwarding is sufficient. If the standards of the FTTH and FTTR segments are different, standard conversion of the data frames is required. During standard conversion, if the functions of the two segments are inconsistent, some content must be deleted from the segment with more functions, or some content must be added to the segment with fewer functions.
[0040] 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.
[0041] Please refer to Figure 4, which is a flow chart of a bandwidth allocation method provided in an embodiment of the present application. The execution subject of this bandwidth allocation method can be a master device in the implementation environment shown in Figure 1 or Figure 3. As shown in Figure 4, this bandwidth allocation method may include but is not limited to the following steps S110-S120. Each step is described in sequence below:
[0042] Step S110: Receive a bandwidth request for a first service sent from a device.
[0043] 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 and sends a bandwidth request to the master device to apply for bandwidth for the first service.
[0044] Step S120: Execute bandwidth allocation related operations according to the service attributes of the first service.
[0045] Illustratively, the service attribute of the first service may be an east-west attribute or a north-south attribute.
[0046] For example, the service attributes of a service can be distinguished based on 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 it can be considered as a north-south service.
[0047] 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.
[0048] 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 attributes may be east-west attributes or north-south attributes.
[0049] Exemplarily, the uplink channel can be a transmission container (T-CONT). Please refer to FIG5a, which is a schematic diagram of an uplink channel construction provided in an embodiment of the present application. As shown in FIG5a, multiple T-CONTs with channel attributes are established between the slave device and the master device, namely T-CONT1 and T-CONT2, where the channel attribute of T-CONT1 is an east-west attribute and the channel attribute of T-CONT2 is a north-south attribute.
[0050] Exemplarily, the uplink channel can be a GPON (Gigabit-Capable PON) encapsulation port (GEM Port). Please refer to Figure 5b, which is another schematic diagram of the uplink channel construction provided by an embodiment of the present application. As shown in Figure 5b, T-CONT1 and T-CONT2 are established between the slave device and the master device. T-CONT1 includes GEM Port1 and GEM Port2, and T-CONT2 includes GEM Port3 and GEM Port4. Among them, 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. 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 a GEM Port is the smallest transmission unit of a service. A T-CONT can include multiple GEM Ports, and the attributes of a GEM Port match the attributes of the T-CONT in which it is located.
[0051] 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 based on 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 north-south uplink channel, obtains the uplink bandwidth through the north-south uplink channel request, and after obtaining the north-south bandwidth allocation, maps the uplink service frame of the north-south service to the north-south uplink channel, and transmits the uplink service frame to the master device through the north-south uplink channel. In the above process, the master device can also determine the service attributes of the uplink service frame based on the channel attributes of the uplink channel through which the uplink service frame is transmitted.
[0052] It should be noted that the OLT configures multiple uplink channels with channel attributes for the slave device and can also allocate specific bandwidth to each uplink channel. Each uplink channel transmits uplink frames using the allocated bandwidth. For example, the uplink frames can be service data packets, service bandwidth requests, or other service messages.
[0053] 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:
[0054] Step S121: Determine the channel attribute of the first uplink channel, where the channel attribute includes an east-west attribute or a north-south attribute.
[0055] Step S122: Determine 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; or determine 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.
[0056] Exemplarily, the main device receives a bandwidth request for the first service from the 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.
[0057] 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.
[0058] In one 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: allocating east-west bandwidth to the first service based on the service attributes of the first service being east-west attributes.
[0059] 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 attributes of the first service being east-west attributes, the bandwidth request for the first service is forwarded to the optical line terminal OLT with equal delay, so that the OLT allocates east-west bandwidth to the first service according to the bandwidth request.
[0060] In the case where the first service is an east-west service, embodiments of the present application provide two implementation methods for allocating east-west bandwidth to the first service: the first implementation method is to allocate east-west bandwidth to the first service via a master device, and the second implementation method is to allocate east-west bandwidth to the first service via an OLT. In the second implementation method, the master device forwards the bandwidth request with equal delay to the OLT via a locally constructed forwarding channel, so that the OLT responds to the bandwidth request and allocates east-west bandwidth to the first service.
[0061] Exemplarily, allocating east-west bandwidth to the first service specifically includes: determining remaining bandwidth according to the total bandwidth of the master device and the used north-south bandwidth; and allocating east-west bandwidth to the first service from the remaining bandwidth.
[0062] It is understandable that the OLT can distinguish between north-south bandwidth demands and allocate north-south bandwidth based on 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. Combining the north-south bandwidth allocation, subtracting the north-south bandwidth allocation related to the master device, and then allocating east-west bandwidth based on the remaining bandwidth under the master device.
[0063] 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. Specifically, the operations may include: forwarding the bandwidth request and isochronous delay for the first service to the OLT based on the service attributes of the first service being north-south attributes, so that the OLT allocates north-south bandwidth to the first service according to the bandwidth request.
[0064] For bandwidth requests for north-south services, the master device forwards the bandwidth requests with equal delay to the OLT, which then allocates north-south bandwidth for the north-south services.
[0065] Specifically, the OLT may allocate the north-south bandwidth of the FTTH segment to the first service from its own total bandwidth and the total bandwidth of the master device, and allocate the north-south bandwidth of the FTTR segment to the first service from the total bandwidth of the master device.
[0066] It should be noted that when the OLT configures an uplink channel for a slave device, it also allocates a fixed bandwidth for that uplink channel. When the slave device transmits a bandwidth request to the master device via the first uplink channel, the master device forwards the bandwidth request to the OLT via the forwarding channel with equal delay. The OLT can determine which uplink channel the bandwidth request originated from based on the bandwidth used to transmit the bandwidth request. Furthermore, based on the channel attributes of the uplink channel, it can determine whether the service currently requesting bandwidth is east-west or north-south.
[0067] 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: in the event that 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.
[0068] In the event that the connection between the master device and the OLT fails, i.e., the master device loses connection with the OLT, the master device may 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.
[0069] Exemplarily, the embodiment of the present application further includes: the master device forwarding the bandwidth allocation result returned by the OLT to the slave device, so that the slave device obtains the allocated bandwidth.
[0070] The method provided in the embodiment of the present application may further include the following steps S210-S230:
[0071] Step S210: Receive a service message of a second service sent by a home user device.
[0072] Step S220: Obtain the destination address of the service message.
[0073] 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.
[0074] Exemplarily, the first downlink channel may be a GEM Port.
[0075] The OLT can configure one or more downstream channels for the master device, establishing one or more east-west downstream channels between the master and slave devices. These downstream channels can be GEM ports. The master device maps downstream service frames to downstream channels with matching attributes and transmits them to the slave devices via the downstream channels.
[0076] For example, after step S220, the method of the embodiment of the present application may further include the following step S240:
[0077] Step S240: If 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.
[0078] For example, the master device can locally construct a user device address list to store the addresses of home user devices. Upon receiving a service message from a user device, the master device can determine the service attribute of the service message based on whether the destination address in the service message is stored in the home user device address list. Specifically, if the master device finds the destination address in the local home user device address list, the service attribute is determined to be east-west; otherwise, it is determined to be north-south.
[0079] Before step S210, the method of the embodiment of the present application may further include the following steps S201 and S202:
[0080] Step S201: Acquire and store the address of at least one home user device with which a connection has been established.
[0081] Step S202: Send the address of the home user device to the slave device via a downlink notification message, so that the slave device stores the address of the home user device.
[0082] The master device can request an address from a home user device with which a connection has been established, store the obtained 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.
[0083] The following example is used to illustrate that in one example of the present application, the following steps S301-S305 are included:
[0084] Step S301: The master 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.
[0085] Step S302: The master device 1 stores the address address1 of the home user device 1 in a local home user device address list.
[0086] 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.
[0087] Step S304 : Master device 1 sends a downlink notification message “Device_Address_Share_d” to slave devices 1 , 2 and 3 . Correspondingly, slave devices 1 , 2 and 3 receive the downlink notification message “Device_Address_Share_d” sent by master device 1 .
[0088] 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 a local home user device address list.
[0089] For example, the format of the downlink notification message "Device_Address_Share_d" may refer to the following Table 1.
[0090] Table 1
[0091] Before step S210, the method of the embodiment of the present application may further include the following steps S203 and S204:
[0092] Step S203: Receive an uplink notification message sent by the slave device, wherein the uplink notification message carries the address of the home user device that has established a connection with the slave device.
[0093] Step S204: Store the address of the home user equipment carried in the uplink notification message.
[0094] Step S205: Send the address of the home user device to other slave devices except the slave device that sent the uplink notification message through a downlink notification message, so that the other slave devices store the address of the home user device.
[0095] 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.
[0096] The following example is used to illustrate that in one example of the present application, the following steps S401-S408 are included:
[0097] Step S401: Slave device 1 receives a connection request from home user device 2, establishes a connection with home user device 2, and obtains the address address2 of home user device 2.
[0098] Step S402: Slave device 1 stores the address address2 of home user device 2 in a local home user device address list.
[0099] Step S403: 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 home user device 2.
[0100] Step S404 : Slave device 1 sends an uplink notification message “Device_Address_Share_u” to master device 1 . Correspondingly, master device 1 receives the uplink notification message “Device_Address_Share_u” sent by slave device 1 .
[0101] 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 a local home user device address list.
[0102] Step S406 : The master device 1 generates a downlink notification message “Device_Address_Share_d”, which carries the address address2 of the home user device 2 .
[0103] Step S407 : Master device 1 sends a downlink notification message “Device_Address_Share_d” to slave device 2 and slave device 3 . Correspondingly, slave device 2 and slave device 3 respectively receive the downlink notification message “Device_Address_Share_d” sent by master device 1 .
[0104] Step S408: Slave device 2 and slave device 3 respectively obtain the address address2 of home user device 2 from the downlink notification message "Device_Address_Share_d", and store the address address2 of home user device 2 in a local home user device address list.
[0105] Exemplarily, the format of the uplink notification message "Device_Address_Share_u" may refer to the following Table 2.
[0106] Table 2
[0107] Exemplarily, the method of an embodiment of the present application further includes establishing a forwarding channel between the OLT and the slave device, the forwarding channel being used to forward upstream frames from the slave device to the OLT with equal delay, or to forward downstream frames from the OLT to the slave device with equal delay. The forwarding channel is a PON layer forwarding channel located between the OLT and the slave device. Exemplarily, the upstream frames may be upstream service messages, bandwidth requests, or other upstream messages, and the downstream frames may be downstream service messages, bandwidth request responses, or other downstream messages.
[0108] In one embodiment of the present application, the following steps S501-S510 are included:
[0109] Step S501: Slave device 1 receives a service connection request for service 1 sent by home user device 2, where the service connection request carries a destination address of service 1.
[0110] 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.
[0111] 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 through T-CONT1 .
[0112] Step S504 : Master device 1 determines that the service attribute of service 1 is the east-west attribute based on the fact that the channel attribute of T-CONT1 is the east-west attribute.
[0113] Step S505 : Master device 1 allocates east-west bandwidth to service 1 based on the north-south bandwidth allocation.
[0114] Step S506: Receive the service message of service 1 sent by home user device 2 from device 1.
[0115] Step S507 : Slave device 1 sends a service message of service 1 to master device 1 using the bandwidth reserved for service 1 by T-CONT1 . Correspondingly, master device 1 receives the service message of service 1 sent by slave device 1 from T-CONT1 .
[0116] Step S508 : Master device 1 determines that the service message has an east-west attribute based on the fact that the channel attribute of T-CONT1 is an east-west attribute.
[0117] Step S509 : Master device 1 determines that the destination slave device is slave device 2 according to the destination address of the service message.
[0118] 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 via 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.
[0119] In one embodiment of the present application, the following steps S601-S611 are included:
[0120] Step S601: Slave device 1 receives a service connection request for service 1 sent by home user device 2, where the service connection request carries a destination address of service 1.
[0121] 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.
[0122] 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 through T-CONT1 .
[0123] Step S604 : Master device 1 determines that the service attribute of service 1 is the east-west attribute based on the fact that the channel attribute of T-CONT1 is the east-west attribute.
[0124] Step S605: The master device 1 forwards the bandwidth request and other delays to the FTTH OLT through the forwarding channel.
[0125] 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 .
[0126] Step S607: Receive the service message of service 1 sent by home user device 2 from device 1.
[0127] Step S608 : Slave device 1 uses the east-west bandwidth reserved for service 1 by T-CONT1 to send the 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 .
[0128] Step S609 : Master device 1 determines that the service message has an east-west attribute based on the fact that the channel attribute of T-CONT1 is an east-west attribute.
[0129] Step S610: Master device 1 determines that the destination slave device is slave device 2 according to the destination address of the service message.
[0130] Step S611: 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 via 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.
[0131] In one embodiment of the present application, the following steps S701-S710 are included:
[0132] Step S701: Slave device 1 receives a service connection request for service 2 sent by home user device 2, where the service connection request carries a destination address of service 2.
[0133] Step S702: The destination address of service 2 cannot be found in the local home user device address list of device 1, and the service attribute of service 2 is determined to be a north-south attribute.
[0134] 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 through T-CONT2 .
[0135] Step S704 : The master device 1 determines that the service attribute of service 2 is the north-south attribute based on the channel attribute of T-CONT2 being the north-south attribute.
[0136] Step S705: The master device 1 forwards the bandwidth request and equal delay to the FTTH OLT through the forwarding channel.
[0137] 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. 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.
[0138] Step S707: Receive the service message of service 2 sent by home user device 2 from device 1.
[0139] Step S708 : Slave device 1 uses the north-south bandwidth reserved for service 2 in T-CONT2 to send service packets of service 2 to master device 1 . Correspondingly, master device 1 receives service packets of service 2 sent by slave device 1 through T-CONT2 .
[0140] Step S709 : The master device 1 determines that the service message has a north-south attribute based on the north-south attribute of the channel of T-CONT2.
[0141] Step S710: Master device 1 forwards the service message of service 2 to the FTTH OLT.
[0142] In one embodiment of the present application, the following steps S801-S804 are included:
[0143] Step S801 : The master device 1 receives a service message of service 3 sent by the home user device 1 . The service message carries a destination address of service 3 .
[0144] Step S802: The master device 1 searches the local home user device address list for the destination address of the service 3, and further determines that the service attribute of the service 3 is an east-west attribute.
[0145] Step S803 : Master device 1 determines that the destination slave device is slave device 2 according to the destination address of service 3 .
[0146] Step S804: Master device 1 maps the service message of service 3 to downlink channel GEM port 6, and forwards the service message of service 3 to slave device 2 via GEM port 6, so that slave device 2 forwards the service message of service 3 to the home user device corresponding to the destination address.
[0147] In one embodiment of the present application, the following steps S901-S903 are included:
[0148] Step S901 : The master device 1 receives a service message of service 4 sent by the home user device 1 . The service message carries a destination address of service 4 .
[0149] 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.
[0150] Step S903: The master device 1 forwards the service message of service 4 to the FTTH OLT.
[0151] Please refer to Figure 6, which is a flow chart of a bandwidth allocation method provided in an embodiment of the present application. The execution subject of this bandwidth allocation method can be a slave device in the implementation environment shown in Figure 1 or Figure 3. As shown in Figure 6, this bandwidth allocation method may include but is not limited to the following steps S1001-S1002. Each step is described in sequence below:
[0152] Step S1001: Receive a service message of a first service sent by a home user device.
[0153] Step S1002: Send a bandwidth request related to the service attribute of the first service to the master device, where the bandwidth request is used to request allocation of bandwidth for the first service.
[0154] Exemplarily, the service attributes include east-west attributes and north-south attributes.
[0155] 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 the 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 the third uplink channel, wherein the channel attribute of the third uplink channel is a north-south attribute.
[0156] In step S1002, the service attributes of the first service are determined, which may specifically include: obtaining the destination address of the service message of the first service; when the destination address of the service message belongs to the address of a stored home user device, determining that the service attribute of the service message is 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, determining that the service attribute of the service message is a north-south attribute.
[0157] Exemplarily, the method of an embodiment of the present application may also include: obtaining and storing the address of at least one home user device with which a connection has been established; receiving a downlink notification message sent by a master device, wherein the downlink notification message carries the address of a home user device with which a connection has been established with other slave devices; and storing the address of the home user device carried in the downlink notification message.
[0158] Exemplarily, the method of the embodiment of the present application may further include: sending the address of the home user equipment to the master device via an uplink notification message, so that the master device stores the address of the home user equipment.
[0159] Exemplarily, the method of the embodiment of the present application may further include: receiving a bandwidth allocation result sent by the master device; determining the bandwidth allocated to the first service based on the bandwidth allocation result; and transmitting the first service using the bandwidth allocated to the first service.
[0160] Please refer to Figure 7, which is a flow chart of a bandwidth allocation method provided in an embodiment of the present application. The bandwidth allocation method may be performed by the OLT in the implementation environment shown in Figure 1 or Figure 3. As shown in Figure 7, the bandwidth allocation method may include, but is not limited to, the following steps S1101-S1102. Each step is described in turn below:
[0161] Step S1101: The master device receives a bandwidth request for a first service from a slave device;
[0162] Step S1102: Execute bandwidth allocation related operations according to the service attributes of the first service.
[0163] Exemplarily, the method of the embodiment of the present application further 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.
[0164] For example, the OLT can configure channels for the master or slave device using the "Assign_Alloc-id" message in the downlink Physical Layer Operations, Administration, and Maintenance (PLOAM) message. Specifically, based on the Assign_Alloc-ID / T-CONT message, north-south and east-west service attributes are added. The Alloc-ID-type field in the seventh byte adds two codes, 0x02 and 0x03, to indicate north-south and east-west services, respectively. The format of the Assign_Alloc-ID message is shown in Table 3 below.
[0165] Table 3
[0166] 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.
[0167] Exemplarily, determining the service attributes of the first service may include: determining the channel attributes of the first uplink channel; determining that the service attributes of the first service are east-west attributes based on the channel attributes of the first uplink channel being east-west attributes; or, determining that the service attributes of the first service are north-south attributes based on the channel attributes of the first uplink channel being north-south attributes.
[0168] Exemplarily, bandwidth allocation-related operations are performed based on the business attributes of the first business, which may specifically include: allocating east-west bandwidth to the first business based on the business attributes of the first business being east-west attributes, and forwarding the bandwidth allocation result to the slave device through the master device; allocating north-south bandwidth to the first business based on the business attributes of the first business being north-south attributes, and forwarding the bandwidth allocation result to the slave device through the master device.
[0169] Exemplarily, allocating east-west bandwidth to the first service may specifically include: determining remaining bandwidth based on the total bandwidth of the master device and the used north-south bandwidth; and allocating east-west bandwidth to the first service from the remaining bandwidth.
[0170] Exemplarily, allocating north-south bandwidth to the first service may specifically include: allocating north-south bandwidth to the first service according to its own total bandwidth and the total bandwidth of the master device.
[0171] An embodiment of the present application also provides a communication device, as shown in Figure 8, the communication device 1400 includes: one or more processors 1410; a memory 1420, on which one or more programs are stored. When the one or more programs are executed by the one or more processors 1410, the one or more processors 1410 implement: a bandwidth allocation method as applied to a master device; or a bandwidth allocation method as applied to a slave device; or a bandwidth allocation method as applied to an OLT.
[0172] The memory 1420 is a non-transient network system that 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 located 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.
[0173] 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 through software or firmware, the relevant program code is stored in the memory 1420 and is called by the processor 1410 to execute the methods of the embodiments of this application.
[0174] The processor 1410 can be implemented using 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.
[0175] In some embodiments, the communication device also includes: an input / output interface for realizing information input and output; a communication interface for realizing communication interaction between the device and other devices, which can be realized through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.); a bus for transmitting information between the various components of the device (such as processor 1410, memory 1420, input / output interface and communication interface); wherein the processor 1410, memory 1420, input / output interface and communication interface can realize communication connection with each other within the device through the bus.
[0176] An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for executing: a bandwidth allocation method as applied to a master device; or a bandwidth allocation method as applied to a slave device; or a bandwidth allocation method as applied to an OLT.
[0177] An embodiment of the present application further provides a computer program product, including a computer program or computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device performs: a bandwidth allocation method as applied to a master device; or a bandwidth allocation method as applied to a slave device; or a bandwidth allocation method as applied to an OLT.
[0178] 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.
[0179] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. 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 this 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. By way of illustration and not limitation, RAM is available in various 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).
[0180] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, 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 can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, 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.
[0181] The above description of some embodiments of the present application with reference to the accompanying drawings does not limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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 frame 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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 processed by the one or more processors The processor executes so that 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
Patent Citations
WIFI-based TDMA backhaul transmission method
CN105898881A
Master station communication apparatus, optical communication network system, and communication system
JP2018113563A
Method for transmitting real time multimedia datain ethernet network
US20050078682A1
Signal transmission method, optical network unit, and optical line terminal
WO2023202446A1