CN108206758A - A kind of ether L 2 virtual private network service localization method and device - Google Patents

A kind of ether L 2 virtual private network service localization method and device Download PDF

Info

Publication number
CN108206758A
CN108206758A CN201611187113.2A CN201611187113A CN108206758A CN 108206758 A CN108206758 A CN 108206758A CN 201611187113 A CN201611187113 A CN 201611187113A CN 108206758 A CN108206758 A CN 108206758A
Authority
CN
China
Prior art keywords
record
subitem
ether
virtual private
private 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.)
Granted
Application number
CN201611187113.2A
Other languages
Chinese (zh)
Other versions
CN108206758B (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 CN201611187113.2A priority Critical patent/CN108206758B/en
Priority to PCT/CN2017/116630 priority patent/WO2018113607A1/en
Publication of CN108206758A publication Critical patent/CN108206758A/en
Application granted granted Critical
Publication of CN108206758B publication Critical patent/CN108206758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Abstract

The present invention provides a kind of ether L 2 virtual private network service localization method, device, by ether L 2 virtual private network service being accessed and corresponding identification parameter item is stored in matrix basin piece segment table and subitem table, inquiry obtains the piece segment record list of incidence matrix basin after determining the vlan information of ether L 2 virtual private network service access to be positioned, positioning investigation is carried out to ether L 2 virtual private network service to be positioned, the vlan information obtained when service alarm occur in CE access devices quickly positions relevant business, so as to carry out failure solution and business recovery.

Description

A kind of ether L 2 virtual private network service localization method and device
Technical field
The present invention relates to electronic technology field more particularly to a kind of ether L 2 virtual private network service localization methods and dress It puts.
Background technology
PTN (Packet Transport Network, Packet Transport Network) be it is a kind of based on packet switch, towards connection Multi-service unify tranmission techniques, can not only preferably carry carrier ethernet business, meet standardization business, highly reliable Property, flexible expansion, stringent QOS (Quality of Service, service quality) and perfect OAM operation (Operation Administration Maintenance, operation management maintainance) etc. five essential attributes, and taken into account traditional TDM (Time Division Multiplexing, time division multiplexing) and ATM (Asynchronous Transfer Mode, asynchronous biography Defeated pattern) business.
Due to these advantages, in recent years in Metro Ethernet using more and more, wherein ether L 2 virtual private network service Configuration quantity present explosive growth, in face of L2VPN (the Level 2Virtual Private of these big data quantities Network, L 2 virtual private network) management and maintenance become more and more difficult.CE (Customer Edge, client-side device) The access way of equipment access PE (Provider Edge, Provider Edge) network element device supports access mould with PE equipment The difference of type can be divided into three kinds:UNI (User Networks interface, the user network side that earliest period PE equipment is supported Interface) it is directly bound the service access model of VLAN (Virtual Local Area Network, virtual LAN);Follow-up The service access model of UNI binding ClassMap (complex traffic classification) that two generation PE equipment are supported;And current newest PE equipment The service access model of the UNI sub-interfaces of support, a PE equipment only supports a kind of access model, and in practical networking, this three The PE equipment of kind different times may be simultaneously present in a PTN networking.As PTN is in the gradually expansion application of Metropolitan Area Network (MAN), These three access ways are also successively applied in Metropolitan Area Network (MAN).L2VPN quantity inside a Metropolitan Area Network (MAN) reaches certain scale, When the alarms such as service disconnection occur in CE access devices, if artificial investigate potential go wrong in magnanimity ether business by hand It is very difficult, can not quickly carries out scope of business, carries out failure solution and business recovery.
Invention content
Ether L 2 virtual private network service localization method and device provided in an embodiment of the present invention, the technology mainly to be solved Problem is that CE access devices can not be positioned quickly when there is service alarm.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of ether L 2 virtual private network service localization method, Including:
Determine the vlan information of ether L 2 virtual private network service access to be positioned;
It is inquired in the piece segment table of matrix basin to obtain the first incidence matrix basin piece segment record row according to vlan information Table;Matrix basin piece segment table includes at least one matrix basin piece segment record, and a matrix basin piece segment record corresponds to an industry Business access, different access ways are correspondingly arranged different connection identification parameter items, matrix basin segment record storage business pair The identification parameter value for the identification parameter item answered;
It is inquired in subitem table to obtain the record list of the first association subitem, and according to the first association according to vlan information Identification parameter value in subitem record list is inquired to obtain the second incidence matrix basin segment in the piece segment table of matrix basin Record list;Subitem table is recorded including at least one subitem, and a corresponding non-user Network Side Interface of subitem record is direct The service access of virtual LAN is bound, subitem record includes:The identification parameter value of the corresponding identification parameter item of the business and The practical information of virtual local area network accessed of the business;
First incidence matrix basin piece segment record list and the second incidence matrix basin piece segment record list are merged, closed Positioning investigation is carried out to ether L 2 virtual private network service to be positioned in record list after and.
The embodiment of the present invention also provides a kind of ether L 2 virtual private network service positioning device, including:
First determining module, for determining the vlan information of ether L 2 virtual private network service access to be positioned;
First enquiry module is used for according to information of virtual local area network, in the matrix basin piece segment table of memory module deposit into Row inquiry obtains the first incidence matrix basin piece segment record list;Matrix basin piece segment table includes at least one matrix basin segment Record, a matrix basin piece segment record correspond to a service access, and different access ways is correspondingly arranged different connections and knows Other parameter item, the identification parameter value of the corresponding identification parameter item of matrix basin segment record storage business;
Second enquiry module is used for according to information of virtual local area network, is inquired to obtain the first association subitem in subitem table Record list;Subitem table is recorded including at least one subitem, and a corresponding non-user Network Side Interface of subitem record is direct The service access of virtual LAN is bound, subitem record includes:The identification parameter value of the corresponding identification parameter item of the business and The practical information of virtual local area network accessed of the business;
Third enquiry module is used for the identification parameter value in the first association subitem record list, in matrix basin segment It is inquired to obtain the second incidence matrix basin piece segment record list in table;
Positioning investigation module, for by the first incidence matrix basin piece segment record list and the second incidence matrix basin segment It records list to merge, positioning investigation is carried out to ether L 2 virtual private network service to be positioned in record list after merging.
The embodiment of the present invention also provides a kind of computer storage media, and computer is stored in computer storage media to be held Row instruction, computer executable instructions are used to perform the ether L 2 virtual private network service localization method of aforementioned any one.
The beneficial effects of the invention are as follows:
Ether L 2 virtual private network service localization method, device and the computer storage provided according to embodiments of the present invention Medium, by the way that service access and corresponding identification parameter item are stored in matrix basin piece segment table and subitem table, determine it is to be positioned with Too L 2 virtual private network service access vlan information after inquiry obtain the piece segment record list of incidence matrix basin, to it is to be positioned with Too L 2 virtual private network service carries out positioning investigation, and the vlan information obtained when service alarm occur in CE access devices is quickly fixed The relevant business in position, so as to carry out failure solution and business recovery.
Description of the drawings
Fig. 1 is the flow chart of a kind of ether L 2 virtual private network service localization method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of ether L 2 virtual private network service localization method provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic diagram of a kind of ether L 2 virtual private network service positioning device that the embodiment of the present invention three provides;
Fig. 4 be the present embodiments relate to PTN network networking schematic diagram.
Specific embodiment
The embodiment of the present invention is described in further detail below by specific embodiment combination attached drawing.
Embodiment one:
Relevant business is quickly positioned in order to reach the vlan information obtained when service alarm occur in CE access devices Purpose, an embodiment of the present invention provides a kind of ether L 2 virtual private network service localization method, idiographic flow refers to Fig. 1.
A matrix basin piece segment record is configured in S101, a service access, and different access ways is correspondingly arranged difference Connection identification parameter item, the identification parameter value of the corresponding identification parameter item of business is stored in the record, and by each matrix Basin segment record composition matrix basin piece segment table.
S102 is directly bound a non-UNI service access of VLAN, and a subitem record, subitem record is configured Including:The identification parameter value of the corresponding identification parameter item of the business and the practical vlan information accessed of the business, and by each item Subitem record composition subitem table.
A kind of virtual private network VPN not still product, even more a kind of service.Virtual Private Network establishes privately owned number by public network According to transmission channel, long-range divisional office, business parnter, mobile office personnel etc. are connected, the remote of enterprise can be mitigated Journey interview expenses is born, and is reduced expenses, and can provide safe data communication method end to end.With PTN nets shown in Fig. 4 It is illustrated for network, as shown in figure 4, PTN network includes 5 PE equipment, at a time, 10 CE equipment are linked into PTN In network, networking schematic diagram is as shown in figure 4, this step accesses each single item service access of PE network element devices all for CE equipment A matrix basin piece segment record can be formed, all matrix basin piece segment records are formed into matrix basin as shown in table 1 below Piece segment table, is maintained in system network management, can be corresponded to corresponding to three kinds of different access ways of CE equipment access PE network element devices Different connection identification parameter items is set, the identification parameter value of identification parameter item is stored in the matrix basin piece segment record, it will Each matrix basin segment record composition matrix basin piece segment table.
Table 1
In practical applications, matrix basin fragment label symbol in identification field, such as " 100/101 " in PE equipment only One.
Background technology part describes 3 kinds of access models:Earliest period PE equipment (PE1, PE3, PE4 in such as Fig. 4) is supported UNI be directly bound the service access model of VLAN;The UNI bindings that follow-up second generation PE equipment (PE2 in such as Fig. 4) is supported The service access model of ClassMap;And the business of UNI sub-interfaces that current newest PE equipment (PE5 in such as Fig. 4) is supported Access model.In these three access ways, the business that the UNI that earliest period PE equipment is supported is directly bound VLAN by the application connects Enter model and be denoted as the service access that UNI is directly bound VLAN, the business of UNI bindings ClassMap that second generation PE equipment is supported The service access model of UNI sub-interfaces that access model and newest PE equipment are supported is denoted as the industry that non-UNI is directly bound VLAN Business access;Below to the specific access way of CE equipment access PE network element devices (the different access moulds that corresponding PE equipment is supported Type) it is described further:
It is directly bound in the service access mode of VLAN in UNI, chooses a uni port first, user directly sets one The VLAN not used before a uni port binds the uni port, one FP (Flow Point, flow point) of formation, so After be linked into some PE network element device, form MFDFr (Matrix Flow Domain Fragment, a matrix basin piece Section).For this access module, step S101 of the present invention can generate a matrix basin segment after this MFDFr formation Record is stored in table 1, while can generate a matrix basin segment-flow point record, is stored in the matrix basin piece shown in the following table 2 In the list of section-flow point, if FP1, FP4 in table 2 are to FP7, primary fields include:FP flow points title, FP flow points parameter and right The value of FP flow point parameters answered.In practical applications, FP flow points parameter can also be stream classification marker for access customer VLAN Symbol.
Table 2
In the service access mode of UNI binding complex traffic classifications, complex traffic classification module centralized maintenance access client The configuration of VLAN, uni port form a FP by the binding with complex traffic classification, are then linked into some PE network element and set It is standby, form a MFDFr.For this access module, step S102 of the present invention can generate one after this MFDFr formation Matrix basin piece segment record is stored in table 1, while can generate a matrix basin segment-flow point record, is stored in table 2, example After CE2 and CE3 accesses PE2, the FP2 and FP3 in table 2 are formed;Simultaneously as UNI binding complex traffic classifications are direct for non-UNI The service access of VLAN is bound, after CE2 and CE3 access PE2, a complex traffic classification record can be generated, be stored in as shown in table 3 In complex traffic classification table subitem table.
Table 3
In the service access pattern of UNI sub-interfaces, for the uni port under different PE network elements according to the division of VLAN Different UNI sub-interfaces are generated, since sub-interface contains vlan information in itself, a FP is then formed, accesses MFDFr.Needle To this access module, step S102 of the present invention can generate a matrix basin piece segment record after this MFDFr formation, It is stored in table 1, simultaneously as the service access pattern of UNI sub-interfaces is the service access that non-UNI is directly bound VLAN, CE8, After CE9 and CE10 accesses PE5, a sub-interface record can be generated, is stored in sub-interface table subitem table as shown in table 4.
Table 4
In practical applications, the stream classification marker symbol and sub-interface title that table 3 and table 4 are related to, are safeguarded in each PE equipment Table in, can be the same or different;Multiple CE equipment under same PE equipment can use one in a manner of LAN A VLAN values can also use individually a VLAN value, realize that simply the application repeats no more.
S103 determines the vlan information of ether L 2 virtual private network service access to be positioned.
If certain CE equipment ether service alarm occurs when states, need to position the business, which is ether to be positioned L 2 virtual private network service.By inquiring engineering O&M table, operation maintenance personnel can obtain the VLAN of the practical access of the CE equipment Information, it is to access PE, such as access with VLAN=x with user vlan=1000 now to set the CE equipment, is described below.
S104 is inquired according to the vlan information in the piece segment table of matrix basin to obtain the first incidence matrix basin segment Record list.
It is inquired to obtain " vlan information actually accessed " attribute in the piece segment table of matrix basin and value VLAN is equal to All matrix basin piece segment records of VLAN x, by these matrix basins, piece segment record, which is put together, forms the first incidence matrix stream Domain piece segment record list.
With reference to table 2 it is found that when user vlan=1000, qualified FP flow points title is obtained:FP1, FP4 and FP5, It is matched again with table 1 by flow point list, finds the first incidence matrix basin piece segment record list and include:PE1-100、 PE3-100 and PE4-100.
S105 is inquired according to the vlan information in all subitem tables to obtain the record list of the first association subitem, and Identification parameter value in the first association subitem record list is inquired to obtain in all matrix basin piece segment tables the Two incidence matrix basin piece segment record lists.
The vlan information attribute actually accessed is inquired in all subitem tables and value VLAN is equal to VLAN x All subitems record, put to obtain these subitems record the record list of together the first association subitem.Further according to first pass Join the identification parameter in subitem record list, inquire identical identification parameter in all matrix basin piece segment tables, obtain second The piece segment record list of incidence matrix basin.
With reference to table 3 it is found that when user vlan=1000, find stream classification marker symbol and meet for the business of PE2-B, so Flow point FP3 of the stream classification marker symbol for PE2-B is found in table 2 afterwards, then is matched with table 1 by flow point list, is obtained Business PE2-101;
With reference to table 4 it is found that when user vlan=1000, meeting for the entitled PE5-SIP8 of sub-interface is found, then It is PE5-100 that the business that flow point list is PE5-SIP8 is found in table 1;
Therefore, the second incidence matrix basin piece segment record list that this step is found includes:PE2-101 and PE5-100.
S106 closes the first incidence matrix basin piece segment record list and the second incidence matrix basin piece segment record list And positioning investigation is carried out to ether L 2 virtual private network service to be positioned in record list after merging.
By the first incidence matrix basin piece segment record list that step 104 obtains with step 105 obtains second is associated with square Battle array basin piece segment record list merges, and forms record list.Record list is exported and gives terminal operation maintenance personnel, operation maintenance personnel according to This result carries out positioning investigation to ether L 2 virtual private network service to be positioned.
Above-mentioned steps are accepted, the record list after this step merges includes:PE1-100、PE3-100、PE4-100、PE2- 101 and PE5-100.
Ether L 2 virtual private network service localization method provided in an embodiment of the present invention, by by service access and corresponding Identification parameter item is stored in matrix basin piece segment table and subitem table, is determining ether L 2 virtual private network service access to be positioned Inquiry obtains the piece segment record list of incidence matrix basin after vlan information, and ether L 2 virtual private network service to be positioned is determined Position investigation, the vlan information obtained when service alarm occur in CE access devices quickly position relevant business, so as to carry out event Barrier solves and business recovery.
Obviously, those skilled in the art should be understood that the first incidence matrix basin piece segment record list, the first association Item record list and the second incidence matrix basin fragment list a certain list therein may be sky, but not influence next Step.If the scheme of the embodiment of the present invention is applied to other scene, plan content is accordingly changed, also should all be regarded To belong to the scope of protection of the present invention.
Embodiment two:
The embodiment of the present invention provides a kind of ether L 2 virtual private network service localization method, and idiographic flow refers to Fig. 2.
S201, configuring matrix basin piece segment table and subitem table.
A matrix basin piece segment record is configured to each single item service access and forms matrix basin piece segment table.Different accesses Mode is correspondingly arranged different identification parameter items, and the identification parameter value of the corresponding identification parameter item of each single item business is stored in the industry In the matrix basin piece segment record of business, Tables 1 and 2 is seen.
To each single item, non-UNI is directly bound the service access and UNI of the service access i.e. UNI binding complex traffic classifications of VLAN A subitem record is configured in the service access of sub-interface.In the service access that complex traffic classification is bound for UNI, the son of configuration Item record includes:The stream classification marker of vlan information, affiliated PE net element informations, service access actually accessed accords with.For UNI The service access of interface, the subitem record of configuration include:The vlan information that actually accesses, sub-interface title.These subitems are remembered Record composition subitem table, is shown in Table 3 and table 4.
S202 determines all PE equipment being connected with the CE equipment belonging to ether L 2 virtual private network service to be positioned.
There is ether service alarm in existing CE1 equipment, which is ether L 2 virtual private network service to be positioned, the positioning industry CE equipment belonging to business is CE1 equipment, and coupled all PE equipment are PE1 equipment.
S203, using the matrix basin piece segment table of all PE equipment managements and/or subitem table as two layers of void of ether to be positioned Intend the query context of the vlan information of private network service access.
It will all matrix basins piece of all " affiliated PE net element informations " attributes for " PE1 " from table 1, table 2, table 3, table 4 Segment record and subitem record extract, and form as ether L 2 virtual private network service to be positioned looking into for the vlan information that accesses Ask range.Query context is shown in Table 5, table 6, all matrix basin segment record groups that table 5 is PE1 for affiliated PE net element informations attribute Into matrix basin piece segment table, the matrix basin segment of all FP-flow point row that table 6 is PE1 for affiliated PE net element informations attribute Table since table 3 and table 4 are without reference to the FP that affiliated PE net element informations attribute is PE1, directly excludes.
Table 5
Table 6
S204 determines the vlan information of ether L 2 virtual private network service access to be positioned.
Determine that the CE equipment belonging to ether L 2 virtual private network service to be positioned is CE1 equipment, the vlan information of access is VLAN values are 1000.
S205, according to the inquiry model for the vlan information that the vlan information accesses ether L 2 virtual private network service to be positioned Matrix basin piece segment table in enclosing is inquired to obtain the first incidence matrix basin piece segment record list.
Inquired to obtain " vlan information actually accessed " attribute in table 6 and value VLAN be equal to 1000 all squares Battle array basin segment is recorded as FP1, inquires corresponding matrix basin piece segment record, the first incidence matrix stream from table 5 with " FP1 " Domain piece segment record list is FP1.
S206 is inquired according to the vlan information in all subitem tables to obtain the record list of the first association subitem.
Be equal to 1000 according to " vlan information actually accessed " attribute and value VLAN, from table 3, table 4 inquiry obtain the One association subitem record list, is at this time sky.
S207, the identification parameter in the first association subitem record list carry out in all matrix basin piece segment tables Inquiry obtains the second incidence matrix basin piece segment record list.
Due to the first association subitem record, list is empty, and it is also sky to obtain the second incidence matrix basin piece segment record list.
S208 merges the first incidence matrix basin piece segment record list and the second incidence matrix basin piece segment record list Into record list.
By the first incidence matrix basin piece segment record list (table 5) and the second incidence matrix basin piece segment record list (for It is empty) record list is merged into, it is shown in Table 7.
Table 7
S209 carries out positioning investigation in list is recorded to ether L 2 virtual private network service to be positioned.
Operation maintenance personnel carries out positioning investigation according in record list (table 7), finds CE1 equipment and the business alerted correspondence occurs Matrix basin segment, the alarm of final reconditioning work.
Ether L 2 virtual private network service localization method provided in an embodiment of the present invention can adapt to the VLAN of various complexity Access module, and this complexity is encapsulated in inside, a simple interface externally is presented to user, it is only necessary to which user inputs The VLAN values inquired and/or PE network elements are needed, just can quickly position corresponding matrix basin segment and is returned the result.
Obviously, those skilled in the art should be understood that step 202 and 203 determines ether L 2 virtual private network to be positioned The query context of the vlan information of service access may be located on finally, being provided to further reduce query context.It if will When the scheme of the embodiment of the present invention is applied to other scene, plan content is accordingly changed, also should all be considered as belonging to this The protection domain of invention.
Embodiment three:
The embodiment of the present invention provides a kind of ether L 2 virtual private network service positioning device, and specific schematic diagram refers to Fig. 3. Each module and function are further described below, including the first configuration module 301, memory module 302, the second configuration module 303rd, the first determining module 304, the first enquiry module 305, the second enquiry module 306, third enquiry module 307, merging module 308th, positioning investigation module 309, wherein,
First configuration module 301 is used to that a matrix basin piece segment record to be configured to each single item service access, and different connects Enter mode and be correspondingly arranged different connection identification parameter items, memory module 302 joins the identification of the corresponding identification parameter item of business Numerical value is stored in the matrix basin piece segment record, and will be in the piece segment table of each matrix basin piece segment record deposit matrix basin.
The first configuration module 301 is used to access each single item service access of PE network element devices all to CE equipment in virtual Private Network A matrix basin piece segment record can be configured.It can be right corresponding to three kinds of different access ways of CE equipment access PE network element devices Different connection identification parameter items should be set, and the identification parameter value of identification parameter item is stored in the matrix basin by memory module 302 In piece segment record, and each matrix basin piece segment record is stored in matrix basin piece segment table.PE network elements are accessed to CE equipment below The specific access way of equipment is described further:
UNI is directly bound in the service access of VLAN, chooses a uni port first, and user directly sets the UNI The VLAN not used before port binds the uni port, then one FP of formation is linked into some PE network element and sets It is standby, form a MFDFr.After this MFDFr is formed, the first configuration module 301 can generate a matrix basin piece segment record, Memory module 302 is deposited into the piece segment table of matrix basin.Identification parameter item includes matrix basin fragment label symbol, affiliated PE nets Member, flow point list.The Business Name of matrix basin fragment label symbol storage institute's generator matrix basin segment, affiliated PE network elements storage The ID of PE network elements is accessed, flow point list items store the FP titles generated after this uni port binding VLAN.As shown in table 1, such as MFDFr1 is that UNI is directly bound the FP1 that the business of VLAN is formed, and is connected to PE network element devices PE1.
Memory module 302 be used for using UNI be directly bound VLAN service access practical vlan information as identification parameter The identification parameter value of item is stored in the matrix basin piece segment record.As shown in table 2, matrix basin piece segment table shows the FP names of generation Title, FP flow points parameter, the value of FP flow point parameters.Such as the FP1 that UNI and VLAN access ways are formed, the corresponding FP flow points of FP1 Parameter is the access VLAN values that the value that the value of VLAN, FP flow point parameter set by user is stored is exactly UNI bindings, is 1000. In the present embodiment, matrix basin piece segment table is divided into Tables 1 and 2 for convenience of description, actually Tables 1 and 2 can be one A list.
In the service access of UNI binding complex traffic classifications, complex traffic classification module centralized maintenance access customer VLAN Configuration, uni port form a FP by the binding with complex traffic classification, are then linked into some PE network element device, are formed One MFDFr.After this MFDFr is formed, the first configuration module 301 can generate a matrix basin piece segment record, store mould Block 302 is deposited into the piece segment table of matrix basin.UNI is bound the flow point of the service access of complex traffic classification by memory module 302 The value of class marker character is stored in the matrix basin piece segment record as the identification parameter value of identification parameter item.As shown in table 1, such as MFDFr2 is that UNI binds the FP2 that the business of complex traffic classification is formed, and is connected to PE network element devices PE1.As shown in table 2, FP2 FP flow points parameter is stream classification marker symbol, and value selects the flow point class name bound in uni port, such as flow point for front user Class marker character A.
In the service access of UNI sub-interfaces, generated not according to the division of VLAN for the uni port under different PE network elements Same UNI sub-interfaces since sub-interface contains vlan information in itself, then form a FP, access MFDFr.This MFDFr After formation, the first configuration module 301 can generate a matrix basin piece segment record, and memory module 302 is deposited into matrix stream In the piece segment table of domain.Memory module 302 is using the value of the sub-interface title of the service access of UNI sub-interfaces as identification parameter item Identification parameter value deposit matrix basin piece segment record.The vlan information actually accessed is embodied in sub-interface in itself, therefore UNI connects The vlan information of the practical access of the service access of mouth does not have to be stored in table 2 again.As shown in table 1, MFDFr3 is UNI sub-interfaces Business formed FP3, be connected to PE network element devices PE1.
A subitem note is configured in the service access that second configuration module 303 is directly bound VLAN for the non-UNI to each single item Record.Subitem record includes:The identification parameter value of the corresponding identification parameter item of the business and the practical VLAN accessed of the business Information.Memory module 302 will be in each subitem record deposit subitem table.
For in the service access of UNI binding complex traffic classifications, the subitem record of configuration includes:The VLAN letters actually accessed The stream classification marker symbol of breath, affiliated PE net element informations, service access.Complex traffic classification data subitem table is as shown in table 3.Practical fortune In, some VLAN access information data can be first configured in user in this functional areas of complex traffic classification, according to respectively needing needle To the different relevant flow point classes of PE network element configurations, the title of the stream classification marker symbol row storage flow point class of service access is affiliated PE net element informations row represent which PE network element is this flow point class name correspond to, and flow point class name only needs to ensure unique in network element , actually access vlan information row represent this flow point class name binding VLAN values.Complex traffic classification module has been safeguarded Later, user can be by selecting uni port to bind flow point class name.
For the service access of UNI sub-interfaces, the subitem record of configuration includes:Vlan information, the sub-interface actually accessed Title.The value of sub-interface title contains its affiliated PE net element information, therefore does not need to individually list affiliated PE net element informations, The vlan information row actually accessed represent the VLAN values bound in the UNI sub-interfaces.For example, as shown in table 4, sub-interface 1 accesses PE1 equipment, the vlan information actually accessed are 1003.
First determining module 304 is used to determine the vlan information of ether L 2 virtual private network service access to be positioned.
It when ether service alarm occurs in certain CE equipment, needs to position the business, which is two layers of ether to be positioned Virtual private network service.By inquiring engineering O&M table, the first determining module 304 can determine CE alarm equipments " the practical access Vlan information " i.e. ether L 2 virtual private network service to be positioned access vlan information.It is with VLAN now to set the CE equipment X accesses PE's.
According to the vlan information that the first determining module 304 determines, the first enquiry module 305 is used to deposit in memory module 302 It is inquired in all matrix basin piece segment tables of storage, obtains the first incidence matrix basin piece segment record list.
It is inquired to obtain " vlan information actually accessed " category in the matrix basin piece segment table stored in memory module 302 Property and value VLAN be equal to all matrix basin piece segment records of x, by these matrix basins, piece segment record is put together composition the One incidence matrix basin piece segment record list.
According to the vlan information that the first determining module determines, the second enquiry module 306 is used to carry out in all subitem tables Inquiry obtains the record list of the first association subitem, and according to the identification parameter value in the first association subitem record list, third is looked into Module 307 is ask to be inquired to obtain the second incidence matrix basin piece segment record list in all matrix basin piece segment tables.
Second enquiry module 306 is inquired the vlan information attribute actually accessed and value in all subitem tables All subitems of the VLAN equal to x record, these subitems record is put together to obtain the record list of the first association subitem.Third is looked into Module 307 is ask further according to the identification parameter in the first association subitem record list, is inquired in all matrix basin piece segment tables Identical identification parameter obtains the second incidence matrix basin piece segment record list.
Merging module 308, for by the first incidence matrix basin piece segment record list and incidence matrix basin piece segment record List merges generation record list.
First enquiry module 305 obtains the first incidence matrix basin piece segment record list and third enquiry module 307 obtains Second incidence matrix basin piece segment record list attribute row are identical, and merging module 308 is merged generation record list.
Positioning investigation module 309, in the record list that is generated in merging module 308 to ether two-layer virtual to be positioned Private network business carries out positioning investigation.
Positioning investigation module 309 investigates the corresponding square of ether L 2 virtual private network service to be positioned according to record list positioning Battle array basin segment.
In addition, the ether L 2 virtual private network service positioning device in the present embodiment can also include:
Second determining module 310, for determining to be connected with the CE equipment belonging to ether L 2 virtual private network service to be positioned All PE equipment;
The slave memory module 302 for all PE equipment managements that third determining module 311 is determined according to the second determining module 310 In the matrix basin piece segment table and/or subitem table of storage, the VLAN letters of ether L 2 virtual private network service access to be positioned are determined The query context of breath.
It is connected by what the second determining module 310 determined with the CE equipment belonging to ether L 2 virtual private network service to be positioned All PE equipment, third determining module 311 can from memory module 302 store matrix basin piece segment table and/or subitem table In, it further determines that the query context of the vlan information of ether L 2 virtual private network service access to be positioned, reduces the first inquiry The query context of 305 and second enquiry module 306 of module.
Ether L 2 virtual private network service positioning device provided in an embodiment of the present invention is accessed and corresponding by configuration service Identification parameter item and be stored in matrix basin piece segment table and subitem table, determining ether L 2 virtual private network service to be positioned access Vlan information after inquiry obtain the piece segment record list of incidence matrix basin, to ether L 2 virtual private network service to be positioned carry out Positioning investigation, the vlan information obtained when service alarm occur in CE access devices quickly positions relevant business, so as to carry out Failure solves and business recovery.
Obviously, those skilled in the art should be understood that each module of each embodiment of the invention described above or each step can be with It is realized with general computing device, they can concentrate on single computing device or be distributed in multiple computing devices On the network formed, optionally, they can be realized with the program code that computing device can perform, it is thus possible to by it Be stored in computer storage media (ROM/RAM, magnetic disc, CD) and performed by computing device, and in some cases, It can be with the steps shown or described are performed in an order that is different from the one herein or they are fabricated to each integrated circuit respectively Multiple modules in them or step are fabricated to single integrated circuit module to realize by module.So the present invention is unlimited Any specific hardware and software is formed on to combine.
The above content is the further descriptions made with reference to specific embodiment to the embodiment of the present invention, it is impossible to recognize The specific implementation of the fixed present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, Without departing from the inventive concept of the premise, several simple deduction or replace can also be made, should all be considered as belonging to the present invention Protection domain.

Claims (10)

1. a kind of ether L 2 virtual private network service localization method, which is characterized in that including:
Determine the information of virtual local area network of ether L 2 virtual private network service access to be positioned;
It is inquired in the piece segment table of matrix basin according to the information of virtual local area network, obtains the first incidence matrix basin segment Record list;The matrix basin piece segment table includes at least one matrix basin piece segment record, a matrix basin piece segment record A corresponding service access, different access ways are correspondingly arranged different connection identification parameter items, matrix basin segment The identification parameter value of the corresponding identification parameter item of record storage business;
Inquired in subitem table according to the information of virtual local area network, obtain the first association subitem record list, and according to Identification parameter value in the first association subitem record list is inquired to obtain second in the matrix basin piece segment table The piece segment record list of incidence matrix basin;The subitem table is recorded including at least one subitem, and a subitem record is one corresponding Non-user Network Side Interface is directly bound the service access of virtual LAN, and the subitem record includes:The corresponding knowledge of the business The practical information of virtual local area network accessed of identification parameter value and the business of other parameter item;
The first incidence matrix basin piece segment record list and the second incidence matrix basin piece segment record list are merged, closed Positioning investigation is carried out to ether L 2 virtual private network service to be positioned in record list after and.
2. ether L 2 virtual private network service localization method as described in claim 1, which is characterized in that further include:
All PE equipment being connected with the CE equipment belonging to ether L 2 virtual private network service to be positioned are determined, by all PE The matrix basin piece segment table and/or subitem table of equipment management are accessed as the ether L 2 virtual private network service to be positioned Information of virtual local area network query context.
3. ether L 2 virtual private network service localization method as claimed in claim 1 or 2, which is characterized in that further include:
User network side interface is directly bound the practical information of virtual local area network of the service access of virtual LAN as identification The identification parameter value of parameter item is stored in the record;
Using the value of the stream classification marker symbol of the service access of user network side interface binding complex traffic classification as identification parameter The identification parameter value of item is stored in the record;
Join the value of the sub-interface title of the service access of user network side interface sub-interface as the identification of identification parameter item Numerical value is stored in the record.
4. ether L 2 virtual private network service localization method as claimed in claim 1 or 2, which is characterized in that further include:It will be same The subitem table of subitem record composition the type of one service access type, each subitem record group is into the son of multiple and different types Item table.
5. ether L 2 virtual private network service localization method as claimed in claim 3, which is characterized in that for user network side Interface binds the service access of complex traffic classification, and the subitem record of configuration includes:It is the information of virtual local area network that actually accesses, affiliated The stream classification marker symbol of PE net element informations, service access;For the service access of user network side interface sub-interface, the son of configuration Item record includes:The information of virtual local area network that actually accesses, sub-interface title.
6. a kind of ether L 2 virtual private network service positioning device, which is characterized in that including:Memory module, the first determining module, First enquiry module, the second enquiry module, third enquiry module, merging module, positioning investigation module, wherein,
First determining module is used to determine the information of virtual local area network of ether L 2 virtual private network service access to be positioned;
First enquiry module is used for according to the information of virtual local area network, in the matrix stream of memory module deposit It is inquired to obtain the first incidence matrix basin piece segment record list in the piece segment table of domain;The matrix basin piece segment table is included at least One matrix basin piece segment record, a matrix basin piece segment record correspond to a service access, and different access ways corresponds to Different connection identification parameter items is set, the identification ginseng of the corresponding identification parameter item of the matrix basin segment record storage business Numerical value;
Second enquiry module is used for according to the information of virtual local area network, is inquired to obtain first in the subitem table It is associated with subitem record list;The subitem table is recorded including at least one subitem, a corresponding non-user net of subitem record Network side interface is directly bound the service access of virtual LAN, and the subitem record includes:The corresponding identification parameter item of the business Identification parameter value and the practical information of virtual local area network accessed of the business;
The third enquiry module is used for the identification parameter value in the described first association subitem record list, in the matrix It is inquired to obtain the second incidence matrix basin piece segment record list in the piece segment table of basin;
The merging module, for by the first incidence matrix basin piece segment record list and the second incidence matrix basin segment It records list and merges generation record list;
The positioning investigation module, for being positioned in the record list to ether L 2 virtual private network service to be positioned Investigation.
7. ether L 2 virtual private network service positioning device as claimed in claim 6, which is characterized in that further include:
Second determining module, for determining all PE being connected with the CE equipment belonging to ether L 2 virtual private network service to be positioned Equipment;
All PE equipment managements that third determining module is determined according to second determining module from the matrix basin Piece segment table and/or subitem table determine the inquiry of the information of virtual local area network of the ether L 2 virtual private network service access to be positioned Range.
8. ether L 2 virtual private network service positioning device as claimed in claims 6 or 7, which is characterized in that the storage mould Block be used for using user network side interface be directly bound virtual LAN service access practical information of virtual local area network as knowledge The identification parameter value of other parameter item is stored in the record;By the service access of user network side interface binding complex traffic classification The value for flowing classification marker symbol is stored in as the identification parameter value of identification parameter item in the record;By user network side joint openning The value of the sub-interface title of the service access of interface is stored in as the identification parameter value of identification parameter item in the record.
9. ether L 2 virtual private network service positioning device as claimed in claims 6 or 7, which is characterized in that the storage mould Block is used for the subitem table of the subitem of same service access type record composition the type, each subitem record group into it is multiple not The subitem table of same type.
10. ether L 2 virtual private network service positioning device as claimed in claim 8, which is characterized in that for user network Side interface binds the service access of complex traffic classification, and the subitem record of configuration includes:The information of virtual local area network that actually accesses, institute Belong to PE net element informations, the stream classification marker of service access accords with;For the service access of user network side interface sub-interface, configuration Subitem record includes:The information of virtual local area network that actually accesses, sub-interface title.
CN201611187113.2A 2016-12-20 2016-12-20 Ethernet two-layer virtual private network service positioning method and device Active CN108206758B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611187113.2A CN108206758B (en) 2016-12-20 2016-12-20 Ethernet two-layer virtual private network service positioning method and device
PCT/CN2017/116630 WO2018113607A1 (en) 2016-12-20 2017-12-15 Method and apparatus for positioning ethernet layer-two virtual private network service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611187113.2A CN108206758B (en) 2016-12-20 2016-12-20 Ethernet two-layer virtual private network service positioning method and device

Publications (2)

Publication Number Publication Date
CN108206758A true CN108206758A (en) 2018-06-26
CN108206758B CN108206758B (en) 2021-11-23

Family

ID=62604213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611187113.2A Active CN108206758B (en) 2016-12-20 2016-12-20 Ethernet two-layer virtual private network service positioning method and device

Country Status (2)

Country Link
CN (1) CN108206758B (en)
WO (1) WO2018113607A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071464B (en) * 2020-08-06 2023-08-15 中国移动通信集团上海有限公司 Private network implementation method, device and equipment based on 5G message and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal
US20080049638A1 (en) * 2006-08-22 2008-02-28 Ray Amar N System and method for monitoring and optimizing network performance with user datagram protocol network performance information packets
US20110096670A1 (en) * 2009-10-28 2011-04-28 Tellabs Operations, Inc. Methods and apparatuses for performing switching and for exchanging management-requested switching messages between nodes for 1:1 bidirectional virtual local area network (vlan) protection without using y.1731-based automatic protection switching (aps) messages
CN102790692A (en) * 2011-05-19 2012-11-21 中兴通讯股份有限公司 Method for calculating network element interface and web master
CN103905236A (en) * 2012-12-28 2014-07-02 中国移动通信集团福建有限公司 Terminal positioning method, system and device
CN104065501A (en) * 2013-03-22 2014-09-24 中兴通讯股份有限公司 Method for positioning network fault in network management system and device thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143089B (en) * 2011-05-18 2013-12-18 广东凯通软件开发有限公司 Routing method and routing device for multilevel transport network
CN102307129A (en) * 2011-09-09 2012-01-04 南京邮电大学 Real-time network element topology discovery method for IP (internet protocol) metropolitan area network
CN103200025B (en) * 2013-02-19 2016-06-08 华为技术有限公司 A kind of visual method and device representing routing state in Quickly regroup
WO2015066376A1 (en) * 2013-10-30 2015-05-07 Airstone Labs, Inc. System and methods for physical link routing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal
US20080049638A1 (en) * 2006-08-22 2008-02-28 Ray Amar N System and method for monitoring and optimizing network performance with user datagram protocol network performance information packets
US20110096670A1 (en) * 2009-10-28 2011-04-28 Tellabs Operations, Inc. Methods and apparatuses for performing switching and for exchanging management-requested switching messages between nodes for 1:1 bidirectional virtual local area network (vlan) protection without using y.1731-based automatic protection switching (aps) messages
CN102790692A (en) * 2011-05-19 2012-11-21 中兴通讯股份有限公司 Method for calculating network element interface and web master
CN103905236A (en) * 2012-12-28 2014-07-02 中国移动通信集团福建有限公司 Terminal positioning method, system and device
CN104065501A (en) * 2013-03-22 2014-09-24 中兴通讯股份有限公司 Method for positioning network fault in network management system and device thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SHIFENG LIU,RONG CHEN: "Construction of PTN based Information Transmission System", 《CAMAN》 *
张欣: "PTN网络演进中的OAM研究", 《中国优秀硕士学位论文数据库》 *

Also Published As

Publication number Publication date
WO2018113607A1 (en) 2018-06-28
CN108206758B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN101641913B (en) Configuration tool for MPLS virtual private network topologies
CN102843286B (en) Implementation method, and system of virtual routers
CN107547333B (en) Method and apparatus for implementing a combined virtual private network VPN
CN108063672B (en) A kind of management method and device of video conference terminal
EP1132844A2 (en) E-commerce system facilitating service networks including broadband communication service networks
US7613130B2 (en) Method for determining the relationship of a customer edge router with virtual private network
CN105308915A (en) A method and system for network and intra-portal link (ipl) sharing in distributed relay control protocol (drcp)
CN106797324A (en) Method and system for supporting distributed relay control protocol (DRCP) operation when mismatching and putting
CN101640825A (en) Integration of three networks
CN107733795B (en) Ethernet virtual private network EVPN and public network intercommunication method and device
CN105007220B (en) Inter-domain routing manages system, method, field adapter and transmission network
CN108650177A (en) The method and system of cross-domain service configuration are carried out to SPTN equipment
CN105530200B (en) The VLAN allocation method of different terminals business
CN107919982A (en) A kind of DCI management platforms and its management method
CN105933248A (en) Service Insertion In Basic Virtual Network Environment
CN109327374A (en) Realize the system and method for three-layer VPN network insertion
CN105049222B (en) For realizing the methods, devices and systems of transmission network inter domain management
CN108566412A (en) A kind of data service method and data service device
CN108206758A (en) A kind of ether L 2 virtual private network service localization method and device
CN109600291B (en) Cross-domain QoS (quality of service) adjusting method and device
CN101304337A (en) Method and apparatus for generating access topology of service VPN
CN107689920A (en) A kind of multi-service end to end route cognitive method automatically
CN116319296A (en) Method and device for deploying data centers in cross-SD-WAN fusion mode
CN109167729A (en) Topology discovery method, device and multi-service transport network system
Cisco Getting Started

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant