CN105847105A - Method for implementing discrimination on service flows of subnet - Google Patents
Method for implementing discrimination on service flows of subnet Download PDFInfo
- 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
- downstream data
- data flow
- outer layer
- area network
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4645—Details on frame tagging
- H04L12/4666—Operational details on the addition or the stripping of a tag in a frame, e.g. at a provider edge node
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
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
Technical field
The present invention relates to the communications field, particularly relate to the implementation method that a kind of subnet Business Stream is distinguished.
Background technology
In prior art, use in PON (Passive Optical Network, passive optical-fiber network)
OLT (Optical Line Terminal, optical line terminal) networking plan in, VLAN (Virtual Local
Area Network, VLAN) use fairly common.The collocation method of VLAN is as follows: up
Flowing the VLAN stamping distribution at switching port corresponding to PON port according to network segment IP, downstream is at PON
Peelling off VLAN on the switching port that port is corresponding, this method does not has in current networking mode
The biggest problem, can meet major part networking requirements at present.
But, the implementation method of current vlan technology, demand, example can not be met in some cases
As, when operator for some reason, need at the same VLAN inner region molecule of same PON port
Net operates the VLAN labelling of message, and current way cannot meet demand, needs to improve.
So in prior art based on individually exchange realize the upstream label of subnet VLAN add and
Downstream label is deleted, due to the restriction of exchange chip, it is impossible to rely solely on use exchange chip on OLT
Complete descending VLAN based on subnet IP to delete, and the problem that can only realize based on PON port,
Need the implementation method that a kind of subnet Business Stream is distinguished.
Summary of the invention
It is an object of the invention to solve to realize subnet based on individually exchange present in prior art
The upstream label of VLAN is added and downstream label is deleted, due to the restriction of exchange chip, it is impossible at OLT
On rely solely on use exchange chip and complete descending VLAN based on subnet IP and delete, and can only be based on
The problem that PON port realizes, the invention provides the implementation method that a kind of subnet Business Stream is distinguished.
The implementation method that a kind of subnet Business Stream that the present invention provides is distinguished, wherein, described method includes:
First chip receives downstream data flow and judges described downlink data stream type;
Dissimilar described downstream data flow is marked by described first chip;
Markd for band described downstream data flow is sent to the second chip by described first chip;
Described second chip receives described downstream data flow and makes program set in advance according to described labelling
Process.
Preferably, the type of described downstream data flow includes needing to divest outer layer virtual local area network tags vlan
Tag and need not divest outer layer virtual local area network tags vlan tag.
Preferably, the labelling of described downstream data flow include divesting outer layer virtual local area network tags vlan tag and
Do not divest outer layer virtual local area network tags vlan tag.
Preferably, divest outer layer virtual local area network tags vlan tag described in is labeled as special marking.
Preferably, the marking convention of described special marking when initializing or writes described when performing to configure
First chip.
Preferably, if the described downstream data flow that receives of described second chip be labeled as that to divest outer layer virtual
Local Area Network tag vlan tag, the most described routine processes set in advance is that described second chip is to described descending
Data stream carries out outer layer virtual local area network tags vlan tag strip process.
Preferably, if the described downstream data flow that receives of described second chip be labeled as that not divest outer layer empty
Intending Local Area Network tag vlan tag, the most described routine processes set in advance is described second chip under described
Row data stream does not processes.
As can be seen from the above technical solutions, the invention have the advantages that
In the embodiment of the present invention, present in prior art, realize subnet VLAN based on individually exchange
Upstream label add and downstream label is deleted, due to the restriction of exchange chip, it is impossible on OLT individually
Rely on and use exchange chip to complete descending VLAN based on subnet IP deletion, and can only be based on PON end
The problem that mouth realizes, the invention provides the implementation method that a kind of subnet Business Stream is distinguished.The present invention is led to
Cross use two chips coordinate so that downstream data flow arrive chip time by judging downlink data
The labelling of stream decides whether to divest outer layer virtual local area network tags vlan tag, it is to avoid need not
Miss the outer layer virtual local area network mark of downstream data flow when divesting outer layer virtual local area network tags vlan tag
Sign the phenomenon generation that vlan tag divests.The implementation method provided by the present invention achieves data stream up
With descending symmetrical transmission, it is achieved that divest outer layer virtual local area network tags vlan tag based on IP subnet.
Accompanying drawing explanation
The implementation method flow chart that Fig. 1 distinguishes for a kind of subnet Business Stream that the embodiment of the present invention provides;
The implementation method procedure chart that Fig. 2 distinguishes for a kind of subnet Business Stream that the embodiment of the present invention provides.
Detailed description of the invention
The embodiment of the present invention 1 provides the implementation method that a kind of subnet Business Stream is distinguished, it is possible to solve existing
Realize the upstream label of subnet VLAN based on individually exchange present in technology to add and downstream label is deleted
Remove, due to the restriction of exchange chip, it is impossible on OLT, rely solely on use exchange chip complete based on son
The descending VLAN of net IP deletes, and the problem that can only realize based on PON port.
In order to make those skilled in the art be more fully understood that the present invention program, real below in conjunction with the present invention
Execute the accompanying drawing in example, the technical scheme in the embodiment of the present invention be clearly and completely described, it is clear that
Described embodiment is only the embodiment of a present invention part rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, all should belong to the scope of protection of the invention.
Refer to Fig. 1, the implementation method embodiment 1 that a kind of subnet Business Stream provided for the present invention is distinguished
Flow chart.It is understood that the implementation method that herein described subnet Business Stream is distinguished is based on chip
Carrying out, the present embodiment detailed process is described as follows:
S101, the first chip receive downstream data flow and judge described downlink data stream type;
Concrete, when downstream data flow arrives the first chip, described first chip receives downlink data
The data stream type of described downstream data flow is judged after stream.
Dissimilar described downstream data flow is marked by S102, described first chip;
Concrete, after described downstream data flow is judged type by described first chip, according to described descending
The type of data stream is marked, in order to make a distinction when needing below.
Markd for band described downstream data flow is sent to the second chip by S103, described first chip;
Concrete, described first chip is to described downstream data flow after labelling completes by type, under described
Row data are streamed to described second chip.
S104, described second chip receive described downstream data flow making according to described labelling and preset
Routine processes.
Concrete, after described second chip receives described downstream data flow, make phase according to described labelling
Should process, these routine processes are the most pre-set processing procedures.
In the present embodiment, by using two chips to coordinate so that downstream data flow arrives chip
Time by judging that the labelling of downstream data flow decides whether to divest outer layer virtual local area network tags vlan
Tag, it is to avoid when need not divest outer layer virtual local area network tags vlan tag by mistake by downstream data flow
The phenomenon that divests of outer layer virtual local area network tags vlan tag occur.The implementation method provided by the present invention
Achieve the data stream symmetrical transmission in uplink and downlink, it is achieved that divest outer layer virtual office based on IP subnet
Territory network mark label vlan tag.
On the basis of embodiment 1, in order to realize the differentiation of subnet Business Stream further, the present invention also carries
Supply the implementation method embodiment 2 that subnet Business Stream is distinguished, specifically can include following content:
Preferably, on the basis of embodiment 1, described first chip judges institute after receiving downstream data flow
Stating the type of downstream data flow, it is empty that the type of wherein said downstream data flow can include needing to divest outer layer
Intend Local Area Network tag vlan tag and need not divest outer layer virtual local area network tags vlan tag.For needs
Divest the downstream data flow of outer layer virtual local area network tags vlan tag, can basis after the second chip receives
The outer layer virtual local area network tags vlan tag of described downstream data flow is divested by labelling.And for being not required to
The downstream data flow of outer layer virtual local area network tags vlan tag to be divested, after described second chip receives,
Then it is left intact.
Preferably, include needing to divest outer layer virtual local area network tags according to the type of described downstream data flow
Vlan tag and need not divest outer layer virtual local area network tags vlan tag, the most corresponding described downstream data flow
Labelling can include divesting outer layer virtual local area network tags vlan tag and not divesting outer layer VLAN
Label vlan tag.
Preferably, described in divest the labelling of outer layer virtual local area network tags vlan tag and be generally special marking,
So it is easy to distinguish the downstream data flow needing to divest outer layer virtual local area network tags vlan tag.
Preferably, the marking convention of described special marking when initializing or writes described when performing to configure
How needs, i.e. when initial chip initiation, just will be divested outer layer virtual local area network mark by the first chip
The downstream data flow of label vlan tag is marked this marking convention and is written in chip.
Preferably, if the described downstream data flow that receives of described second chip be labeled as that to divest outer layer virtual
Local Area Network tag vlan tag, the most described routine processes set in advance is that described second chip is to described descending
Data stream carries out outer layer virtual local area network tags vlan tag strip process.
Preferably, if the described downstream data flow that receives of described second chip be labeled as that not divest outer layer empty
Intending Local Area Network tag vlan tag, the most described routine processes set in advance is described second chip under described
Row data stream does not processes.
In the present embodiment, in addition to can realizing the beneficial effect of embodiment 1, further, by right
Needing the downstream data flow divesting outer layer virtual local area network tags vlan tag to carry out special marking, having reached can
Accurately to mate the purpose of downstream data flow, the differentiation of accurate finishing service stream.
In conjunction with content described in above example, present invention also offers embodiment 3, shown in accompanying drawing 2,
With concrete example describe in detail subnet Business Stream distinguish realize process.
As seen from Figure 2, described first chip is exchange chip in the present embodiment, and exchange chip exists
Receive the downstream data flow needing to divest PON1VLAN 100IP 1.1.1.X OUTER VLAN TAG,
After this downstream data flow is carried out special marking, this data stream is sent in the second chip, i.e. figure
PON chip, after described PON chip recognizes the special marking needing to divest, by this downstream data flow
Outside VLAN TAG divests, and continues to be transmitted downstream data flow.
By the cooperation between two chips, can readily realize divesting VLAN TAG based on IP subnet
This operation, exchange chip coupling subnet and outer layer tag, reach accurately to mate the purpose of downstream, and add
The special tag of last layer is initializing to PON chip, this rule of coupling special marking of PON chip
Write chip, after coupling, is peelled off tag by PON chip.
In the embodiment of the present invention, present in prior art, realize subnet VLAN based on individually exchange
Upstream label add and downstream label is deleted, due to the restriction of exchange chip, it is impossible on OLT individually
Rely on and use exchange chip to complete descending VLAN based on subnet IP deletion, and can only be based on PON end
The problem that mouth realizes, the invention provides the implementation method that a kind of subnet Business Stream is distinguished.The present invention is led to
Cross use two chips coordinate so that downstream data flow arrive chip time by judging downlink data
The labelling of stream decides whether to divest outer layer virtual local area network tags vlan tag, it is to avoid need not
Miss the outer layer virtual local area network mark of downstream data flow when divesting outer layer virtual local area network tags vlan tag
Sign the phenomenon generation that vlan tag divests.The implementation method provided by the present invention achieves data stream up
With descending symmetrical transmission, it is achieved that divest outer layer virtual local area network tags vlan tag based on IP subnet.Logical
Cross needing the downstream data flow divesting outer layer virtual local area network tags vlan tag to carry out special marking, reach
Can accurately mate the purpose of downstream data flow, the differentiation of accurate finishing service stream.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", "
Three " (if present) such as " the 4th " is for distinguishing similar object, specific without being used for describing
Order or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to this
In describe embodiment can with in addition to the content except here illustrating or describe order implement.Additionally,
Term " includes " and " having " and their any deformation, it is intended that cover non-exclusive comprising,
Such as, contain series of steps or the process of unit, method, system, product or equipment are not necessarily limited to
Those steps clearly listed or unit, but can include the most clearly listing or for these mistakes
Other step that journey, method, product or equipment are intrinsic or unit.
The above, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail the present invention with reference to previous embodiment, those of ordinary skill in the art should
Work as understanding: the technical scheme described in foregoing embodiments still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.
Claims (7)
1. the implementation method that a subnet Business Stream is distinguished, it is characterised in that described method includes:
First chip receives downstream data flow and judges described downlink data stream type;
Dissimilar described downstream data flow is marked by described first chip;
Markd for band described downstream data flow is sent to the second chip by described first chip;
Described second chip receives described downstream data flow and makes program set in advance according to described labelling
Process.
Method the most according to claim 1, it is characterised in that the type bag of described downstream data flow
Include and need divest outer layer virtual local area network tags vlan tag and need not divest outer layer virtual local area network tags
vlan tag。
Method the most according to claim 2, it is characterised in that the labelling bag of described downstream data flow
Include and divest outer layer virtual local area network tags vlan tag and do not divest outer layer virtual local area network tags vlan tag.
Method the most according to claim 3, it is characterised in that described in divest outer layer VLAN
Label vlan tag is labeled as special marking.
Method the most according to claim 4, it is characterised in that the marking convention of described special marking
Described first chip is write when initializing or when execution configures.
Method the most according to claim 3, it is characterised in that if the institute that described second chip receives
That states downstream data flow is labeled as divesting outer layer virtual local area network tags vlan tag, the most described set in advance
Routine processes is that described second chip carries out outer layer virtual local area network tags vlan tag to described downstream data flow
Strip process.
Method the most according to claim 3, it is characterised in that if the institute that described second chip receives
State downstream data flow be labeled as do not divest outer layer virtual local area network tags vlan tag, then described in preset
Routine processes be that described downstream data flow is not processed by described second chip.
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 Pending 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)
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 |
-
2016
- 2016-01-26 CN CN201610055073.XA patent/CN105847105A/en active Pending
Patent Citations (6)
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 |
---|---|---|
CN110266592A (en) | The communication means and device of SRV6 network and IP MPLS network | |
CN105871721A (en) | Segment routing processing method, processing device and sending device | |
CN101686190B (en) | Method for mapping data transmission, device and system thereof | |
CN103152267A (en) | Route managing method and route method and network controller and router | |
CN104243362B (en) | A kind of message forwarding method and device | |
CN104486218B (en) | A kind of MPLS network control system and method based on SDN | |
CN105812340A (en) | Access method and device for virtual network to extranet | |
CN105376158A (en) | SDN circulation method and device based on EXP value in MPLS message | |
CN105323137B (en) | Service data transmission method and device | |
CN106982179A (en) | A kind of method for controlling network flow and switch device | |
CN107566237A (en) | A kind of data message processing method and device | |
CN105471610A (en) | HQoS protection method and HQoS protection device through multiple board cards | |
CN106941437A (en) | A kind of information transferring method and device | |
CN104601470A (en) | Flow table processing method and device | |
CN106878178B (en) | Flow table issuance method, system and controller | |
CN108260032A (en) | The method that service virtual port is realized in GPON-OLT systems | |
CN102932272B (en) | Message forwarding method based on uninterrupted and forwarding unit | |
CN102546409B (en) | Method and RB (route bridge) for processing message based on TRILL (Transparent Interconnection of Lots of Links) network | |
CN101114882B (en) | Method for processing data traffic in GPON | |
CN105450520A (en) | Message processing method and device, and method and device for building aggregation tunnel | |
CN107645391A (en) | A kind of port configuration method and device of Interface Expanding equipment | |
CN102437957A (en) | Method and device for processing intersected ring of multi-protocol label switching | |
CN105847105A (en) | Method for implementing discrimination on service flows of subnet | |
CN110380957A (en) | Data processing method and device | |
CN109218176A (en) | A kind of method and device of Message processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160810 |
|
WD01 | Invention patent application deemed withdrawn after publication |