Movatterモバイル変換


[0]ホーム

URL:


CN105812272B - Processing method, device and the system of business chain - Google Patents

Processing method, device and the system of business chain
Download PDF

Info

Publication number
CN105812272B
CN105812272BCN201410834211.5ACN201410834211ACN105812272BCN 105812272 BCN105812272 BCN 105812272BCN 201410834211 ACN201410834211 ACN 201410834211ACN 105812272 BCN105812272 BCN 105812272B
Authority
CN
China
Prior art keywords
service
application
information
service chain
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.)
Expired - Fee Related
Application number
CN201410834211.5A
Other languages
Chinese (zh)
Other versions
CN105812272A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to PCT/CN2015/079387priorityCriticalpatent/WO2015188682A1/en
Publication of CN105812272ApublicationCriticalpatent/CN105812272A/en
Application grantedgrantedCritical
Publication of CN105812272BpublicationCriticalpatent/CN105812272B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明实施例涉及一种业务链的处理方法、装置与系统。所述方法包括:策略计费控制功能PCRF实体接收应用检测实体发送的信用控制请求消息,信用控制请求消息包括应用检测实体获取的用户终端访问应用时的应用启动信息;PCRF实体向业务控制器发送业务链路径请求消息,业务链路径请求消息包括PCRF实体根据应用启动信息确定的用于对应用进行业务处理的业务链的属性信息;PCRF实体接收业务控制器根据业务链的属性信息发送的业务链的路径标识信息;PCRF实体向应用检测实体发送信用控制响应消息,信用控制响应消息包括路径标识信息,以使应用检测实体根据路径标识信息,对接收到的用户终端发送的数据包进行转发处理。

Embodiments of the present invention relate to a service chain processing method, device and system. The method includes: the policy charging control function PCRF entity receives the credit control request message sent by the application detection entity, and the credit control request message includes the application startup information obtained by the application detection entity when the user terminal accesses the application; the PCRF entity sends the message to the service controller Service chain path request message, the service chain path request message includes the attribute information of the service chain used to process the application business determined by the PCRF entity according to the application startup information; the PCRF entity receives the service chain sent by the service controller according to the attribute information of the service chain The path identification information; the PCRF entity sends a credit control response message to the application detection entity, and the credit control response message includes the path identification information, so that the application detection entity forwards the received data packet sent by the user terminal according to the path identification information.

Description

Translated fromChinese
业务链的处理方法、装置与系统Business chain processing method, device and system

技术领域technical field

本发明实施例涉及通讯技术领域,尤其涉及一种业务链的处理方法、装置与系统。The embodiments of the present invention relate to the technical field of communications, and in particular, to a service chain processing method, device, and system.

背景技术Background technique

当前,通信运营商在通信链路上部署了一系列的业务使能器,用以提供管道增值业务,业务使能器的不同组合被称作业务链。业务链可提供不同种类的功能,例如:可提供视频优化(Video optimization)、网络(Web)缓存、超文本传输协议(Hypertext transferprotocol,简称:HTTP)头增强、防火墙等业务功能。Currently, communication operators deploy a series of service enablers on communication links to provide pipe value-added services, and different combinations of service enablers are called service chains. The service chain can provide different types of functions, for example, it can provide video optimization (Video optimization), network (Web) caching, hypertext transfer protocol (Hypertext transfer protocol, referred to as: HTTP) header enhancement, firewall and other service functions.

通信运营商可通过以下关键部件实现对业务链的部署:业务配置管理系统、策略与计费规则功能(Pol icy and Charging Rules Function,简称:PCRF)实体、网关(GateWay,简称:GW)、基于业务的路由(Service Based Rout ing,简称:SBR)实体、业务控制器(Service Controller)、负载均衡节点以及业务交换机(Service Switch),其中,SBR实体还可使用流量分类器(Traffic Class ifier,简称:TC)代替,负载均衡节点与至少一个业务使能器连接。Communication operators can deploy service chains through the following key components: service configuration management system, Policy and Charging Rules Function (Policy and Charging Rules Function, PCRF for short) entity, Gateway (GateWay, GW for short), based on service routing (Service Based Routing, referred to as: SBR) entity, service controller (Service Controller), load balancing node and service switch (Service Switch), wherein, the SBR entity can also use a traffic classifier (Traffic Classifier, referred to as : TC) Instead, the load balancing node is connected to at least one service enabler.

现有技术中,通过业务链实现业务功能的具体过程如下:业务控制器从业务配置管理系统处获取到业务链的描述信息。业务控制器还从业务交换机处获取到网络拓扑信息;根据网络拓扑信息,业务控制器确定网络中部署的负载均衡节点的种类,并生成业务链的路由规则表;业务控制器向业务交换机和SBR实体发送业务链的路由规则表。PCRF实体从业务配置管理系统处获取到业务链的描述信息。其中,所述业务链的描述信息具体如表1所示。In the prior art, the specific process of implementing service functions through service chains is as follows: the service controller obtains the description information of the service chain from the service configuration management system. The service controller also obtains network topology information from the service switch; according to the network topology information, the service controller determines the type of load balancing nodes deployed in the network, and generates a routing rule table for the service chain; the service controller sends the service switch and SBR The entity sends the routing rule table of the business chain. The PCRF entity obtains the description information of the service chain from the service configuration management system. Wherein, the description information of the service chain is specifically shown in Table 1.

表1 业务链的描述信息Table 1 Description information of business chain

业务链的标识ID of the business chain业务链business chain业务链1Business chain 1Video Cache<--->NATVideo Cache<--->NAT业务链2Business chain 2Video Optimization<--->FW<--->NATVideo Optimization<--->FW<--->NAT……...……...

表1中,每个业务链的标识对应一条已配置的业务链,每条业务链由多个业务类型构成,每个业务类型也表示了构成业务链的业务使能器的类型。In Table 1, the identifier of each service chain corresponds to a configured service chain, and each service chain is composed of multiple service types, and each service type also indicates the type of service enabler that constitutes the service chain.

业务控制器向业务交换机和SBR实体发送业务链的路由规则表后,PCRF实体通知SBR实体其所订阅的应用;当SBR实体检测到用户终端访问订阅的应用时,向PCRF实体发送上报订阅应用请求消息;PCRF实体根据上报订阅应用请求消息,从业务链的描述信息中选择出与应用对应的且为已配置完成的业务链并获取该业务链的标识;PCRF实体向SBR实体发送业务链的标识,以使得SBR实体接收到用户终端发送的数据包时,根据业务链的标识和业务链的路由规则表将数据包转发至业务交换机。业务交换机根据业务链的路由规则表,将SBR实体转发的数据包转发至负载均衡节点。负载均衡节点根据负载均衡算法,对可处理同一业务的业务使能器进行选择,并将交换机转发的数据包转发至选择出的业务使能器,由选择出的业务使能器对数据包进行业务处理。选择出的业务使能器对数据包进行业务处理后,再将数据包转发至业务交换机,业务交换机再次根据业务链的路由规则表,将数据包转发至另一个负载均衡节点处,直至数据包依照构成业务链的业务类型,完成全部的业务处理。After the service controller sends the routing rule table of the service chain to the service switch and the SBR entity, the PCRF entity notifies the SBR entity of the application it has subscribed to; when the SBR entity detects that the user terminal accesses the subscribed application, it sends a report subscription application request to the PCRF entity message; the PCRF entity selects the configured service chain corresponding to the application from the description information of the service chain according to the report subscription application request message, and obtains the identifier of the service chain; the PCRF entity sends the identifier of the service chain to the SBR entity , so that when the SBR entity receives the data packet sent by the user terminal, it forwards the data packet to the service switch according to the identifier of the service chain and the routing rule table of the service chain. The service switch forwards the data packet forwarded by the SBR entity to the load balancing node according to the routing rule table of the service chain. The load balancing node selects the service enabler that can handle the same service according to the load balancing algorithm, and forwards the data packet forwarded by the switch to the selected service enabler, and the selected service enabler processes the data packet business processing. After the selected service enabler performs business processing on the data packet, it forwards the data packet to the service switch, and the service switch forwards the data packet to another load balancing node according to the routing rule table of the service chain again, until the data packet Complete all business processing according to the business types that constitute the business chain.

但是,现有技术提供的技术方案也暴露出以下缺陷:1)每个负载均衡节点均需保存归属的业务使能器之间进行通信的会话状态信息,使得现有技术中网络实现复杂;2)业务链不易于扩展。例如,假设有网络地址转换(Network Address Trans lat ion,简称:NAT)、防火墙(Fire Wal l,简称:FW)、视频缓存(Video Cache)、Video opt imizat ion 4种业务类型,则业务配置管理系统选择任意1个、2个、3个、4个业务类型可组成一条业务链,如果业务配置管理系统在先已配置完成多条业务链,但随着通信运营商增值业务种类的提升,使得业务链不易于扩展。However, the technical solutions provided by the prior art also expose the following defects: 1) each load balancing node needs to save the session state information for communication between the service enablers it belongs to, which makes the network implementation complicated in the prior art; 2) ) business chain is not easy to expand. For example, assuming that there are four service types: Network Address Translation (NAT for short), Fire Wall (Fire Wall, FW for short), Video Cache, and Video opt imization, then the service configuration management The system can select any 1, 2, 3, or 4 service types to form a service chain. If the service configuration management system has previously configured multiple service chains, but with the improvement of the value-added service types of communication operators, making Business chains are not easy to expand.

发明内容Contents of the invention

本发明实施例提供了一种业务链的处理方法、装置与系统,解决了现有技术中网络部署复杂,以及业务链不易扩展的问题。Embodiments of the present invention provide a service chain processing method, device, and system, which solve the problems of complex network deployment and difficult expansion of service chains in the prior art.

在第一方面,本发明实施例提供了一种业务链的处理方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for processing a service chain, the method including:

策略计费控制功能PCRF实体接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息;The policy charging control function PCRF entity receives the credit control request message sent by the application detection entity, and the credit control request message includes the application startup information obtained by the application detection entity when the user terminal accesses the application;

所述PCRF实体向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息;The PCRF entity sends a service chain path request message to the service controller, and the service chain path request message includes the attribute information of the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information ;

所述PCRF实体接收所述业务控制器根据所述业务链的属性信息发送的所述业务链的路径标识信息;The PCRF entity receives the path identification information of the service chain sent by the service controller according to the attribute information of the service chain;

所述PCRF实体向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The PCRF entity sends a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity performs a response to the received user based on the path identification information. The data packet sent by the terminal is forwarded.

在第一种可能的实现方式中,所述业务链的属性信息包括业务类型信息;In a first possible implementation manner, the attribute information of the service chain includes service type information;

所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:The attribute information of the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information specifically includes:

根据所述应用启动信息包括的应用标识,所述PCRF实体确定用于对所述应用进行业务处理的至少一个业务类型信息。According to the application identifier included in the application startup information, the PCRF entity determines at least one piece of service type information for performing service processing on the application.

结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述业务链的属性信息还包括业务处理顺序信息;With reference to the first possible implementation of the first aspect, in a second possible implementation, the attribute information of the service chain further includes service processing sequence information;

所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:The attribute information of the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information specifically includes:

根据所述应用启动信息包括的应用标识,所述PCRF实体确定用于对所述应用进行业务处理的至少一个业务类型信息;According to the application identification included in the application activation information, the PCRF entity determines at least one service type information for performing service processing on the application;

根据至少一个所述业务类型信息,所述PCRF实体确定用于对所述应用进行业务处理的业务处理顺序信息。According to at least one piece of service type information, the PCRF entity determines service processing sequence information for performing service processing on the application.

结合第一方面或第一方面的第一种、第二种可能的实现方式,在第三种可能的实现方式中,所述业务链路径请求消息还包括所述应用检测实体的地址信息,所述应用检测实体的地址信息用于使所述业务控制器向所述应用检测实体发送所述业务链的路由规则表。With reference to the first aspect or the first and second possible implementation manners of the first aspect, in a third possible implementation manner, the service chain path request message further includes address information of the application detection entity, so The address information of the application detection entity is used to make the service controller send the routing rule table of the service chain to the application detection entity.

结合第一方面或第一方面的第一种、第二种、第三种可能的实现方式,在第四种可能的实现方式中,所述PCRF实体向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理具体包括:With reference to the first aspect or the first, second, and third possible implementations of the first aspect, in a fourth possible implementation, the PCRF entity sends a credit control response message to the application detection entity The credit control response message includes the path identification information, so that the application detection entity forwards the received data packet sent by the user terminal according to the path identification information, which specifically includes:

所述PCRF实体向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息和接收到的所述业务控制器发送的业务链的路由规则表,对接收到的所述用户终端发送的所述数据包进行转发处理。The PCRF entity sends a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity controls the application according to the path identification information and the received service The routing rule table of the service chain sent by the device is used to forward the received data packet sent by the user terminal.

结合第一方面或第一方面的第一种、第二种、第三种、第四种可能的实现方式,在第五种可能的实现方式中,所述应用检测实体具体为策略计费执行功能PCEF实体或者流路由器。With reference to the first aspect or the first, second, third, and fourth possible implementations of the first aspect, in a fifth possible implementation, the application detection entity is specifically a policy charging implementation Functional PCEF entity or flow router.

在第二方面,本发明实施例提供了一种业务链的处理装置,所述装置包括:接收单元、确定单元和发送单元;In a second aspect, an embodiment of the present invention provides a service chain processing device, the device comprising: a receiving unit, a determining unit, and a sending unit;

所述接收单元,用于接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息;The receiving unit is configured to receive a credit control request message sent by an application detection entity, where the credit control request message includes application startup information acquired by the application detection entity when the user terminal accesses the application;

所述确定单元,用于根据所述应用启动信息确定用于对所述应用进行业务处理的业务链的属性信息;The determining unit is configured to determine attribute information of a service chain for performing service processing on the application according to the application startup information;

所述发送单元,用于向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括所述确定单元确定的所述业务链的属性信息;The sending unit is configured to send a service chain path request message to the service controller, where the service chain path request message includes the attribute information of the service chain determined by the determining unit;

所述接收单元还用于,接收所述业务控制器根据所述业务链的属性信息发送的所述业务链的路径标识信息;The receiving unit is further configured to receive path identification information of the service chain sent by the service controller according to the attribute information of the service chain;

所述发送单元还用于,向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The sending unit is further configured to send a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity can respond to the received path identification information according to the path identification information. The data packet sent by the user terminal is forwarded.

在第一种可能的实现方式中,所述发送单元发送的所述业务链的属性信息包括业务类型信息;In a first possible implementation manner, the attribute information of the service chain sent by the sending unit includes service type information;

所述确定单元具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息。The determining unit is specifically configured to determine at least one piece of service type information for performing service processing on the application according to the application identifier included in the application startup information.

结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述发送单元发送的所述业务链的属性信息还包括业务处理顺序信息;With reference to the first possible implementation of the second aspect, in a second possible implementation, the attribute information of the service chain sent by the sending unit further includes service processing sequence information;

所述确定单元具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息;The determining unit is specifically configured to determine at least one service type information for performing service processing on the application according to the application identification included in the application startup information;

根据至少一个所述业务类型信息,确定用于对所述应用进行业务处理的业务处理顺序信息。Determine service processing sequence information for performing service processing on the application according to at least one piece of service type information.

结合第二方面或第二方面的第一种、第二种可能的实现方式,在第三种可能的实现方式中,所述发送单元发送的所述业务链路径请求消息还包括所述应用检测实体的地址信息,所述应用检测实体的地址信息用于使所述业务控制器向所述应用检测实体发送所述业务链的路由规则表。With reference to the second aspect or the first and second possible implementations of the second aspect, in a third possible implementation, the service chain path request message sent by the sending unit further includes the application detection Address information of the entity, where the address information of the application detection entity is used to enable the service controller to send the routing rule table of the service chain to the application detection entity.

结合第二方面或第二方面的第一种、第二种、第三种可能的实现方式,在第四种可能的实现方式中,所述发送单元具体用于,向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息和接收到的所述业务控制器发送的业务链的路由规则表,对接收到的所述用户终端发送的所述数据包进行转发处理。With reference to the second aspect or the first, second, and third possible implementation manners of the second aspect, in a fourth possible implementation manner, the sending unit is specifically configured to send to the application detection entity A credit control response message, where the credit control response message includes the path identification information, so that the application detection entity, according to the path identification information and the received routing rule table of the service chain sent by the service controller, The received data packet sent by the user terminal is forwarded.

在第三方面,本发明实施例提供了一种业务链的处理系统,所述系统包括:策略计费控制功能PCRF实体和业务控制器;In a third aspect, an embodiment of the present invention provides a service chain processing system, the system comprising: a policy charging control function PCRF entity and a service controller;

所述PCRF实体,用于接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息,根据所述应用启动信息确定用于对所述应用进行业务处理的业务链的属性信息,并向所述业务控制器发送业务链路径请求消息,所述业务链路经请求消息包括所述业务链的属性信息;The PCRF entity is configured to receive a credit control request message sent by an application detection entity, where the credit control request message includes the application activation information obtained by the application detection entity when the user terminal accesses the application, and determines the application activation information according to the application activation information. Based on the attribute information of the service chain that performs service processing on the application, and send a service chain path request message to the service controller, the service link request message includes the attribute information of the service chain;

所述业务控制器,用于接收所述PCRF实体发送的所述业务链路经请求消息,根据所述业务链的属性信息为所述业务链分配路径标识信息,并向所述PCRF实体发送所述业务链的路径标识信息;The service controller is configured to receive the service link request message sent by the PCRF entity, assign path identification information to the service link according to the attribute information of the service link, and send the requested message to the PCRF entity. Path identification information of the above business chain;

所述PCRF实体还用于,接收所述业务控制器发送的所述业务链的路径标识信息,并向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The PCRF entity is further configured to receive the path identification information of the service chain sent by the service controller, and send a credit control response message to the application detection entity, where the credit control response message includes the path identification information so that the application detection entity forwards the received data packet sent by the user terminal according to the path identification information.

因此,通过应用本发明实施例提供的业务链的处理方法、装置与系统,PCRF实体根据应用检测实体发送的应用启动信息确定对应用进行业务处理的业务链,并向业务控制器发送业务链的属性信息,以使得业务控制器根据业务链的属性信息,为业务链分配路径标识信息,PCRF实体将业务控制器发送的路径标识信息转发至应用检测实体,使应用检测实体根据路径标识信息,对接收到的用户终端发送的数据包进行转发处理。解决了现有技术中由于部署负载均衡节点导致网络部署复杂,以及业务链不易扩展的问题。实现了网络中不再部署负载均衡节点,同时,按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。Therefore, by applying the service chain processing method, device, and system provided by the embodiments of the present invention, the PCRF entity determines the service chain for performing service processing on the application according to the application startup information sent by the application detection entity, and sends the service chain information to the service controller. attribute information, so that the service controller assigns path identification information to the service chain according to the attribute information of the service chain, and the PCRF entity forwards the path identification information sent by the service controller to the application detection entity, so that the application detection entity The received data packet sent by the user terminal is forwarded. It solves the problems in the prior art that network deployment is complicated due to the deployment of load balancing nodes, and the service chain is not easy to expand. It realizes that load balancing nodes are no longer deployed in the network, and at the same time, business chains are created on demand, adapting to the ever-changing mobile Internet business model, and improving the flexibility and scalability of creating business chains.

附图说明Description of drawings

图1为本发明实施例一提供的业务链的处理系统架构图;Fig. 1 is a processing system architecture diagram of a business chain provided by Embodiment 1 of the present invention;

图2为本发明实施例二提供的业务链的处理方法流程图;Fig. 2 is a flow chart of the processing method of the service chain provided by Embodiment 2 of the present invention;

图3为本发明实施例三提供的业务链的处理方法流程图;Fig. 3 is a flow chart of the processing method of the service chain provided by Embodiment 3 of the present invention;

图4为本发明实施例提供的一种业务链的处理方法信令图;FIG. 4 is a signaling diagram of a service chain processing method provided by an embodiment of the present invention;

图5为本发明实施例四提供的业务链的处理装置结构示意图;FIG. 5 is a schematic structural diagram of a processing device for a service chain provided by Embodiment 4 of the present invention;

图6为本发明实施例五提供的业务链的处理装置硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of a processing device for a service chain provided by Embodiment 5 of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为便于对本发明实施例的理解,下面将结合附图以具体实施例做进一步的解释说明,实施例并不构成对本发明实施例的限定。In order to facilitate the understanding of the embodiments of the present invention, further explanations will be given below with specific embodiments in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the present invention.

实施例一Embodiment one

下面以图1为例详细说明本发明实施例提供的业务链的处理方法所应用的系统架构,图1为本发明实施例提供的业务链的处理系统架构图。所述系统可应用在移动互联网商业模式下。如图1所示,所述系统包括:应用检测实体110、PCRF实体120和业务控制器130。The system architecture applied to the service chain processing method provided by the embodiment of the present invention is described in detail below by taking FIG. 1 as an example. FIG. 1 is a system architecture diagram of the service chain processing provided by the embodiment of the present invention. The system can be applied in the mobile Internet business model. As shown in FIG. 1 , the system includes: an application detection entity 110 , a PCRF entity 120 and a service controller 130 .

所述PCRF实体120,用于接收应用检测实体110发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息,根据所述应用启动信息确定用于对所述应用进行业务处理的业务链的属性信息,并向所述业务控制器130发送业务链路径请求消息,所述业务链路经请求消息包括所述业务链的属性信息;The PCRF entity 120 is configured to receive the credit control request message sent by the application detection entity 110, the credit control request message includes the application activation information obtained by the application detection entity when the user terminal accesses the application, and according to the application activation information Determine the attribute information of the service chain used to perform service processing on the application, and send a service chain path request message to the service controller 130, and the service link request message includes the attribute information of the service chain;

所述业务控制器130,用于接收所述PCRF实体120发送的所述业务链路经请求消息,根据所述业务链的属性信息为所述业务链分配路径标识信息,并向所述PCRF实体120发送所述业务链的路径标识信息;The service controller 130 is configured to receive the service link request message sent by the PCRF entity 120, assign path identification information to the service link according to the attribute information of the service link, and send the PCRF entity 120 Sending path identification information of the service chain;

所述PCRF实体120还用于,接收所述业务控制器130发送的所述业务链的路径标识信息,并向所述应用检测实体110发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体110根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The PCRF entity 120 is further configured to receive path identification information of the service chain sent by the service controller 130, and send a credit control response message to the application detection entity 110, where the credit control response message includes the Path identification information, so that the application detection entity 110 forwards the received data packet sent by the user terminal according to the path identification information.

具体地,用户终端根据用户的操作指令访问某一应用,被访问的应用根据用户终端发送的访问指令,进行自启动并为用户终端提供相应的服务。应用检测实体110执行步骤10,即获取应用的应用启动信息,将应用启动信息携带在信用控制请求消息(CreditControl Request,简称:CCR)中,向PCRF实体120发送信用控制请求消息。Specifically, the user terminal accesses an application according to the user's operation instruction, and the accessed application performs self-starting and provides corresponding services for the user terminal according to the access instruction sent by the user terminal. The application detection entity 110 executes step 10, that is, obtains the application activation information of the application, carries the application activation information in a credit control request message (Credit Control Request, CCR for short), and sends the credit control request message to the PCRF entity 120 .

PCRF实体120接收CCR消息后,根据携带的应用启动信息,PCRF实体120执行步骤20,即确定用于对应用进行业务处理的业务,向业务控制器130发送具有业务链的属性信息的业务链路径请求消息。After the PCRF entity 120 receives the CCR message, according to the carried application start information, the PCRF entity 120 executes step 20, that is, determines the service used to process the application, and sends the service chain path with the attribute information of the service chain to the service controller 130 request message.

进一步地,在本发明实施例中,所述业务链的属性信息包括业务类型信息。所述PCRF实体120执行的根据所述应用启动信息确定用于对所述应用进行业务处理的业务链的属性信息具体包括:根据应用启动信息包括的应用标识,确定用于对应用进行业务处理的至少一个业务类型信息。Further, in the embodiment of the present invention, the attribute information of the service chain includes service type information. The determination by the PCRF entity 120 of the attribute information of the service chain used to process the application according to the application startup information specifically includes: determining the service chain used to process the application according to the application identifier included in the application startup information. At least one business type information.

在一个例子中,所述应用具体为在线视频应用,则应用启动信息包括的应用标识指示为在线视频。PCRF实体120根据在线视频,确定对在线视频进行业务处理的至少一个业务类型信息,确定的业务类型信息具体为:类型1:NAT业务;类型2:Video Cache业务和类型3:FW业务。PCRF实体120将确定的至少一个业务类型信息携带在业务链的属性信息中。In an example, the application is specifically an online video application, and the application identifier included in the application startup information indicates that it is an online video. The PCRF entity 120 determines at least one service type information for online video service processing according to the online video, and the determined service type information is specifically: type 1: NAT service; type 2: Video Cache service and type 3: FW service. The PCRF entity 120 carries the determined at least one service type information in the attribute information of the service chain.

更进一步地,在本发明实施例中,所述业务链的属性信息还包括业务处理顺序信息。在实际应用中,PCRF实体120在确定对应用进行业务处理的业务类型信息的同时,还可确定出于业务类型信息对应的业务处理顺序。所述PCRF实体120执行的根据所述应用启动信息确定用于对所述应用进行业务处理的业务链的属性信息具体包括:根据应用启动信息包括的应用标识,确定用于对应用进行业务处理的至少一个业务类型信息;根据至少一个业务类型信息,确定用于对应用进行业务处理的业务处理顺序信息。Furthermore, in the embodiment of the present invention, the attribute information of the service chain also includes service processing sequence information. In practical applications, the PCRF entity 120 may also determine the service processing sequence corresponding to the service type information while determining the service type information for the application. The determination by the PCRF entity 120 of the attribute information of the service chain used to process the application according to the application startup information specifically includes: determining the service chain used to process the application according to the application identifier included in the application startup information. At least one piece of service type information; according to the at least one piece of service type information, determine service processing sequence information for performing service processing on the application.

在另一个例子中,PCRF实体120根据在线视频,确定用于对在线视频进行业务处理的至少一个业务类型信息;根据至少一个业务类型信息,PCRF实体120确定用于对在线视频进行业务处理的业务处理顺序信息。例如,PCRF实体120在确定出类型1、类型2和类型3之后,确定业务类型信息对应的业务处理顺序,确定的业务处理顺序为:类型3、类型2、类型1;或者,业务处理顺序为:类型2、类型3、类型1等等。In another example, the PCRF entity 120 determines at least one service type information for performing service processing on the online video according to the online video; according to the at least one service type information, the PCRF entity 120 determines the service for performing service processing on the online video Process sequential information. For example, after the PCRF entity 120 determines the type 1, type 2, and type 3, it determines the service processing sequence corresponding to the service type information, and the determined service processing sequence is: type 3, type 2, and type 1; or, the service processing sequence is : Type 2, Type 3, Type 1, etc.

更进一步地,在本发明实施例中,所述业务链的属性信息包括业务链标识信息。所述PCRF实体120执行的根据所述应用启动信息确定用于对所述应用进行业务处理的业务链的属性信息具体包括:根据应用启动信息包括的应用标识,确定用于对应用进行业务处理的业务链标识信息。Furthermore, in the embodiment of the present invention, the attribute information of the service chain includes service chain identification information. The determination by the PCRF entity 120 of the attribute information of the service chain used to process the application according to the application startup information specifically includes: determining the service chain used to process the application according to the application identifier included in the application startup information. Business chain identification information.

在一个例子中,所述应用具体为在线视频应用,确定用于对在线视频进行业务链标识为1的业务链处理,业务链标识1代表的业务链描述信息分别预配置在所述PCRF实体和所述业务控制器实体上。例如:业务链标识1代表的业务链为:类型3->类型2->类型1。In an example, the application is specifically an online video application, and is determined to be used for online video processing with a service chain whose service chain ID is 1, and the service chain description information represented by the service chain ID 1 is pre-configured in the PCRF entity and On the service controller entity. For example: the service chain represented by service chain ID 1 is: type 3 -> type 2 -> type 1.

需要说明的是,在本发明实施例中,PCRF实体还可结合网络以及用户签约等信息,进而确定业务链的属性信息。It should be noted that, in the embodiment of the present invention, the PCRF entity may further determine the attribute information of the service chain in combination with information such as network and user subscription.

业务控制器130在接收到业务链路径请求消息后,执行步骤30,即根据业务链的属性信息,为业务链分配路径标识信息,并向PCRF实体120发送业务链的路径标识信息。在本发明实施例中,业务控制器130根据业务链的属性信息,随机为业务链分配路径标识信息。After receiving the service chain path request message, the service controller 130 executes step 30, that is, assigns path identification information to the service chain according to the attribute information of the service chain, and sends the path identification information of the service chain to the PCRF entity 120 . In the embodiment of the present invention, the service controller 130 randomly assigns path identification information to the service chain according to the attribute information of the service chain.

PCRF实体120在接收到业务链的路径标识信息后,执行步骤40,即向应用检测实体110发送信用控制响应消息(Credi t Control Answer,简称:CCA),所述信用控制响应消息包括路径标识信息,以使应用检测实体110根据路径标识信息,对接收到的用户终端发送的数据包进行转发处理。After receiving the path identification information of the service chain, the PCRF entity 120 executes step 40, that is, sends a credit control response message (Credit Control Answer, CCA for short) to the application detection entity 110, and the credit control response message includes the path identification information , so that the application detection entity 110 forwards the received data packet sent by the user terminal according to the path identification information.

可以理解的是,应用检测实体110在接收到PCRF实体120发送的路径标识信息后,建立路径标识信息与应用的对应关系。以使得在接收到用户终端发送的数据包时,根据数据包所归属的应用对应的应用标识,确定对应的路径标识信息。It can be understood that, after receiving the path identification information sent by the PCRF entity 120, the application detection entity 110 establishes a corresponding relationship between the path identification information and the application. So that when the data packet sent by the user terminal is received, the corresponding path identification information is determined according to the application identification corresponding to the application to which the data packet belongs.

可选地,在本发明实施例中,所述系统还包括:至少一个业务使能器140;Optionally, in the embodiment of the present invention, the system further includes: at least one service enabler 140;

所述业务控制器130还用于,根据所述业务链的属性信息,选择出构成所述业务链的所述业务使能器,根据已存储的网络拓扑信息和选择出的所述业务使能器,确定与所述业务链对应的业务链路径。The service controller 130 is further configured to select the service enabler constituting the service chain according to the attribute information of the service chain, and select the service enabler according to the stored network topology information and the selected service enabler The device determines the service chain path corresponding to the service chain.

具体地,业务控制器130在为业务链分配完成路径标识信息后,根据业务链的属性信息选择出构成业务链的至少一个业务使能器140,根据已存储的网络拓扑信息和选择出的业务使能器140,业务控制器130确定与业务链对应的业务链路径。Specifically, after the service controller 130 assigns the path identification information to the service chain, it selects at least one service enabler 140 constituting the service chain according to the attribute information of the service chain, and selects at least one service enabler 140 according to the stored network topology information and the selected service The enabler 140 and the service controller 130 determine a service chain path corresponding to the service chain.

可以理解的是,在通信系统中,存在着多个业务使能器实现同一个业务功能的情况,例如,业务使能器1、业务使能器2、业务使能器3均可实现NAT业务,业务控制器可根据各业务使能器的当前处理数据包的占用情况、处理效率,从业务使能器1、业务使能器2、业务使能器3中选择出1个业务使能器作为构成业务链中实现NAT业务的业务使能器,同理,业务控制选择出实现Video Cache业务和FW业务的业务使能器。It can be understood that in the communication system, there are situations where multiple service enablers implement the same service function, for example, service enabler 1, service enabler 2, and service enabler 3 can all implement NAT services , the service controller can select a service enabler from service enabler 1, service enabler 2, and service enabler 3 according to the occupancy and processing efficiency of the current processing data packets of each service enabler As the service enabler for realizing the NAT service in the service chain, similarly, the service control selects the service enabler for realizing the Video Cache service and the FW service.

需要说明的是,在一种实现方式中,业务控制器130可先根据业务链的属性信息为业务链分配路径标识信息,并向PCRF实体发送路径标识信息,业务控制器130再根据已存储的网络拓扑信息和业务链的属性信息,确定与业务链对应的业务链路径,当然在这种实现方式中,向PCRF发送路径标识信息和确定业务链路径无先后顺序之分;在另一种实现方式中,业务控制器130可先根据已存储的网络拓扑信息和所述业务链的属性信息,确定与业务链对应的业务链路径,再根据确定的业务链路径,业务控制器130为业务链分配路径标识信息,并向PCRF实体发送路径标识信息。It should be noted that, in an implementation manner, the service controller 130 may first assign path identification information to the service chain according to the attribute information of the service chain, and send the path identification information to the PCRF entity, and then the service controller 130 may then use the stored The network topology information and the attribute information of the service chain determine the service chain path corresponding to the service chain. Of course, in this implementation mode, there is no order in sending the path identification information to the PCRF and determining the service chain path; in another implementation In this way, the service controller 130 can first determine the service chain path corresponding to the service chain according to the stored network topology information and the attribute information of the service chain, and then according to the determined service chain path, the service controller 130 can set the service chain Allocate the path identification information, and send the path identification information to the PCRF entity.

可选地,所述系统还包括业务交换机150,业务交换机150与多个业务使能器140连接。Optionally, the system further includes a service switch 150 connected to multiple service enablers 140 .

所述业务控制器130还用于,根据所述业务链路径,确定业务链的路由规则表,并分别向所述应用检测实体110和所述业务交换机150发送所述业务链的路由规则表;The service controller 130 is further configured to determine the routing rule table of the service chain according to the service chain path, and send the routing rule table of the service chain to the application detection entity 110 and the service switch 150 respectively;

所述应用检测实体110还用于,接收所述业务控制器130发送的所述业务链的路由规则表,根据所述路径标识信息和所述业务链的路由规则表,将所述数据包转发至所述业务交换机150;The application detection entity 110 is further configured to receive the routing rule table of the service chain sent by the service controller 130, and forward the data packet according to the path identification information and the routing rule table of the service chain to the service switch 150;

所述业务交换机150,用于接收所述业务控制器130发送的所述业务链的路由规则表,根据所述业务链的路由规则表,将所述应用检测实体110转发的所述数据包转发至对应的所述业务使能器150。The service switch 150 is configured to receive the routing rule table of the service chain sent by the service controller 130, and forward the data packet forwarded by the application detection entity 110 according to the routing rule table of the service chain to the corresponding service enabler 150.

具体地,业务控制器130在确定出与业务链对应的业务链路径后,执行步骤50,即根据业务链路径,确定业务链的路由规则表,所述业务链的路由规则表中具体包括了每条业务链的路径标识信息和下一跳路由信息。业务控制器130还向应用检测实体110和业务交换机150发送业务链的路由规则表。Specifically, after the service controller 130 determines the service chain path corresponding to the service chain, it executes step 50, that is, determines the routing rule table of the service chain according to the service chain path, and the routing rule table of the service chain specifically includes Path identification information and next-hop routing information of each service chain. The service controller 130 also sends the routing rule table of the service chain to the application detection entity 110 and the service switch 150 .

业务检测实体110接收到业务链的路由规则表后,根据路径标识信息和所述业务链的路由规则表,将数据包转发至业务交换机150。After receiving the routing rule table of the service chain, the service detection entity 110 forwards the data packet to the service switch 150 according to the path identification information and the routing rule table of the service chain.

业务交换机150,接收到业务链的路由规则表后,根据业务链的路由规则表,将数据包转发至对应的业务使能器140。After receiving the routing rule table of the service chain, the service switch 150 forwards the data packet to the corresponding service enabler 140 according to the routing rule table of the service chain.

在本发明实施例中,业务控制器130生成多个业务链的路由规则表,每个业务链的路由规则表包括的下一跳路由信息可不相同,所述下一跳路由信息为数据包转发的下一个设备或网元的IP地址或者MAC地址、或者设备或网元的端口号等。In the embodiment of the present invention, the service controller 130 generates routing rule tables of multiple service chains, and the next-hop routing information included in the routing rule tables of each service chain may be different, and the next-hop routing information is data packet forwarding The IP address or MAC address of the next device or network element, or the port number of the device or network element.

例如,业务控制器130确定的业务链路径为FW业务使能器3->Video Cache业务使能器2->NAT业务使能器1,且业务链路径标识信息为10。For example, the service chain path determined by the service controller 130 is FW service enabler 3->Video Cache service enabler 2->NAT service enabler 1, and the service chain path identification information is 10.

业务控制器130向应用检测实体110发送的业务链的路由规则表包括业务链的路径标识信息和与FW业务使能器3连接的业务交换机的IP地址或者MAC地址。业务控制器130向业务交换机150依次下发3个业务链的路由规则表,每个业务链的路由规则表均包括业务链的路径标识信息和1个业务使能器的端口号。例如,业务交换机150接收的业务链的第一路由规则表包括业务链的路径标识信息和FW业务使能器3的端口号;业务交换机150接收的业务链的第二路由规则表包括业务链的路径标识信息和Video Cache业务使能器2的端口号;业务交换机150接收的业务链的第三路由规则表包括业务链的路径标识信息和NAT业务使能器1的端口号。The routing rule table of the service chain sent by the service controller 130 to the application detection entity 110 includes path identification information of the service chain and the IP address or MAC address of the service switch connected to the FW service enabler 3 . The service controller 130 sequentially delivers the routing rule tables of the three service chains to the service switch 150, and the routing rule tables of each service chain include the path identification information of the service chain and the port number of a service enabler. For example, the first routing rule table of the service chain received by the service switch 150 includes the path identification information of the service chain and the port number of the FW service enabler 3; the second routing rule table of the service chain received by the service switch 150 includes the path identification information of the service chain The path identification information and the port number of the Video Cache service enabler 2; the third routing rule table of the service chain received by the service switch 150 includes the path identification information of the service chain and the port number of the NAT service enabler 1.

进一步地,应用检测实体110接收到用户终端发送的数据包时,检测数据包所归属的应用,根据其对应的应用标识(例如,应用标识指示为在线视频),确定对应的路径标识信息(例如,路径标识信息为10)。应用检测实体110根据路径标识信息,确定业务链的路由规则表,并从路由规则表中获取业务交换机150的IP地址或者MAC地址。应用检测实体110将数据包转发至业务交换机150。Further, when the application detection entity 110 receives the data packet sent by the user terminal, it detects the application to which the data packet belongs, and determines the corresponding path identification information (such as , and the path identification information is 10). The application detection entity 110 determines the routing rule table of the service chain according to the path identification information, and obtains the IP address or MAC address of the service switch 150 from the routing rule table. The application detection entity 110 forwards the data packet to the service switch 150 .

业务交换机150根据业务链的第一路由规则表,将应用检测实体110转发的数据包转发至FW业务使能器3,FW业务使能器3对数据包进行业务处理,并将业务处理后的数据包转发回业务交换机150。业务交换机150再次根据业务链的第二路由规则表,将数据包转发至Video Cache业务使能器2,VideoCache业务使能器2对数据包进行业务处理,并将业务处理后的数据包转发回业务交换机150。业务交换机150再次根据业务链的第三路由规则表,将数据包转发至NAT业务使能器1,NAT业务使能器1对数据包进行业务处理,并将业务处理后的数据包转发回业务交换机150。The service switch 150 forwards the data packet forwarded by the application detection entity 110 to the FW service enabler 3 according to the first routing rule table of the service chain, and the FW service enabler 3 performs service processing on the data packet, and sends the service processed The data packet is forwarded back to the service switch 150 . The service switch 150 forwards the data packet to the Video Cache service enabler 2 again according to the second routing rule table of the service chain, and the VideoCache service enabler 2 performs service processing on the data packet, and forwards the processed data packet back to Service switch 150. The service switch 150 forwards the data packet to the NAT service enabler 1 again according to the third routing rule table of the service chain, and the NAT service enabler 1 performs service processing on the data packet, and forwards the processed data packet back to the service Switch 150.

业务交换机150确定数据包已完成全部的业务处理,则根据数据包携带的目的IP地址,将数据包转发至目的IP地址指示的设备或者网元处。The service switch 150 determines that the data packet has completed all service processing, and forwards the data packet to the device or network element indicated by the destination IP address according to the destination IP address carried in the data packet.

可选地,PCRF实体120向业务控制器130发送的业务链路径请求消息还包括应用检测实体的地址信息,所述应用检测实体的地址信息用于使业务控制器130向应用检测实体110发送业务链的路由规则表。通过该步骤,可使应用检测实体110根据路径标识信息和业务控制器130下发的业务链的路由规则表,对数据包进行转发处理。Optionally, the service chain path request message sent by the PCRF entity 120 to the service controller 130 also includes address information of the application detection entity, and the address information of the application detection entity is used to enable the service controller 130 to send the service to the application detection entity 110 The routing rule table for the chain. Through this step, the application detection entity 110 can forward the data packet according to the path identification information and the routing rule table of the service chain issued by the service controller 130 .

可选地,在本发明实施例中,还可将应用检测实体110的地址信息在先存储在业务控制器130的存储器中,此时,PCRF实体120不再向业务控制器130发送应用检测实体的地址信息,业务控制器130根据已存储的应用检测实体110的地址信息,向应用检测实体110发送业务链的路由规则表。Optionally, in this embodiment of the present invention, the address information of the application detection entity 110 may also be stored in the memory of the service controller 130 first, and at this time, the PCRF entity 120 no longer sends the application detection entity address information to the service controller 130. address information of the application detection entity 110, the service controller 130 sends the routing rule table of the service chain to the application detection entity 110 according to the stored address information of the application detection entity 110.

相应地,PCRF实体120具体用于,向应用检测实体110发送信用控制响应消息,所述信用控制响应消息包括路径标识信息,以使应用检测实体110根据路径标识信息和接收到的业务控制器130发送的业务链的路由规则表,对接收到的用户终端发送的数据包进行转发处理。Correspondingly, the PCRF entity 120 is specifically configured to send a credit control response message to the application detection entity 110, where the credit control response message includes path identification information, so that the application detection entity 110 can use the path identification information and the received service controller 130 The routing rule table of the sent service chain performs forwarding processing on the received data packet sent by the user terminal.

需要说明的是,在本发明实施例中,业务控制器130向应用检测实体110发送业务链的路由规则表与业务控制器130向PCRF实体120发送路径标识信息可不限制时序关系。It should be noted that, in the embodiment of the present invention, there is no time sequence relationship between the service controller 130 sending the routing rule table of the service chain to the application detection entity 110 and the service controller 130 sending the path identification information to the PCRF entity 120 .

因此,通过应用本发明实施例提供的业务链的处理系统,解决了现有技术中网络部署复杂,以及业务链不易扩展的问题。实现了网络中不再部署负载均衡节点,同时,按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。Therefore, by applying the service chain processing system provided by the embodiment of the present invention, the problems of complex network deployment and difficult expansion of service chains in the prior art are solved. It realizes that load balancing nodes are no longer deployed in the network, and at the same time, business chains are created on demand, adapting to the ever-changing mobile Internet business model, and improving the flexibility and scalability of creating business chains.

实施例二Embodiment two

为便于对本发明实施例的理解,下面将结合附图以具体实施例做进一步的解释说明,实施例并不构成对本发明实施例的限定。In order to facilitate the understanding of the embodiments of the present invention, further explanations will be given below with specific embodiments in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the present invention.

下面以图2为例详细说明本发明实施例一提供的业务链的处理方法,本方法可以应用在前述业务链的处理系统中。图2为本发明实施例二提供的业务链的处理方法流程图,在本发明实施例中实施主体为PCRF实体。如图2所示,该实施例具体包括以下步骤:The following takes FIG. 2 as an example to describe the service chain processing method provided by Embodiment 1 of the present invention in detail. This method can be applied to the aforementioned service chain processing system. Fig. 2 is a flow chart of the service chain processing method provided by Embodiment 2 of the present invention, and the implementation subject in the embodiment of the present invention is a PCRF entity. As shown in Figure 2, this embodiment specifically includes the following steps:

步骤210、策略计费控制功能PCRF实体接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息。Step 210, the policy and charging control function PCRF entity receives the credit control request message sent by the application detection entity, and the credit control request message includes the application startup information obtained by the application detection entity when the user terminal accesses the application.

具体地,用户终端根据用户的操作指令访问某一应用(例如,在线视频应用),被访问的在线视频应用根据用户终端发送的访问指令,进行自启动并为用户终端提供相应的视频服务,应用检测实体获取在线视频应用的应用启动信息,将应用启动信息携带在信用控制请求消息(CCR)中,向PCRF实体发送信用控制请求消息。Specifically, the user terminal accesses an application (for example, an online video application) according to the user's operation instruction, and the accessed online video application performs self-starting and provides corresponding video services for the user terminal according to the access instruction sent by the user terminal. The detection entity obtains the application activation information of the online video application, carries the application activation information in a credit control request message (CCR), and sends the credit control request message to the PCRF entity.

PCRF实体接收应用检测实体发送的信用控制请求消息。The PCRF entity receives the credit control request message sent by the application detection entity.

进一步地,在本发明实施例中,所述应用检测实体具体为策略计费控制(Pol icyand Charging Control,简称:PCEF)实体或者流路由器。Further, in the embodiment of the present invention, the application detection entity is specifically a Policy and Charging Control (Policy and Charging Control, PCEF for short) entity or a flow router.

在一种实现方式中,应用检测实体具体为PCEF实体时,在执行步骤210之前,PCRF实体还与PCEF实体进行多步骤的交互通信,以使得PCRF实体与PCEF实体建立通信连接,该交互通信为现有技术,在此仅作简要描述。PCEF实体向PCRF实体发送CCR消息,请求建立Gx会话;PCRF实体进行计费策略决策后向PCEF实体发送CCA消息,与PCEF实体建立Gx会话;PCRF实体告知PCEF实体其所订阅的应用;PCEF实体对PCRF实体通知订阅的应用进行检测,当检测到用户终端访问订阅的应用时,PCEF实体向PCRF实体发送本步骤中的携带应用启动信息的CCR消息。In one implementation, when the application detection entity is specifically a PCEF entity, before performing step 210, the PCRF entity also performs multi-step interactive communication with the PCEF entity, so that the PCRF entity establishes a communication connection with the PCEF entity, and the interactive communication is The prior art is only briefly described here. The PCEF entity sends a CCR message to the PCRF entity, requesting to establish a Gx session; the PCRF entity sends a CCA message to the PCEF entity after making a charging policy decision, and establishes a Gx session with the PCEF entity; the PCRF entity informs the PCEF entity of the application it subscribes to; the PCEF entity The PCRF entity notifies the subscribed application to perform detection, and when it is detected that the user terminal accesses the subscribed application, the PCEF entity sends the CCR message carrying the application activation information in this step to the PCRF entity.

在另一种实现方式中,应用检测实体具体为流路由器时,在执行步骤210之前,PCRF实体还与PCEF实体、流路由器进行多步骤的交互通信,以使得PCRF实体与PCEF实体、流路由器建立通信连接,该交互通信为现有技术,在此仅作简要描述。PCRF实体与PCEF实体之间进行通信交互,建立Gx会话后,PCRF实体向流路由器发送TSR消息,请求建立Sd会话,并在建立的Sd会话中通知流路由器其所订阅的应用;流路由对PCRF实体通知订阅的应用进行检测,当检测到用户终端访问订阅的应用时,流路由器向PCRF实体发送本步骤中的携带应用启动信息的CCR消息。In another implementation, when the application detection entity is specifically a flow router, before performing step 210, the PCRF entity also performs multi-step interactive communication with the PCEF entity and the flow router, so that the PCRF entity establishes an The communication connection, the interactive communication is a prior art, which is only briefly described here. The PCRF entity communicates with the PCEF entity. After the Gx session is established, the PCRF entity sends a TSR message to the stream router to request the establishment of an Sd session, and informs the stream router of the applications it subscribes to in the established Sd session; The entity notifies the subscribed application to perform detection. When detecting that the user terminal accesses the subscribed application, the flow router sends the CCR message carrying the application start information in this step to the PCRF entity.

步骤220、所述PCRF实体向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息。Step 220, the PCRF entity sends a service chain path request message to the service controller, and the service chain path request message includes the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information attribute information.

具体地,PCRF实体接收CCR消息后,对CCR消息进行解析并从中提取应用启动信息。根据应用启动信息,PCRF实体确定用于对应用进行业务处理的业务链的属性信息。所述应用即是PCEF实体检测的用户终端访问的应用。Specifically, after receiving the CCR message, the PCRF entity parses the CCR message and extracts application startup information therefrom. According to the application startup information, the PCRF entity determines the attribute information of the service chain used to process the application. The application is the application accessed by the user terminal detected by the PCEF entity.

进一步地,在本发明实施例中,所述业务链的属性信息包括业务类型信息。所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:Further, in the embodiment of the present invention, the attribute information of the service chain includes service type information. The attribute information of the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information specifically includes:

根据应用启动信息包括的应用标识,PCRF实体确定用于对应用进行业务处理的至少一个业务类型信息。According to the application identifier included in the application startup information, the PCRF entity determines at least one piece of service type information for performing service processing on the application.

在一个例子中,所述应用具体为在线视频应用,则应用启动信息包括的应用标识指示为在线视频。PCRF实体根据在线视频,确定对在线视频进行业务处理的至少一个业务类型信息,确定的业务类型信息具体为:类型1:NAT业务;类型2:Video Cache业务和类型3:FW业务。可以理解的是,PCRF实体确定的业务类型信息,也即是构成业务链的业务使能器的类型。根据上述确定出的业务类型信息,PCRF实体还确定对在线视频进行业务处理的业务链。例如,确定的业务链具体为:类型3->类型2->类型1。In an example, the application is specifically an online video application, and the application identifier included in the application startup information indicates that it is an online video. The PCRF entity determines at least one service type information for online video service processing according to the online video, and the determined service type information is specifically: type 1: NAT service; type 2: Video Cache service and type 3: FW service. It can be understood that the service type information determined by the PCRF entity is the type of the service enabler constituting the service chain. According to the determined service type information, the PCRF entity also determines a service chain for online video service processing. For example, the determined service chain is specifically: type 3 -> type 2 -> type 1.

进一步地,在本发明实施例中,所述业务链的属性信息还包括业务处理顺序信息。在实际应用中,PCRF实体在确定对应用进行业务处理的业务类型信息的同时,还可确定出于业务类型信息对应的业务处理顺序。PCRF实体根据在线视频,确定用于对在线视频进行业务处理的至少一个业务类型信息;根据至少一个业务类型信息,PCRF实体确定用于对在线视频进行业务处理的业务处理顺序信息。例如,PCRF在确定出类型1、类型2和类型3之后,确定业务类型信息对应的业务处理顺序,确定的业务处理顺序为:类型3、类型2、类型1;或者,业务处理顺序为:类型2、类型3、类型1等等。需要说明的是,在本发明实施例中,PCRF实体还可结合网络以及用户签约等信息,进而确定业务链的属性信息。Further, in the embodiment of the present invention, the attribute information of the service chain also includes service processing sequence information. In practical applications, the PCRF entity may also determine the service processing order corresponding to the service type information while determining the service type information for service processing of the application. According to the online video, the PCRF entity determines at least one service type information for performing service processing on the online video; according to the at least one service type information, the PCRF entity determines service processing sequence information for performing service processing on the online video. For example, after PCRF determines Type 1, Type 2, and Type 3, it determines the service processing sequence corresponding to the service type information, and the determined service processing sequence is: Type 3, Type 2, and Type 1; or, the service processing sequence is: Type 2. Type 3, Type 1, etc. It should be noted that, in the embodiment of the present invention, the PCRF entity may further determine the attribute information of the service chain in combination with information such as network and user subscription.

PCRF实体向业务控制器发送业务链路径请求消息,所述请求消息包括业务链的属性信息。The PCRF entity sends a service chain path request message to the service controller, and the request message includes attribute information of the service chain.

可以理解的是,PCRF实体在向业务控制器发送业务链路径请求消息之前,管理人员已将PCRF实体与业务控制器分别进行配置,以使得PCRF实体与业务控制器具有统一的业务类型信息和业务链的传递格式。It can be understood that before the PCRF entity sends the service chain path request message to the service controller, the management personnel have configured the PCRF entity and the service controller respectively, so that the PCRF entity and the service controller have unified service type information and service The delivery format of the chain.

PCRF实体根据应用启动信息,进而确定业务链的属性信息,解决了现有技术中业务链不易扩展的问题。实现了按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。The PCRF entity further determines the attribute information of the service chain according to the application startup information, which solves the problem that the service chain is not easy to expand in the prior art. It realizes the creation of business chains on demand, adapts to the ever-changing mobile Internet business model, and improves the flexibility and scalability of creating business chains.

再进一步地,在本发明实施例中,所述业务链的属性信息包括业务链标识信息。所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:Still further, in the embodiment of the present invention, the attribute information of the service chain includes service chain identification information. The attribute information of the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information specifically includes:

根据应用启动信息包括的应用标识,PCRF实体确定用于对应用进行业务处理的业务链标识信息。According to the application identification included in the application start information, the PCRF entity determines the identification information of the service chain used to process the application.

在一个例子中,PCRF实体根据在线视频,确定对在线视频进行业务处理的业务链标识信息为业务链标识1。其中,确定业务链标识的方法可以是:PCRF查询预配置的业务链描述信息可以得到业务链标识1对应的业务链为类型3->类型2->类型1。其中,业务链标识1代表的业务链描述信息分别预配置在所述PCRF实体和所述业务控制器实体上。In an example, the PCRF entity determines, according to the online video, that the service chain identification information for performing service processing on the online video is the service chain identification 1. Wherein, the method for determining the service chain identifier may be: PCRF queries the pre-configured service chain description information to obtain that the service chain corresponding to the service chain identifier 1 is type 3->type 2->type 1. Wherein, the service chain description information represented by the service chain identifier 1 is pre-configured on the PCRF entity and the service controller entity respectively.

步骤230、所述PCRF实体接收所述业务控制器根据所述业务链的属性信息发送的所述业务链的路径标识信息。Step 230, the PCRF entity receives the path identification information of the service chain sent by the service controller according to the attribute information of the service chain.

进一步地,业务控制器在接收到业务链路径请求消息后,对业务链路径请求消息进行解析并从中提取业务链的属性信息。根据业务链的属性信息,为业务链分配路径标识信息。在本发明实施例中,业务控制器130根据业务链的属性信息,随机为业务链分配路径标识信息。例如:业务链:类型3->类型2->类型1的路径标识信息为10。Further, after receiving the service chain path request message, the service controller parses the service chain path request message and extracts the attribute information of the service chain therefrom. According to the attribute information of the service chain, assign path identification information to the service chain. In the embodiment of the present invention, the service controller 130 randomly assigns path identification information to the service chain according to the attribute information of the service chain. For example: service chain: type 3->type 2->type 1 path identification information is 10.

业务控制器为业务链路径分配路径标识信息后,向PCRF实体发送路径标识信息。After the service controller allocates the path identification information for the service chain path, it sends the path identification information to the PCRF entity.

更进一步地,业务控制器还可根据业务链的属性信息包括的业务类型信息,业务控制器选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。Furthermore, the service controller may also select at least one service enabler constituting the service chain according to the service type information included in the attribute information of the service chain, and select at least one service enabler according to the stored network topology information and the selected service enabler. The service controller determines the service chain path corresponding to the service chain.

业务链的属性信息还可包括业务处理顺序信息,业务控制器还可根据业务类型信息和业务处理顺序信息,确定业务链,并选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。The attribute information of the service chain may also include service processing sequence information, and the service controller may also determine the service chain according to the service type information and the service processing sequence information, and select at least one service enabler constituting the service chain, according to the stored Based on the network topology information and the selected service enabler, the service controller determines the service chain path corresponding to the service chain.

可选的,业务链的属性信息可包括业务链标识信息,业务控制器还可根据业务链标识信息确定业务链,并选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。Optionally, the attribute information of the service chain may include service chain identification information, and the service controller may also determine the service chain according to the service chain identification information, and select at least one service enabler constituting the service chain, and then select the service chain according to the stored network topology Information and the selected service enabler, the service controller determines the service chain path corresponding to the service chain.

可以理解的是,在通信系统中,存在着多个业务使能器实现同一个业务功能的情况,例如,业务使能器1、业务使能器2、业务使能器3均可实现NAT业务,业务控制器可根据各业务使能器的当前处理数据包的占用情况、处理效率,从业务使能器1、业务使能器2、业务使能器3中选择出1个业务使能器作为构成业务链中实现NAT业务的业务使能器,同理,业务控制器选择出实现Video Cache业务和FW业务的业务使能器。It can be understood that in the communication system, there are situations where multiple service enablers implement the same service function, for example, service enabler 1, service enabler 2, and service enabler 3 can all implement NAT services , the service controller can select a service enabler from service enabler 1, service enabler 2, and service enabler 3 according to the occupancy and processing efficiency of the current processing data packets of each service enabler As a service enabler that implements the NAT service in the service chain, similarly, the service controller selects a service enabler that implements the Video Cache service and the FW service.

在本发明实施例中,业务控制器根据PCRF实体发送的业务链的属性信息确定业务链的路径标识信息,由于该路径标识信息能够标识业务链路径,也就是说,业务控制器可以选择构成业务链的业务使能器,解决了现有技术中由负载均衡节点选择业务控制器,负载均衡节点均需保存归属的业务使能器之间进行通信的会话状态信息,导致现有技术中网络实现复杂的问题,实现了网络中不再部署负载均衡节点,简化网络结构。In the embodiment of the present invention, the service controller determines the path identification information of the service chain according to the attribute information of the service chain sent by the PCRF entity. Since the path identification information can identify the path of the service chain, that is to say, the service controller can select The service enabler of the chain solves the problem that in the prior art, the service controller is selected by the load balancing node, and the load balancing node needs to save the session state information for communication between the service enablers attributable to it, which leads to the implementation of the network in the prior art Complicated issues, no load balancing nodes are deployed in the network, and the network structure is simplified.

需要说明的是,在一种实现方式中,业务控制器可先根据业务链的属性信息为业务链分配路径标识信息,并向PCRF实体发送路径标识信息,业务控制器再根据已存储的网络拓扑信息和业务链的属性信息,确定与业务链对应的业务链路径;在另一种实现方式中,业务控制器可先根据已存储的网络拓扑信息和所述业务链的属性信息,确定与业务链对应的业务链路径,再根据确定的业务链路径,业务控制器为业务链分配路径标识信息,并向PCRF实体发送路径标识信息。It should be noted that, in one implementation, the service controller can first assign path identification information to the service chain according to the attribute information of the service chain, and send the path identification information to the PCRF entity, and then the service controller can information and the attribute information of the service chain, determine the service chain path corresponding to the service chain; The service chain path corresponding to the chain, and then according to the determined service chain path, the service controller allocates path identification information for the service chain, and sends the path identification information to the PCRF entity.

步骤240、所述PCRF实体向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。Step 240, the PCRF entity sends a credit control response message to the application detection entity, the credit control response message includes the path identification information, so that the application detection entity The data packet sent by the user terminal is forwarded.

具体地,PCRF实体接收到业务控制器发送的路径标识信息后,向应用检测实体发送信用控制响应消息,所述信用控制响应消息包括路径标识信息,以使应用检测实体根据路径标识信息,对接收到的用户终端发送的数据包进行转发处理,即,应用检测实体将数据包转发至下一跳的业务交换机。Specifically, after receiving the path identification information sent by the service controller, the PCRF entity sends a credit control response message to the application detection entity, and the credit control response message includes the path identification information, so that the application detection entity The data packet sent by the received user terminal is forwarded, that is, the application detection entity forwards the data packet to the next-hop service switch.

可以理解的是,应用检测实体在接收到PCRF实体发送的路径标识信息后,建立路径标识信息与应用的对应关系。以使得在接收到用户终端发送的数据包时,根据数据包所归属应用对应的应用标识,确定对应的路径标识信息。It can be understood that, after receiving the path identification information sent by the PCRF entity, the application detection entity establishes a corresponding relationship between the path identification information and the application. So that when the data packet sent by the user terminal is received, the corresponding path identification information is determined according to the application identification corresponding to the application to which the data packet belongs.

根据前述的例子,PCRF实体向PCEF实体发送信用控制响应消息,所述信用控制响应消息包括路径标识信息,PCEF实体在接收到用户终端发送的数据包时,根据路径标识信息,对数据包进行转发处理;According to the aforementioned example, the PCRF entity sends a credit control response message to the PCEF entity, the credit control response message includes path identification information, and the PCEF entity forwards the data packet according to the path identification information when receiving the data packet sent by the user terminal deal with;

或者,PCRF实体向流路由器发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,流路由器在接收到用户终端发送的数据包时,根据路径标识信息,对数据包进行转发处理。Or, the PCRF entity sends a credit control response message to the flow router, where the credit control response message includes the path identification information, and when the flow router receives the data packet sent by the user terminal, it forwards the data packet according to the path identification information .

进一步地,应用检测实体在接收到用户终端发送的数据包后,对数据包进行解析处理,从用户数据包中获取携带的应用标识,根据应用标识,确定对应的路径标识信息。应用检测实体将确定的路径标识信息封装在数据包中(例如,可将路径标识信息封装在数据包的VLAN标识字段内),并根据业务控制器发送的业务链的路由规则表将数据包转发至下一跳的业务交换机。Further, after receiving the data packet sent by the user terminal, the application detection entity analyzes the data packet, obtains the carried application identifier from the user data packet, and determines corresponding path identifier information according to the application identifier. The application detection entity encapsulates the determined path identification information in the data packet (for example, the path identification information can be encapsulated in the VLAN identification field of the data packet), and forwards the data packet according to the routing rule table of the service chain sent by the service controller The service switch to the next hop.

因此,通过应用本发明实施例提供的业务链的处理方法,PCRF实体根据应用检测实体发送的应用启动信息确定对应用进行业务处理的业务链,并向业务控制器发送业务链的属性信息,以使得业务控制器根据业务链的属性信息为业务链分配路径标识信息,PCRF实体将业务控制器发送的路径标识信息转发至应用检测实体,使应用检测实体根据路径标识信息,对接收到的用户终端发送的数据包进行转发处理。解决了现有技术中由于部署负载均衡节点导致网络部署复杂,以及业务链不易扩展的问题。实现了网络中不再部署负载均衡节点,同时,按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。Therefore, by applying the service chain processing method provided by the embodiment of the present invention, the PCRF entity determines the service chain for performing service processing on the application according to the application startup information sent by the application detection entity, and sends the attribute information of the service chain to the service controller, so as to Make the service controller allocate path identification information for the service chain according to the attribute information of the service chain, and the PCRF entity forward the path identification information sent by the service controller to the application detection entity, so that the application detection entity can detect the received user terminal according to the path identification information The sent data packets are forwarded. It solves the problems in the prior art that network deployment is complicated due to the deployment of load balancing nodes, and the service chain is not easy to expand. It realizes that load balancing nodes are no longer deployed in the network, and at the same time, business chains are created on demand, adapting to the ever-changing mobile Internet business model, and improving the flexibility and scalability of creating business chains.

可选地,在本发明实施例步骤230中PCRF实体向业务控制器发送的业务链路径请求消息还包括应用检测实体的地址信息,所述应用检测实体的地址信息用于使业务控制器向应用检测实体发送业务链的路由规则表。通过该步骤,可使应用检测实体根据所述路径标识信息和所述业务控制器下发的业务链的路由规则表,对数据包进行转发处理。Optionally, in step 230 of the embodiment of the present invention, the service chain path request message sent by the PCRF entity to the service controller also includes address information of the application detection entity, and the address information of the application detection entity is used to make the service controller send the application The routing rule table of the detection entity sending service chain. Through this step, the application detection entity can forward the data packet according to the path identification information and the routing rule table of the service chain issued by the service controller.

根据前述的例子,PCRF实体在与PCEF实体之间进行通信交互时,PCEF实体将自身的地址信息上报给PCRF实体,PCRF实体将PCEF实体的地址信息进行存储;或者According to the foregoing example, when the PCRF entity communicates with the PCEF entity, the PCEF entity reports its own address information to the PCRF entity, and the PCRF entity stores the address information of the PCEF entity; or

PCRF实体在与流路由器之间进行通信交互时,流路由器将自身的地址信息上报给PCRF实体,PCRF实体将流路由器的地址信息进行存储。When the PCRF entity communicates with the flow router, the flow router reports its own address information to the PCRF entity, and the PCRF entity stores the address information of the flow router.

PCRF实体将获取的PCEF实体或者流路由器的地址信息携带在业务链路径请求消息中,并向业务控制器发送业务链路径请求消息,业务控制器根据PCEF实体或者流路由器的地址信息,向PCEF实体或者流路由器发送业务链的路由规则表。The PCRF entity carries the obtained address information of the PCEF entity or flow router in the service chain path request message, and sends the service chain path request message to the service controller, and the service controller sends the PCEF entity or flow router address information to the PCEF entity Or the flow router sends the routing rule table of the service chain.

可选地,在本发明实施例中,还可将应用检测实体的地址信息在先存储在业务控制器的存储器中,此时,PCRF实体不再向业务控制器发送应用检测实体的地址信息,业务控制器根据已存储的应用检测实体的地址信息,向应用检测实体发送业务链的路由规则表。Optionally, in the embodiment of the present invention, the address information of the application detection entity may also be stored in the memory of the service controller first, at this time, the PCRF entity no longer sends the address information of the application detection entity to the service controller, The service controller sends the routing rule table of the service chain to the application detection entity according to the stored address information of the application detection entity.

相应地,步骤240具体为:PCRF实体向应用检测实体发送信用控制响应消息,所述信用控制响应消息包括路径标识信息,以使应用检测实体根据路径标识信息和接收到的业务控制器发送的业务链的路由规则表,对接收到的用户终端发送的数据包进行转发处理。Correspondingly, step 240 specifically includes: the PCRF entity sends a credit control response message to the application detection entity, the credit control response message includes path identification information, so that the application detection entity The routing rule table of the chain is used to forward the received data packet sent by the user terminal.

需要说明的是,在本发明实施例中,业务控制器向应用检测实体发送业务链的路由规则表与业务控制器向PCRF实体发送路径标识信息可不限制时序关系。It should be noted that, in the embodiment of the present invention, there is no time sequence relationship between the service controller sending the routing rule table of the service chain to the application detection entity and the service controller sending the path identification information to the PCRF entity.

当应用检测实体已接收到PCRF实体发送的路径标识信息,并在此时接收到用户终端发送的数据包时,则应用检测实体可识别自身是否已接收到业务控制器发送的业务链的路由规则表:When the application detection entity has received the path identification information sent by the PCRF entity and at this time receives the data packet sent by the user terminal, the application detection entity can identify whether it has received the routing rule of the service chain sent by the service controller surface:

如果应用检测实体未接收到业务控制器发送的业务链的路由规则表,则应用检测实体不对数据包进行转发处理,等待业务控制器发送的业务链的路由规则表;或者,应用检测实体向业务控制器发送业务链的路由规则表请求消息,所述业务链的路由规则表请求消息包括路径标识信息,业务控制器根据业务链的路由规则表请求消息,向应用检测实体发送业务链的路由规则表;If the application detection entity does not receive the routing rule table of the service chain sent by the service controller, the application detection entity does not forward the data packet, and waits for the routing rule table of the service chain sent by the service controller; The controller sends a routing rule table request message of the service chain, the routing rule table request message of the service chain includes path identification information, and the service controller sends the routing rule of the service chain to the application detection entity according to the routing rule table request message of the service chain surface;

如果应用检测实体接收到业务控制器发送的业务链的路由规则表,则应用检测实体根据业务链的路由规则表和路径标识信息,对数据包进行转发处理。If the application detection entity receives the routing rule table of the service chain sent by the service controller, the application detection entity forwards the data packet according to the routing rule table of the service chain and the path identification information.

需要说明的是,在本发明实施例中,当应用检测实体为PCEF实体时,PCEF实体具有流路由器的功能。换句话说,在PCEF实体中具有流路由器功能的软件模块。It should be noted that, in the embodiment of the present invention, when the application detection entity is a PCEF entity, the PCEF entity has the function of a flow router. In other words, a software module with flow router functionality in a PCEF entity.

实施例三Embodiment three

为便于对本发明实施例的理解,下面将结合附图以具体实施例做进一步的解释说明,实施例并不构成对本发明实施例的限定。In order to facilitate the understanding of the embodiments of the present invention, further explanations will be given below with specific embodiments in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the present invention.

下面以图3为例详细说明本发明实施例二提供的业务链的处理方法,本方法可以应用在前述业务链的处理系统中。图3为本发明实施例三提供的业务链的处理方法流程图,在本发明实施例中实施主体为业务控制器。如图3所示,该实施例具体包括以下步骤:The following uses FIG. 3 as an example to describe in detail the service chain processing method provided by Embodiment 2 of the present invention. This method can be applied to the foregoing service chain processing system. Fig. 3 is a flow chart of a service chain processing method provided by Embodiment 3 of the present invention, in which the subject of implementation in the embodiment of the present invention is a service controller. As shown in Figure 3, this embodiment specifically includes the following steps:

步骤310、业务控制器接收PCRF实体发送的业务链路径请求消息,所述业务链路径请求消息包括所述PCRF实体确定出的业务链的属性信息。Step 310, the service controller receives the service chain path request message sent by the PCRF entity, and the service chain path request message includes the attribute information of the service chain determined by the PCRF entity.

具体地,PCRF实体确定用于对应用进行业务处理的业务链的属性信息后,向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括PCRF实体确定出的业务链的属性信息。Specifically, after the PCRF entity determines the attribute information of the service chain used to process the application, it sends a service chain path request message to the service controller, and the service chain path request message includes the attribute information of the service chain determined by the PCRF entity .

进一步地,所述业务链的属性信息包括业务链的业务类型信息。Further, the attribute information of the service chain includes service type information of the service chain.

更进一步地,所属业务链的属性信息还包括业务处理顺序信息。Furthermore, the attribute information of the business chain to which it belongs also includes business processing sequence information.

再进一步地,所述业务链的属性信息包括业务链标识信息。Still further, the attribute information of the service chain includes service chain identification information.

在前述实施例二中,已说明PCRF实体确定业务链的属性信息的具体过程,在此不再复述。In the foregoing second embodiment, the specific process of determining the attribute information of the service chain by the PCRF entity has been described, and will not be repeated here.

PCRF实体根据应用启动信息,进而确定业务链的属性信息,解决了现有技术中业务链不易扩展的问题。实现了按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。The PCRF entity further determines the attribute information of the service chain according to the application startup information, which solves the problem that the service chain is not easy to expand in the prior art. It realizes the creation of business chains on demand, adapts to the ever-changing mobile Internet business model, and improves the flexibility and scalability of creating business chains.

需要说明的是,在本发明实施例中,PCRF实体还可结合网络以及用户签约等信息,进而确定业务链的属性信息。It should be noted that, in the embodiment of the present invention, the PCRF entity may further determine the attribute information of the service chain in combination with information such as network and user subscription.

步骤320、根据所述业务链的属性信息,所述业务控制器为所述业务链分配路径标识信息。Step 320: According to the attribute information of the service chain, the service controller assigns path identification information to the service chain.

具体地,业务控制器获取业务链的属性信息后,为该业务链分配路径标识信息。在本发明实施例中,业务控制器根据业务链的属性信息,随机为业务链分配路径标识信息。例如:业务链:类型3->类型2->类型1的路径标识信息为10。Specifically, after acquiring the attribute information of the service chain, the service controller assigns path identification information to the service chain. In the embodiment of the present invention, the service controller randomly assigns path identification information to the service chain according to the attribute information of the service chain. For example: service chain: type 3->type 2->type 1 path identification information is 10.

步骤330、所述业务控制器向所述PCRF实体发送所述路径标识信息,以使得所述PCRF实体向应用检测实体转发所述路径标识信息。Step 330, the service controller sends the path identification information to the PCRF entity, so that the PCRF entity forwards the path identification information to the application detection entity.

具体地,业务控制器向PCRF实体发送路径标识信息,以使得PCRF实体向应用检测实体转发该路径标识信息。Specifically, the service controller sends the path identification information to the PCRF entity, so that the PCRF entity forwards the path identification information to the application detection entity.

因此,通过应用本发明实施例提供的业务链的处理方法,业务控制器接收PCRF实体发送的业务链的属性信息,以使得业务控制器根据业务链的属性信息,为业务链分配路径标识信息,PCRF实体将业务控制器发送的路径标识信息转发至应用检测实体,使应用检测实体根据路径标识信息,对接收到的用户终端发送的数据包进行转发处理。解决了现有技术中由于部署负载均衡节点导致网络部署复杂,以及业务链不易扩展的问题。实现了网络中不再部署负载均衡节点,同时,按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。Therefore, by applying the service chain processing method provided by the embodiment of the present invention, the service controller receives the attribute information of the service chain sent by the PCRF entity, so that the service controller assigns path identification information to the service chain according to the attribute information of the service chain, The PCRF entity forwards the path identification information sent by the service controller to the application detection entity, so that the application detection entity forwards the received data packet sent by the user terminal according to the path identification information. It solves the problems in the prior art that network deployment is complicated due to the deployment of load balancing nodes, and the service chain is not easy to expand. It realizes that load balancing nodes are no longer deployed in the network, and at the same time, business chains are created on demand, adapting to the ever-changing mobile Internet business model, and improving the flexibility and scalability of creating business chains.

可选地,在本发明实施例步骤310之前,还包括业务控制器接收业务交换机发送的网络拓扑信息的步骤,通过该步骤,可使业务控制器在步骤320中根据网络拓扑信息和业务链的属性信息,确定与业务链对应的业务链路径。Optionally, before step 310 in the embodiment of the present invention, a step of the service controller receiving the network topology information sent by the service switch is also included. Attribute information to determine the service chain path corresponding to the service chain.

可选地,在本发明实施例步骤中,还包括业务控制器确定与业务链对应的业务链路径的步骤,通过该步骤,业务控制器可根据确定的业务链路径选择构成业务链的业务使能器、实现了网络中不再部署负载均衡节点,简化网络结构。具体步骤如下:Optionally, in the steps of the embodiment of the present invention, a step of the service controller determining the service chain path corresponding to the service chain is also included. Through this step, the service controller can select the service users constituting the service chain according to the determined service chain path. It realizes no need to deploy load balancing nodes in the network, and simplifies the network structure. Specific steps are as follows:

根据已存储的网络拓扑信息和所述业务链的属性信息,所述业务控制器确定与所述业务链对应的业务链路径。According to the stored network topology information and the attribute information of the service chain, the service controller determines the service chain path corresponding to the service chain.

具体地,业务控制器为业务链分配路径标识信息后,根据业务链的属性信息包括的业务类型信息,业务控制器选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。Specifically, after the service controller assigns path identification information to the service chain, according to the service type information included in the attribute information of the service chain, the service controller selects at least one service enabler that constitutes the service chain, and according to the stored network topology information With the selected service enabler, the service controller determines the service chain path corresponding to the service chain.

进一步地,业务链的属性信息还可包括业务处理顺序信息,业务控制器根据业务类型信息和业务处理顺序信息,确定业务链,并选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。Further, the attribute information of the service chain may also include service processing sequence information, and the service controller determines the service chain according to the service type information and the service processing sequence information, and selects at least one service enabler constituting the service chain, according to the stored Based on the network topology information and the selected service enabler, the service controller determines the service chain path corresponding to the service chain.

可以理解的是,在通信系统中,存在着多个业务使能器实现同一个业务功能的情况,例如,业务使能器1、业务使能器2、业务使能器3均可实现NAT业务,业务控制器可根据各业务使能器的当前处理数据包的占用情况、处理效率,从业务使能器1、业务使能器2、业务使能器3中选择出1个业务使能器作为构成业务链中实现NAT业务的业务使能器,同理,业务控制选择出实现Video Cache业务和FW业务的业务使能器。It can be understood that in the communication system, there are situations where multiple service enablers implement the same service function, for example, service enabler 1, service enabler 2, and service enabler 3 can all implement NAT services , the service controller can select a service enabler from service enabler 1, service enabler 2, and service enabler 3 according to the occupancy and processing efficiency of the current processing data packets of each service enabler As the service enabler for realizing the NAT service in the service chain, similarly, the service control selects the service enabler for realizing the Video Cache service and the FW service.

在本发明实施例中,业务控制器根据PCRF实体发送的业务链的属性信息,确定业务链的路径标识信息,由于该路径标识信息能够标识业务链路径,也就是说,业务控制器可以选择构成业务链的业务使能器,解决了现有技术中由负载均衡节点选择业务控制器,负载均衡节点均需保存归属的业务使能器之间进行通信的会话状态信息,导致现有技术中网络实现复杂的问题,实现了网络中不再部署负载均衡节点,简化网络结构。In the embodiment of the present invention, the service controller determines the path identification information of the service chain according to the attribute information of the service chain sent by the PCRF entity. Since the path identification information can identify the path of the service chain, that is to say, the service controller can choose to configure The service enabler of the service chain solves the problem that in the prior art, the service controller is selected by the load balancing node, and the load balancing node needs to save the session state information for communication between the service enablers attributable to it, which causes the network in the prior art to To solve complex problems, no load balancing nodes are deployed in the network, and the network structure is simplified.

需要说明的是,步骤320与本步骤之间不限制时序关系,在另一种实现方式中,业务控制器可先执行本步骤所描述的过程,再执行步骤320所描述的过程。也即是业务控制器先根据已存储的网络拓扑信息和所述业务链的属性信息,确定与业务链对应的业务链路径,再根据确定的业务链路径,业务控制器为业务链分配路径标识信息。It should be noted that there is no time sequence relationship between step 320 and this step. In another implementation manner, the service controller may first execute the process described in this step, and then execute the process described in step 320. That is, the service controller first determines the service chain path corresponding to the service chain according to the stored network topology information and the attribute information of the service chain, and then according to the determined service chain path, the service controller assigns a path identifier to the service chain information.

可选地,在本发明实施例步骤中,还包括业务控制器确定业务链的路由规则表的步骤,通过该步骤,业务控制器将业务链的路由规则表发送至应用检测实体、业务交换机中,以使得应用检测实体、业务交换机根据业务链的路由规则表对用户终端发送的数据包进行转发处理。具体步骤如下:Optionally, in the steps of the embodiment of the present invention, the step of the service controller determining the routing rule table of the service chain is also included, and through this step, the service controller sends the routing rule table of the service chain to the application detection entity and the service switch , so that the application detection entity and the service switch forward the data packet sent by the user terminal according to the routing rule table of the service chain. Specific steps are as follows:

根据所述业务链路径,所述业务控制器确定业务链的路由规则表;According to the service chain path, the service controller determines the routing rule table of the service chain;

所述业务控制器分别向所述应用检测实体和所述业务交换机发送所述业务链的路由规则表,以使得所述应用检测实体根据所述业务链的路由规则表和所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理,所述业务交换机接收到所述应用检测实体发送的数据包时,根据所述业务链的路由规则表,对所述数据包进行转发处理。The service controller sends the routing rule table of the service chain to the application detection entity and the service switch respectively, so that the application detection entity, according to the routing rule table of the service chain and the path identification information, performing forwarding processing on the received data packet sent by the user terminal, when the service switch receives the data packet sent by the application detection entity, forwards the data packet according to the routing rule table of the service chain deal with.

具体地,业务控制器确定出业务链的业务链路径后,根据业务链路径,确定业务链的路由规则表,所述业务链的路由规则表中具体包括了每条业务链的路径标识信息和下一跳路由信息。Specifically, after the service controller determines the service chain path of the service chain, it determines the routing rule table of the service chain according to the service chain path, and the routing rule table of the service chain specifically includes the path identification information and Next hop routing information.

业务控制器分别向应用检测实体、业务交换机发送业务链的路由规则表,以使得应用检测实体根据业务链的路由规则表和路径标识信息,对接收到的用户终端发送的数据包进行转发处理,即,应用检测实体接收到用户终端发送的数据包后,对数据包进行解析处理,从数据包中获取携带的应用标识,根据应用标识,确定对应的路径标识信息。应用检测实体将确定的路径标识信息封装在数据包中(例如,可将路径标识信息封装在数据包的VLAN标识字段内),并根据业务链的路由规则表将数据包转发至下一跳的业务交换机;业务交换机接收到应用检测实体发送的数据包时,根据业务链的路由规则表和数据包携带的路径标识信息,对数据包进行转发处理,即,业务交换机将数据包转发至对应的业务使能器。The service controller sends the routing rule table of the service chain to the application detection entity and the service switch respectively, so that the application detection entity forwards the received data packet sent by the user terminal according to the routing rule table of the service chain and the path identification information, That is, after the application detection entity receives the data packet sent by the user terminal, it analyzes the data packet, obtains the carried application identifier from the data packet, and determines the corresponding path identifier information according to the application identifier. The application detection entity encapsulates the determined path identification information in the data packet (for example, the path identification information can be encapsulated in the VLAN identification field of the data packet), and forwards the data packet to the next hop according to the routing rule table of the service chain. Service switch: When the service switch receives the data packet sent by the application detection entity, it forwards the data packet according to the routing rule table of the service chain and the path identification information carried by the data packet, that is, the service switch forwards the data packet to the corresponding Business enabler.

需要说明的是,在本发明实施例中,业务控制器分别向应用检测实体、业务交换机发送业务链的路由规则表与业务控制器向应用检测实体发送路径标识信息可不限制时序关系。It should be noted that, in the embodiment of the present invention, the service controller sends the routing rule table of the service chain to the application detection entity and the service switch respectively, and the service controller sends the path identification information to the application detection entity without limiting the timing relationship.

进一步地,如实施例二中所述,在本发明实施例中,业务控制器生成多个业务链的路由规则表,每个业务链的路由规则表包括的下一跳路由信息可不相同,所述下一跳路由信息为数据包转发的下一个设备或网元的IP或者MAC地址、或者设备或网元的端口号等。这里不再赘述。Further, as described in Embodiment 2, in the embodiment of the present invention, the service controller generates routing rule tables for multiple service chains, and the next-hop routing information included in the routing rule tables for each service chain may be different, so The next-hop routing information is the IP or MAC address of the next device or network element forwarded by the data packet, or the port number of the device or network element. I won't go into details here.

可以理解的是,当应用检测实体已接收到PCRF实体发送的路径标识信息,并在此时接收到用户终端发送的数据包时,则应用检测实体可识别自身是否已接收到业务控制器发送的业务链的路由规则表,如果应用检测实体未接收到业务控制器发送的业务链的路由规则表,则应用检测实体不对数据包进行转发处理,等待业务控制器发送的业务链的路由规则表;或者应用检测实体向业务控制器发送业务链的路由规则表请求消息,所述业务链的路由规则表请求消息包括路径标识信息,业务控制器根据业务链的路由规则表请求消息,向应用检测实体发送业务链的路由规则表;如果应用检测实体接收到业务控制器发送的业务链的路由规则表,则应用检测实体根据业务链的路由规则表和路径标识信息,对数据包进行转发处理。It can be understood that when the application detection entity has received the path identification information sent by the PCRF entity and at this time receives the data packet sent by the user terminal, the application detection entity can identify whether it has received the path identification information sent by the service controller. The routing rule table of the service chain, if the application detection entity does not receive the routing rule table of the service chain sent by the service controller, the application detection entity does not forward the data packet, and waits for the routing rule table of the service chain sent by the service controller; Or the application detection entity sends a routing rule table request message of the service chain to the service controller, the routing rule table request message of the service chain includes path identification information, and the service controller sends the request message to the application detection entity according to the routing rule table request message of the service chain Send the routing rule table of the service chain; if the application detection entity receives the routing rule table of the service chain sent by the service controller, the application detection entity forwards the data packet according to the routing rule table of the service chain and the path identification information.

可选地,在本发明实施例中,所述业务控制器向所述应用检测实体发送所述业务链的路由规则表,以使得所述应用检测实体在接收到用户终端发送的数据包时,根据所述业务链的路由规则表和所述路径标识信息,对所述数据包进行转发处理具体包括:Optionally, in this embodiment of the present invention, the service controller sends the routing rule table of the service chain to the application detection entity, so that when the application detection entity receives the data packet sent by the user terminal, According to the routing rule table of the service chain and the path identification information, forwarding the data packet specifically includes:

业务控制器获取应用检测实体的地址信息;根据应用检测实体的地址信息,业务控制器向应用检测实体发送业务链的路由规则表,以使得应用检测实体在接收到用户终端发送的数据包时,根据业务链的路由规则表和路径标识信息,对数据包进行转发处理。The service controller obtains the address information of the application detection entity; according to the address information of the application detection entity, the service controller sends the routing rule table of the service chain to the application detection entity, so that when the application detection entity receives the data packet sent by the user terminal, According to the routing rule table and path identification information of the service chain, the data packet is forwarded.

可选地,在本发明实施例步骤310中,业务控制器接收的PCRF实体发送的业务链路径请求消息还包括所述应用检测实体的地址信息;Optionally, in step 310 of the embodiment of the present invention, the service chain path request message sent by the PCRF entity received by the service controller also includes the address information of the application detection entity;

其中,所述业务控制器获取所述应用检测实体的地址信息具体包括:业务控制器从业务链路径请求消息中获取应用检测实体的地址信息;或者,业务控制器从业务控制器中存储器获取应用检测实体的地址信息。Wherein, the obtaining the address information of the application detection entity by the service controller specifically includes: the service controller obtains the address information of the application detection entity from the service chain path request message; or, the service controller obtains the application detection entity from the storage in the service controller The address information of the detection entity.

可以理解的是,在先将应用检测实体的地址信息存储至业务控制器的存储器中。It can be understood that the address information of the application detection entity is first stored in the memory of the service controller.

可选地,在本发明实施例中,所述应用检测实体具体为PCEF实体或者流路由器。Optionally, in this embodiment of the present invention, the application detection entity is specifically a PCEF entity or a flow router.

图4为本发明实施例提供的业务链的处理方法信令图;图4所示的信令图为应用检测实体、PCRF实体、业务控制器以及业务交换机之间实现业务链处理的过程,在图4中,以应用检测实体为PCEF实体为例进行说明。可以理解的是,业务链的处理过程与图2类似。图4中的业务链的处理方法均可按照前述实施例描述的过程执行,在此仅作简单描述。Fig. 4 is a signaling diagram of the processing method of the service chain provided by the embodiment of the present invention; the signaling diagram shown in Fig. 4 is the process of realizing the service chain processing between the application detection entity, the PCRF entity, the service controller and the service switch, in In FIG. 4 , the application detection entity is taken as an example of a PCEF entity for illustration. It can be understood that the processing process of the service chain is similar to that in FIG. 2 . The processing method of the service chain in FIG. 4 can be executed according to the process described in the foregoing embodiments, and only a brief description is given here.

步骤410、PCEF实体向PCRF实体发送信用控制请求消息,所述信用控制请求消息包括所述PCEF实体获取的用户终端访问应用时的应用启动信息。Step 410, the PCEF entity sends a credit control request message to the PCRF entity, where the credit control request message includes the application startup information acquired by the PCEF entity when the user terminal accesses the application.

步骤420、根据所述信用控制请求消息,所述PCRF实体确定用于对所述应用进行业务处理的业务链的属性信息。Step 420: According to the credit control request message, the PCRF entity determines attribute information of a service chain used for service processing of the application.

具体地,PCRF实体接收CCR消息后,对CCR消息进行解析并从中提取应用启动信息。根据应用启动信息,PCRF实体确定用于对应用进行业务处理的业务链的属性信息。所述应用即是PCEF实体检测的用户终端访问的应用。Specifically, after receiving the CCR message, the PCRF entity parses the CCR message and extracts application startup information therefrom. According to the application startup information, the PCRF entity determines the attribute information of the service chain used to process the application. The application is the application accessed by the user terminal detected by the PCEF entity.

进一步地,在本发明实施例中,所述业务链的属性信息包括业务类型信息。所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:Further, in the embodiment of the present invention, the attribute information of the service chain includes service type information. The attribute information of the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information specifically includes:

根据应用启动信息包括的应用标识,PCRF实体确定用于对应用进行业务处理的至少一个业务类型信息。According to the application identifier included in the application startup information, the PCRF entity determines at least one piece of service type information for performing service processing on the application.

在一个例子中,所述应用具体为在线视频,则应用启动信息包括的应用标识指示为在线视频。PCRF实体根据在线视频,确定对在线视频进行业务处理的至少一个业务类型信息,确定的业务类型信息具体为:类型1:NAT业务;类型2:Video Cache业务和类型3:FW业务。In an example, the application is specifically an online video, and the application identification included in the application startup information indicates that the application is an online video. The PCRF entity determines at least one service type information for online video service processing according to the online video, and the determined service type information is specifically: type 1: NAT service; type 2: Video Cache service and type 3: FW service.

可以理解的是,PCRF实体确定的业务类型信息,也即是构成业务链的业务使能器的类型。根据上述确定出的业务类型信息,PCRF实体还确定对在线视频应用进行业务处理的业务链。例如,确定的业务链具体为:类型3->类型2->类型1。It can be understood that the service type information determined by the PCRF entity is the type of the service enabler constituting the service chain. According to the service type information determined above, the PCRF entity also determines a service chain for service processing of the online video application. For example, the determined service chain is specifically: type 3 -> type 2 -> type 1.

进一步地,在本发明实施例中,所述业务链的属性信息还包括业务处理顺序信息。在实际应用中,PCRF实体在确定对应用进行业务处理的业务类型信息的同时,还可确定出于业务类型信息对应的业务处理顺序。所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:Further, in the embodiment of the present invention, the attribute information of the service chain also includes service processing sequence information. In practical applications, the PCRF entity may also determine the service processing order corresponding to the service type information while determining the service type information for service processing of the application. The attribute information of the service chain for performing service processing on the application determined by the PCRF entity according to the application startup information specifically includes:

根据所述应用启动信息包括的应用标识,所述PCRF实体确定用于对所述应用进行业务处理的至少一个业务类型信息;According to the application identification included in the application activation information, the PCRF entity determines at least one service type information for performing service processing on the application;

根据至少一个所述业务类型信息,所述PCRF实体确定用于对所述应用进行业务处理的业务处理顺序信息。According to at least one piece of service type information, the PCRF entity determines service processing sequence information for performing service processing on the application.

在另一个例子中,PCRF实体根据在线视频,确定用于对在线视频进行业务处理的至少一个业务类型信息;根据至少一个业务类型信息,PCRF实体确定用于对在线视频进行业务处理的业务处理顺序信息。例如,PCRF在确定出类型1、类型2和类型3之后,确定业务类型信息对应的业务处理顺序,确定的业务处理顺序为:类型3、类型2、类型1;或者,业务处理顺序为:类型2、类型3、类型1等等。In another example, the PCRF entity determines at least one service type information for performing service processing on the online video according to the online video; according to the at least one service type information, the PCRF entity determines the service processing sequence for performing service processing on the online video information. For example, after PCRF determines Type 1, Type 2, and Type 3, it determines the service processing sequence corresponding to the service type information, and the determined service processing sequence is: Type 3, Type 2, and Type 1; or, the service processing sequence is: Type 2. Type 3, Type 1, etc.

再进一步地,在本发明实施例中,所述业务链的属性信息包括业务链标识信息。所述PCRF实体根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:根据应用启动信息包括的应用标识,PCRF实体确定用于对应用进行业务处理的业务链标识信息。Still further, in the embodiment of the present invention, the attribute information of the service chain includes service chain identification information. The attribute information of the service chain used to process the application determined by the PCRF entity according to the application start information specifically includes: according to the application identifier included in the application start information, the PCRF entity determines the service chain used to process the application Business chain identification information.

在一个例子中,所述应用具体为在线视频,则应用启动信息包括的应用标识指示为在线视频。PCRF实体根据在线视频,确定对在线视频进行业务处理的业务链标识信息为业务链标识1。其中,确定业务链标识的方法可以是:PCRF查询预配置的业务链描述信息可以得到业务链标识1对应的业务链为类型3->类型2->类型1。其中,业务链标识1代表的业务链描述信息分别预配置在所述PCRF实体和所述业务控制器实体上。In an example, the application is specifically an online video, and the application identification included in the application startup information indicates that the application is an online video. According to the online video, the PCRF entity determines that the service chain identification information for performing service processing on the online video is the service chain identification 1. Wherein, the method for determining the service chain identifier may be: PCRF queries the pre-configured service chain description information to obtain that the service chain corresponding to the service chain identifier 1 is type 3->type 2->type 1. Wherein, the service chain description information represented by the service chain identifier 1 is pre-configured on the PCRF entity and the service controller entity respectively.

需要说明的是,在本发明实施例中,PCRF实体还可结合网络以及用户签约等信息,进而确定业务链的属性信息。It should be noted that, in the embodiment of the present invention, the PCRF entity may further determine the attribute information of the service chain in combination with information such as network and user subscription.

步骤430、所述PCRF实体向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括所述业务链的属性信息。Step 430, the PCRF entity sends a service chain path request message to the service controller, and the service chain path request message includes attribute information of the service chain.

具体地,PCRF实体向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括业务链的属性信息。Specifically, the PCRF entity sends a service chain path request message to the service controller, where the service chain path request message includes attribute information of the service chain.

进一步地,业务链路径请求消息还包括PCEF实体的地址信息,所述PCEF实体的地址信息用于使业务控制器向PCEF实体发送业务链的路由规则表。Further, the service chain path request message also includes address information of the PCEF entity, and the address information of the PCEF entity is used to make the service controller send the routing rule table of the service chain to the PCEF entity.

步骤440、根据所述业务链的属性信息,所述业务控制器为所述业务链分配路径标识信息。Step 440: According to the attribute information of the service chain, the service controller assigns path identification information to the service chain.

具体地,业务控制器获取业务链的属性信息后,为该业务链路径分配路径标识信息。例如:业务链:类型3->类型2->类型1的路径标识信息为10。Specifically, after obtaining the attribute information of the service chain, the service controller assigns path identification information to the path of the service chain. For example: service chain: type 3->type 2->type 1 path identification information is 10.

步骤450、根据已存储的网络拓扑信息和所述业务链的属性信息,所述业务控制器确定与所述业务链对应的业务链路径。Step 450: According to the stored network topology information and the attribute information of the service chain, the service controller determines the service chain path corresponding to the service chain.

具体地,业务控制器为业务链分配路径标识信息后,根据业务链的属性信息包括的业务类型信息,业务控制器选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。Specifically, after the service controller assigns path identification information to the service chain, according to the service type information included in the attribute information of the service chain, the service controller selects at least one service enabler that constitutes the service chain, and according to the stored network topology information With the selected service enabler, the service controller determines the service chain path corresponding to the service chain.

进一步地,业务链的属性信息还可包括业务处理顺序信息,业务控制器根据业务类型信息和业务处理顺序信息,确定业务链,并选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。Further, the attribute information of the service chain may also include service processing sequence information, and the service controller determines the service chain according to the service type information and the service processing sequence information, and selects at least one service enabler constituting the service chain, according to the stored Based on the network topology information and the selected service enabler, the service controller determines the service chain path corresponding to the service chain.

进一步地,业务链的属性信息包括业务链标识信息,业务控制器根据业务链标识信息,业务控制器选择出构成业务链的至少一个业务使能器,根据已存储的网络拓扑信息和选择出的业务使能器,业务控制器确定与业务链对应的业务链路径。Further, the attribute information of the service chain includes service chain identification information, and the service controller selects at least one service enabler constituting the service chain according to the service chain identification information, and according to the stored network topology information and the selected In the service enabler, the service controller determines the service chain path corresponding to the service chain.

需要说明的是,步骤440与步骤450之间不限制时序关系,在另一种实现方式中,业务控制器可先执行步骤450所描述的过程,再执行步骤440所描述的过程。也即是业务控制器先根据已存储的网络拓扑信息和所述业务链的属性信息,确定与业务链对应的业务链路径,再根据确定的业务链路径,业务控制器为业务链分配路径标识信息。It should be noted that there is no time sequence relationship between step 440 and step 450. In another implementation manner, the service controller may perform the process described in step 450 first, and then perform the process described in step 440. That is, the service controller first determines the service chain path corresponding to the service chain according to the stored network topology information and the attribute information of the service chain, and then according to the determined service chain path, the service controller assigns a path identifier to the service chain information.

步骤460、根据所述业务链路径,所述业务控制器确定业务链的路由规则表。Step 460, according to the service chain path, the service controller determines the routing rule table of the service chain.

具体地,业务控制器确定出业务链的业务链路径后,根据业务链路径,确定业务链的路由规则表,所述业务链的路由规则表中具体包括了每条业务链的路径标识信息和下一跳路由信息。Specifically, after the service controller determines the service chain path of the service chain, it determines the routing rule table of the service chain according to the service chain path, and the routing rule table of the service chain specifically includes the path identification information and Next hop routing information.

步骤470、所述业务控制器向所述PCRF实体发送所述路径标识信息。Step 470, the service controller sends the path identification information to the PCRF entity.

步骤480、所述业务控制器分别向所述PCEF实体和业务交换机发送所述业务链的路由规则表。Step 480, the service controller sends the routing rule table of the service chain to the PCEF entity and the service switch respectively.

具体地,业务控制器获取PCEF实体的地址信息,根据PCEF实体的地址信息,业务控制器向PCEF实体发送业务链的路由规则表。其中,业务控制器从业务链路径请求消息中获取PCEF实体的地址信息;或者,业务控制器从业务控制器中存储器获取PCEF实体的地址信息。Specifically, the service controller obtains the address information of the PCEF entity, and according to the address information of the PCEF entity, the service controller sends the routing rule table of the service chain to the PCEF entity. Wherein, the service controller obtains the address information of the PCEF entity from the service chain path request message; or, the service controller obtains the address information of the PCEF entity from the storage in the service controller.

业务控制器向业务交换机发送业务链的路由规则表,以使得业务交换机根据业务链的路由规则表对用户终端发送的数据包进行转发处理。The service controller sends the routing rule table of the service chain to the service switch, so that the service switch forwards the data packet sent by the user terminal according to the routing rule table of the service chain.

步骤490、所述PCRF实体向所述PCEF实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述PCEF实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。Step 490, the PCRF entity sends a credit control response message to the PCEF entity, the credit control response message includes the path identification information, so that the PCEF entity The data packets sent by the user terminal are forwarded.

具体地,PCRF实体接收到业务控制器发送的路径标识信息后,向PCEF实体发送信用控制响应消息,所述信用控制响应消息包括路径标识信息,以使PCEF实体根据路径标识信息,对接收到的用户终端发送的数据包进行转发处理,即,PCEF实体将数据包转发至下一跳的业务交换机。Specifically, after receiving the path identification information sent by the service controller, the PCRF entity sends a credit control response message to the PCEF entity, and the credit control response message includes the path identification information, so that the PCEF entity uses the path identification information to The data packet sent by the user terminal is forwarded, that is, the PCEF entity forwards the data packet to the next-hop service switch.

可以理解的是,应用检测实体在接收到PCRF实体发送的路径标识信息后,建立路径标识信息与应用的对应关系。以使得在接收到用户终端发送的数据包时,根据数据包所归属应用对应的应用标识,确定对应的路径标识信息。It can be understood that, after receiving the path identification information sent by the PCRF entity, the application detection entity establishes a corresponding relationship between the path identification information and the application. So that when the data packet sent by the user terminal is received, the corresponding path identification information is determined according to the application identification corresponding to the application to which the data packet belongs.

在本发明实施例中,业务控制器向PCEF实体发送业务链的路由规则表与业务控制器向PCRF实体发送路径标识信息可不限制时序关系。In the embodiment of the present invention, there is no time sequence relationship between the service controller sending the routing rule table of the service chain to the PCEF entity and the service controller sending the path identification information to the PCRF entity.

当PCEF实体已接收到PCRF实体发送的路径标识信息,并在此时接收到用户终端发送的数据包时,则PCEF实体可识别自身是否已接收到业务控制器发送的业务链的路由规则表:When the PCEF entity has received the path identification information sent by the PCRF entity and at this time receives the data packet sent by the user terminal, the PCEF entity can identify whether it has received the routing rule table of the service chain sent by the service controller:

如果PCEF实体未接收到业务控制器发送的业务链的路由规则表,则PCEF实体不对数据包进行转发处理,等待业务控制器发送的业务链的路由规则表;或者,PCEF实体向业务控制器发送业务链的路由规则表请求消息,所述业务链的路由规则表请求消息包括路径标识信息,业务控制器根据业务链的路由规则表请求消息,向PCEF实体发送业务链的路由规则表;If the PCEF entity does not receive the routing rule table of the service chain sent by the service controller, the PCEF entity does not forward the data packet, and waits for the routing rule table of the service chain sent by the service controller; or, the PCEF entity sends a message to the service controller The routing rule table request message of the service chain, the routing rule table request message of the service chain includes path identification information, and the service controller sends the routing rule table of the service chain to the PCEF entity according to the routing rule table request message of the service chain;

如果PCEF实体接收到业务控制器发送的业务链的路由规则表,则PCEF实体根据业务链的路由规则表和路径标识信息,对数据包进行转发处理。If the PCEF entity receives the routing rule table of the service chain sent by the service controller, the PCEF entity forwards the data packet according to the routing rule table of the service chain and the path identification information.

实施例四Embodiment Four

相应地,本发明实施例四还提供了一种业务链的处理装置,用以实现前述实施例中提供的业务链的处理方法,如图5所示,所述装置包括:接收单元510、确定单元520以及发送单元530。Correspondingly, Embodiment 4 of the present invention also provides a service chain processing device to implement the service chain processing method provided in the foregoing embodiments. As shown in FIG. 5 , the device includes: a receiving unit 510, a determination unit 520 and sending unit 530.

所述装置包括的接收单元510,用于接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息;The receiving unit 510 included in the device is configured to receive a credit control request message sent by an application detection entity, where the credit control request message includes the application startup information acquired by the application detection entity when the user terminal accesses the application;

确定单元520,用于根据所述应用启动信息确定用于对所述应用进行业务处理的业务链的属性信息;A determining unit 520, configured to determine attribute information of a service chain for performing service processing on the application according to the application startup information;

发送单元530,用于向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括所述确定单元确定的所述业务链的属性信息;A sending unit 530, configured to send a service chain path request message to the service controller, where the service chain path request message includes the attribute information of the service chain determined by the determining unit;

所述接收单元510还用于,接收所述业务控制器根据所述业务链的属性信息发送的所述业务链的路径标识信息;The receiving unit 510 is further configured to receive path identification information of the service chain sent by the service controller according to the attribute information of the service chain;

所述发送单元530还用于,向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The sending unit 530 is further configured to send a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity can, according to the path identification information, The received data packet sent by the user terminal is forwarded.

可选的,所述发送单元530发送的所述业务链的属性信息包括业务类型信息;Optionally, the attribute information of the service chain sent by the sending unit 530 includes service type information;

相应的,所述确定单元520具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息。Correspondingly, the determining unit 520 is specifically configured to determine at least one piece of service type information for performing service processing on the application according to the application identifier included in the application startup information.

可选的,所述发送单元530发送的所述业务链的属性信息还包括业务处理顺序信息;Optionally, the attribute information of the service chain sent by the sending unit 530 also includes service processing sequence information;

相应的,所述确定单元520具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息;Correspondingly, the determining unit 520 is specifically configured to determine at least one service type information for performing service processing on the application according to the application identification included in the application startup information;

根据至少一个所述业务类型信息,确定用于对所述应用进行业务处理的业务处理顺序信息。Determine service processing sequence information for performing service processing on the application according to at least one piece of service type information.

可选的,所述发送单元发送的所述业务链的属性信息包括业务链标识信息;Optionally, the attribute information of the service chain sent by the sending unit includes service chain identification information;

相应的,所述确定单元具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的业务链标识信息。Correspondingly, the determining unit is specifically configured to determine service chain identification information for performing service processing on the application according to the application identification included in the application startup information.

可选的,所述发送单元530发送的所述业务链路径请求消息还包括所述应用检测实体的地址信息,所述应用检测实体的地址信息用于使所述业务控制器向所述应用检测实体发送所述业务链的路由规则表。Optionally, the service chain path request message sent by the sending unit 530 further includes address information of the application detection entity, and the address information of the application detection entity is used to enable the service controller to report to the application detection entity. The entity sends the routing rule table of the service chain.

可选的,所述发送单元530具体用于,向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息和接收到的所述业务控制器发送的业务链的路由规则表,对接收到的所述用户终端发送的所述数据包进行转发处理。Optionally, the sending unit 530 is specifically configured to send a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity information and the received routing rule table of the service chain sent by the service controller, and forward processing the received data packet sent by the user terminal.

所述应用检测实体具体为PCEF实体或者流路由器。The application detection entity is specifically a PCEF entity or a flow router.

因此,通过应用本发明实施例提供的业务链的处理装置,解决了现有技术中由于部署负载均衡节点导致网络部署复杂,以及业务链不易扩展的问题。实现了网络中不再部署负载均衡节点,同时,按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。Therefore, by applying the service chain processing device provided by the embodiment of the present invention, the problems in the prior art that the network deployment is complicated due to the deployment of load balancing nodes and the service chain is not easy to expand are solved. It realizes that load balancing nodes are no longer deployed in the network, and at the same time, business chains are created on demand, adapting to the ever-changing mobile Internet business model, and improving the flexibility and scalability of creating business chains.

实施例五Embodiment five

另外,本发明实施例四提供的业务链的处理装置还可以采用的实现方式如下,用以实现前述本发明实施例中的业务链的处理方法,如图6所示,所述业务链的处理装置包括:网络接口610、处理器620和存储器630。系统总线640用于连接网络接口610、处理器620和存储器630。In addition, the service chain processing device provided in Embodiment 4 of the present invention can also be implemented in the following way to implement the above-mentioned service chain processing method in the embodiment of the present invention. As shown in FIG. 6 , the service chain processing The device includes: a network interface 610 , a processor 620 and a memory 630 . The system bus 640 is used to connect the network interface 610 , the processor 620 and the memory 630 .

网络接口610用于与应用检测实体、业务控制器、流路由器进行交互通信。The network interface 610 is used for interactive communication with the application detection entity, the service controller, and the flow router.

存储器630可以是永久存储器,例如硬盘驱动器和闪存,存储器630用于存储应用程序,所述应用程序包括可用于使处理器620访问并执行如下指令:The memory 630 can be a permanent memory, such as a hard disk drive and a flash memory, and the memory 630 is used to store application programs, and the application programs include instructions that can be used to enable the processor 620 to access and execute the following:

通过所述网络接口接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息;receiving a credit control request message sent by an application detection entity through the network interface, where the credit control request message includes application startup information obtained by the application detection entity when the user terminal accesses the application;

通过所述网络接口向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括根据所述应用启动信息确定的用于对所属应用进行业务处理的业务链的属性信息;Sending a service chain path request message to the service controller through the network interface, where the service chain path request message includes the attribute information of the service chain for performing service processing on the application determined according to the application startup information;

通过所述网络接口接收所述业务控制器根据所述业务链的属性信息发送的所述业务链的路径标识信息;receiving the path identification information of the service chain sent by the service controller according to the attribute information of the service chain through the network interface;

通过所述网络接口向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。Send a credit control response message to the application detection entity through the network interface, where the credit control response message includes the path identification information, so that the application detection entity performs the The data packets sent by the user terminal are forwarded.

进一步地,通过所述网络接口发送的所述业务链的属性信息包括业务类型信息;Further, the attribute information of the service chain sent through the network interface includes service type information;

进一步地,所述存储器630存储的应用程序还包括可用于使所述处理器620执行根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息过程的指令:Further, the application program stored in the memory 630 also includes instructions that can be used to enable the processor 620 to execute the attribute information process of the service chain for performing service processing on the application determined according to the application startup information:

根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息。Determine at least one piece of service type information for performing service processing on the application according to the application identifier included in the application startup information.

进一步地,通过所述网络接口发送的所述业务链的属性信息还包括业务处理顺序信息;Further, the attribute information of the service chain sent through the network interface also includes service processing sequence information;

进一步地,所述存储器630存储的应用程序还包括可用于使所述处理器620执行根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息过程的指令:Further, the application program stored in the memory 630 also includes instructions that can be used to enable the processor 620 to execute the attribute information process of the service chain for performing service processing on the application determined according to the application startup information:

根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息;Determine at least one piece of service type information for performing service processing on the application according to the application identifier included in the application startup information;

根据至少一个所述业务类型信息,确定用于对所述应用进行业务处理的业务处理顺序信息。Determine service processing sequence information for performing service processing on the application according to at least one piece of service type information.

进一步地,通过所述网络接口发送的所述业务链的属性信息包括业务链标识信息;Further, the attribute information of the service chain sent through the network interface includes service chain identification information;

进一步地,所述存储器630存储的应用程序还包括可用于使所述处理器620执行根据所述应用启动信息确定的用于对所述应用进行业务处理的业务链的属性信息过程的指令:Further, the application program stored in the memory 630 also includes instructions that can be used to enable the processor 620 to execute the attribute information process of the service chain for performing service processing on the application determined according to the application startup information:

根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的业务链标识信息。According to the application identification included in the application startup information, determine the service chain identification information for performing service processing on the application.

进一步地,通过所述网络接口发送的所述业务链路径请求消息还包括所述应用检测实体的地址信息,所述应用检测实体的地址信息用于使所述业务控制器向所述应用检测实体发送所述业务链的路由规则表。Further, the service chain path request message sent through the network interface further includes address information of the application detection entity, and the address information of the application detection entity is used to make the service controller send the application detection entity Send the routing rule table of the service chain.

进一步地,所述存储器630存储的应用程序还包括可用于使所述处理器620执行通过所述网络接口向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理过程的指令:Further, the application program stored in the memory 630 further includes an application program configured to enable the processor 620 to execute sending a credit control response message to the application detection entity through the network interface, where the credit control response message includes the path identifier information, so that the application detection entity forwards the received data packet sent by the user terminal according to the path identification information:

通过所述网络接口向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息和接收到的所述业务控制器发送的业务链的路由规则表,对接收到的所述用户终端发送的所述数据包进行转发处理。Send a credit control response message to the application detection entity through the network interface, where the credit control response message includes the path identification information, so that the application detection entity The routing rule table of the service chain sent by the controller performs forwarding processing on the received data packet sent by the user terminal.

进一步地,所述应用检测实体具体为PCEF实体或者流路由器。Further, the application detection entity is specifically a PCEF entity or a flow router.

因此,通过应用本发明实施例提供的业务链的处理装置,解决了现有技术中由于部署负载均衡节点导致网络部署复杂,以及业务链不易扩展的问题。实现了网络中不再部署负载均衡节点,同时,按需创建业务链,适应多变的移动互联网商业模式,提升创建业务链的灵活性和可扩展性。Therefore, by applying the service chain processing device provided by the embodiment of the present invention, the problems in the prior art that the network deployment is complicated due to the deployment of load balancing nodes and the service chain is not easy to expand are solved. It realizes that load balancing nodes are no longer deployed in the network, and at the same time, business chains are created on demand, adapting to the ever-changing mobile Internet business model, and improving the flexibility and scalability of creating business chains.

专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals should further realize that the units and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.

Claims (21)

Translated fromChinese
1.一种业务链的处理方法,其特征在于,所述方法包括:1. A processing method of business chain, it is characterized in that, described method comprises:策略计费控制功能PCRF实体接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息;The policy charging control function PCRF entity receives the credit control request message sent by the application detection entity, and the credit control request message includes the application startup information obtained by the application detection entity when the user terminal accesses the application;所述PCRF实体向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括所述PCRF实体根据所述应用启动信息包括的应用标识确定的用于对所述应用进行业务处理的业务链的属性信息;The PCRF entity sends a service chain path request message to the service controller, and the service chain path request message includes the service for performing service processing on the application determined by the PCRF entity according to the application identification included in the application startup information The attribute information of the chain;所述PCRF实体接收所述业务控制器根据所述业务链的属性信息发送的所述业务链的路径标识信息;The PCRF entity receives the path identification information of the service chain sent by the service controller according to the attribute information of the service chain;所述PCRF实体向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The PCRF entity sends a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity performs a response to the received user based on the path identification information. The data packet sent by the terminal is forwarded.2.根据权利要求1所述的业务链的处理方法,其特征在于,所述业务链的属性信息包括业务类型信息;2. The processing method of the business chain according to claim 1, wherein the attribute information of the business chain comprises business type information;所述PCRF实体根据所述应用启动信息包括的应用标识确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:The attribute information of the service chain used to process the application determined by the PCRF entity according to the application identifier included in the application startup information specifically includes:根据所述应用启动信息包括的应用标识,所述PCRF实体确定用于对所述应用进行业务处理的至少一个业务类型信息。According to the application identifier included in the application startup information, the PCRF entity determines at least one piece of service type information for performing service processing on the application.3.根据权利要求2所述的业务链的处理方法,其特征在于,所述业务链的属性信息还包括业务处理顺序信息;3. The method for processing a business chain according to claim 2, wherein the attribute information of the business chain also includes business processing order information;所述PCRF实体根据所述应用启动信息包括的应用标识确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:The attribute information of the service chain used to process the application determined by the PCRF entity according to the application identifier included in the application startup information specifically includes:根据所述应用启动信息包括的应用标识,所述PCRF实体确定用于对所述应用进行业务处理的至少一个业务类型信息;According to the application identification included in the application activation information, the PCRF entity determines at least one service type information for performing service processing on the application;根据至少一个所述业务类型信息,所述PCRF实体确定用于对所述应用进行业务处理的业务处理顺序信息。According to at least one piece of service type information, the PCRF entity determines service processing sequence information for performing service processing on the application.4.根据权利要求1所述的业务链的处理方法,其特征在于,所述业务链的属性信息包括业务链标识信息;4. the processing method of business chain according to claim 1, is characterized in that, the attribute information of described business chain comprises business chain identification information;所述PCRF实体根据所述应用启动信息包括的应用标识确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:The attribute information of the service chain used to process the application determined by the PCRF entity according to the application identifier included in the application startup information specifically includes:根据所述应用启动信息包括的应用标识,所述PCRF实体确定用于对所述应用进行业务处理的业务链标识信息。According to the application identification included in the application startup information, the PCRF entity determines service chain identification information for performing service processing on the application.5.根据权利要求1-4任一所述的业务链的处理方法,其特征在于,所述业务链路径请求消息还包括所述应用检测实体的地址信息,所述应用检测实体的地址信息用于使所述业务控制器向所述应用检测实体发送所述业务链的路由规则表。5. according to the processing method of any described service chain of claim 1-4, it is characterized in that, described service chain path request message also comprises the address information of described application detection entity, and the address information of described application detection entity uses In order to make the service controller send the routing rule table of the service chain to the application detection entity.6.根据权利要求1-4任一所述的业务链的处理方法,其特征在于,所述PCRF实体向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理具体包括:6. The service chain processing method according to any one of claims 1-4, wherein the PCRF entity sends a credit control response message to the application detection entity, and the credit control response message includes the path identifier information, so that the application detection entity forwards the received data packet sent by the user terminal according to the path identification information, which specifically includes:所述PCRF实体向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息和接收到的所述业务控制器发送的业务链的路由规则表,对接收到的所述用户终端发送的所述数据包进行转发处理。The PCRF entity sends a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity controls the application according to the path identification information and the received service The routing rule table of the service chain sent by the device is used to forward the received data packet sent by the user terminal.7.根据权利要求1-4任一所述的业务链的处理方法,其特征在于,所述应用检测实体具体为策略计费执行功能PCEF实体或者流路由器。7. The service chain processing method according to any one of claims 1-4, wherein the application detection entity is specifically a Policy and Charging Enforcement Function (PCEF) entity or a flow router.8.一种业务链的处理装置,其特征在于,所述装置包括:接收单元、确定单元和发送单元;8. A processing device for a service chain, characterized in that the device comprises: a receiving unit, a determining unit, and a sending unit;所述接收单元,用于接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息;The receiving unit is configured to receive a credit control request message sent by an application detection entity, where the credit control request message includes application startup information acquired by the application detection entity when the user terminal accesses the application;所述确定单元,用于根据所述应用启动信息包括的应用标识确定用于对所述应用进行业务处理的业务链的属性信息;The determining unit is configured to determine attribute information of a service chain used to perform service processing on the application according to the application identifier included in the application startup information;所述发送单元,用于向业务控制器发送业务链路径请求消息,所述业务链路径请求消息包括所述确定单元确定的所述业务链的属性信息;The sending unit is configured to send a service chain path request message to the service controller, where the service chain path request message includes the attribute information of the service chain determined by the determining unit;所述接收单元还用于,接收所述业务控制器根据所述业务链的属性信息发送的所述业务链的路径标识信息;The receiving unit is further configured to receive path identification information of the service chain sent by the service controller according to the attribute information of the service chain;所述发送单元还用于,向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The sending unit is further configured to send a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity can respond to the received path identification information according to the path identification information. The data packet sent by the user terminal is forwarded.9.根据权利要求8所述的业务链的处理装置,其特征在于,所述发送单元发送的所述业务链的属性信息包括业务类型信息;9. The device for processing a service chain according to claim 8, wherein the attribute information of the service chain sent by the sending unit includes service type information;所述确定单元具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息。The determining unit is specifically configured to determine at least one piece of service type information for performing service processing on the application according to the application identifier included in the application startup information.10.根据权利要求9所述的业务链的处理装置,其特征在于,所述发送单元发送的所述业务链的属性信息还包括业务处理顺序信息;10. The device for processing a service chain according to claim 9, wherein the attribute information of the service chain sent by the sending unit further includes service processing sequence information;所述确定单元具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息;The determining unit is specifically configured to determine at least one service type information for performing service processing on the application according to the application identification included in the application startup information;根据至少一个所述业务类型信息,确定用于对所述应用进行业务处理的业务处理顺序信息。Determine service processing sequence information for performing service processing on the application according to at least one piece of service type information.11.根据权利要求8所述的业务链的处理装置,其特征在于,所述发送单元发送的所述业务链的属性信息包括业务链标识信息;11. The device for processing a service chain according to claim 8, wherein the attribute information of the service chain sent by the sending unit includes service chain identification information;所述确定单元具体用于,根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的业务链标识信息。The determining unit is specifically configured to determine service chain identification information for performing service processing on the application according to the application identification included in the application startup information.12.根据权利要求8-11任一所述的业务链的处理装置,其特征在于,所述发送单元发送的所述业务链路径请求消息还包括所述应用检测实体的地址信息,所述应用检测实体的地址信息用于使所述业务控制器向所述应用检测实体发送所述业务链的路由规则表。12. The service chain processing device according to any one of claims 8-11, wherein the service chain path request message sent by the sending unit further includes address information of the application detection entity, and the application detection entity The address information of the detection entity is used to make the service controller send the routing rule table of the service chain to the application detection entity.13.根据权利要求8-11任一所述的业务链的处理装置,其特征在于,所述发送单元具体用于,向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息和接收到的所述业务控制器发送的业务链的路由规则表,对接收到的所述用户终端发送的所述数据包进行转发处理。13. The device for processing a service chain according to any one of claims 8-11, wherein the sending unit is specifically configured to send a credit control response message to the application detection entity, and the credit control response message includes The path identification information, so that the application detection entity, according to the path identification information and the received routing rule table of the service chain sent by the service controller, performs the received data sent by the user terminal Packets are forwarded.14.一种业务链的处理系统,其特征在于,所述系统包括:策略计费控制功能PCRF实体和业务控制器;14. A service chain processing system, characterized in that the system comprises: a policy charging control function PCRF entity and a service controller;所述PCRF实体,用于接收应用检测实体发送的信用控制请求消息,所述信用控制请求消息包括所述应用检测实体获取的用户终端访问应用时的应用启动信息,根据所述应用启动信息包括的应用标识确定用于对所述应用进行业务处理的业务链的属性信息,并向所述业务控制器发送业务链路径请求消息,所述业务链路经请求消息包括所述业务链的属性信息;The PCRF entity is configured to receive a credit control request message sent by an application detection entity, where the credit control request message includes the application activation information acquired by the application detection entity when the user terminal accesses the application, and according to the application activation information included in the application detection entity The application identifier determines the attribute information of the service chain used to process the application, and sends a service chain path request message to the service controller, and the service link request message includes the attribute information of the service chain;所述业务控制器,用于接收所述PCRF实体发送的所述业务链路经请求消息,根据所述业务链的属性信息为所述业务链分配路径标识信息,并向所述PCRF实体发送所述业务链的路径标识信息;The service controller is configured to receive the service link request message sent by the PCRF entity, assign path identification information to the service link according to the attribute information of the service link, and send the requested message to the PCRF entity. Path identification information of the above business chain;所述PCRF实体还用于,接收所述业务控制器发送的所述业务链的路径标识信息,并向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理。The PCRF entity is further configured to receive the path identification information of the service chain sent by the service controller, and send a credit control response message to the application detection entity, where the credit control response message includes the path identification information so that the application detection entity forwards the received data packet sent by the user terminal according to the path identification information.15.根据权利要求14所述的业务链的处理系统,其特征在于,所述业务链的属性信息包括业务类型信息;15. The processing system of a business chain according to claim 14, wherein the attribute information of the business chain includes business type information;所述根据所述应用启动信息包括的应用标识确定用于对所述应用进行业务处理的业务链的属性信息具体包括:根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息。The determining the attribute information of the service chain used to process the application according to the application identifier included in the application startup information specifically includes: determining the attribute information used to process the application according to the application identifier included in the application startup information. At least one service type information of business processing.16.根据权利要求15所述的业务链的处理系统,其特征在于,所述业务链的属性信息还包括业务处理顺序信息;16. The business chain processing system according to claim 15, wherein the attribute information of the business chain further includes business processing order information;所述根据所述应用启动信息包括的应用标识确定用于对所述应用进行业务处理的业务链的属性信息具体包括:根据所述应用启动信息包括的应用标识,确定用于对所述应用进行业务处理的至少一个业务类型信息;The determining the attribute information of the service chain used to process the application according to the application identifier included in the application startup information specifically includes: determining the attribute information used to process the application according to the application identifier included in the application startup information. At least one business type information of business processing;根据至少一个所述业务类型信息,确定用于对所述应用进行业务处理的业务处理顺序信息。Determine service processing sequence information for performing service processing on the application according to at least one piece of service type information.17.根据权利要求14所述的业务链的处理系统,其特征在于,所述业务链的属性信息包括业务链标识信息;17. The processing system of a business chain according to claim 14, wherein the attribute information of the business chain includes business chain identification information;所述PCRF实体根据所述应用启动信息包括的应用标识确定的用于对所述应用进行业务处理的业务链的属性信息具体包括:The attribute information of the service chain used to process the application determined by the PCRF entity according to the application identifier included in the application startup information specifically includes:根据所述应用启动信息包括的应用标识,所述PCRF实体确定用于对所述应用进行业务处理的业务链标识信息。According to the application identification included in the application startup information, the PCRF entity determines service chain identification information for performing service processing on the application.18.根据权利要求14-17任一所述的业务链的处理系统,其特征在于,所述系统还包括:至少一个业务使能器;18. The service chain processing system according to any one of claims 14-17, wherein the system further comprises: at least one service enabler;所述业务控制器还用于,根据所述业务链的属性信息,选择出构成所述业务链的所述业务使能器,根据已存储的网络拓扑信息和选择出的所述业务使能器,确定与所述业务链对应的业务链路径。The service controller is further configured to select the service enabler constituting the service chain according to the attribute information of the service chain, and select the service enabler according to the stored network topology information and the selected service enabler , determining a service chain path corresponding to the service chain.19.根据权利要求18所述的业务链的处理系统,其特征在于,所述系统还包括:业务交换机;19. The service chain processing system according to claim 18, characterized in that, the system further comprises: a service switch;所述业务控制器还用于,根据所述业务链路径,确定业务链的路由规则表,并分别向所述应用检测实体和所述业务交换机发送所述业务链的路由规则表;The service controller is further configured to determine a routing rule table of the service chain according to the service chain path, and send the routing rule table of the service chain to the application detection entity and the service switch respectively;所述应用检测实体还用于,接收所述业务控制器发送的所述业务链的路由规则表,根据所述路径标识信息和所述业务链的路由规则表,将所述数据包转发至所述业务交换机;The application detection entity is further configured to receive the routing rule table of the service chain sent by the service controller, and forward the data packet to the The above-mentioned service exchange;所述业务交换机,用于接收所述业务控制器发送的所述业务链的路由规则表,根据所述业务链的路由规则表,将所述应用检测实体转发的所述数据包转发至对应的所述业务使能器。The service switch is configured to receive the routing rule table of the service chain sent by the service controller, and forward the data packet forwarded by the application detection entity to the corresponding The business enabler.20.根据权利要求14-17任一所述的业务链的处理系统,其特征在于,所述业务链路径请求消息还包括所述应用检测实体的地址信息,所述应用检测实体的地址信息用于使所述业务控制器向所述应用检测实体发送所述业务链的路由规则表。20. The service chain processing system according to any one of claims 14-17, wherein the service chain path request message also includes address information of the application detection entity, and the address information of the application detection entity is used In order to make the service controller send the routing rule table of the service chain to the application detection entity.21.根据权利要求14-17任一所述的业务链的处理系统,其特征在于,所述向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息,对接收到的所述用户终端发送的数据包进行转发处理具体包括:21. The service chain processing system according to any one of claims 14-17, characterized in that, sending a credit control response message to the application detection entity, the credit control response message including the path identification information, Making the application detection entity forward the received data packet sent by the user terminal according to the path identification information specifically includes:向所述应用检测实体发送信用控制响应消息,所述信用控制响应消息包括所述路径标识信息,以使所述应用检测实体根据所述路径标识信息和接收到的所述业务控制器发送的业务链的路由规则表,对接收到的所述用户终端发送的所述数据包进行转发处理。Sending a credit control response message to the application detection entity, where the credit control response message includes the path identification information, so that the application detection entity uses the path identification information and the received service sent by the service controller The routing rule table of the link is used to perform forwarding processing on the received data packet sent by the user terminal.
CN201410834211.5A2014-06-102014-12-27Processing method, device and the system of business chainExpired - Fee RelatedCN105812272B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
PCT/CN2015/079387WO2015188682A1 (en)2014-06-102015-05-20Service chain processing method, device and system

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN20141025525482014-06-10
CN2014102552542014-06-10

Publications (2)

Publication NumberPublication Date
CN105812272A CN105812272A (en)2016-07-27
CN105812272Btrue CN105812272B (en)2018-11-30

Family

ID=56980464

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410834211.5AExpired - Fee RelatedCN105812272B (en)2014-06-102014-12-27Processing method, device and the system of business chain

Country Status (1)

CountryLink
CN (1)CN105812272B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107666405B (en)*2016-07-292021-02-05华为技术有限公司Guarantee processing method and device for service flow
WO2020258302A1 (en)2019-06-282020-12-30华为技术有限公司Method, switch, and sites for data transmission
CN116886588A (en)*2019-09-162023-10-13华为技术有限公司 A communication method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102547640A (en)*2010-12-102012-07-04中兴通讯股份有限公司Method and system for signing and executing consumption restriction business
CN103067903A (en)*2012-12-312013-04-24华为技术有限公司Charging method and device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9107062B2 (en)*2012-03-022015-08-11Alcatel LucentQoS control in PCRF based on usage and time of day
US9036631B2 (en)*2012-11-272015-05-19Alcatel LucentIdentifying Gn/Gp mode at PCRF

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102547640A (en)*2010-12-102012-07-04中兴通讯股份有限公司Method and system for signing and executing consumption restriction business
CN103067903A (en)*2012-12-312013-04-24华为技术有限公司Charging method and device and system

Also Published As

Publication numberPublication date
CN105812272A (en)2016-07-27

Similar Documents

PublicationPublication DateTitle
CN111770028B (en) Method and network device for computer network
CN107566440B (en) Auto-discovery and auto-scaling of services in a software-defined networking environment
JP6509219B2 (en) Methods, systems, and computer readable media for Diameter routing using software defined network (SDN) functionality
CN105247822B (en)A kind of method, apparatus and computer readable storage medium for establishing network service chaining
US9807016B1 (en)Reducing service disruption using multiple virtual IP addresses for a service load balancer
CN105337857B (en)A kind of multi-path transmission method based on software defined network
CN103746911B (en)A kind of SDN structure and its communication means
CN111682952A (en) On-demand probes for quality of experience metrics
CN104601467B (en)A kind of method and apparatus for sending message
WO2019184752A1 (en)Network device management method, apparatus and system
CN104104742A (en)User plane traffic handling using network address translation and request redirection
CN105610632A (en) A virtual network device and related method
CN106301921B (en)Elephant flow transmission dispatching method and system based on tunnel
CN107306215B (en) A data processing method, system and node
CN111246453A (en) A data transmission method, user plane network element and control plane network element
CN112154627A (en)Service-related routing method and device
WO2021000848A1 (en)Packet forwarding method and packet processing method and apparatus
CN106789725B (en)Method, device and system for realizing traffic redirection
CN108429680A (en) A virtual private cloud-based routing configuration method, system, medium and equipment
US20220070736A1 (en)Traffic steering device
CN106254265A (en)Process the methods, devices and systems of message
CN108965134B (en)Message forwarding method and device
CN104506459B (en)Data pack transmission method, device and system in wisdom contract network
CN106375355B (en) Load balancing processing method and device
CN105812272B (en)Processing method, device and the system of business chain

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20181130


[8]ページ先頭

©2009-2025 Movatter.jp