CN107302441B - Information processing method and device and server - Google Patents
Information processing method and device and server Download PDFInfo
- Publication number
- CN107302441B CN107302441B CN201610232639.1A CN201610232639A CN107302441B CN 107302441 B CN107302441 B CN 107302441B CN 201610232639 A CN201610232639 A CN 201610232639A CN 107302441 B CN107302441 B CN 107302441B
- Authority
- CN
- China
- Prior art keywords
- message
- rule
- entity
- service
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 42
- 238000003672 processing method Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 36
- 230000005540 biological transmission Effects 0.000 description 19
- 230000004044 response Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 11
- 238000009434 installation Methods 0.000 description 8
- 230000015572 biosynthetic process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种信息处理方法、装置及服务器,应用于第一实体中的所述方法包括:接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;根据所述消息类型,判断所述第一消息是否为规则配置消息;当所述第一消息为规则配置消息时,将所述第一消息发送给第二实体;其中,所述第一消息用于触发所述第二实体基于所述第一规则安装或更新所述业务特征对应的第二规则。
Embodiments of the present invention disclose an information processing method, device, and server. The method applied to a first entity includes: receiving a first message sent by a server; wherein the first message includes a message type, service characteristics and a first rule corresponding to the service feature; the service feature is used to indicate the first service applied by the user equipment UE; according to the message type, determine whether the first message is a rule configuration message; when the first When the message is a rule configuration message, the first message is sent to the second entity; wherein the first message is used to trigger the second entity to install or update the first message corresponding to the service feature based on the first rule. Two rules.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种信息处理方法、装置及服务器。The present invention relates to the field of communications, and in particular, to an information processing method, device and server.
背景技术Background technique
策略控制和计费规则功能(Policy Control and Charging Rules Function,PCRF)实体,用于根据用户接入网络的限制、运营商策略、用户签约数据,以及用户当前正在进行的业务信息等,决定所要执行的策略,并将该策略下发给策略和计费执行功能实体,由策略和计费执行功能实体(Policy and Charging Enforcement Function,PCEF)实体执行这些计费策略。PCEF实体,用于通过执行PCRF下发的策略,实现对业务数据流的检测和测量、业务数据流的检测和测量、业务数据流的QoS保证、用户面的流量处理、以及触发控制面的会话管理等。该功能实体基于网关实现。用户签约数据库(Subscription ProfileRepository,SPR),用于向策略和计费规则功能(Policy And Charging Rules Function,PCRF)提供用户签约数据。The Policy Control and Charging Rules Function (PCRF) entity is used to decide what to execute according to the user's access network restrictions, operator policies, user subscription data, and the user's current business information, etc. The Policy and Charging Enforcement Function (PCEF) entity executes these charging policies. The PCEF entity is used to implement the detection and measurement of service data flow, the detection and measurement of service data flow, the QoS guarantee of service data flow, the traffic processing of the user plane, and the triggering of the session of the control plane by executing the policy issued by the PCRF. management, etc. This functional entity is implemented based on the gateway. A user subscription database (Subscription Profile Repository, SPR) is used to provide user subscription data to a Policy And Charging Rules Function (PCRF).
目前的计费方切换的流程是用户设备(User Equipment,UE)上线后,应用服务器(Application Server,AS)触发能力开放平台进行计费规则或服务质量规则的配置,实践证明这种规则的配置方式很多必须等UE上线之后才能进行,且规则配置的触发方式单一等问题。The current charging party switching process is that after the user equipment (User Equipment, UE) goes online, the application server (Application Server, AS) triggers the capability open platform to configure charging rules or QoS rules. Practice has proved that the configuration of such rules There are many methods that can only be performed after the UE goes online, and the triggering method of the rule configuration is single and so on.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例期望提供一种信息处理方法、装置及服务器,至少部分解决上述问题。In view of this, embodiments of the present invention are expected to provide an information processing method, apparatus, and server, which at least partially solve the above problems.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical scheme of the present invention is achieved in this way:
本发明实施例第一方面提供一种信息处理方法应用于第一实体中,所述方法包括:A first aspect of an embodiment of the present invention provides an information processing method applied to a first entity, the method comprising:
接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;receiving a first message sent by a server; wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first service applied by the user equipment UE;
根据所述消息类型,判断所述第一消息是否为规则配置消息;According to the message type, determine whether the first message is a rule configuration message;
当所述第一消息为规则配置消息时,将所述第一消息发送给第二实体;其中,所述第一消息用于触发所述第二实体基于所述第一规则安装或更新所述业务特征对应的第二规则。When the first message is a rule configuration message, send the first message to a second entity; wherein the first message is used to trigger the second entity to install or update the The second rule corresponding to the service feature.
基于上述方案,所述方法还包括:Based on the above scheme, the method further includes:
根据所述消息类型,判断所述第一消息是否为规则设置消息;According to the message type, determine whether the first message is a rule setting message;
当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。When the first message is a rule setting message, the first message is sent to a third entity; wherein the first message is used to trigger the third entity to install or update the The third rule corresponding to the business feature.
基于上述方案,所述第一实体为能力开放SCEF实体;所述第二实体为用户签约数据库SPR;所述第三实体为策略控制和计费规则功能PCRF实体。Based on the above solution, the first entity is a capability openness SCEF entity; the second entity is a user subscription database SPR; and the third entity is a policy control and charging rule function PCRF entity.
基于上述方案,当所述第一消息还包括用户设备UE标识时,若所述消息类型为规则配置消息,表示第一时刻应用所述第一业务的UE未连接到所述服务器;所述消息类型为规则设置消息,表示第一时刻应用所述第一业务的UE连接到所述服务器;所述第一时刻为所述服务器形成所述第一消息的时刻。Based on the above solution, when the first message further includes the UE identifier of the user equipment, if the message type is a rule configuration message, it means that the UE applying the first service at the first moment is not connected to the server; the message The type is a rule setting message, indicating that the UE applying the first service is connected to the server at the first moment; the first moment is the moment when the server forms the first message.
基于上述方案,所述业务特征包括业务标识、业务统一资源地址、业务网络协议IP地址、业务赞助者身份标识及服务提供者身份标识的至少其中之一。Based on the above solution, the service feature includes at least one of a service identifier, a service uniform resource address, a service network protocol IP address, a service sponsor identity identifier, and a service provider identity identifier.
基于上述方案,第一规则包括业务策略规则;所述业务特征规则包括业务计费规则及服务质量QoS规则的至少其中之一。Based on the above solution, the first rule includes a service policy rule; the service feature rule includes at least one of a service charging rule and a quality of service QoS rule.
本发明实施例第二方面提供一种信息处理方法,应用于第一实体中,所述方法包括:A second aspect of the embodiments of the present invention provides an information processing method, which is applied to the first entity, and the method includes:
接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;receiving a first message sent by a server; wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first service applied by the user equipment UE;
根据所述消息类型,判断所述第一消息是否为规则设置消息;According to the message type, determine whether the first message is a rule setting message;
当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。When the first message is a rule setting message, the first message is sent to a third entity; wherein the first message is used to trigger the third entity to install or update the The third rule corresponding to the business feature.
本发明实施例第三方面提供一种信息处理方法,应用于第二实体,包括:A third aspect of the embodiments of the present invention provides an information processing method, which is applied to a second entity, including:
接收第一实体发送的所述第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;Receive the first message sent by the first entity; wherein, the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first message applied by the user equipment UE. a business;
基于所述第一规则,安装或更新所述业务特征对应的第一业务的第二规则;Based on the first rule, install or update the second rule of the first service corresponding to the service feature;
根据所述消息类型,将所述第二规则发送给第三实体;sending the second rule to a third entity according to the message type;
其中,所述第二规则用于供所述第三实体安装或更新与所述第一规则对应的第三规则。Wherein, the second rule is used for the third entity to install or update the third rule corresponding to the first rule.
基于上述方案,所述第一消息还包括用户设备UE标识;所述UE标识为第一UE的标识;Based on the above solution, the first message further includes a user equipment UE identifier; the UE identifier is the identifier of the first UE;
所述根据所述消息类型,将所述第二规则发送给第三实体,包括:The sending the second rule to a third entity according to the message type includes:
根据所述消息类型,判断所述第一消息是否为规则配置消息;According to the message type, determine whether the first message is a rule configuration message;
当所述第一消息为所述规则配置消息时,确定应用所述第一业务的所述第一UE当前时刻是否连接到网络;When the first message is the rule configuration message, determining whether the first UE applying the first service is currently connected to the network;
当所述第一UE在当前时刻连接到网络时,将所述第二规则发送给所述第三实体。When the first UE is connected to the network at the current moment, the second rule is sent to the third entity.
基于上述方案,所述方法,还包括:Based on the above scheme, the method further includes:
当所述第一UE在当前时刻未连接到网络时,存储所述第二规则。When the first UE is not connected to the network at the current moment, the second rule is stored.
基于上述方案,所述根据所述消息类型,将所述第二规则发送给第三实体,包括:Based on the above solution, the sending the second rule to the third entity according to the message type includes:
根据所述消息类型,判断所述第一消息是否为规则配置消息;According to the message type, determine whether the first message is a rule configuration message;
当所述第一消息为所述规则配置消息时,查询所述第一业务涉及的第三实体;When the first message is the rule configuration message, query the third entity involved in the first service;
将所述第二规则及所述业务特征发送给涉及所述第一业务的第三实体;其中,所述第二规则及所述业务特征共同用于供所述第三实体对所述第一业务进行计费策略配置。sending the second rule and the service feature to a third entity involved in the first service; wherein the second rule and the service feature are jointly used for the third entity to evaluate the first Configure billing policies for services.
基于上述方案,所述第一实体为能力开放SCEF实体;所述第二实体为用户签约数据库SPR;所述第三实体为策略控制和计费规则功能PCRF实体。Based on the above solution, the first entity is a capability openness SCEF entity; the second entity is a user subscription database SPR; and the third entity is a policy control and charging rule function PCRF entity.
本发明实施例第四方面提供一种信息处理方法,应用于服务器中,所述方法包括:A fourth aspect of the embodiments of the present invention provides an information processing method, which is applied in a server, and the method includes:
形成第一消息,其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;forming a first message, wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first service applied by the user equipment UE;
将所述第一消息发送给第一实体;其中,所述消息类型用于所述第一实体确定将所述第一消息发送给第二实体或第三实体;所述第一规则用于供所述第二实体形成第二规则或供所述第三实体形成第三规则。sending the first message to a first entity; wherein the message type is used by the first entity to determine to send the first message to a second entity or a third entity; the first rule is used for providing The second entity forms the second rule or for the third entity to form the third rule.
基于上述方案,所述方法还包括:Based on the above scheme, the method further includes:
在第一时刻,判断应用所述第一业务的用户设备UE是否连接到所述服务器;at the first moment, judging whether the user equipment UE applying the first service is connected to the server;
若在所述第一时刻,应用所述第一业务的UE未连接到所述服务器,则确定所述第一消息的消息类型为规则配置消息;If at the first moment, the UE applying the first service is not connected to the server, determining that the message type of the first message is a rule configuration message;
若在所述第一时刻,有应用所述第一业务的第一UE已连接到所述服务器,则确定所述第一消息的消息类型为规则设置消息;If at the first moment, a first UE applying the first service has been connected to the server, determining that the message type of the first message is a rule setting message;
所述第一消息还包括所述第一UE的UE标识。The first message further includes the UE identity of the first UE.
本发明实施例第五方面提供一种信息处理装置,应用于第一实体,所述第一实体包括:A fifth aspect of the embodiments of the present invention provides an information processing apparatus, which is applied to a first entity, where the first entity includes:
第一接收单元,用于接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;a first receiving unit, configured to receive a first message sent by a server; wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the user equipment UE The first business of the application;
第一判断单元,用于根据所述消息类型,判断所述第一消息是否为规则配置消息;a first judging unit, configured to judge whether the first message is a rule configuration message according to the message type;
第一发送单元,用于当所述第一消息为规则配置消息时,将所述第一消息发送给第二实体;其中,所述第一消息用于触发所述第二实体基于所述第一规则安装或更新所述业务特征对应的第二规则。a first sending unit, configured to send the first message to a second entity when the first message is a rule configuration message; wherein the first message is used to trigger the second entity based on the first message A rule installs or updates the second rule corresponding to the service feature.
基于上述方案,所述第一判断单元,还用于根据所述消息类型,判断所述第一消息是否为规则设置消息;Based on the above solution, the first judgment unit is further configured to judge whether the first message is a rule setting message according to the message type;
所述第一发送单元,还用于当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。The first sending unit is further configured to send the first message to a third entity when the first message is a rule setting message; wherein the first message is used to trigger the third entity to base on the The first rule installs or updates the third rule corresponding to the service feature.
基于上述方案,所述第一实体为能力开放SCEF实体;所述第二实体为用户签约数据库SPR;所述第三实体为策略控制和计费规则功能PCRF实体。Based on the above solution, the first entity is a capability openness SCEF entity; the second entity is a user subscription database SPR; and the third entity is a policy control and charging rule function PCRF entity.
基于上述方案,当所述第一消息还包括用户设备UE标识时,若所述消息类型为规则配置消息,表示第一时刻应用所述第一业务的UE未连接到所述服务器;所述消息类型为规则设置消息,表示第一时刻应用所述第一业务的UE连接到所述服务器;所述第一时刻为所述服务器形成所述第一消息的时刻。Based on the above solution, when the first message further includes the UE identifier of the user equipment, if the message type is a rule configuration message, it means that the UE applying the first service at the first moment is not connected to the server; the message The type is a rule setting message, indicating that the UE applying the first service is connected to the server at the first moment; the first moment is the moment when the server forms the first message.
基于上述方案,所述业务特征包括业务标识、业务统一资源地址、业务网络协议IP地址、业务赞助者身份标识及服务提供者身份标识的至少其中之一。Based on the above solution, the service feature includes at least one of a service identifier, a service uniform resource address, a service network protocol IP address, a service sponsor identity identifier, and a service provider identity identifier.
基于上述方案,第一规则包括业务策略规则;所述业务特征规则包括业务计费规则及服务质量QoS规则的至少其中之一。Based on the above solution, the first rule includes a service policy rule; the service feature rule includes at least one of a service charging rule and a quality of service QoS rule.
本发明实施例第六方面提供一种信息处理装置,应用于第一实体中,所述第一实体包括:A sixth aspect of the embodiments of the present invention provides an information processing apparatus, which is applied to a first entity, where the first entity includes:
第二接收单元,用于接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;The second receiving unit is configured to receive the first message sent by the server; wherein, the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the user equipment UE The first business of the application;
第二判断单元,用于根据所述消息类型,判断所述第一消息是否为规则设置消息;a second judging unit, configured to judge whether the first message is a rule setting message according to the message type;
第二发送单元,用于当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。a second sending unit, configured to send the first message to a third entity when the first message is a rule setting message; wherein the first message is used to trigger the third entity to A rule installs or updates the third rule corresponding to the service feature.
本发明实施例第七方面提供一种信息处理装置,应用于第二实体,包括:A seventh aspect of the embodiments of the present invention provides an information processing apparatus, applied to a second entity, including:
第三接收单元,用于接收第一实体发送的所述第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;a third receiving unit, configured to receive the first message sent by the first entity; wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used for indicating the first service applied by the user equipment UE;
处理单元,用于基于所述第一规则,安装或更新所述业务特征对应的第一业务的第二规则;a processing unit, configured to install or update the second rule of the first service corresponding to the service feature based on the first rule;
第三发送单元,用于根据所述消息类型,将所述第二规则发送给第三实体;a third sending unit, configured to send the second rule to a third entity according to the message type;
其中,所述第二规则用于供所述第三实体安装或更新与所述第一规则对应的第三规则。Wherein, the second rule is used for the third entity to install or update the third rule corresponding to the first rule.
基于上述方案,所述第一消息还包括用户设备UE标识;所述UE标识为第一UE的标识;Based on the above solution, the first message further includes a user equipment UE identifier; the UE identifier is the identifier of the first UE;
所述第三发送单元,具体用于根据所述消息类型,判断所述第一消息是否为规则配置消息;当所述第一消息为所述规则配置消息时,确定应用所述第一业务的所述第一UE当前时刻是否连接到网络;当所述第一UE在当前时刻连接到网络时,将所述第二规则发送给所述第三实体。The third sending unit is specifically configured to determine whether the first message is a rule configuration message according to the message type; when the first message is the rule configuration message, determine whether to apply the first service. Whether the first UE is connected to the network at the current moment; when the first UE is connected to the network at the current moment, the second rule is sent to the third entity.
基于上述方案,所述第二实体还包括:Based on the above solution, the second entity further includes:
存储单元,还用于当所述第一UE在当前时刻未连接到网络时,存储所述第二规则。The storage unit is further configured to store the second rule when the first UE is not connected to the network at the current moment.
基于上述方案,所述第三发送单元,还具体用于根据所述消息类型,判断所述第一消息是否为规则配置消息;当所述第一消息为所述规则配置消息时,查询所述第一业务涉及的第三实体;将所述第二规则及所述业务特征发送给涉及所述第一业务的第三实体;其中,所述第二规则及所述业务特征共同用于供所述第三实体对所述第一业务进行计费策略配置。Based on the above solution, the third sending unit is further specifically configured to determine whether the first message is a rule configuration message according to the message type; when the first message is the rule configuration message, query the A third entity involved in the first business; sending the second rule and the business feature to a third entity involved in the first business; wherein the second rule and the business feature are jointly used for all The third entity configures a charging policy for the first service.
基于上述方案,所述第一实体为能力开放SCEF实体;所述第二实体为用户签约数据库SPR;所述第三实体为策略控制和计费规则功能PCRF实体。Based on the above solution, the first entity is a capability openness SCEF entity; the second entity is a user subscription database SPR; and the third entity is a policy control and charging rule function PCRF entity.
本发明实施例第八方面提供一种服务器,所述服务器包括:An eighth aspect of an embodiment of the present invention provides a server, where the server includes:
形成单元,用于形成第一消息,其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;a forming unit, configured to form a first message, wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first service applied by the user equipment UE ;
第五发送单元,用于将所述第一消息发送给第一实体;其中,所述消息类型用于所述第一实体确定将所述第一消息发送给第二实体或第三实体;所述第一规则用于供所述第二实体形成第二规则或供所述第三实体形成第三规则。a fifth sending unit, configured to send the first message to a first entity; wherein, the message type is used by the first entity to determine to send the first message to a second entity or a third entity; The first rule is used for the second entity to form a second rule or for the third entity to form a third rule.
基于上述方案,所述服务器包括:Based on the above solution, the server includes:
第二判断单元,用于在第一时刻,判断应用所述第一业务的用户设备UE是否连接到所述服务器;若在所述第一时刻,应用所述第一业务的UE未连接到所述服务器,则确定所述第一消息的消息类型为规则配置消息;若在所述第一时刻,有应用所述第一业务的第一UE已连接到所述服务器,则确定所述第一消息的消息类型为规则设置消息;所述第一消息还包括所述第一UE的UE标识。a second judging unit, configured to judge at the first moment whether the user equipment UE applying the first service is connected to the server; if at the first moment, the UE applying the first service is not connected to the server If at the first moment, a first UE applying the first service has been connected to the server, determine that the first message is a rule configuration message. The message type of the message is a rule setting message; the first message further includes the UE identifier of the first UE.
本发明实施例提供的信息处理方法、第一实体、第二实体及服务器,第一实体接收的第一消息是包括消息类型,所述第一实体将判断第一消息是否为规则配置消息,若是规则配置消息再向所述第二实体发送,方便第二实体根据第一消息中的第一规则进行第二规则的配置,采用这种方式并不一定需要等UE与服务器建立连接才能进行规则配置,增加了规则配置的方式,避免了规则配置单一性的问题。所述第一消息可以为UE粒度的消息,也可以是业务粒度的消息;当所述第一消息为业务粒度的消息时,第一实体仅需从服务器接收一条所述第一消息,再通过所述第一消息的转发可对所述业务特征对应的整个第一业务进行第二规则和/或第三规则的安装和更新,就不用如UE粒度的消息,针对每一个UE都需要发送一条触发第二规则和/或第三规则安装和更新的消息,可以减少第一实体与服务器之间的消息交互条数,进而减少交互的数据量。In the information processing method, the first entity, the second entity, and the server provided by the embodiments of the present invention, the first message received by the first entity includes a message type, and the first entity will determine whether the first message is a rule configuration message, and if so The rule configuration message is then sent to the second entity, which is convenient for the second entity to configure the second rule according to the first rule in the first message. In this way, it is not necessary to wait for the UE to establish a connection with the server before the rule configuration can be performed. , adding the way of rule configuration, avoiding the problem of single rule configuration. The first message may be a UE granularity message or a service granularity message; when the first message is a service granularity message, the first entity only needs to receive one piece of the first message from the server, and then pass The forwarding of the first message can perform the installation and update of the second rule and/or the third rule for the entire first service corresponding to the service feature, without the need for UE-granularity messages, which need to be sent for each UE. The message that triggers the installation and update of the second rule and/or the third rule can reduce the number of messages exchanged between the first entity and the server, thereby reducing the amount of data exchanged.
附图说明Description of drawings
图1A为本发明实施例提供的第一种信息处理方法的流程示意图;1A is a schematic flowchart of a first information processing method provided by an embodiment of the present invention;
图1B为本发明实施例提供的第二种信息处理方法的流程示意图;1B is a schematic flowchart of a second information processing method provided by an embodiment of the present invention;
图2为本发明实施例提供的第三种信息处理方法的流程示意图;2 is a schematic flowchart of a third information processing method provided by an embodiment of the present invention;
图3为本发明实施例提供的第四种信息处理方法的流程示意图;3 is a schematic flowchart of a fourth information processing method provided by an embodiment of the present invention;
图4为本发明实施例提供的第五种信息处理方法的流程示意图;4 is a schematic flowchart of a fifth information processing method provided by an embodiment of the present invention;
图5为本发明实施例提供的一种信息处理装置的结构示意图;5 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
图6为本发明实施例提供的另一种信息处理装置的结构示意图;6 is a schematic structural diagram of another information processing apparatus provided by an embodiment of the present invention;
图7为本发明实施例提供的一种信息处理装置的结构示意图;7 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
图8为本发明实施例提供的一种服务器的结构示意图;FIG. 8 is a schematic structural diagram of a server according to an embodiment of the present invention;
图9为本发明实施例提供的第四种信息处理方法的流程示意图;9 is a schematic flowchart of a fourth information processing method provided by an embodiment of the present invention;
图10为本发明实施例提供的第五种信息处理方法的流程示意图;10 is a schematic flowchart of a fifth information processing method provided by an embodiment of the present invention;
图11为本发明实施例提供的第六种信息处理方法的流程示意图。FIG. 11 is a schematic flowchart of a sixth information processing method according to an embodiment of the present invention.
具体实施方式Detailed ways
以下结合说明书附图及具体实施例对本发明的技术方案做进一步的详细阐述。The technical solutions of the present invention will be further elaborated below with reference to the accompanying drawings and specific embodiments of the description.
实施例一:Example 1:
如图1A所示,一种信息处理方法,应用于第一实体中,所述方法包括:As shown in FIG. 1A, an information processing method, applied to a first entity, includes:
步骤S110:接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;Step S110: Receive a first message sent by a server; wherein, the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first application of the user equipment UE. business;
步骤S121:根据所述消息类型,判断所述第一消息是否为规则配置消息;Step S121: According to the message type, determine whether the first message is a rule configuration message;
步骤S131:当所述第一消息为规则配置消息时,将所述第一消息发送给第二实体;其中,所述第一消息用于触发所述第二实体基于所述第一规则安装或更新所述业务特征对应的第二规则。Step S131: When the first message is a rule configuration message, send the first message to a second entity; wherein, the first message is used to trigger the second entity to install or install based on the first rule. The second rule corresponding to the service feature is updated.
所述第一实体可以为能力开放(Service Capability Exposure Function,SCEF)实体。所述服务器可以为应用服务器;第二实体可为用户签约数据库(SubscriptionProfile Repository,SPR)。The first entity may be a capability exposure (Service Capability Exposure Function, SCEF) entity. The server may be an application server; the second entity may be a user subscription database (SubscriptionProfile Repository, SPR).
在本实施例中所述第一消息是由所述服务器提供的,所述第一消息至少承载有消息类型、业务特征及第一规则。所述业务特征包括业务标识、业务统一资源地址(UniformResource Location,URL)、业务网络协议(Internet Protocol,IP)地址、业务赞助者身份标识及服务提供者身份标识的至少其中之一。这里的业务标识可为所述第一业务的各种标识信息,例如第一业务标识的业务编码序号等标识信息。所述业务IP地址可为提供所述业务的服务器的IP地址。该服务器可为步骤S110中的所述服务器,可称为应用服务器。所述业务赞助者身份标识和服务提供者身份标识可以是IP地址、媒体访问控制(Media AccessControl,MAC)地址或域名地址或服务器名称等。当然所述业务特征还可包括其他能够指示所述第一业务服务方标识。In this embodiment, the first message is provided by the server, and the first message carries at least a message type, a service feature, and a first rule. The service feature includes at least one of a service identifier, a service uniform resource address (Uniform Resource Location, URL), a service Internet Protocol (Internet Protocol, IP) address, a service sponsor ID, and a service provider ID. The service identifier here may be various identification information of the first service, such as identification information such as a service code serial number of the first service identifier. The service IP address may be the IP address of the server providing the service. The server may be the server in step S110, which may be referred to as an application server. The service sponsor ID and service provider ID may be an IP address, a media access control (Media Access Control, MAC) address, a domain name address, or a server name, and the like. Of course, the service feature may also include other identifiers that can indicate the first service provider.
所述第一规则可包括业务策略规则;所述业务特征规则包括业务计费规则及服务质量QoS规则的至少其中之一。所述业务计费规则可用于指示服务费用支付方案,支付方式以及单价等根计费相关的信息。所述服务质量规则用于指示所述第一业务的服务质量,例如,要求的时延性等参数。所述业务计费规则指示切换支付方。例如,所述配置指令用于指示切换计费的支付方,例如,再比如指示支付方,指示某一个支付方的支付时间段或各个支付方的支付比例等各种与计费相关的信息。The first rule may include a service policy rule; the service feature rule may include at least one of a service charging rule and a quality of service (QoS) rule. The service charging rule can be used to indicate the service fee payment scheme, payment method, unit price and other related information about root charging. The quality of service rule is used to indicate the quality of service of the first service, for example, parameters such as required delay. The service charging rule instructs to switch the payer. For example, the configuration instruction is used to instruct the payer to switch the charging, for example, another example is to instruct the payer, to indicate the payment time period of a certain payer or the payment ratio of each payer and other information related to charging.
当所述第一消息还包括用户设备UE标识时,若所述消息类型为规则配置消息,表示第一时刻应用所述第一业务的UE未连接到所述服务器;所述消息类型为规则设置消息,表示第一时刻应用所述第一业务的UE连接到所述服务器;所述第一时刻为所述服务器形成所述第一消息的时刻。在本实施例中所述UE标识可为用户设备的国际移动电话设备识别码(International Mobile Equipment Identity,IMEI),也可以为所述UE的通信标识。这里的通信标识可为手机号等标识。此时,所述UE标识为应用所述第一业务的UE的标识。When the first message further includes the UE identifier of the user equipment, if the message type is a rule configuration message, it means that the UE applying the first service at the first moment is not connected to the server; the message type is rule setting message, indicating that the UE applying the first service is connected to the server at the first moment; the first moment is the moment when the server forms the first message. In this embodiment, the UE identifier may be an International Mobile Equipment Identity (International Mobile Equipment Identity, IMEI) of the user equipment, or may be a communication identifier of the UE. The communication identifier here may be an identifier such as a mobile phone number. In this case, the UE identifier is the identifier of the UE applying the first service.
所述服务器可以根据在其形成所述第一消息的时候,判断出应用所述第一业务的UE是否连接到所述服务器,然后根据与UE的连接状态,确定出所述消息类型,方便所述第一实体根据所述消息类型,判断出将所述第一消息发送给第二实体还是第三实体。The server can determine whether the UE applying the first service is connected to the server according to when it forms the first message, and then determine the message type according to the connection status with the UE, which is convenient for all users. The first entity determines whether to send the first message to the second entity or the third entity according to the message type.
作为本实施例的进一步改进,As a further improvement of this embodiment,
如图1B所示,所述方法还包括:As shown in Figure 1B, the method further includes:
步骤S122:根据所述消息类型,判断所述第一消息是否为规则设置消息;Step S122: According to the message type, determine whether the first message is a rule setting message;
步骤S123:当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。Step S123: when the first message is a rule setting message, send the first message to a third entity; wherein, the first message is used to trigger the third entity to install or install based on the first rule. The third rule corresponding to the service feature is updated.
若判断出所述第一消息为规则设置消息,所述第一实体直接将所述第一消息发送给第三实体,这里的第三实体可为PCRF实体。所述第三规则为所述第一业务对应的规则。If it is determined that the first message is a rule setting message, the first entity directly sends the first message to a third entity, where the third entity may be a PCRF entity. The third rule is a rule corresponding to the first service.
在本实施例中所述第二规则和所述第三规则都是与所述第一业务规则对应的规则。例如,所述第一规则包括QoS规则,则所述第二规则和所述第三规则都可包括QoS规则。在本实施例中所述第二规则是存储在所述第二实体中的规则,所述第三规则是存储在第三实体中的规则,所述第二规则可作为所述第三规则的生成依据之一。在具体的实现过程中,所述第三规则可直接用于对UE访问所述第一业务进行质量控制和计费处理等操作。In this embodiment, the second rule and the third rule are both rules corresponding to the first service rule. For example, the first rule includes a QoS rule, then both the second rule and the third rule may include a QoS rule. In this embodiment, the second rule is a rule stored in the second entity, the third rule is a rule stored in a third entity, and the second rule can be used as a One of the basis for generation. In a specific implementation process, the third rule may be directly used to perform operations such as quality control and charging processing for the UE accessing the first service.
在本实施例中,所述第一消息可以为UE粒度的消息,也可以是业务粒度的消息;对应的,所述第一业务规则可以是UE粒度的规则,也可以是业务粒度的规则。所述第二规则同样可为UE粒度的规则,也可以是业务粒度的规则。所述第三规则通常是UE粒度的规则。In this embodiment, the first message may be a UE granularity message or a service granularity message; correspondingly, the first service rule may be a UE granularity rule or a service granularity rule. The second rule may also be a UE granularity rule or a service granularity rule. The third rule is usually a UE granularity rule.
当所述第一规则为业务粒度的规则时,所述第一实体仅需接收一条所述第一消息,当所述第二实体或第三实体就会对该第一消息中承载的业务特征对应的第一业务进行整个业务的规则安装或更新。这样的话,服务器仅需向第一实体发送一条所述第一消息,就能够实现对所有应用所述第一业务的UE对应的第二规则和第三规则进行配置。此时,通常所述第一消息是不包括应用所述第一业务的UE的UE标识。When the first rule is a rule of service granularity, the first entity only needs to receive one first message, and the second entity or the third entity will respond to the service feature carried in the first message by the second entity or the third entity. The corresponding first service performs rule installation or update of the entire service. In this way, the server only needs to send the first message to the first entity, so that the second rule and the third rule corresponding to all UEs applying the first service can be configured. At this time, usually the first message does not include the UE identifier of the UE applying the first service.
实施例二:Embodiment 2:
如图2所示,本实施例提供一种信息处理方法,应用于第一实体中,所述方法包括:As shown in FIG. 2, this embodiment provides an information processing method, which is applied to the first entity, and the method includes:
步骤S210:接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;Step S210: Receive a first message sent by the server; wherein, the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first application of the user equipment UE. business;
步骤S220:根据所述消息类型,判断所述第一消息是否为规则设置消息;Step S220: According to the message type, determine whether the first message is a rule setting message;
当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。When the first message is a rule setting message, the first message is sent to a third entity; wherein the first message is used to trigger the third entity to install or update the The third rule corresponding to the business feature.
本实施例为应用于所述第一实体中的信息处理方法,在本实施例中所述第一实体、第三实体及所述第一消息、第一规则和所述第三规则都可以参见实施例一,在此就不重复了。总之,本实施例所述的信息处理方法,能够简便的根据所述第一消息包括的消息类型,判断出所述第一消息是否为规则设置消息,从而确定出是否需要发送给第三实体。This embodiment is an information processing method applied to the first entity. In this embodiment, the first entity, the third entity, the first message, the first rule, and the third rule can all refer to Embodiment 1 will not be repeated here. In a word, the information processing method described in this embodiment can simply determine whether the first message is a rule setting message according to the message type included in the first message, so as to determine whether it needs to be sent to a third entity.
实施例三:Embodiment three:
如图3所示,本实施例提供一种信息处理方法,应用于第二实体,包括:As shown in FIG. 3 , this embodiment provides an information processing method, which is applied to the second entity, including:
步骤S310:接收第一实体发送的所述第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;Step S310: Receive the first message sent by the first entity; wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the user equipment UE The first business of the application;
步骤S320:基于所述第一规则,安装或更新所述业务特征对应的第一业务的第二规则;Step S320: Based on the first rule, install or update the second rule of the first service corresponding to the service feature;
步骤S330:根据所述消息类型,将所述第二规则发送给第三实体;Step S330: according to the message type, send the second rule to a third entity;
其中,所述第二规则用于供所述第三实体安装或更新与所述第一规则对应的第三规则。Wherein, the second rule is used for the third entity to install or update the third rule corresponding to the first rule.
本实施例提供的信息处理方法为应用于第二实体中的方法,这里的第二实体可为前述的用户签约数据库SPR,所述第一实体可为所述SCEF实体。所述第三实体可为PCRF实体。The information processing method provided in this embodiment is a method applied to a second entity, where the second entity may be the aforementioned user subscription database SPR, and the first entity may be the SCEF entity. The third entity may be a PCRF entity.
在本实施例中所述第二实体接收第一实体发送的第一消息,这里的第一消息可为由所述第一实体转发的应用服务器AS等服务器提供的第一消息。这里的第一消息的形成和信息内容等都可以参见实施例一,在此就不重复了。In this embodiment, the second entity receives the first message sent by the first entity, where the first message may be the first message provided by a server such as an application server AS forwarded by the first entity. For the formation and information content of the first message here, reference may be made to Embodiment 1, which will not be repeated here.
所述步骤S320将根据所述第一规则,安装或更新所述业务特征对应的第一业务的第二规则。这里的第二规则为存储第二实体中的规则。通常情况下,所述第二规则包括的内容是与所述第一规则的包括的内容一致的。所述第二规则是根据所述第一规则生成的。这里第一规则可以是业务粒度的规则,也可以是UE粒度的规则。所述第二规则同样也可以是业务粒度或UE粒度的规则。The step S320 is to install or update the second rule of the first service corresponding to the service feature according to the first rule. The second rule here is a rule stored in the second entity. Generally, the content included in the second rule is consistent with the content included in the first rule. The second rule is generated according to the first rule. Here, the first rule may be a service granularity rule or a UE granularity rule. The second rule may also be a service granularity or UE granularity rule.
总之,本实施例所述第二实体会根据所述第一实体发送的第一消息,来进行所述第二规则的配置并发送所述第三规则。In a word, the second entity in this embodiment configures the second rule and sends the third rule according to the first message sent by the first entity.
所述步骤S330的实现方式有多种,具体以下提供几种可选方式:There are many ways to implement the step S330, and the following provides several optional ways:
可选方式一:Option 1:
所述第一消息还包括用户设备UE标识;所述UE标识为第一UE的标识。所述步骤S330可包括:根据所述消息类型,判断所述第一消息是否为规则配置消息;当所述第一消息为所述规则配置消息时,确定应用所述第一业务的第一UE当前是否连接到网络;当所述第一UE当前连接到网络时,将所述第二规则发送给所述第三实体。如所述实施例一所述的方法,所述第一消息可为第一时刻形成的,在本实施例执行所述步骤S330的时刻当前时刻可为第二时刻,通常所述第二时刻与当前时刻为不同的时刻。在本实施例中,所述第二实体会确定在当前时刻应用第一业务的第一UE是否连接到网络,这里的连接到网络可为UE是否通过UE的通信接口连接到网络,所述第三实体能够通过网络与UE进行会话,例如,UE关机或拔出电池,可能就没有连接到网络;若UE开机当前附着在网络,则认为UE连接到网络。The first message further includes the user equipment UE identifier; the UE identifier is the identifier of the first UE. The step S330 may include: according to the message type, judging whether the first message is a rule configuration message; when the first message is the rule configuration message, determining a first UE that applies the first service Whether it is currently connected to the network; when the first UE is currently connected to the network, the second rule is sent to the third entity. According to the method described in the first embodiment, the first message may be formed at the first moment, and the current moment at the moment when the step S330 is performed in this embodiment may be the second moment. Usually, the second moment is the same as the second moment. The current moment is a different moment. In this embodiment, the second entity will determine whether the first UE applying the first service at the current moment is connected to the network, where the connection to the network may be whether the UE is connected to the network through the communication interface of the UE, and the first UE is connected to the network through the communication interface of the UE. The three entities can conduct a session with the UE through the network. For example, the UE may not be connected to the network if the UE is powered off or the battery is pulled out; if the UE is powered on and currently attached to the network, the UE is considered to be connected to the network.
这里确定所述第一UE是否连接到网络,所述第二实体自身维护有表征UE当前时刻是否连接到网络的数据库,所述第二实体可以通过查询自身维护的数据库,简便的知道所述第一UE当前时刻是否在线。具体的如,所述第二实体为SPR,SPR就维护有各个已签约的UE当前时刻是否连接到网络的数据。Here, it is determined whether the first UE is connected to the network, the second entity itself maintains a database representing whether the UE is connected to the network at the current moment, and the second entity can easily know the first UE by querying the database maintained by itself. Whether a UE is online at the current moment. Specifically, if the second entity is an SPR, the SPR maintains data on whether each subscribed UE is connected to the network at the current moment.
当然,所述第一消息是第一时刻。若第一时刻和当前时刻的时间差小于预设时间阈值,则可以直接认为所述第一UE当前连接到网络。若所述第一时刻与第二时刻的时间差大于所述时间阈值,则所述第二实体可以通过查询自身维护的数据库等方法,确定出所述第一UE当前时刻是否连接到网络。Of course, the first message is the first moment. If the time difference between the first moment and the current moment is less than the preset time threshold, it may be directly considered that the first UE is currently connected to the network. If the time difference between the first moment and the second moment is greater than the time threshold, the second entity may determine whether the first UE is currently connected to the network by querying a database maintained by itself.
在步骤S330中在向所述第二规则发送给所述第三实体时,可包括:当前时刻连接在网络的所述第一UE的UE标识发送给所述第三实体,方便所述第三实体根据所述UE标识与UE进行会话,进行前述第三规则的设置。In step S330, when sending the second rule to the third entity, it may include: sending the UE identity of the first UE connected to the network at the current moment to the third entity, so as to facilitate the third entity. The entity conducts a session with the UE according to the UE identifier, and performs the setting of the foregoing third rule.
作为本实施例的进一步改进,所述方法还包括:As a further improvement of this embodiment, the method further includes:
当所述第一UE当前未连接到网络时,存储所述第二规则。这里的存储得让规则等待所述第一UE再次连接到网络时,再发送所述第三实体,由所述第三实体通过与UE的连接,进行第三规则的安装和配置。The second rule is stored when the first UE is not currently connected to the network. The storage here requires the rule to wait for the first UE to connect to the network again before sending the third entity, and the third entity can install and configure the third rule through the connection with the UE.
可选方式二:Option 2:
所述步骤S330可包括:The step S330 may include:
根据所述消息类型,判断所述第一消息是否为规则配置消息;According to the message type, determine whether the first message is a rule configuration message;
当所述第一消息为所述规则配置消息时,查询所述第一业务涉及的第三实体;When the first message is the rule configuration message, query the third entity involved in the first service;
将所述第二规则及所述业务特征发送给涉及所述第一业务的第三实体;其中,所述第二规则及所述业务特征共同用于供所述第三实体对所述第一业务进行计费策略配置。sending the second rule and the service feature to a third entity involved in the first service; wherein the second rule and the service feature are jointly used for the third entity to evaluate the first Configure billing policies for services.
在本实施例中所述第二实体不会判断UE当前时刻是否连接到网络,在本实施例中将依据所述业务特征查询出涉及所述第一业务的第三实体,在查询出涉及所述第一业务的第三实体后,将所述第二规则和所述业务特征发送给对应的第三实体。这里的第三实体可为PCRF实体,这样涉及所述第三业务的实体,将会根据所述业务特征规则,按业务粒度安装或更新所述第三规则。In this embodiment, the second entity will not judge whether the UE is connected to the network at the current moment. In this embodiment, it will query the third entity involved in the first service according to the service characteristics. After the third entity of the first service is sent, the second rule and the service feature are sent to the corresponding third entity. The third entity here may be a PCRF entity, so the entity involved in the third service will install or update the third rule according to the service granularity according to the service feature rule.
值得注意的是:按业务粒度进行规则的安装和更新,可包括第二规则的业务粒度配置和第三规则的业务粒度的安装和更新。例如,所述有M个UE应用该第一业务,在步骤S330中在进行第二规则配置时,依据所述业务特征,查找出所有与所述业务特征匹配的第一业务的第二规则,统一根据所述第一规则更新所述第二规则。若当前所述第二实体中没有存储有所述第一业务的第二规则,则直接以所述业务特征为标识,进行所述第一业务的第二规则的配置,形成第二规则,以后不管哪个UE或哪种UE使用该第一业务都用第二规则进行处理。通常第二规则可能没有存储有UE的标识。上述规则的配置也适用于第三规则以业务粒度的配置。It is worth noting that the rules are installed and updated according to the business granularity, which may include the configuration of the business granularity of the second rule and the installation and update of the business granularity of the third rule. For example, if there are M UEs applying the first service, in step S330, when configuring the second rule, according to the service feature, find out all the second rules of the first service that match the service feature, The second rule is updated uniformly according to the first rule. If the second rule of the first service is not currently stored in the second entity, the service feature is directly used as an identifier to configure the second rule of the first service to form a second rule, and later No matter which UE or which UE uses the first service, the second rule is used for processing. Usually the second rule may not store the identity of the UE. The configuration of the above rules is also applicable to the configuration of the third rule at business granularity.
实施例四:Embodiment 4:
如图4所示,一种信息处理方法,应用于服务器中,所述方法包括:As shown in Figure 4, an information processing method, applied in a server, includes:
步骤S410:形成第一消息,其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;Step S410: forming a first message, wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first service applied by the user equipment UE;
步骤S420:将所述第一消息发送给第一实体;其中,所述消息类型用于所述第一实体确定将所述第一消息发送给第二实体或第三实体;所述第一规则用于供所述第二实体形成第二规则或供所述第三实体形成第三规则。Step S420: Send the first message to a first entity; wherein, the message type is used by the first entity to determine to send the first message to a second entity or a third entity; the first rule For the second entity to form the second rule or for the third entity to form the third rule.
在本实施例中所述服务器为会形成第一消息,所述第一消息包括消息类型,在本实施例中所述类型可包括规则配置消息和规则设置消息。In this embodiment, the server will form a first message, and the first message includes a message type. In this embodiment, the type may include a rule configuration message and a rule setting message.
所述业务特征及所述第一规则的详细定义请参见实施例一中的对应部分,再此就不重复了。For detailed definitions of the service features and the first rule, please refer to the corresponding parts in Embodiment 1, and will not be repeated here.
在本实施例中所述步骤S420会将所述第一消息发送给第一实体,这里的第一实体可如实施例一中所述的为SCEF实体,所述消息类型用于所述第一实体是将所述第一消息发送给第二实体,还是将所述第一消息发送给第二实体。In this embodiment, step S420 will send the first message to a first entity, where the first entity may be a SCEF entity as described in Embodiment 1, and the message type is used for the first entity Whether the entity sends the first message to the second entity or sends the first message to the second entity.
所述第一消息可为业务粒度的规则安装或更新消息,也可以为UE粒度的规则安装或更新消息,通常业务粒度的规则可以通过一条所述第一消息的发送,使所述第二实体和第三实体更新应用所述第一业务的UE对应的第二规则和第三规则。当然所述第一消息也可以为UE粒度的规则安装或更新消息,此时,所述第一消息中会含有至少部分应用所述第一业务的业务粒度。在本实施例中所述服务器可为提供所述第一业务服务的应用服务器AS等服务器。所述业务特征的纤细内容可以参见实施例一。总之,在本实施例中所述第一消息中增加了消息类型,方便第一实体确定接收所述第一消息的接收方,具有实现简便的特点。The first message may be a service-granular rule installation or update message, or a UE-granular rule installation or update message. Usually, a service-granularity rule can be sent to the second entity by sending a piece of the first message. and updating the second rule and the third rule corresponding to the UE applying the first service with the third entity. Of course, the first message may also be a UE-granular rule installation or update message. In this case, the first message may contain a service granularity for at least partially applying the first service. In this embodiment, the server may be a server such as an application server AS that provides the first business service. For the detailed content of the service feature, please refer to Embodiment 1. In a word, the message type is added to the first message in this embodiment, which facilitates the first entity to determine the recipient who receives the first message, and has the characteristics of simple implementation.
进一步地,所述方法包括:Further, the method includes:
在第一时刻,判断应用所述第一业务的用户设备UE是否连接到所述服务器;若在所述第一时刻,应用所述第一业务的UE未连接到所述服务器,则确定所述第一消息的消息类型为规则配置消息;若在所述第一时刻,有应用所述第一业务的第一UE已连接到所述服务器,则确定所述第一消息的消息类型为规则设置消息;所述第一消息还包括所述第一UE的UE标识。在本实施例中所述第一时刻为形成所述第一消息的时刻,所述服务器可通过检测其当前建立的连接,选择出所述第一UE,并将所述第一UE的UE标识承载在所述第一消息中。通常此时,所述第一消息为UE粒度的规则安装或更新消息。At the first moment, determine whether the user equipment UE applying the first service is connected to the server; if at the first moment, the UE applying the first service is not connected to the server, determine the The message type of the first message is a rule configuration message; if at the first moment, a first UE applying the first service has been connected to the server, it is determined that the message type of the first message is a rule setting message; the first message further includes the UE identity of the first UE. In this embodiment, the first moment is the moment when the first message is formed, and the server may select the first UE by detecting its currently established connection, and assign the UE identifier of the first UE to the server. carried in the first message. Usually at this time, the first message is a UE-granular rule installation or update message.
实施例五:Embodiment 5:
如图5所示,本实施例提供一种信息处理装置,应用于第一实体,所述第一实体包括:As shown in FIG. 5 , this embodiment provides an information processing apparatus, which is applied to a first entity, where the first entity includes:
第一接收单元110,用于接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;The first receiving unit 110 is configured to receive a first message sent by a server; wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the user equipment The first service applied by the UE;
第一判断单元120,用于根据所述消息类型,判断所述第一消息是否为规则配置消息;a first judging unit 120, configured to judge whether the first message is a rule configuration message according to the message type;
第一发送单元130,用于当所述第一消息为规则配置消息时,将所述第一消息发送给第二实体;其中,所述第一消息用于触发所述第二实体基于所述第一规则安装或更新所述业务特征对应的第二规则。A first sending unit 130, configured to send the first message to a second entity when the first message is a rule configuration message; wherein the first message is used to trigger the second entity to The first rule installs or updates the second rule corresponding to the service feature.
所述第一实体可为SCEF实体,但是不限于SCEF实体。所述第二实体为用户签约数据库SPR;所述第三实体为策略控制和计费规则功能PCRF实体。例如,所述SCEF实体可为应用于各种电子设备,例如服务器或服务平台上的功能实体。所述第一接收单元110和所述第一发送单元130可对应于各种类型的通信接口。这里的通信接口可包括有线接口或无线接口,所述有线接口可包括电缆接口或光缆接口。所述无线接口可包括收发天线等。The first entity may be a SCEF entity, but is not limited to a SCEF entity. The second entity is the user subscription database SPR; the third entity is the policy control and charging rule function PCRF entity. For example, the SCEF entity may be a functional entity applied to various electronic devices, such as a server or a service platform. The first receiving unit 110 and the first transmitting unit 130 may correspond to various types of communication interfaces. The communication interface here may include a wired interface or a wireless interface, and the wired interface may include a cable interface or an optical fiber interface. The wireless interface may include a transceiver antenna and the like.
所述第一判断单元120可包括处理器或处理电路,所述处理器可包括中央处理器、微处理器、数字信号处理器、应用处理器或可编程阵列等。所述处理电路可包括专用集成电路。所述处理器可通过指定代码的执行,完成所述第二规则地形成。所述专用集成电路可通过电信号的传输完成所述第二规则的形成。The first judgment unit 120 may include a processor or a processing circuit, and the processor may include a central processing unit, a microprocessor, a digital signal processor, an application processor, a programmable array, or the like. The processing circuit may comprise an application specific integrated circuit. The processor may complete the second regular formation through the execution of the specified code. The ASIC may complete the formation of the second rule through the transmission of electrical signals.
所述第一判断单元120,还用于根据所述消息类型,判断所述第一消息是否为规则设置消息;所述第一发送单元130,还用于当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。The first determining unit 120 is further configured to determine whether the first message is a rule setting message according to the message type; the first sending unit 130 is further configured to determine whether the first message is a rule setting message when the first message is a rule setting message When the first message is sent to a third entity, the first message is used to trigger the third entity to install or update the third rule corresponding to the service feature based on the first rule.
当所述第一消息还包括用户设备UE标识时,若所述消息类型为规则配置消息,表示第一时刻应用所述第一业务的UE未连接到所述服务器;所述消息类型为规则设置消息,表示第一时刻应用所述第一业务的UE连接到所述服务器;所述第一时刻为所述服务器形成所述第一消息的时刻。When the first message further includes the UE identifier of the user equipment, if the message type is a rule configuration message, it means that the UE applying the first service at the first moment is not connected to the server; the message type is rule setting message, indicating that the UE applying the first service is connected to the server at the first moment; the first moment is the moment when the server forms the first message.
进一步地,所述业务特征包括业务标识、业务统一资源地址、业务网络协议IP地址、业务赞助者身份标识及服务提供者身份标识的至少其中之一。第一规则包括业务策略规则;所述业务特征规则包括业务计费规则及服务质量QoS规则的至少其中之一。Further, the service feature includes at least one of a service identifier, a service uniform resource address, a service network protocol IP address, a service sponsor identity identifier and a service provider identity identifier. The first rule includes a service policy rule; the service feature rule includes at least one of a service charging rule and a quality of service QoS rule.
实施例六:Embodiment 6:
如图6所示,本实施例提供第一实体中,所述第一实体包括:As shown in FIG. 6, this embodiment provides a first entity, and the first entity includes:
第二接收单元210,用于接收服务器发送的第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;The second receiving unit 210 is configured to receive a first message sent by the server; wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the user equipment The first service applied by the UE;
第二判断单元220,用于根据所述消息类型,判断所述第一消息是否为规则设置消息;a second judging unit 220, configured to judge whether the first message is a rule setting message according to the message type;
第二发送单元230,用于当所述第一消息为规则设置消息时,将所述第一消息发送给第三实体;其中,所述第一消息用于触发所述第三实体基于所述第一规则安装或更新所述业务特征对应的第三规则。The second sending unit 230 is configured to send the first message to a third entity when the first message is a rule setting message; wherein, the first message is used to trigger the third entity based on the The first rule installs or updates the third rule corresponding to the service feature.
本实施例中所述第一实体可为与实施例五中的第一实体对应同样的物理结构。所述第二接收单元210可对应于前述实施例中的第一接收单元110,第二发送单元230可对应于前述实施例中的第一发送单元130;所述第二判断单元220可对应于前述实施例中的第二判断单元。所述第一业务和所述第一消息的详细内容可参见前述实施例。总之本实施例提供了一种第一实体,能够根据所述消息类型,确定出是否将第一消息发送给第三实体。The first entity in this embodiment may have the same physical structure as the first entity in the fifth embodiment. The second receiving unit 210 may correspond to the first receiving unit 110 in the foregoing embodiments, the second transmitting unit 230 may correspond to the first transmitting unit 130 in the foregoing embodiments; the second determining unit 220 may correspond to The second judging unit in the foregoing embodiment. For details of the first service and the first message, reference may be made to the foregoing embodiments. In a word, this embodiment provides a first entity, which can determine whether to send the first message to the third entity according to the message type.
实施例七:Embodiment 7:
如图7所示,本实施例提供一种信息处理装置,应用于第二实体,包括:As shown in FIG. 7 , this embodiment provides an information processing apparatus, which is applied to a second entity, including:
第三接收单元310,用于接收第一实体发送的所述第一消息;其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;The third receiving unit 310 is configured to receive the first message sent by the first entity; wherein the first message includes a message type, a service feature, and a first rule corresponding to the service feature; the service feature uses for indicating the first service applied by the user equipment UE;
处理单元320,用于基于所述第一规则,安装或更新所述业务特征对应的第一业务的第二规则;a processing unit 320, configured to install or update the second rule of the first service corresponding to the service feature based on the first rule;
第三发送单元330,用于根据所述消息类型,将所述第二规则发送给第三实体;a third sending unit 330, configured to send the second rule to a third entity according to the message type;
其中,所述第二规则用于供所述第三实体安装或更新与所述第一规则对应的第三规则。Wherein, the second rule is used for the third entity to install or update the third rule corresponding to the first rule.
所述第二实体可为SPR。所述第二实体可应用于各种电子设备,例如服务器或服务平台上的功能实体。所述第三接收单元310和所述第三发送单元330可对应于各种类型的通信接口。这里的通信接口可包括有线接口或无线接口,所述有线接口可包括电缆接口或光缆接口。所述无线接口可包括收发天线等。The second entity may be an SPR. The second entity can be applied to various electronic devices, such as a server or a functional entity on a service platform. The third receiving unit 310 and the third transmitting unit 330 may correspond to various types of communication interfaces. The communication interface here may include a wired interface or a wireless interface, and the wired interface may include a cable interface or an optical fiber interface. The wireless interface may include a transceiver antenna and the like.
所述处理单元320可包括处理器或处理电路,所述处理器可包括中央处理器、微处理器、数字信号处理器、应用处理器或可编程阵列等。所述处理电路可包括专用集成电路。所述处理器可通过指定代码的执行,完成所述第二规则地形成。所述专用集成电路可通过电信号的传输完成所述第二规则的形成。The processing unit 320 may include a processor or processing circuit, and the processor may include a central processing unit, a microprocessor, a digital signal processor, an application processor, a programmable array, or the like. The processing circuit may comprise an application specific integrated circuit. The processor may complete the second regular formation through the execution of the specified code. The ASIC may complete the formation of the second rule through the transmission of electrical signals.
具体地,如本实施例所述第三接收单元310可用于接收的SCEF实体转发的AS在第一状态形成的第一消息,该第一消息中不包括应用所述第一业务的UE的UE标识。在本实施例中所述第一状态、第一消息、业务特征及配置指令等详细描述可以参见实施一,在此就不重复了。Specifically, as described in this embodiment, the third receiving unit 310 may be configured to receive the first message forwarded by the SCEF entity and formed by the AS in the first state, where the first message does not include the UE of the UE applying the first service logo. For the detailed description of the first state, the first message, the service feature, and the configuration instruction in this embodiment, reference may be made to the first implementation, which will not be repeated here.
所述第二实体的结构有多种,以下提供几种可选结构:There are various structures of the second entity, and several optional structures are provided below:
可选结构一:Optional structure one:
所述第一消息还包括用户设备UE标识;所述UE标识为第一UE的标识;The first message further includes a user equipment UE identity; the UE identity is the identity of the first UE;
所述第三发送单元330,具体用于根据所述消息类型,判断所述第一消息是否为规则配置消息;当所述第一消息为所述规则配置消息时,确定应用所述第一业务的所述第一UE当前时刻是否连接到网络;当所述第一UE在当前时刻连接到网络时,将所述第二规则发送给所述第三实体。The third sending unit 330 is specifically configured to determine whether the first message is a rule configuration message according to the message type; when the first message is the rule configuration message, determine to apply the first service whether the first UE is connected to the network at the current moment; when the first UE is connected to the network at the current moment, the second rule is sent to the third entity.
所述第二实体还包括:The second entity also includes:
存储单元,还用于当所述第一UE在当前时刻未连接到网络时,存储所述第二规则。本实施例所述存储单元可包括各种类型的存储介质,例如,随机存储介质RAM、只读存储介质ROM或闪存Flash,可选地为非瞬间存储介质。存储的第二规则可在对应的UE连接到网络之后,再将所述第二规则发送给所述第三实体。通常在可选结构一中,所述第三发送单元330还将用于将当前连接到网络且应用第一业务的UE的UE标识发送给第三实体,方便第三实体进行第三规则的安装或更新。The storage unit is further configured to store the second rule when the first UE is not connected to the network at the current moment. The storage unit described in this embodiment may include various types of storage media, for example, random storage media RAM, read-only storage media ROM, or flash memory Flash, optionally non-transitory storage media. The stored second rule may be sent to the third entity after the corresponding UE is connected to the network. Usually in optional structure 1, the third sending unit 330 also sends the UE identifier of the UE currently connected to the network and applying the first service to the third entity, so as to facilitate the third entity to install the third rule or update.
可选结构二:Optional structure two:
所述第三发送单元330,还具体用于根据所述消息类型,判断所述第一消息是否为规则配置消息;当所述第一消息为所述规则配置消息时,查询所述第一业务涉及的第三实体;将所述第二规则及所述业务特征发送给涉及所述第一业务的第三实体;其中,所述第二规则及所述业务特征共同用于供所述第三实体对所述第一业务进行计费策略配置。在本实施例中进行业务粒度的第二规则配置和第三规则配置,这样所述第三发送单元330就不用确定当前应用第一业务的UE哪些连接到网络。The third sending unit 330 is further specifically configured to determine whether the first message is a rule configuration message according to the message type; when the first message is the rule configuration message, query the first service The third entity involved; sending the second rule and the business feature to a third entity involved in the first business; wherein the second rule and the business feature are jointly used for the third entity The entity configures a charging policy for the first service. In this embodiment, the second rule configuration and the third rule configuration of the service granularity are performed, so that the third sending unit 330 does not need to determine which UEs currently applying the first service are connected to the network.
进一步地,所述第一实体为能力开放SCEF实体;所述第二实体为用户签约数据库SPR;所述第三实体为策略控制和计费规则功能PCRF实体。Further, the first entity is a capability openness SCEF entity; the second entity is a user subscription database SPR; and the third entity is a policy control and charging rule function PCRF entity.
总之,本实施例提供了一种第二实体,能够简便快捷的生成第二规则并将所述第二规则发送给第三实体。In conclusion, this embodiment provides a second entity that can easily and quickly generate a second rule and send the second rule to a third entity.
实施例八:Embodiment 8:
如图8所示,本实施例提供一种服务器,所述服务器包括:As shown in FIG. 8 , this embodiment provides a server, and the server includes:
形成单元410,用于形成第一消息,其中,所述第一消息包括消息类型,业务特征及与所述业务特征对应的第一规则;所述业务特征用于指示用户设备UE应用的第一业务;The forming unit 410 is configured to form a first message, wherein the first message includes a message type, a service feature and a first rule corresponding to the service feature; the service feature is used to indicate the first application of the user equipment UE. business;
第五发送单元420,用于将所述第一消息发送给第一实体;其中,所述消息类型用于所述第一实体确定将所述第一消息发送给第二实体或第三实体;所述第一规则用于供所述第二实体形成第二规则或供所述第三实体形成第三规则。a fifth sending unit 420, configured to send the first message to a first entity; wherein, the message type is used by the first entity to determine to send the first message to a second entity or a third entity; The first rule is used for the second entity to form a second rule or for the third entity to form a third rule.
本实施例所述的服务器可为应用服务器,该应用服务器可为提供所述第一业务的服务器,可以当前通信运营商的通信平台内的服务器,也可以为当前通信平台以外的第三方服务器。The server in this embodiment may be an application server, which may be a server providing the first service, a server in a communication platform of a current communication operator, or a third-party server outside the current communication platform.
所述形成单元410可对应于所述服务器内的处理器或处理电路,所述处理器或处理电路的结构、所述第一消息、第一实体至第三实体对应的具体结构、第一规则至第三规则的异同都可以参见前述实施例,再此就不重复了。The forming unit 410 may correspond to a processor or a processing circuit in the server, the structure of the processor or the processing circuit, the first message, the specific structure corresponding to the first entity to the third entity, the first rule For the similarities and differences to the third rule, reference can be made to the foregoing embodiments, and will not be repeated here.
进一步地,所述服务器包括:Further, the server includes:
第二判断单元,用于在第一时刻,判断应用所述第一业务的用户设备UE是否连接到所述服务器;若在所述第一时刻,应用所述第一业务的UE未连接到所述服务器,则确定所述第一消息的消息类型为规则配置消息;若在所述第一时刻,有应用所述第一业务的第一UE已连接到所述服务器,则确定所述第一消息的消息类型为规则设置消息;所述第一消息还包括所述第一UE的UE标识。a second judging unit, configured to judge at the first moment whether the user equipment UE applying the first service is connected to the server; if at the first moment, the UE applying the first service is not connected to the server If at the first moment, a first UE applying the first service has been connected to the server, determine that the first message is a rule configuration message. The message type of the message is a rule setting message; the first message further includes the UE identifier of the first UE.
在本实施例中所述第二判断单元可通过查询所述服务器的本地存储介质或其他电子设备,确定出第一UE。所述本地存储介质可为各种类型的存储介质,具有结构简单及实现简便的特点。In this embodiment, the second determining unit may determine the first UE by querying the local storage medium of the server or other electronic devices. The local storage medium can be various types of storage medium, and has the characteristics of simple structure and easy implementation.
以下结合上述任意实施例提供几个具体示例:Several specific examples are provided below in conjunction with any of the above-mentioned embodiments:
示例一:Example one:
如图9所示,本示例提供一种信息处理方法,包括:As shown in Figure 9, this example provides an information processing method, including:
步骤S1:第一消息的传输;AS向SCEF实体发送第一消息,该第一消息中包括某一个业务的第二规则安装或更新的业务特征及第一规则。所述业务特征可包括AS的IP地址或该业务的URL等信息。所述第一规则可用于指示切换计费的支付方。Step S1: transmission of the first message; the AS sends a first message to the SCEF entity, where the first message includes the service feature and the first rule installed or updated by the second rule of a certain service. The service feature may include information such as the IP address of the AS or the URL of the service. The first rule may be used to indicate a payer for switching billing.
步骤S2:鉴权;SCEF实体鉴定AS是否有权对该业务进行第二规则的更新或安装。Step S2: Authentication; the SCEF entity authenticates whether the AS has the right to update or install the second rule for the service.
步骤S3:判断是否有应用第一业务的UE连接到网络,有,进入步骤S4,没有进入步骤S6。步骤S3是在鉴权通过之后执行的。所述第一业务所述业务特征对应的业务。Step S3: Determine whether there is a UE applying the first service connected to the network, if yes, go to Step S4, if not, go to Step S6. Step S3 is executed after the authentication is passed. The service corresponding to the service feature of the first service.
步骤S4:有应用第一业务的第一UE连接到网络,提取第一UE的UE标识。Step S4: The first UE that applies the first service is connected to the network, and the UE identifier of the first UE is extracted.
步骤S5:第一消息及第一UE标识的传输。SCEF实体将第一消息和第一UE标识发送给SPR。Step S5: Transmission of the first message and the first UE identity. The SCEF entity sends the first message and the first UE identity to the SPR.
步骤S6:没有应用第一业务的UE连接到网络,存储所述第一消息。Step S6: The UE that does not apply the first service is connected to the network, and the first message is stored.
步骤S7:根据第一消息进行所述第一业务的第二规则的安装或更新。Step S7: Install or update the second rule of the first service according to the first message.
步骤S8:第二规则和第一UE标识的传输。这里是由SPR将第二规则和第一UE发送给PCRF实体。Step S8: Transmission of the second rule and the identity of the first UE. Here, the SPR sends the second rule and the first UE to the PCRF entity.
步骤S9:响应消息的传输。这里的响应消息表示根据第一消息至少进行了第二规则的配置。所述响应消息的传输包括两部分:第一部分:SPR向SCEF实体发送响应消息;第二部分:SCEF实体向AS发送响应消息。在具体实现时,所述响应消息的传输可以为在所述SCEF实体向所述SPR发送完所述第一消息,则向所述AS发送所述响应消息。Step S9: transmission of the response message. The response message here indicates that at least the second rule is configured according to the first message. The transmission of the response message includes two parts: the first part: the SPR sends the response message to the SCEF entity; the second part: the SCEF entity sends the response message to the AS. In specific implementation, the transmission of the response message may be that after the SCEF entity sends the first message to the SPR, the response message is sent to the AS.
示例二:Example two:
如图10所示,本示例提供一种信息处理方法,包括:As shown in Figure 10, this example provides an information processing method, including:
步骤S11:第一消息的传输;AS向SCEF实体发送第一消息,该第一消息中包括某一个业务的第二规则安装或更新的业务特征及第一规则。所述业务特征可包括AS的IP地址或该业务的URL等信息。所述第一规则可用于指示切换计费的支付方。Step S11: transmission of the first message; the AS sends a first message to the SCEF entity, where the first message includes the service feature and the first rule installed or updated by the second rule of a certain service. The service feature may include information such as the IP address of the AS or the URL of the service. The first rule may be used to indicate a payer for switching billing.
步骤S12:鉴权;SCEF实体鉴定AS是否有权对该业务进行第二规则的更新或安装。Step S12: Authentication; the SCEF entity authenticates whether the AS has the right to update or install the second rule for the service.
步骤S13:第一消息的传输,具体包括:SCEF实体将第一消息发送给SPR。步骤S13是在鉴权通过之后执行的。所述第一业务所述业务特征对应的业务。Step S13: The transmission of the first message specifically includes: the SCEF entity sends the first message to the SPR. Step S13 is executed after the authentication is passed. The service corresponding to the service feature of the first service.
步骤S14:对第一业务进行第二规则的安装或更新。Step S14: Install or update the second rule for the first service.
步骤S15:确定应用第一业务且当前连接到网络的第二UE的第二UE标识;Step S15: Determine the second UE identifier of the second UE that applies the first service and is currently connected to the network;
步骤S16:第二规则和第二UE标识的传输。Step S16: Transmission of the second rule and the second UE identity.
步骤S17:根据第二规则对第二UE进行第三规则的安装和更新。Step S17: Install and update the third rule on the second UE according to the second rule.
步骤S18:存储应用第一业务且当前未连接到网络的第三UE的第二规则。Step S18: Store the second rule of the third UE that applies the first service and is not currently connected to the network.
步骤S19:响应消息的传输。所述响应消息的传输包括两部分:第一部分:SPR向SCEF实体发送响应消息;第二部分:SCEF实体向AS发送响应消息。在具体实现时,所述响应消息的传输可以为在所述SCEF实体向所述SPR发送完所述第一消息,则向所述AS发送所述响应消息。Step S19: Transmission of the response message. The transmission of the response message includes two parts: the first part: the SPR sends the response message to the SCEF entity; the second part: the SCEF entity sends the response message to the AS. In specific implementation, the transmission of the response message may be that after the SCEF entity sends the first message to the SPR, the response message is sent to the AS.
示例三:Example three:
如图11所示,本示例提供一种信息处理方法,包括:As shown in Figure 11, this example provides an information processing method, including:
步骤S21:第一消息的传输;AS向SCEF实体发送第一消息,该第一消息中包括某一个业务的第二规则安装或更新的业务特征及第一规则。所述业务特征可包括AS的IP地址或该业务的URL等信息。所述第一规则可用于指示切换计费的支付方。Step S21: transmission of the first message; the AS sends a first message to the SCEF entity, where the first message includes the service feature and the first rule installed or updated by the second rule of a certain service. The service feature may include information such as the IP address of the AS or the URL of the service. The first rule may be used to indicate a payer for switching billing.
步骤S22:鉴权;SCEF实体鉴定AS是否有权对该业务进行第二规则的更新或安装。Step S22: Authentication; the SCEF entity authenticates whether the AS has the right to update or install the second rule for the service.
步骤S23:第一消息的传输,具体包括:SCEF实体将第一消息发送给SPR。步骤S23是在鉴权通过之后执行的。所述第一业务所述业务特征对应的业务。Step S23: The transmission of the first message specifically includes: the SCEF entity sends the first message to the SPR. Step S23 is executed after the authentication is passed. The service corresponding to the service feature of the first service.
步骤S24:对第一业务进行第二规则的安装和更新。Step S24: Install and update the second rule for the first service.
步骤S25:确定出涉及第一业务的PCRF实体。Step S25: Determine the PCRF entity involved in the first service.
步骤S26:第二规则和业务特征的传输。这里的SPR向PCRF实体发送第二规则和业务特征。Step S26: Transmission of the second rule and service feature. The SPR here sends the second rule and service characteristics to the PCRF entity.
步骤S27:响应消息的传输。第一部分:SPR向SCEF实体发送响应消息;第二部分:SCEF实体向AS发送响应消息。在具体实现时,所述响应消息的传输可以为在所述SCEF实体向所述SPR发送完所述第一消息,则向所述AS发送所述响应消息。Step S27: Transmission of the response message. The first part: the SPR sends a response message to the SCEF entity; the second part: the SCEF entity sends a response message to the AS. In specific implementation, the transmission of the response message may be that after the SCEF entity sends the first message to the SPR, the response message is sent to the AS.
值得注意的是在本申请中,所述AS又可称为SCS,所述SPR又可以称为UCD,所述SCS为Services Capability Server的缩写,对应的中文为业务能力服务器。所述UCD为UserData Convergence的缩写,中文也是用户数据库。It is worth noting that in this application, the AS may also be called SCS, the SPR may also be called UCD, the SCS is an abbreviation of Services Capability Server, and the corresponding Chinese is Business Capability Server. The UCD is an abbreviation of UserData Convergence, which is also a user database in Chinese.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may all be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other various A medium on which program code can be stored.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (24)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610232639.1A CN107302441B (en) | 2016-04-14 | 2016-04-14 | Information processing method and device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610232639.1A CN107302441B (en) | 2016-04-14 | 2016-04-14 | Information processing method and device and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107302441A CN107302441A (en) | 2017-10-27 |
CN107302441B true CN107302441B (en) | 2020-06-30 |
Family
ID=60136574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610232639.1A Active CN107302441B (en) | 2016-04-14 | 2016-04-14 | Information processing method and device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107302441B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110138668B (en) * | 2018-02-08 | 2023-01-03 | 中国移动通信有限公司研究院 | Stream description processing method and device, network entity and storage medium |
CN110831070B (en) * | 2018-08-13 | 2021-12-21 | 华为技术有限公司 | Method for processing service flow, communication method and device |
CN111181739B (en) * | 2018-11-09 | 2023-02-28 | 中兴通讯股份有限公司 | Method and functional entity for rule issuing and receiving |
CN114514764B (en) * | 2019-10-11 | 2024-05-07 | 上海诺基亚贝尔股份有限公司 | Apparatus, method and computer program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222413A (en) * | 2007-01-09 | 2008-07-16 | 华为技术有限公司 | Processing method and system in business process |
CN101369901A (en) * | 2007-08-15 | 2009-02-18 | 华为技术有限公司 | A method, device and system for associating policy and charging executive function entities |
CN102726076A (en) * | 2011-12-12 | 2012-10-10 | 华为技术有限公司 | Policy and charging control method, policy and charging rules function and policy and charging control system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8059533B2 (en) * | 2007-10-24 | 2011-11-15 | Cisco Technology, Inc. | Packet flow optimization (PFO) policy management in a communications network by rule name |
CN102083035B (en) * | 2009-11-30 | 2013-12-04 | 中兴通讯股份有限公司 | Method and system for implementing usage monitoring control |
CN105682069B (en) * | 2014-12-05 | 2019-06-25 | 中国移动通信集团公司 | A kind of method, apparatus and system of Configuration network resource |
-
2016
- 2016-04-14 CN CN201610232639.1A patent/CN107302441B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222413A (en) * | 2007-01-09 | 2008-07-16 | 华为技术有限公司 | Processing method and system in business process |
CN101369901A (en) * | 2007-08-15 | 2009-02-18 | 华为技术有限公司 | A method, device and system for associating policy and charging executive function entities |
CN102726076A (en) * | 2011-12-12 | 2012-10-10 | 华为技术有限公司 | Policy and charging control method, policy and charging rules function and policy and charging control system |
Non-Patent Citations (1)
Title |
---|
LTE核心网中基于PCC的QoS控制和能力开放技术研究;马泽芳等;《信息通信与技术》;20130415;第3-4节,图3-4 * |
Also Published As
Publication number | Publication date |
---|---|
CN107302441A (en) | 2017-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7588667B2 (en) | Enabling small data usage in 3GPP networks | |
US9445259B2 (en) | Service provider certified device policy management | |
CN113039821B (en) | Method and apparatus for session management | |
KR101894919B1 (en) | Methods and apparatuses for service layer charging correlation with underlying networks | |
CN109391502B (en) | Information configuration method and management unit | |
CN102238507B (en) | Determine the method and system of "Policy and Charging Rules Function | |
CN107302441B (en) | Information processing method and device and server | |
WO2011137644A1 (en) | Method, apparatus and system for accessing service by terminal | |
WO2014183260A1 (en) | Method, device and system for processing data service under roaming scenario | |
WO2016062025A1 (en) | Method and device for selecting policy and charging rules function | |
CN103392352A (en) | Strategy and charging control method and apparatus | |
US9544444B2 (en) | Differentiated MMS billing based on roaming status determination of user devices | |
US10631145B1 (en) | Dynamic provision of application related sponsored data connectivity | |
US8473546B2 (en) | Minimizing PCC rule instantiation latency | |
CN106507382B (en) | Diameter message routing method and routing agent node | |
CN106714129B (en) | Roaming charging method, related device and online charging system | |
CN101795478A (en) | Method for data bypass, network side equipment and access gateway | |
CN105284162A (en) | Mobility management method, device and system | |
CN105282729B (en) | Method and apparatus for optimizing internet communications | |
CN102232311B (en) | Method, device and system for realizing home base station service quality control | |
US20170026524A1 (en) | Charging method and apparatus | |
WO2013113263A1 (en) | Method and system for identifying application detection control function mode | |
CN104717719B (en) | Access network selection method and system and ANDSF equipment | |
CN106992868B (en) | Third-party application service deployment method, SCEF entity, PCRF entity and PCC framework | |
WO2017121155A1 (en) | Information processing method, pcrf entity and tscef entity, and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |