[go: up one dir, main page]

CN103249023B - A kind of business platform obtains the method for subscriber phone number, system and business platform - Google Patents

A kind of business platform obtains the method for subscriber phone number, system and business platform Download PDF

Info

Publication number
CN103249023B
CN103249023B CN201210022960.9A CN201210022960A CN103249023B CN 103249023 B CN103249023 B CN 103249023B CN 201210022960 A CN201210022960 A CN 201210022960A CN 103249023 B CN103249023 B CN 103249023B
Authority
CN
China
Prior art keywords
user
network address
mobile phone
phone number
policy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210022960.9A
Other languages
Chinese (zh)
Other versions
CN103249023A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210022960.9A priority Critical patent/CN103249023B/en
Publication of CN103249023A publication Critical patent/CN103249023A/en
Application granted granted Critical
Publication of CN103249023B publication Critical patent/CN103249023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种业务平台获取用户手机号码的方法,包括:A、业务平台向策略和计费规则功能装置发起获取用户手机号码的请求,其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;B、策略和计费规则功能装置根据所述第二网络地址和存储的与用户手机号码相对应的用户第一网络地址进行比对;其中,当获取到匹配的第一网络地址时,提取与第一网络地址相对应的所述用户手机号码并应答给业务平台。本发明能够兼容所有的用户手机和业务平台之间的所有通信协议;并且,该方法能够避免网元的复杂性、高成本和高时延的缺点。此外,本发明还公开了一种业务平台获取用户手机号码的系统、策略控制和计费规则功能装置以及业务平台。

The invention discloses a method for a service platform to obtain a user's mobile phone number, including: A. The service platform initiates a request for obtaining the user's mobile phone number to a policy and charging rule function device, wherein the request carries the information from the network side of the service platform The obtained user's second network address; B. The policy and charging rule function device compares the user's first network address corresponding to the user's mobile phone number stored according to the second network address; wherein, when a matching When the first network address is selected, extract the mobile phone number of the user corresponding to the first network address and reply to the service platform. The present invention is compatible with all communication protocols between all user mobile phones and service platforms; moreover, the method can avoid the disadvantages of network element complexity, high cost and high time delay. In addition, the invention also discloses a system for the service platform to obtain the user's mobile phone number, a policy control and charging rule function device and the service platform.

Description

一种业务平台获取用户手机号码的方法、系统和业务平台A method, system and service platform for a service platform to obtain a user's mobile phone number

技术领域 technical field

本发明涉及一种在策略与计费控制架构下业务平台获取用户手机号码的方法,属于通信网络领域。The invention relates to a method for a service platform to obtain a user's mobile phone number under a strategy and billing control framework, and belongs to the field of communication networks.

背景技术 Background technique

PCC(PolicyandChargingControl,策略与计费控制)架构是下一代核心网演进SAE(SystemArchitectureEvolution,系统架构演进)项目的QoS(QualityofService,服务质量)保障机制,其特征是以业务流为粒度、高度集中的端到端服务质量保障方案,其组网架构如图1所示。PCC (Policy and Charging Control, Policy and Charging Control) architecture is the QoS (Quality of Service, Quality of Service) guarantee mechanism of the next-generation core network evolution SAE (System Architecture Evolution, System Architecture Evolution) project. Figure 1 shows the network architecture of the end-to-end service quality assurance solution.

其中PCRF(PolicyandChargingRulesFunction,策略和计费规则功能装置)是该架构的QoS规则的集中决策点,其决策的输入来源于AF(ApplicationFunction,应用功能装置,通常由业务平台实现,在IMS网络中则由接入域的P-CSCF来实现)的Rx接口提供的业务信息(业务流描述、业务流带宽需求、业务流媒体类型、业务的ID等)、用户ID及SPR(SubscriptionProfileRepository,用户属性存储器)中包含的用户签约信息、本地配置的运营商策略。Among them, PCRF (Policy and ChargingRulesFunction, policy and charging rule function device) is the centralized decision-making point of the QoS rules of this architecture, and the input of its decision comes from AF (ApplicationFunction, application function device, which is usually implemented by the service platform, and in the IMS network by In the service information (service flow description, service flow bandwidth requirement, service flow media type, service ID, etc.), user ID and SPR (SubscriptionProfileRepository, user attribute storage) provided by the Rx interface of the access domain (implemented by the P-CSCF of the access domain) Included user subscription information and locally configured operator policies.

其中,在3GPP网络下,PCRF生成授权QoS规则后向策略及计费执行功能实体PCEF(PolicyandChargingEnforcementFucntion,在LTE下由P-GW实现,在2G/3G下由GGSN实现)下发,并由PCEF根据授权QoS规则进行策略执行;在非3GPP网络下(如WLAN、Wimax),PCRF生成授权QoS规则后向BBERF(BearingBindingandEventReportFunction,承载绑定及事件报告功能实体)下发,并由BBERF根据授权QoS规则进行策略执行。Among them, in the 3GPP network, the PCRF generates the authorized QoS rules and sends them to the policy and charging enforcement functional entity PCEF (Policy and Charging Enforcement Fucntion, implemented by P-GW under LTE, and implemented by GGSN under 2G/3G), and PCEF according to Authorize QoS rules for policy enforcement; in non-3GPP networks (such as WLAN, Wimax), PCRF generates authorized QoS rules and sends them to BBERF (BearingBindingandEventReportFunction, bearer binding and event reporting functional entity), and BBERF executes according to authorized QoS rules Policy enforcement.

中国专利申请号20071015713.3,公开日2009-04-29,发明名称:《NAT技术在PCC架构中的实现方法、PCRF及AF》中公开了一种基于PCC架构的业务流程,其中,在UE(UserEquipment,用户终端)初始附着网络时,需要建立用户终端与网络侧之间的IP-CAN(IP-ConnectivityAccessNetwork,IP连接访问网络)会话,UE基于被建立的IP-CAN会话,开展自己的业务,其公开的流程如图2和图3所示,其中,图2中的流程简要描述如下:Chinese patent application number 20071015713.3, publication date 2009-04-29, invention name: "NAT Technology Implementation Method in PCC Architecture, PCRF and AF" discloses a business process based on PCC architecture, wherein, in UE (UserEquipment , when the user terminal) initially attaches to the network, it is necessary to establish an IP-CAN (IP-Connectivity Access Network, IP connection access network) session between the user terminal and the network side, and the UE carries out its own business based on the established IP-CAN session. The disclosed process is shown in Figure 2 and Figure 3, where the process in Figure 2 is briefly described as follows:

步骤301至302:PCEF收到UE发送的IP-CAN会话建立请求消息(Gx接口,采用了Diameter协议),请求PCRF下发该UE的默认的PCC规则;其中,称PCEF与PCRF之间的会话为会话一。Steps 301 to 302: PCEF receives the IP-CAN session establishment request message (Gx interface, adopting Diameter protocol) sent by UE, and requests PCRF to issue the default PCC rules of the UE; among them, the session between PCEF and PCRF for session one.

在上述流程中,要求在步骤302或步骤310之后(未在图中示出,用于当步骤302中PCEF无法获知UE的地址的场景下)提供UE的地址至PCRF,其中,在步骤302中还需携带UE的用户标识(IMSI或MSISDN)。In the above process, it is required to provide the address of the UE to the PCRF after step 302 or step 310 (not shown in the figure, used when the PCEF cannot obtain the address of the UE in step 302), wherein, in step 302 It also needs to carry the user identity (IMSI or MSISDN) of the UE.

其中,图2所示流程所建立的IP-CAN会话建立了一条UE与PCEF之间的缺省承载,基于会话一中建立的该缺省承载,UE可发起业务请求,例如发起登录请求或IMSInvite请求等。为对UE将开展的业务进行控制,需要针对UE所请求的业务制定合适的PCC规则。Among them, the IP-CAN session established by the process shown in Figure 2 establishes a default bearer between the UE and the PCEF. Based on the default bearer established in session 1, the UE can initiate a service request, such as initiating a login request or an IMSInvite request etc. In order to control the services to be carried out by the UE, it is necessary to formulate appropriate PCC rules for the services requested by the UE.

图3是PCC架构下对UE的业务控制流程图,根据图3所示,所述流程描述如下:Fig. 3 is a flow chart of service control for UE under the PCC architecture. According to Fig. 3, the process is described as follows:

步骤401~403:AF被触发后,定义UE的业务信息,将UE的业务信息通过Rx接口消息(AAR消息)发送给PCRF,发起AF与PCRF之间的会话。UE的业务信息可包括UE的网络地址、网络标识、业务数据流描述信息等等。其中,称AF与PCRF之间的会话为会话二。Steps 401-403: After the AF is triggered, define the service information of the UE, send the service information of the UE to the PCRF through an Rx interface message (AAR message), and initiate a session between the AF and the PCRF. The service information of the UE may include the UE's network address, network identifier, service data flow description information, and the like. Wherein, the session between the AF and the PCRF is called session two.

步骤404:PCRF收到AF发来的AAR消息后,存储其中UE的业务信息,PCRF若没有存储用户签约数据,则执行步骤405;否则,执行步骤407。Step 404: After the PCRF receives the AAR message from the AF, it stores the service information of the UE in it. If the PCRF does not store the user subscription data, it executes step 405; otherwise, it executes step 407.

步骤405~406:PCRF向SPR发送请求用户签约数据的请求消息;SPR收到该请求消息后,向PCRF返回用户签约数据。Steps 405-406: PCRF sends a request message requesting user subscription data to SPR; SPR returns user subscription data to PCRF after receiving the request message.

步骤407~409:PCRF根据会话二中AF发来的UE的网络地址,与会话一中收到的PCEF发来的UE的网络地址进行会话一与会话二的绑定,绑定成功后,PCRF即可制定并存储PCC规则,并向PCEF下发PCC规则。Steps 407-409: PCRF binds session 1 and session 2 according to the network address of UE sent by AF in session 2 and the network address of UE received from PCEF in session 1. After the binding is successful, PCRF The PCC rules can be formulated and stored, and the PCC rules can be delivered to the PCEF.

此外,根据现有技术,通常一个业务希望能以某种方式标识用户,其中,考虑到手机号的唯一性,运营商一般将用户手机号作为最好的用户标识方式,为此,业务平台需要获取到用户手机号码。In addition, according to the existing technology, usually a service hopes to identify the user in a certain way. Considering the uniqueness of the mobile phone number, the operator generally uses the user's mobile phone number as the best user identification method. For this reason, the service platform needs Obtain the mobile phone number of the user.

其中,在现有的PS域的网络环境下,运营商通常通过设置特定APN(AccessPointName,接入点,如CMWAP),并设置该APN下,UE与服务器间的IP路由经由一个手机号插入网元(例如,WAP网关),并该网元在UE向业务平台发起的请求中插入用户手机号,其中,图4是现有技术中PS域的环境下一种获取用户手机号码的网络示意图;Among them, in the existing PS domain network environment, the operator usually sets a specific APN (AccessPointName, access point, such as CMWAP), and under this APN, the IP route between the UE and the server is inserted into the network via a mobile phone number. element (for example, WAP gateway), and this network element inserts the mobile phone number of the user in the request initiated by the UE to the service platform, wherein, Fig. 4 is a network schematic diagram of obtaining the mobile phone number of the user under the environment of the PS domain in the prior art;

如图4所示,当UE开启了至CMWAPAPN的连接,UE与位于PDN(PublicDataNetwork,公用数据网)网络中的服务器的通信经由GGSN、WAP网关,WAP网关在代理转发从UE至PDN方向的上行消息时,针对特定的消息协议(限定为HTTP和WAP协议,在每个上述协议的消息的头部插入手机号。As shown in Figure 4, when the UE opens the connection to CMWAPAPN, the communication between the UE and the server in the PDN (Public Data Network, public data network) network passes through the GGSN and the WAP gateway, and the WAP gateway forwards the uplink from the UE to the PDN direction on behalf of the UE. During message, for specific message protocol (limited as HTTP and WAP protocol, insert mobile phone number at the head of the message of each above-mentioned agreement.

并且,上述手机号插入网元的插入功能可以以代理方式实现,也可以以路由方式(此时,该网元是个路由设备,具有深度解析功能,可在转发的IP包中插入数据)实现。Moreover, the insertion function of the mobile phone number inserted into the network element can be implemented in a proxy mode, or in a routing mode (at this time, the network element is a routing device, which has a deep analysis function and can insert data in the forwarded IP packet).

上述方案通常只向运营商的自有业务开放,用户无需自己输入或感知,业务平台即可获取用户手机号,业务平台(尤其是运营商自有业务平台)可以充分的利用用户的手机账户向用户业务使用过程中进行扣费及深度用户画像。The above solutions are usually only open to the operator's own business. The user does not need to input or perceive the user's mobile phone number. The service platform (especially the operator's own business platform) can make full use of the user's mobile phone account to send Deduction of fees and in-depth user portraits are carried out during the user's business use.

但是,上述现有技术存在以下缺点:But there is following shortcoming in above-mentioned prior art:

1、只能向少数几个文本型协议(如HTTP协议)消息中插入用户手机号,无法兼容其他协议,如二进制私有协议,而这对于移动通信网络的相对较小的带宽而言非常重要;例如,SIP协议是文本型的,单个消息通常超过1K字节,而同样的消息以二进制设计则只需要40byte,由此引入的时延差异达25倍之多,绝对差异可达250ms,这对于越来越强调用户感知质量的今天,是很难接受的。1. It can only insert the user's mobile phone number into a few text-type protocol (such as HTTP protocol) messages, and cannot be compatible with other protocols, such as binary private protocols, which are very important for the relatively small bandwidth of mobile communication networks; For example, the SIP protocol is text-based, and a single message usually exceeds 1K bytes, while the same message in binary design only needs 40 bytes, and the delay difference introduced by this is as much as 25 times, and the absolute difference can reach 250ms. It is difficult to accept today's increasing emphasis on user-perceived quality.

2、因无法区分每个消息的作用,WAP网关只能向所有从手机至特定(通过WAP网关的白名单功能实现)业务平台的所有消息中插入用户手机号,带来了可观的时延;2. Because the role of each message cannot be distinguished, the WAP gateway can only insert the user's mobile phone number into all messages from the mobile phone to a specific (realized by the whitelist function of the WAP gateway) service platform, which brings considerable delay;

3、WAP网关为实现手机号插入功能,需要协议解析功能,上述解析过程引入大量的时延,恶化用户感受,同时对于移动互联网快速发展的今天,也要求WAP网关不断扩容,引入了大量的成本开销。3. In order to realize the mobile phone number insertion function, the WAP gateway needs the protocol analysis function. The above-mentioned analysis process introduces a lot of time delay, which deteriorates the user experience. At the same time, the rapid development of the mobile Internet also requires the WAP gateway to continue to expand, which introduces a lot of costs. overhead.

发明内容 Contents of the invention

本申请提出一种业务平台获取用户手机号码的方法,该方法能够克服现有技术中业务平台获取当前用户手机号码通信迟延的技术缺点;此外,本发明还公开了一种业务平台获取用户手机号码的系统以及业务平台。This application proposes a method for the service platform to obtain the user's mobile phone number, which can overcome the technical shortcomings of the prior art in which the service platform obtains the current user's mobile phone number communication delay; in addition, the present invention also discloses a method for the service platform to obtain the user's mobile phone number systems and business platforms.

其中,根据本发明的第一目的,本发明提供了一种业务平台获取用户手机号码的方法,包括:Among them, according to the first purpose of the present invention, the present invention provides a method for the service platform to obtain the user's mobile phone number, including:

A、业务平台向策略和计费规则功能装置发起获取用户手机号码的请求,其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;A. The service platform initiates a request to obtain the user's mobile phone number to the policy and charging rule function device, wherein the request carries the user's second network address obtained by the service platform from the network side;

B、策略和计费规则功能装置根据所述第二网络地址和存储的与用户手机号码相对应的用户第一网络地址进行比对;B. The policy and charging rule function device compares the first network address of the user corresponding to the stored mobile phone number of the user according to the second network address;

其中,当获取到匹配的第一网络地址时,提取与第一网络地址相对应的所述用户手机号码并应答给业务平台。Wherein, when the matching first network address is obtained, extract the mobile phone number of the user corresponding to the first network address and reply to the service platform.

其中,优选的方法是,所述获取用户手机号码的请求通过DiameterAAR消息发送给策略和计费规则功能装置;Wherein, the preferred method is that the request for obtaining the user's mobile phone number is sent to the policy and charging rule function device through a DiameterAAR message;

所述用户手机号码通过DiameterAAA消息应答给业务平台。The user's mobile phone number is replied to the service platform through a DiameterAAA message.

其中,优选的方法是,在步骤A前,还包括:Wherein, preferred method is, before step A, also includes:

策略和计费规则功能装置与策略及计费执行功能装置进行交互,并接收由策略及计费执行功能装置传递的用户网络地址以及对应的用户手机号码。The policy and charging rule functional device interacts with the policy and charging enforcement functional device, and receives the user network address and the corresponding user mobile phone number delivered by the policy and charging functional device.

其中,优选的方法是,所述用户第一网络地址是所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址;或者,Wherein, the preferred method is that the first user network address is the user network address passed by the policy and charging enforcement function device to the policy and charging rule function device; or,

所述用户第一网络地址是在策略及计费执行功能装置和策略和计费规则功能装置以及策略和计费规则功能装置与业务平台之间会话绑定成功后,策略和计费规则功能装置获取到的业务平台从网络侧获取到的用户第二网络地址和/或所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址。The user's first network address is the policy and charging rule function device after the successful session binding between the policy and charging execution function device and the policy and charging rule function device and the policy and charging rule function device and the service platform The obtained second network address of the user obtained by the service platform from the network side and/or the user network address passed by the policy and charging enforcement function device to the policy and charging rule function device.

其中,优选的方法是,步骤B中,具体包括:Wherein, preferred method is, in step B, specifically comprises:

所述策略和计费规则功能装置根据所述用户第二网络地址进行查询;The policy and charging rule function device performs an inquiry according to the second network address of the user;

其中,当在第一网络地址中存在与用户第二网络地址匹配的网络地址时,所述策略和计费规则功能装置提取对应的用户手机号码,并将所述手机号码传递给业务平台。Wherein, when there is a network address matching the second network address of the user in the first network address, the policy and charging rule function device extracts the corresponding mobile phone number of the user, and transmits the mobile phone number to the service platform.

其中,优选的方法是,所述获取用户手机号码的请求中还携带有用于数据传输的数据传输网络端口,其中,当根据所述用户第二网络地址未获取到匹配的第一网络地址时,进一步包括:Among them, the preferred method is that the request for obtaining the user's mobile phone number also carries a data transmission network port for data transmission, wherein, when no matching first network address is obtained according to the user's second network address, Further includes:

策略和计费规则功能装置获取用户的公网地址/端口和私网地址/端口之间的转换关系;并根据所述转换关系将所述用户的用户第二网络地址转换成对应的第三网络地址;The policy and charging rule function device obtains the conversion relationship between the user's public network address/port and private network address/port; and converts the user's second network address of the user into the corresponding third network address according to the conversion relationship address;

根据所述用户第三网络地址进行查询是否有匹配的第一网络地址,提取并确定对应的用户手机号码,并将该手机号码传递给业务平台。Check whether there is a matching first network address according to the third network address of the user, extract and determine the corresponding mobile phone number of the user, and pass the mobile phone number to the service platform.

本发明采取了上述技术方案以后,克服了现有技术仅仅能适用于文本型协议的方式,其可以适用于其他任何协议,因此,其通用性较高;并且,该申请也解决了现有中利用WAP网关实现插入手机号码功能所带来的用户通信迟延以及成本开销等缺点,具有成本低、低迟延的优点。After adopting the above-mentioned technical solution, the present invention overcomes the way that the prior art can only be applied to the text type agreement, and it can be applied to any other agreement, therefore, its versatility is high; moreover, this application also solves the existing Using the WAP gateway to implement the function of inserting the mobile phone number has disadvantages such as user communication delay and cost overhead, and has the advantages of low cost and low delay.

其中,根据本发明的又一目的,本发明提供了一种业务平台获取用户手机号码的系统,包括:Wherein, according to another object of the present invention, the present invention provides a system for a service platform to obtain a user's mobile phone number, including:

业务平台,用于向策略和计费规则功能装置发起获取用户手机号码的请求,其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;The service platform is configured to initiate a request to obtain the user's mobile phone number to the policy and charging rule function device, wherein the request carries the user's second network address obtained by the service platform from the network side;

策略和计费规则功能装置,用于将所述第二网络地址和存储的与用户手机号码相对应的用户第一网络地址进行比对;The policy and charging rule function device is used to compare the second network address with the stored user's first network address corresponding to the user's mobile phone number;

其中,当获取到匹配的第一网络地址时,提取与第一网络地址相对应的所述用户手机号码并应答给业务平台。Wherein, when the matching first network address is obtained, extract the mobile phone number of the user corresponding to the first network address and reply to the service platform.

其中,优选的结构是,所述获取用户手机号码的请求通过DiameterAAR消息发送给策略和计费规则功能装置;Wherein, the preferred structure is that the request for obtaining the user's mobile phone number is sent to the policy and charging rule function device through a DiameterAAR message;

所述用户手机号码通过DiameterAAA消息应答给业务平台。The user's mobile phone number is replied to the service platform through a DiameterAAA message.

其中,优选的结构是,还设有策略及计费执行功能装置,用于与策略及计费执行功能装置进行交互,并向策略和计费规则功能装置传递用户网络地址和对应的用户手机号码。Among them, the preferred structure is that there is also a policy and billing enforcement function device, which is used to interact with the policy and billing enforcement function device, and transfer the user network address and the corresponding user mobile phone number to the policy and billing rule function device .

其中,优选的是,所述用户第一网络地址是所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址;或者,Wherein, preferably, the first user network address is the user network address passed by the policy and charging enforcement function device to the policy and charging rule function device; or,

所述用户第一网络地址是在策略及计费执行功能装置和策略和计费规则功能装置以及策略和计费规则功能装置与业务平台之间会话绑定成功后,策略和计费规则功能装置获取到的业务平台从网络侧获取到的用户第二网络地址和/或所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址。The user's first network address is the policy and charging rule function device after the successful session binding between the policy and charging execution function device and the policy and charging rule function device and the policy and charging rule function device and the service platform The obtained second network address of the user obtained by the service platform from the network side and/or the user network address passed by the policy and charging enforcement function device to the policy and charging rule function device.

本发明采取了上述技术方案以后,仅仅需要业务平台和策略和计费规则功能装置之间交互,就可以获取到用户手机号码并传递给业务平台,因此,该申请在技术实现方面较为简单;并且,该申请也解决了现有中利用WAP网关实现插入手机号码功能所带来的用户通信迟延以及成本开销等缺点,具有成本低、低迟延的优点。After adopting the above technical solution, the present invention only needs to interact with the service platform and the policy and charging rule function device to obtain the user's mobile phone number and pass it to the service platform. Therefore, the application is relatively simple in terms of technical implementation; and , this application also solves the shortcomings of user communication delay and cost overhead caused by using the WAP gateway to implement the function of inserting mobile phone numbers, and has the advantages of low cost and low delay.

此外,本发明还公开了一种策略控制和计费规则功能装置,包括:In addition, the present invention also discloses a policy control and charging rule function device, including:

接收单元,用于获取业务平台发起的获取用户手机号码请求,其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;The receiving unit is used to obtain the request for obtaining the user's mobile phone number initiated by the service platform, wherein the request carries the user's second network address obtained by the service platform from the network side;

比对单元,用于根据所述第二网络地址与存储的第一网络地址进行比对;其中,当获取到匹配的第一网络地址时,提取与第一网络地址相对应的所述用户手机号码;A comparing unit, configured to compare the second network address with the stored first network address; wherein, when a matching first network address is obtained, extract the user mobile phone corresponding to the first network address Number;

发送单元,用于将所述用户手机号码应答给业务平台。A sending unit, configured to reply the user's mobile phone number to the service platform.

其中,优选的是,所述接收单元,还用于接收由策略及计费执行功能装置传递的用户网络地址以及对应的用户手机号码;Wherein, preferably, the receiving unit is also used to receive the user network address and the corresponding user mobile phone number transmitted by the policy and billing enforcement function device;

并且,还包括:存储单元,用于存储所述策略及计费执行功能装置传递的用户网络地址以及对应的用户手机号码。Moreover, it also includes: a storage unit for storing the user network address and the corresponding user mobile phone number delivered by the policy and billing enforcement function device.

其中,优选的是,还包括:Among them, preferably, also include:

会话绑定单元,用于绑定策略及计费执行功能装置和策略和计费规则功能装置以及策略和计费规则功能装置与业务平台之间会话;The session binding unit is used to bind the policy and charging execution function device and the policy and charging rule function device as well as the session between the policy and charging rule function device and the service platform;

所述存储单元,还用于获取所述会话绑定成功后,策略和计费规则功能装置获取到的业务平台从网络侧获取到的用户第二网络地址。The storage unit is further configured to obtain the user's second network address obtained from the network side by the service platform obtained by the policy and charging rule function device after the session binding is successful.

其中,优选的是,所述接收单元,还用于获取用户的公网地址/端口和私网地址/端口之间的转换关系;以及,业务平台传递的用于数据传输的数据传输网络端口;Wherein, preferably, the receiving unit is also used to obtain the conversion relationship between the user's public network address/port and private network address/port; and, the data transmission network port for data transmission delivered by the business platform;

所述比对单元,还用于根据所述转换关系将所述用户第二网络地址转换成对应的第三网络地址;The comparison unit is further configured to convert the user's second network address into a corresponding third network address according to the conversion relationship;

所述比对单元,还用于根据所述第三网络地址进行查询获取是否有匹配的第一网络地址以提取对应的用户手机号码。The comparison unit is further configured to query according to the third network address to obtain whether there is a matching first network address to extract the corresponding user mobile phone number.

根据本发明的策略及计费规则功能装置,能够与业务平台之间进行交互并传递给业务平台以用户手机号码,并且,所述策略及计费规则功能装置能够基于业务平台传递的从网络侧获取到的用户网络地址进行查询,进而实现了将当前用户手机号码传递给业务平台的目的。According to the policy and billing rule functional device of the present invention, it can interact with the service platform and transmit the mobile phone number of the user to the service platform, and the policy and billing rule functional device can be based on the information transmitted by the service platform from the network side The obtained user's network address is queried, and then the purpose of passing the current user's mobile phone number to the service platform is realized.

此外,本发明还公开了一种业务平台,包括:发送单元,用于将所述获取用户手机号码的请求发送给策略控制和计费规则功能装置;其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;In addition, the present invention also discloses a service platform, including: a sending unit, configured to send the request for obtaining the user's mobile phone number to the policy control and charging rule function device; wherein, the request carries the information from the service platform The user's second network address obtained by the network side;

接收单元,用于接收策略控制和计费规则功能装置根据所述用户第二网络地址查询并提取的用户手机号码。The receiving unit is configured to receive the user's mobile phone number queried and extracted by the policy control and charging rule function device according to the user's second network address.

其中,优选的是,所述获取用户手机号码请求中还携带有用于数据传输的数据传输网络端口。Wherein, preferably, the request for obtaining the mobile phone number of the user also carries a data transmission network port for data transmission.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

附图说明 Description of drawings

下面结合附图对本发明进行详细的描述,以使得本发明的上述优点更加明确。The present invention will be described in detail below in conjunction with the accompanying drawings, so as to make the above-mentioned advantages of the present invention clearer.

图1是现有技术中的PCC架构的示意图;FIG. 1 is a schematic diagram of a PCC architecture in the prior art;

图2是现有技术中PCEF和PCRF的会话示意图;FIG. 2 is a schematic diagram of a session between PCEF and PCRF in the prior art;

图3是现有技术中PCRF和AF的会话示意图;FIG. 3 is a schematic diagram of a session between PCRF and AF in the prior art;

图4是现有技术中PS域中插入手机号码的方法示意图;Fig. 4 is a schematic diagram of a method for inserting a mobile phone number in the PS domain in the prior art;

图5是现有技术中PCC架构的一个实施例的示意图;Fig. 5 is a schematic diagram of an embodiment of the PCC architecture in the prior art;

图6是现有技术中PCC架构的一个实施例的示意图;FIG. 6 is a schematic diagram of an embodiment of a PCC architecture in the prior art;

图7是本发明业务平台获取用户手机号码的方法的流程示意图;Fig. 7 is a schematic flow chart of the method for the service platform of the present invention to obtain the user's mobile phone number;

图8是在图5的PCC架构下业务平台获取用户手机号码的流程示意图;Fig. 8 is a schematic flow diagram of the service platform obtaining the user's mobile phone number under the PCC architecture of Fig. 5;

图9是在图6的PCC架构下业务平台获取用户手机号码的流程示意图;Fig. 9 is a schematic flow diagram of the service platform obtaining the user's mobile phone number under the PCC architecture of Fig. 6;

图10是本发明另一实施例的业务平台获取用户手机号码的流程示意图;Fig. 10 is a schematic flow diagram of a service platform obtaining a user's mobile phone number according to another embodiment of the present invention;

图11是本发明另一实施例的业务平台获取用户手机号码的流程示意图;Fig. 11 is a schematic flow diagram of a service platform obtaining a user's mobile phone number according to another embodiment of the present invention;

图12是本发明业务平台获取用户手机号码的系统示意图;Fig. 12 is a schematic diagram of the system for the service platform of the present invention to obtain the user's mobile phone number;

图13是本发明策略和计费规则功能装置的结构示意图;Fig. 13 is a schematic structural diagram of the policy and charging rule functional device of the present invention;

图14是本发明业务平台的结构示意图。Fig. 14 is a schematic structural diagram of the service platform of the present invention.

具体实施方式 detailed description

以下结合附图和具体实施例对本发明进行详细的描述。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

方法实施例一:Method embodiment one:

图7是本发明业务平台获取用户手机号码的方法的流程示意图;如图7所示,所述获取用户手机号码的方法,具体包括:Fig. 7 is a schematic flow chart of the method for the service platform of the present invention to obtain the user's mobile phone number; as shown in Fig. 7, the method for obtaining the user's mobile phone number specifically includes:

S101:业务平台向策略和计费规则功能装置发起获取用户手机号码的请求,其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址,该网络地址一般是网络中的公网地址。S101: The service platform initiates a request to obtain the user's mobile phone number from the policy and charging rule function device, wherein the request carries the user's second network address obtained by the service platform from the network side, and the network address is generally a network address in the network. public network address.

S102:策略和计费规则功能装置根据所述第二网络地址和存储的与用户手机号码相对应的用户第一网络地址进行比对;S102: The policy and charging rule function device compares the first network address of the user corresponding to the stored mobile phone number of the user according to the second network address;

S103:策略和计费规则功能装置根据比对结果提取并确定与所述第二网络地址相匹配的用户第一网络地址相对应的用户手机号码;S103: The policy and charging rule function device extracts and determines the user's mobile phone number corresponding to the user's first network address that matches the second network address according to the comparison result;

S104:策略和计费规则功能装置将该用户手机号码应答给业务平台。S104: The policy and charging rule function device responds to the service platform with the mobile phone number of the user.

其中,为了兼容现有的协议,所述获取用户手机号码请求通过DiameterAAR消息发送给策略和计费规则功能装置;Wherein, in order to be compatible with existing protocols, the request for obtaining the user's mobile phone number is sent to the policy and charging rule function device through a DiameterAAR message;

所述策略和计费规则功能装置通过DiameterAAA消息将所述用户手机号码应答给业务平台。The policy and charging rule function device responds the user's mobile phone number to the service platform through a DiameterAAA message.

也即是说,本发明中,在PCC架构,当业务平台需要获取用户手机号码的时候,其可以通过向策略和计费规则功能装置发起一个用以提取当前会话用户手机号码的请求,所述策略和计费规则功能装置根据所述请求查询并提取存储的与所述请求中的网络地址相匹配的用户手机号码,相对于现有的插入手机网元实现的方式,其节省了各种信令的交互。That is to say, in the present invention, in the PCC framework, when the service platform needs to obtain the user's mobile phone number, it can initiate a request to extract the current session user's mobile phone number to the policy and charging rule function device, the said The policy and charging rule function device queries and extracts the stored user mobile phone number that matches the network address in the request according to the request, which saves various information compared to the existing way of inserting into the mobile phone network element. command interaction.

并且,该种方法还克服了现有技术无法兼容各种协议的缺点,其可以借助于现有的Diameter协议,因此具有较好的适用性。Moreover, this method also overcomes the disadvantage that the existing technology cannot be compatible with various protocols, and it can rely on the existing Diameter protocol, so it has better applicability.

并且,为了实现更清晰的描述,在步骤S101之前,还包括:And, in order to achieve a clearer description, before step S101, it also includes:

策略和计费规则功能装置与策略及计费执行功能装置进行交互,并接收由策略及计费执行功能装置传递的用户网络地址以及对应的用户手机号码,并且,将所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址作为用户第一网络地址;或者,The policy and charging rule function device interacts with the policy and charging execution function device, and receives the user network address and the corresponding user mobile phone number delivered by the policy and charging execution function device, and executes the policy and charging the user's network address passed by the functional device to the policy and charging rules functional device as the user's first network address; or,

策略和计费规则功能装置绑定策略及计费执行功能装置和策略和计费规则功能装置以及策略和计费规则功能装置与业务平台之间的会话,并在会话绑定成功后,提取所述业务平台从网络侧获取到的用户第二网络地址,并且,将该用户第二网络地址和/或者所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址作为用户第一网络地址。The policy and charging rule function device binds the policy and charging execution function device and the policy and charging rule function device as well as the session between the policy and charging rule function device and the service platform, and after the session binding is successful, extracts all The user’s second network address obtained by the service platform from the network side, and the user’s second network address and/or the user’s network address passed by the policy and charging enforcement function device to the policy and charging rule function device as The user's first network address.

其中,所述第二网络地址可以选自业务平台从网络侧获取到任何标识该用户的用户网络地址,例如,该用户网络地址可以是私网地址,也可以是公网地址或者也可以是公网地址和私网地址的组合。Wherein, the second network address can be selected from any user network address that identifies the user obtained by the service platform from the network side. For example, the user network address can be a private network address, a public network address, or a public network address. A combination of network address and private network address.

并且,所述第一网络地址也可以是私网地址、公网地址或者公网地址和私网地址的组合。Moreover, the first network address may also be a private network address, a public network address, or a combination of a public network address and a private network address.

因此,步骤S102~S103进一步包括:Therefore, steps S102-S103 further include:

所述策略和计费规则功能装置根据所述公网地址和/或私网地址进行查询;The policy and charging rule function device performs query according to the public network address and/or private network address;

其中,当在第一网络地址中存在任何一个匹配的网络地址时,所述策略和计费规则功能装置提取对应的用户手机号码,并将所述手机号码传递给业务平台。Wherein, when there is any matching network address in the first network address, the policy and charging rule function device extracts the corresponding mobile phone number of the user, and transmits the mobile phone number to the service platform.

也就是说,本发明采取了上述技术方案以后,业务平台可以根据其从网络侧获取到的当前会话的用户的任何类型的网络地址进行查询,只要在策略和计费规则功能装置中存在有任一个与其相匹配的网络地址,即可以根据该网络地址获取到当前用户手机号码,从而该种方法实现的技术手段较为简单;并且,该方案具有实现成本低、低迟延的优点。That is to say, after the present invention adopts the above-mentioned technical solution, the service platform can query according to any type of network address of the user in the current session obtained from the network side, as long as there is any A matching network address, that is, the current user mobile phone number can be obtained according to the network address, so the technical means of this method is relatively simple; moreover, this solution has the advantages of low cost and low delay.

下面结合具体的实施例二~五对本发明上述方法进行进一步详细的描述。The above-mentioned method of the present invention will be further described in detail below in conjunction with specific embodiments 2-5.

方法实施例二:Method embodiment two:

其中,图5是现有技术中PCC网络架构的一个实施例的示意图;图8是本发明在图5所示的PCC架构下业务平台获取用户手机号码的流程示意图;Wherein, Fig. 5 is a schematic diagram of an embodiment of the PCC network architecture in the prior art; Fig. 8 is a schematic flow diagram of the present invention's service platform obtaining the user's mobile phone number under the PCC architecture shown in Fig. 5;

其中,在图5所示的实施例中,该网络之中不包含NAT(NetworkAddressTranslation,网络地址转换)设备。Wherein, in the embodiment shown in FIG. 5 , the network does not include a NAT (Network Address Translation, Network Address Translation) device.

在该实施例中,所述业务平台获取用户手机号码的方法包括:In this embodiment, the method for the service platform to obtain the user's mobile phone number includes:

S501:UE附着网络,PCRF建立与PCEF间的会话一;S501: The UE attaches to the network, and the PCRF establishes a session 1 with the PCEF;

其中,PCRF此时获知用户手机号码和公网地址,并将该公网地址作为用户第一网络地址,且该公网地址和用户手机号码具有特定的对应关系。Wherein, the PCRF obtains the user's mobile phone number and public network address at this time, and uses the public network address as the user's first network address, and the public network address and the user's mobile phone number have a specific correspondence.

S502:AF获取到用户的第二网络地址,其中,第二网络地址是公网地址;S502: The AF obtains the second network address of the user, where the second network address is a public network address;

S503:AF向PCRF发起获取用户手机号码请求;S503: The AF initiates a request to the PCRF to acquire the user's mobile phone number;

其中,所述获取用户手机号码请求采用DiameterAAR消息,其中,所述获取用户手机号码请求中携带有用户的第二网络地址。Wherein, the request for obtaining the user's mobile phone number adopts a DiameterAAR message, wherein the request for obtaining the user's mobile phone number carries the user's second network address.

S504:PCRF根据用户的第一网络地址和第二网络地址进行对比,并提取手机号码;S504: PCRF compares the user's first network address with the second network address, and extracts the mobile phone number;

由于本实施例中,第一网络地址和第二网络地址都是一个公网地址,因此,PCRF可以直接比对获取到的第一网络地址和第二网络地址,即可以根据地址的匹配关系获取到对应的UE的手机号码。Since in this embodiment, the first network address and the second network address are both a public network address, the PCRF can directly compare the acquired first network address and the second network address, that is, it can be obtained according to the matching relationship of the addresses. to the mobile phone number of the corresponding UE.

S505:PCRF通过DiameterAAA消息将上述步骤中获取到的用户手机号码传递给AF。S505: The PCRF transmits the mobile phone number of the user obtained in the above step to the AF through a DiameterAAA message.

本实施例在实施例一的基础上,进一步地细化了技术实现细节,并通过AF和PCRF之间的交互就可以直接获取到当前用户手机号码,进而满足了现有的通信业务中的需求;并且,该种方法相对于现有技术来说,同样具有实现的技术手段较为简单,其整体实现成本低、低迟延的优点。On the basis of Embodiment 1, this embodiment further refines the technical implementation details, and can directly obtain the current user's mobile phone number through the interaction between AF and PCRF, thereby meeting the needs of existing communication services ; Moreover, compared with the prior art, this method also has the advantages of relatively simple implementation technical means, low overall implementation cost and low delay.

方法实施例三:Method embodiment three:

图6是现有技术中PCC网络架构的一个实施例的示意图;Fig. 6 is a schematic diagram of an embodiment of the PCC network architecture in the prior art;

图9是本发明在图6所示的PCC网络架构下业务平台获取用户手机号码的流程示意图;其中,如图6所示,在该实施例之中,在所述PCEF和PDN网络之间存在NAT设备。Fig. 9 is a schematic flow diagram of the present invention in which the service platform obtains the user's mobile phone number under the PCC network architecture shown in Fig. 6; wherein, as shown in Fig. 6, in this embodiment, there is a NAT device.

因此,根据本实施例中的方法,主要包括下列步骤:Therefore, according to the method in the present embodiment, mainly comprise the following steps:

S601:业务平台向PCRF发起用户手机号码获取请求;S601: The service platform initiates a request to obtain the user's mobile phone number to the PCRF;

其中,该用户手机号码获取请求中包括了获取的UE的公网地址以及其所能够获取到的UE的私网地址;Wherein, the user's mobile phone number acquisition request includes the obtained public network address of the UE and the private network address of the UE that can be obtained;

S602:PCRF根据用户的公网地址和私网地址进行查询;S602: PCRF searches according to the user's public network address and private network address;

S603:当第一网络地址和上述公网地址和私网地址任意一个匹配时,即表示获取到对应的用户UE,此时提取并确定用户手机号码;S603: When the first network address matches any one of the above-mentioned public network address and private network address, it means that the corresponding user UE is obtained, and at this time extract and determine the user mobile phone number;

S604:PCRF将上述用户手机号码反馈给AF。S604: The PCRF feeds back the mobile phone number of the above user to the AF.

其中,该私网地址可以根据现有技术而获取,例如,中国专利20071015713.3公开的一种根据上下行的信息获取到对应的用户网络信息,进而获取到用户的私网地址的方式。Wherein, the private network address can be obtained according to the existing technology, for example, Chinese patent 20071015713.3 discloses a method of obtaining the corresponding user network information according to the uplink and downlink information, and then obtaining the user's private network address.

本实施例在含有NAT设备的环境下,通过AF传递的多个用于标识当前用户的网络地址进行查询,并根据上述多个网络地址确定并提取对应的用户手机号码;并且,该方法可以适用于在PCC架构下包含多个NAT设备的架构,具有适用范围广的优点;此外,AF传递的网络地址还可以不限于公网地址和私网地址,也可以包含在网络环境中所获取到的任意地址,其实现方式与本实施例所描述类似。In this embodiment, in an environment containing NAT devices, a plurality of network addresses used to identify the current user delivered by AF are queried, and the corresponding user mobile phone number is determined and extracted according to the above-mentioned multiple network addresses; and the method can be applied It has the advantages of a wide range of applications for the architecture that includes multiple NAT devices under the PCC architecture; in addition, the network address delivered by AF may not be limited to public network addresses and private network addresses, and may also include those obtained in the network environment. Any address, its implementation is similar to that described in this embodiment.

方法实施例四:Method embodiment four:

图10是本发明另一个PCC架构下业务平台获取用户手机号码的示意图;如图10所示,该种方法主要包括下列步骤:Fig. 10 is the schematic diagram that business platform obtains user's mobile phone number under another PCC framework of the present invention; As shown in Fig. 10, this kind method mainly comprises the following steps:

S701:业务平台AF向PCRF发起用户手机号码获取请求;S701: The service platform AF initiates a user mobile phone number acquisition request to the PCRF;

其中,该用户手机号码获取请求中具体包括了获取的UE的公网地址以及数据传输网络端口;Wherein, the user's mobile phone number acquisition request specifically includes the acquired UE's public network address and data transmission network port;

S702:PCRF获取用户的公网地址/端口和私网地址/端口之间的转换关系;S702: PCRF obtains the conversion relationship between the user's public network address/port and private network address/port;

S703:PCRF根据所述转换关系将所述用户的公网地址转换成对应的私网地址,将该地址作为用户第三网络地址;S703: PCRF converts the user's public network address into a corresponding private network address according to the conversion relationship, and uses the address as the user's third network address;

S704:PCRF根据所述用户第三网络地址进行查询是否有匹配的第一网络地址;S704: The PCRF inquires whether there is a matching first network address according to the third network address of the user;

其中,当获取到有匹配的第一网络地址时,S706:提取并确定对应的用户手机号码,该号码即是用户UE的手机号码;Wherein, when a matching first network address is obtained, S706: Extract and determine the corresponding user mobile phone number, which is the mobile phone number of the user UE;

S707:PCRF通过DiameterAAA消息将该手机号码传递给AF。S707: The PCRF transmits the mobile phone number to the AF through a DiameterAAA message.

其中,上述转换关系可以依靠下列的手段而获取:Among them, the above conversion relationship can be obtained by means of the following:

由NAT设备每创建/取消一对地址映射时主动向PCRF提供;或者,It is actively provided to PCRF by the NAT device every time a pair of address mapping is created/cancelled; or,

NAT设备开放查询接口供PCRF查询;或者,由一个数据网络设备提供给PCRF或者供PCRF进行查询。The NAT device opens a query interface for the PCRF to query; or, a data network device provides the PCRF or allows the PCRF to query.

并且,可以理解的是,所述第一网络地址是由PCEF和PCRF进行交互,由PCEF上报给PCRF的用户UE的网络地址。Moreover, it can be understood that the first network address is the network address of the user UE reported by the PCEF to the PCRF through interaction between the PCEF and the PCRF.

本实施例适用于在含有NAT设备的环境下,并且,该种方法能够通过公网/端口和私网/端口之间的转换关系,解决了由于用户第一网络地址和第二网络地址的类型(公网或者私网)的不同而无法匹配的缺点,并且,该种方法相对于现有技术来说,同样具有实现成本低、低迟延的优点。This embodiment is applicable to the environment containing NAT equipment, and this method can solve the problem caused by the type of the user's first network address and the second network address through the conversion relationship between the public network/port and the private network/port. (Public network or private network) are different and cannot be matched, and, compared with the prior art, this method also has the advantages of low cost and low delay.

方法实施例五:Method embodiment five:

其中,在上述实施例二~实施例四中,没有考虑到AF和PCRF之间的会话和PCEF和PCRF之间的会话是否绑定;Wherein, in the above-mentioned embodiment 2 to embodiment 4, it is not considered whether the session between the AF and the PCRF is bound to the session between the PCEF and the PCRF;

其中,本实施例主要考虑在AF和PCRF之间的会话和PCEF和PCRF之间的会话绑定以后的获取用户手机号码的流程;Among them, this embodiment mainly considers the process of obtaining the user's mobile phone number after the session between the AF and the PCRF is bound and the session between the PCEF and the PCRF is bound;

其中,图11是本发明另一个在PCC架构下业务平台获取用户手机号码的流程示意图;根据图11,所述方法包括下列步骤:Wherein, Fig. 11 is another schematic flow diagram of the service platform obtaining the user's mobile phone number under the PCC framework of the present invention; according to Fig. 11, the method includes the following steps:

S801:PCRF绑定UE的第一网络地址和第二网络地址,并将存储AF获取到的第二网络地址、PCEF传输的第一网络地址和对应的手机号码之间的对应关系;S801: The PCRF binds the first network address and the second network address of the UE, and stores the correspondence between the second network address acquired by the AF, the first network address transmitted by the PCEF, and the corresponding mobile phone number;

S802:业务平台AF通过DiameterAAR消息向PCRF发起用户手机号码获取请求;S802: The service platform AF initiates a user mobile phone number acquisition request to the PCRF through a DiameterAAR message;

其中,该用户手机号码获取请求中具体包括了获取的UE的第二网络地址,该第二网络地址是公网地址或者私网地址,或者,UE的公网地址和私网地址;Wherein, the user mobile phone number obtaining request specifically includes the obtained second network address of the UE, and the second network address is a public network address or a private network address, or, a public network address and a private network address of the UE;

S803:PCRF根据所述第二网络地址进行查询;S803: PCRF performs query according to the second network address;

其中,S804:当在PCRF中存储的网络地址中有匹配的网络地址时,则直接提取并确定对应的用户手机号码,该号码即是用户UE的手机号码;Wherein, S804: when there is a matching network address among the network addresses stored in the PCRF, directly extract and determine the corresponding user mobile phone number, which is the mobile phone number of the user UE;

S805:PCRF通过DiameterAAA消息将该手机号码传递给AF。S805: The PCRF transmits the mobile phone number to the AF through a DiameterAAA message.

本发明采取了上述技术方案以后,相对于现有技术来说,能够兼容所有的用户UE和业务平台之间的协议;并且,该方法相对于现有技术来说,同样可以避免整体的网元间的复杂性、高成本和高时延,具有很好的技术优点。After the present invention adopts the above technical solution, compared with the prior art, it can be compatible with the protocols between all user UEs and service platforms; and, compared with the prior art, this method can also avoid the overall network element The complexity, high cost and high delay between the two have very good technical advantages.

系统实施例一:System embodiment one:

以下结合对本发明的系统进行详细说明;The system of the present invention is described in detail below in conjunction with;

其中,图12是本发明业务平台获取用户手机号码的系统示意图;如图12所示,所述业务平台获取用户手机号码的系统,包括:Wherein, Fig. 12 is a schematic diagram of the system for the service platform of the present invention to obtain the user's mobile phone number; as shown in Fig. 12, the system for the service platform to obtain the user's mobile phone number includes:

业务平台,用于向策略和计费规则功能装置发起获取用户手机号码的请求,其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;The service platform is configured to initiate a request to obtain the user's mobile phone number to the policy and charging rule function device, wherein the request carries the user's second network address obtained by the service platform from the network side;

策略和计费规则功能装置,用于将所述第二网络地址和存储的与用户手机号码相对应的用户第一网络地址进行比对;The policy and charging rule function device is used to compare the second network address with the stored user's first network address corresponding to the user's mobile phone number;

其中,当获取到匹配的第一网络地址时,提取与第一网络地址相对应的所述用户手机号码并应答给业务平台。Wherein, when the matching first network address is obtained, extract the mobile phone number of the user corresponding to the first network address and reply to the service platform.

其中,所述获取用户手机号码的请求通过DiameterAAR消息发送给策略和计费规则功能装置;Wherein, the request for obtaining the user's mobile phone number is sent to the policy and charging rule function device through a DiameterAAR message;

所述用户手机号码通过DiameterAAA消息应答给业务平台。The user's mobile phone number is replied to the service platform through a DiameterAAA message.

其中,还设有策略及计费执行功能装置,用于与策略及计费执行功能装置进行交互,并向策略和计费规则功能装置传递用户网络地址和对应的用户手机号码。Among them, there is also a policy and billing enforcement function device, which is used to interact with the policy and billing enforcement function device, and transmit the user network address and the corresponding user mobile phone number to the policy and billing rule function device.

其中,所述用户第一网络地址是所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址;或者,Wherein, the user first network address is the user network address passed by the policy and charging enforcement function device to the policy and charging rule function device; or,

所述用户第一网络地址是在策略及计费执行功能装置和策略和计费规则功能装置以及策略和计费规则功能装置与业务平台之间会话绑定成功后,策略和计费规则功能装置获取到的业务平台从网络侧获取到的用户第二网络地址和/或所述策略及计费执行功能装置传递给策略和计费规则功能装置的用户网络地址。The user's first network address is the policy and charging rule function device after the successful session binding between the policy and charging execution function device and the policy and charging rule function device and the policy and charging rule function device and the service platform The obtained second network address of the user obtained by the service platform from the network side and/or the user network address passed by the policy and charging enforcement function device to the policy and charging rule function device.

本发明采取了上述技术方案以后,业务平台可以根据其从网络侧获取到的当前会话的用户的任何类型的网络地址进行查询,只要在策略和计费规则功能装置中存在有任一个与其相匹配的网络地址,即可以根据该网络地址获取到当前用户手机号码,从而该种方法实现的技术手段较为简单;并且,该方案具有实现成本低、低迟延的优点。After the present invention adopts the above-mentioned technical scheme, the service platform can query according to any type of network address of the user in the current session obtained from the network side, as long as there is any one of the policy and charging rule function devices that matches it The network address, that is, the current user mobile phone number can be obtained according to the network address, so the technical means of this method is relatively simple; moreover, this solution has the advantages of low implementation cost and low delay.

装置实施例一:Device embodiment one:

其中,结合图13和图14对本申请的PCRF和AF进行具体描述,其中,图13是本发明实施例的策略和计费规则功能装置的结构示意图;Wherein, the PCRF and AF of the present application are specifically described in conjunction with FIG. 13 and FIG. 14 , wherein FIG. 13 is a schematic structural diagram of a policy and charging rule function device according to an embodiment of the present invention;

如图13所示,所述策略控制和计费规则功能装置,包括:As shown in Figure 13, the policy control and charging rule function device includes:

接收单元,用于获取业务平台发起的获取用户手机号码请求,其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;The receiving unit is used to obtain the request for obtaining the user's mobile phone number initiated by the service platform, wherein the request carries the user's second network address obtained by the service platform from the network side;

比对单元,用于根据所述第二网络地址与存储的第一网络地址进行比对;其中,当获取到匹配的第一网络地址时,提取与第一网络地址相对应的所述用户手机号码;A comparing unit, configured to compare the second network address with the stored first network address; wherein, when a matching first network address is obtained, extract the user mobile phone corresponding to the first network address Number;

发送单元,用于将所述用户手机号码应答给业务平台。A sending unit, configured to reply the user's mobile phone number to the service platform.

其中,所述接收单元,还用于接收由策略及计费执行功能装置传递的用户网络地址以及对应的用户手机号码;Wherein, the receiving unit is also used to receive the user network address and the corresponding user mobile phone number delivered by the policy and billing enforcement function device;

并且,还包括:存储单元,用于存储所述策略及计费执行功能装置传递的用户网络地址以及对应的用户手机号码。Moreover, it also includes: a storage unit for storing the user network address and the corresponding user mobile phone number delivered by the policy and billing enforcement function device.

其中,还包括:Among them, also include:

会话绑定单元,用于绑定策略及计费执行功能装置和策略和计费规则功能装置以及策略和计费规则功能装置与业务平台之间会话;The session binding unit is used to bind the policy and charging execution function device and the policy and charging rule function device as well as the session between the policy and charging rule function device and the service platform;

所述存储单元,还用于获取所述会话绑定成功后,策略和计费规则功能装置获取到的业务平台从网络侧获取到的用户第二网络地址。The storage unit is further configured to obtain the user's second network address obtained from the network side by the service platform obtained by the policy and charging rule function device after the session binding is successful.

此外,所述接收单元,还用于获取用户的公网地址/端口和私网地址/端口之间的转换关系;以及,业务平台传递的用于数据传输的数据传输网络端口;In addition, the receiving unit is also used to obtain the conversion relationship between the user's public network address/port and private network address/port; and, the data transmission network port used for data transmission delivered by the service platform;

所述比对单元,还用于根据所述转换关系将所述用户第二网络地址转换成对应的第三网络地址;The comparison unit is further configured to convert the user's second network address into a corresponding third network address according to the conversion relationship;

所述比对单元,还用于根据所述第三网络地址进行查询获取是否有匹配的第一网络地址以提取对应的用户手机号码。The comparison unit is further configured to query according to the third network address to obtain whether there is a matching first network address to extract the corresponding user mobile phone number.

其中,图14是本发明实施例的业务平台的结构示意图。如图14所示,所述业务平台,包括:Wherein, FIG. 14 is a schematic structural diagram of the service platform of the embodiment of the present invention. As shown in Figure 14, the service platform includes:

发送单元,用于将所述获取用户手机号码的请求发送给策略控制和计费规则功能装置;其中,所述请求中携带有业务平台从网络侧获取到的用户第二网络地址;A sending unit, configured to send the request for obtaining the user's mobile phone number to the policy control and charging rule function device; wherein, the request carries the user's second network address obtained by the service platform from the network side;

接收单元,用于接收策略控制和计费规则功能装置根据所述用户第二网络地址查询并提取的用户手机号码。The receiving unit is configured to receive the user's mobile phone number queried and extracted by the policy control and charging rule function device according to the user's second network address.

其中,所述获取用户手机号码请求中还携带有用于数据传输的数据传输网络端口。Wherein, the request for obtaining the mobile phone number of the user also carries a data transmission network port for data transmission.

此外,参照图14,所述业务平台,还包括:触发单元,用于根据用户终端的业务信息触发获取手机号码的请求。In addition, referring to FIG. 14 , the service platform further includes: a triggering unit, configured to trigger a request for obtaining a mobile phone number according to the service information of the user terminal.

根据本发明的策略及计费规则功能装置,能够与业务平台之间进行交互并传递给业务平台以用户手机号码,并且,所述策略及计费规则功能装置能够基于业务平台传递的从网络侧获取到的用户网络地址进行查询,进而实现了将当前用户手机号码传递给业务平台的目的。According to the policy and billing rule functional device of the present invention, it can interact with the service platform and transmit the mobile phone number of the user to the service platform, and the policy and billing rule functional device can be based on the information transmitted by the service platform from the network side The obtained user's network address is queried, and then the purpose of passing the current user's mobile phone number to the service platform is realized.

并且,所述业务平台能够基于获取到任何用户网络地址在策略及计费规则功能装置,进而提取到用户手机号码。Moreover, the service platform can further extract the user's mobile phone number based on the acquired network address of any user in the policy and charging rule function device.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读存储器(ReadOnlyMemory,简称ROM)、随机存取存储器(RandomAcessMemory,简称RAM)、磁碟、终端手机软件或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: read-only memory (ReadOnlyMemory, referred to as ROM), random access memory (RandomAcessMemory, referred to as RAM), magnetic disk, terminal mobile phone software or optical disc, etc. various programs that can be stored The medium of the code.

最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that: the above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it still The technical solutions recorded in the foregoing embodiments may be modified, or some technical features thereof may be equivalently replaced. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (16)

1. A method for obtaining a user mobile phone number by a service platform comprises the following steps:
A. the service platform initiates a request for acquiring a user mobile phone number to the policy and charging rule function device, wherein the request carries a second network address of the user acquired by the service platform from a network side;
B. the strategy and charging rule function device compares the second network address with a stored first network address of the user corresponding to the mobile phone number of the user;
when the matched first network address is obtained, the user mobile phone number corresponding to the first network address is extracted and responded to the service platform;
the first network address is a private network address and/or a public network address, and the second network address is a private network address and/or a public network address.
2. The method of claim 1, wherein the request for obtaining the mobile phone number of the user is sent to the policy and charging rules function device via a DiameterAAR message;
and the mobile phone number of the user is responded to the service platform through a DiameterAAA message.
3. The method for obtaining the mobile phone number of the user according to claim 1 or 2, before the step a, further comprising:
the strategy and charging rule function device interacts with the strategy and charging execution function device and receives the user network address and the corresponding user mobile phone number transmitted by the strategy and charging execution function device.
4. The method of claim 3, wherein the first network address of the user is a network address of the user that is passed by the policy and charging enforcement function device to the policy and charging rules function device; or,
and the first network address of the user is a second network address of the user acquired by the service platform from a network side and/or a network address of the user transmitted to the policy and charging rule function device by the policy and charging rule function device after the session binding between the policy and charging execution function device and the policy and charging rule function device and the session binding between the policy and charging rule function device and the service platform are successful.
5. The method for obtaining a mobile phone number of a user according to claim 4, wherein the step B specifically comprises:
the strategy and charging rule function device inquires according to the second network address of the user;
when a network address matched with a second network address of the user exists in the first network address, the strategy and charging rule function device extracts a corresponding mobile phone number of the user and transmits the mobile phone number to the service platform.
6. The method according to claim 5, wherein the request for obtaining the mobile phone number of the user further carries a data transmission network port for data transmission, and further comprising, when a matching first network address is not obtained according to the second network address of the user:
the policy and charging rule function device acquires the conversion relation between the public network address/port and the private network address/port of the user; converting the second network address of the user into a corresponding third network address according to the conversion relation;
and inquiring whether a matched first network address exists according to the third network address of the user, extracting and determining a corresponding mobile phone number of the user, and transmitting the mobile phone number to the service platform.
7. A system for obtaining a mobile phone number of a user by a service platform comprises:
the service platform is used for initiating a request for acquiring a mobile phone number of a user to the policy and charging rule function device, wherein the request carries a second network address of the user acquired by the service platform from a network side;
the policy and charging rule function device is used for comparing the second network address with a stored first network address of the user corresponding to the mobile phone number of the user;
when the matched first network address is obtained, the user mobile phone number corresponding to the first network address is extracted and responded to the service platform;
the first network address is a private network address and/or a public network address, and the second network address is a private network address and/or a public network address.
8. The system for obtaining a subscriber's mobile phone number as claimed in claim 7, wherein the request for obtaining a subscriber's mobile phone number is sent to the policy and charging rules function device via a DiameterAAR message;
and the mobile phone number of the user is responded to the service platform through a DiameterAAA message.
9. The system for obtaining the mobile phone number of the user according to claim 7 or 8, further comprising a policy and charging enforcement function device for interacting with the policy and charging enforcement function device and transmitting the network address of the user and the corresponding mobile phone number of the user to the policy and charging rules function device.
10. The system of claim 9, wherein the first network address of the user is a network address of the user that is passed by the policy and charging enforcement function device to the policy and charging rules function device; or,
and the first network address of the user is a second network address of the user acquired by the service platform from a network side and/or a network address of the user transmitted to the policy and charging rule function device by the policy and charging rule function device after the session binding between the policy and charging execution function device and the policy and charging rule function device and the session binding between the policy and charging rule function device and the service platform are successful.
11. A policy and charging rules function device, comprising:
the receiving unit is used for acquiring a request for acquiring a user mobile phone number, wherein the request is initiated by a service platform and carries a second network address of a user, which is acquired by the service platform from a network side;
the comparison unit is used for comparing the second network address with the stored first network address; when a matched first network address is acquired, extracting the user mobile phone number corresponding to the first network address;
the sending unit is used for responding the mobile phone number of the user to a service platform;
the first network address is a private network address and/or a public network address, and the second network address is a private network address and/or a public network address.
12. The apparatus according to claim 11, wherein the receiving unit is further configured to receive a network address of the user and a corresponding mobile phone number of the user, which are transmitted by the policy and charging enforcement function apparatus;
and, still include: and the storage unit is used for storing the user network address and the corresponding user mobile phone number transmitted by the strategy and charging execution function device.
13. The policy and charging rules function device of claim 11 or 12, further comprising:
the session binding unit is used for binding the policy and charging execution function device, the policy and charging rule function device and the session between the policy and charging rule function device and the service platform;
the storage unit is further configured to obtain a second network address of the user, which is obtained by the policy and charging rule function device from the network side, of the service platform after the session binding is successful.
14. The apparatus according to claim 11, wherein the receiving unit is further configured to obtain a translation relationship between a public network address/port and a private network address/port of the user; and a data transmission network port for data transmission transmitted by the service platform;
the comparison unit is further configured to convert the second network address of the user into a corresponding third network address according to the conversion relationship;
the comparison unit is further configured to query according to the third network address to obtain whether a matched first network address exists or not so as to extract a corresponding user mobile phone number.
15. A service platform, comprising:
a sending unit, configured to send a request for obtaining a mobile phone number of a user to the policy and charging rule function device; the request carries a second network address of the user, which is acquired by the service platform from a network side;
and the receiving unit is used for receiving the user mobile phone number inquired and extracted by the policy and charging rule function device according to the second network address of the user.
16. The service platform of claim 15, wherein the request for obtaining the mobile phone number of the user further carries a data transmission network port for data transmission.
CN201210022960.9A 2012-02-02 2012-02-02 A kind of business platform obtains the method for subscriber phone number, system and business platform Active CN103249023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210022960.9A CN103249023B (en) 2012-02-02 2012-02-02 A kind of business platform obtains the method for subscriber phone number, system and business platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210022960.9A CN103249023B (en) 2012-02-02 2012-02-02 A kind of business platform obtains the method for subscriber phone number, system and business platform

Publications (2)

Publication Number Publication Date
CN103249023A CN103249023A (en) 2013-08-14
CN103249023B true CN103249023B (en) 2016-03-30

Family

ID=48928193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210022960.9A Active CN103249023B (en) 2012-02-02 2012-02-02 A kind of business platform obtains the method for subscriber phone number, system and business platform

Country Status (1)

Country Link
CN (1) CN103249023B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501492A (en) * 2013-10-22 2014-01-08 中国联合网络通信集团有限公司 Method for acquiring 3G terminal mobile phone number, system and client
CN103619005B (en) * 2013-11-25 2017-05-24 中国联合网络通信集团有限公司 Method and system for obtaining cell phone number of 3G network user
CN105791256B (en) * 2014-12-26 2019-06-21 华为技术有限公司 A method, device and system for acquiring user information
CN109428866A (en) * 2017-08-30 2019-03-05 中兴通讯股份有限公司 Method, system and the computer readable storage medium of subscriber identity information are provided
CN112272169B (en) * 2020-10-16 2023-06-02 中国联合网络通信集团有限公司 User identity determining method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780292A (en) * 2004-11-19 2006-05-31 中国移动通信集团公司 Method for Ensuring Service Platform Obtains User Terminal Information Under Multiple Application Protocols

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1582036B1 (en) * 2003-01-09 2006-08-02 Siemens Aktiengesellschaft Method and mobile radio communication network for the transmission of packet data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780292A (en) * 2004-11-19 2006-05-31 中国移动通信集团公司 Method for Ensuring Service Platform Obtains User Terminal Information Under Multiple Application Protocols

Also Published As

Publication number Publication date
CN103249023A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
JP5298203B2 (en) Token-based correlation of control sessions for data session policy and charging control via NAT
JP5468180B2 (en) System and method for generating PCC rules based on service requests
US8824340B2 (en) Handling of policy and charging information and user profiles in a multisite communication's network
JP5587436B2 (en) Handling expired messages for policy and billing rule nodes
EP2056570A1 (en) Session and media binding to common control
EP3328124A1 (en) Data processing method and apparatus
US9131071B2 (en) Binding of SD messages with radius messages
US20140078899A1 (en) Policy and charging control for mutiple sub-flows
EP2589203A1 (en) Diameter session audits
US10326604B2 (en) Policy and charging rules function (PCRF) selection
US20150163813A1 (en) Bandwidth control method, device, and system
CN103249023B (en) A kind of business platform obtains the method for subscriber phone number, system and business platform
US8625612B2 (en) Management of serving gateways for enhanced performance
US20130095812A1 (en) Supported feature override
US9615390B2 (en) PCRN session architecture for roaming
CN101998515B (en) The implementation method of control PCRF load balancing and realize system
CN104301450A (en) Addressing method and device
CN106817434B (en) A session binding method, routing proxy and PCRF
US9420059B2 (en) Indication of authorized and unauthorized PCC rules
WO2015172338A1 (en) Access point selection method and related device
EP2769581B1 (en) Roaming session termination triggered by roaming agreement/partner deletion
CN103220659A (en) Method, device and equipment for updating session record information in signaling routing agent
US8792883B2 (en) Integration of roaming and non-roaming message processing
CN102316433A (en) Ticket information reporting method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant