CN104660560B - Reporting method and device authorization statistics - Google Patents

Reporting method and device authorization statistics Download PDF

Info

Publication number
CN104660560B
CN104660560B CN201310591348.8A CN201310591348A CN104660560B CN 104660560 B CN104660560 B CN 104660560B CN 201310591348 A CN201310591348 A CN 201310591348A CN 104660560 B CN104660560 B CN 104660560B
Authority
CN
China
Prior art keywords
authorization
request
authentication
value
identifier
Prior art date
Application number
CN201310591348.8A
Other languages
Chinese (zh)
Other versions
CN104660560A (en
Inventor
周文硕
谢福才
蒲晓阳
Original Assignee
腾讯科技(北京)有限公司
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 腾讯科技(北京)有限公司 filed Critical 腾讯科技(北京)有限公司
Priority to CN201310591348.8A priority Critical patent/CN104660560B/en
Publication of CN104660560A publication Critical patent/CN104660560A/en
Application granted granted Critical
Publication of CN104660560B publication Critical patent/CN104660560B/en

Links

Abstract

本发明公开了种授权统计信息的上报方法和装置,其中,该方法包括:接收在通过浏览器访问第三方网页时发送的授权认证请求,其中,授权认证请求用于对第三方网页上显示的应用标识对应的应用进行授权,授权认证请求携带浏览器的缓存信息和授权所需的认证信息;判断缓存信息中的标识符的取值是否指示授权认证请求为重复的授权请求;若标识符的取值指示授权认证请求为重复的授权请求,则不上报授权认证请求对应的有效授权统计信息;若标识符的取值指示授权认证请求不为重复的授权请求,则上报授权认证请求对应的有效授权统计信息。 The present invention discloses a method and apparatus for reporting authorization kinds of statistical information, wherein the method comprises: receiving an authorization authentication request when accessing third party web browser, wherein the authentication request for authorization for displaying on third party websites application of authorization corresponding to the identifier, requesting authorization and authentication information needed to carry authentication and authorization information of the browser cache; determining cache information identifier value that indicates whether the authorization request is a repeat of the authentication authorization request; if identifier the value indicative of an authorization request is a repeat of the authentication authorization requests, authorization and authentication request report is not valid authorization information corresponding to the statistics; if the value of the authentication request authorization identifier indicates authorization request is not a duplicate, then the authentication request report corresponding valid authorization authorization statistics. 本发明解决了用户反复授权而导致上报信息不准确的技术问题,达到了屏蔽重复授权实现准确上报信息的技术效果。 The present invention solves the authorized user repeatedly cause inaccurate reporting technical problems, to achieve the double authorization shielding effect to achieve accurate reporting of information technology.

Description

授权统计信息的上报方法和装置 Reporting method and device authorization statistics

技术领域 FIELD

[0001] 本发明涉及互联网领域,具体而言,涉及一种授权统计信息的上报方法和装置。 [0001] The present invention relates to the field of the Internet, in particular, to a method and apparatus for reporting authorization statistics.

背景技术 Background technique

[0002] 互联网厂商的合作使得帐号互通成为可能一一大多数网站提供第三方用户登录的入口,以获得用户数量和网站流量的极速增长。 Cooperation [0002] Internet companies makes it possible to exchange account eleven most sites provide third-party user login entry, in order to obtain explosive growth of number of users and site traffic. 通常,从用户选择第三方登录方式到获得登录状态,需要有一个由用户操作的授权的过程。 Typically, a user selects from a third-party login to get logged in, you need to have a process by an authorized user operation. 而为了保护用户帐号的安全性,授权窗口往往限制不允许用iframe来嵌入,只能在一个新页面中打开,用户确认授权之后则进入第三方网站的页面。 In order to protect the security of user accounts, limit the authorization window is often not allowed to use iframe embed, can only be opened in a new page, after the user confirms the authorization to enter the page third-party websites.

[0003] 为了监控页面PV量(浏览次数)以及用户流失比例,通常需要对页面访问次数,用户授权次数等数据进行统计上报,以便监控业务的运营状况和帮助定位可能存在的问题。 [0003] In order to monitor the amount of page PV (visits) and churn ratio, usually for number of page views, user authorization number and other data for statistical reporting in order to monitor the operational status of the business and help locate possible problems. 目前常用的数据统计上报模型是前端通过页面中嵌入javascript代码来调用CGI上报,一个典型的上报代码如下: The most commonly used model is a statistical reporting CGI to invoke the report by the front end insert javascript code page, a typical report code is as follows:

[0004] [0004]

Figure CN104660560BD00041

[0005] 通过给一个Image对象设置src属性来调用CGI进行上报。 [0005] CGI is invoked by setting a src attribute Image object to be reported. 然而考虑用户的以下行为:用户点击使用帐号登录,进入授权页(访问次数+1),通过授权进入第三方的页面(授权次数+1),此后点击后退,回到授权页面,并重新点击授权(授权次数+1)。 However, in view of the following user behavior: the user clicks using the account to log into the authorization page (visits + 1), by a third party authorized to enter the page (authorization number +1), then click the back, back to the authorization page, and click again authorized (authorization number +1). 在这个过程中,用户请求使用帐号登录的次数统计是1,而授权次数统计是2,所得到的统计数据并不可靠。 In this process, the user account login request statistical frequency of use is 1, 2 is authorized number of statistics, the statistical data obtained is not reliable. 这种情形的出现主要是因为用户回退时浏览器不会重新请求页面,而是利用上一次请求的缓存页面。 This situation occurs mainly because the user will not be re fallback browser requests a page, but to use a cached page on request.

[0006] 针对上述的问题,目前尚未提出有效的解决方案。 [0006] In response to these problems, we have not yet come up with effective solutions.

发明内容 SUMMARY

[0007] 本发明实施例提供了一种授权统计信息的上报方法和装置,以至少解决用户反复授权而导致上报信息不准确的技术问题。 Example embodiments provide a method and apparatus for reporting authorization statistical information [0007] of the present invention to solve at least the user repeatedly authorization reporting information is inaccurate result technical problems.

[0008] 根据本发明实施例的一个方面,提供了一种授权统计信息的上报方法,包括:接收在通过浏览器访问第三方网页时发送的授权认证请求,其中,授权认证请求用于对第三方网页上显示的应用标识对应的应用进行授权,授权认证请求携带浏览器的缓存信息和授权所需的认证信息;判断缓存信息中的标识符的取值是否指示授权认证请求为重复的授权请求;若标识符的取值指示授权认证请求为重复的授权请求,则不上报授权认证请求对应的有效授权统计信息;若标识符的取值指示授权认证请求不为重复的授权请求,则上报授权认证请求对应的有效授权统计信息。 [0008] In accordance with one aspect of the present invention embodiment, there is provided a method for reporting authorization statistical information, comprising: receiving an authorization authentication request when the third-party webpage accessible via a browser, wherein the authentication request for authorization of application identifier corresponding to the application display authorize tripartite web authorizing the authentication request carries the information required for the authentication and authorization information of the browser cache; determining cache information identifier value that indicates whether the authorization request is a repeat of the authentication authorization request ; value indicates authorization and authentication if the request is a duplicate identifier authorization requests, authorization and authentication request report is not valid authorization information corresponding to the statistics; if the value of the authentication request authorization identifier indicates authorization request is not a duplicate, then the authorization report authentication request valid authorization corresponding statistics.

[0009] 作为一种可选的方案,在接收在通过浏览器访问第三方网页时发送的授权认证请求之前,还包括:接收在通过浏览器访问第三方网页时发送的授权界面请求;为授权界面请求分配标识符,并将标识符的取值设置为第一值,其中,第一值用于指示授权认证请求不为重复的授权请求;向浏览器发送授权界面请求对应的授权界面信息和取值为第一值的标识符。 [0009] As an alternative embodiment, prior to sending the authorization request received authentication when accessing third party web browser, further comprising: receiving a request sent by the authorization to access the third party interface web browser; authorized requesting allocation of an interface identifier, and the identifier value is a first set value, wherein a first value for indicating the authentication request is not authorized authorization request repeat; the interface to the browser sends an authorization request and corresponding authorization information interface value of the first identifier value.

[0010] 作为一种可选的方案,在上报授权认证请求对应的有效授权统计信息之后,还包括:向浏览器发送取值为第二值的标识符,其中,第二值用于指示授权认证请求为重复的授权请求。 [0010] As an optional embodiment, after the authentication request authorization report statistical information corresponding to the valid authority, further comprising: transmitting a second value of the identifier value of the browser, wherein the second value for indicating authorization authentication request to repeat the authorization request.

[0011] 作为一种可选的方案,为授权界面请求分配标识符包括:为不同的授权界面请求分配不同的标识符。 [0011] As an alternative embodiment, the authorization request allocation of an interface identifier comprises: requesting allocation of a different identifier for different authorization interface.

[0012] 作为一种可选的方案,接收在通过浏览器访问第三方网页时发送的授权界面请求之后,还包括:上报授权界面请求对应的授权请求统计信息,其中,授权请求统计信息用于指示授权请求量增加1。 [0012] As an optional embodiment, after receiving the request sent by the authorization interface web browser to access a third-party, further comprising: a reporting authorization interface corresponding to the request authorization request statistics, wherein statistical information for the authorization request 1 increased indicating authorization request.

[0013] 作为一种可选的方案,上报授权认证请求对应的有效授权统计信息包括:上报授权认证请求对应的有效授权统计信息,其中,有效授权统计信息用于指示有效授权量增加Io [0013] As an alternative embodiment, the authentication request authorization report statistical information corresponding to the valid authority comprises: reporting authorization and authentication information corresponding to the request is valid authorization statistics, wherein statistical information indicating a valid authorization valid authorization increased Io

[0014] 作为一种可选的方案,在上报授权认证请求对应的有效授权统计信息之后,还包括:根据授权请求统计信息对授权请求量进行更新,并根据有效授权统计信息对有效授权量进行更新;按照更新后的有效授权量P和更新后的授权请求量Q计算用户流失率r,其中,r = (QP)/Q。 [0014] As an optional embodiment, after the authentication request authorization report statistical information corresponding to the valid authority, further comprising: a statistics request for authorization according to the authorization request to update the amount of, and according to the effective amount of valid grant authorization Statistics update; request amount Q calculated churn r, where, r = (QP) / Q according to the authorization granted after an effective and updates the updated P.

[0015] 根据本发明实施例的另一方面,还提供了一种授权统计信息的上报装置,包括:第一接收单元,用于接收在通过浏览器访问第三方网页时发送的授权认证请求,其中,授权认证请求用于对第三方网页上显示的应用标识对应的应用进行授权,授权认证请求携带浏览器的缓存信息和授权所需的认证信息;判断单元,用于判断缓存信息中的标识符的取值是否指示授权认证请求为重复的授权请求;上报单元,用于在标识符的取值指示授权认证请求为重复的授权请求时,不上报授权认证请求对应的有效授权统计信息;在标识符的取值指示授权认证请求不为重复的授权请求时,上报授权认证请求对应的有效授权统计信息。 [0015] According to another aspect of an embodiment of the present invention, is also provided an apparatus for reporting authorization statistics, comprising: a first authorization authentication request receiving unit, for receiving the transmitted at the third-party webpage accessed by the browser, wherein the authorization request to the authentication application identifier corresponding to the application displayed on the third-party webpage authorization, authorization and authentication request carries the authentication information and authorization information required for cache browser; determining means for determining identification information is cached the value indicating whether the authorization identifier of the authentication request is a duplicate request authorization; reporting unit, configured to, when the authentication identifier value indicative of an authorization request is a repeat of the authorization requests, authorization and authentication request does not report statistical information corresponding to the valid authorization; in identifier value indicating the authentication request authorization request is a repeat without authorization, authorization authentication request report statistical information corresponding to the valid authority.

[0016] 作为一种可选的方案,该上报装置还包括:第二接收单元,用于在第一接收单元接收在通过浏览器访问第三方网页时发送的授权认证请求之前,接收在通过浏览器访问第三方网页时发送的授权界面请求;分配单元,用于为授权界面请求分配标识符,并将标识符的取值设置为第一值,其中,第一值用于指示授权认证请求不为重复的授权请求;第一发送单元,用于向浏览器发送授权界面请求对应的授权界面信息和取值为第一值的标识符。 [0016] As an alternative embodiment, the reporting means further comprises: a second receiving unit configured to authenticate before granting access request sent by a third-party web browser to receive a first receiving unit that receives the browse authorization interface to a third-time transmission requests; assigning unit for assigning an identifier for the authorization request interface, and set the value for the first identifier value, wherein a first value for indicating the authentication request is not authorized a first transmission unit for transmitting the authorization request to the interface corresponding to the authorization information and interface identifier value is a first value to the browser; repeating authorization request.

[0017] 作为一种可选的方案,该上报装置还包括:第二发送单元,用于在上报单元上报授权认证请求对应的有效授权统计信息之后,向浏览器发送取值为第二值的标识符,其中,第二值用于指示授权认证请求为重复的授权请求。 [0017] As an alternative embodiment, the reporting means further comprises: a second sending unit, for reporting unit reports after the authorization request is valid authorization authentication information corresponding to the statistics, the browser transmits the value to the second value identifier, wherein the second value for indicating the authorization request is a repeat authentication authorization request.

[0018] 作为一种可选的方案,分配单元包括:分配子模块,用于为不同的授权界面请求分配不同的标识符。 [0018] As an alternative embodiment, the dispensing unit comprises: allocation sub-module, for requesting allocation of different identifiers for different authorization interface.

[0019] 作为一种可选的方案,上报单元包括:第一上报模块,用于第二接收单元接收在通过浏览器访问第三方网页时发送的授权界面请求之后,上报授权界面请求对应的授权请求统计信息,其中,授权请求统计信息用于指示授权请求量增加1。 [0019] As an alternative embodiment, the reporting unit comprises: a first reporting module, a second receiving means for receiving authorization interface following a request by sending the web browser when accessing a third party, the authorization reporting interface corresponding to the request authorization statistical information request, wherein the authorization request statistical information indicating a request for authorization increased.

[0020] 作为一种可选的方案,上报单元包括:第二上报模块,用于在标识符的取值指示授权认证请求不为重复的授权请求时,上报授权认证请求对应的有效授权统计信息,其中,有效授权统计信息用于指示有效授权量增加1。 [0020] As an alternative embodiment, the reporting unit comprises: a second reporting module, the value for the identifier indicates authorization and authentication request is not a repeat of the authorization request, the authorization and authentication request to report statistical information corresponding to the valid authority which statistics are used to indicate a valid authorization valid authorization to increase the amount of 1.

[0021] 作为一种可选的方案,该上报装置还包括:更新单元,用于根据授权请求统计信息对授权请求量进行更新,并根据有效授权统计信息对有效授权量进行更新;计算单元,用于按照更新后的有效授权量P和更新后的授权请求量Q计算用户流失率r,其中,r= (QP) /Q。 [0021] As an alternative embodiment, the reporting means further comprises: an update unit, according to the authorization request to the authorization request statistics updating amount, and an effective amount of authorized valid license is updated according to statistical information; calculating unit, a request for authorization according to the authorization effective amount P and the updated update amount calculation churn Q r, where, r = (QP) / Q.

[0022] 在本发明实施例中,采用对界面请求分发动态KEY并利用缓存检测的方式,从而实现了屏蔽重复授权实现准确上报信息的技术效果,进而解决了用户反复授权而导致上报信息不准确的技术问题。 [0022] In the embodiment of the present invention, by way of distributing dynamic KEY interfacial requests and utilize the cache detected, enabling the shield to repeat the authorization to achieve accurate reporting technical effect information, thereby solving the user repeatedly authorization result report inaccurate information technical problems.

附图说明 BRIEF DESCRIPTION

[0023] 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。 [0023] The drawings described herein are provided for further understanding of the present invention, constitute a part of this application, exemplary embodiments of the present invention are used to explain the present invention without unduly limiting the present invention. 在附图中: In the drawings:

[0024] 图1是根据本发明实施例的一种可选的授权统计信息的上报方法的流程图; [0024] FIG. 1 is a flowchart of a method for reporting authorization statistics an alternative embodiment of the embodiment of the present invention;

[0025] 图2是根据本发明实施例的另一种可选的授权统计信息的上报方法的流程图; [0025] FIG 2 is a flowchart of another alternative method for reporting statistics authorization embodiment of the present invention;

[0026] 图3是根据本发明实施例的又一种可选的授权统计信息的上报方法的流程图; [0026] FIG. 3 is a flowchart of yet another alternative method for reporting statistics authorization embodiment of the present invention;

[0027] 图4是根据本发明实施例的又一种可选的授权统计信息的上报方法的流程图; [0027] FIG. 4 is a flowchart of yet another alternative method for reporting statistics authorization embodiment of the present invention;

[0028] 图5是根据本发明实施例的又一种可选的授权统计信息的上报方法的流程图; [0028] FIG. 5 is a flowchart of yet another alternative method for reporting statistics authorization embodiment of the present invention;

[0029] 图6是根据本发明实施例的又一种可选的授权统计信息的上报方法的流程图; [0029] FIG. 6 is a flowchart of yet another alternative method for reporting statistics authorization embodiment of the present invention;

[0030] 图7是根据本发明实施例的又一种可选的授权统计信息的上报方法的流程图; [0030] FIG. 7 is a flowchart of yet another alternative method for reporting statistics authorization embodiment of the present invention;

[0031] 图8是根据本发明实施例的一种可选的授权统计信息的上报的界面示意图; [0031] FIG. 8 is a schematic diagram of the authorization according to the reported statistical information an alternative embodiment of the present invention the interface;

[0032] 图9是根据本发明实施例的一种可选的授权统计信息的上报装置的示意图; [0032] FIG. 9 is a schematic view of an apparatus for reporting an alternative embodiment of the authorization of the statistical information according to the present invention;

[0033] 图10是根据本发明实施例的另一种可选的授权统计信息的上报装置的示意图; [0033] FIG. 10 is a schematic view of an alternative apparatus for reporting statistics authorization embodiment of the present invention;

[0034] 图11是根据本发明实施例的又一种可选的授权统计信息的上报装置的示意图; [0034] FIG. 11 is a schematic view of still another alternative apparatus for reporting statistics authorization embodiment of the present invention;

[0035] 图12是根据本发明实施例的又一种可选的授权统计信息的上报装置的示意图; [0035] FIG. 12 is a schematic view of a further alternative apparatus for reporting statistics authorization embodiment of the present invention;

[0036] 图13是根据本发明实施例的又一种可选的授权统计信息的上报装置的示意图; [0036] FIG. 13 is a schematic view of still another alternative apparatus for reporting statistics authorization embodiment of the present invention;

[0037] 图14是根据本发明实施例的又一种可选的授权统计信息的上报装置的示意图;以及 [0037] FIG. 14 is a schematic view of a further alternative apparatus for reporting statistics authorization embodiment of the invention; and

[0038] 图15是根据本发明实施例的又一种可选的授权统计信息的上报装置的示意图。 [0038] FIG. 15 is a schematic view of a further alternative apparatus for reporting statistics authorization embodiment of the present invention.

具体实施方式 Detailed ways

[0039] 首先,在对本发明实施例进行描述的过程中出现的部分名词或术语适用于如下解释: [0039] First, a part of the term or terms that appear in the embodiment of the present invention, the process embodiment will be described in the following explanation applies:

[0040] 为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。 [0040] In order to make those skilled in the art a better understanding of the invention, in conjunction with the following drawings of the present invention embodiments, the technical solutions of the embodiments of the present invention will be clearly and completely described, obviously, the described Example embodiments are merely part of embodiments of the present invention rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without creative efforts shall be made available, should fall within the scope of the present invention.

[0041] 需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。 [0041] Incidentally, the above-mentioned book and in the figures the terms "first," "second," and the like are used for distinguishing between similar objects, and not necessarily for describing a particular sequential or claimed in the specification and claims of the present invention priorities. 应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。 It should be understood that the data so used are interchangeable under appropriate circumstances, embodiments of the present invention described herein are capable to addition order than those in the embodiments illustrated or described herein. 此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。 Furthermore, the terms "including" and "having," as well as any of their deformation, intended to cover non-exclusive inclusion, for example, comprising a series of steps or the process unit, the method, system, or apparatus is not necessarily limited expressly listed those steps or elements, but may include or not inherent to other steps or units for such process, method, article, or apparatus expressly listed.

[0042] 实施例1 [0042] Example 1

[0043] 根据本发明实施例,提供了一种授权统计信息的上报方法,如图1所示,该方法包括: [0043] According to the present invention, there is provided a method for reporting authorization statistical information, shown in Figure 1, the method comprising:

[0044] S102,接收在通过浏览器访问第三方网页时发送的授权认证请求,其中,授权认证请求用于对第三方网页上显示的应用标识对应的应用进行授权,授权认证请求携带浏览器的缓存ί目息和授权所需的认证ί目息; [0044] S102, the authentication request received authorization to access the third party transmitted by the web browser, wherein the authentication request for authorization to authorize the application corresponding to the application identifier is displayed on the third-party webpage, authorization authentication request carries the browser ί cache entry required authentication information and authorization information ί mesh;

[0045] 可选地,用户可以在终端上的浏览器访问第三方网页(例如,视频网页、新闻网页),在浏览器上弹出的授权请求界面上输入授权所需的认证信息,然后,在授权认证请求中携带上述认证信息以及浏览器的缓存信息,并将该授权认证请求发送给相应的接收方。 [0045] Alternatively, the user can access third-party web browser (for example, video page, news pages) on the terminal, enter the authentication information required to authorize the interface in the browser pop-authorization request, and then, in authorization and authentication request carries the information of the authentication information and the cached browser, and the authorization authentication request to the corresponding receiver. 在本实施例中,可选地,上述接收方可以为但不限于:用于管理上述应用标识对应的应用(例如,微博或微信等)的服务器。 In the present embodiment, alternatively, that only the reception but not limited to: a server administration application (e.g., a micro-blog or micro-channel, etc.) corresponding to the above-described application identification.

[0046] 可选地,该授权请求界面可以由用于管理上述应用标识对应的应用(例如,微博或微信等)的服务器推送给上述终端的浏览器;用户在该授权请求界面上输入上述认证信息, 例如,包括:账户名和密码。 [0046] Alternatively, the authorization request interface may be used by the server for managing the applications corresponding to the application identifier (e.g., a micro-blog or micro-channel, etc.) pushed to the browser of the terminal; on the user input to the authorization request interface authentication information, for example, include: account name and password.

[0047] 可选地,上述第三方网页可以包括但不限于以下之一:视频网页、新闻网页。 [0047] Optionally, the third party web page may include but is not limited to one of the following: video page, news pages. 可选地,上述缓存信息包括但不限于:cookie信息,其中,cookie信息记录了历史浏览信息。 Optionally, the cache information include, but are not limited to: cookie information, which, cookie information recorded history browsing information.

[0048] 可选地,在本实施例中第三方网页中的应用标识包括但不限于以下至少之一:微博图标或微信图标。 Twitter icon or icons micro channel: [0048] Alternatively, the application identifier in the present embodiment, third party web pages include but are not limited to at least one embodiment.

[0049] S104,判断缓存信息中的标识符的取值是否指示授权认证请求为重复的授权请求; [0049] S104, the value is determined in the cache information identifier indicates whether the authorization request is a repeat of the authentication authorization request;

[0050] 可选地,在本实施例中缓存信息中包括但不限于:标识符(例如,key),该标识符的取值可以用来指示授权认证请求是否为重复的授权请求。 [0050] Alternatively, in the present embodiment, the cache information include but are not limited to: an identifier (e.g., Key), the value of the identifier may be used to indicate authorization and authentication request is a duplicate request for authorization.

[0051] 可选地,在本实施例中标识符key的分配依据包括但不限于:当前系统时间戳。 [0051] Alternatively, in accordance with the present embodiment, the identifier key distribution embodiment include but are not limited to: the current system time stamp.

[0052] S106,若标识符的取值指示授权认证请求为重复的授权请求,则不上报授权认证请求对应的有效授权统计信息; [0052] S106, if the value of the identifier of the authentication request indicating authorization to duplicate the authorization request, the authentication request is not authorized to report statistical information corresponding to the valid authorization;

[0053] 可选地,当判断得出上述标识符key取0,即指示授权认证请求为重复的授权请求, 则不上报授权认证请求对应的有效授权统计信息。 [0053] Alternatively, when the determination has been made taking the above-described key identifier is 0, i.e., repeating the authentication request indicating authorization of the authorization requests, authorization and authentication request report is not valid authorization information corresponding to the statistics.

[0054] 例如,以访问ABC网页为例,根据接收到通过浏览器访问网页发送授权认证请求的时间戳设定标识符key,当判断key取值为0,则指示授权认证请求重复,不上报与授权认证请求对应的有效授权统计信息。 [0054] For example, to access the ABC Web page, for example, according to the received authentication request by sending an authorization visit Web browser timestamp key set identifier, when it is determined key value of 0, it indicates that the authentication request authorization repeated, does not report a valid license statistical information corresponding to the authentication request authorization.

[0055] S108,若标识符的取值指示授权认证请求不为重复的授权请求,则上报授权认证请求对应的有效授权统计信息。 [0055] S108, if the value of the identifier of the authentication request indicating authorization of the authorization request is not a duplicate, then the certification authority request reports statistics information corresponding to valid authority.

[0056] 可选地,当判断得出上述标识符key的取值为1,即指示授权认证请求为不重复的授权请求,则上报授权认证请求对应的有效授权统计信息。 [0056] Alternatively, when the determined value of the above obtained key identifier is 1, i.e., the authentication request indicating authorization of the authorization request is not repeated, the authentication request authorization report statistical information corresponding to the valid authority.

[0057] 例如,以访问ABC网页为例,根据接收到通过浏览器访问网页发送授权认证请求的时间戳设定标识符key,当判断key的取值为1,则指示授权认证请求不重复,上报与授权认证请求对应的有效授权统计信息。 [0057] For example, to access the ABC Web page, for example, key set identifier according to the transmission time stamp received by the browser to access the authorization and authentication page request, the determination key when the value is 1, it indicates that the authentication request authorization will not be repeated, reporting and authorization authentication request valid authorization corresponding statistics.

[0058] 通过本申请提供的实施例,利用标识符的取值判断是否为重复的授权认证请求, 从而屏蔽了重复授权实现了准确上报信息的效果。 [0058] Example judgment value using the identifier provided by the present application is a duplicate request authorization authentication, authorization repeated so that the shield effect is achieved accurate reporting information.

[0059] 作为一种可选的方案,如图2所示,在接收在通过浏览器访问第三方网页时发送的授权认证请求之前,还包括: [0059] As an alternative embodiment, shown in Figure 2, before sending the authorization request received authentication when accessing third party web browser, further comprising:

[0060] S202,接收在通过浏览器访问第三方网页时发送的授权界面请求; [0060] S202, receives the transmitted authorization interface when accessing third party web browser requests;

[0061] 可选地,在接收在通过浏览器访问第三方网页时发送的授权认证请求之前,会接收通过浏览器访问第三方网页时发送的授权界面请求。 [0061] Optionally, prior to receiving authorization authentication request sent during a visit to third-party web browser, will receive authorization to access third-party interface to send the request via a web browser. 例如,以访问ABC网页为例,接收通过浏览器访问ABC网页时,对网页中D应用的授权认证请求之前,会先接收到对网页中D应用的授权界面请求。 For example, to access the ABC website, for example, when receiving an access ABC web browser, before granting certification request for a Web page D applications, you will first received authorization application interface pages D request.

[0062] S204,为授权界面请求分配标识符,并将标识符的取值设置为第一值,其中,第一值用于指示授权认证请求不为重复的授权请求; [0062] S204, the authorization request to the interface identifier assigned, and sets the value of the first identifier value, wherein a first value for indicating the authentication request is not authorized authorization request is a repeat;

[0063] 可选地,接收到授权界面请求Rl后,为授权界面请求Rl分配标识符keyi;然后,将标识符keyi的取值设置为第一值,例如,keyi=l,表示第一值用于指示授权认证请求不为重复的授权请求。 [0063] Alternatively, after receiving the authorization request interface Rl, Rl allocation request is authorized to interface identifier keyi; then, the value of the identifier keyi set to a first value, e.g., keyi = l, represented by a first value for indicating authentication request is not authorized authorization request is a duplicate.

[0064] S206,向浏览器发送授权界面请求对应的授权界面信息和取值为第一值的标识符。 [0064] S206, the interface sends an authorization request and corresponding authorization information interface identifier value is a first value to the browser.

[0065] 可选地,向上述浏览器发送与授权界面请求相对应的授权界面信息及取值为第一值的标识符keyi。 [0065] Alternatively, the browser sends a request to the interface corresponding to the authorization information and authorizing the interface identifier value is a first value keyi. 例如,以访问ABC网页为例,接收到对网页中D应用的授权界面请求之后, 向上述访问浏览器发送与D应用授权界面请求相应的授权界面信息及取值为第一值的标识符keyi〇 For example, to access the ABC Web page, for example, after receipt of a page request authorization application D interface, the interface information corresponding to the request and authorization to the values ​​of the browser to access the authorization interface sends a first D value identifier keyi 〇

[0066] 通过本申请提供的实施例,为了屏蔽重复授权而设置标识符,进而提高了上报信息的准确性。 [0066] Example embodiments provided by the present application, in order to shield repeat the authorization identifier is provided, thereby improving the accuracy of the reported information.

[0067] 作为一种优选的方案,结合图1-图3,上述授权统计信息的上报方法,包括: [0067] As a preferred embodiment, in conjunction with FIGS. 1-3, the above-described method of reporting authorization statistical information, comprising:

[0068] S300,访问网页。 [0068] S300, visit the page. 可选地,用户通过终端上的浏览器访问第三服务器上的第三方网页,例如ABC网页,其中,网页中包括D应用的应用标识。 Alternatively, the user accesses the third server on the third-party webpage via a browser on the terminal, such as ABC Web page, wherein the web page includes an application identifier D applications.

[0069] S302,传输授权界面请求。 [0069] S302, transmits an authorization request interface. 可选地,用户通过浏览器点击第三方网页上显示的D应用标识,进而向管理D应用的认证服务器发送与D应用对应的授权界面请求。 Optionally, the user clicks D logo displayed on third-party applications through the web browser, and then send a request and corresponding authorization application D interface to the authentication server management D applications.

[0070] S304,为授权界面请求分配标识符,并将标识符的取值设置为第一值。 [0070] S304, the request identifier is assigned authorization interface, and set the value for the first identifier value. 可选地,认证服务器为授权界面请求分配标识符keyi,并将标识符keyi设置为第一值(例如keyi=l),其中,第一值用于指示授权认证请求不为重复的授权请求。 Alternatively, the authentication server requests authorization interface identifier assigned to keyi, keyi identifier and a first value (e.g. keyi = l), wherein a first value for indicating the authentication request authorization authorization request is not repeated.

[0071] S306,向浏览器发送授权界面请求对应的授权界面信息和取值为第一值的标识符。 [0071] S306, the interface sends an authorization request and corresponding authorization information interface identifier value is a first value to the browser. 可选地,认证服务器将与D应用的授权界面请求相对应的授权界面信息及keyi=l发送回浏览器。 Alternatively, the authentication server requests the information corresponding to the authorization interface keyi = l and D and authorization interface application sent back to the browser.

[0072] S308,浏览器向认证服务器发送授权认证请求,其中,授权认证请求携带浏览器的缓存信息和授权所需的认证信息。 [0072] S308, the browser sends an authorization authentication request to the authentication server, wherein the authentication request carries the authorization information required for authentication and authorization information cache of the browser. 可选地,浏览器接收到D应用相应的授权界面信息及标识符后,将向认证服务器发送授权认证请求,其中,授权认证请求携带浏览器的缓存信息(包括标识符keyi)和授权所需的认证信息。 Alternatively, after the browser receives the corresponding D interface information and the authorization identifier, the authentication server will send an authorization request for authentication, wherein the authentication request carries the authorization information about the browser cache (including an identifier KEYI) and authorization required authentication information. 可选地,上述认证信息包括但不限于用户通过浏览器在授权请求界面上填写的账号和密码。 Alternatively, the authentication information including but not limited to a user request through the browser interface to fill in the authorization account and password.

[0073] S310,认证服务器判断接收到的缓存信息中的标识符的取值是否指示授权认证请求为重复的授权请求。 [0073] S310, the authentication server determines whether the received cache information indicating whether the value of the identifier of the authentication request is authorized to duplicate the authorization request. 可选地,基于上述步骤可知,缓存信息中的标识符1^71的取值为1,因此,该标示符的取值表示该授权认证请求不为重复的授权请求,从而执行步骤S312。 Alternatively, the above steps can be seen, the value of the identifier 71 ^ 1 cache information is 1, therefore, the value of the identifier indicates that the authentication request is not authorized to duplicate the authorization request, thereby performing the step S312.

[0074] 可选地,若判断得出缓存信息中的标识符的取值指示授权认证请求为重复的授权请求,则不执行步骤S312。 [0074] Alternatively, if the determination value obtained cache information indicating an identifier of the authentication request is authorized to duplicate the authorization request, not performing step S312.

[0075] S312,上报授权认证请求对应的有效授权统计信息。 [0075] S312, the authentication request authorization report statistical information corresponding to the valid authority. 可选地,基于上述步骤,该授权认证请求不为重复的授权请求,则上报与D应用授权认证请求对应的有效授权统计信息。 Alternatively, the above step, the authorization is not repeated authentication request authorization request, the valid authorization report statistical information D corresponding to the authentication request authorization application.

[0076] 通过本申请提供的实施例,利用标识符的取值判断是否为重复的授权认证请求, 从而屏蔽了重复授权,实现了准确上报信息,更好地记录有效授权统计信息的效果。 [0076] Example judgment value using the identifier provided by the present application is a repeat of the authorization and authentication request to mask the authorization, to achieve accurate results of the report information, better statistics records valid authorization.

[0077] 作为一种可选的方案,如图4所示,在上报授权认证请求对应的有效授权统计信息之后,还包括: [0077] As an alternative embodiment, shown in Figure 4, after the authorization request is valid certification authority reports the statistical information in, further comprising:

[0078] S402,向浏览器发送取值为第二值的标识符,其中,第二值用于指示授权认证请求为重复的授权请求。 [0078] S402, the browser sends the value of the second identifier value, wherein the value of the second authorization request for repetition of the authentication request indicating authorization.

[0079] 可选地,在上报授权认证请求对应的有效授权统计信息之后,将标识符keyi的取值从第一值(例如,key 1=1)修改为第二值(例如,key 1=0),用于指示授权认证请求为重复的授权请求,并将取值为第二值的标识符(keyi=0)发送回浏览器。 [0079] Alternatively, after the authorization request is valid certification authority reports statistics information corresponding to the value of the identifier keyi from a first value (e.g., key 1 = 1) to a second modified value (e.g., key 1 = 0), for indicating the authorization request is a repeat authentication authorization request, and the value of the second identifier value (keyi = 0) is sent back to the browser.

[0080] 例如,以访问ABC网页为例,在获取ABC网页中D应用的有效授权统计信息之后,将标识符keyi的取值从1修改为0,从而指示授权认证请求为重复的授权请求,并将keyi=0发送回浏览器。 [0080] For example, to access the ABC Web page, for example, after acquiring the application ABC D valid authorization page statistics, the value of the identifier keyi modified from 1 to 0, thereby indicating that the authentication request is authorized to duplicate the authorization request, and keyi = 0 is sent back to the browser.

[0081] 作为一种优选的方式,当授权认证成功后,用户通过浏览器回退至授权界面,重新发起授权认证请求,请求中携带的浏览器的缓存信息(包括标识符keyi=0),认证服务器接收到标识符keyi=0,获知已经有效授权成功,此次授权认证为重复请求,将不再上报有效授权统计信息。 [0081] As a preferred embodiment, after the successful authorization and authentication, user authorization fall back through a browser interface, re-initiates an authentication request authorization, the information carried in the request cache browser (including an identifier keyi = 0), the authentication server receives an identifier keyi = 0, has been informed of the effective authorization is successful, the certification authority for the repeat request, will no longer be valid authorization to report statistics.

[0082] 通过本申请提供的实施例,标识符取第二值,用于提示之后的授权认证请求均为重复请求,从而屏蔽了重复授权,可以更好地实现记录有效的授权统计信息。 [0082] The embodiments provided herein present embodiment, the second identifier value is taken for subsequent cue request authorization and authentication requests are repeated, thereby shielding the double authorization, be better achieved valid authorization record statistics.

[0083] 作为一种可选的方案,如图5所示,为授权界面请求分配标识符包括: [0083] As an alternative embodiment, shown in Figure 5, the request identifier is assigned authorization interface comprising:

[0084] S502,为不同的授权界面请求分配不同的标识符。 [0084] S502, request different identifiers for different authorization interface.

[0085] 可选地,不同的授权界面请求将分配不同的标识符key。 [0085] Alternatively, different authorization request interface identifier assigning different key. 例如,以ABC网页为例,网页中包括D应用、F应用,不同应用的授权界面请求将会分配不同的标识符keyD、keyF。 For example, ABC Web page, for example, a web page including the application D, F applications, the authorization requests of different interfaces for different applications will assign identifiers keyD, keyF.

[0086] 可选地,在本实施例中标识符分配的依据包括但不限于:时间戳。 [0086] Alternatively, in the present embodiment in accordance with identifier assignment embodiment include, without limitation: a timestamp.

[0087] 例如,以ABC网页为例,获取网页中D应用的授权界面请求为T时刻,若T时刻在有效的统计时段内,则为授权界面请求分配标识符key,且取值为1,指示授权认证请求不为重复的授权请求。 [0087] For example, in an example ABC page, the web page obtaining request authorization interface D is applied at time T, when T in the effective time period statistics, for the authorization request interface identifier assigned key, and a value of 1, authorization and authentication request indicating authorization request is not a repeat.

[0088] 通过本申请提供的实施例,基于不同的授权界面请求分配不同的标识符,可以有效地屏蔽重复授权,得到真正有效的授权统计信息。 [0088] Example embodiments provided by the present application, request different identifiers based on different authorization interface, can be effectively shielded authorization, authorization to obtain truly effective statistics.

[0089] 作为一种可选的方案,结合图6所示,接收在通过浏览器访问第三方网页时发送的授权界面请求之后,还包括: After [0089] As an optional embodiment, in conjunction with FIG. 6, receiving an authorization interface when accessing a third party transmitted by the web browser requests, further comprising:

[0090] S602,上报授权界面请求对应的授权请求统计信息。 [0090] S602, the interface corresponding to the request authorization reporting authorization request statistics.

[0091] 可选地,接收在通过浏览器访问第三方网页时发送的授权界面请求之后,将会向统计服务器上报授权界面请求对应的授权请求统计信息。 [0091] Optionally, after receiving a request sent through the authorization interface to access third-party Web browser, will be submitted to the authorization request interface corresponding authorization request statistics to statistics server.

[0092] 可选地,在本实施例中授权统计信息包括但不限于:授权请求量。 Amount authorization request: [0092] Alternatively, the authorization embodiment statistical information including but not limited to the present embodiment. 其中,接收到通过浏览器访问第三方网页时发送的授权界面请求之后,授权请求量Q将增加1,即Q=Q+1。 Wherein, after receiving the request sent by the authorization interface web browser to access the third party, the authorization request to increase the amount of Q 1, i.e. Q = Q + 1.

[0093] 例如,以访问ABC网页为例,接收到网页中D应用的授权界面请求之后,会上报授权界面请求对应的授权请求统计信息,其中,在此次授权界面请求之前的授权请求量为Qo,则接收到此次授权界面请求后,上报的授权请求统计信息指示授权请求量为Q=Q〇+l。 [0093] For example, to access the ABC Web page, for example, after receiving the authorization request page D interface application, the interface will report authorization request corresponding authorization request statistical information, wherein the amount of the authorization request before the request is authorized to interface after Qo of, the interface receives the authorization request, the authorization request to report statistical information indicating an amount of the authorization request Q〇 Q = + l.

[0094] 通过本申请提供的实施例,统计上报授权界面请求对应的授权请求量,可以方便记录用户的访问请求次数。 [0094] Example embodiments provided by the present application, the interface statistic reporting authorization request quantity corresponding to the request authorization, the user can easily record the number of access requests.

[0095] 作为一种可选的方案,上报授权认证请求对应的有效授权统计信息包括:上报授权认证请求对应的有效授权统计信息,其中,有效授权统计信息用于指示有效授权量增加1〇 [0095] As an alternative embodiment, the authentication request authorization report statistical information corresponding to the valid authority comprises: reporting authorization and authentication information corresponding to the request is valid authorization statistics, wherein statistical information indicating a valid authorization valid authorization increased 1〇

[0096] 可选地,判断得出缓存信息中的标识符的取值指示授权认证请求不为重复的授权请求,则上报授权认证请求对应的有效授权统计信息,其中有效授权统计信息用于指示有效授权量P增加1,即P=P+1。 [0096] Alternatively, determining the value obtained indicates authorization and authentication information in the cache request identifier is not repeated authorization requests, authorization and authentication request to report the statistical information corresponding to the valid authority, wherein the statistical information indicating valid authorization authorized effective amount P 1 increases, i.e., P = P + 1.

[0097] 例如,以访问ABC网页为例,接收到网页中D应用的授权认证请求之后,会上报授权认证请求对应的有效授权统计信息,其中,在此次授权认证请求之前的有效授权量为Po,则接收到此次授权认证请求后,上报的有效授权统计信息指示有效授权量为Ρ=Ρ〇+1。 [0097] For example, to access the ABC Web page, for example, the authentication request after receiving the authorization page D application, will report the authentication request authorization valid authorization information corresponding to the statistics, which in an effective amount prior to the authorization request to the certification authority after the PO, then the received the authentication authorization request, the reported statistical information indicating a valid authorization authorization effective amount Ρ〇 Ρ = + 1.

[0098] 通过本申请提供的实施例,统计上报授权认证请求对应的有效授权量,可以准确计算用户流失率。 [0098] Example embodiments provided by the present application, the authentication request authorization statistic reporting authorization amount corresponding to an effective, can accurately calculate the churn.

[0099] 作为一种可选的方案,如图7所示,在上报授权认证请求对应的有效授权统计信息之后,还包括: [0099] As an alternative embodiment, shown in Figure 7, after the authorization request is valid certification authority reports the statistical information in, further comprising:

[0100] S702,根据授权请求统计信息对授权请求量进行更新,并根据有效授权统计信息对有效授权量进行更新; [0100] S702, according to the authorization request to the authorization request statistics updating amount, and an effective amount of authorized valid license is updated according to statistical information;

[0101] 可选地,基于上述步骤,可以根据授权请求统计信息,有效授权统计信息,得到更新后的授权请求量Q,有效授权量P,进而实现授权信息的有效统计。 [0101] Alternatively, the above step, the authorization may be requested in accordance with statistical information, statistical information valid authorization, the authorization update request amount Q, an effective amount authorized P, thus achieving statistically valid authorization information.

[0102] S704,按照更新后的有效授权量P和更新后的授权请求量Q计算用户流失率r。 [0102] S704, the license according to the updated valid authorization amount P calculated and update requests churn rate Q r.

[0103] 可选地,利用更新后的有效授权量P和更新后的授权请求量Q来计算用户流失率r, 其中,r= (QP)/Q。 [0103] Alternatively, an effective amount of the authorized use of the updated P update request and authorization amount Q calculated churn r, where, r = (QP) / Q.

[0104] 例如,以访问ABC网页为例,对网页中D应用进行授权界面请求及授权认证请求,得到更新后的有效授权量P为1500,更新后的授权请求量Q为2000,则用户流失率r= (QP)/Q, 艮Pr= (2000-1500) /2000=0.25。 [0104] For example, to access the ABC Web page, for example, on page D interface applications authorization request and an authorization authentication request, to obtain authorization effective amount of P is updated 1500, the license update request amount Q of 2000, the churn ratio r = (QP) / Q, Burgundy Pr = (2000-1500) /2000=0.25.

[0105] 通过本申请提供的实施例,利用动态标识符,屏蔽了重复授权,基于授权请求量及有效授权量的统计,实现了对用户流失率的有效统计。 [0105] provided by embodiments of the present application, dynamic identifier, shielding authorization, the authorization request based on the amount of valid authorization and volume statistics, to achieve an effective churn rate statistics.

[0106] 作为一种优选的方案,上述授权统计信息的上报界面如图8 (a) - (c)所示,包括: [0106] As a preferred embodiment, the boundary of the authorization report statistical information shown in FIG 8 (a) - (c), comprises:

[0107] 如图8 (a)所示为第三方网页,例如ABC网页,网页中包括多个应用对应的应用标识,例如,微博和微信。 [0107] FIG. 8 (a) shows the third-party website, such as ABC Web page, the web page comprising a plurality of applications corresponding to the application identification, e.g., Twitter, and micro-channel. 当用户点击应用,即发出授权界面请求,认证服务器将返回授权界面信息及标识符keyi=l,指示为首次授权请求,同时授权请求量加1。 When the user clicks the application, authorization interface request is issued, the authentication server returns the authorization information and interface identifier keyi = l, indicating authorization request for the first time, while adding an amount of an authorization request. 如图8 (b)所示为授权界面,界面提示输入“账号”、“密码”,当用户点击“确定”,即发出授权认证请求,其中授权认证请求包括缓存信息(包括标识符keyi=l)及所需认证信息,认证服务器将判断缓存信息中的标识符keyi的取值是否指示重复授权,若不为重复请求,将指示有效授权量加1,并将1^71取值设为第二值keyi=0,指示已经有效授权,同时返回有效授权成功及标识符keyi=0。 FIG 8 (b) shows the authorization interface, the interface prompts "account number", "password", when the user clicks "OK", the authentication request is issued authorization, wherein the authorization request includes a cache authentication information (including an identifier keyi = l ) and the required authentication information, the server determines the identifier of the cache information indicates whether the value keyi authorization, if it is a repeat request, indicating the amount of valid authorization plus 1, and the set of values ​​1 ^ 71 binary keyi = 0, indicating completion of a valid authorization, and authorization is successful and returns a valid identifier keyi = 0. 如图8 (c)所示为有效授权成功。 FIG 8 (c) shows a valid authorization success.

[0108] 作为另一种优选的方案,结合图8⑹-(c)所示,包括: [0108] As another preferred embodiment, in conjunction with FIG 8⑹- (c), comprises:

[0109] 当授权成功后,回退至授权界面,重新点击“确定”,即再次发出授权认证请求,浏览器的缓存信息中的标识符已经更新为keyi=0,指示已经有效授权成功,此次授权认证为重复授权认证,则所统计的有效授权量将不再增加。 [0109] When the authorization is successful, falling back authorization interface, again click "OK", authorization and authentication request is issued again, the browser's cache information identifier has been updated to keyi = 0, indicating a valid license has been successful, times to repeat authorization and authentication authorization and authentication, authorization effective amount then the statistics will not increase.

[0110] 通过本申请提供的实施例,利用动态标识符,屏蔽了重复授权,基于授权请求量及有效授权量的统计,实现了对用户流失率的有效统计。 [0110] provided by embodiments of the present application, dynamic identifier, shielding authorization, the authorization request based on the amount of valid authorization and volume statistics, to achieve an effective churn rate statistics.

[0111] 需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。 [0111] Incidentally, the foregoing embodiments of the methods for, for ease of description, it is described as a series combination of actions, those skilled in the art should understand that the present invention is not described in the operation sequence It limited since according to the present invention, some steps may be performed simultaneously or in other sequences. 其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必须的。 Secondly, those skilled in the art should also understand that the embodiments are described in the specification are exemplary embodiments, the operation involved is not necessarily required by the present invention.

[0112] 实施例2 [0112] Example 2

[0113] 根据本发明实施例,还提供了一种用于实施上述授权统计信息上报的装置,如图9 所示,该装置包括: [0113] According to the present invention, there is also provided an apparatus for implementing the above statistical information reported by the authorization, shown in Figure 9, the apparatus comprising:

[0114] (1)第一接收单元902,用于接收在通过浏览器访问第三方网页时发送的授权认证请求,其中,授权认证请求用于对第三方网页上显示的应用标识对应的应用进行授权,授权认证请求携带浏览器的缓存信息和授权所需的认证信息; [0114] (1) a first receiving unit 902 for receiving an authentication request by authorizing the third party's web browser access, wherein the request for authorization and authentication application identifier corresponding to the application display on third party web pages authorization, authorization and authentication request carries the authentication information and authorization required for caching information browser;

[0115] 可选地,用户可以在终端上的浏览器访问第三方网页(例如,视频网页、新闻网页),在浏览器上弹出的授权请求界面上输入授权所需的认证信息,然后,在授权认证请求中携带上述认证信息以及浏览器的缓存信息,并将该授权认证请求发送给相应的接收方。 [0115] Alternatively, the user can access third-party web browser (for example, video page, news pages) on the terminal, enter the authentication information required to authorize the interface in the browser pop-authorization request, and then, in authorization and authentication request carries the information of the authentication information and the cached browser, and the authorization authentication request to the corresponding receiver. 在本实施例中,可选地,上述接收方可以为但不限于:用于管理上述应用标识对应的应用(例如,微博或微信等)的服务器。 In the present embodiment, alternatively, that only the reception but not limited to: a server administration application (e.g., a micro-blog or micro-channel, etc.) corresponding to the above-described application identification.

[0116] 可选地,该授权请求界面可以由用于管理上述应用标识对应的应用(例如,微博或微信等)的服务器推送给上述终端的浏览器;用户在该授权请求界面上输入上述认证信息, 例如,包括:账户名和密码。 [0116] Alternatively, the authorization request interface may be used by the server for managing the applications corresponding to the application identifier (e.g., a micro-blog or micro-channel, etc.) pushed to the browser of the terminal; on the user input to the authorization request interface authentication information, for example, include: account name and password.

[0117] 可选地,上述第三方网页可以包括但不限于以下之一:视频网页、新闻网页。 [0117] Optionally, the third party web page may include but is not limited to one of the following: video page, news pages. 可选地,上述缓存信息包括但不限于:cookie信息,其中,cookie信息记录了历史浏览信息。 Optionally, the cache information include, but are not limited to: cookie information, which, cookie information recorded history browsing information.

[0118] 可选地,在本实施例中第三方网页中的应用标识包括但不限于以下至少之一:微博图标或微信图标。 Twitter icon or icons micro channel: [0118] Alternatively, the application identifier in the present embodiment, third party web pages include but are not limited to at least one embodiment.

[0119] (2)判断单元904,用于判断缓存信息中的标识符的取值是否指示授权认证请求为重复的授权请求; [0119] (2) determination unit 904, for determining the value of the cache information identifier indicates whether the authorization request is a repeat of the authentication authorization request;

[0120] 可选地,在本实施例中缓存信息中包括但不限于:标识符(例如,key),该标识符的取值可以用来指示授权认证请求是否为重复的授权请求。 [0120] Alternatively, in the present embodiment, the cache information include but are not limited to: an identifier (e.g., Key), the value of the identifier may be used to indicate authorization and authentication request is a duplicate request for authorization.

[0121] 可选地,在本实施例中标识符key的分配依据包括但不限于:当前系统时间戳。 [0121] Alternatively, in accordance with the present embodiment, the identifier key distribution embodiment include but are not limited to: the current system time stamp.

[0122] (3)上报单元906,用于在标识符的取值指示授权认证请求为重复的授权请求时, 不上报授权认证请求对应的有效授权统计信息;在标识符的取值指示授权认证请求不为重复的授权请求时,上报授权认证请求对应的有效授权统计信息。 [0122] (3) reporting unit 906, for indicating when the value in the authorization and authentication request is a duplicate identifier authorization requests, authorization and authentication request does not report the statistical information in the valid authorization; value indicative of the certification authority identifier when the request is not a repeat request for authorization, authorization authentication request to report statistical information corresponding to the valid authority.

[0123] 可选地,当判断得出上述标识符key的取值为0,即指示授权认证请求为重复的授权请求,则不上报授权认证请求对应的有效授权统计信息。 [0123] Alternatively, when the value obtained above is determined key identifier is 0, i.e., repeating the authentication request indicating authorization of the authorization requests, authorization and authentication request report is not valid authorization information corresponding to the statistics.

[0124] 例如,以访问ABC网页为例,根据接收到通过浏览器访问网页发送授权认证请求的时间戳设定标识符key,当判断key的取值为0,则指示授权认证请求重复,不上报与授权认证请求对应的有效授权统计信息。 [0124] For example, to access the ABC Web page, for example, key set identifier according to the transmission time stamp received authentication authorization visit Web browser request, when the determination key value is 0, it indicates that the authentication request authorization duplicated, reporting and authorization authentication request valid authorization corresponding statistics.

[0125] 可选地,当判断得出上述标识符key的取值1,即指示授权认证请求为不重复的授权请求,则上报授权认证请求对应的有效授权统计信息。 [0125] Alternatively, when the determined value of the above obtained key identifier is 1, i.e., the authentication request indicating authorization of the authorization request is not repeated, the authentication request authorization report statistical information corresponding to the valid authority.

[0126] 例如,以访问ABC网页为例,根据接收到通过浏览器访问网页发送授权认证请求的时间戳设定标识符key,当判断key取值为1,则指示授权认证请求不重复,上报与授权认证请求对应的有效授权统计信息。 [0126] For example, to access the ABC Web page, for example, key set identifier according to the transmission time stamp received authentication authorization visit Web browser request, when it is determined key value of 1, it indicates that the authentication request authorization will not be repeated, report a valid license statistical information corresponding to the authentication request authorization.

[0127] 通过本申请提供的实施例,利用标识符的取值判断是否为重复的授权认证请求, 从而屏蔽了重复授权实现了准确上报信息的效果。 [0127] Example judgment value using the identifier provided by the present application is a duplicate request authorization authentication, authorization repeated so that the shield effect is achieved accurate reporting information.

[0128] 作为一种可选的方案,如图10所示,该装置还包括: [0128] As an alternative embodiment, shown in Figure 10, the apparatus further comprising:

[0129] (1)第二接收单元1002,用于在第一接收单元接收在通过浏览器访问第三方网页时发送的授权认证请求之前,接收在通过浏览器访问第三方网页时发送的授权界面请求; [0129] (1) a second receiving unit 1002, an interface for receiving an authorization before granting access authentication request sent by the third party web browser when accessing receives the transmitted third party web browser in the first receiving unit request;

[0130] 可选地,在接收在通过浏览器访问第三方网页时发送的授权认证请求之前,会接收通过浏览器访问第三方网页时发送的授权界面请求。 [0130] Optionally, prior to receiving authorization authentication request sent during a visit to third-party web browser, will receive authorization to access third-party interface to send the request via a web browser. 例如,以访问ABC网页为例,接收通过浏览器访问ABC网页时,对网页中D应用的授权认证请求之前,会先接收到对网页中D应用的授权界面请求。 For example, to access the ABC website, for example, when receiving an access ABC web browser, before granting certification request for a Web page D applications, you will first received authorization application interface pages D request.

[0131] (2)分配单元1004,用于为授权界面请求分配标识符,并将标识符的取值设置为第一值,其中,第一值用于指示授权认证请求不为重复的授权请求; [0131] (2) assignment unit 1004 configured to assign the value setting request authorization interface identifier, and the identifier is a first value, wherein a first value for indicating the authentication request is not authorized authorization request repeat ;

[0132] 可选地,接收到授权界面请求Rl后,为授权界面请求Rl分配标识符keyi;然后,将标识符keyi的取值设置为第一值,例如,keyi=l,表示第一值用于指示授权认证请求不为重复的授权请求。 [0132] Alternatively, after receiving the authorization request interface Rl, Rl allocation request is authorized to interface identifier keyi; then, the value of the identifier keyi set to a first value, e.g., keyi = l, represented by a first value for indicating authentication request is not authorized authorization request is a duplicate.

[0133] (3)第一发送单元1006,用于向浏览器发送授权界面请求对应的授权界面信息和取值为第一值的标识符。 [0133] (3) a first sending unit 1006, configured to send the authorization to the interface of the browser interface information corresponding to the request and the authorization identifier value is a first value.

[0134] 可选地,向上述浏览器发送与授权界面请求相对应的授权界面信息及取值为第一值的标识符keyi。 [0134] Alternatively, the browser sends a request to the interface corresponding to the authorization information and authorizing the interface identifier value is a first value keyi. 例如,以访问ABC网页为例,接收到对网页中D应用的授权界面请求之后, 向上述访问浏览器发送与D应用授权界面请求相应的授权界面信息及取值为第一值的标识符keyi〇 For example, to access the ABC Web page, for example, after receipt of a page request authorization application D interface, the interface information corresponding to the request and authorization to the values ​​of the browser to access the authorization interface sends a first D value identifier keyi 〇

[0135] 通过本申请提供的实施例,为了屏蔽重复授权而设置标识符,进而提高了上报信息的准确性。 [0135] Example embodiments provided by the present application, in order to shield repeat the authorization identifier is provided, thereby improving the accuracy of the reported information.

[0136] 作为一种可选的方案,如图11所示,该装置还包括: [0136] As an alternative embodiment, shown in Figure 11, the apparatus further comprising:

[0137] (1)第二发送单元1102,用于在上报单元906上报授权认证请求对应的有效授权统计信息之后,向浏览器发送取值为第二值的标识符,其中,第二值用于指示授权认证请求为重复的授权请求。 [0137] (1) a second sending unit 1102, configured to, after reporting unit 906 reports the valid authorization request authorization and authentication information corresponding to the statistics, the browser sends the value of the second identifier value, wherein the second value It indicates authorization request is a repeat of the authentication authorization request.

[0138] 可选地,在上报授权认证请求对应的有效授权统计信息之后,将标识符keyi的取值从第一值(例如,key 1=1)修改为第二值(例如,key 1=0),用于指示授权认证请求为重复的授权请求,并将取值为第二值的标识符(keyi=0)发送回浏览器。 [0138] Alternatively, after the authorization request is valid certification authority reports statistics information corresponding to the value of the identifier keyi from a first value (e.g., key 1 = 1) to a second modified value (e.g., key 1 = 0), for indicating the authorization request is a repeat authentication authorization request, and the value of the second identifier value (keyi = 0) is sent back to the browser.

[0139] 例如,以访问ABC网页为例,在获取ABC网页中D应用的有效授权统计信息之后,将标识符keyi的取值从1修改为0,从而指示授权认证请求为重复的授权请求,并将keyi=0发送回浏览器。 [0139] For example, to access the ABC Web page, for example, after acquiring the application ABC D valid authorization page statistics, the value of the identifier keyi modified from 1 to 0, thereby indicating that the authentication request is authorized to duplicate the authorization request, and keyi = 0 is sent back to the browser.

[0140] 作为一种优选的方式,当授权认证成功后,用户通过浏览器回退至授权界面,重新发起授权认证请求,请求中携带的浏览器的缓存信息(包括标识符keyi=0),认证服务器接收到标识符keyi=0,获知已经有效授权成功,此次授权认证为重复请求,将不再上报有效授权统计信息。 [0140] As a preferred embodiment, after the successful authorization and authentication, user authorization fall back through a browser interface, re-initiates an authentication request authorization, the information carried in the request cache browser (including an identifier keyi = 0), the authentication server receives an identifier keyi = 0, has been informed of the effective authorization is successful, the certification authority for the repeat request, will no longer be valid authorization to report statistics.

[0M1]通过本申请提供的实施例,标识符取第二值,用于提示之后的授权认证请求均为重复请求,从而屏蔽了重复授权,可以更好地实现记录有效的授权统计信息。 [0M1] provided by embodiments of the present application, the second identifier value is taken for subsequent cue request authorization and authentication requests are repeated, thereby shielding the double authorization, be better achieved valid authorization record statistics.

[0142] 作为一种可选的方案,如图12所示,上述分配单元1004包括: [0142] As an alternative embodiment, shown in Figure 12, the distribution unit 1004 comprises:

[0143] (1)分配子模块1202,用于为不同的授权界面请求分配不同的标识符。 [0143] (1) allocation sub-module 1202, an identifier for requesting allocation of different interfaces for different authorization.

[0144] 可选地,不同的授权界面请求将分配不同的标识符key。 [0144] Alternatively, different authorization request interface identifier assigning different key. 例如,以ABC网页为例,网页中包括D应用、F应用,不同应用的授权界面请求将会分配不同的标识符keyD、keyF。 For example, ABC Web page, for example, a web page including the application D, F applications, the authorization requests of different interfaces for different applications will assign identifiers keyD, keyF.

[0145] 可选地,在本实施例中标识符分配的依据包括但不限于:时间戳。 [0145] Alternatively, in the present embodiment in accordance with identifier assignment embodiment include, without limitation: a timestamp.

[0146] 例如,以ABC网页为例,获取网页中D应用的授权界面请求为T时刻,若T时刻在有效的统计时段内,则为授权界面请求分配标识符key,且取值为1,指示授权认证请求不为重复的授权请求。 [0146] For example, in an example ABC page, the web page obtaining request authorization interface D is applied at time T, when T in the effective time period statistics, for the authorization request interface identifier assigned key, and a value of 1, authorization and authentication request indicating authorization request is not a repeat.

[0147] 通过本申请提供的实施例,基于不同的授权界面请求分配不同的标识符,可以有效地屏蔽重复授权,得到真正有效的授权统计信息。 [0147] Example embodiments provided by the present application, request different identifiers based on different authorization interface, can be effectively shielded authorization, authorization to obtain truly effective statistics.

[0148] 作为一种可选的方案,如图13所示,该上报单元906还包括: [0148] As an optional embodiment shown in Figure 13, the reporting unit 906 further comprises:

[0149] (1)第一上报模块1302,用于第二接收单元1002接收在通过浏览器访问第三方网页时发送的授权界面请求之后,上报授权界面请求对应的授权请求统计信息,其中,授权请求统计信息用于指示授权请求量增加1。 [0149] (1) a first reporting module 1302, a second receiving unit 1002 receives the request after transmission through the interface authorized third party to access a web browser, an interface corresponding to the request authorization reporting authorization request statistical information, wherein the authorization request for statistical information indicating authorization request increased 1.

[0150] 可选地,接收在通过浏览器访问第三方网页时发送的授权界面请求之后,将会向统计服务器上报授权界面请求对应的授权请求统计信息。 [0150] Optionally, after receiving a request sent through the authorization interface to access third-party Web browser, will be submitted to the authorization request interface corresponding authorization request statistics to statistics server.

[0151] 可选地,在本实施例中授权统计信息包括但不限于:授权请求量。 Amount authorization request: [0151] Alternatively, the authorization embodiment statistical information including but not limited to the present embodiment. 其中,接收到通过浏览器访问第三方网页时发送的授权界面请求之后,授权请求量Q将增加1,即Q=Q+1。 Wherein, after receiving the request sent by the authorization interface web browser to access the third party, the authorization request to increase the amount of Q 1, i.e. Q = Q + 1.

[0152] 例如,以访问ABC网页为例,接收到网页中D应用的授权界面请求之后,会上报授权界面请求对应的授权请求统计信息,其中,在此次授权界面请求之前的授权请求量为Qo,则接收到此次授权界面请求后,上报的授权请求统计信息指示授权请求量为Q=Q〇+l。 [0152] For example, to access the ABC Web page, for example, after receiving the authorization request page D interface application, the interface will report authorization request corresponding authorization request statistical information, wherein the amount of the authorization request before the request is authorized to interface after Qo of, the interface receives the authorization request, the authorization request to report statistical information indicating an amount of the authorization request Q〇 Q = + l.

[0153] 通过本申请提供的实施例,统计上报授权界面请求对应的授权请求量,可以方便记录用户的访问请求次数。 [0153] Example embodiments provided by the present application, the interface statistic reporting authorization request quantity corresponding to the request authorization, the user can easily record the number of access requests.

[0154] 作为一种可选的方案,如图14所示,上述上报单元906包括: [0154] As an alternative embodiment, shown in Figure 14, the above-described reporting unit 906 comprises:

[0155] (1)第二上报模块1402,用于在标识符的取值指示授权认证请求不为重复的授权请求时,上报授权认证请求对应的有效授权统计信息,其中,有效授权统计信息用于指示有效授权量增加1。 [0155] (1) a second reporting module 1402, an identifier value for the authentication request indicating authorization is not repeated authorization request, the authorization report the authentication request valid authorization information corresponding to the statistics, wherein statistical information valid authorization to indicate a valid authorization to increase the amount of 1.

[0156] 可选地,判断得出缓存信息中的标识符的取值指示授权认证请求不为重复的授权请求,则上报授权认证请求对应的有效授权统计信息,其中有效授权统计信息用于指示有效授权量P增加1,即p=p+l。 [0156] Alternatively, determining the value obtained indicates authorization and authentication information in the cache request identifier is not repeated authorization requests, authorization and authentication request to report the statistical information corresponding to the valid authority, wherein the statistical information indicating valid authorization authorized effective amount P 1 increases, i.e., p = p + l.

[0157] 例如,以访问ABC网页为例,接收到网页中D应用的授权认证请求之后,会上报授权认证请求对应的有效授权统计信息,其中,在此次授权认证请求之前的有效授权量为Po,则接收到此次授权认证请求后,上报的有效授权统计信息指示有效授权量为Ρ=Ρ〇+1。 [0157] For example, to access the ABC Web page, for example, the authentication request after receiving the authorization page D application, will report the authentication request authorization valid authorization information corresponding to the statistics, which in an effective amount prior to the authorization request to the certification authority after the PO, then the received the authentication authorization request, the reported statistical information indicating a valid authorization authorization effective amount Ρ〇 Ρ = + 1.

[0158] 通过本申请提供的实施例,统计上报授权认证请求对应的有效授权量,可以准确计算用户流失率。 [0158] Example embodiments provided by the present application, the authentication request authorization statistic reporting authorization amount corresponding to an effective, can accurately calculate the churn.

[0159] 作为一种可选的方案,如图15所示,该装置还包括: [0159] As an alternative embodiment, shown in Figure 15, the apparatus further comprising:

[0160] (1)更新单元1502,用于根据授权请求统计信息对授权请求量进行更新,并根据有效授权统计信息对有效授权量进行更新; [0160] (1) updating unit 1502, a request for authorization according to the statistical information to update the authorization request amount, and an effective amount of authorized valid license is updated according to statistical information;

[0161] 可选地,基于上述步骤,可以根据授权请求统计信息,有效授权统计信息,得到更新后的授权请求量Q,有效授权量P,进而实现授权信息的有效统计。 [0161] Alternatively, the above step, the authorization may be requested in accordance with statistical information, statistical information valid authorization, the authorization update request amount Q, an effective amount authorized P, thus achieving statistically valid authorization information.

[0162] (2)计算单元1504,用于按照更新后的有效授权量P和更新后的授权请求量Q计算用户流失率r,其中,r= (QP) /Q。 [0162] (2) calculation unit 1504, in accordance with the authorization for the authorized amount effective updated P calculate and update requests churn rate Q r, where, r = (QP) / Q.

[0163] 可选地,利用更新后的有效授权量P和更新后的授权请求量Q来计算用户流失率r, 其中,r= (QP)/Q。 [0163] Alternatively, an effective amount of the authorized use of the updated P update request and authorization amount Q calculated churn r, where, r = (QP) / Q.

[0164] 例如,以访问ABC网页为例,对网页中D应用进行授权界面请求及授权认证请求,得到更新后的有效授权量P为1500,更新后的授权请求量Q为2000,则用户流失率r= (QP)/Q, 艮Pr= (2000-1500) /2000=0.25。 [0164] For example, to access the ABC Web page, for example, on page D interface applications authorization request and an authorization authentication request, to obtain authorization effective amount of P is updated 1500, the license update request amount Q of 2000, the churn ratio r = (QP) / Q, Burgundy Pr = (2000-1500) /2000=0.25.

[0165] 通过本申请提供的实施例,利用动态标识符,屏蔽了重复授权,基于授权请求量及有效授权量的统计,实现了对用户流失率的有效统计。 [0165] provided by embodiments of the present application, dynamic identifier, shielding authorization, the authorization request based on the amount of valid authorization and volume statistics, to achieve an effective churn rate statistics.

[0166] 上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。 Embodiment [0166] The present invention No. merely for description, the embodiments do not represent the merits embodiment.

[0167] 在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。 [0167] In the above embodiment of the present invention, the description of the various embodiments have different emphases, certain embodiments not detailed in part, be related descriptions in other embodiments.

[0168] 所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 [0168] The unit described as separate components may be or may not be physically separate, parts displayed as units may be or may not be physical units, i.e. may be located in one place, or may be distributed to a plurality of networks unit. 可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 You can select some or all of the units according to actual needs to achieve the object of the solutions of the embodiments.

[0169] 以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 [0169] The above are only preferred embodiments of the present invention, it should be noted that those of ordinary skill in the art, in the present invention without departing from the principles of the premise, can make various improvements and modifications, such modifications and modifications should also be regarded as the protection scope of the present invention.

Claims (14)

1. 一种授权统计信息的上报方法,其特征在于,包括: 接收在通过浏览器访问第三方网页时发送的授权认证请求,其中,所述授权认证请求用于对所述第三方网页上显示的应用标识对应的应用进行授权,所述授权认证请求携带所述浏览器的缓存信息和所述授权所需的认证信息; 判断所述缓存信息中的标识符的取值是否指示所述授权认证请求为重复的授权请求; 若所述标识符的取值指示所述授权认证请求为重复的授权请求,则不上报所述授权认证请求对应的有效授权统计信息;若所述标识符的取值指示所述授权认证请求不为重复的授权请求,则上报所述授权认证请求对应的有效授权统计信息。 CLAIMS 1. A method for reporting statistics authorization, characterized in that, comprising: receiving an authorization authentication request when accessing third party web browser, wherein the authorization request for authentication of the third party web pages displaying application corresponding to application identification authorized, the authorization and authentication information required for the authentication request carries the information of the browser cache and the authorization; determining the value of an identifier of the cache information indicating whether the authentication authorization repeat the request for the authorization request; value indicates if the authorization identifier of the authentication request is a duplicate of the authorization request, the authorization to report the authentication request is not valid authorization information corresponding to the statistics; if the value of the identifier indicating the authorization request is not a repeat of the authentication authorization request, the authorization and authentication request to report statistical information corresponding to the valid authority.
2. 根据权利要求1所述的方法,其特征在于,在接收在通过浏览器访问第三方网页时发送的授权认证请求之前,还包括: 接收在通过所述浏览器访问所述第三方网页时发送的授权界面请求; 为所述授权界面请求分配所述标识符,并将所述标识符的取值设置为第一值,其中,所述第一值用于指示所述授权认证请求不为重复的授权请求; 向所述浏览器发送所述授权界面请求对应的授权界面信息和取值为所述第一值的所述标识符。 2. The method according to claim 1, wherein, prior to receiving an authorization authentication request when accessing third party web browser, further comprising: receiving in the third party to access the web page through the browser authorization request sent by the interface; requesting allocation of the identifier of the authorization interface, the value is provided and the identifier is a first value, wherein the first value for indicating the authorization authentication request is not duplicate authorization request; send the authorization to the interface of the browser interface authorization information corresponding to the request and the value to the first value of the identifier.
3. 根据权利要求1所述的方法,其特征在于,在上报所述授权认证请求对应的有效授权统计信息之后,还包括: 向所述浏览器发送取值为第二值的所述标识符,其中,所述第二值用于指示所述授权认证请求为重复的授权请求。 After 3. The method of claim 1, wherein the statistical information in the authorization request is valid in the reporting authorization authentication further comprising: transmitting a second value of the identifier to the value of the browser wherein the second value for indicating the authorization request is a repeat authentication authorization request.
4. 根据权利要求2所述的方法,其特征在于,为所述授权界面请求分配所述标识符包括: 为不同的所述授权界面请求分配不同的所述标识符。 4. The method according to claim 2, wherein the authorization request allocation of said interface identifier comprises: requesting allocation of the different identifier different from the authorization interface.
5. 根据权利要求2所述的方法,其特征在于,所述接收在通过所述浏览器访问所述第三方网页时发送的授权界面请求之后,还包括: 上报所述授权界面请求对应的授权请求统计信息,其中,所述授权请求统计信息用于指示授权请求量增加1。 After 5. The method according to claim 2, characterized in that said receiving transmitted authorization interface when accessing the third party by the web browser request, further comprising: reporting the authorization interface corresponding to the request authorization statistical information request, wherein the authorization request for statistical information indicating a request for authorization increased.
6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述上报所述授权认证请求对应的有效授权统计信息包括: 所述上报所述授权认证请求对应的有效授权统计信息,其中,所述有效授权统计信息用于指示有效授权量增加1。 6. The method according to claim 5, characterized in that, the statistical information report valid authorization request to the authorization corresponding to the authentication comprises: reporting the valid authorization request to the authorization corresponding to the authentication Statistics information, wherein the statistical information is used to indicate a valid authorization valid authorization increased 1.
7. 根据权利要求6所述的方法,其特征在于,在所述上报所述授权认证请求对应的有效授权统计信息之后,还包括: 根据授权请求统计信息对所述授权请求量进行更新,并根据所述有效授权统计信息对所述有效授权量进行更新; 按照更新后的有效授权量P和更新后的授权请求量Q计算用户流失率r,其中,r= (QP)/Q。 7. The method according to claim 6, characterized in that, after reporting the valid authorization request to the authorization and authentication information corresponding to the statistics, further comprising: a statistics request for authorization according to the authorization request amount is updated, and the statistical information of the valid license authorizing said effective amount is updated; authorization request according to the updated valid authorization amount P and Q update amount calculation churn r, where, r = (QP) / Q.
8. —种授权统计信息的上报装置,其特征在于,包括: 第一接收单元,用于接收在通过浏览器访问第三方网页时发送的授权认证请求,其中, 所述授权认证请求用于对所述第三方网页上显示的应用标识对应的应用进行授权,所述授权认证请求携带所述浏览器的缓存信息和所述授权所需的认证信息; 判断单元,用于判断所述缓存信息中的标识符的取值是否指示所述授权认证请求为重复的授权请求; 上报单元,用于在所述标识符的取值指示所述授权认证请求为重复的授权请求时,不上报所述授权认证请求对应的有效授权统计信息;在所述标识符的取值指示所述授权认证请求不为重复的授权请求时,上报所述授权认证请求对应的有效授权统计信息。 8. - kind of authorization report statistical information apparatus, wherein, comprising: a first receiving unit for receiving an authentication request authorization to access the third-party webpage in a browser, wherein the authentication request for authorization the third party application identifier corresponding to an application displayed on a web page authorization, the authorization and authentication information required for the authentication request carries the information of the browser cache and the authorization; determining means for determining whether the cache information the value of the identifier indicates whether the authorization request is a repeat authentication authorization request; reporting unit, the authentication request for authorization to authorization repeat request identifier indicating the value of said, does not report the authorization authentication request valid authorization information corresponding to the statistics; when the authentication request is not authorized to request authorization to duplicate the identifier in the indication value, reporting the valid authorization authentication request authorization information corresponding to the statistics.
9. 根据权利要求8所述的装置,其特征在于,还包括: 第二接收单元,用于在所述第一接收单元接收在通过所述浏览器访问第三方网页时发送的所述授权认证请求之前,接收在通过所述浏览器访问所述第三方网页时发送的授权界面请求; 分配单元,用于为所述授权界面请求分配所述标识符,并将所述标识符的取值设置为第一值,其中,所述第一值用于指示所述授权认证请求不为重复的授权请求; 第一发送单元,用于向所述浏览器发送所述授权界面请求对应的授权界面信息和取值为所述第一值的所述标识符。 9. The apparatus according to claim 8, characterized in that, further comprising: a second receiving means for receiving the first unit receives the authorization and authentication transmitted by the third party access to the web browser before requesting authorization interface transmission and reception at the access by the third party web browser requests; allocating unit configured to allocate the authorization request to the interface identifier and the identifier value is provided a first value, wherein said first value indicative of the authorization request for authorization authentication request is not repeated; first sending unit, configured to send the authorization to the browser interface information corresponding to the request authorization interface and the value of the first identifier value.
10. 根据权利要求8所述的装置,其特征在于,还包括: 第二发送单元,用于在所述上报单元上报所述授权认证请求对应的有效授权统计信息之后,向所述浏览器发送取值为第二值的所述标识符,其中,所述第二值用于指示所述授权认证请求为重复的授权请求。 10. The apparatus according to claim 8, characterized in that, further comprising: a second sending unit for, after the reporting unit to report statistical information valid authorization request to the authorization corresponding to the authentication, sending to the browser the value of the second identifier value, wherein the second value for indicating the authorization request is a repeat authentication authorization request.
11. 根据权利要求9所述的装置,其特征在于,所述分配单元包括: 分配子模块,用于为不同的所述授权界面请求分配不同的所述标识符。 11. The apparatus according to claim 9, wherein said dispensing unit comprises: allocation sub-module, configured to request different allocation of the identifier of the authorization for different interface.
12. 根据权利要求9所述的装置,其特征在于,所述上报单元包括: 第一上报模块,用于所述第二接收单元接收在通过所述浏览器访问所述第三方网页时发送的授权界面请求之后,上报所述授权界面请求对应的授权请求统计信息,其中,所述授权请求统计信息用于指示授权请求量增加1。 12. The apparatus according to claim 9, wherein the reporting unit comprises: a first reporting module, the second receiving unit for receiving the transmission in the third party to access the web page through the browser after the request for authorization interface, the interface to report the authorization request corresponding authorization request statistics, wherein statistical information for the authorization request indicating authorization request 1 increased.
13. 根据权利要求8至12中任一项所述的装置,其特征在于,所述上报单元包括: 第二上报模块,用于在所述标识符的取值指示所述授权认证请求不为重复的授权请求时,上报所述授权认证请求对应的有效授权统计信息,其中,所述有效授权统计信息用于指示有效授权量增加1。 8 to 12 13. The apparatus according to any one of the preceding claims, wherein the reporting unit comprises: a second reporting module, configured to indicate the value of the identifier of the authentication request is not authorized repeated authorization request, the authorization and authentication request to report statistical information corresponding to the valid authority, wherein the statistical information is used to indicate a valid authorization valid authorization increased 1.
14. 根据权利要求13所述的装置,其特征在于,还包括: 更新单元,用于根据授权请求统计信息对所述授权请求量进行更新,并根据所述有效授权统计信息对所述有效授权量进行更新; 计算单元,用于按照更新后的有效授权量P和更新后的授权请求量Q计算用户流失率r, 其中,r= (QP)/Q。 14. The apparatus according to claim 13, characterized in that, further comprising: an update unit configured to request the authorization of statistical information to the authorization request quantity is updated according to the statistical information valid license authorizing the active updating amount; calculating unit, in accordance with the authorization for the authorized amount effective updated P calculate and update requests churn rate Q r, where, r = (QP) / Q.
CN201310591348.8A 2013-11-20 2013-11-20 Reporting method and device authorization statistics CN104660560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310591348.8A CN104660560B (en) 2013-11-20 2013-11-20 Reporting method and device authorization statistics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310591348.8A CN104660560B (en) 2013-11-20 2013-11-20 Reporting method and device authorization statistics

Publications (2)

Publication Number Publication Date
CN104660560A CN104660560A (en) 2015-05-27
CN104660560B true CN104660560B (en) 2018-09-18

Family

ID=53251266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310591348.8A CN104660560B (en) 2013-11-20 2013-11-20 Reporting method and device authorization statistics

Country Status (1)

Country Link
CN (1) CN104660560B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7698735B2 (en) * 2002-03-15 2010-04-13 Microsoft Corporation Method and system of integrating third party authentication into internet browser code
US7930411B1 (en) * 1998-12-08 2011-04-19 Yodlee.Com, Inc. Network-based verification and fraud-prevention system
CN102082800A (en) * 2011-01-28 2011-06-01 浪潮(北京)电子信息产业有限公司 User request processing method and server
CN102821085A (en) * 2011-11-23 2012-12-12 腾讯科技(深圳)有限公司 Third party authorization login method, open platform and system
CN102916933A (en) * 2011-08-03 2013-02-06 腾讯科技(深圳)有限公司 Method and system for registration or login via third-party website

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930411B1 (en) * 1998-12-08 2011-04-19 Yodlee.Com, Inc. Network-based verification and fraud-prevention system
US7698735B2 (en) * 2002-03-15 2010-04-13 Microsoft Corporation Method and system of integrating third party authentication into internet browser code
CN102082800A (en) * 2011-01-28 2011-06-01 浪潮(北京)电子信息产业有限公司 User request processing method and server
CN102916933A (en) * 2011-08-03 2013-02-06 腾讯科技(深圳)有限公司 Method and system for registration or login via third-party website
CN102821085A (en) * 2011-11-23 2012-12-12 腾讯科技(深圳)有限公司 Third party authorization login method, open platform and system

Also Published As

Publication number Publication date
CN104660560A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
US8132239B2 (en) System and method for validating requests in an identity metasystem
US7912762B2 (en) Customizable sign-on service
CN102346832B (en) Enhanced security for electronic communications
US9357247B2 (en) Apparatus and methods for content delivery and message exchange across multiple content delivery networks
US7924709B2 (en) Access control of resources using tokens
RU2524868C2 (en) Controlling user authentication
US8104074B2 (en) Identity providers in digital identity system
US6463533B1 (en) System for generating site-specific user aliases in a computer network
US7698442B1 (en) Server-based universal resource locator verification service
EP2383946B1 (en) Method, server and system for providing resource for an access user
US7788499B2 (en) Security tokens including displayable claims
US9430778B2 (en) Authenticating users for accurate online audience measurement
CN104350719B (en) Combined data service apparatus and method
US7793095B2 (en) Distributed hierarchical identity management
EP0844767B1 (en) User controlled browser
EP2314046B1 (en) Credential management system and method
US20070277235A1 (en) System and method for providing user authentication and identity management
US20060106802A1 (en) Stateless methods for resource hiding and access control support based on URI encryption
EP1521419A1 (en) Techniques for securing electronic identities
US20070219910A1 (en) Providing a limited use syndicated media to authorized users
US8819253B2 (en) Network message generation for automated authentication
DE60100317T2 (en) A method for providing customer access to a content-providing-server under control of a server resoursenlokalisierenden
US20060075122A1 (en) Method and system for managing cookies according to a privacy policy
KR20030091237A (en) User authentication method using user's e-mail address and hardware information
JP2000508153A (en) User authentication method of the general purpose of the network computer

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01