CN106161375A - Distribution method, device, strategy controller and the grader of business chain mark - Google Patents
Distribution method, device, strategy controller and the grader of business chain mark Download PDFInfo
- Publication number
- CN106161375A CN106161375A CN201510172550.6A CN201510172550A CN106161375A CN 106161375 A CN106161375 A CN 106161375A CN 201510172550 A CN201510172550 A CN 201510172550A CN 106161375 A CN106161375 A CN 106161375A
- Authority
- CN
- China
- Prior art keywords
- service
- session
- service chain
- identifier
- chain
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000011144 upstream manufacturing Methods 0.000 claims description 13
- 230000003993 interaction Effects 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000005641 tunneling Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种业务链标识的分配方法、装置、策略控制器及分类器。The present invention relates to the field of communication technology, in particular to a service chain identifier distribution method, device, policy controller and classifier.
背景技术Background technique
目前主要按用户类型、业务特性等规则来识别和区分业务流,并为业务流分配业务链标识,以引导业务流经过不同的业务链。根据移动网络的现有机制,一个用户附着网络,将会建立一个国际互联网协议连接接入网络(IP-CAN)会话,同一个用户可能建立多个IP-CAN会话,在任何一个会话中用户可发起多个业务流。目前实现了按照用户、业务等级别进行业务流区分和引导至相应业务链的机制。Currently, service flows are identified and differentiated based on rules such as user types and service characteristics, and service chain identifiers are assigned to service flows to guide service flows through different service chains. According to the existing mechanism of the mobile network, when a user attaches to the network, an Internet Protocol Connection Access Network (IP-CAN) session will be established. The same user may establish multiple IP-CAN sessions. In any session, the user can Initiate multiple business flows. At present, the mechanism of distinguishing business flows according to user and business levels and guiding them to corresponding business chains has been realized.
但是没有按照IP-CAN会话级别进行业务流区分,并将业务流引导至相应业务链的机制。同时由于每个用户可能同时发起多个业务,这些业务的业务需求也不一定相同。基于用户的分配业务链标识的方式太粗放。而如果按不同业务分配不同业务链标识,每个用户的流就会有很多不同的分配方式,太过精细。从而导致业务流的区分未能结合核心网的管理技术,不够灵活。However, there is no mechanism for distinguishing service flows according to the IP-CAN session level and directing service flows to corresponding service chains. At the same time, since each user may initiate multiple services at the same time, the service requirements of these services are not necessarily the same. The method of assigning service chain IDs based on users is too extensive. However, if different service chain identifiers are allocated according to different services, each user's flow will have many different allocation methods, which is too fine. As a result, the division of service flows cannot be combined with the management technology of the core network, which is not flexible enough.
目前区分业务流的方法存在如下缺陷:第一,没有按照IP-CAN会话级别进行业务流区分,并将业务流引导至相应业务链的机制。第二,目前缺乏默认业务链标识的定义,即,由于业务流快速发展及其丰富多样的特性,导致策略控制器存在无法识别出业务流的情况,这种业务流需要针对用户为此类业务流分配一个默认业务链标识;此外由于管理的需求,需要为用户的某类业务流分配一个默认业务链标识。The current method for distinguishing service flows has the following defects: First, there is no mechanism for distinguishing service flows according to the IP-CAN session level and guiding the service flows to corresponding service chains. Second, there is currently a lack of definition of the default service chain identifier, that is, due to the rapid development of service flows and their rich and diverse characteristics, the policy controller cannot identify service flows that need to be targeted at users for this type of service A default service chain identifier is assigned to a flow; in addition, due to management requirements, a default service chain identifier needs to be assigned to a certain type of business flow of the user.
发明内容Contents of the invention
本发明要解决的技术问题是提供了一种业务链标识的分配方法、装置、策略控制器及分类器,能按照IP-CAN会话级别对基于该IP-CAN会话发起的业务流分配业务链标识,并依据该业务链标识将业务流引导至相应的业务链。The technical problem to be solved by the present invention is to provide a service chain identifier distribution method, device, policy controller and classifier, which can assign service chain identifiers to service flows initiated based on the IP-CAN session according to the IP-CAN session level , and guide the service flow to the corresponding service chain according to the service chain identifier.
为解决上述技术问题,本发明的实施例提供了一种业务链标识的分配方法,应用于一策略控制器,方法包括:In order to solve the above-mentioned technical problems, an embodiment of the present invention provides a method for allocating service chain identifiers, which is applied to a policy controller, and the method includes:
获取国际互联网协议连接接入网络IP-CAN会话的标识;Obtain the identifier of the IP-CAN session of the Internet protocol connection access network;
根据IP-CAN会话的标识和业务链策略规则,为基于该IP-CAN会话发起的多个业务流分配业务链标识;According to the identifier of the IP-CAN session and the policy rules of the service chain, assign service chain identifiers to multiple service flows initiated based on the IP-CAN session;
将IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识发送给分类器,使分类器给多个业务流分配对应的业务链标识。The identifier of the IP-CAN session and the service chain identifiers of multiple service flows initiated based on the IP-CAN session are sent to the classifier, so that the classifier assigns corresponding service chain identifiers to the multiple service flows.
其中,IP-CAN会话的标识为分组数据网络标识或者隧道头信息或者IP地址。Wherein, the identifier of the IP-CAN session is a packet data network identifier or tunnel header information or an IP address.
其中,根据IP-CAN会话的标识和业务链策略规则,为基于该IP-CAN会话发起的多个业务流分配业务链标识的步骤包括:Wherein, according to the identification of the IP-CAN session and the policy rules of the service chain, the step of distributing service chain identification for multiple service flows initiated based on the IP-CAN session includes:
根据IP-CAN会话的标识,确定基于该IP-CAN会话发起的多个业务流;According to the identifier of the IP-CAN session, determine multiple service flows initiated based on the IP-CAN session;
根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分配相同或者不同的业务链标识。According to the policy rules of the service chain, the multiple service flows initiated based on the IP-CAN session are assigned the same or different service chain identifiers.
其中,根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分配相同的业务链标识的步骤包括:Wherein, according to the service chain policy rule, the step of distributing the same service chain identification to multiple service flows initiated based on the IP-CAN session includes:
根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中上行业务流和下行业务流均分配相同的业务链标识。According to the policy rules of the service chain, the same service chain identifier is allocated to the uplink service flow and the downlink service flow among the multiple service flows initiated based on the IP-CAN session.
其中,根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分配不同的业务链标识的步骤包括:Wherein, according to the service chain policy rule, the steps of distributing different service chain identifiers to multiple service flows initiated based on the IP-CAN session include:
根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流均分配第一业务链标识,并给多个业务流中的下行业务流均分配第二业务链标识;其中,第一业务链标识与第二业务链标识不同;或者According to the policy rules of the service chain, assign the first service chain identifier to the upstream service flows in the multiple service flows initiated based on the IP-CAN session, and assign the second service chain identifier to the downstream service flows in the multiple service flows ; Wherein, the first service chain identifier is different from the second service chain identifier; or
根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流分别分配一上行业务链标识,并给多个业务流中的下行业务流分别分配一下行业务链标识;其中,每一个上行业务链标识互不相同,每一个下行业务链标识互不相同,且上行业务链标识与下行业务链标识互不相同;或者According to the service chain policy rules, assign an uplink service chain identifier to the uplink service flows among the multiple service flows initiated based on the IP-CAN session, and assign a downlink service chain identifier to the downlink service flows among the multiple service flows ; Wherein, each uplink service chain identifier is different from each other, each downlink service chain identifier is different from each other, and the uplink service chain identifier and the downlink service chain identifier are different from each other; or
根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分别分配一个业务链标识;其中,多个业务流中的每一个业务流对应的业务链标识互不相同。According to the policy rules of the service chain, assign a service chain identifier to the multiple service flows initiated based on the IP-CAN session; wherein, the service chain identifiers corresponding to each of the multiple service flows are different from each other.
本发明的实施例还提供一种业务链标识的分配装置,应用于一策略控制器,装置包括:The embodiment of the present invention also provides a device for allocating service chain identifiers, which is applied to a policy controller, and the device includes:
获取模块,用于获取国际互联网协议连接接入网络IP-CAN会话的标识;An acquisition module, configured to acquire the identifier of the IP-CAN session of the Internet protocol connection access network;
第一分配模块,用于根据IP-CAN会话的标识和业务链策略规则,为基于该IP-CAN会话发起的多个业务流分配业务链标识;The first allocation module is used to allocate service chain identifiers for multiple service flows initiated based on the IP-CAN session according to the identifier of the IP-CAN session and the service chain policy rules;
发送模块,用于将IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识发送给分类器,使分类器给多个业务流分配对应的业务链标识。The sending module is configured to send the identifier of the IP-CAN session and the service chain identifiers of multiple service flows initiated based on the IP-CAN session to the classifier, so that the classifier assigns corresponding service chain identifiers to the multiple service flows.
其中,IP-CAN会话的标识为分组数据网络标识或者隧道头信息或者IP地址。Wherein, the identifier of the IP-CAN session is a packet data network identifier or tunnel header information or an IP address.
其中,第一分配模块包括:Wherein, the first allocation module includes:
第一单元,用于根据IP-CAN会话的标识,确定基于该IP-CAN会话发起的多个业务流;The first unit is configured to determine multiple service flows initiated based on the IP-CAN session according to the identifier of the IP-CAN session;
第二单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分配相同或者不同的业务链标识。The second unit is configured to assign the same or different service chain identifiers to multiple service flows initiated based on the IP-CAN session according to service chain policy rules.
其中,第二单元包括:Among them, the second unit includes:
第一子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中上行业务流和下行业务流均分配相同的业务链标识。The first subunit is configured to assign the same service chain identifier to both the uplink service flow and the downlink service flow among the multiple service flows initiated based on the IP-CAN session according to service chain policy rules.
其中,第二单元还包括:Among them, the second unit also includes:
第二子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流均分配第一业务链标识,并给多个业务流中的下行业务流均分配第二业务链标识;其中,第一业务链标识与第二业务链标识不同;或者The second subunit is configured to assign the first service chain identifier to the upstream service flows among the multiple service flows initiated based on the IP-CAN session according to the service chain policy rules, and assign the first service chain identifier to the downstream service flows among the multiple service flows Both assign the second business chain ID; wherein, the first business chain ID is different from the second business chain ID; or
第三子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流分别分配一上行业务链标识,并给多个业务流中的下行业务流分别分配一下行业务链标识;其中,每一个上行业务链标识互不相同,每一个下行业务链标识互不相同,且上行业务链标识与下行业务链标识互不相同;或者The third subunit is configured to assign an uplink service chain identifier to the uplink service flows among the multiple service flows initiated based on the IP-CAN session according to the service chain policy rules, and assign an uplink service chain identifier to the downlink service flows among the multiple service flows Distribute the IDs of the downlink service chains respectively; wherein, each uplink service chain ID is different from each other, each downlink service chain ID is different from each other, and the uplink service chain ID and the downlink service chain ID are different from each other; or
第四子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分别分配一个业务链标识;其中,多个业务流中的每一个业务流对应的业务链标识互不相同。The fourth subunit is used to assign a service chain identifier to multiple service flows initiated based on the IP-CAN session according to the service chain policy rules; wherein, the service chain identifier corresponding to each service flow in the multiple service flows different from each other.
其中,装置还包括:Among them, the device also includes:
第二分配模块,用于给按照用户类别、业务流的业务特性、IP-CAN会话的标识、时间、用户位置、网络拥塞状态和/或无线网络接入类型识别的业务流分配默认的业务链标识,并将默认的业务链标识以及业务流的描述信息发送给分类器,使分类器为业务流分配默认的业务链标识;其中,业务流的描述信息包括识别该业务流所依据的任意一种信息。The second assignment module is configured to assign a default service chain to a service flow identified according to user category, service characteristic of the service flow, IP-CAN session identifier, time, user location, network congestion status and/or wireless network access type ID, and send the default business chain ID and description information of the business flow to the classifier, so that the classifier assigns the default business chain ID for the business flow; wherein, the description information of the business flow includes any kind of information.
本发明的实施例还提供一种策略控制器,包括如上的业务链标识的分配装置。An embodiment of the present invention also provides a policy controller, including the above device for allocating service chain identifiers.
本发明的实施例还提供一种业务链标识的分配方法,应用于一分类器,方法包括:Embodiments of the present invention also provide a method for allocating service chain identifiers, which is applied to a classifier, and the method includes:
接收策略控制器发送的国际互联网协议连接接入网络IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识;receiving the IP-CAN session identification of the Internet protocol connection access network sent by the policy controller and the service chain identification of multiple service flows initiated based on the IP-CAN session;
根据IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识,给多个业务流分配对应的业务链标识。According to the IP-CAN session identifier and the service chain identifiers of the multiple service flows initiated based on the IP-CAN session, assign corresponding service chain identifiers to the multiple service flows.
其中,根据IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识,给多个业务流分配对应的业务链标识的步骤包括:Wherein, according to the identifier of the IP-CAN session and the service chain identifiers of multiple service flows initiated based on the IP-CAN session, the steps of assigning corresponding service chain identifiers to the multiple service flows include:
根据IP-CAN会话的标识,接收并识别基于该IP-CAN会话的多个业务流;According to the identification of the IP-CAN session, receive and identify multiple service flows based on the IP-CAN session;
获取该多个业务流分别对应的业务链标识;Obtaining service chain identifiers respectively corresponding to the plurality of service flows;
将业务流对应的业务链标识分别分配给相应的业务流。The service chain identifiers corresponding to the service flows are assigned to the corresponding service flows respectively.
其中,基于该IP-CAN会话发起的多个业务流分别对应的业务链标识相同或者不同。Wherein, service chain identifiers corresponding to multiple service flows initiated based on the IP-CAN session are the same or different.
其中,基于该IP-CAN会话发起的多个业务流中上行业务流和下行业务流分别对应的业务链标识相同。Among the multiple service flows initiated based on the IP-CAN session, the service chain identifiers respectively corresponding to the uplink service flow and the downlink service flow are the same.
其中,基于该IP-CAN会话发起的多个业务流中的上行业务流均对应第一业务链标识,多个业务流中的下行业务流均对应第二业务链标识;其中,第一业务链标识与第二业务链标识不同;或者Wherein, the upstream service flow in the multiple service flows initiated based on the IP-CAN session all corresponds to the first service chain identifier, and the downlink service flow in the multiple service flows corresponds to the second service chain identifier; wherein, the first service chain The ID is different from the ID of the second business chain; or
基于该IP-CAN会话发起的多个业务流中的上行业务流分别对应一上行业务链标识,多个业务流中的下行业务流分别对应一下行业务链标识;其中,每一个上行业务链标识互不相同,每一个下行业务链标识互不相同,且上行业务链标识与下行业务链标识互不相同;或者The upstream service flows in the multiple service flows initiated based on the IP-CAN session correspond to an upstream service chain identifier respectively, and the downstream service flows in the multiple service flows respectively correspond to a downstream service chain identifier; wherein, each upstream service chain identifier are different from each other, each downlink service chain ID is different from each other, and the uplink service chain ID and downlink service chain ID are different from each other; or
基于该IP-CAN会话发起的多个业务流分别对应一个业务链标识;其中,多个业务流中的每一个业务流对应的业务链标识互不相同。Multiple service flows initiated based on the IP-CAN session respectively correspond to a service chain identifier; wherein, the service chain identifiers corresponding to each of the multiple service flows are different from each other.
本发明的实施例还提供一种业务链标识的分配装置,应用于一分类器,装置包括:Embodiments of the present invention also provide a service chain identification distribution device, which is applied to a classifier, and the device includes:
接收模块,用于接收策略控制器发送的国际互联网协议连接接入网络IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识;The receiving module is used to receive the identification of the IP-CAN session of the Internet protocol connection access network sent by the policy controller and the service chain identification of multiple service flows initiated based on the IP-CAN session;
第三分配模块,用于根据IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识,给多个业务流分配对应的业务链标识。The third allocating module is configured to allocate corresponding service chain identifiers to multiple service flows according to the identifier of the IP-CAN session and the service chain identifiers of the multiple service flows initiated based on the IP-CAN session.
其中,第三分配模块包括:Wherein, the third allocation module includes:
第三单元,用于根据IP-CAN会话的标识,接收并识别基于该IP-CAN会话的多个业务流;The third unit is used to receive and identify multiple service flows based on the IP-CAN session according to the identifier of the IP-CAN session;
第四单元,用于获取该多个业务流分别对应的业务链标识;The fourth unit is configured to obtain service chain identifiers respectively corresponding to the plurality of service flows;
第五单元,用于将业务流对应的业务链标识分别分配给相应的业务流。The fifth unit is configured to assign service chain identifiers corresponding to service flows to corresponding service flows.
其中,装置还包括:Among them, the device also includes:
第四分配模块,用于接收策略控制器发送的给按照用户类别、业务流的业务特性、IP-CAN会话的标识、时间、用户位置、网络拥塞状态和/或无线网络接入类型识别的业务流分配的默认的业务链标识以及业务流的描述信息,并依据业务流的描述信息,将默认的业务链标识分配给该业务流。The fourth allocation module is used to receive the service identified by the policy controller according to the user category, the service characteristic of the service flow, the identification of the IP-CAN session, time, user location, network congestion status and/or wireless network access type The default business chain identifier and the description information of the business flow allocated by the flow, and according to the description information of the business flow, the default service chain identifier is assigned to the business flow.
本发明的实施例还提供一种分类器,包括如上的业务链标识的分配装置。An embodiment of the present invention also provides a classifier, including the above apparatus for allocating service chain identifiers.
本发明的上述方案至少包括以下有益效果:Above-mentioned scheme of the present invention comprises following beneficial effect at least:
在本发明的实施例中,策略控制器可以根据IP-CAN会话的标识和业务链策略规则,给该IP-CAN会话对应的多个业务流分配业务链标识,这样便可以使分类器根据该IP-CAN会话的标识为基于该IP-CAN会话发起的多个业务流分配业务链标识,进而可以使分类器可以依据业务链标识将这些业务流引导至相应的业务链。In the embodiment of the present invention, the policy controller can assign service chain identifiers to multiple service flows corresponding to the IP-CAN session according to the identifier of the IP-CAN session and the service chain policy rules, so that the classifier can be configured according to the The IP-CAN session identifier assigns service chain identifiers to multiple service flows initiated based on the IP-CAN session, so that the classifier can guide these service flows to corresponding service chains according to the service chain identifiers.
附图说明Description of drawings
图1为本发明实施例中应用于策略控制器的业务链标识的分配方法的流程图;FIG. 1 is a flowchart of a method for allocating service chain identifiers applied to a policy controller in an embodiment of the present invention;
图2为本发明实施例中图1中步骤12的具体流程图;Fig. 2 is the specific flowchart of step 12 in Fig. 1 in the embodiment of the present invention;
图3为本发明实施例中当分类器是在PCEF的基础上实现的时,策略控制器与PCEF之间的具体交互流程图之一;Fig. 3 is one of the specific interaction flowcharts between the policy controller and the PCEF when the classifier is implemented on the basis of the PCEF in the embodiment of the present invention;
图4为本发明实施例中当分类器是在PCEF的基础上实现的时,策略控制器与PCEF之间的具体交互流程图之二;Fig. 4 is the second specific interaction flowchart between the policy controller and PCEF when the classifier is implemented on the basis of PCEF in the embodiment of the present invention;
图5为本发明实施例中当分类器是在TDF的基础上或者单独部署分类器实现的时,策略控制器与TDF或者分类器之间的具体交互流程图之一;Fig. 5 is one of the specific interaction flowcharts between the policy controller and the TDF or the classifier when the classifier is implemented on the basis of TDF or deployed separately in the embodiment of the present invention;
图6为本发明实施例中当分类器是在TDF的基础上或者单独部署分类器实现的时,策略控制器与TDF或者分类器之间的具体交互流程图之二;Fig. 6 is the second flow chart of the specific interaction between the policy controller and the TDF or the classifier when the classifier is implemented on the basis of the TDF or the classifier is deployed separately in the embodiment of the present invention;
图7为本发明实施例中应用于策略控制器的业务链标识的分配装置的结构示意图;7 is a schematic structural diagram of a device for allocating service chain identifiers applied to a policy controller in an embodiment of the present invention;
图8为本发明实施例中应用于分类器的业务链标识的分配方法的流程图;FIG. 8 is a flowchart of a method for allocating service chain identifiers applied to classifiers in an embodiment of the present invention;
图9为本发明实施例中图8中步骤82的具体流程图;FIG. 9 is a specific flowchart of step 82 in FIG. 8 in an embodiment of the present invention;
图10为本发明实施例中应用于分类器的业务链标识的分配装置的结构示意图。FIG. 10 is a schematic structural diagram of a device for allocating service chain identifiers applied to classifiers in an embodiment of the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
本发明针对现有技术中没有按照IP-CAN会话级别区分业务流的方式,导致区分业务流不够灵活的问题,提供了一种业务链标识的分配方法、装置、策略控制器及分类器,使得策略控制器能按照IP-CAN会话级别为基于该IP-CAN会话发起的业务流分配业务链标识,并依据业务链标识将业务流引导至相应的业务链。The present invention aims at the problem that the business flow is not distinguished according to the IP-CAN session level in the prior art, which leads to the problem that the business flow is not flexible enough, and provides a service chain identifier distribution method, device, policy controller and classifier, so that The policy controller can assign a service chain identifier to the service flow initiated based on the IP-CAN session according to the IP-CAN session level, and guide the service flow to the corresponding service chain according to the service chain identifier.
如图1所示,本发明的实施例提供了一种业务链标识的分配方法,应用于一策略控制器,该方法包括:As shown in Figure 1, the embodiment of the present invention provides a method for allocating service chain identifiers, which is applied to a policy controller, and the method includes:
步骤11,获取国际互联网协议连接接入网络IP-CAN会话的标识;Step 11, obtaining the identifier of the IP-CAN session of the Internet protocol connection access network;
其中,在本发明的实施例中,IP-CAN会话的标识可以用分组数据网络(PDN)标识或者隧道头(tunneling header)信息或者IP地址来表示。Wherein, in the embodiment of the present invention, the identifier of the IP-CAN session may be represented by a Packet Data Network (PDN) identifier or tunneling header (tunneling header) information or an IP address.
步骤12,根据IP-CAN会话的标识和业务链策略规则,为基于该IP-CAN会话发起的多个业务流分配业务链标识;Step 12, according to the identification of the IP-CAN session and the policy rules of the service chain, assign a service chain identification for multiple service flows initiated based on the IP-CAN session;
步骤13,将IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识发送给分类器,使所述分类器给多个业务流分配对应的业务链标识。Step 13: Send the identifier of the IP-CAN session and the service chain identifiers of multiple service flows initiated based on the IP-CAN session to the classifier, so that the classifier assigns corresponding service chain identifiers to the multiple service flows.
本发明的该实施例中,策略控制器可以根据IP-CAN会话的标识和业务链策略规则,给该IP-CAN会话对应的多个业务流分配业务链标识,这样便可以使分类器根据该IP-CAN会话的标识为基于IP-CAN会话发起的多个业务流分配业务链标识,进而可以使分类器可以依据业务链标识将这些业务引导至相应的业务链。In this embodiment of the present invention, the policy controller can assign a service chain identifier to a plurality of service flows corresponding to the IP-CAN session according to the identifier of the IP-CAN session and the service chain policy rule, so that the classifier can be configured according to the IP-CAN session The identifier of the IP-CAN session assigns a service chain identifier to multiple service flows initiated based on the IP-CAN session, so that the classifier can guide these services to the corresponding service chain according to the service chain identifier.
其中,在本发明的上述实施例中,如图2所示,步骤12的具体步骤可以包括:Wherein, in the above-mentioned embodiment of the present invention, as shown in FIG. 2, the specific steps of step 12 may include:
步骤121,根据IP-CAN会话的标识,确定基于该IP-CAN会话发起的多个业务流;Step 121, according to the identification of the IP-CAN session, determine a plurality of service flows based on the IP-CAN session initiation;
步骤122,根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分配相同或者不同的业务链标识。Step 122, assign the same or different service chain identifiers to multiple service flows initiated based on the IP-CAN session according to service chain policy rules.
具体地,步骤122中,给基于该IP-CAN会话发起的多个业务流分配相同或者不同的业务链标识的分配方式有多种,包括:Specifically, in step 122, there are multiple ways to assign the same or different service chain identifiers to multiple service flows initiated based on the IP-CAN session, including:
第一种:不区分上下行业务流,根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中上行业务流和下行业务流均分配相同的业务链标识。The first type: do not distinguish between uplink and downlink service flows, according to service chain policy rules, assign the same service chain identifier to both the uplink service flow and the downlink service flow among the multiple service flows initiated based on the IP-CAN session.
第二种:区分上下行业务流,给基于该IP-CAN会话发起的多个业务流分配不同的业务链标识;The second type: differentiate the uplink and downlink service flows, and assign different service chain identifiers to multiple service flows initiated based on the IP-CAN session;
其中,第二种情况具体包括:Among them, the second situation specifically includes:
1.根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流均分配第一业务链标识,并给多个业务流中的下行业务流均分配第二业务链标识;其中,第一业务链标识与第二业务链标识不同;1. According to the service chain policy rules, assign the first service chain identifier to the upstream service flows among the multiple service flows initiated based on the IP-CAN session, and assign the second service to the downstream service flows among the multiple service flows Chain identification; wherein, the first service chain identification is different from the second service chain identification;
2.根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流分别分配一上行业务链标识,并给多个业务流中的下行业务流分别分配一下行业务链标识;其中,每一个上行业务链标识互不相同,每一个下行业务链标识互不相同,且上行业务链标识与下行业务链标识互不相同;2. According to the service chain policy rules, assign an uplink service chain identifier to the uplink service flows among the multiple service flows initiated based on the IP-CAN session, and assign a downlink service to the downlink service flows among the multiple service flows Chain identification; wherein, each uplink service chain identification is different from each other, each downlink service chain identification is different from each other, and the uplink service chain identification and the downlink service chain identification are different from each other;
3.根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分别分配一个业务链标识;其中,多个业务流中的每一个业务流对应的业务链标识互不相同。3. According to the service chain policy rules, assign a service chain identifier to the multiple service flows initiated based on the IP-CAN session; wherein, the service chain identifiers corresponding to each of the multiple service flows are different from each other.
在本发明的该实施例中,业务链策略规则包含了IP-CAN会话的标识和为基于该IP-CAN会话发起的多个业务流分配的业务链标识之间的对应关系等。因此,当策略控制器获取到IP-CAN会话后,会给该IP-CAN会话的标识对应的多个业务流分配业务链标识。且在具体分配业务链标识时,不区分上下行业务流,即,在给多个业务流分配业务链标识时,既可以给这多个业务流分配相同的业务链标识,也可以给这多个业务流分配不同的业务链标识。In this embodiment of the present invention, the service chain policy rule includes the corresponding relationship between the identifier of the IP-CAN session and the identifier of the service chain assigned to multiple service flows initiated based on the IP-CAN session. Therefore, when the policy controller acquires the IP-CAN session, it will assign service chain identifiers to multiple service flows corresponding to the identifier of the IP-CAN session. And when assigning service chain IDs, no distinction is made between uplink and downlink service flows, that is, when assigning service chain IDs to multiple service flows, the same service chain ID can be assigned to these multiple service Each service flow is assigned a different service chain ID.
在本发明的具体实施例中,策略控制器可以直接向分类器发送IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识,当然也可以在收到分类器的请求之后,再向其发送IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识。In a specific embodiment of the present invention, the policy controller can directly send the identifier of the IP-CAN session and the service chain identifiers of a plurality of service flows initiated based on the IP-CAN session to the classifier. After the request, the ID of the IP-CAN session and the service chain IDs of multiple service flows initiated based on the IP-CAN session are sent to it.
在本发明的具体实施例中,策略控制器给分类器发送IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识的方式有多种:In a specific embodiment of the present invention, there are multiple ways in which the strategy controller sends the identifier of the IP-CAN session and the service chain identifiers of a plurality of service flows initiated based on the IP-CAN session to the classifier:
第一种是通过一条单独的信令消息发送;The first is sent in a separate signaling message;
第二种是在现有的消息(例如IP-CAN会话确认消息)中加入IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识。The second is to add the identifier of the IP-CAN session and the identifiers of service chains of multiple service flows initiated based on the IP-CAN session to an existing message (such as an IP-CAN session confirmation message).
在本发明的另一具体实施例中,针对策略控制器无法识别的业务流(可以是用户级别的或者IP-CAN会话级别的或者业务级别的或目的地址级别的业务流),策略控制器会给这些业务流分配默认的业务链标识。这样以便分类器接收到这些业务流时,给这些业务流分配对应的默认的业务链标识。其中,默认的业务链标识可以与现有的(即已经给某业务流分配过的)业务链标识是同一个标识信息,也可以新的标识信息。In another specific embodiment of the present invention, the policy controller will Assign default service chain identifiers to these service flows. In this way, when the classifier receives these service flows, it assigns corresponding default service chain identifiers to these service flows. Wherein, the default service chain identifier may be the same identification information as the existing (that is, already assigned to a certain service flow) service chain identifier, or may be new identification information.
在本发明的一具体实施例中,一个用户可以订购多个业务流,区分这些业务流的方式包括目的地址级别的、用户级别的、IP-CAN会话级别的以及业务级别的。即,在具体的应用中,策略控制器会根据用户的订购,选用不同的方式区分业务流。In a specific embodiment of the present invention, a user can subscribe to multiple service flows, and the ways to distinguish these service flows include destination address level, user level, IP-CAN session level and service level. That is, in a specific application, the policy controller will select different ways to distinguish service flows according to the user's subscription.
在本发明的具体实施例中,上述策略控制可通过增强3GPP定义的策略与计费规则功能单元(PCRF,Policy and Charging Rules Function)的功能来实现,分类器可通过增强策略及计费执行功能(PCEF,Policy and ChargingEnforcement Function)或者流量检测网元(TDF)的功能来实现。In a specific embodiment of the present invention, the above-mentioned policy control can be realized by enhancing the function of the policy and charging rules function unit (PCRF, Policy and Charging Rules Function) defined by 3GPP, and the classifier can implement the function by enhancing the policy and charging (PCEF, Policy and Charging Enforcement Function) or traffic detection network element (TDF) function to achieve.
在本发明的具体实施例中,若分类器是在PCEF的基础上实现的,且策略控制器给分类器发送IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识的方式为第一种的话,策略控制器与PCEF之间的具体交互流程至少有两种方式。In a specific embodiment of the present invention, if the classifier is implemented on the basis of PCEF, and the policy controller sends the classifier the identification of the IP-CAN session and the services of multiple service flows initiated based on the IP-CAN session If the method of chain identification is the first method, there are at least two methods for the specific interaction process between the policy controller and the PCEF.
如图3所示,第一种方式为:首先,PCEF发送IP-CAN会话的建立请求或者更新请求或者终止请求给PCRF;As shown in Figure 3, the first method is: first, the PCEF sends an IP-CAN session establishment request or update request or termination request to the PCRF;
然后PCRF可将业务链策略消息发送给PCEF,且该业务链策略消息中携带IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识(或者默认的业务链标识);Then the PCRF can send the service chain policy message to PCEF, and the service chain policy message carries the identification of the IP-CAN session and the service chain identification (or default service chain identification) of multiple service flows initiated based on the IP-CAN session );
而后分类器会根据IP-CAN会话的标识(或者默认的业务链标识对应的业务流的描述信息)区分业务流,并为此业务流分配对应的业务链标识或者默认的业务链标识。其中业务流的描述信息包括业务流对应的IP-CAN会话的标识、时间、位置、业务特性以及业务流的IP五元组等信息。Then the classifier will distinguish the service flow according to the identifier of the IP-CAN session (or the description information of the service flow corresponding to the default service chain identifier), and allocate the corresponding service chain identifier or the default service chain identifier for this service flow. The description information of the service flow includes information such as the identification, time, location, service characteristics and IP quintuple of the service flow corresponding to the IP-CAN session of the service flow.
如图4所示,第二种方式为:首先,PCRF主动下发业务链策略消息给PCEF,且该业务链策略消息中携带IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识(或者默认的业务链标识)。As shown in Figure 4, the second method is: first, PCRF actively sends a service chain policy message to PCEF, and the service chain policy message carries the identifier of the IP-CAN session and multiple IP-CAN session-based The business chain ID of the business flow (or the default business chain ID).
然后与第一种方式类似,分类器会根据IP-CAN会话的标识(或者默认的业务链标识对应的业务流的描述信息)区分业务流,并为此业务流分配对应的业务链标识或者默认的业务链标识。其中业务流的描述信息包括业务流对应的IP-CAN会话的标识以及业务流的IP五元组等信息。Then similar to the first method, the classifier will distinguish the service flow according to the identifier of the IP-CAN session (or the description information of the service flow corresponding to the default service chain identifier), and assign the corresponding service chain identifier or the default service chain identifier to this service flow. The business chain identifier. The description information of the service flow includes information such as the identifier of the IP-CAN session corresponding to the service flow and the IP quintuple of the service flow.
在本发明的具体实施例中,若分类器是在TDF的基础上(或者单独部署分类器)实现的,且策略控制器给分类器发送IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识的方式为第一种的话,策略控制器与TDF(或者分类器)之间的具体交互流程至少有两种方式。In a specific embodiment of the present invention, if the classifier is implemented on the basis of TDF (or the classifier is deployed separately), and the policy controller sends the identifier of the IP-CAN session to the classifier and initiates based on the IP-CAN session If the first way is to identify the service chains of multiple service flows, there are at least two ways for the specific interaction process between the policy controller and the TDF (or classifier).
如图5所示,第一种方式为:首先,PCEF发送IP-CAN会话的建立请求或者更新请求或者终止请求给PCRF;As shown in Figure 5, the first way is: first, the PCEF sends an IP-CAN session establishment request or update request or termination request to the PCRF;
然后PCRF可将业务链策略消息发送给TDF或者分类器,且该业务链策略消息中携带IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识(或者默认的业务链标识);Then PCRF can send the service chain policy message to TDF or classifier, and carry the identification of IP-CAN session and the service chain identification (or default business chain identifier);
而后分类器会根据IP-CAN会话的标识(或者默认的业务链标识对应的业务流的描述信息)区分业务流,并为此业务流分配对应的业务链标识或者默认的业务链标识。其中业务流的描述信息包括业务流对应的IP-CAN会话的标识以及业务流的IP五元组等信息。Then the classifier will distinguish the service flow according to the identifier of the IP-CAN session (or the description information of the service flow corresponding to the default service chain identifier), and allocate the corresponding service chain identifier or the default service chain identifier for this service flow. The description information of the service flow includes information such as the identifier of the IP-CAN session corresponding to the service flow and the IP quintuple of the service flow.
如图6所示,第二种方式为:首先,PCRF主动下发业务链策略消息给TDF或者分类器,且该业务链策略消息中携带IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识(或者默认的业务链标识);As shown in Figure 6, the second method is: first, PCRF actively sends a service chain policy message to the TDF or classifier, and the service chain policy message carries the IP-CAN session identifier and initiates the IP-CAN session based on the IP-CAN session. The service chain identifier (or the default service chain identifier) of multiple business flows;
然后分类器会根据IP-CAN会话的标识(或者默认的业务链标识对应的业务流的描述信息)区分业务流,并为此业务流分配对应的业务链标识或者默认的业务链标识。其中业务流的描述信息包括业务流对应的IP-CAN会话的标识以及业务流的IP五元组等信息。Then the classifier will distinguish the service flow according to the identifier of the IP-CAN session (or the description information of the service flow corresponding to the default service chain identifier), and assign the corresponding service chain identifier or the default service chain identifier to this service flow. The description information of the service flow includes information such as the identifier of the IP-CAN session corresponding to the service flow and the IP quintuple of the service flow.
本发明的上述实施例通过策略控制器为根据业务链策略规则,为终端与网络之间的基于IP-CAN会话发起的多个业务流分配相应的业务链标识,从而可以依据该业务链标识将业务流引导至相应的业务链,实现了基于IP-CAN会话发起的多个业务流的有效引导。In the foregoing embodiments of the present invention, the policy controller is used to assign corresponding service chain identifiers to multiple service flows initiated based on IP-CAN sessions between the terminal and the network according to the service chain policy rules, so that the service chain identifiers can be The service flow is guided to the corresponding service chain, and the effective guidance of multiple service flows initiated based on the IP-CAN session is realized.
如图7所示,本发明的实施例还提供了一种业务链标识的分配装置,应用于一策略控制器,装置包括:As shown in FIG. 7, the embodiment of the present invention also provides a service chain identification distribution device, which is applied to a policy controller, and the device includes:
获取模块71,用于获取国际互联网协议连接接入网络IP-CAN会话的标识;Obtaining module 71, for obtaining the identification of IP-CAN session of Internet protocol connection access network;
第一分配模块72,用于根据IP-CAN会话的标识和业务链策略规则,为基于该IP-CAN会话发起的多个业务流分配业务链标识;The first allocation module 72 is used to allocate service chain identifiers for multiple service flows initiated based on the IP-CAN session according to the identifier of the IP-CAN session and the service chain policy rules;
发送模块73,用于将IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识发送给分类器,使分类器给多个业务流分配对应的业务链标识。The sending module 73 is configured to send the identifier of the IP-CAN session and the service chain identifiers of multiple service flows initiated based on the IP-CAN session to the classifier, so that the classifier assigns corresponding service chain identifiers to the multiple service flows.
其中,IP-CAN会话的标识为分组数据网络标识或者隧道头信息或者IP地址。Wherein, the identifier of the IP-CAN session is a packet data network identifier or tunnel header information or an IP address.
其中,第一分配模块72包括:Wherein, the first allocation module 72 includes:
第一单元,用于根据IP-CAN会话的标识,确定基于该IP-CAN会话发起的多个业务流;The first unit is configured to determine multiple service flows initiated based on the IP-CAN session according to the identifier of the IP-CAN session;
第二单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分配相同或者不同的业务链标识。The second unit is configured to assign the same or different service chain identifiers to multiple service flows initiated based on the IP-CAN session according to service chain policy rules.
其中,第二单元包括:Among them, the second unit includes:
第一子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中上行业务流和下行业务流均分配相同的业务链标识。The first subunit is configured to assign the same service chain identifier to both the uplink service flow and the downlink service flow among the multiple service flows initiated based on the IP-CAN session according to service chain policy rules.
其中,第二单元还包括:Among them, the second unit also includes:
第二子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流均分配第一业务链标识,并给多个业务流中的下行业务流均分配第二业务链标识;其中,第一业务链标识与第二业务链标识不同;或者The second subunit is configured to assign the first service chain identifier to the upstream service flows among the multiple service flows initiated based on the IP-CAN session according to the service chain policy rules, and assign the first service chain identifier to the downstream service flows among the multiple service flows Both assign the second service chain identifier; wherein, the first service chain identifier is different from the second service chain identifier; or
第三子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流中的上行业务流分别分配一上行业务链标识,并给多个业务流中的下行业务流分别分配一下行业务链标识;其中,每一个上行业务链标识互不相同,每一个下行业务链标识互不相同,且上行业务链标识与下行业务链标识互不相同;或者The third subunit is configured to assign an uplink service chain identifier to the uplink service flows among the multiple service flows initiated based on the IP-CAN session according to the service chain policy rules, and assign an uplink service chain identifier to the downlink service flows among the multiple service flows Distribute the IDs of the downlink service chains respectively; wherein, each uplink service chain ID is different from each other, each downlink service chain ID is different from each other, and the uplink service chain ID and the downlink service chain ID are different from each other; or
第四子单元,用于根据业务链策略规则,给基于该IP-CAN会话发起的多个业务流分别分配一个业务链标识;其中,多个业务流中的每一个业务流对应的业务链标识互不相同。The fourth subunit is used to assign a service chain identifier to multiple service flows initiated based on the IP-CAN session according to the service chain policy rules; wherein, the service chain identifier corresponding to each service flow in the multiple service flows different from each other.
其中,装置还包括:Among them, the device also includes:
第二分配模块,用于给按照用户类别、业务流的业务特性、IP-CAN会话的标识、时间、用户位置、网络拥塞状态和/或无线网络接入类型识别的业务流分配默认的业务链标识,并将默认的业务链标识以及业务流的描述信息发送给分类器,使分类器为业务流分配默认的业务链标识;其中,业务流的描述信息包括识别该业务流所依据的任意一种信息。The second assignment module is configured to assign a default service chain to a service flow identified according to user category, service characteristic of the service flow, IP-CAN session identifier, time, user location, network congestion status and/or wireless network access type ID, and send the default business chain ID and description information of the business flow to the classifier, so that the classifier assigns the default business chain ID for the business flow; wherein, the description information of the business flow includes any kind of information.
需要说明的是,本发明实施例提供的应用于策略控制器的业务链标识的分配装置是应用于上述应用于策略控制器的业务链标识的分配方法。即上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the apparatus for allocating service chain IDs applied to policy controllers provided in the embodiments of the present invention is applied to the above-mentioned method for allocating service chain IDs applied to policy controllers. That is, all the embodiments of the above methods are applicable to the device, and can achieve the same or similar beneficial effects.
本发明的实施例还提供了一种策略控制器,包括上述的业务链标识的分配装置。An embodiment of the present invention also provides a policy controller, including the above-mentioned apparatus for allocating service chain identifiers.
如图8所示,本发明的实施例还提供了一种业务链标识的分配方法,应用于一分类器,方法包括:As shown in Figure 8, the embodiment of the present invention also provides a method for allocating service chain identifiers, which is applied to a classifier, and the method includes:
步骤81,接收策略控制器发送的国际互联网协议连接接入网络IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识;Step 81, receiving the identification of the IP-CAN session of the Internet protocol connection access network sent by the policy controller and the service chain identification of multiple service flows initiated based on the IP-CAN session;
步骤82,根据IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识,给多个业务流分配对应的业务链标识。Step 82, according to the IP-CAN session identifier and the service chain identifiers of the multiple service flows initiated based on the IP-CAN session, assign corresponding service chain identifiers to the multiple service flows.
其中,在本发明的上述实施例中,如图9所示,上述步骤82具体可以包括:Wherein, in the above-mentioned embodiment of the present invention, as shown in FIG. 9, the above-mentioned step 82 may specifically include:
步骤821,根据IP-CAN会话的标识,接收并识别基于该IP-CAN会话的多个业务流;Step 821, according to the identification of the IP-CAN session, receive and identify multiple service flows based on the IP-CAN session;
步骤822,获取该多个业务流分别对应的业务链标识;Step 822, obtaining service chain identifiers respectively corresponding to the plurality of service flows;
步骤823,将业务流对应的业务链标识分别分配给相应的业务流。Step 823, assigning service chain identifiers corresponding to the service flows to corresponding service flows.
在本发明的具体实施例中,与上述应用于策略控制器的方法的实施例对应,在此,分类器在接收并存储IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识(或者默认的业务链标识以及与该默认的业务链标识对应的业务流的描述信息)后,当其再接收到基于该IP-CAN会话发起的业务流的时候,就会给该业务流分配对应的业务链标识,以将该业务流引导至相应的业务链。In a specific embodiment of the present invention, corresponding to the above-mentioned embodiment of the method applied to the policy controller, here, the classifier is receiving and storing the identification of the IP-CAN session and multiple services initiated based on the IP-CAN session After the service chain identifier of the flow (or the default service chain identifier and the description information of the service flow corresponding to the default service chain identifier), when it receives the service flow initiated based on the IP-CAN session, it will A corresponding service chain identifier is assigned to the service flow, so as to guide the service flow to the corresponding service chain.
其中,在本发明的上述实施例中,基于该IP-CAN会话发起的多个业务流分别对应的业务链标识相同或者不同。Wherein, in the above embodiments of the present invention, the service chain identifiers corresponding to the multiple service flows initiated based on the IP-CAN session are the same or different.
基于该IP-CAN会话发起的多个业务流分别对应的业务链标识相同的情况包括:The situations where multiple service flows initiated based on the IP-CAN session correspond to the same service chain identifier include:
基于该IP-CAN会话发起的多个业务流中上行业务流和下行业务流分别对应的业务链标识相同。Among the multiple service flows initiated based on the IP-CAN session, the service chain identifiers respectively corresponding to the uplink service flow and the downlink service flow are the same.
基于该IP-CAN会话发起的多个业务流分别对应的业务链标识不同包括:The different service chain identifiers corresponding to the multiple service flows initiated based on the IP-CAN session include:
基于该IP-CAN会话发起的多个业务流中的上行业务流均对应第一业务链标识,多个业务流中的下行业务流均对应第二业务链标识;其中,第一业务链标识与第二业务链标识不同;或者The upstream service flow in the multiple service flows initiated based on the IP-CAN session all corresponds to the first service chain identifier, and the downstream service flow in the multiple service flows corresponds to the second service chain identifier; wherein, the first service chain identifier and The second business chain identifier is different; or
基于该IP-CAN会话发起的多个业务流中的上行业务流分别对应一上行业务链标识,多个业务流中的下行业务流分别对应一下行业务链标识;其中,每一个上行业务链标识互不相同,每一个下行业务链标识互不相同,且上行业务链标识与下行业务链标识互不相同;或者The upstream service flows in the multiple service flows initiated based on the IP-CAN session correspond to an upstream service chain identifier respectively, and the downstream service flows in the multiple service flows respectively correspond to a downstream service chain identifier; wherein, each upstream service chain identifier are different from each other, each downlink service chain ID is different from each other, and the uplink service chain ID and downlink service chain ID are different from each other; or
基于该IP-CAN会话发起的多个业务流分别对应一个业务链标识;其中,多个业务流中的每一个业务流对应的业务链标识互不相同。Multiple service flows initiated based on the IP-CAN session respectively correspond to a service chain identifier; wherein, the service chain identifiers corresponding to each of the multiple service flows are different from each other.
如图10所示,本发明的实施例还提供了一种业务链标识的分配装置,应用于一分类器,装置包括:As shown in FIG. 10, the embodiment of the present invention also provides a service chain identification distribution device, which is applied to a classifier, and the device includes:
接收模块101,用于接收策略控制器发送的国际互联网协议连接接入网络IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识;The receiving module 101 is used to receive the identification of the Internet protocol connection access network IP-CAN session sent by the policy controller and the service chain identification of multiple service flows initiated based on the IP-CAN session;
第三分配模块102,用于根据IP-CAN会话的标识和基于该IP-CAN会话发起的多个业务流的业务链标识,给多个业务流分配对应的业务链标识。The third allocation module 102 is configured to allocate corresponding service chain identifiers to multiple service flows according to the identifier of the IP-CAN session and the service chain identifiers of the multiple service flows initiated based on the IP-CAN session.
其中,第三分配模块102包括:Wherein, the third allocation module 102 includes:
第三单元,用于根据IP-CAN会话的标识,接收并识别基于该IP-CAN会话的多个业务流;The third unit is used to receive and identify multiple service flows based on the IP-CAN session according to the identifier of the IP-CAN session;
第四单元,用于获取该多个业务流分别对应的业务链标识;The fourth unit is configured to obtain service chain identifiers respectively corresponding to the plurality of service flows;
第五单元,用于将业务流对应的业务链标识分别分配给相应的业务流。The fifth unit is configured to assign service chain identifiers corresponding to service flows to corresponding service flows.
其中,装置还包括:Among them, the device also includes:
第四分配模块,用于接收策略控制器发送的给按照用户类别、业务流的业务特性、IP-CAN会话的标识、时间、用户位置、网络拥塞状态和/或无线网络接入类型识别的业务流分配的默认的业务链标识以及业务流的描述信息,并依据业务流的描述信息,将默认的业务链标识分配给该业务流。The fourth allocation module is used to receive the service identified by the policy controller according to the user category, the service characteristic of the service flow, the identification of the IP-CAN session, time, user location, network congestion status and/or wireless network access type The default business chain identifier and the description information of the business flow allocated by the flow, and according to the description information of the business flow, the default service chain identifier is assigned to the business flow.
需要说明的是,本发明实施例提供的应用于分类器的业务链标识的分配装置是应用于上述应用于分类器的业务链标识的分配方法。即上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the apparatus for allocating service chain IDs applied to classifiers provided in the embodiment of the present invention is applied to the above-mentioned method for allocating service chain IDs applied to classifiers. That is, all the embodiments of the above methods are applicable to the device, and can achieve the same or similar beneficial effects.
本发明的实施例还提供了一种分类器,包括上述的业务链标识的分配装置。An embodiment of the present invention also provides a classifier, including the above-mentioned apparatus for allocating service chain identifiers.
本发明的上述实施例,能够基于IP-CAN会话的粒度区分业务流,并针对IP-CAN会话的业务流制定、更新或删除业务链策略规则,并为业务流分配相应的业务链标识,分类器可以依据业务链标识引导IP-CAN会话粒度的业务流经过相应的业务链。针对IP-CAN会话业务流的业务链策略控制机制,丰富了业务链控制机制的能力,并提高了其控制的灵活性。且针对策略控制器无法识别的一些业务流,可以分配默认的业务链标识,分类器可以依据默认的业务链标识将相应的业务流引导至相应的业务链。The foregoing embodiments of the present invention can distinguish service flows based on the granularity of the IP-CAN session, formulate, update or delete service chain policy rules for the service flow of the IP-CAN session, and assign corresponding service chain identifiers to service flows, classifying The device can guide the service flow of IP-CAN session granularity to pass through the corresponding service chain according to the service chain identifier. The service chain policy control mechanism for IP-CAN session service flow enriches the capability of the service chain control mechanism and improves the flexibility of its control. And for some service flows that the policy controller cannot identify, a default service chain identifier can be assigned, and the classifier can guide the corresponding service flow to the corresponding service chain according to the default service chain identifier.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (21)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510172550.6A CN106161375B (en) | 2015-04-13 | 2015-04-13 | Distribution method, device, strategy controller and the classifier of business chain mark |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510172550.6A CN106161375B (en) | 2015-04-13 | 2015-04-13 | Distribution method, device, strategy controller and the classifier of business chain mark |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106161375A true CN106161375A (en) | 2016-11-23 |
| CN106161375B CN106161375B (en) | 2019-10-29 |
Family
ID=57336830
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510172550.6A Active CN106161375B (en) | 2015-04-13 | 2015-04-13 | Distribution method, device, strategy controller and the classifier of business chain mark |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106161375B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101217789A (en) * | 2008-01-10 | 2008-07-09 | 中兴通讯股份有限公司 | A method for selecting a policy and charging rule function server in a non-roaming scenario |
| WO2009064319A1 (en) * | 2007-11-16 | 2009-05-22 | Iac Search & Media, Inc. | Categorization in a system and method for conducting a search |
| CN101459951A (en) * | 2008-04-11 | 2009-06-17 | 中兴通讯股份有限公司 | Method and system for bearing binding and event reporting function policy control |
| CN101771605A (en) * | 2008-12-30 | 2010-07-07 | 华为技术有限公司 | DS-Lite based business flow management method, device and system |
| CN103929492A (en) * | 2014-04-28 | 2014-07-16 | 华为技术有限公司 | Method, devices and system for load balancing of service chain |
-
2015
- 2015-04-13 CN CN201510172550.6A patent/CN106161375B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009064319A1 (en) * | 2007-11-16 | 2009-05-22 | Iac Search & Media, Inc. | Categorization in a system and method for conducting a search |
| CN101217789A (en) * | 2008-01-10 | 2008-07-09 | 中兴通讯股份有限公司 | A method for selecting a policy and charging rule function server in a non-roaming scenario |
| CN101459951A (en) * | 2008-04-11 | 2009-06-17 | 中兴通讯股份有限公司 | Method and system for bearing binding and event reporting function policy control |
| CN101771605A (en) * | 2008-12-30 | 2010-07-07 | 华为技术有限公司 | DS-Lite based business flow management method, device and system |
| CN103929492A (en) * | 2014-04-28 | 2014-07-16 | 华为技术有限公司 | Method, devices and system for load balancing of service chain |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106161375B (en) | 2019-10-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101272256B (en) | Business handling method and system, policy control and charging regulation functional entity | |
| US7844728B2 (en) | Packet filtering/classification and/or policy control support from both visited and home networks | |
| EP3634016B1 (en) | Charging methods and devices | |
| CN103081551B (en) | For generating the method and system of PCC rule based on service request | |
| CN103248451B (en) | Service rate control method and system and equipment | |
| JP6201270B2 (en) | Billing method and apparatus | |
| TW201141165A (en) | Controlling packet filter installation in a user equipment | |
| CN103404102A (en) | A bearer creation method, device and system | |
| US10555325B2 (en) | Network resource prioritization for mobile termination services | |
| CN105493525A (en) | Service layer southbound interface and quality of service | |
| CN104685839B (en) | For handling the method and apparatus of grouping | |
| CN101800967A (en) | Method, gateway and mobile terminal for realizing strategy and charging control | |
| WO2017173941A9 (en) | Method, apparatus and system for processing quality of service (qos) policy | |
| CN101374100B (en) | Method, device and system for classifying WiMAX service data stream messages | |
| CN103533527A (en) | Service data stream sending processing method and device | |
| CN108306843B (en) | Service data stream transmission method, system and PGW | |
| CN109644161A (en) | The MP-GW port mapping method divided by service flow and system in multi-path environment | |
| CN101005440A (en) | Metod for realizing different service quality control in radio network | |
| EP3163940A1 (en) | Method and apparatus for processing uplink data | |
| CN101360097B (en) | Method, network and network element for forwarding packet | |
| CN106161375B (en) | Distribution method, device, strategy controller and the classifier of business chain mark | |
| CN101547133A (en) | Method and device for controlling policy | |
| CN101009637B (en) | Service quality control method and system | |
| WO2017088163A1 (en) | Method and apparatus for transmitting information contents | |
| CN106162592A (en) | The correlating method of policy control and charging controlled session and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |