CN101719863B - Method, device and system for mapping service quality from IPv6 to PON - Google Patents
Method, device and system for mapping service quality from IPv6 to PON Download PDFInfo
- Publication number
- CN101719863B CN101719863B CN200810167045A CN200810167045A CN101719863B CN 101719863 B CN101719863 B CN 101719863B CN 200810167045 A CN200810167045 A CN 200810167045A CN 200810167045 A CN200810167045 A CN 200810167045A CN 101719863 B CN101719863 B CN 101719863B
- Authority
- CN
- China
- Prior art keywords
- service
- protocol version
- user
- network protocol
- service type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例公开一种IPv6到PON的服务质量映射方法、装置和系统,涉及网络领域。为解决现有技术中需要通过两次服务质量映射才能实现PON对IPv6数据包的承载,实现复杂且处理成本高的问题而发明。本发明提出的技术方案包括:接收网络协议版本6数据流,该数据流包括至少一个数据包,其中数据包包括服务质量信息;根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口。本发明实施例提供技术方案可以应用于网络。
The embodiment of the invention discloses a method, device and system for mapping IPv6 to PON service quality, and relates to the network field. The invention is invented to solve the problems in the prior art that it is necessary to go through two service quality mappings to realize the bearing of the PON to the IPv6 data packet, which is complex and has high processing costs. The technical solution proposed by the present invention includes: receiving a network protocol version 6 data flow, the data flow includes at least one data packet, wherein the data packet includes service quality information; according to the service quality information, the data packet is mapped to a network that can meet the service quality requirements Passive optical network logical port. Embodiments of the present invention provide technical solutions that can be applied to networks.
Description
技术领域 technical field
本发明涉及网络领域,尤其涉及网络版本协议6到无源光网络的服务质量映射方法、装置和系统。The invention relates to the network field, in particular to a service quality mapping method, device and system from network version protocol 6 to a passive optical network.
背景技术 Background technique
所谓光接入网(OAN,Optical Access Network)就是采用光纤传输技术的接入网,泛指业务功能点与用户驻地网之间采用光纤通信或部分采用光纤通信的系统。OAN整个参考架构由用户驻地网、接入网和业务功能点组成。其中接入网主要网元包括:光路终结点(OLT,Optical Line Termination),光分配网(ODN,Optical Distribution Network),光网络单元(ONU,Optical NetworkUnit),适配功能体(AF,Adaptation Function)。AF为适配功能体,是可选设备,主要是提供ONU/ONT接口与UNI接口的相互转换;OLT为光接入网提供网络侧接口;ONU提供用户侧接口;ODN为OLT和ONU之间提供光传输手段,其中一个OLT可以与一个或多个ODN相连。光接入网又可分为无源光网络(PON,PassiveOptical Network)和有源光网络(AON,Active Optical Network)。The so-called Optical Access Network (OAN, Optical Access Network) is an access network using optical fiber transmission technology, and generally refers to a system that uses optical fiber communication or partially uses optical fiber communication between service function points and user premises networks. The entire reference architecture of OAN is composed of customer premises network, access network and service function points. The main network elements of the access network include: Optical Line Termination (OLT, Optical Line Termination), Optical Distribution Network (ODN, Optical Distribution Network), Optical Network Unit (ONU, Optical Network Unit), Adaptation Function (AF, Adaptation Function ). AF is an adaptation function body, which is an optional device, mainly to provide mutual conversion between ONU/ONT interface and UNI interface; OLT provides network side interface for optical access network; ONU provides user side interface; ODN is between OLT and ONU Provides optical transmission means, where one OLT can be connected to one or more ODNs. Optical access network can be divided into passive optical network (PON, Passive Optical Network) and active optical network (AON, Active Optical Network).
在实现上述PON承载业务的过程中,发明人发现现有技术存在以下问题:随着互联网协议网络协议版本6(IPv6,Internet Protocol Version6)取代网络协议版本4(Ipv4,Internet Protocol Version4),无源光网络如何承载Ipv6成为当前急待解决的技术问题。目前,PON承载IPv6业务的过程类似于PON承载IPv4业务的过程,PON要先实现IPv6到以太网的映射,再实现以太网到PON逻辑端口的映射,不但实现复杂而且处理成本很高。In the process of realizing the above-mentioned PON bearer service, the inventor found that the following problems exist in the prior art: as Internet Protocol Version 6 (IPv6, Internet Protocol Version 6) replaces Internet Protocol Version 4 (Ipv4, Internet Protocol Version 4), passive How the optical network bears IPv6 has become an urgent technical problem to be solved. At present, the process of PON carrying IPv6 services is similar to the process of PON carrying IPv4 services. PON needs to realize the mapping from IPv6 to Ethernet first, and then realize the mapping from Ethernet to PON logical ports, which is not only complicated but also expensive to process.
发明内容 Contents of the invention
本发明的实施例提供一种网络版本协议6到无源光网络的服务质量映射方法、装置和系统,能够简单且低成本地将网络版本协议6映射到无源光网络中。Embodiments of the present invention provide a method, device and system for mapping network version protocol 6 to a passive optical network, which can map network version protocol 6 to a passive optical network simply and at low cost.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
一种网络版本协议6到无源光网络的服务质量映射方法,包括:A method for mapping network version protocol 6 to the quality of service of a passive optical network, comprising:
接收IPv6数据流,该数据流包括至少一个数据包,其中数据包包括IPv6服务质量信息;Receiving an IPv6 data stream, the data stream includes at least one data packet, wherein the data packet includes IPv6 quality of service information;
根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口。According to the quality of service information, the data packet is mapped to a logical port of the passive optical network that can meet the quality of service requirement.
一种IPv6到无源光网络的服务质量映射的系统,包括:A system for mapping IPv6 to passive optical network quality of service, comprising:
接收/发送模块:用于接收/发送网络协议版本6数据流,该数据流包括至少一个数据包,其中数据包包括服务质量信息;Receiving/sending module: used to receive/send network protocol version 6 data flow, the data flow includes at least one data packet, wherein the data packet includes service quality information;
映射模块,用于根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口。A mapping module, configured to map the data packet to a passive optical network logical port that can meet the quality of service requirements according to the quality of service information.
一种光网络单元,包括:An optical network unit, comprising:
接收/发送模块:用于接收/发送网络协议版本6数据流,该数据流包括至少一个数据包,其中数据包包括服务质量信息;Receiving/sending module: used to receive/send network protocol version 6 data flow, the data flow includes at least one data packet, wherein the data packet includes service quality information;
数据包分类模块:用于根据网络协议版本6服务质量信息将接收模块接收到的数据包进行分类;Data packet classification module: used to classify the data packets received by the receiving module according to the network protocol version 6 service quality information;
映射模块:用于根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口;Mapping module: used to map data packets to passive optical network logical ports that can meet quality of service requirements according to the quality of service information;
业务类型转换模块:用于将从合法端口接收到数据包的网络协议版本6用户业务类型转换为运营商业务类型,或者将运营商业务类型转换为用户业务类型;Service type conversion module: used to convert the network protocol version 6 user service type received from the legal port to the operator service type, or convert the operator service type to the user service type;
流标签配置模块:用于在接收网络协议版本6数据流之前,配置在网络协议版本6流标签域中设置用户流标签域和/或业务流标签域及其相应的值。Flow label configuration module: used to configure and set the user flow label field and/or service flow label field and their corresponding values in the network protocol version 6 flow label field before receiving the network protocol version 6 data flow.
一种光路终结点,包括:An optical path termination point comprising:
接收/发送模块:用于接收/发送网络协议版本6数据流,该数据流包括至少一个数据包,其中数据包包括服务质量信息;Receiving/sending module: used to receive/send network protocol version 6 data flow, the data flow includes at least one data packet, wherein the data packet includes service quality information;
数据包分类模块:用于根据网络协议版本6服务质量信息将接收模块接收到的数据包进行分类;Data packet classification module: used to classify the data packets received by the receiving module according to the network protocol version 6 service quality information;
映射模块:用于根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口;Mapping module: used to map data packets to passive optical network logical ports that can meet quality of service requirements according to the quality of service information;
业务类型转换模块:用于将从合法端口接收到数据包的网络协议版本6用户业务类型转换为运营商业务类型,或者将运营商业务类型转换为用户业务类型;Service type conversion module: used to convert the network protocol version 6 user service type received from the legal port to the operator service type, or convert the operator service type to the user service type;
流标签域修改模块:用于将接收模块从合法端口接收到的数据包的网络协议版本6流标签域的用户流标签域和/或业务流标签域进行修改。The flow label field modifying module: used for modifying the user flow label field and/or the service flow label field of the network protocol version 6 flow label field of the data packet received by the receiving module from the legal port.
本发明实施例提供的IPv6到无源光网络的服务质量映射方法、装置和系统,能够通过直接根据IPv6中的服务质量信息将数据包映射到能够满足服务质量要求的逻辑端口实现将IPv6映射到无源光网络中,解决了现有技术无源光网络要先实现IPv6到以太网的服务质量映射,再实现以太网到无源光网络逻辑端口的服务质量映射,实现复杂且处理成本高的问题。本发明实施例提供的IPv6到无源光网络的服务质量映射方法和装置将IPv6通过一次服务质量映射到无源光网络中简化了服务质量映射过程,降低了IPv6在PON上的建网成本。The quality of service mapping method, device and system from IPv6 to passive optical network provided by the embodiments of the present invention can realize mapping of IPv6 to In the passive optical network, it solves the problem that the passive optical network in the prior art needs to realize the mapping of quality of service from IPv6 to Ethernet first, and then realize the mapping of quality of service from Ethernet to the logical port of the passive optical network, so as to realize complex and high processing cost question. The QoS mapping method and device from IPv6 to passive optical network provided by the embodiments of the present invention map IPv6 to the passive optical network through QoS once, which simplifies the QoS mapping process and reduces the network construction cost of IPv6 on PON.
附图说明 Description of drawings
图1为本发明实施例一提供的传输方向为上/下行方向的IPv6到PON的QoS映射方法流程图;Fig. 1 is the flow chart of the QoS mapping method from IPv6 to PON in which the transmission direction provided by Embodiment 1 of the present invention is the uplink/downlink direction;
图2为本发明实施例二提供的IPv6到PON的QoS映射方法流程图;Fig. 2 is the flow chart of the QoS mapping method from IPv6 to PON provided by Embodiment 2 of the present invention;
图3为本发明实施例三提供的IPv6到PON的QoS映射方法流程图;Fig. 3 is the flow chart of the QoS mapping method from IPv6 to PON provided by Embodiment 3 of the present invention;
图4为本发明提供的IPv6到PON的QoS映射模型一;Fig. 4 is the QoS mapping model one of IPv6 to PON provided by the present invention;
图5为本发明提供的IPv6到PON的QoS映射模型二;Fig. 5 is the QoS mapping model two of IPv6 to PON provided by the present invention;
图6为本发明提供的IPv6到PON的QoS映射模型三;Fig. 6 is the QoS mapping model three of IPv6 to PON provided by the present invention;
图7为本发明提供的IPv6到PON的QoS映射模型四;Fig. 7 is the QoS mapping model four of IPv6 to PON provided by the present invention;
图8为本发明提供的IPv6到PON的QoS映射模型五;Fig. 8 is the QoS mapping model five of IPv6 to PON provided by the present invention;
图9为本发明提供的IPv6到PON的QoS映射模型六;Fig. 9 is the QoS mapping model six of IPv6 to PON provided by the present invention;
图10为本发明提供的IPv6到PON的QoS映射模型七;Fig. 10 is the QoS mapping model seven of IPv6 to PON provided by the present invention;
图11为本发明提供的光网络单元结构示意图;FIG. 11 is a schematic structural diagram of an optical network unit provided by the present invention;
图12为本发明提供的光路终结点结构示意图。FIG. 12 is a schematic structural diagram of an optical path termination point provided by the present invention.
具体实施方式 Detailed ways
为了解决现有技术PON承载IPv6需要两次QoS映射不但复杂而且所需成本很高的问题,本发明提供了一种IPv6到PON的服务质量映射的方法、装置和系统。下面结合附图对本发明进行详细描述。In order to solve the problem in the prior art that PON bears IPv6 and requires two QoS mappings which is not only complicated but also requires high cost, the present invention provides a method, device and system for mapping IPv6 to PON quality of service. The present invention will be described in detail below in conjunction with the accompanying drawings.
如图1所示,本发明实施例提供传输方向为上/下行方向的IPv6到PON的QoS映射方法包括:As shown in Figure 1, the embodiment of the present invention provides the QoS mapping method from IPv6 to PON whose transmission direction is the uplink/downlink direction, including:
步骤101,ONU/OLT接收IPv6数据流,该数据流包括至少一个数据包,其中数据包包括服务质量信息;
其中服务质量信息主要包括:The service quality information mainly includes:
IPv6业务类型信息;IPv6 service type information;
IPv6用户地址信息;IPv6 user address information;
IPv6流标签信息。IPv6 flow label information.
步骤102,ONU/OLT根据服务质量信息将数据包进行分类;
本实施例中服务类型分类的方法包括:The method for classifying service types in this embodiment includes:
当基于业务类型和用户时,根据IPv6业务类型和IPv6用户地址进行分类;When based on service types and users, classify according to IPv6 service types and IPv6 user addresses;
当基于业务类型时,根据IPv6业务类型进行分类;When based on service type, classify according to IPv6 service type;
当基于用户时,根据IPv6用户地址进行分类;When based on users, classify according to IPv6 user addresses;
当基于业务流和用户时,根据IPv6流标签信息和IPv6用户地址进行分类。When based on service flow and user, classify according to IPv6 flow label information and IPv6 user address.
步骤103,ONU/OLT根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口。In
当所述步骤102中根据IPv6业务类型和IPv6用户地址进行分类,则将具有相同IPv6业务类型并且具有相同IPv6用户地址的数据包映射到同一PON逻辑端口,PON逻辑端口可以实现业务和用户的隔离,通过逻辑端口可以实现对每个用户每种业务的服务质量管理控制。When classifying according to the IPv6 service type and the IPv6 user address in the
当所述步骤102中根据IPv6业务类型进行分类,则将具有相同IPv6业务类型的数据包映射到同一PON逻辑端口;When classifying according to the IPv6 service type in the
当所述步骤102中根据IPv6用户地址进行分类,则将具有相同IPv6用户地址的数据包映射到同一PON逻辑端口;When classifying according to the IPv6 user address in the
当所述步骤102中根据IPv6流标签信息和IPv6用户地址进行分类,则将具有相同IPv6用户地址并且具有相同IPv6流标签信息的数据包映射到同一PON逻辑端口。When performing classification according to the IPv6 flow label information and IPv6 user address in the
现有PON承载IPv4业务的过程中,PON要先实现IPv4到以太网的映射,再实现以太网到PON逻辑端口的映射。这是由IPv4的协议标准决定的,由于IPv4不支持流的概念,使得IPv4业务不能承载更多的服务质量信息,也使得PON无法将所述接收到的IPv4业务映射到能够满足其服务质量的逻辑端口,所以IPv4业务必须先经过以太网,再传输到PON。现有PON承载IPv6业务的过程是从PON承载IPv4业务的过程发展而来的,PON也要先实现IPv6到以太网的映射,再实现以太网到PON逻辑端口的映射。可实际上,IPv6与IPv4的协议标准是不同的,IPv6支持流的概念,使得IPv6业务能够承载更多的服务质量信息,PON完全可以根据所述IPv6业务承载的服务质量信息,将接收到的IPv6业务映射到能够满足该IPv6业务服务质量的逻辑端口。本发明实施例在IPv6业务数据流中设置一个数据包,所述数据包包括IPv6服务质量信息,PON根据服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口。本发明实施例只进行一次服务质量映射,简化了服务质量映射过程,降低了IPv6在PON上的建网成本。In the process of carrying IPv4 services on the existing PON, the PON must first realize the mapping from IPv4 to Ethernet, and then realize the mapping from Ethernet to PON logical ports. This is determined by the protocol standard of IPv4. Since IPv4 does not support the concept of flow, the IPv4 service cannot carry more service quality information, and it also makes it impossible for the PON to map the received IPv4 service to a service that can satisfy its service quality. Logical ports, so IPv4 services must pass through the Ethernet before being transmitted to the PON. The process of carrying IPv6 services on the existing PON is developed from the process of carrying IPv4 services on the PON. The PON must first realize the mapping from IPv6 to Ethernet, and then realize the mapping from Ethernet to PON logical ports. But in fact, the protocol standards of IPv6 and IPv4 are different. IPv6 supports the concept of flow, so that IPv6 services can carry more service quality information. IPv6 services are mapped to logical ports that can meet the quality of service of the IPv6 services. In the embodiment of the present invention, a data packet is set in the IPv6 service data flow, the data packet includes IPv6 service quality information, and the PON maps the data packet to a passive optical network logical port that can meet the service quality requirements according to the service quality information. The embodiment of the present invention only performs QoS mapping once, which simplifies the QoS mapping process and reduces the network construction cost of IPv6 on the PON.
为了使本领域技术人员能够更清楚地理解本发明实施例所提供的技术方案,下面对所述IPv6到PON的QoS映射方法按照上行方向和下行方向分别进行介绍。In order to enable those skilled in the art to understand the technical solution provided by the embodiment of the present invention more clearly, the following describes the QoS mapping method from IPv6 to PON according to the uplink direction and the downlink direction respectively.
如图2所示,对于本发明的另一实施例,当传输数据包的方向为上行方向时,本发明提供的IPv6到PON的QoS映射方法包括:As shown in Figure 2, for another embodiment of the present invention, when the direction of transmission data packet is the uplink direction, the QoS mapping method of IPv6 to PON provided by the present invention comprises:
步骤201,ONU对所述服务质量信息中用户业务类型转换为运营商业务类型。In
在本实施例中,IPv6报文头中的TC域可由用户或家庭网关进行标识,用户或家庭网关标识的业务类型,称为用户业务类型(C-TC,Customer TC),所述用户业务类型表示该用户业务的种类,针对不同种类的用户业务,需要运营商提供不同的服务,由于C-TC的值是由不同用户自己规定的,因此相同的C-TC值可能对应不同的业务类型,例如,对于用户1来说,业务类型值为00000000表示语音类型,对于用户2来说,业务类型值为00000000表示图像类型。In this embodiment, the TC field in the IPv6 message header can be identified by the user or the home gateway, and the service type identified by the user or the home gateway is called the customer service type (C-TC, Customer TC), and the user service type Indicates the type of user service. For different types of user services, operators need to provide different services. Since the value of C-TC is specified by different users, the same C-TC value may correspond to different service types. For example, for user 1, the service type value is 00000000 indicating the voice type, and for user 2, the service type value is 00000000 indicating the image type.
IPv6报文头中的TC域还可由ONU或OLT进行转换,ONU或OLT进行标识的业务类型,称为运营商业务类型(P-TC,Provider TC),所述运营商业务类型代表该业务需要运营商进行处理的方式,P-TC的值在运营商管理域内与业务类型是统一管理,针对不同种类的运营商业务,运营商系统内部需要不同的管理手段,因此P-TC的值在运营商管理域内与业务类型是一一对应的,例如业务类型值为00000000就统一表示语音类型。The TC domain in the IPv6 message header can also be converted by ONU or OLT, and the service type identified by ONU or OLT is called the operator's service type (P-TC, Provider TC), and the operator's service type represents the service needs The way the operator handles it. The value of P-TC is managed uniformly with the service type in the operator management domain. For different types of operator services, different management methods are required in the operator system. Therefore, the value of P-TC is in the operation There is a one-to-one correspondence between the business management domain and the service type. For example, the value of the service type is 00000000 to uniformly represent the voice type.
因此在用户通过PON与运营商网络进行连接的过程中,需要将业务类型进行转换,即将用户发送的C-TC统一为运营商可以接收的P-TC。Therefore, in the process of connecting the user to the operator's network through the PON, it is necessary to convert the service type, that is, to unify the C-TC sent by the user into the P-TC that the operator can receive.
所述步骤201可以在所述步骤102之后进行,此时步骤201在ONU中进行,并且ONU只对来自合法用户端口的用户业务类型进行转换,杜绝了非法用户,此时,OLT对数据包只进行透传。Described
所述步骤201也可以在OLT中进行,且OLT只对来自合法用户端口的用户业务类型进行转换,杜绝了非法用户,此时ONU对数据包只进行透传(此种情况未在图中表示)。Described
所述步骤201为可选步骤,实际情况中可以也可以约定用户使用统一的业务类型,此时不通过步骤201The
步骤202,ONU对所述服务质量信息中流标签域进行设置。In
当传输方向为上行方向时,在接收网络协议版本6数据流之前,在IPv6流标签域中设置用户流标签域(C-FL,Customer-Flow Label),建议为12位,用于在接收网络协议版本6数据流之后,对从合法端口接收到的网络协议版本6数据包的用户流标签域进行修改,以表示所述数据包来自合法用户;When the transmission direction is the uplink direction, before receiving the network protocol version 6 data flow, set the customer flow label field (C-FL, Customer-Flow Label) in the IPv6 flow label field, which is recommended to be 12 bits, and is used in the receiving network After the protocol version 6 data flow, the user flow label field of the network protocol version 6 data packet received from the legal port is modified to indicate that the data packet comes from a legal user;
还可进一步在IPv6流标签域中设置业务流标签域(S-FL,Service-FlowLabel),建议为8位,用于在接收网络协议版本6数据流之后,对从合法端口接收到的网络协议版本6数据包的业务流标签域进行修改,以区分同一个用户下的不同的业务流,或表示所述数据包所经过的不同的OLT。It is also possible to further set the service flow label field (S-FL, Service-FlowLabel) in the IPv6 flow label field, which is recommended to be 8 bits, and is used to check the network protocol received from the legal port after receiving the network protocol version 6 data flow. The service flow label field of the version 6 data packet is modified to distinguish different service flows under the same user, or to indicate different OLTs that the data packet passes through.
其中C-FL的长度和S-FL的长度可以按照运营商的需求进行自定义,只要满足C-FL的长度与S-FL的长度之和为FL的总长度20字节。(所述步骤202为可选步骤,实际情况中可以不通过步骤202)。The length of the C-FL and the length of the S-FL can be customized according to the requirements of the operator, as long as the sum of the length of the C-FL and the length of the S-FL is 20 bytes of the total length of the FL. (The
ONU还可对于从合法端口上来的IPv6用户数据,只修改FL的C-FL域,用于标识用户;OLT则修改FL的S-FL域,用于标识业务流或不同的OLT,IP边缘节点只接收带有C-FL的数据流,在一定意义上杜绝了非法端口用户。ONU can also only modify the C-FL domain of FL to identify users for IPv6 user data coming from legal ports; OLT can modify the S-FL domain of FL to identify service flows or different OLTs, IP edge nodes Only receive the data flow with C-FL, in a certain sense, put an end to illegal port users.
在本实施例中,OLT还可以将流标签进行转换,例如将用户流标签域(C-FL)统一编号,不同的用户修改为不同的值,对于同一ONU中的不同用户,相应的C-FL编号互不相同,对于不同ONU中的用户,相应的C-FL编号有可能相同,因此OLT需要对来自不同ONU的C-FL进行统一编号,防止相同编号产生的混乱。In this embodiment, the OLT can also convert the flow label, for example, the user flow label field (C-FL) is uniformly numbered, and different users are modified to different values. For different users in the same ONU, the corresponding C-FL The FL numbers are different from each other. For users in different ONUs, the corresponding C-FL numbers may be the same. Therefore, the OLT needs to uniformly number the C-FLs from different ONUs to prevent confusion caused by the same number.
如图3所示,对于本发明的又一实施例,当传输数据包的方向为下行方向时,本发明提供的IPv6到PON的QoS映射方法包括:As shown in Figure 3, for another embodiment of the present invention, when the direction of transmission data packet is the downlink direction, the QoS mapping method of IPv6 to PON provided by the present invention comprises:
步骤301,OLT对所述服务质量信息中运营商业务类型转换为用户业务类型。In
所述步骤301可以在所述步骤102之后进行,此时步骤301在OLT中进行,此时,ONU对数据包只进行透传。The
所述步骤301也可以在ONU中进行,此时OLT对数据包只进行透传(此种情况未在图中表示)。The
所述步骤301为可选步骤,实际情况中可以也可以约定用户使用统一的业务类型,此时不通过步骤301The
为了使本领域技术人员能够更清楚地理解本发明实施例所提供的技术方案,下面对所述IPv6到PON的QoS映射方法按照各种映射模型分别进行介绍。当数据流的服务质量信息基于用户地址信息和业务类型信息时,本发明提供的IPv6到PON的QoS映射模型如图4所示,(其中P表示用户/家庭网关的源或目的IPv6地址或IPv6地址前缀),可以用在VLAN(Virtual Local Area Network,虚拟局域网)N:1模式。In order to enable those skilled in the art to understand the technical solutions provided by the embodiments of the present invention more clearly, the QoS mapping methods from IPv6 to PON are introduced respectively according to various mapping models below. When the quality of service information of the data flow was based on user address information and service type information, the QoS mapping model of IPv6 to PON provided by the present invention is as shown in Figure 4, (wherein P represents the source or destination IPv6 address or IPv6 address of user/home gateway Address prefix), can be used in VLAN (Virtual Local Area Network, Virtual Local Area Network) N: 1 mode.
N:1模式用户11有3个不同传输等级(分别为TC1、TC2、TC3)的用户业务(3TC),每个用户业务的服务质量信息包括:用户地址信息(用户/家庭网关的源或目的IPv6地址或IPv6地址前缀P1)和用户业务类型信息(C-TC)。所述3个业务传输给ONU1,ONU1将所述3个业务的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,也就是将N:1模式用户11的3个传输等级的业务C-TC1、C-TC2、C-TC3分别转换成运营商业务类型P-TC1、P-TC2、P-TC3,ONU1也将用户业务服务质量信息中的业务类型由用户业务类型转为运营商业务类型,由于3个业务的用户地址信息相同(都是P1),但业务类型不同(分别为P-TC1、P-TC2、P-TC3),所以传输时要映射到三个不同的传输接口实现,即,分别映射到GPON封装方式的传输接口GEM-PORT11、GEM-PORT12、GEM-PORT13发送给OLT,经OLT透传后,以运营商业务类型P-TC1、P-TC2、P-TC3的方式发送给运营商。N:1 mode user 11 has user services (3TC) of 3 different transmission levels (TC1, TC2, TC3 respectively), and the service quality information of each user service includes: user address information (source or destination of user/home gateway) IPv6 address or IPv6 address prefix P1) and user service type information (C-TC). The three services are transmitted to ONU1, and ONU1 converts the service types of the three services from the user service type C-TC to the operator service type P-TC, that is, the three transmission levels of the N:1 mode user 11 The services C-TC1, C-TC2, and C-TC3 are converted into operator service types P-TC1, P-TC2, and P-TC3 respectively, and ONU1 also converts the service types in the user service quality information from user service types to Operator service type, since the user address information of the three services is the same (all are P1), but the service types are different (respectively P-TC1, P-TC2, P-TC3), so the transmission needs to be mapped to three different Realization of the transmission interface, that is, the transmission interfaces GEM-PORT11, GEM-PORT12, and GEM-PORT13 respectively mapped to the GPON encapsulation method are sent to the OLT. -TC3 way to send to the operator.
N:1模式用户12有2个传输等级的业务(2TC),每个用户业务的服务质量信息包括:用户地址信息(用户/家庭网关的源或目的IPv6地址或IPv6地址前缀P2)和用户业务类型信息(C-TC)。所述2个业务传输给ONU1,ONU1将所述2个业务的业务类型从C-TC1、C-TC2分别转换成P-TC1、P-TC2,ONU1也将用户业务服务质量信息中的业务类型由用户业务类型转为运营商业务类型,由于2个业务的用户地址信息相同(都是P2),但业务类型不同(分别为P-TC1、P-TC2),所以传输时要映射到两个不同的传输接口实现,即,分别映射到GPON封装方式的传输接口GEM-PORT14、GEM-PORT15发送给OLT,经OLT透传后,以运营商业务类型P-TC1、P-TC2的方式发送给运营商。N: 1 mode user 12 has 2 transmission level services (2TC), and the service quality information of each user service includes: user address information (source or destination IPv6 address of user/home gateway or IPv6 address prefix P2) and user service Type information (C-TC). The two services are transmitted to ONU1, and ONU1 converts the service types of the two services from C-TC1 and C-TC2 to P-TC1 and P-TC2 respectively, and ONU1 also converts the service types in the user service quality information From the user service type to the operator service type, since the user address information of the two services is the same (both P2), but the service types are different (respectively P-TC1, P-TC2), so the transmission needs to be mapped to two Realization of different transmission interfaces, that is, the transmission interfaces GEM-PORT14 and GEM-PORT15 respectively mapped to GPON encapsulation methods are sent to the OLT, and after being transparently transmitted by the OLT, they are sent to operator.
用户21、22的业务传输给ONU2,ONU2对所述业务进行透传,由OLT将用户21、22的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,发送给运营商,其它的处理过程与用户11、12相同。The services of users 21 and 22 are transmitted to ONU2, and ONU2 transparently transmits the services, and the OLT converts the service types of users 21 and 22 from user service type C-TC to operator service type P-TC, and sends them to the operator , other processing procedures are the same as those of users 11 and 12.
这其中,ONU1进行用户业务类型C-TC和运营商业务类型P-TC的转换,OLT对P-TC进行透明转发。Among them, the ONU1 converts the user service type C-TC and the operator service type P-TC, and the OLT transparently forwards the P-TC.
ONU2对C-TC进行透明转发,OLT进行C-TC和P-TC的转换。ONU2 transparently forwards C-TC, and OLT converts C-TC and P-TC.
ONU/OLT根据业务类型域,对每个用户的业务进行分类,根据不同IPv6用户地址/VLAN和不同IPv6业务类型将不同用户不同的业务映射到同一PON逻辑端口,PON逻辑端口可以实现用户和业务的隔离,通过PON逻辑端口可以实现对每个用户每种业务的服务质量信息管理控制。The ONU/OLT classifies the services of each user according to the service type domain, and maps different services of different users to the same PON logical port according to different IPv6 user addresses/VLANs and different IPv6 service types. The PON logical port can realize user and service The isolation of each service quality information management control for each user and each business can be realized through the PON logical port.
当数据流的服务质量信息基于业务类型信息时,本发明提供的IPv6到PON的QoS映射模型如图5所示,可以用在VLAN N:1模式。When the quality of service information of the data flow is based on the service type information, the QoS mapping model from IPv6 to PON provided by the present invention is shown in Figure 5, and can be used in the VLAN N:1 mode.
N:1模式用户11、12、13、14的服务质量信息包括:用户业务类型信息(C-TC)。其中,用户11、12的业务传输给ONU1,ONU1将业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,由于用户11的3个业务的业务类型不同(分别为P-TC1、P-TC2、P-TC3),所以传输时要分别映射到GPON封装方式的传输接口GEM-PORT11、GEM-PORT12、GEM-PORT13发送给OLT。用户12的2个业务分别转换成P-TC1、P-TC2,可以映射到GPON封装方式的传输接口GEM-PORT11、GEM-PORT12。然后由OLT进行透传,发送给运营商。The service quality information of the N:1 mode users 11, 12, 13, 14 includes: user service type information (C-TC). Among them, the services of users 11 and 12 are transmitted to ONU1, and ONU1 converts the service type from user service type C-TC to operator service type P-TC. Since the service types of the three services of user 11 are different (respectively P-TC1 . The two services of user 12 are respectively converted into P-TC1 and P-TC2, which can be mapped to transmission interfaces GEM-PORT11 and GEM-PORT12 in the GPON encapsulation mode. Then the OLT performs transparent transmission and sends it to the operator.
用户21、22的业务传输给ONU2,ONU2对所述业务进行透传,由OLT将用户21、22的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,发送给运营商,其它的处理过程与用户11、12相同。The services of users 21 and 22 are transmitted to ONU2, and ONU2 transparently transmits the services, and the OLT converts the service types of users 21 and 22 from user service type C-TC to operator service type P-TC, and sends them to the operator , other processing procedures are the same as those of users 11 and 12.
这其中,ONU1进行用户业务类型C-TC和运营商业务类型P-TC的转换,OLT对P-TC进行透明转发。Among them, the ONU1 converts the user service type C-TC and the operator service type P-TC, and the OLT transparently forwards the P-TC.
ONU2对C-TC进行透明转发,OLT进行C-TC和P-TC的转换。ONU2 transparently forwards C-TC, and OLT converts C-TC and P-TC.
ONU/OLT对IPv6业务类型进行分类,根据业务类型域将IPv6业务类型相同的数据包映射到同一PON逻辑端口,PON逻辑端口可以实现业务的隔离,通过PON逻辑端口可以实现对每种业务的服务质量信息管理控制。The ONU/OLT classifies IPv6 service types, and maps packets of the same IPv6 service type to the same PON logical port according to the service type field. The PON logical port can realize service isolation, and the service for each service can be realized through the PON logical port Quality information management control.
当数据流的服务质量信息基于用户地址信息时,本发明提供的IPv6到PON的QoS映射模型如图6所示,(其中P表示用户/家庭网关的源或目的IPv6地址或IPv6地址前缀),可以用在VLAN N:1或1:1模式。When the quality of service information of data flow is based on user address information, the QoS mapping model of IPv6 to PON provided by the present invention is as shown in Figure 6, (wherein P represents the source or destination IPv6 address or IPv6 address prefix of user/home gateway), Can be used in VLAN N:1 or 1:1 mode.
N:1模式用户11、12、13、14的服务质量信息包括:用户地址信息(用户/家庭网关的源或目的IPv6地址或IPv6地址前缀P)。其中,用户11、12的业务传输给ONU1,ONU1将业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,用户11的3个业务的用户地址信息相同,映射到传输接口GEM-PORT11发送给OLT;用户12的2个业务的用户地址信息相同,映射到传输接口GEM-PORT12发送给OLT,然后由OLT将用户11、12的业务进行透传,发送给运营商。The quality of service information of the users 11, 12, 13, 14 in the N:1 mode includes: user address information (source or destination IPv6 address or IPv6 address prefix P of the user/home gateway). Among them, the services of users 11 and 12 are transmitted to ONU1, and ONU1 converts the service type from user service type C-TC to operator service type P-TC, and the user address information of the three services of user 11 is the same, and is mapped to the transmission interface GEM -PORT11 is sent to the OLT; the user address information of the two services of user 12 is the same, and is mapped to the transmission interface GEM-PORT12 and sent to the OLT, and then the OLT transparently transmits the services of users 11 and 12 and sends them to the operator.
用户21、22的业务传输给ONU2,ONU2对所述业务进行透传,由OLT将用户21、22的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,发送给运营商,其它的处理过程与用户11、12相同。The services of users 21 and 22 are transmitted to ONU2, and ONU2 transparently transmits the services, and the OLT converts the service types of users 21 and 22 from user service type C-TC to operator service type P-TC, and sends them to the operator , other processing procedures are the same as those of users 11 and 12.
这其中,ONU1进行用户业务类型C-TC和运营商业务类型P-TC的转换,OLT对P-TC进行透明转发。Among them, the ONU1 converts the user service type C-TC and the operator service type P-TC, and the OLT transparently forwards the P-TC.
ONU2对C-TC进行透明转发,OLT进行C-TC和P-TC的转换。ONU2 transparently forwards C-TC, and OLT converts C-TC and P-TC.
ONU/OLT虽然能够区分每个用户的业务类型,但仍然根据不同IPv6用户地址/VLAN进行分类,将相同用户的数据包映射到同一PON逻辑端口,PON逻辑端口可以实现用户的隔离,通过PON逻辑端口可以实现对每个用户的服务质量信息管理控制。Although the ONU/OLT can distinguish the business type of each user, it still classifies according to different IPv6 user addresses/VLANs, and maps the data packets of the same user to the same PON logical port. The PON logical port can realize user isolation. Through the PON logic The port can realize the management and control of the quality of service information for each user.
当数据流的服务质量信息基于用户地址信息和业务类型/基于业务类型信息时,本发明提供的IPv6到PON的QoS映射模型如图7所示,(其中P表示用户/家庭网关的源或目的IPv6地址或IPv6地址前缀),可以用在VLAN1:1模式。When the quality of service information of the data stream is based on user address information and service type/based on service type information, the QoS mapping model of IPv6 to PON provided by the present invention is as shown in Figure 7, (wherein P represents the source or purpose of user/home gateway IPv6 address or IPv6 address prefix), can be used in VLAN1:1 mode.
N:1模式用户11、12、13、14的服务质量信息包括:用户地址信息(用户/家庭网关的源或目的IPv6地址或IPv6地址前缀P)和用户业务类型信息(C-TC)。其中,用户11、12的业务传输给ONU1,ONU1将业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,ONU1也将用户业务服务质量信息中的业务类型由用户业务类型转为运营商业务类型。用户11的3个业务的用户地址信息相同,但业务类型不同,分别映射到传输接口GEM-PORT11、GEM-PORT12、GEM-PORT13发送给OLT;用户12的2个业务的用户地址信息相同,但业务类型不同,分别映射到传输接口GEM-PORT14、GEM-PORT15发送给OLT,然后由OLT将用户11、12的业务进行透传,发送给运营商。The quality of service information of users 11, 12, 13, 14 in N:1 mode includes: user address information (source or destination IPv6 address or IPv6 address prefix P of user/home gateway) and user service type information (C-TC). Among them, the services of users 11 and 12 are transmitted to ONU1, and ONU1 converts the service type from user service type C-TC to operator service type P-TC, and ONU1 also converts the service type in the user service quality information from user service type to It is the service type of the operator. The user address information of the three services of user 11 is the same, but the service types are different, and they are respectively mapped to the transmission interfaces GEM-PORT11, GEM-PORT12, and GEM-PORT13 and sent to the OLT; the user address information of the two services of user 12 is the same, but Different service types are mapped to the transmission interfaces GEM-PORT14 and GEM-PORT15 and sent to the OLT, and then the OLT transparently transmits the services of users 11 and 12 and sends them to the operator.
用户21、22的业务传输给ONU2,ONU2对所述业务进行透传,由OLT将用户21、22的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,发送给运营商,其它的处理过程与用户11、12相同。The services of users 21 and 22 are transmitted to ONU2, and ONU2 transparently transmits the services, and the OLT converts the service types of users 21 and 22 from user service type C-TC to operator service type P-TC, and sends them to the operator , other processing procedures are the same as those of users 11 and 12.
这其中,ONU1进行用户业务类型C-TC和运营商业务类型P-TC的转换,OLT对P-TC进行透明转发。Among them, the ONU1 converts the user service type C-TC and the operator service type P-TC, and the OLT transparently forwards the P-TC.
ONU2对C-TC进行透明转发,OLT进行C-TC和P-TC的转换。ONU2 transparently forwards C-TC, and OLT converts C-TC and P-TC.
ONU/OLT对每个用户的业务进行分类,根据不同用户不同IPv6业务类型/不同IPv6业务类型进行分类,将IPv6用户地址/VLAN相同并且IPv6业务类型相同/IPv6业务类型相同的数据包映射到同一PON逻辑端口,PON逻辑端口可以实现用户和业务的隔离,通过PON逻辑端口可以实现对每个用户每种业务/每种业务的服务质量信息管理控制。The ONU/OLT classifies the services of each user, classifies according to different IPv6 service types/different IPv6 service types of different users, and maps the data packets with the same IPv6 user address/VLAN and the same IPv6 service type/IPv6 service type to the same PON logical port, the PON logical port can realize the isolation of users and services, and can realize the management and control of service quality information for each service/service of each user through the PON logical port.
当数据流的服务质量信息基于用户地址信息和流标签信息时,本发明提供的IPv6到PON的QoS映射模型如图8所示,(其中P表示用户/家庭网关的源或目的IPv6地址或IPv6地址前缀),可以用在VLAN1:1模式。When the quality of service information of the data flow is based on user address information and flow label information, the QoS mapping model of IPv6 to PON provided by the present invention is as shown in Figure 8, (wherein P represents the source or destination IPv6 address or IPv6 address of user/home gateway address prefix), can be used in VLAN1:1 mode.
N:1模式用户11、12、13、14的服务质量信息包括:用户地址信息(用户/家庭网关的源或目的IPv6地址或IPv6地址前缀P)和流标签信息(FL)。其中,用户11、12的业务传输给ONU1,ONU1将业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,ONU1也将用户业务服务质量信息中的业务类型由用户业务类型转为运营商业务类型。用户11的3个业务的用户地址信息相同,但流标签不同,分别映射到传输接口GEM-PORT11、GEM-PORT12、GEM-PORT13发送给OLT;用户12的2个业务的用户地址信息相同,但流标签不同,分别映射到传输接口GEM-PORT14、GEM-PORT15发送给OLT,然后由OLT将用户11、12的业务进行透传,发送给运营商。The QoS information of users 11, 12, 13, and 14 in N:1 mode includes: user address information (source or destination IPv6 address or IPv6 address prefix P of the user/home gateway) and flow label information (FL). Among them, the services of users 11 and 12 are transmitted to ONU1, and ONU1 converts the service type from user service type C-TC to operator service type P-TC, and ONU1 also converts the service type in the user service quality information from user service type to It is the service type of the operator. The user address information of the three services of user 11 is the same, but the flow labels are different, and they are respectively mapped to the transmission interfaces GEM-PORT11, GEM-PORT12, and GEM-PORT13 and sent to the OLT; the user address information of the two services of user 12 is the same, but The flow labels are different, and are mapped to the transmission interfaces GEM-PORT14 and GEM-PORT15 respectively and sent to the OLT, and then the OLT transparently transmits the services of users 11 and 12 and sends them to the operator.
用户21、22的业务传输给ONU2,ONU2对所述业务进行透传,由OLT将用户21、22的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,发送给运营商,其它的处理过程与用户11、12相同。The services of users 21 and 22 are transmitted to ONU2, and ONU2 transparently transmits the services, and the OLT converts the service types of users 21 and 22 from user service type C-TC to operator service type P-TC, and sends them to the operator , other processing procedures are the same as those of users 11 and 12.
这其中,ONU1进行用户业务类型C-TC和运营商业务类型P-TC的转换,OLT对P-TC进行透明转发。Among them, the ONU1 converts the user service type C-TC and the operator service type P-TC, and the OLT transparently forwards the P-TC.
ONU2对C-TC进行透明转发,OLT进行C-TC和P-TC的转换。ONU2 transparently forwards C-TC, and OLT converts C-TC and P-TC.
ONU/OLT对每个用户的业务流进行分类,根据不同用户的不同IPv6流标签信息进行分类,将IPv6用户地址相同并且IPv6流标签信息相同的数据包映射到同一PON逻辑端口,PON逻辑端口可以实现用户和业务流的隔离,通过PON逻辑端口可以实现对每个用户每种业务流的服务质量信息管理控制。The ONU/OLT classifies the service flow of each user, classifies according to the different IPv6 flow label information of different users, maps the data packets with the same IPv6 user address and the same IPv6 flow label information to the same PON logical port, and the PON logical port can Realize the isolation of users and service flows, and realize the management and control of service quality information for each service flow of each user through the PON logic port.
当数据流的服务质量信息基于用户流标签信息时,本发明提供的IPv6到PON的QoS映射模型如图9所示,可以用在VLAN1:1模式。When the service quality information of the data flow is based on the user flow label information, the QoS mapping model from IPv6 to PON provided by the present invention is shown in FIG. 9 and can be used in VLAN1:1 mode.
N:1模式用户11、12、13、14的服务质量信息包括:用户流标签信息(C-FL)。其中,用户11、12的业务传输给ONU1,ONU1将业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,用户11的3个业务的用户流标签信息相同,映射到传输接口GEM-PORT11发送给OLT;用户12的2个业务的用户流标签信息相同,映射到传输接口GEM-PORT12发送给OLT,然后由OLT将用户11、12的业务进行透传,发送给运营商。The quality of service information of users 11, 12, 13, and 14 in N:1 mode includes: user flow label information (C-FL). Among them, the services of users 11 and 12 are transmitted to ONU1, and ONU1 converts the service type from user service type C-TC to operator service type P-TC, and the user flow label information of the three services of user 11 is the same, and is mapped to the transmission interface GEM-PORT11 sends it to the OLT; the user flow label information of the two services of user 12 is the same, and is mapped to the transmission interface GEM-PORT12 and sent to the OLT, and then the OLT transparently transmits the services of users 11 and 12 and sends them to the operator.
用户21、22的业务传输给ONU2,ONU2对所述业务进行透传,由OLT将用户21、22的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,发送给运营商,其它的处理过程与用户11、12相同。The services of users 21 and 22 are transmitted to ONU2, and ONU2 transparently transmits the services, and the OLT converts the service types of users 21 and 22 from user service type C-TC to operator service type P-TC, and sends them to the operator , other processing procedures are the same as those of users 11 and 12.
这其中,ONU1透传已有的C-FL和S-FL,或者将FL的值修改为由C-FL和S-FL构成的值,OLT对C-FL和S-FL进行透明转发。Among them, ONU1 transparently transmits the existing C-FL and S-FL, or modifies the value of FL to a value composed of C-FL and S-FL, and the OLT transparently forwards C-FL and S-FL.
ONU2透传已有的C-FL和S-FL,或者将FL的值修改为由C-FL和S-FL构成的值,OLT将C-FL值修改为另外一个值,以避免来自不同的ONU的C-FL值可能不统一而存在重复;其中C-FL值根据PON逻辑端口等信息对来自不同的ONU的C-FL统一编号。ONU2 transparently transmits the existing C-FL and S-FL, or modifies the value of FL to a value composed of C-FL and S-FL, and the OLT modifies the value of C-FL to another value to avoid The C-FL values of ONUs may not be uniform and may be repeated; the C-FL values are uniformly numbered from different ONUs according to information such as PON logical ports.
ONU/OLT对每个用户的业务进行分类,根据不同IPv6流标签域中C-FL将IPv6流标签域中相同用户的不同业务数据包映射到同一PON逻辑端口,PON逻辑端口可以实现用户的隔离,通过PON逻辑端口可以实现对每个用户的服务质量信息管理控制。The ONU/OLT classifies the business of each user, and maps different service data packets of the same user in the IPv6 flow label domain to the same PON logical port according to the C-FL in different IPv6 flow label domains, and the PON logical port can realize user isolation , through the PON logic port, the management and control of the quality of service information of each user can be realized.
当数据流的服务质量信息基于用户流标签信息时,本发明提供的IPv6到PON的QoS映射模型还可以如图10所示,可以用在VLAN1:1模式。When the QoS information of the data flow is based on the user flow label information, the QoS mapping model from IPv6 to PON provided by the present invention can also be used in VLAN1:1 mode as shown in FIG. 10 .
N:1模式用户11、12、13、14的服务质量信息包括:用户流标签信息(C-FL)。其中,用户11、12的业务传输给ONU1,ONU1将业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,用户11的3个业务的用户流标签信息相同,映射到传输接口GEM-PORT11发送给OLT;用户12的2个业务的用户流标签信息相同,映射到传输接口GEM-PORT12发送给OLT,然后由OLT将用户11、12的业务进行透传,发送给运营商。The quality of service information of users 11, 12, 13, and 14 in N:1 mode includes: user flow label information (C-FL). Among them, the services of users 11 and 12 are transmitted to ONU1, and ONU1 converts the service type from user service type C-TC to operator service type P-TC, and the user flow label information of the three services of user 11 is the same, and is mapped to the transmission interface GEM-PORT11 sends it to the OLT; the user flow label information of the two services of user 12 is the same, and is mapped to the transmission interface GEM-PORT12 and sent to the OLT, and then the OLT transparently transmits the services of users 11 and 12 and sends them to the operator.
用户21、22的业务传输给ONU2,ONU2对所述业务进行透传,由OLT将用户21、22的业务类型从用户业务类型C-TC转换为运营商业务类型P-TC,发送给运营商,其它的处理过程与用户11、12相同。The services of users 21 and 22 are transmitted to ONU2, and ONU2 transparently transmits the services, and the OLT converts the service types of users 21 and 22 from user service type C-TC to operator service type P-TC, and sends them to the operator , other processing procedures are the same as those of users 11 and 12.
这其中,ONU1透传已有的C-FL或者修改FL的C-FL域,OLT修改FL的S-FL域。Among them, ONU1 transparently transmits the existing C-FL or modifies the C-FL domain of FL, and the OLT modifies the S-FL domain of FL.
ONU2透传已有的C-FL或者修改FL的C-FL域,OLT修改FL的S-FL域,并将C-FL值修改为另外一个值,以避免来自不同的ONU的C-FL值可能不统一而存在重复;其中C-FL值根据PON逻辑端口等信息对来自不同的ONU的C-FL统一编号。ONU2 transparently transmits the existing C-FL or modifies the C-FL domain of FL, OLT modifies the S-FL domain of FL, and modifies the C-FL value to another value to avoid C-FL values from different ONUs There may be duplication without uniformity; among them, the C-FL value uniformly numbers the C-FL from different ONUs according to the PON logical port and other information.
ONU/OLT根据不同IPv6流标签域中C-FL进行分类,将IPv6流标签域中相同C-FL的数据包映射到同一PON逻辑端口,PON逻辑端口可以实现用户的隔离,通过PON逻辑端口可以实现对每个用户的服务质量信息管理控制。The ONU/OLT classifies according to the C-FL in different IPv6 flow label domains, and maps the data packets of the same C-FL in the IPv6 flow label domain to the same PON logical port. The PON logical port can realize user isolation, and the PON logical port can Realize the management and control of service quality information for each user.
在本实施例中,当传输方向为上行方向时,OLT还可以对流标签进行转换,修改S-FL域。In this embodiment, when the transmission direction is the uplink direction, the OLT can also convert the flow label and modify the S-FL field.
进一步,对于由ONU到OLT的上行方向,GEM port还需按以下几种方式中的一种映射到T-CONT中:Further, for the upstream direction from ONU to OLT, the GEM port needs to be mapped to T-CONT in one of the following ways:
不同的GEM-PORT,按1:1的关系映射进不同的T-CONT;Different GEM-PORTs are mapped into different T-CONTs according to the relationship of 1:1;
不同的GEM-PORT,按N:1的关系映射进相同的T-CONT;Different GEM-PORTs are mapped into the same T-CONT according to the relationship of N:1;
ONU根据TC将GEM PORT映射入不同的T-CONT,即业务类型相同的GEM PORT映射进相同的T-CONT。ONU maps GEM PORT to different T-CONT according to TC, that is, GEM PORT with the same service type is mapped to the same T-CONT.
本发明实施例提供的IPv6到PON的映射方法,通过对数据包中的服务质量信息分类并分别映射到不同逻辑端口,将IPv6数据包通过一次服务质量映射到PON中,解决了现有技术需要通过两次服务质量映射才能实现PON对IPv6数据包的承载,实现复杂且处理成本高的问题。并且当传输数据包的方向为上行方向时,由于只对从合法端口接收到的数据进行业务类型转换,因此也杜绝了非法用户的接入。The IPv6-to-PON mapping method provided by the embodiment of the present invention solves the needs of the prior art by classifying the quality of service information in the data packets and mapping them to different logical ports, and mapping the IPv6 data packets to the PON through a quality of service once. Only through two quality of service mappings can PON bear the weight of IPv6 data packets, which is a problem of complexity and high processing cost. And when the direction of the transmission data packet is the uplink direction, since only the data received from the legal port is converted into the service type, the access of illegal users is also prevented.
如图11所示,本发明光网络单元的实施例,包括:As shown in Figure 11, the embodiment of the optical network unit of the present invention includes:
接收/发送模块1101:用于接收/发送网络协议版本6数据流,该数据流包括至少一个数据包,其中数据包包括服务质量信息;Receiving/sending module 1101: used to receive/send network protocol version 6 data flow, the data flow includes at least one data packet, wherein the data packet includes service quality information;
数据包分类模块1102:用于根据网络协议版本6服务质量信息将接收/发送模块1接收到的数据包进行分类;Data packet classification module 1102: used to classify the data packets received by the receiving/sending module 1 according to the network protocol version 6 service quality information;
映射模块1103:用于根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口;Mapping module 1103: used to map data packets to PON logical ports that can meet quality of service requirements according to the quality of service information;
业务类型转换模块1104:用于将从合法端口接收到数据包的网络协议版本6用户业务类型转换为运营商业务类型,或者将运营商业务类型转换为用户业务类型;Service type conversion module 1104: used to convert the network protocol version 6 user service type received from the legal port to the operator service type, or convert the operator service type to the user service type;
流标签配置模块1105:用于在接收网络协议版本6数据流之前,配置在网络协议版本6流标签域中设置用户流标签域和/或业务流标签域及其相应的值。Flow label configuration module 1105: configured to set the user flow label field and/or service flow label field and their corresponding values in the network protocol version 6 flow label field before receiving the network protocol version 6 data flow.
如图12所示,本发明光路终结点的实施例,包括:As shown in Figure 12, the embodiment of the optical path termination point of the present invention includes:
接收/发送模块1201:用于接收/发送网络协议版本6数据流,该数据流包括至少一个数据包,其中数据包包括服务质量信息;Receiving/sending module 1201: used to receive/send network protocol version 6 data flow, the data flow includes at least one data packet, wherein the data packet includes service quality information;
数据包分类模块1202:用于根据网络协议版本6服务质量信息将接收/发送模块1接收到的数据包进行分类;Data packet classification module 1202: used to classify the data packets received by the receiving/sending module 1 according to the network protocol version 6 service quality information;
映射模块1203:用于根据所述服务质量信息将数据包映射到能够满足服务质量要求的无源光网络逻辑端口;Mapping module 1203: used to map data packets to PON logical ports that can meet quality of service requirements according to the quality of service information;
业务类型转换模块1204:用于将从合法端口接收到数据包的网络协议版本6用户业务类型转换为运营商业务类型,或者将运营商业务类型转换为用户业务类型;Service type conversion module 1204: used to convert the network protocol version 6 user service type received from the legal port to the operator service type, or convert the operator service type to the user service type;
流标签域修改模块1206:用于将接收模块从合法端口接收到的数据包的网络协议版本6流标签域的用户流标签域和/或业务流标签域进行修改。Flow label field modifying module 1206: for modifying the user flow label field and/or the service flow label field of the network protocol version 6 flow label field of the data packet received by the receiving module from the legal port.
本发明实施例提供的光网络单元和光路终结点,通过对数据包中的服务质量信息分类并分别映射到不同逻辑端口,将IPv6数据包通过一次服务质量映射到PON中,解决了现有技术需要通过两次服务质量映射才能实现PON对IPv6数据包的承载,实现复杂且处理成本高的问题。并且当传输数据包的方向为上行方向时,由于只对从合法端口接收到的IPv6数据包进行业务类型域的转换,因此也杜绝了非法用户的接入。The optical network unit and the optical path termination point provided by the embodiment of the present invention map the IPv6 data packet to the PON through one quality of service by classifying the quality of service information in the data packet and mapping them to different logical ports respectively, which solves the problem of the prior art Two QoS mappings are required to realize PON’s carrying of IPv6 data packets, which is complicated and expensive to deal with. And when the direction of the transmission data packet is the uplink direction, since only the IPv6 data packet received from the legal port is converted into the service type field, the access of illegal users is also prevented.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一计算机可读存储介质中,如ROM/RAM、磁碟或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, etc. disc or disc, etc.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (8)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810167045A CN101719863B (en) | 2008-10-09 | 2008-10-09 | Method, device and system for mapping service quality from IPv6 to PON |
| PCT/CN2009/074205 WO2010040310A1 (en) | 2008-10-09 | 2009-09-24 | QoS MAPPING METHOD AND SYSTEM FROM IPv6 TO PON |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810167045A CN101719863B (en) | 2008-10-09 | 2008-10-09 | Method, device and system for mapping service quality from IPv6 to PON |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101719863A CN101719863A (en) | 2010-06-02 |
| CN101719863B true CN101719863B (en) | 2012-09-05 |
Family
ID=42100215
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200810167045A Expired - Fee Related CN101719863B (en) | 2008-10-09 | 2008-10-09 | Method, device and system for mapping service quality from IPv6 to PON |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101719863B (en) |
| WO (1) | WO2010040310A1 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101048009A (en) * | 2006-03-31 | 2007-10-03 | 株式会社日立制作所 | Method and system for controlling IP packet service quality in passive optical network system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101047454B (en) * | 2006-05-11 | 2010-08-04 | 华为技术有限公司 | A Traffic Mapping Method in Passive Optical Network System |
-
2008
- 2008-10-09 CN CN200810167045A patent/CN101719863B/en not_active Expired - Fee Related
-
2009
- 2009-09-24 WO PCT/CN2009/074205 patent/WO2010040310A1/en not_active Ceased
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101048009A (en) * | 2006-03-31 | 2007-10-03 | 株式会社日立制作所 | Method and system for controlling IP packet service quality in passive optical network system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101719863A (en) | 2010-06-02 |
| WO2010040310A1 (en) | 2010-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9455785B2 (en) | Unified network management of hybrid fiber coaxial (HFC) network | |
| TWI555355B (en) | Traffic switching in hybrid fiber coaxial (hfc) network | |
| JP3742406B2 (en) | Ethernet (registered trademark) passive optical network system | |
| CN101005445B (en) | Method for mapping service flow to service transmission channel and optical network terminal | |
| CN101729372B (en) | Method and system for transmission of message in optical communication system and optical line terminal | |
| US7873039B2 (en) | Enhanced optical line terminal controller | |
| CN101867523B (en) | PON system middle width strip business collocation method and device | |
| ES2454965T3 (en) | A method to associate the service flow to the service transmission channel, its system and its optical network terminator | |
| CN101212821A (en) | Resourceless light network signal processing device, signal processing method and GTC frame | |
| US20090208204A1 (en) | Passive optical network system | |
| EP2326059B1 (en) | Mapping method, apparatus and system for data transmission | |
| CN101317377A (en) | Device, method and system for configuring Ethernet services in passive optical network | |
| WO2019237521A1 (en) | Access network olt slicing method and system employing onu granularity | |
| JP4794630B2 (en) | Method for transmitting data packets with different priorities over a passive optical network | |
| WO2009013215A2 (en) | Method for addressing ethernet streams with a structured gpon gem port id | |
| WO2009015608A1 (en) | A method, device and system for bearing ip message in passive optical network | |
| WO2016101525A1 (en) | Method, apparatus and system for managing optical network unit dpu device | |
| CN101047450B (en) | Method for sending zero configuration service to optical fibre access terminal equipment | |
| CN101453665B (en) | Connection switching method, apparatus and system for passive optical network | |
| CN101257487B (en) | Method for mapping service stream onto service transmission channel as well as optical network terminal | |
| CN101719863B (en) | Method, device and system for mapping service quality from IPv6 to PON | |
| CN101895796B (en) | Method and system for realizing multicasting in GPON network, and optical network unit | |
| HK1169762A (en) | Method and system for unified network management on fiber optics coaxial hybrid network | |
| HK1169761A (en) | A coaxial cable media switch and method for traffic switching |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120905 Termination date: 20201009 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |