Movatterモバイル変換


[0]ホーム

URL:


WO2013053243A1 - Bandwidth sharing method, device, and system - Google Patents

Bandwidth sharing method, device, and system
Download PDF

Info

Publication number
WO2013053243A1
WO2013053243A1PCT/CN2012/077051CN2012077051WWO2013053243A1WO 2013053243 A1WO2013053243 A1WO 2013053243A1CN 2012077051 WCN2012077051 WCN 2012077051WWO 2013053243 A1WO2013053243 A1WO 2013053243A1
Authority
WO
WIPO (PCT)
Prior art keywords
shared
onu
bandwidth
onus
frame
Prior art date
Application number
PCT/CN2012/077051
Other languages
French (fr)
Chinese (zh)
Inventor
万民
吕大为
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司filedCritical华为技术有限公司
Publication of WO2013053243A1publicationCriticalpatent/WO2013053243A1/en

Links

Classifications

Definitions

Landscapes

Abstract

A bandwidth sharing method, device, and system. The bandwidth sharing method comprises: an optic network unit (ONU) receiving a message frame, the message frame comprising a sharing allocation identifier, information of a shared bandwidth, and a frame count, the sharing allocation identifier indicating that the shared bandwidth is shared by N ONUs, the frame count indicating a specific ONU using the shared bandwidth, and N being an integer greater than 1; determining whether the ONU itself is the specific ONU; and if yes, sending a response frame by using the shared bandwidth. By implementing the embodiments of the present invention, sharing allocation identifiers may be used to allocate the shared bandwidth to multiple ONUs, thereby saving the bandwidth.

Description

共用带宽的方法、 装覼和系统 本申请要求申请日为 2011年 10月 10日、 申请号为 201110234821.8、 发明 名称为 "共用带宽的方法、 装置和系统"的中国专利申请的优先权,其全部内 容通过引用结合在本申请中。 技术领域 The present invention claims the priority of the Chinese patent application entitled "Method, Apparatus and System for Sharing Bandwidth" on October 10, 2011, Application No. 201110234821.8, the entire disclosure of which is hereby incorporated by reference. The content is incorporated herein by reference. Technical field
本发明主要涉及光通信技术,特别地,涉及一种无源光网 PON assive Optical Network )的共用带宽的方法、 装置和系统。 背景技术 The present invention relates generally to optical communication technologies, and in particular, to a method, apparatus, and system for sharing bandwidth of a passive optical network (PON assive Optical Network). Background technique
电信业务日益丰富,用户对带宽的需求也越来越大,运营商已将光纤到 户(FTTH , Fiber To The Home )作为接入网的主要选择。 Telecom services are becoming more and more abundant, and users are increasingly demanding bandwidth. Operators have adopted FTTH (Fiber To The Home) as the main choice for access networks.
光线路终端( OLT , Optic Line Terminal )到光网络单元( ONU , Optic Network Unit )称为下行, ONU到 OLT称为上行,下行方向广播,上行方向单 播。 The optical line terminal (OLT, Optic Line Terminal) to the optical network unit (ONU, Optic Network Unit) is called the downlink, and the ONU to the OLT is called the uplink, the downlink direction broadcast, and the uplink direction unicast.
基于吉比特无源光网络( GPON , Gigabit-Capable PON )点到多点的网络 结构,一个 OLT同时和多个 ONU通信,为了区分出不同 ONU,需要给每个 ONU 设置一个唯一的 ONU-ID作为 ONU的标识。 Based on the GPON (Gigabit-Capable PON) point-to-multipoint network structure, one OLT communicates with multiple ONUs at the same time. To distinguish different ONUs, a unique ONU-ID needs to be set for each ONU. As the identity of the ONU.
由于多个 ONU同时向 OLT发送数据,可能会引起信号冲突,影响 OLT的 正常接收, 因此 OLT需要通过时间片授权的方式协调 ONU的发送,保证某一 个时间段仅允许一个 ONU发送数据,这样可有效避免冲突。 OLT时间片授权 对象是 ONU上的分配单元,使用分配标识符( Alloc-ID , Allocation Identifier ) 标识。 Alloc-ID为全局唯一 ,值 0 ~ 253 作为 ONU默认分配的第一个 Alloc-ID 用于标识 ONU ,可承载物理层操作维护( PLOAM , Physical Layer OAM )流、 0NT管理控制接口( 0MCI , ONT Management and Control Interface )流、 用 户数据流(可选),值 254 为 0NU激活 ID,用于通过请求序列号发现未知 ONU , 值 255 用于下行广播地址,和未分配 ONU ID的 ONU的上行地址,值 256~4095 分配给 ONU中的分配单元。 带宽分配依据 Alloc-ID来分配, OLT端下发的带 宽映射( BWmap , Bandwidth map )携带的带宽分配到 ONU后, ONU根据 本地的 Alloc-ID匹配情况来判定该带宽是否属于本 ONU , 所有 ONU的 Alloc-ID各不相同。Because multiple ONUs send data to the OLT at the same time, it may cause signal collision and affect the normal reception of the OLT. Therefore, the OLT needs to coordinate the transmission of the ONU by means of time slice authorization to ensure a certain Only one ONU is allowed to send data in a time period, which effectively avoids conflicts. The OLT time slice authorization object is an allocation unit on the ONU, and is identified by an allocation identifier (Alloc-ID, Allocation Identifier). Alloc-ID is globally unique. The value 0 to 253 is the first Alloc-ID assigned by the ONU. It is used to identify the ONU. It can carry physical layer operation and maintenance (PLOAM, Physical Layer OAM) flow, 0NT management control interface (0MCI, ONT). Management and Control Interface ), user data stream (optional), value 254 is the 0NU activation ID, used to discover the unknown ONU by requesting the serial number, value 255 for the downstream broadcast address, and the upstream address of the ONU without the assigned ONU ID The value 256~4095 is assigned to the allocation unit in the ONU. The bandwidth allocation is allocated according to the Alloc-ID. After the bandwidth carried by the bandwidth mapping (BWmap, Bandwidth map) delivered by the OLT is allocated to the ONU, the ONU determines whether the bandwidth belongs to the ONU according to the local Alloc-ID matching condition, and all ONUs. The Alloc-IDs are different.
在 ONU激活过程中 , GPON使用 254(XG-PON使用 1023)作为序列号 ( SN , Serial Number )发现的上行发送帧的 Alloc-ID ,所有处于 SN发现阶 段的 ONU都可以使用该 Alloc-ID ,在随机延时一段时间(0~48微秒)和预均 衡时延 (XG-PON被取消 , 其功能被 SN发现的 BWMAP中的 start-time代替) 后,直接发送 SN PLOAM消息通知 OLT。 在这里, ALLOC-ID 254被所有未 发现的 ONU使用 ,有一定的冲突的可能性,而且 254(XG-PON是 1023)只作 为 SN发现 Alloc-ID ,在其余阶段不再使用。 During the ONU activation process, GPON uses 254 (XG-PON uses 1023) as the Alloc-ID of the uplink transmission frame discovered by the serial number (SN, Serial Number). All ONUs in the SN discovery phase can use the Alloc-ID. After a random delay (0~48 microseconds) and a pre-equalization delay (XG-PON is cancelled, whose function is replaced by the start-time in the BWMAP discovered by the SN), the SN PLOAM message is directly sent to notify the OLT. Here, ALLOC-ID 254 is used by all undiscovered ONUs, there is a certain possibility of collision, and 254 (XG-PON is 1023) only finds Alloc-ID as SN, and is no longer used in the remaining stages.
OMCI是 GPON标准中定义的一种配置传输通道。 OMCI是 GPON/XG-PON的业务管理通道,OMCI是主从式管理协议,OLT是主设备, ONT是从设备, OLT通过 OMCI通道控制 OLT下面连接的多个 ONT设备。OMCI is a configuration transmission channel defined in the GPON standard. OMCI is The service management channel of GPON/XG-PON, OMCI is the master-slave management protocol, the OLT is the master device, the ONT is the slave device, and the OLT controls the multiple ONT devices connected under the OLT through the OMCI channel.
动态带宽分配 ( DBA , Dynamic Bandwidth Assignment )是一种肯 ^在 微秒或毫秒级的时间间隔内完成对上行带宽的动态分配的机制。 GPON DBA以传输容器( T-CONT , Transmission Container )为管理对象,T-CONT 动态接收 OLT下发的授权,用于管理 PON系统传输汇聚层的上行带宽分配, 改善 PON系统中的上行带宽。 Dynamic Bandwidth Assignment (DBA) is a mechanism that performs dynamic allocation of upstream bandwidth in microsecond or millisecond time intervals. The GPON DBA manages the transport container (T-CONT, Transmission Container). The T-CONT dynamically receives the authorization issued by the OLT to manage the uplink bandwidth allocation of the PON system transmission aggregation layer and improve the uplink bandwidth in the PON system.
T-CONT的带宽类型分为固定带宽( FB , Fixed Bandwidth ) ,保证带 宽( AB .Assured Bandwidth ) 呆证带宽( NAB ,Νοη- Assured Bandwidth ) , 最大努力带宽 ( BE , Best Effort ) ,最大带宽 ( Maximum )。 The bandwidth type of T-CONT is divided into fixed bandwidth (FB, Fixed Bandwidth), guaranteed bandwidth (AB.Assured Bandwidth), bandwidth (NAB, Νοη-Assured Bandwidth), maximum effort bandwidth (BE, Best Effort), maximum bandwidth ( Maximum ).
在实际应用中 ,每个 ONU都要一个的 OMCI , OMCI封装成 GPON封装 模式( GEM , GPON Encapsulation Method )帧格式, GEM帧装载在 T-CONT 中。 在协议中 OMCI是由一个独立的 T-CONT来承担的(也可以和业务报文 合用一个 T-CONT) , 而且 OMCI占用的 T-CONT的带宽类型是 FB。 平时 OMCI带宽是不使用的 ,但是因为 OMCI的延时性要求,必须保证 OMCI的 响应时间的上限是可以预期的(小于 Is) ,如果使用非固定带宽,就可能对 OMCI的及时性造成影响。 In practical applications, each ONU requires an OMCI. The OMCI is encapsulated into a GPON Encapsulation Method (GEM) format, and the GEM frame is loaded in the T-CONT. In the protocol, OMCI is undertaken by an independent T-CONT (it can also be combined with a service message with a T-CONT), and the bandwidth type of the T-CONT occupied by OMCI is FB. Normally, OMCI bandwidth is not used, but because of the latency requirements of OMCI, the upper limit of OMCI response time must be expected (less than Is). If non-fixed bandwidth is used, it may affect the timeliness of OMCI.
如果 OMCI占用固定带宽,每个 ONU都要占用一个固定带宽给 OMCI , 而该带宽在没有 OMCI消息的时候是空闲的 ,而一般 ONU在配置恢复之后, OMCI带宽都是没有使用的。If the OMCI occupies a fixed bandwidth, each ONU occupies a fixed bandwidth to the OMCI, and the bandwidth is idle when there is no OMCI message, and after the normal ONU is restored, OMCI bandwidth is not used.
OMCI占用带宽会造成上行带宽的浪费 ,假设一个 OMCI占用带宽 5M , 那么 64个 ONU占用的带宽为 320M ,带宽浪费非常大 ,在 1G上行的 PON口 中 ,浪费了 30%的带宽用于管理。 发明内容 OMCI occupies bandwidth and wastes uplink bandwidth. Assuming that one OMCI occupies 5M bandwidth, the bandwidth occupied by 64 ONUs is 320M, and the bandwidth waste is very large. In the 1G uplink PON port, 30% of bandwidth is wasted for management. Summary of the invention
本发明的实施例可以解决 OMCI占用固定带宽造成带宽浪费的问题。 一方面,本发明的实施例提供了一种共用带宽的方法,包括: 光网络单元 ONU接收一个消息帧,所述消息帧包含共用分配标识符、 共用带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽由 N 个 ONU共用 ,所述帧计数指示了一个使用所述共用带宽的指定 ONU,其中 , N为大于 1的整数; The embodiment of the present invention can solve the problem that the OMCI occupies a fixed bandwidth and wastes bandwidth. In one aspect, an embodiment of the present invention provides a method for sharing bandwidth, including: an optical network unit ONU receiving a message frame, the message frame including a shared allocation identifier, information of a shared bandwidth, and a frame count, the sharing The allocation identifier indicates that the shared bandwidth is shared by N ONUs, the frame count indicating a designated ONU using the shared bandwidth, where N is an integer greater than one;
判断自己是否是所述指定 ONU; Determine whether it is the designated ONU;
如果是,使用所述共用带宽发送响应帧。 If so, the response frame is transmitted using the shared bandwidth.
另一方面,本发明的实施例提供了一种共用带宽的装置,包括: 接收单元,用于接收一个消息帧,所述消息帧包含共用分配标识符、 共用带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽由 N 个 ONU共用 ,所述帧计数指示了一个使用所述共用带宽的指定光网络单元 ONU ,其中 , N为大于 1的整数; In another aspect, an embodiment of the present invention provides a device for sharing bandwidth, including: a receiving unit, configured to receive a message frame, where the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count. The shared allocation identifier indicates that the shared bandwidth is shared by N ONUs, and the frame count indicates a designated optical network unit ONU that uses the shared bandwidth, where N is an integer greater than one;
判断单元,用于判断自己是否是所述指定 ONU , 并输出判断结果; 发送单元, 用于在所述判断结果为是时使用所述共用带宽发送响应 帧。a determining unit, configured to determine whether the user is the designated ONU, and output a judgment result; And a sending unit, configured to send the response frame by using the shared bandwidth when the determining result is yes.
另一方面,本发明的实施例提供了一种共用带宽的系统,包括: 一个光线路终端 OLT , Ν个光网络单元 ONU ,其中 ,Ν为大于 1的整数; 所述 OLT发送一个消息帧,所述消息帧包含共用分配标识符、 共用带 宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽由 Ν个 ONU 共用 ,所述帧计数指示了一个使用所述共用带宽的指定 ONU; In another aspect, an embodiment of the present invention provides a system for sharing bandwidth, including: an optical line terminal OLT, and an optical network unit ONU, where Ν is an integer greater than 1; the OLT sends a message frame, The message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, the shared allocation identifier indicating that the shared bandwidth is shared by one ONU, and the frame count indicates a designation using the shared bandwidth ONU;
所述 Ν个 ONU的每个 ONU接收所述消息帧,判断自己是否是所述指定 ONU ,如果是,使用所述共用带宽发送响应帧。 Each ONU of the one ONU receives the message frame, determines whether it is the designated ONU, and if so, transmits the response frame using the shared bandwidth.
所述 OLT接收响应帧,所述响应帧占用所述共用带宽,且由所述指定 ONU发送。 The OLT receives a response frame, the response frame occupies the shared bandwidth, and is sent by the designated ONU.
通过实施本发明的实施例,可以利用共用分配标识符为多个 ONU分配 共用带宽,从而实现带宽的节约。 附图说明 By implementing embodiments of the present invention, a shared bandwidth can be allocated to a plurality of ONUs using a shared allocation identifier, thereby achieving bandwidth savings. DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中 所需要使用的附图作一简单地介绍 ,显而易见地,下面描述中的附图仅仅 是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性 劳动的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions of the embodiments of the present invention, a brief description of the drawings used in the description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图 1为本发明实施例的共用带宽方法流程示意图 ; 图 2为本发明实施例的共用带宽方法流程示意图 ;1 is a schematic flowchart of a method for sharing a bandwidth according to an embodiment of the present invention; 2 is a schematic flowchart of a method for sharing a bandwidth according to an embodiment of the present invention;
图 3为本发明实施例的共用带宽装置示意图 ; 3 is a schematic diagram of a shared bandwidth device according to an embodiment of the present invention;
图 4为本发明实施例的共用带宽装置示意图 ; 4 is a schematic diagram of a shared bandwidth device according to an embodiment of the present invention;
图 5为本发明实施例的共用带宽系统示意图 ; FIG. 5 is a schematic diagram of a shared bandwidth system according to an embodiment of the present invention; FIG.
图 6为本发明实施例的共用带宽系统示意图。 具体实施方式 FIG. 6 is a schematic diagram of a shared bandwidth system according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图 ,对本发明实施例中的技术方案进 行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例,本领域普通技术人员在没 有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的 范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的实施例提供了一种共用带宽的方法,如图 1中 100所示,包 括: An embodiment of the present invention provides a method for sharing bandwidth, as shown by 100 in FIG. 1, including:
101 : ONU接收来自 OLT的一个消息帧,所述消息帧包含共用分配标 识符、 共用带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带 宽由 N个 ONU共用 ,所述帧计数指示了一个使用所述共用带宽的指定光 网络单元 ONU ,其中 , N为大于 1的整数; 101: The ONU receives a message frame from the OLT, where the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, the shared allocation identifier indicating that the shared bandwidth is shared by N ONUs, the frame Counting indicates a designated optical network unit ONU using the shared bandwidth, where N is an integer greater than one;
103:判断自己是否是所述指定 ONU; 103: Determine whether the user is the designated ONU;
105:如果是,使用所述共用带宽向 OLT发送响应帧。 101中的消息帧可以为广播帧。105: If yes, send the response frame to the OLT using the shared bandwidth. The message frame in 101 can be a broadcast frame.
进一步,103所述判断自己是否是所述指定 ONU可以具体为 :判断本 地标识符是否等于所述帧计数除以所述 N所得的余数,或者,判断本地掩 码是否与所述帧计数的特征位相同。 Further, the determining whether the user is the designated ONU may be: determining whether the local identifier is equal to the remainder of the frame count divided by the N, or determining whether the local mask is related to the frame count. The same bit.
判断本地标识符是否等于所述帧计数除以所述 N所得的余数时,如果 相等, 自己是所述指定 ONU ,如果不等,则不是,所述本地标识符为大于 等于 0且小于所述 N的整数, 且不同于所述 N个 ONU中其他 ONU的标 识符。 采用这种分配 ONU标识符的方式时, 可以通过判断帧计数除以 N 得到余数的方式确定每次使用共用带宽的 ONU,从而避免冲突使用共用带 宽。 所述 N ,可以通过从 OLT接收第二通知消息的方式获得,该第二通知 消息中包含所述 N。 该第二通知消息可以是从 OLT接收的 PLOAM消息, 也可以是从 OLT接收的 OMCI管理实体消息。 当 ONU收到该消息后就可 以使用共有分配标识符 Alloc-ID。 在 GPON系统中 ,使用的 PLOAM消息 可以采用如表 1所示的格式,在 XG-PON系统中 ,可以采用如表 2所示的 格式, OMCI管理实体消息可以采用如表 3所示的格式。 表中所述的当前 在线 ONU数量即为 101中使用共用带宽的 ONU的数量 N。 某个 ONU可 以在接收到任一消息帧后,判断该消息帧是否包含所述共用分配标识符, 如果是,则该消息帧就是 101中所述的消息帧。 使用该消息帧的帧计数除 以 N ,判断所得的余数是否等于其本地标识符,如果相等,该 ONU就使 用该共用带宽。 采用这种余数匹配条件, 可以将共用带宽的 N个 ONU的 标识符从 0开始分配,直到 N - 1。这样可以使得这 N个 ONU有大致相同 的机会使用共用带宽。 由于帧计数除以 N所得的余数只有 1个,可以保证 每次只有最多 1个 ONU可以使用共用带宽,避免了冲突。Determining whether the local identifier is equal to the remainder of the frame count divided by the N, if equal, is the specified ONU, if not, then not, the local identifier is greater than or equal to 0 and less than the An integer of N, and different from the identifiers of other ONUs in the N ONUs. When the method of allocating the ONU identifier is adopted, the ONU that uses the shared bandwidth can be determined by determining the frame count divided by N to obtain the remainder, thereby avoiding the conflict using the shared bandwidth. The N may be obtained by receiving a second notification message from the OLT, where the N is included in the second notification message. The second notification message may be a PLOAM message received from the OLT, or may be an OMCI management entity message received from the OLT. When the ONU receives the message, it can use the common allocation identifier Alloc-ID. In the GPON system, the PLOAM message used may be in the format shown in Table 1. In the XG-PON system, the format shown in Table 2 may be adopted, and the OMCI management entity message may adopt the format shown in Table 3. The number of current online ONUs described in the table is the number N of ONUs that use the shared bandwidth in 101. An ONU may determine whether the message frame contains the shared allocation identifier after receiving any message frame, and if so, the message frame is the message frame described in 101. Use the frame count of the message frame to divide by N to determine whether the resulting remainder is equal to its local identifier. If equal, the ONU makes Use this shared bandwidth. With this remainder matching condition, the identifiers of the N ONUs of the shared bandwidth can be allocated from 0 until N-1. This allows the N ONUs to have approximately the same opportunity to use the shared bandwidth. Since the remainder of the frame count divided by N is only one, it can be guaranteed that only one ONU can use the shared bandwidth at a time, avoiding conflicts.
表 1 Table 1
Figure imgf000009_0001
Figure imgf000010_0001
Figure imgf000009_0001
Figure imgf000010_0001
Figure imgf000010_0002
Figure imgf000010_0002
判断本地掩码是否与所述帧计数的特征位相同时,如果相同 ,则自己 是所述指定 ONU , 如果不相同 ,则不是,所述本地掩码不同于所述多个 ONU的其他 ONU的掩码。 所述掩码 ,也可以通过接收第二通知消息的方 式获得,该第二通知消息中包含所述掩码。 该第二通知消息可以是从 OLT 接收的 OMCI管理实体消息。 当 ONU收到该消息后就可以使用共有分配 标识符。 例如 , OLT 可以根据使用共用带宽的 ONU个数,将每个 ONU 可以使用的帧的帧计数的特征位的至少一个值作为掩码通过 OMCI管理实 体消息下发。 例如 ,将帧计数尾部的 10个 bit作为特征位,将该 lObit特 征位不同的值作为掩码分配给每个 ONU ,每个 ONU分配一个掩码。 ONU 判断接收到的含有共用分配标识符的广播帧的帧计数的尾部 10 位与接收 的第二通知消息中的掩码是否相同 ,如果相同 ,就可以占用分配的共用带 宽。 帧计数的特征位可以和任一 ONU的掩码都不相同 ,但是不能和两个 ONU对应的掩码都相同。 该第二通知消息可以是 OMCI共用带宽管理实 体消息,该共用带宽管理实体消息可以采用如表 4所示的格式。 此外,本 地掩码也可以通过预先配置的方式获得,例如从配置数据中提取所述本地 掩码。Determining whether the local mask is the same as the feature bit of the frame count, if they are the same, they are the designated ONUs, if not, they are not, the local mask is different from the masks of the other ONUs of the plurality of ONUs. code. The mask may also be obtained by receiving a second notification message, where the mask is included in the second notification message. The second notification message may be an OMCI Management Entity message received from the OLT. The shared assignment identifier can be used when the ONU receives the message. For example, the OLT may send at least one value of the feature bit of the frame count of the frame that can be used by each ONU as a mask according to the number of ONUs that use the shared bandwidth. For example, 10 bits of the end of the frame count are used as flag bits, and values of different 10 bit flag bits are assigned as masks to each ONU, and each ONU is assigned a mask. The ONU judges whether the received 10 bits of the frame count of the broadcast frame containing the shared allocation identifier are the same as the mask in the received second notification message, and if they are the same, the allocated shared bandwidth can be occupied. The flag of the frame count can be different from the mask of any ONU, but not both. The masks corresponding to the ONU are the same. The second notification message may be an OMCI shared bandwidth management entity message, and the shared bandwidth management entity message may adopt a format as shown in Table 4. In addition, the local mask can also be obtained in a pre-configured manner, such as extracting the local mask from the configuration data.
通过第二通知消息的交互, ONU可以获得数值 N或掩码 ,从而可以 使用确定的算法判断是否使用该共用带宽。 表 4 Through the interaction of the second notification message, the ONU can obtain the value N or the mask so that the determined algorithm can be used to determine whether to use the shared bandwidth. Table 4
Figure imgf000011_0001
Figure imgf000011_0001
进一步, 100 所示的方法可以进一步包括:接收第一通知消息并从所 述第一通知消息中提取所述共用分配标识符。 通过该第一通知消息的交 互,ONU可以获知该共用分配标识符,从而识别出分配的共用带宽。 该第 一通知消息可以是从 OLT来的下行 PLOAM广播消息, 也可以是 OMCI 共用带宽管理实体消息。 在 GPON系统中 ,该 PLOAM消息的格式可以如 表 5所示,在 XG-PON系统中 ,该 PLOAM消息的格式可以如表 6所示, 该 OMCI共用带宽管理实体消息的格式可以如表 7所示。 此外, ONU也 可以通过预先配置的方式获得该共用分配标识符,例如从配置数据中提取 所述共用分配标识符 <Further, the method of 100 may further include receiving the first notification message and extracting the common allocation identifier from the first notification message. Through the interaction of the first notification message, the ONU can learn the shared allocation identifier, thereby identifying the allocated shared bandwidth. The first notification message may be a downlink PLOAM broadcast message from the OLT, or may be an OMCI shared bandwidth management entity message. In the GPON system, the format of the PLOAM message can be as shown in Table 5. In the XG-PON system, the format of the PLOAM message can be as shown in Table 6. The format of the OMCI shared bandwidth management entity message can be as shown in Table 7. In addition, the ONU can also obtain the shared allocation identifier in a pre-configured manner, for example, extracting the shared allocation identifier from the configuration data.
Figure imgf000012_0001
Figure imgf000013_0001
表 7
Figure imgf000012_0001
Figure imgf000013_0001
Table 7
管理实体名 扩展共用分配标识符实体消息 Manage entity name Extended shared assignment identifier entity message
管理类型值 411 实体 ID OMCI 实体 ID(2字节) Management Type Value 411 Entity ID OMCI Entity ID (2 bytes)
Alloc-ID 所有 ONU共用的 Alloc-ID (4字节) 使用该共用分配标识符分配的带宽可以是多个 ONU 共用的上行 OMCI带宽。 当某个 ONU认为自己可以占用当前上行帧的该 T-CONT ,如 果有 OMCI上行报文就发送,如果没有,则不发送。 Alloc-ID Alloc-ID shared by all ONUs (4 bytes) The bandwidth allocated using this shared allocation identifier can be the upstream OMCI bandwidth shared by multiple ONUs. When an ONU considers that it can occupy the T-CONT of the current uplink frame, it sends if there is an OMCI uplink message, and if not, it does not send it.
多个 ONU采用时分复用的方式共用该共用分配标识符分配的带宽。 如果该共用带宽为固定带宽,则每个 ONU都有机会使用该固定带宽。 如 果该共用带宽不是固定带宽,如果每次只有一个 ONU使用 ,总体而言, 多个 ONU可以共用该共用分配标识符分配的带宽。 Multiple ONUs share the bandwidth allocated by the shared allocation identifier in a time division multiplex manner. If the shared bandwidth is a fixed bandwidth, each ONU has an opportunity to use the fixed bandwidth. If the shared bandwidth is not a fixed bandwidth, if there is only one ONU at a time, in general, multiple ONUs can share the bandwidth allocated by the shared allocation identifier.
通过上述实施例可以看出 ,通过采用共用分配标识符, 多个 ONU都 可以识别出分配的共用带宽,消息帧的帧计数指示了哪个 ONU可以使用 该共用带宽发送上行帧,每个 ONU都判断自己是否是能够使用共用带宽 的那个 ONU。 通过判断帧计数除以共用带宽的 ONU的总数所得的余数是 否等于本地标识符, 或者判断帧计数的特征位是否和自身的一个掩码相 同 ,确定是否使用该共用带宽,并避免冲突使用共用带宽。 通过使用共用 带宽, 可以减少带宽的占用。It can be seen from the foregoing embodiment that by using the shared allocation identifier, multiple ONUs can identify the allocated shared bandwidth, and the frame count of the message frame indicates which ONU can use the shared bandwidth to send the uplink frame, and each ONU judges Whether it is the ONU that can use the shared bandwidth. Whether the remainder obtained by dividing the frame count by the total number of ONUs of the shared bandwidth is equal to the local identifier, or whether the flag of the frame count is compared with a mask of itself Also, determine if the shared bandwidth is used and avoid conflicts using shared bandwidth. By using shared bandwidth, bandwidth usage can be reduced.
本发明的实施例提供了一种共用带宽的方法,如图 2中 200所示,包 括: The embodiment of the present invention provides a method for sharing bandwidth, as shown by 200 in FIG. 2, including:
201: OLT 发送一个消息帧,所述消息帧包含共用分配标识符、 共用 带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽由 Ν 个 ONU 共用 ,所述帧计数指示了一个使用所述共用带宽的指定光网络单元 ONU ,其中 , Ν为大于 1的整数; 201: The OLT sends a message frame, where the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, where the shared allocation identifier indicates that the shared bandwidth is shared by one ONU, and the frame count indicates a designated optical network unit ONU using the shared bandwidth, where Ν is an integer greater than one;
202: OLT 接收响应帧,所述响应帧占用所述共用带宽, 且由所述指 定 ONU发送。 202: The OLT receives a response frame, where the response frame occupies the shared bandwidth, and is sent by the specified ONU.
进一步,201中所述的指定 ONU的标识符等于所述帧计数除以所述 Ν 所得的余数。 OLT可以分别为所述 Ν个 ONU分配不同的标识符,所述标 识符为大于等于 0且小于所述 Ν的整数。 OLT向所述 Ν个 ONU发送第二 通知消息,所述第二通知消息中包含所述 Ν。 通过为 Ν个 ONU分配大于 等于 0且小于 Ν的整数标识符, 并将该总数 Ν通知各个 ONU , 可以使得 各个 ONU通过判断帧计数除以 Ν的余数是否等于本地标识符来确定是否 使用分配的共用带宽。 如果相等,就使用 ,如果不等,就不能使用。 籍此 保证各 ONU不会冲突使用共用带宽。该第二消息的格式可以如表 1或表 2 或表 3所示 ο 201 中所述的指定 ONU还可以是其掩码和所述帧计数的特征位相同 的 ONU。 OLT分别为所述 N个 ONU分配不同的掩码, 并且向所述 N个 ONU的每个 ONU发送第二通知消息,所述第二通知消息中包含所述每个 ONU的掩码。 通过分配不同的掩码并通知 ONU其掩码 , 可以使得 ONU 利用该掩码来判断是否使用分配的共用带宽,从而避免冲突。 该第二通知 消息可以如表 4所示。Further, the identifier of the designated ONU described in 201 is equal to the remainder of the frame count divided by the Ν. The OLT may respectively assign different identifiers to the one ONUs, the identifier being an integer greater than or equal to 0 and smaller than the Ν. The OLT sends a second notification message to the one ONU, where the second notification message includes the defect. By assigning an integer identifier greater than or equal to 0 and less than Ν to each ONU, and notifying each ONU of the total number, each ONU can be made to determine whether to use the allocated by determining whether the remainder of the frame count divided by Ν is equal to the local identifier. Shared bandwidth. If they are equal, they are used. If they are not equal, they cannot be used. This ensures that each ONU does not conflict with the use of shared bandwidth. The format of the second message may be as shown in Table 1 or Table 2 or Table 3. The designated ONU described in 201 may also be an ONU whose mask is the same as the signature of the frame count. The OLT allocates a different mask to the N ONUs, and sends a second notification message to each of the N ONUs, where the second notification message includes a mask of each of the ONUs. By assigning different masks and notifying the ONU of its mask, the ONU can use the mask to determine whether to use the allocated shared bandwidth to avoid collisions. The second notification message can be as shown in Table 4.
进一步,OLT可以发送第一通知消息给所述 N个 ONU,以通知各 ONU 共用分配标识符。该第一通知消息可以是如表 5或表 6所示的下行 PLOAM 消息, 也可以是如表 7所示的 OMCI管理实体消息。 Further, the OLT may send a first notification message to the N ONUs to notify each ONU to share the allocation identifier. The first notification message may be a downlink PLOAM message as shown in Table 5 or Table 6, or may be an OMCI Management Entity message as shown in Table 7.
OLT可以分配一个 T-CONT作为所有 ONU共用的上行 OMCI带宽, 该 T-CONT BW map中的 Alloc-ID全局唯一 ,所有 ONU都可以识别 ,该 Alloc-ID分配的带宽为多个 ONU共用 , 因此可以减少 OMCI对带宽的占 用。 OLT可以在可用的 Alloc-ID中确定一个 Alloc-ID作为全局唯一的用来 分配共用带宽的 Alloc-ID。 所分配的共用带宽可以是固定带宽类型、 保证 带宽类型、 或者其他合适的类型,这样可以在节约带宽的同时保证 OMCI 管理实体消息满足及时性的要求。 The OLT can allocate a T-CONT as the uplink OMCI bandwidth shared by all ONUs. The Alloc-ID in the T-CONT BW map is globally unique and can be identified by all ONUs. The bandwidth allocated by the Alloc-ID is shared by multiple ONUs. It can reduce the bandwidth consumption of OMCI. The OLT can determine an Alloc-ID in the available Alloc-ID as the globally unique Alloc-ID used to allocate the shared bandwidth. The allocated shared bandwidth can be a fixed bandwidth type, a guaranteed bandwidth type, or other suitable type, which can save bandwidth while ensuring that the OMCI management entity message meets the timeliness requirement.
通过上述实施例可以看出 ,通过使用共用分配标识符,OLT可以为多 个 ONU分配共用带宽,多个 ONU采用时分复用的方式使用共用带宽,从 而减少带宽的占用。 OLT使用共用分配标识符指示所分配的带宽为共用带 宽,该共用分配标识符分配给各 ONU ,而不是哪一个 ONU。 每个 ONU看 到该共用分配标识符分配的带宽,都可以采用一定的算法确定是否可以使 用该带宽。可以通过使用帧计数指示每次使用共用带宽的 ONU ,无论是通 过帧计数除以使用共用带宽的 ONU的数量所得的余数确定每次使用共用 带宽的 ONU , 还是根据帧计数的特征位的值确定每次使用共用带宽的 ONU ,都保证了每次只有最多一个 ONU使用共用带宽,避免了冲突。It can be seen from the foregoing embodiment that by using the shared allocation identifier, the OLT can allocate a shared bandwidth for multiple ONUs, and multiple ONUs use the shared bandwidth in a time division multiplexing manner, thereby reducing bandwidth occupation. The OLT uses the shared allocation identifier to indicate that the allocated bandwidth is a shared band Wide, the shared assignment identifier is assigned to each ONU, not to which ONU. Each ONU sees the bandwidth allocated by the shared allocation identifier, and a certain algorithm can be used to determine whether the bandwidth can be used. The ONU of the shared bandwidth can be indicated each time by using the frame count, whether the ONU of the shared bandwidth is used each time by dividing the frame count by the remainder of the number of ONUs using the shared bandwidth, or determining the value of the flag of the frame count. Each time you use a shared bandwidth ONU, you ensure that only one ONU uses the shared bandwidth at a time, avoiding conflicts.
本发明的实施例提供了一种共用带宽的装置,该装置可以在 ONU 中 实现,如图 3中 300所示,包括: An embodiment of the present invention provides a device for sharing bandwidth, which can be implemented in an ONU, as shown in FIG. 3, 300, including:
接收单元 301 ,用于接收一个消息帧,所述消息帧包含共用分配标识 符、 共用带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽 由 N个 ONU共用 ,所述帧计数指示了一个使用所述共用带宽的指定光网 络单元 ONU ,其中 , N为大于 1的整数; The receiving unit 301 is configured to receive a message frame, where the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, where the shared allocation identifier indicates that the shared bandwidth is shared by N ONUs, where the frame Counting indicates a designated optical network unit ONU using the shared bandwidth, where N is an integer greater than one;
判断单元 303,用于判断自己是否是所述指定 ONU ,并输出判断结果; 发送单元 305 ,用于在所述判断结果为是时使用所述共用带宽发送响 应帧。 The determining unit 303 is configured to determine whether the user is the designated ONU and output a determination result, and the sending unit 305 is configured to send the response frame by using the shared bandwidth when the determination result is YES.
具体地, 303用于判断本地标识符是否等于所述帧计数除以所述 N所 得的余数,如果相等, 自己是所述指定 ONU ,如果不等,则不是,所述本 地标识符为大于等于 0且小于所述 N的整数,且不同于所述 N个 ONU中 其他 ONU的标识符。 303 还可用于判断本地掩码是否与所述帧计数的特征位相同 ,如果相 同 , 自己是所述指定 ONU ,如果不相同 ,则不是,所述本地掩码不同于所 述多个 ONU的其他 ONU的掩码。Specifically, 303 is configured to determine whether the local identifier is equal to the remainder of the frame count divided by the N. If they are equal, they are the designated ONU. If they are not equal, the local identifier is greater than or equal to 0 and less than the integer of N, and different from the identifiers of other ONUs in the N ONUs. 303 is further configured to determine whether the local mask is the same as the feature bit of the frame count. If they are the same, they are the designated ONUs. If they are not the same, then the local mask is different from the other ONUs. The mask of the ONU.
进一步,装置 300还可以包括第二通知消息接收单元 307 ,用于接收 第二通知消息,所述第二通知消息包含所述 N或包含所述本地掩码。 Further, the apparatus 300 may further include a second notification message receiving unit 307, configured to receive a second notification message, the second notification message including the N or including the local mask.
进一步,装置 300还可以包括第一通知消息接收单元 309 ,用于接收 第一通知消息, 并从所述第一通知消息中提取所述共用分配标识符。 Further, the apparatus 300 may further include a first notification message receiving unit 309 for receiving the first notification message and extracting the common allocation identifier from the first notification message.
本发明的实施例提供了一种共用带宽的装置,该装置可以在 OLT中实 现,如图 4中 400所示,包括: An embodiment of the present invention provides a device for sharing bandwidth, which can be implemented in an OLT, as shown by 400 in FIG. 4, including:
发送单元 401 ,用于发送一个消息帧,所述消息帧包含共用分配标识 符、 共用带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽 由 N个 ONU共用 ,所述帧计数指示了一个使用所述共用带宽的指定光网 络单元 ONU ,其中 , N为大于 1的整数; a sending unit 401, configured to send a message frame, where the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, where the shared allocation identifier indicates that the shared bandwidth is shared by N ONUs, the frame Counting indicates a designated optical network unit ONU using the shared bandwidth, where N is an integer greater than one;
接收单元 403 ,用于接收响应帧,所述响应帧占用所述共用带宽, 且 由所述指定 ONU发送。 The receiving unit 403 is configured to receive a response frame, where the response frame occupies the shared bandwidth, and is sent by the designated ONU.
具体地,所述指定 ONU的标识符等于所述帧计数除以所述 N所得的 余数,或者指定 ONU的掩码与所述帧计数的特征位相同。 Specifically, the identifier of the designated ONU is equal to the remainder of the frame count divided by the N, or the mask of the designated ONU is the same as the flag of the frame count.
进一步,装置 400可以包括第二通知消息发送单元 405 ,用于分别为 所述 N个 ONU分配不同的标识符,所述标识符为大于等于 0且小于所述 N的整数, 并且向所述 Ν个 ONU发送第二通知消息,所述第二通知消息 中包含所述 Ν。 405还可用于分别为所述 Ν个 ONU分配不同的掩码 ,并 向所述 Ν个 ONU的每个 ONU发送第二通知消息,所述第二通知消息中 包含所述每个 ONU的掩码。Further, the apparatus 400 may include a second notification message sending unit 405, configured to respectively assign different identifiers to the N ONUs, the identifier being greater than or equal to 0 and smaller than the An integer of N, and sending a second notification message to the one ONU, where the second notification message includes the Ν. 405 is further configured to allocate different masks to the ONUs, and send a second notification message to each ONU of the one ONUs, where the second notification message includes a mask of each of the ONUs. .
进一步,装置 400还可以包括第一通知消息发送单元 407,用于向所 述 Ν个 ONU发送包含所述共用分配标识符的第一通知消息。 Further, the apparatus 400 may further include a first notification message sending unit 407, configured to send, to the one of the ONUs, a first notification message including the shared allocation identifier.
本发明的实施例提供了一种共用带宽的系统,如图 5所示,包括: 一个光线路终端 OLT , Ν个光网络单元 ONU,其中 , Ν为大于 1 的 整数; An embodiment of the present invention provides a system for sharing bandwidth, as shown in FIG. 5, including: an optical line terminal OLT, and an optical network unit ONU, where Ν is an integer greater than one;
所述 OLT发送一个消息帧,所述消息帧包含共用分配标识符、共用带 宽的信息、 和帧计数,所述共用带宽的信息由所述共用分配标识符指示, 所述共用带宽由所述 Ν个 ONU共用 ,所述帧计数指示了一个使用所述共 用带宽的指定 ONU; The OLT sends a message frame, where the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, where the information of the shared bandwidth is indicated by the shared allocation identifier, and the shared bandwidth is determined by the The ONUs are shared, and the frame count indicates a designated ONU using the shared bandwidth;
所述 Ν个 ONU的每个 ONU接收所述消息帧,判断自己是否是所述 指定 ONU ,如果是,使用所述共用带宽发送响应帧。 Each ONU of the one ONU receives the message frame, determines whether it is the designated ONU, and if so, transmits the response frame using the shared bandwidth.
所述 OLT接收响应帧,所述响应帧占用所述共用带宽,且由所述指定 ONU发送。 The OLT receives a response frame, the response frame occupies the shared bandwidth, and is sent by the designated ONU.
进一步,所述 OLT分别为所述 Ν个 ONU分配不同的标识符,所述标 识符为大于等于 0且小于所述 Ν的整数。 如图 6所示,所述 OLT向所述 N个 ONU发送第二通知消息,所述第二通知消息中包含所述 Ν;所述 Ν 个 ONU中的每个 ONU接收所述第二通知消息;所述判断自己是否是所述 指定 ONU具体是:判断本地标识符是否等于所述帧计数除以所述 Ν的余 数,如果相等,则所述自己是所述指定 ONU ,如果不等,则不是。 由于一 个帧计数除以 Ν的余数只有一个,所以每次使用同一个共用带宽的 ONU 最多只有 1个。 当所有使用该共用带宽的所有 ONU都已经上线时,每次 都有 1个 ONU使用通用带宽,当只有部分上线时,则可能没有 ONU使用 该共用带宽。 无论何种情况,都不会发生两个 ONU冲突使用的情况。Further, the OLT separately assigns different identifiers to the one ONU, and the identifier is an integer greater than or equal to 0 and smaller than the Ν. As shown in FIG. 6, the OLT is to the The N ONUs send a second notification message, where the second notification message includes the Ν; each of the ONUs receives the second notification message; and the determining whether the user is the specified ONU Yes: Determine whether the local identifier is equal to the frame count divided by the remainder of the Ν, if they are equal, then the self is the specified ONU, if not, then not. Since there is only one remainder of a frame count divided by Ν, there is at most one ONU that uses the same shared bandwidth each time. When all ONUs that use the shared bandwidth are online, one ONU uses the common bandwidth each time. When only part of the ONU is online, the ONU may not use the shared bandwidth. In either case, there will be no two ONU conflicts.
进一步,所述 OLT可以分别为所述 Ν个 ONU分配不同的掩码 ;所述 OLT向所述 Ν个 ONU中发送第二通知消息,所述第二通知消息中包含所 述每个 ONU的掩码 ;所述 Ν个 ONU中的每个 ONU接收所述第二通知消 息;所述判断自己是否是所述指定 ONU具体为 :判断本地掩码是否与所 述帧计数的特征位相同 ,如果相同 ,则所述自己是所述指定 ONU ,如果不 相同 ,则不是。 分配掩码时, OLT为每个 ONU分配不同的掩码。 帧计数 的特征位的值的个数可能多于掩码的个数,会发生无法与某个 ONU标识 符匹配的情况,但是不会发生同一个掩码与多个 ONU标识符匹配的情况, 从而避免冲突。 Further, the OLT may separately allocate different masks for the one ONUs; the OLT sends a second notification message to the one ONUs, where the second notification message includes the mask of each of the ONUs. Each of the ONUs receives the second notification message; the determining whether the user is the designated ONU is specifically: determining whether the local mask is the same as the feature bit of the frame count, if the same , the self is the specified ONU, if not the same, then not. When assigning a mask, the OLT assigns a different mask to each ONU. The number of values of the feature bits of the frame count may be more than the number of masks, and a situation in which an ONU identifier cannot be matched may occur, but the same mask does not match the multiple ONU identifiers. Thereby avoiding conflicts.
进一步, OLT可以向 Ν个 ONU中的每个 ONU发送第一通知消息, 该第一通知消息中包含共用分配标识符。 每个 ONU收到该第一通知消息 后,提取该共用分配标识符。 当每个 ONU接收到包含所述共用分配标识 符的广播帧后, 可以识别出该共用分配标识符所分配的带宽为共用带宽, 从而可以时分复用的方式使用共用带宽。Further, the OLT may send a first notification message to each of the ONUs, where the first notification message includes a shared allocation identifier. Each ONU receives the first notification message After that, the shared allocation identifier is extracted. After each ONU receives the broadcast frame including the shared allocation identifier, it can be identified that the bandwidth allocated by the shared allocation identifier is a shared bandwidth, so that the shared bandwidth can be used in a time division multiplex manner.
通过上述实施例可以看出 ,通过使用共用共用分配标识符, OLT可以 为多个 ONU分配共用带宽,从而减少带宽的占用。 OLT使用共用分配标 识符指示所分配的带宽为共用带宽,该共用分配标识符分配给各 ONU ,而 不是哪一个 ONU。 每个 ONU看到该共用分配标识符分配的带宽,都可以 采用一定的算法确定是否可以使用该带宽。 可以通过使用帧计数指示每次 使用共用带宽的 ONU ,无论是通过帧计数除以使用共用带宽的 ONU的数 量所得的余数确定每次使用共用带宽的 ONU,还是根据帧计数的特征位的 值确定每次使用共用带宽的 ONU ,都保证了每次只有最多一个 ONU使用 共用带宽,避免了冲突。 在共用带宽为固定带宽(或保证带宽)时,采用 本发明的实施例可以节省上行固定带宽(或保证带宽),同时固定带宽相对 于其他带宽, OMCI延时固定, 可预期。 It can be seen from the above embodiment that by using the shared shared allocation identifier, the OLT can allocate a shared bandwidth for multiple ONUs, thereby reducing bandwidth occupation. The OLT uses the shared allocation identifier to indicate that the allocated bandwidth is the shared bandwidth, and the shared allocation identifier is assigned to each ONU instead of which ONU. Each ONU sees the bandwidth allocated by the shared allocation identifier, and an algorithm can be used to determine whether the bandwidth can be used. The ONU of the shared bandwidth can be indicated each time by using the frame count, whether the ONU of the shared bandwidth is used each time by dividing the frame count by the remainder of the number of ONUs using the shared bandwidth, or determining the value of the flag bit according to the frame count. Each time you use a shared bandwidth ONU, you ensure that only one ONU uses the shared bandwidth at a time, avoiding conflicts. When the shared bandwidth is a fixed bandwidth (or guaranteed bandwidth), the embodiment of the present invention can save uplink fixed bandwidth (or guaranteed bandwidth), while the fixed bandwidth is fixed relative to other bandwidths, and the OMCI delay is fixed, which can be expected.
本领域技术人员容易将本发明的实施例应用于 GPON、 XG-PON、 EPON/10EPON等领域, 也可以应用于其他应用共用带宽的领域。 Those skilled in the art can easily apply the embodiments of the present invention to the fields of GPON, XG-PON, EPON/10 EPON, and the like, and can also be applied to the field of shared bandwidth of other applications.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本 发明可借助软件加必需的硬件平台的方式来实现, 当然也可以全部通过硬 件来实施。 基于这样的理解,本发明的技术方案对背景技术做出贡献的全 部或者部分可以以软件产品的形式体现出来,该计算机软件产品可以存储 在存储介质中 ,如 ROM/RAM、 磁碟、 光盘等,包括若干指令用以使得一 台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发 明各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course, all can be implemented by hardware. Based on such understanding, the technical solution of the present invention contributes to the background art. The computer software product may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions for causing a computer device (which may be a personal computer, A server, or network device, etc.) performs the methods described in various embodiments of the present invention or in certain portions of the embodiments.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并 不局限于此,任何熟悉本技术领域的技术人员在本发明掲露的技术范围 内 ,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保护范围为准。 The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any change that can be easily conceived by those skilled in the art within the technical scope of the present invention can be easily understood. Or, replacement, should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1 . 一种共用带宽的方法,其特征在于 ,包括:A method of sharing bandwidth, comprising:
光网络单元 ONU接收一个消息帧,所述消息帧包含共用分配标识符、 共用带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽由 N 个 ONU共用 ,所述帧计数指示了一个使用所述共用带宽的指定 ONU ,其 中 , N为大于 1的整数; The optical network unit ONU receives a message frame, the message frame including a shared allocation identifier, information of a shared bandwidth, and a frame count, the shared allocation identifier indicating that the shared bandwidth is shared by N ONUs, the frame count indication a designated ONU using the shared bandwidth, where N is an integer greater than one;
判断自己是否为所述指定 ONU; Determine whether you are the designated ONU;
如果是,使用所述共用带宽发送响应帧。 If so, the response frame is transmitted using the shared bandwidth.
2 .如权利要求 1 所述的方法,其特征在于 ,所述判断自己是否是所 述指定 ONU具体包括: The method according to claim 1, wherein the determining whether the user is the designated ONU specifically comprises:
判断本地标识符是否等于所述帧计数除以所述 N所得的余数,如果相 等,则自己是所述指定 ONU ,如果不等,则不是,所述本地标识符为大于 等于 0且小于所述 N的整数, 且不同于所述 N个 ONU中其他 ONU的标 识符。 Determining whether the local identifier is equal to the remainder of the frame count divided by the N, if they are equal, then the specified ONU, if not, then not, the local identifier is greater than or equal to 0 and less than the An integer of N, and different from the identifiers of other ONUs in the N ONUs.
3 .如权利要求 2所述的方法,其特征在于 ,进一步包括: 3. The method of claim 2, further comprising:
接收第二通知消息,所述第二通知消息中包含所述 N。 Receiving a second notification message, where the N is included in the second notification message.
4 .如权利要求 1 所述的方法,其特征在于 ,所述判断自己是否是所 述指定 ONU具体包括: The method according to claim 1, wherein the determining whether the user is the designated ONU specifically comprises:
判断本地掩码是否与所述帧计数的特征位相同 ,如果相同 ,则自己是 所述指定 ONU,如果不相同 ,则不是,所述本地掩码不同于所述 N个 ONU 的其他 ONU的掩码。Determining whether the local mask is the same as the feature bit of the frame count, if the same, then The designated ONUs, if not the same, are not, and the local mask is different from the masks of other ONUs of the N ONUs.
5 .如权利要求 4所述的方法,其特征在于 ,进一步包括: The method of claim 4, further comprising:
接收第二通知消息,所述第二通知消息包含所述本地掩码。 A second notification message is received, the second notification message including the local mask.
6 .如权利要求 1所述的方法,其特征在于 ,进一步包括: 6. The method of claim 1 further comprising:
接收第一通知消息并从所述第一通知消息中提取所述共用分配标识 符;或者,从配置数据中提取所述共用分配标识符。 Receiving a first notification message and extracting the shared allocation identifier from the first notification message; or extracting the shared allocation identifier from configuration data.
7 . 一种共用带宽的装置,其特征在于 ,包括: 7. A device for sharing bandwidth, comprising:
接收单元,用于接收一个消息帧,所述消息帧包含共用分配标识符、 共用带宽的信息、 和帧计数,所述共用分配标识符表示所述共用带宽由 N 个 ONU共用 ,所述帧计数指示了一个使用所述共用带宽的指定 ONU ,其 中 , N为大于 1的整数; a receiving unit, configured to receive a message frame, where the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, where the shared allocation identifier indicates that the shared bandwidth is shared by N ONUs, and the frame count is Indicates a designated ONU that uses the shared bandwidth, where N is an integer greater than one;
判断单元,用于判断自己是否是所述指定 ONU , 并输出判断结果; 发送单元,用于在判断结果为是时使用所述共用带宽发送响应帧。 a determining unit, configured to determine whether the user is the designated ONU, and output a determination result; and the sending unit is configured to send the response frame by using the shared bandwidth when the determination result is yes.
8 . 一种共用带宽的系统,其特征在于 ,包括:8. A system for sharing bandwidth, comprising:
一个光线路终端 OLT , N个光网络单元 ONU,其中 , N为大于 1 的 整数; An optical line terminal OLT, N optical network units ONU, where N is an integer greater than one;
所述 OLT发送一个消息帧,所述消息帧包含共用分配标识符、共用带 宽的信息、和帧计数,所述共用分配标识符表示所述共用带宽由 N个 ONU 共用 ,所述帧计数指示了一个使用所述共用带宽的指定 ONU; 所述 N个 ONU的每个 ONU接收所述消息帧,判断自己是否是所述 指定 ONU ,如果是,使用所述共用带宽发送响应帧。The OLT sends a message frame, the message frame includes a shared allocation identifier, information of a shared bandwidth, and a frame count, the shared allocation identifier indicating that the shared bandwidth is composed of N ONUs Shared, the frame count indicates a designated ONU using the shared bandwidth; each ONU of the N ONUs receives the message frame, determines whether it is the designated ONU, and if so, uses the shared bandwidth Send a response frame.
所述 OLT接收响应帧,所述响应帧占用所述共用带宽,且由所述指定 The OLT receives a response frame, the response frame occupies the shared bandwidth, and is specified by the
ONU发送。The ONU sends.
9 .如权利要求 8所述的系统,其特征在于 ,进一步包括: 9. The system of claim 8 further comprising:
所述 OLT分别为所述 N个 ONU分配不同的标识符,所述标识符为大 于等于 0且小于所述 N的整数; The OLT assigns different identifiers to the N ONUs, where the identifier is an integer greater than or equal to 0 and less than the N;
所述 OLT向所述 N个 ONU发送第二通知消息,所述第二通知消息中 包含所述 N; The OLT sends a second notification message to the N ONUs, where the second notification message includes the N;
所述 N个 ONU中的每个 ONU接收所述第二通知消息; Each of the N ONUs receives the second notification message;
所述判断自己是否是所述指定 ONU具体包括: The determining whether the user is the designated ONU specifically includes:
判断本地标识符是否等于所述帧计数除以所述 N的余数,如果相等, 则自己是所述指定 ONU ,如果不等,则不是。 Determining whether the local identifier is equal to the remainder of the frame count divided by the N, if equal, then the specified ONU, if not, then not.
10 .如权利要求 9所述的系统,其特征在于 ,进一步包括: 10. The system of claim 9, further comprising:
所述 OLT分别为所述 N个 ONU分配不同的掩码 ; The OLT assigns different masks to the N ONUs respectively;
所述 OLT向所述 N个 ONU中发送第二通知消息,所述第二通知消息 中包含所述每个 ONU的掩码 ; The OLT sends a second notification message to the N ONUs, where the second notification message includes a mask of each ONU;
所述 N个 ONU中的每个 ONU接收所述第二通知消息; 所述判断自己是否是所述指定 ONU具体包括:Each of the N ONUs receives the second notification message; The determining whether the user is the designated ONU specifically includes:
判断本地掩码是否与所述帧计数的特征位相同 ,如果相同 ,则自己是 所述指定 ONU,如果不相同 ,则不是。 It is determined whether the local mask is the same as the feature bit of the frame count. If they are the same, they are the specified ONU. If they are not the same, they are not.
PCT/CN2012/0770512011-10-102012-06-16Bandwidth sharing method, device, and systemWO2013053243A1 (en)

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN2011102348218ACN102291632A (en)2011-10-102011-10-10Bandwidth sharing method, device and system
CN201110234821.82011-10-10

Publications (1)

Publication NumberPublication Date
WO2013053243A1true WO2013053243A1 (en)2013-04-18

Family

ID=45337694

Family Applications (1)

Application NumberTitlePriority DateFiling Date
PCT/CN2012/077051WO2013053243A1 (en)2011-10-102012-06-16Bandwidth sharing method, device, and system

Country Status (2)

CountryLink
CN (1)CN102291632A (en)
WO (1)WO2013053243A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102291632A (en)*2011-10-102011-12-21华为技术有限公司Bandwidth sharing method, device and system
CN112953627B (en)*2019-12-112025-07-08中兴通讯股份有限公司Fault detection method, device, equipment and storage medium
CN118175465B (en)*2024-05-152024-08-23中兴通讯股份有限公司Optical network system, message scheduling method, communication device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101394229A (en)*2007-09-212009-03-25日立通讯技术株式会社 Passive optical network system and ranging method
EP2111055A1 (en)*2008-04-172009-10-21Nokia Siemens Networks OyExtended queue polling mechanism for ITU G.984 GPON system
CN101826928A (en)*2009-03-032010-09-08中兴通讯股份有限公司Method and device for realizing PON (Passive Optical Network) system service recovery
CN102291632A (en)*2011-10-102011-12-21华为技术有限公司Bandwidth sharing method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101316141B (en)*2007-05-292012-11-21华为技术有限公司Band width distribution method, device, communication apparatus and system
CN102209280A (en)*2010-03-312011-10-05中兴通讯股份有限公司Uplink data processing method used in passive optical network and passive optical network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101394229A (en)*2007-09-212009-03-25日立通讯技术株式会社 Passive optical network system and ranging method
EP2111055A1 (en)*2008-04-172009-10-21Nokia Siemens Networks OyExtended queue polling mechanism for ITU G.984 GPON system
CN101826928A (en)*2009-03-032010-09-08中兴通讯股份有限公司Method and device for realizing PON (Passive Optical Network) system service recovery
CN102291632A (en)*2011-10-102011-12-21华为技术有限公司Bandwidth sharing method, device and system

Also Published As

Publication numberPublication date
CN102291632A (en)2011-12-21

Similar Documents

PublicationPublication DateTitle
US11374674B2 (en)Passive optical network system, optical line terminal, and optical network unit
US7720072B2 (en)Method for dynamic bandwidth allocation in passive optical network
US8548327B2 (en)Dynamic management of polling rates in an ethernet passive optical network (EPON)
US10652635B2 (en)Passive optical network communications method and apparatus, and system
TW201824783A (en)Data Communication System, Optical Line Terminal and Baseband Unit
WO2013082936A1 (en)Method and system for allocating uplink bandwidth in passive optical network (pon) system
CN104125518A (en)Method for realizing data message transmission in transformer substation through passive optical network
CN102387426B (en)Uplink bandwidth allocation method in EPON
CN101692716B (en)Optical line terminal, optical network unit and passive optical network system
CN101330450B (en)Method, system and equipment for distributing bandwidth of optical network
CN103248431B (en)The transportable TWDM-PON system of a kind of ONU
CN108882063B (en)Service mapping method for asymmetric system of passive optical network
JP2016523043A (en) Method and apparatus for reconfiguring the wavelength of an optical network unit
US12342110B2 (en)Communication method based on passive optical network, related device, and system
WO2013053243A1 (en)Bandwidth sharing method, device, and system
CN110858779B (en)ONU channel processing method, device and computer readable storage medium
WO2013189322A1 (en)Registration activation method, system and device for optical network unit
WO2014079233A1 (en)Method and system for tuning operating wavelength
KR20050118390A (en)Method for sla-based dynamic bandwidth allocation for ethernet passive optical network
Lee et al.A two‐step scheduling algorithm to support dual bandwidth allocation policies in an Ethernet passive optical network
JP2007288629A (en) Transmission allocation method and apparatus
WO2015077943A1 (en)Method, apparatus and system for allocating uplink bandwidth in passive optical network
CN104170292B (en)Data, the method and apparatus of scheduling of resource are transmitted in light coaxial network framework
CN119653263A (en) Access method, optical fiber network system and related equipment

Legal Events

DateCodeTitleDescription
121Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number:12839900

Country of ref document:EP

Kind code of ref document:A1

NENPNon-entry into the national phase

Ref country code:DE

122Ep: pct application non-entry in european phase

Ref document number:12839900

Country of ref document:EP

Kind code of ref document:A1


[8]ページ先頭

©2009-2025 Movatter.jp