CN101005437B - Method and system for realizing heap virtual local area network - Google Patents

Method and system for realizing heap virtual local area network Download PDF

Info

Publication number
CN101005437B
CN101005437B CN2007100729721A CN200710072972A CN101005437B CN 101005437 B CN101005437 B CN 101005437B CN 2007100729721 A CN2007100729721 A CN 2007100729721A CN 200710072972 A CN200710072972 A CN 200710072972A CN 101005437 B CN101005437 B CN 101005437B
Authority
CN
China
Prior art keywords
stream
cvid
svid
feature
local area
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
Application number
CN2007100729721A
Other languages
Chinese (zh)
Other versions
CN101005437A (en
Inventor
史玉林
高辉
毛继平
刘兴铨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007100729721A priority Critical patent/CN101005437B/en
Publication of CN101005437A publication Critical patent/CN101005437A/en
Application granted granted Critical
Publication of CN101005437B publication Critical patent/CN101005437B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for stacking dummy local area networks, the method comprises the following steps: a) according to the correlated stream character, making classification for the data message at access port; b) according to the classification result, appointing the corresponding cvid and Tpid for different stream. The system comprises: stream processing unit; cvid allocating unit; and configuration data management unit. The stream processing unit comprises stream classifier and svid allocating unit. According to the method of the invention, it is possible to add two layers of vlan tag to untag data message, and add cvid to the data with vlan tag, therefore it can realize the data communication across the areas on the unequal network levels by using Q-in-Q tunnel.

Description

A kind of method and system that realize heap virtual local area network
Technical field
The present invention relates to the method and system of a kind of Q-in-Q of realization (heap virtual local area network).
Background technology
At present, the realization of Q-in-Q generally is that to have vlan tag (virtual local area network tags) with the access interface data message be precondition, based on the communication between peer-to-peer network.The data message that does not have vlan tag at access interface generally can only encapsulate one deck vlan tag, i.e. svid (serviceprovide vlan id, the virtual local area network tags that service provider provides); For the data message that has vlan tag at access interface generally also is encapsulation one deck svid.
The implementation method of this Q-in-Q has following shortcoming:
A, need the access interface data message to have the information of vlan tag, make incoming end to descend to hang like this as the equipment of switch and so on is that the data message of network is planned vlan tag information, make network lose certain flexibility;
B, if the access interface data message has the information of vlan tag, then can not with vlantag add cvid (virtual local area network tags of client) as svid the time, make network lose certain flexibility;
C, the both sides between communicating with one another need the network layer of equity.As shown in Figure 1, the pc1 in the territory 1 if want with territory 2 in the pc1 communication, then must be at the enterprising row communication of Level three at the pc1 in the pc1 of network layer co-domain 1 and territory 2.
Summary of the invention
Technical problem to be solved by this invention provides the method and system of a kind of Q-in-Q of realization, solve in the existing Q-in-Q implementation can't access side inlet untag (no virtual local area network tags) data message carry out the defective that Q-in-Q (containing svid, cvid in the message) tunnel is transmitted, and the problem that under the condition of access interface data message band vlan tag, can not add cvid.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of method that realizes heap virtual local area network comprises step:
A: according to relevant stream feature to the processing of classifying of the data message of inbound port;
B: homogeneous turbulence is not specified corresponding cvid, Tpid (tag protocol identifier) according to above-mentioned classification results.
Wherein, described step a comprises step:
A1: the data message is classified according to user configured stream feature;
A2: stamp the stream characteristic ID for each feature stream, give the different corresponding svid of flow distribution according to the result simultaneously.
Wherein, among the described step a2, if the access interface data have vlan tag, and when networking this vlan tag as svid, then can not redistribute svid, also can distribute a new svid to replace original vlan tag.
Wherein, also comprise after the described step b:, build two tables in the exit, port numbers with inlet is an index, and crucial position add_inner_tag is wherein arranged, and is used for indication and adds cvid, if add_inner_tag is put, then according to its corresponding cvid of stream ID index that enters; Another port numbers with outlet is an index, and crucial position remove_inner_tag is wherein arranged, and is used to delete cvid, if remove_inner_tag is put, then the cvid with the data message band deletes.
A kind of system that realizes heap virtual local area network comprises: stream processing unit, cvid allocation units and configuration data management unit; Described stream processing unit act as classifies the data message of incoming end, the classification results according to stream processing unit of acting as of described cvid allocation units specifies corresponding cvid in the exit not homogeneous turbulence, and the data that act as configuration of described configuration data management unit manage.
Wherein, described stream processing unit comprises flow classifier and svid allocation units; Acting as according to certain feature convection current of described flow classifier classified, and the effect of described svid allocation units is according to the result of traffic classification homogeneous turbulence not to be specified corresponding svid.
The present invention has following beneficial effect:
A, under existing network environment, can be the function that the data message of untag increases double-deck tag simultaneously to Access Network vlan tag, promoted the network layer of incoming end, and have at the access interface data message under the situation of vlan tag, can with vlan tag add cvid as svid or with the vlan tag of new svid replacement data message the time;
B, realized on not reciprocity network layer, utilizing the Q-in-Q tunnel to carry out cross-domain data communication, improved the flexibility of the network planning, at present qualitatively network add new Network and vertically becoming and can operate;
C, because the present invention does not increase any hardware cost, the software cost increase seldom, thereby bigger raising network extensibility, ease for maintenance, the easy property planned.
Description of drawings
Fig. 1 is the network layer schematic diagram that Q-in-Q realizes in the prior art;
Fig. 2 is after adopting the present invention, the network layer schematic diagram that Q-in-Q can realize;
Fig. 3 is a module composition diagram of the present invention;
Fig. 4 is VLAN classification, label mapping block flow chart among the present invention;
Fig. 5 is the networking exemplary plot of the embodiment of the invention one;
Fig. 6 is the networking exemplary plot of the embodiment of the invention two.
Embodiment
As shown in Figure 3, the present invention mainly contains following modular unit composition: stream processing unit, cvid allocation units and configuration data management unit.Stream processing unit comprises flow classifier and svid allocation units again, and flow classifier is to be used for according to certain feature convection current processing of classifying, and the svid allocation units are used for according to the result of traffic classification homogeneous turbulence not being specified corresponding svid; The cvid allocation units are to specify corresponding cvid for not homogeneous turbulence according to the result of inlet flow classifier in outlet; The configuration data management unit is used to provide man-machine interface, and the data that dispose are managed, and can dispose the data message of whether wanting access side mouth untag and add two vlan tag and related data etc.
As shown in Figure 4, VLAN classification of the present invention, label mapping block groundwork flow process comprise two parts, go into side flow chart and Fig. 4-2 outlet flow chart as Fig. 4-1.In going into the effluent journey, when data message enters incoming end, utilize the traffic classification function of ACL (Access Control List (ACL)) to classify according to user configured stream feature, and stamp the stream characteristic ID for each feature stream, give the different svid of flow distribution (by s-pri (service end 802.1q) according to the result simultaneously, s-cfi (service end rule schemata designator), s-vid (service end VLAN ID) three parts are formed), if the access interface data have the information of vlan tag, and the vlan tag that handle is brought into when networking is as svid, can not redistribute svid this moment, also can distribute a new svid to replace original vlantag; Entering L2, L3 then learns, transmits.In the outlet flow process, in the exit, build two tables, port numbers with inlet is an index, crucial position add_inner_tag is wherein arranged, add_inner_tag is used for indication and adds cvid, if add_inner_tag is put, then according to its corresponding cvid of stream ID index that enters (being made up of c-pri (client 802.1q), c-cfi (client rule schemata designator), c-vid (client VLAN ID) three parts).Port numbers with outlet is an index, wherein has crucial position remove_inner_tag to be used to delete cvid, if remove_inner_tag is put, and then can be with the cvid deletion of data message band.
The present invention is described in further detail below in conjunction with the drawings and specific embodiments:
Embodiment one: under present widely used Q-in-Q network environment, general cvid before planned, along with enriching constantly of class of business, there was possibility in the planning again of miscellaneous service.But originally Gui Hua vlan network is very big, and moving the slightest is hindered whole body, then may need original vlan is all terminated.Then according to demand with business as repartitioning vlan.
In the present embodiment, use method and system of the present invention to be managed for configuration, all vlan that have of the business that will insert termination earlier, the flow classifier convection current in then according to the present invention are classified and are repartitioned vlan planning on the Q-in-Q network as requested.
As shown in Figure 5, the requirement of the data message network of access interface utilizes the ACL flow classifier to flow again and classifies, and produces data characteristics stream 1, data characteristics stream 2 ..., data characteristics stream n.Then different feature streams is added or replaces the svid of appointment, carry out L2, L3 according to svid and learn to transmit; Carry out qos policy (as the different service class of data ductility limit speed, refusal forwarding, traffic shaping, formulation etc.) then; Add the cvid of appointment at last according to feature stream at outbound port.The data flow of new like this planning can be moved on the Q-in-Q network.
Embodiment two: in enterprise network, need check that ERM also is that different, general implementation methods is to set certain acl, distinguishes at different ip addresses and allows or refuse to enjoy some service for the people of different authorities at present.Such planning need be upgraded setting to relevant device when increasing the user, exist certain mistake that risk is set, and the hardware resource of acl is limited, has defective for bigger this implementation of network acl.
In the present embodiment, adopt the present invention to distribute cvid to source data, distinguish different authorities, in case the network planning has been got well like this, as long as it is just passable that the associated user is divided into different vlan with cvid at server.Simplified the network planning, and made and to safeguard ease for operation.
As shown in Figure 6, utilize the acl shunt to reclassify data flow, produce financial data stream at incoming end with server, the occurrences in human life data flow ..., other data flow.Then different feature streams is added the svid of appointment, carry out L2, L3 according to svid and learn to transmit; Carry out qos policy then; Add the cvid of appointment at last according to feature stream at outbound port.Accurately locate a collective of rights of using with cvid, with the collective in a big way in svid location.If add new pc, the cvid that only it need be put under original regulation is just passable like this.
Make that not reciprocity Q-in-Q realizes becoming a reality under existing Q-in-Q network after utilizing the present invention, as shown in Figure 2, the pc2 cross-domain communication in the pc1 in territory 1 and territory 2 can be at the enterprising row communication of different levels, and the pc1 in territory 1 can carry out communication with the pc1 of territory 2 on Level three on the Level two; And provided a kind of brand-new planning theory for the division of the differentiation different access access authorization for resource in the enterprise network, expanded the flexibility of the network planning, ease for operation.

Claims (6)

1. a method that realizes heap virtual local area network is characterized in that, comprises step:
A: to processings of classifying of the data message of inbound port, described classification processing is that the data that will have the same stream feature are divided into same feature stream according to relevant stream feature, and distributes corresponding svid for each feature stream;
B: virtual local area network tags cvid, the tag protocol identifier of homogeneous turbulence not being specified corresponding client according to above-mentioned classification results.
2. realize the method for heap virtual local area network according to claim 1, it is characterized in that described step a comprises step:
A1: the data message is classified according to user configured stream feature;
A2: stamp the stream characteristic ID for each feature stream, give the different corresponding svid of flow distribution according to the result simultaneously.
3. as the method for realization heap virtual local area network as described in the claim 2, it is characterized in that, among the described step a2, if the access interface data have the information vlan tag of virtual local area network tags, and when networking this vlan tag as svid, then do not redistribute svid or distribute a new svid to replace original vlan tag.
4. realize the method for heap virtual local area network according to claim 1, it is characterized in that, also comprise after the described step b: in the exit, build two tables, port numbers with inlet is an index, and crucial position add_inner_tag is wherein arranged, and is used for indication and adds cvid, if add_inner_tag is put, then according to its corresponding cvid of stream ID index that enters; Another port numbers with outlet is an index, and crucial position remove_inner_tag is wherein arranged, and is used to delete cvid, if remove_inner_tag is put, then the cvid with the data message band deletes.
5. a system that realizes heap virtual local area network is characterized in that, comprising: stream processing unit, cvid allocation units and configuration data management unit; Described stream processing unit effect is according to the processing of classifying of the data message of relevant stream feature access side, described classification is handled and is meant that the data that will have the same stream feature are divided into same feature stream, and distribute corresponding svid for each feature stream, the classification results according to stream processing unit of acting as of described cvid allocation units specifies corresponding cvid in the exit not homogeneous turbulence, and the data that act as configuration of described configuration data management unit manage.
6. as the system of realization heap virtual local area network as described in the claim 5, it is characterized in that described stream processing unit comprises flow classifier and svid allocation units; The convection current that act as according to user configured stream feature of described flow classifier is classified, and the effect of described svid allocation units is that the result according to traffic classification specifies corresponding svid to different feature streams.
CN2007100729721A 2007-01-16 2007-01-16 Method and system for realizing heap virtual local area network Expired - Fee Related CN101005437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100729721A CN101005437B (en) 2007-01-16 2007-01-16 Method and system for realizing heap virtual local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100729721A CN101005437B (en) 2007-01-16 2007-01-16 Method and system for realizing heap virtual local area network

Publications (2)

Publication Number Publication Date
CN101005437A CN101005437A (en) 2007-07-25
CN101005437B true CN101005437B (en) 2011-04-20

Family

ID=38704312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100729721A Expired - Fee Related CN101005437B (en) 2007-01-16 2007-01-16 Method and system for realizing heap virtual local area network

Country Status (1)

Country Link
CN (1) CN101005437B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106512B (en) * 2007-09-03 2010-07-07 华为技术有限公司 A processing method and device for QinQ termination configuration
CN100531101C (en) * 2007-10-22 2009-08-19 华为技术有限公司 A method and device for realizing automatic allocation of end-to-end QinQ service label
CN101340347B (en) * 2008-08-19 2011-04-13 杭州华三通信技术有限公司 Method and system for transmitting audio data stream
JP5674107B2 (en) * 2010-10-19 2015-02-25 日本電気株式会社 Communication system, control device, processing rule setting method and program
CN108259633B (en) 2017-05-31 2020-05-12 新华三技术有限公司 Method, system and device for realizing management message three-layer communication
CN108259298B (en) 2017-05-31 2020-12-29 新华三技术有限公司 Message forwarding method and device
CN107547338B (en) * 2017-05-31 2020-12-29 新华三技术有限公司 Message forwarding method and device
CN108259453B (en) 2017-05-31 2020-03-06 新华三技术有限公司 Message forwarding method and device
CN108092907B (en) * 2017-12-20 2020-06-19 迈普通信技术股份有限公司 Message forwarding method, route stacking system and router
CN108304860B (en) * 2018-01-04 2022-03-18 南京大学 Efficient classifier stacking framework for multi-mode fusion mode recognition application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005078994A1 (en) * 2004-02-07 2005-08-25 Huawei Technologies Co., Ltd. A method for implementing the virtual leased line
CN1838627A (en) * 2005-03-22 2006-09-27 杭州华为三康技术有限公司 Method for realizing QinQ access
CN1866920A (en) * 2005-12-30 2006-11-22 华为技术有限公司 Service quality managing method based on VLAN stack
CN1870571A (en) * 2005-07-15 2006-11-29 华为技术有限公司 Method and system for service conversion in virtual exchange system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005078994A1 (en) * 2004-02-07 2005-08-25 Huawei Technologies Co., Ltd. A method for implementing the virtual leased line
CN1838627A (en) * 2005-03-22 2006-09-27 杭州华为三康技术有限公司 Method for realizing QinQ access
CN1870571A (en) * 2005-07-15 2006-11-29 华为技术有限公司 Method and system for service conversion in virtual exchange system
CN1866920A (en) * 2005-12-30 2006-11-22 华为技术有限公司 Service quality managing method based on VLAN stack

Also Published As

Publication number Publication date
CN101005437A (en) 2007-07-25

Similar Documents

Publication Publication Date Title
CN101005437B (en) Method and system for realizing heap virtual local area network
US11671898B2 (en) Systems and methods for routing data
CN100512215C (en) Internal load balancing in a data switch using distributed network processing
US6990592B2 (en) Controlling concurrent usage of network resources by multiple users at an entry point to a communications network based on identities of the users
CN101512510B (en) It is intended to provide the method and system of network management based on definition and application network management
CN103930882B (en) The network architecture with middleboxes
US20030154380A1 (en) Controlling usage of network resources by a user at the user's entry point to a communications network based on an identity of the user
CN104272657B (en) Method and apparatus for providing from tenant's information to network flow
CN101599895B (en) Data processing method, wideband network gateway, strategy controller device and accessing node equipment
CN103269282A (en) Method and device for automatically deploying network configuration
CN102821038A (en) Method and system for data traffic handling in a distributed fabric protocol (dfp) switching network architecture
CN102132511A (en) Virtual switch quality of service for virtual machines
CN107276783A (en) A kind of methods, devices and systems for realizing virtual machine unified management and intercommunication
CN103840996B (en) The method and system of user port VLAN traffic management are realized in optical network unit
CN103475559B (en) Method and system for processing and transmitting message according to contents of message
WO2015196961A1 (en) Device, system and method for providing quality of service (qos) for service packet
CN106685903A (en) Data transmission method based on SDN, SDN controller and SDN system
CN101626323A (en) Method and device for monitoring network data flow
CN104704772A (en) Communication system, virtual network management apparatus, virtual network management method and program
CN106453138A (en) Message processing method and apparatus
CN107566237A (en) A kind of data message processing method and device
CN105262703A (en) Routing bandwidth allocation method based on double priorities
CN102045607B (en) Method for enhancing QoS (Quality of Service) and VLAN (Virtual Local Area Network) processing capability in EPON (Ethernet Passive Optical Network) system
CN102377645B (en) Exchange chip and realization method thereof
CN103200126B (en) XG-PON system flow management device and method

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: 20110420

Termination date: 20170116

CF01 Termination of patent right due to non-payment of annual fee