CN101635684B - Method and system for classifying service flow - Google Patents

Method and system for classifying service flow Download PDF

Info

Publication number
CN101635684B
CN101635684B CN2009101680764A CN200910168076A CN101635684B CN 101635684 B CN101635684 B CN 101635684B CN 2009101680764 A CN2009101680764 A CN 2009101680764A CN 200910168076 A CN200910168076 A CN 200910168076A CN 101635684 B CN101635684 B CN 101635684B
Authority
CN
China
Prior art keywords
service
type
customer flow
business interface
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.)
Active
Application number
CN2009101680764A
Other languages
Chinese (zh)
Other versions
CN101635684A (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 CN2009101680764A priority Critical patent/CN101635684B/en
Publication of CN101635684A publication Critical patent/CN101635684A/en
Application granted granted Critical
Publication of CN101635684B publication Critical patent/CN101635684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a system for classifying service flow. The method comprises the following steps: configuring corresponding relationship between service types and service interfaces; receiving user flow accessed to a circuit by a user, and matching the user flow with the matched service types; transmitting the user flow to the service interfaces corresponding to the service types according to the corresponding relationship between the service types and the service interfaces; configuring the service interfaces into virtual interfaces and interface inner rings binding the virtual private network attribute to ensure that the service flow is endowed with the virtual private network attribute; and searching a virtual private network route and forwarding the service flow by the virtual private network. The invention pre-maps the service types and a bearing channel of services and stores the mapped service types and the bearing channel into a service member corresponding relationship table and forwards according to the relationship table, thereby realizing the quick forwarding of the flow.

Description

A kind of method and system of realizing service stream classification
Technical field
The present invention relates to the communications field, relate more specifically to a kind of method and system of realizing service stream classification.
Background technology
Current; Along with market and changes in technology make the fixed network operator seek new operational strategy transition; Traditional communication service forward Infotainment, the expansion of digitlization sphere of life; Classs of business such as IPTV (IPTV), VoIP (Voice over Internet Protocol, the networking telephone) and P2P (peer-to-peer, equity networking) application are enriched constantly.This makes that broadband network institute loaded service will be from serving as main progressively to develop to the multiple service supporting direction with traditional Internet service.
For operator, different services adheres to different providers separately, needs to be forwarded to VPN (Vitual Private Network, the Virtual Private Network) territory under the corresponding provider to the flow of different business.To this, in traditional service stream classification function, generally take following dual mode to solve.First kind of mode: many vlan (Virtual Local Area Network, VLAN) many session (session) mode.User's different business inserts Bras (BroadbandRemote Access Server from different vlan several times; Broadband Remote Access Server) equipment; User's business can have different VPN attributes according to the vlan that inserts like this, to realize that Business Stream is mapped to different bearer path; The second way: the many session of single vlan.User's different business inserts from identical vlan several times; Through radius (Remote Authentication Dial in User Service; Far-end authentication dial-up access customer service) issues and have different VPN attributes, to realize that Business Stream is mapped to different bearer path.
Along with the multiple digital application equipment of family inserts, home gateway become access network to extending below.With reference to Fig. 1 and shown in Figure 2, be respectively the user and do not insert the structural representation of public network and the user inserts public network through the home gateway access device structural representation through the home gateway access device.Utilize home gateway can strengthen the fine-grained management of operator, make operator to cultivate intensely, strengthen monitoring and managerial ability network to Internet resources to customer service.See two basic functions that family's gateway should possess from using: connect the bridge between all external public networks and the household internal network; Make the user within the family portion can obtain the platform of various home services.From seeing that in logic family's gateway should comprise the function of three aspects: access function, business function and management function.
Home gateway is first network equipment of service terminal access network, is dialled by the home gateway unification after inserting home gateway in the different business terminal, and different service streams is stamped different business types according to the difference that inserts upstream Interface on home gateway.For operator; After the user reaches the standard grade through the home gateway dialing; Because the integrated dissimilar application of home gateway; And these different services adhere to different providers separately, need to discern the VPN territory under the provider automatically according to the type of service of flow, thereby the corresponding business flow is transmitted to the service provider of its subordinate.
So the third requirement has been arranged: the single session mode of single vlan.Yet prior art does not have disclosed implementation, then be necessary to work out the technical scheme that can realize this mode, to satisfy those skilled in the art's application demand.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and system of realizing service stream classification; After can realizing that the user reaches the standard grade through the home gateway one-stage dialing; Type of service according to the different business flow is mapped in the different VPN territories, thereby realizes the function of service stream classification.
In order to solve the problems of the technologies described above, the invention provides a kind of method that realizes service stream classification, comprising:
Configuration service type and business interface corresponding relation;
Receive the customer flow that user's place in circuit gets into, said customer flow and the type of service that is complementary are mated;
According to type of service and business interface corresponding relation customer flow is sent to and the corresponding business interface of said type of service;
This business interface is configured to virtual interface also with in the interface of binding the Virtual Private Network attribute encircles, make Virtual Private Network attribute on the customer flow band;
Search the Virtual Private Network route, with transmitting through Virtual Private Network with the customer flow of going up the Virtual Private Network attribute.
In order to solve the problems of the technologies described above, the present invention also provides a kind of system that realizes service stream classification, comprising:
Configuration module is used for configuration service type and business interface corresponding relation;
Matching module is used to receive the customer flow that user's place in circuit gets into, and said customer flow and the type of service that is complementary are mated;
Sending module is connected with said configuration module, is used for according to type of service and business interface corresponding relation customer flow being sent to and the corresponding business interface of said type of service;
Interior ring module is used for that this business interface is configured to virtual interface and also with in the interface of binding the Virtual Private Network attribute encircles, and makes Virtual Private Network attribute on the customer flow band;
Forwarding module is used to search the Virtual Private Network route, with transmitting through Virtual Private Network with the customer flow of going up the Virtual Private Network attribute.
The invention provides a kind of coupling flow type of service that is easy to realize and realize the method and system that Business Stream is transmitted at different bearer path; Has following advantage: type of service and professional bearer path are shone upon in advance, be stored as professional member's mapping table.Transmit according to relation table, thus the quick forwarding of realization flow.Professional member's mapping table provides order directly to safeguard by platform, and synchronously in real time.This mode is relatively independent, is easy to safeguard.The bearer path of flow is configured to virtual interface, and another virtual interface inside of adopting the mechanism of the inner looper of virtual interface and having the VPN attribute is from ring, even two virtual being equivalent to entity medium of port link to each other, flow can intercommunication.Thereby make flow stamp the VPN mark, need not revise existing VPN structure at device interior.Another aspect, the expense of avoiding physical connection that the use of outer wire jumper brings and actual physics port to take again reduces flow loss link.
Description of drawings
Fig. 1 is the user does not insert public network through the home gateway access device a structural representation;
Fig. 2 is that the user passes through the structural representation that the home gateway access device inserts public network;
Fig. 3 A is the sketch map of Business Stream of the present invention and VPN best property of attribute mapping;
Fig. 3 B is the method flow diagram of realization service stream classification of the present invention;
Fig. 4 is after to be the user through the home gateway dialing reach the standard grade, and various service applications equipment sends the flow process of the server of service traffics in the VPN territory through home gateway;
Fig. 5 A is the system configuration sketch map of realization service stream classification of the present invention;
The structural representation of sending module in Fig. 5 B one embodiment of the present of invention;
Fig. 6 is the server response user request in the VPN territory, sends the signal of service traffics to the public network IP address of family's gateway.
Embodiment
The present invention is directed to the terminal and support the multi-business flow classification feature of home gateway dialing; A kind of method of shining upon the Business Stream type of service to the VPN attribute is proposed; Main thought is that type of service and professional bearer path are shone upon in advance; Be stored as professional member's mapping table, service traffics are transmitted according to professional member's mapping table, thus the quick forwarding of realization flow.The user has different VPN attributes according to the different business flow after reaching the standard grade through the home gateway one-stage dialing, to realize that Business Stream is mapped to different bearer path.
Below in conjunction with accompanying drawing and specific embodiment technical scheme according to the invention is done further to describe in detail so that those skilled in the art can better understand the present invention and can implement, but the embodiment that lifts not conduct to qualification of the present invention.
Shown in Fig. 3 A, be the sketch map of Business Stream of the present invention and VPN best property of attribute mapping.
Shown in Fig. 3 B, be the flow chart of method first embodiment of realization service stream classification of the present invention.Explain below in conjunction with Fig. 3 A and Fig. 3 B and said method comprising the steps of the method for realization service stream classification of the present invention:
Step 301: configuration service type and business interface corresponding relation;
A kind of mode is that type of service and professional bearer path are shone upon, and is stored as professional member's mapping table;
Step 302: with business interface be configured to virtual interface and with the interface intercommunication of binding the VPN attribute, in other words in ring.Wherein, interior ring is the function that has realized on a kind of router device, and interior ring can make two virtual being equivalent to entity medium of port link to each other, and flow can intercommunication.
Step 303: the user reaches the standard grade through home gateway, obtains public network IP address;
Step 304: receive the customer flow that user's place in circuit gets into, said customer flow and the type of service that is complementary are mated;
Step 305: customer flow is sent to and the corresponding business interface of said type of service according to type of service and business interface corresponding relation;
Step 306: customer flow gets into the back from business interface and is forwarded to the VPN network from the corresponding interface that is configured to interior ring, has the VPN attribute;
Step 307: search the VPN route, pass through the VPN forwarded on the service traffics band behind the VPN attribute.
After the user reached the standard grade through the home gateway dialing, various service applications equipment sent service traffics to access device Bras through home gateway.This moment, the source address that has of user was the public network address that home gateway gets access to when reaching the standard grade.Destination address is the server address in the VPN network.
The flow process of method second embodiment of realization service stream classification of the present invention is described below:
401 users reach the standard grade through home gateway, obtain public network IP address;
After 402 users reached the standard grade through home gateway, business 1, business 2, professional 3 flows had three kinds of different business types, set it in this case respectively and were: IP precedence 1, IP precedence 2, IP precedence 3;
403 customer flows get into the back from user's place in circuit and mate according to type of service;
404 configure user circuit are the single session pattern of single vlan, dispose the type of service and the interface corresponding relation of this pattern.Type of service and professional bearer path are shone upon, be stored as professional member's mapping table.The present invention representes three kinds of different service application respectively with professional 1, professional 2, professional 3, and these three kinds of business are mapped to respectively among VPN1, VPN2 and the VPN3.Search member's mapping table according to the type of service of flow matches, send to different service interface Int1, Int3, Int5 then.Fig. 4 is seen in the concrete realization of step 404;
The inner looper of 405 configuration virtual interface Int1 and Int2, Int3 and Int4 inside looper, Iht5 and Int6 inside looper make the flow between the virtual interface behind the looper can two two intercommunicatings;
406 Int2 at equipment, Int4, three ports of Int6 are bound VPN1, VPN2, VPN3 respectively, make flow stamp different VPN attributes, search the VPN routing forwarding.
It is pointed out that step 405,406 does not have the restriction of sequencing.
In above-mentioned flow process, when the configuration of type of service and interface corresponding relation, operator can own configuration service type and the corresponding relation of outgoing interface, and configuration afterwards corresponding relation such as following table is represented:
Customer service The type of service sign Outgoing interface
Type of service 1 IPP1 Int1
Type of service 2 IPP2 Int2
Type of service 3 IPP3 Int3
Wherein the type of service sign is represented the flow identifier of type of service.
With reference to shown in Figure 4; For after user of the present invention reaches the standard grade through home gateway dialing; The flow process that various service applications equipment sends the server of service traffics in the VPN territory through home gateway, the flow chart of step 404 among method second embodiment of realization service stream classification promptly of the present invention comprises:
Step 501: whether the judges circuit arrangement is the single session pattern of single vlan, is execution in step 502 then, otherwise finishes;
Whether according to after the user configuration, carrying out the judges circuit arrangement according to the marker bit of circuit arrangement pattern is the single session pattern of single vlan by Bras equipment;
Step 502: analytic message type of service; The message here is to express identical implication with customer flow;
Step 503: read professional membership table;
Step 504: read member of professional membership table;
Step 505: judging whether the message traffic type matees professional member, is execution in step 506 then, otherwise execution in step 507;
Step 506: encapsulated message, send from business interface, finish;
Step 507: judging whether to also have professional member, is execution in step 504 then, otherwise finishes.
Shown in Fig. 5 A, be the system configuration sketch map of realization service stream classification of the present invention.Said system comprises:
Configuration module 51 is used for configuration service type and business interface corresponding relation;
Matching module 52 is used to receive the customer flow that user's place in circuit gets into, and said customer flow and the type of service that is complementary are mated;
Sending module 53 is connected with said configuration module 51 and matching module 52, is used for according to type of service and business interface corresponding relation customer flow being sent to and the corresponding business interface of said type of service;
Interior ring module 54 is used for that business interface is configured to virtual interface and also with in the interface of binding the Virtual Private Network attribute encircles, and makes Virtual Private Network attribute on the service traffics band;
Forwarding module 55 is used to search the Virtual Private Network route, and service traffics are transmitted through Virtual Private Network.
In one embodiment of the invention, said configuration module 51 is used for the corresponding relation of type of service and business interface is stored as professional member's mapping table.
Shown in Fig. 5 B, in one embodiment of the invention, said sending module 53 further comprises:
Parsing module 531 is used to resolve the customer flow type of service;
Judge module 532 is used for obtaining one by one the business interface of professional membership table, and judges whether said customer flow type of service and the said business interface that obtains mate;
Processing module 533 is used to determine the business interface coupling of customer flow type of service and professional membership table, then customer flow is sent from said business interface.
In one embodiment of the invention, also comprise:
Package module 534 links to each other with said processing module 533 with said judge module 532 respectively, is used for customer flow was encapsulated customer flow before business interface sends.
With reference to shown in Figure 6,, after customer flow arrives the server in the VPN network, the terminal is sent the process of service traffics for the terminal is attached to network.This process need mails to the home gateway address in the public network that the user obtains to the flow in the VPN network.As shown in Figure 6, its flow process is described below:
601: service server is through VPN network destined subscriber household gateway flow;
602: service traffics are searched the VPN routing forwarding after arriving Bras equipment on Bras equipment.Need to guarantee that user's public network address network segment that obtains of reaching the standard grade does not conflict this moment in the private net address pond of VPN1, VPN2, VPN3.Guarantee that through configuration user's public network address network segment that obtains of reaching the standard grade does not conflict in the private net address pond of VPN1, VPN2, VPN3 in concrete the application;
603: difference configuring static VPN route, the adding purpose address is the route of station address respectively in the VPN route of VPN1, VPN2, VPN3, outgoing interface is respectively Int1, Int2, Int3;
604: flow is beamed back from network side and is searched after the VPN route gets into from Int1, Int2, Int3, searches the host route, i.e. the subscriber household gateway dialing success of reaching the standard grade inserts user's routing forwarding that the back forms and gives user side on equipment.
Through said method and system, just can carry out for the customer service that home gateway dialing is reached the standard grade, different service streams is forwarded in the VPN network under the different service providers, realize the service stream classification function.
It is pointed out that illustrating of above-mentioned each concrete steps is comparatively concrete, can not therefore think the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with accompanying claims.

Claims (8)

1. a method that realizes service stream classification is characterized in that, comprising:
Configuration service type and business interface corresponding relation;
Receive the customer flow that user's place in circuit gets into, said customer flow and the type of service that is complementary are mated;
According to type of service and business interface corresponding relation customer flow is sent to and the corresponding business interface of said type of service;
This business interface is configured to virtual interface also with in the interface of binding the Virtual Private Network attribute encircles, make Virtual Private Network attribute on the customer flow band;
Search the Virtual Private Network route, with transmitting through Virtual Private Network with the customer flow of going up the Virtual Private Network attribute.
2. the method for claim 1 is characterized in that, said configuration service type and business interface corresponding relation comprise:
The corresponding relation that type of service and business interface are carried out is stored as professional member's mapping table.
3. method as claimed in claim 2 is characterized in that, saidly according to type of service and business interface corresponding relation customer flow is sent to and the corresponding business interface of said type of service, comprising:
Resolve the customer flow type of service;
Obtain the business interface of professional member's mapping table one by one, and judge whether said customer flow type of service and the said business interface that obtains mate;
If determine the business interface coupling of customer flow type of service and professional member's mapping table, then customer flow sent from this business interface.
4. method as claimed in claim 3 is characterized in that, before the said step that customer flow is sent from business interface, also comprises the step that encapsulates customer flow.
5. a system that realizes service stream classification is characterized in that, comprising:
Configuration module is used for configuration service type and business interface corresponding relation;
Matching module is used to receive the customer flow that user's place in circuit gets into, and said customer flow and the type of service that is complementary are mated;
Sending module is connected with said configuration module, is used for according to type of service and business interface corresponding relation customer flow being sent to and the corresponding business interface of said type of service;
Interior ring module is used for that this business interface is configured to virtual interface and also with in the interface of binding the Virtual Private Network attribute encircles, and makes Virtual Private Network attribute on the customer flow band;
Forwarding module is used to search the Virtual Private Network route, with transmitting through Virtual Private Network with the customer flow of going up the Virtual Private Network attribute.
6. system as claimed in claim 5 is characterized in that, said configuration module is used for the corresponding relation of type of service and business interface is stored as professional member's mapping table.
7. system as claimed in claim 6 is characterized in that, said sending module further comprises:
Parsing module is used to resolve the customer flow type of service;
Judge module is used for obtaining one by one the business interface of professional member's mapping table, and judges whether said customer flow type of service and the said business interface that obtains mate;
Processing module is used to determine the business interface coupling of customer flow type of service and professional member's mapping table, then customer flow is sent from this business interface.
8. system as claimed in claim 7 is characterized in that, also comprises:
Package module links to each other with said processing module with said judge module respectively, is used for customer flow was encapsulated customer flow before business interface sends.
CN2009101680764A 2009-08-24 2009-08-24 Method and system for classifying service flow Active CN101635684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101680764A CN101635684B (en) 2009-08-24 2009-08-24 Method and system for classifying service flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101680764A CN101635684B (en) 2009-08-24 2009-08-24 Method and system for classifying service flow

Publications (2)

Publication Number Publication Date
CN101635684A CN101635684A (en) 2010-01-27
CN101635684B true CN101635684B (en) 2012-04-11

Family

ID=41594747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101680764A Active CN101635684B (en) 2009-08-24 2009-08-24 Method and system for classifying service flow

Country Status (1)

Country Link
CN (1) CN101635684B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139847A (en) * 2011-12-02 2013-06-05 中国移动通信集团公司 Method and device of data transmission
CN103501280A (en) * 2013-09-12 2014-01-08 电子科技大学 Access method of multilayer virtual overlay network
CN103491026A (en) * 2013-09-17 2014-01-01 中国联合网络通信集团有限公司 Routing terminal network access method, device and system
CN105245588B (en) * 2015-09-28 2018-12-07 浪潮(北京)电子信息产业有限公司 A kind of method of web service port separating treatment
CN106953789B (en) * 2017-02-20 2020-02-04 广州启生信息技术有限公司 Method for realizing programmable multi-dial routing outlet visiting system
CN108737671B (en) * 2017-04-20 2021-08-03 中兴通讯股份有限公司 VOIP communication method, device, equipment and home gateway system
CN112737950B (en) * 2020-12-24 2022-05-27 新华三大数据技术有限公司 Service flow forwarding method and device
CN115022121A (en) * 2022-05-31 2022-09-06 中国电信股份有限公司 Message processing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571382A (en) * 2003-07-11 2005-01-26 华为技术有限公司 Method for implementing dedicated network access
CN101090377A (en) * 2007-07-31 2007-12-19 中兴通讯股份有限公司 Implementing method for multi-service data flow selecting on gateway
CN101399742A (en) * 2007-09-28 2009-04-01 中国移动通信集团公司 Data service network system and access method of data service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571382A (en) * 2003-07-11 2005-01-26 华为技术有限公司 Method for implementing dedicated network access
CN101090377A (en) * 2007-07-31 2007-12-19 中兴通讯股份有限公司 Implementing method for multi-service data flow selecting on gateway
CN101399742A (en) * 2007-09-28 2009-04-01 中国移动通信集团公司 Data service network system and access method of data service

Also Published As

Publication number Publication date
CN101635684A (en) 2010-01-27

Similar Documents

Publication Publication Date Title
CN101635684B (en) Method and system for classifying service flow
CN100366009C (en) Wireless local area network with clients having extended freedom of movement
JP5081576B2 (en) MAC (Media Access Control) tunneling, its control and method
KR102036626B1 (en) Improved shortest path bridging in a multi-area network
US9131366B2 (en) Unifying virtualizations in a core network and a wireless access network
CN102801625B (en) A kind of method of heterogeneous network double layer intercommunication and equipment
US8559363B2 (en) Method for operating multi-domain provider Ethernet networks
CN100473040C (en) VPN realizing method
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
CN1938997A (en) Differential forwarding in address-based carrier networks
JP2012134892A (en) Packet transport device
CN102195933B (en) Method for realizing call between isolated Internet protocol (IP) sub-networks and communication unit
CN101185296A (en) Method for establishing multi-line between local network and remote network as well as relevant device
CN102647793A (en) Stand alone wimax system and method
CN104869013A (en) SDN-based gateway configuration method and SDN controller
CN102739501A (en) Message forwarding method in two or three layer virtual private network (VPN) and system thereof
CN102055647A (en) Three-layer virtual private network (VPN) access method and system
CN103747116A (en) Business access method and device based on Layer 2 Tunneling Protocol (L2TP)
CN102291305B (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN100518128C (en) Multi-point to multi-point VPN interconnecting method, system and device in PBT network
US20100254396A1 (en) Method of connecting vlan systems to other networks via a router
CN102594649B (en) Tunnel multicast packet far-end clone method and system
CN104144091A (en) Home gateway service carrying implementation method and home gateway
CN211481282U (en) Internet and private network fusion transmission system based on wireless access mode
CN101931582B (en) Method and device for implementing Ethernet two-layer pseudo wire emulation service

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