CN105847105A - Method for implementing discrimination on service flows of subnet - Google Patents

Method for implementing discrimination on service flows of subnet Download PDF

Info

Publication number
CN105847105A
CN105847105A CN201610055073.XA CN201610055073A CN105847105A CN 105847105 A CN105847105 A CN 105847105A CN 201610055073 A CN201610055073 A CN 201610055073A CN 105847105 A CN105847105 A CN 105847105A
Authority
CN
China
Prior art keywords
chip
vlan tag
downlink data
data stream
tag
Prior art date
Application number
CN201610055073.XA
Other languages
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 鼎点视讯科技有限公司 filed Critical 鼎点视讯科技有限公司
Priority to CN201610055073.XA priority Critical patent/CN105847105A/en
Publication of CN105847105A publication Critical patent/CN105847105A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. local area networks [LAN], wide area networks [WAN]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/4666Operational details on the addition or the stripping of a tag in a frame, e.g. at a provider edge node

Abstract

The embodiment of the invention discloses a method for implementing discrimination on service flows of a subnet, and is applied to the technical field of communications. According to the invention, the method can comprises the steps that a first chip receives downstream data streams and judges types of the downstream data streams; the first chip marks different types of downstream data streams; the first chip sends the downstream data streams with tags to a second chip; and the second chip receives the downstream data streams and carries out preset program processing according to the tags. The method provided by the invention implements symmetrical transmission of the data streams on the upstream and on the downstream, and implements stripping on an outer layer vlan (Virtual Local Area Network) tag on the basis of the IP (Internet Protocol) subnet.

Description

一种子网业务流区分的实现方法 Traffic flow to distinguish one kind of sub-implemented method

技术领域 FIELD

[0001]本发明涉及通信领域,尤其涉及一种子网业务流区分的实现方法。 [0001] The present invention relates to communication field, and particularly relates to a method for implementing traffic flow to distinguish the subnet.

背景技术 Background technique

[0002] 现有技术中,在P0N(Passive Optical Network,无源光纤网络)中使用的OLT(Optical Line Terminal,光线路终端)组网方案中,VLAN(Virtual Local Area Network,虚拟局域网)的使用相当普遍。 [0002] In the prior art, OLT used in P0N (Passive Optical Network, passive optical network) (Optical Line Terminal, OLT) networking solution, VLAN (Virtual Local Area Network, VLAN) to be used quite common. VLAN的配置方法如下:上行流在PON端口对应的交换端口根据网段IP打上分配的VLAN,下行流在PON端口对应的交换端口上剥去VLAN,这种方法在目前的组网方式中并没有出现大的问题,能满足目前大部分组网需求。 The VLAN configuration is as follows: upstream PON port corresponding switch port marked according to the assigned IP network segment VLAN, VLAN on downstream stripped PON port corresponding switch ports, this method is not the current networking and major problems, to meet the most current networking requirements.

[0003]但是,当前VLAN技术的实现方法,在某些情况下也不能满足需求,例如,当运营商由于某些原因,需要在同一个PON端口的同一VLAN内区分子网来操作报文的VLAN标记,目前的做法就不能满足需求,需要进行改进。 [0003] However, the current implementation of VLAN technology, and in some cases can not meet the demand, for example, when the operator for some reason, it is necessary to distinguish between subnets within the same PON port to operate the same VLAN packets VLAN tagging, current practices can not meet the demand, we need to be improved.

[0004] 所以针对现有技术中基于单独的交换实现子网VLAN的上行标签添加和下行标签删除,由于交换芯片的限制,不能在OLT上单独依靠使用交换芯片完成基于子网IP的下行VLAN删除,而只能基于PON端口来实现的问题,需要一种子网业务流区分的实现方法。 [0004] is achieved for the prior art on an individual subnet exchange VLAN tag added upstream and downstream labels are deleted due to the limitation of the switching chip, the chip can not rely on the use of exchange done separately based on the OLT delete downlink VLAN IP subnet , but only on the issue PON ports to achieve, we need to implement a method to distinguish between the traffic flow subnet.

发明内容 SUMMARY

[0005]本发明的目的在于解决现有技术中存在的基于单独的交换实现子网VLAN的上行标签添加和下行标签删除,由于交换芯片的限制,不能在OLT上单独依靠使用交换芯片完成基于子网IP的下行VLAN删除,而只能基于PON端口来实现的问题,本发明提供了一种子网业务流区分的实现方法。 [0005] The object of the present invention is to solve the prior art to achieve individual exchange sub-VLAN tag added upstream and downstream labels are deleted, since the switching limitations of the device, can not rely on the use of a single switch chip based on a sub completed based on the OLT deleting VLAN IP network downlink, but only based on the problem to implement the PON port, the present invention provides a method for implementing a traffic flow to distinguish the subnet.

[0006]本发明提供的一种子网业务流区分的实现方法,其中,所述方法包括: [0006] The present invention provides a method for implementing a sub-network traffic flow to distinguish, wherein said method comprises:

[0007]第一芯片接收下行数据流并判断所述下行数据流类型; [0007] The first chip receives downlink data stream and determines the type of the downlink data stream;

[0008]所述第一芯片对不同类型所述下行数据流进行标记; [0008] The first chip is a different type of marking the downlink data stream;

[0009]所述第一芯片将带有标记的所述下行数据流发送到第二芯片; [0009] The chip with the first tag the downlink data stream to a second chip;

[0010]所述第二芯片接收所述下行数据流并根据所述标记作出预先设定的程序处理。 The [0010] second chip receives the downlink data stream to a preset program and processing according to the flag.

[0011]优选的,所述下行数据流的类型包括需要剥除外层虚拟局域网标签vlantag和不需要剥除外层虚拟局域网标签vlan tag ο [0011] Preferably, said downlink data stream types include the need to remove the outer VLAN tag vlantag and need not remove the outer VLAN tag vlan tag ο

[0012]优选的,所述下行数据流的标记包括剥除外层虚拟局域网标签vlan tag和不剥除外层虚拟局域网标签vlan tag ο [0012] Preferably, said downlink data stream comprising a marker to remove the outer VLAN tag vlan tag and do not remove the outer VLAN tag vlan tag ο

[0013]优选的,所述剥除外层虚拟局域网标签vlan tag的标记为特殊标记。 [0013] Preferably, the outer VLAN tag stripping vlan tag is marked as special tag.

[0014]优选的,所述特殊标记的标记规则在初始化时或者执行配置时写入所述第一芯片。 [0014] Preferably, the labeled specific rules written marks when the first chip to perform the configuration or initialization.

[0015]优选的,若所述第二芯片接收的所述下行数据流的标记为剥除外层虚拟局域网标签vlan tag,则所述预先设定的程序处理为所述第二芯片对所述下行数据流进行外层虚拟局域网标签vlan tag剥除处理。 [0015] Preferably, if the second marker receives the downlink data chip stream to remove the outer VLAN tag vlan tag, then the pre-set program processing of the second chip is the downlink data streams outer VLAN tag vlan tag stripping process.

[0016]优选的,若所述第二芯片接收的所述下行数据流的标记为不剥除外层虚拟局域网标签vlan tag,则所述预先设定的程序处理为所述第二芯片对所述下行数据流不进行处理。 [0016] Preferably, if the chip receives a second downlink tag data stream as not to remove the outer VLAN tag vlan tag, then the pre-set program processing of the second chip to the the downlink data stream is not processed.

[0017]从以上技术方案可以看出,本发明具有以下优点: [0017] As can be seen from the above technical solutions, the present invention has the following advantages:

[0018]本发明实施例中,针对现有技术中存在的基于单独的交换实现子网VLAN的上行标签添加和下行标签删除,由于交换芯片的限制,不能在OLT上单独依靠使用交换芯片完成基于子网IP的下行VLAN删除,而只能基于PON端口来实现的问题,本发明提供了一种子网业务流区分的实现方法。 [0018] Example embodiments of the present invention, for the prior art to achieve individual exchange sub-VLAN tag added upstream and downstream labels are deleted due to the limitation of the switching chip, the chip can not rely on the use of the exchange is completed based on the individual based on the OLT downlink VLAN IP subnet deleted, but only based on the problem to implement the PON port, the present invention provides a method for implementing a traffic flow to distinguish the subnet. 本发明通过使用两颗芯片进行配合,使得下行数据流在到达芯片时通过判断下行数据流的标记来决定是否需要剥除外层虚拟局域网标签vlan tag,避免了在不需要剥除外层虚拟局域网标签vlan tag时而误将下行数据流的外层虚拟局域网标签vlantag剥除的现象发生。 The present invention, by using two chips were blended such that the downstream data flow to determine the need to remove the outer VLAN tag by the tag Tag vlan determining the downlink data flow on the arrival chip avoided without the need to remove the outer virtual LAN tag vlan tag sometimes mistakenly outer VLAN tag downstream data flow vlantag stripping phenomenon. 通过本发明提供的实现方法实现了数据流在上行和下行的对称传输,实现了基于IP子网剥除外层虚拟局域网标签vlan tag ο Implementation method provided by the present invention achieves a data flow in an uplink and downlink symmetric transmission, we realized to remove the outer IP subnet virtual local area network tag vlan tag ο

附图说明 BRIEF DESCRIPTION

[0019]图1为本发明实施例提供的一种子网业务流区分的实现方法流程图; [0019] FIG. 1 is a flowchart implemented method of distinguishing subnet traffic flow according to an embodiment of the present invention;

[0020]图2为本发明实施例提供的一种子网业务流区分的实现方法过程图。 [0020] FIG. 2 to distinguish one kind of sub-network traffic flow implementation method provided in embodiments of the present invention the process of FIG.

具体实施方式 Detailed ways

[0021]本发明实施例1提供了一种子网业务流区分的实现方法,能够解决现有技术中存在的基于单独的交换实现子网VLAN的上行标签添加和下行标签删除,由于交换芯片的限制,不能在OLT上单独依靠使用交换芯片完成基于子网IP的下行VLAN删除,而只能基于PON端口来实现的问题。 Example [0021] The present invention provides a method for implementing a traffic flow to distinguish between subnets can be solved in the prior art to achieve the exchange of individual labels added upstream and downstream labels are deleted VLAN subnets due to the limited switch chip based on You can not rely on the use of exchange-based chip to complete the removal of the downlink IP subnet VLAN separately on OLT, and the problem can only be based on PON ports to achieve.

[0022]为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。 [0022] In order to make those skilled in the art a better understanding of the invention, in conjunction with the following drawings of the present invention embodiments, the technical solutions of the embodiments of the present invention will be clearly and completely described, obviously, the described Example embodiments are merely part of embodiments of the present invention rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without creative efforts shall be made available, should fall within the scope of the present invention.

[0023]请参阅图1,为本发明提供的一种子网业务流区分的实现方法实施例1的流程图。 [0023] Referring to FIG. 1, a method for implementing a traffic flow to distinguish the subnet is a flowchart of Embodiment 1 of the present invention. 可以理解的是,本申请所述子网业务流区分的实现方法是基于芯片进行的,本实施例具体过程描述如下: It will be appreciated that the present application to distinguish the sub-network traffic flow implementation method is based on the chip, the present embodiment specifically described as follows:

[0024] SlOl、第一芯片接收下行数据流并判断所述下行数据流类型; [0024] SlOl, the first chip receives downlink data stream and determines the type of the downlink data stream;

[0025]具体的,在下行数据流到达第一芯片时,所述第一芯片接收到下行数据流后判断所述下行数据流的数据流类型。 After [0025] Specifically, when the downlink data stream to the first chip, the first chip is received downlink data flow determining data stream type of the downlink data stream.

[0026] S102、所述第一芯片对不同类型所述下行数据流进行标记; [0026] S102, the first chip of the downlink data stream to different types of markers;

[0027]具体的,所述第一芯片对所述下行数据流判断出类型后,根据所述下行数据流的类型进行标记,以便后面需要时进行区分。 [0027] Specifically, the first chip after it is determined that the downlink data stream type, labeled according to the type of the downlink data stream, in order to distinguish when needed later.

[0028] S103、所述第一芯片将带有标记的所述下行数据流发送到第二芯片; [0028] S103, the first chip with the downlink data stream to mark the second chip;

[0029]具体的,所述第一芯片对所述下行数据流按类型标记完成后,将所述下行数据流传输到所述第二芯片。 [0029] Specifically, the first chip of the downlink data stream by type flag is complete, the downlink data stream to said second chip.

[0030] S104、所述第二芯片接收所述下行数据流并根据所述标记作出预先设定的程序处理。 [0030] S104, the chip receiving said second downlink data stream to a preset program and processing according to the flag.

[0031]具体的,所述第二芯片接收到所述下行数据流后,根据所述标记作出相应处理,这些程序处理是已经预先设定好的处理过程。 After [0031] Specifically, the chip receiving said second downlink data stream, make corresponding processing according to the tag, these procedures are already preset treatment process.

[0032]本实施例中,通过使用两颗芯片进行配合,使得下行数据流在到达芯片时通过判断下行数据流的标记来决定是否需要剥除外层虚拟局域网标签vlan tag,避免了在不需要剥除外层虚拟局域网标签vlan tag时而误将下行数据流的外层虚拟局域网标签vlan tag剥除的现象发生。 [0032] In this embodiment, by using two chips were blended such that the downstream data flow to determine the need to remove the outer VLAN tag vlan tag chip on the arrival tag by determining the downlink data stream, without the need to avoid stripping except layer VLAN tag vlan tag sometimes erroneously downlink traffic outer VLAN tag vlan tag stripping phenomenon. 通过本发明提供的实现方法实现了数据流在上行和下行的对称传输,实现了基于IP子网剥除外层虚拟局域网标签vlan tag ο Implementation method provided by the present invention achieves a data flow in an uplink and downlink symmetric transmission, we realized to remove the outer IP subnet virtual local area network tag vlan tag ο

[0033] 在实施例1的基础上,为了进一步实现子网业务流的区分,本发明还提供了子网业务流区分的实现方法实施例2,具体可以包括如下内容: [0033] On the basis of Example 1, in order to achieve further differentiate subnet traffic stream, the present invention also provides a method for implementing a traffic flow to distinguish between sub Example 2, it may specifically include the following:

[0034]优选的,在实施例1的基础上,所述第一芯片接收下行数据流后判断所述下行数据流的类型,其中所述下行数据流的类型可以包括需要剥除外层虚拟局域网标签vlan tag和不需要剥除外层虚拟局域网标签vlan tag。 [0034] Preferably, in the embodiment 1 on the basis of the first chip receives the downlink data stream determines the type of the downlink data stream, wherein the downlink data stream type may include the need to remove the outer VLAN tag vlan tag and do not need to remove the outer vLAN tag vlan tag. 对于需要剥除外层虚拟局域网标签vlan tag的下行数据流,在第二芯片接收到后会根据标记将所述下行数据流的外层虚拟局域网标签vlan tag进行剥除。 The need to remove the outer downlink data stream of virtual local area network tag vlan tag, the second chip may be stripped according to the marking data stream of downlink outer VLAN tag is received after the vlan tag. 而对于不需要剥除外层虚拟局域网标签vlan tag的下行数据流,在所述第二芯片接收到后,则不做任何处理。 For downlink data does not need to remove the outer flow virtual local area network tag vlan tag after receiving the second chip, does nothing.

[0035]优选的,根据所述下行数据流的类型包括需要剥除外层虚拟局域网标签vlan tag和不需要剥除外层虚拟局域网标签vlan tag,则相应的所述下行数据流的标记可以包括剥除外层虚拟局域网标签vlan tag和不剥除外层虚拟局域网标签vlan tag。 [0035] Preferably, according to the type of the downlink data stream including the need to remove the outer VLAN tag vlan tag and do not need to remove the outer VLAN tag vlan tag, the corresponding tag of the downlink data stream may comprise Stripping the layer vLAN tag vlan tag and do not remove the outer vLAN tag vlan tag.

[0036]优选的,所述剥除外层虚拟局域网标签vlan tag的标记一般为特殊标记,这样便于区分需要剥除外层虚拟局域网标签vlan tag的下行数据流。 [0036] Preferably, the outer VLAN tag stripping vlan tag is generally labeled specific markers, it is easy to distinguish between the need to remove the outer downlink data stream virtual local area network tag of vlan tag.

[0037]优选的,所述特殊标记的标记规则在初始化时或者执行配置时写入所述第一芯片,即在最初芯片初始化时,就将如何对需要剥除外层虚拟局域网标签vlan tag的下行数据流进行标记这一标记规则写入到芯片中。 [0037] Preferably, the labeled specific rules tag writes the first chip when performing initialization or configuration, i.e. when the first chip initialization, how will the virtual local area network tag vlan tag downstream of the need to remove the outer this data stream flag marking rules written into the chip.

[0038]优选的,若所述第二芯片接收的所述下行数据流的标记为剥除外层虚拟局域网标签vlan tag,则所述预先设定的程序处理为所述第二芯片对所述下行数据流进行外层虚拟局域网标签vlan tag剥除处理。 [0038] Preferably, if the second marker receives the downlink data chip stream to remove the outer VLAN tag vlan tag, then the pre-set program processing of the second chip is the downlink data streams outer VLAN tag vlan tag stripping process.

[0039]优选的,若所述第二芯片接收的所述下行数据流的标记为不剥除外层虚拟局域网标签vlan tag,则所述预先设定的程序处理为所述第二芯片对所述下行数据流不进行处理。 [0039] Preferably, if the chip receives a second downlink tag data stream as not to remove the outer VLAN tag vlan tag, then the pre-set program processing of the second chip to the the downlink data stream is not processed.

[0040]本实施例中,除了可以实现实施例1的有益效果外,进一步的,通过对需要剥除外层虚拟局域网标签vlan tag的下行数据流进行特殊标记,达到了可以精确匹配下行数据流的目的,精确的完成业务流的区分。 [0040] In this embodiment, in addition to advantageous effects may be implemented outside of Example 1, further, by the need to remove the outer downlink data stream of virtual local area network tag vlan tag is special tag, an exact match can be achieved downlink data stream purposes, differentiate accurately complete traffic flow.

[0041]结合上面实施例所述内容,本发明还提供了实施例3,结合附图2所示,以具体事例详细描述了子网业务流区分的实现过程。 [0041] SUMMARY Example embodiments in conjunction with the above, the present invention also provides an embodiment 3, in conjunction with the accompanying drawings. 2, a detailed description of concrete examples of the realization of a traffic flow to distinguish the subnet.

[0042]由图2可以看出,所述第一芯片在本实施例中为交换芯片,交换芯片在接收到需要剥除P0N1VLAN 100IP 1.1.1.X OUTER VLAN TAG的下行数据流,在对该下行数据流进行特殊标记后,将该数据流发送到第二芯片,即图中的PON芯片,所述PON芯片识别到需要剥除的特殊标记后,将该下行数据流的外层VLAN TAG剥除,继续将下行数据流进行传输。 [0042] As can be seen from Figure 2, the first chip in the present embodiment, the chip is switched, switching chip in the received downlink data stream to strip P0N1VLAN 100IP 1.1.1.X OUTER VLAN TAG in the after the downlink data stream for special tag, the data stream is sent to the second chip, i.e., in the PON of FIG chip, the chip identification PON needs to mark special after stripping, the downlink data stream peeling the outer VLAN tAG In addition, continued downlink data stream for transmission.

[0043] 通过两颗芯片之间的配合,可以容易的实现基于IP子网剥除VLAN TAG这一操作,交换芯片匹配子网和外层tag,达到精确匹配下行流的目的,并加上一层特殊的tag给PON芯片,PON芯片的匹配特殊标记这一规则在初始化写入芯片即可,匹配之后,由PON芯片剥去 [0043] By the engagement between the two chips can be easily peeled off the IP-based subnet VLAN TAG this operation, switching chip and an outer sub-Tag match, an exact match to achieve the purpose of the downstream, and combined with a special layers for PON tag chip, matching specific mark PON chip to chip of this rule is written in the initialization, after the match, chips stripped from the PON

tag ο tag ο

[0044]本发明实施例中,针对现有技术中存在的基于单独的交换实现子网VLAN的上行标签添加和下行标签删除,由于交换芯片的限制,不能在OLT上单独依靠使用交换芯片完成基于子网IP的下行VLAN删除,而只能基于PON端口来实现的问题,本发明提供了一种子网业务流区分的实现方法。 [0044] Example embodiments of the present invention, for the prior art to achieve individual exchange sub-VLAN tag added upstream and downstream labels are deleted due to the limitation of the switching chip, the chip can not rely on the use of the exchange is completed based on the individual based on the OLT downlink VLAN IP subnet deleted, but only based on the problem to implement the PON port, the present invention provides a method for implementing a traffic flow to distinguish the subnet. 本发明通过使用两颗芯片进行配合,使得下行数据流在到达芯片时通过判断下行数据流的标记来决定是否需要剥除外层虚拟局域网标签vlan tag,避免了在不需要剥除外层虚拟局域网标签vlan tag时而误将下行数据流的外层虚拟局域网标签vlantag剥除的现象发生。 The present invention, by using two chips were blended such that the downstream data flow to determine the need to remove the outer VLAN tag by the tag Tag vlan determining the downlink data flow on the arrival chip avoided without the need to remove the outer virtual LAN tag vlan tag sometimes mistakenly outer VLAN tag downstream data flow vlantag stripping phenomenon. 通过本发明提供的实现方法实现了数据流在上行和下行的对称传输,实现了基于IP子网剥除外层虚拟局域网标签vlan tag。 Implementation method provided by the present invention achieves a data flow in an uplink and downlink symmetric transmission, we realized to remove the outer IP subnet virtual local area network tag vlan tag. 通过对需要剥除外层虚拟局域网标签vlan tag的下行数据流进行特殊标记,达到了可以精确匹配下行数据流的目的,精确的完成业务流的区分。 By the need to remove the outer downlink data stream of virtual local area network tag vlan tag is special tag, an exact match can be achieved downlink data stream object, the exact distinction complete traffic flow.

[0045]本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三” “第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。 [0045] The description and the claims of the invention and said claims figures the terms "first," "second," "third," "fourth," and the like (if present) is used for distinguishing between similar objects, and not necessarily for describing a particular sequential or priorities. 应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。 It should be understood that such data may be used are interchangeable under appropriate circumstances, to be able to be implemented in embodiments in addition to the content of the order illustrated or described herein in the embodiment described herein. 此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。 Furthermore, the terms "including" and "having," as well as any of their deformation, intended to cover non-exclusive inclusion, for example, comprising a series of steps or the process unit, the method, system, or apparatus is not necessarily limited expressly listed those steps or elements, but may include or not inherent to other steps or units for such process, method, article, or apparatus expressly listed.

[0046]以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 [0046] The above embodiments above are intended to illustrate the present invention, rather than limiting;. Although the present invention has been described in detail embodiments, those of ordinary skill in the art should be understood: that they may still It may be made to the technical solutions described in the foregoing modified embodiment, or some technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present invention .

Claims (7)

1.一种子网业务流区分的实现方法,其特征在于,所述方法包括: 第一芯片接收下行数据流并判断所述下行数据流类型; 所述第一芯片对不同类型所述下行数据流进行标记; 所述第一芯片将带有标记的所述下行数据流发送到第二芯片; 所述第二芯片接收所述下行数据流并根据所述标记作出预先设定的程序处理。 A sub-network traffic flow to distinguish implemented method, wherein the method comprises: receiving a first downlink data chip stream and determines the downlink data stream type; the first chip of the downlink data stream types labeling; the first chip of the downlink data stream is transmitted to the tag with a second chip; the second chip stream and receiving the downlink data to the preset program processing according to the flag.
2.根据权利要求1所述的方法,其特征在于,所述下行数据流的类型包括需要剥除外层虚拟局域网标签vlan tag和不需要剥除外层虚拟局域网标签vlan tag。 2. The method according to claim 1, wherein said downlink data stream types include the need to remove the outer VLAN tag vlan tag and do not need to remove the outer VLAN tag vlan tag.
3.根据权利要求2所述的方法,其特征在于,所述下行数据流的标记包括剥除外层虚拟局域网标签vlan tag和不剥除外层虚拟局域网标签vlan tag。 3. The method according to claim 2, wherein said downlink data stream comprising a marker to remove the outer VLAN tag vlan tag and do not remove the outer VLAN tag vlan tag.
4.根据权利要求3所述的方法,其特征在于,所述剥除外层虚拟局域网标签vlan tag的标记为特殊标记。 4. The method according to claim 3, characterized in that, the outer VLAN tag stripping vlan tag is marked as special tag.
5.根据权利要求4所述的方法,其特征在于,所述特殊标记的标记规则在初始化时或者执行配置时写入所述第一芯片。 5. The method as claimed in claim 4, wherein the first chip mark writing rule of the specially marked performed during initialization or configuration.
6.根据权利要求3所述的方法,其特征在于,若所述第二芯片接收的所述下行数据流的标记为剥除外层虚拟局域网标签vlan tag,则所述预先设定的程序处理为所述第二芯片对所述下行数据流进行外层虚拟局域网标签vlan tag剥除处理。 6. The method according to claim 3, wherein, if the flag of the downlink data stream is received by the second chip to remove the outer VLAN tag vlan tag, then the program processing is set in advance the second chip downlink data streams outer VLAN tag vlan tag stripping process.
7.根据权利要求3所述的方法,其特征在于,若所述第二芯片接收的所述下行数据流的标记为不剥除外层虚拟局域网标签vlan tag,则所述预先设定的程序处理为所述第二芯片对所述下行数据流不进行处理。 7. The method of procedure according to claim 3, wherein, if the second chip mark the downlink data stream is received not remove the outer VLAN tag vlan tag, then the process set in advance the second chip is the downlink data stream is not processed.
CN201610055073.XA 2016-01-26 2016-01-26 Method for implementing discrimination on service flows of subnet CN105847105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610055073.XA CN105847105A (en) 2016-01-26 2016-01-26 Method for implementing discrimination on service flows of subnet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610055073.XA CN105847105A (en) 2016-01-26 2016-01-26 Method for implementing discrimination on service flows of subnet

Publications (1)

Publication Number Publication Date
CN105847105A true CN105847105A (en) 2016-08-10

Family

ID=56580629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610055073.XA CN105847105A (en) 2016-01-26 2016-01-26 Method for implementing discrimination on service flows of subnet

Country Status (1)

Country Link
CN (1) CN105847105A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838627A (en) * 2005-03-22 2006-09-27 杭州华为三康技术有限公司 Method for realizing QinQ access
CN101110764A (en) * 2007-08-13 2008-01-23 中兴通讯股份有限公司 Method for Ethernet switchboard data frame partitioning virtual local area network and transmitting
CN101150493A (en) * 2006-09-20 2008-03-26 华为技术有限公司 A method and system for distributing service at access terminal
US20080199180A1 (en) * 2006-04-29 2008-08-21 Huawei Technologies Co., Ltd. Optical network terminal and a message processing method, a message processing apparatus and system thereof
CN102316388A (en) * 2010-07-09 2012-01-11 中兴通讯股份有限公司 Flexible QinQ realization method and device for passive optical network system
CN103701679A (en) * 2013-12-16 2014-04-02 上海斐讯数据通信技术有限公司 VLAN (virtual local area network) conversion implementation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838627A (en) * 2005-03-22 2006-09-27 杭州华为三康技术有限公司 Method for realizing QinQ access
US20080199180A1 (en) * 2006-04-29 2008-08-21 Huawei Technologies Co., Ltd. Optical network terminal and a message processing method, a message processing apparatus and system thereof
CN101150493A (en) * 2006-09-20 2008-03-26 华为技术有限公司 A method and system for distributing service at access terminal
CN101110764A (en) * 2007-08-13 2008-01-23 中兴通讯股份有限公司 Method for Ethernet switchboard data frame partitioning virtual local area network and transmitting
CN102316388A (en) * 2010-07-09 2012-01-11 中兴通讯股份有限公司 Flexible QinQ realization method and device for passive optical network system
CN103701679A (en) * 2013-12-16 2014-04-02 上海斐讯数据通信技术有限公司 VLAN (virtual local area network) conversion implementation method

Similar Documents

Publication Publication Date Title
EP2104896B1 (en) Border gateway protocol procedures for mpls and layer-2 vpn using ethernet-based tunnels
US7751399B2 (en) Scalable virtual private local area network service
US20060245438A1 (en) Metro ethernet network with scaled broadcast and service instance domains
CN1135787C (en) Method for transmitting data packets to multi-receivers in a heterogeneous communication network
US20080080509A1 (en) Method and apparatus for learning endpoint addresses of IPSec VPN tunnels
US7126949B2 (en) Source identifier for MAC address learning
CN100450086C (en) Method for implementing multicast data stream retransmission in virtual special LAN service
US9124486B2 (en) Method for establishing multi segment pseudowire across domains having different pseudowire signaling protocol
CN101536411B (en) Ethernet OAM at intrmediate nodes in a PBT network
US20070253432A1 (en) Network device providing access to both layer 2 and layer 3 services on a single physical interface
RU2589340C2 (en) Network system and method of acquiring vlan tag data
EP1884064B1 (en) Co-existing static and dynamic ip multicast
WO2006118676A3 (en) System and method for dsl subcriber identification over ethernet network
CN102857416A (en) Method for implementing virtual network and virtual network
CN104350467A (en) Elastic enforcement layer for cloud security using SDN
CN101110745A (en) Method, device and system for engaging second layer network and third layer network
JP5053376B2 (en) Point-to-multipoint capability in bridged networks
US20070258462A1 (en) Network Node Unit And Method For Forwarding Data Packets
CN104022953B (en) Based packet forwarding method and apparatus of the open flow Openflow
CN101529814A (en) Supporting multi-protocol label switching (MPLS) applications over Ethernet switch paths
JP6491241B2 (en) Cloud-based service exchange
CN101043352A (en) Method for configuring Native VLAN for GPON system and processing Ethernet packets
CN103986651B (en) A software defined network controller and control method
EP1816796A2 (en) Bi-directional forwarding in ethernet-based service domains over networks
CN101427523B (en) A business-binding method and device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01 Invention patent application deemed withdrawn after publication