CN104660560B - Authorize the report method and device of statistical information - Google Patents
Authorize the report method and device of statistical information Download PDFInfo
- 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
- mandate
- request
- value
- statistical information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of report methods and device authorizing statistical information, wherein this method includes:Receive the authorization identifying request sent when by browser access third party's webpage, wherein, authorization identifying is asked for being authorized to the corresponding application of application identities shown on third party's webpage, the cache information and the authentication information needed for mandate that authorization identifying request carries browser;Judge the identifier in cache information value whether authorization by direction certification request for repeat authorization requests;If the value authorization by direction certification request of identifier is the authorization requests repeated, authorization identifying is not reported to ask corresponding effective mandate statistical information;If the value authorization by direction certification request of identifier is not the authorization requests repeated, authorization identifying is reported to ask corresponding effective mandate statistical information.The present invention solves user and authorizes repeatedly and lead to the technical problem for reporting information inaccuracy, has reached shielding repetitive endowment and has realized the technique effect for accurately reporting information.
Description
Technical field
The present invention relates to internet arenas, in particular to a kind of report method and device authorizing statistical information.
Background technology
The cooperation of internet manufacturer so that account intercommunication --- most of websites provide third party user and log in
Entrance, increased with obtaining number of users and the very fast of website traffic.In general, selecting third party login mode to obtaining from user
Login status, need there are one by user's operation mandate process.And in order to protect the safety of user account number, authorized window
Often limiting not allows to be embedded in iframe, can only be opened in a new page, user confirms authorize after then enter the
The page of tripartite website.
In order to monitor page PV amounts(Number of visits)And customer loss ratio, it usually needs to page access number, use
Family authorizes the data such as number to carry out statistical report, so as to the operation situation of monitoring business and help position there may be the problem of.
It is that front end calls CGI to report by embedded javascript codes in the page that currently used data statistics, which reports model, one
It is a typically to report code as follows:
CGI is called to be reported by giving an Image object that src attributes are arranged.However consider user with downlink
For:User is clicked and is logged in using account number, into mandate page(Access times+1), the third-party page is entered by mandate(It authorizes
Number+1), hereafter click and retreat, return to authorization page, and click and authorize again(Authorize number+1).In this process, it uses
The number statistics that family request is logged in using account number is 1, and it is 2 to authorize number statistics, and obtained statistical data is simultaneously unreliable.This
The appearance of kind of situation be primarily due to when user retracts browser will not the re-request page, but utilize the slow of last request
Deposit the page.
For above-mentioned problem, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of report methods and device authorizing statistical information, at least to solve user repeatedly
It authorizes and leads to the technical problem for reporting information inaccuracy.
One side according to the ... of the embodiment of the present invention provides a kind of report method authorizing statistical information, including:It receives
The authorization identifying request sent when by browser access third party's webpage, wherein authorization identifying is asked for third party
The corresponding application of application identities shown on webpage is authorized, and authorization identifying request carries cache information and the mandate of browser
Required authentication information;Judge the identifier in cache information value whether authorization by direction certification request for repeat mandate ask
It asks;If the value authorization by direction certification request of identifier is the authorization requests repeated, do not report authorization identifying request corresponding
Effectively authorize statistical information;If the value authorization by direction certification request of identifier is not the authorization requests repeated, mandate is reported
The corresponding effective mandate statistical information of certification request.
As a kind of optional scheme, asked receiving the authorization identifying sent when by browser access third party's webpage
Before asking, further include:Receive the mandate interface request sent when by browser access third party's webpage;To authorize interface to ask
It asks allocation identification to accord with, and sets the value of identifier to the first value, wherein the first value is used to indicate authorization identifying request and is not
The authorization requests repeated;The mark for authorizing that corresponding mandate interface information is asked at interface and value is the first value is sent to browser
Symbol.
It is also wrapped after reporting authorization identifying to ask corresponding effective mandate statistical information as a kind of optional scheme
It includes:The identifier that value is second value is sent to browser, wherein second value is used to indicate authorization identifying request and is awarded for what is repeated
Power request.
As a kind of optional scheme, include to authorize interface that allocation identification is asked to accord with:It is asked for different mandate interfaces
Distribute different identifiers.
As a kind of optional scheme, the mandate interface request sent when by browser access third party's webpage is received
Later, further include:It reports and interface is authorized to ask corresponding authorization requests statistical information, wherein authorization requests statistical information is used for
Authorization by direction request amount increases by 1.
As a kind of optional scheme, authorization identifying is reported to ask corresponding effective mandate statistical information to include:On publish teaching materials in the newspapers
Weigh the corresponding effective mandate statistical information of certification request, wherein effectively authorize statistical information to be used to indicate effective warrant quantity and increase
1。
It is also wrapped after reporting authorization identifying to ask corresponding effective mandate statistical information as a kind of optional scheme
It includes:Authorization requests amount is updated according to authorization requests statistical information, and authorizes statistical information to effectively authorizing according to effective
Amount is updated;Churn rate r is calculated according to updated effective warrant quantity P and updated authorization requests amount Q, wherein r
=(Q-P)/Q。
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of reporting device authorizing statistical information, including:The
One receiving unit, for receiving the authorization identifying sent when by browser access third party's webpage request, wherein mandate is recognized
For being authorized to the corresponding application of application identities shown on third party's webpage, authorization identifying request carries browsing for card request
The cache information and the authentication information needed for mandate of device;Judging unit, for judging that the value of the identifier in cache information is
No authorization by direction certification request is the authorization requests repeated;Reporting unit is asked for the value authorization by direction certification in identifier
When seeking the authorization requests to repeat, authorization identifying is not reported to ask corresponding effective mandate statistical information;In the value of identifier
When authorization by direction certification request is not the authorization requests repeated, authorization identifying is reported to ask corresponding effective mandate statistical information.
As a kind of optional scheme, which further includes:Second receiving unit, for being connect in the first receiving unit
It is received in before the authorization identifying request by being sent when browser access third party's webpage, reception is passing through browser access third
The mandate interface request sent when square webpage;Allocation unit, for authorize interface to ask allocation identification symbol, and by identifier
Value is set as the first value, wherein it is the authorization requests repeated that the first value, which is used to indicate authorization identifying request not,;First sends list
Member authorizes the identifier that corresponding mandate interface information is asked at interface and value is the first value for being sent to browser.
As a kind of optional scheme, which further includes:Second transmission unit, for being published teaching materials in the newspapers in reporting unit
After weighing the corresponding effective mandate statistical information of certification request, the identifier that value is second value is sent to browser, wherein the
Two-value is used to indicate authorization identifying request as the authorization requests repeated.
As a kind of optional scheme, allocation unit includes:Distribution sub module, for dividing for different mandate interface requests
With different identifiers.
As a kind of optional scheme, reporting unit includes:First reporting module is received for the second receiving unit logical
It crosses after the mandate interface request sent when browser access third party's webpage, reports and interface is authorized to ask corresponding authorization requests
Statistical information, wherein authorization requests statistical information is used to indicate authorization requests amount and increases by 1.
As a kind of optional scheme, reporting unit includes:Second reporting module is awarded for the value instruction in identifier
When power certification request is not the authorization requests repeated, authorization identifying is reported to ask corresponding effective mandate statistical information, wherein to have
Effect authorizes statistical information to be used to indicate effective warrant quantity increase by 1.
As a kind of optional scheme, which further includes:Updating unit, for according to authorization requests statistical information
Authorization requests amount is updated, and authorizes statistical information to be updated effective warrant quantity according to effective;Computing unit is used for
Churn rate r is calculated according to updated effective warrant quantity P and updated authorization requests amount Q, wherein r=(Q-P)/Q.
In embodiments of the present invention, using to interface ask distribution dynamic KEY and using caching detection in the way of, in fact
Shielding repetitive endowment realization is showed and has accurately reported the technique effect of information, and then has solved user and authorize repeatedly and cause to notify
Cease inaccurate technical problem.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the report method of optional mandate statistical information according to the ... of the embodiment of the present invention;
Fig. 2 is the flow chart of the report method of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Fig. 3 is the flow chart of the report method of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Fig. 4 is the flow chart of the report method of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Fig. 5 is the flow chart of the report method of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Fig. 6 is the flow chart of the report method of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Fig. 7 is the flow chart of the report method of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Fig. 8 is a kind of optional interface schematic diagram reported for authorizing statistical information according to the ... of the embodiment of the present invention;
Fig. 9 is a kind of schematic diagram of the reporting device of optional mandate statistical information according to the ... of the embodiment of the present invention;
Figure 10 is the schematic diagram of the reporting device of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Figure 11 is the schematic diagram of the reporting device of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Figure 12 is the schematic diagram of the reporting device of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Figure 13 is the schematic diagram of the reporting device of another optional mandate statistical information according to the ... of the embodiment of the present invention;
Figure 14 is the schematic diagram of the reporting device of another optional mandate statistical information according to the ... of the embodiment of the present invention;With
And
Figure 15 is the schematic diagram of the reporting device of another optional mandate statistical information according to the ... of the embodiment of the present invention.
Specific implementation mode
First, the part noun or term occurred during the embodiment of the present invention is described is suitable for following solution
It releases:
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive
Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product
Or the other steps or unit that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of report method authorizing statistical information is provided, as shown in Figure 1, this method packet
It includes:
S102 receives the authorization identifying request sent when by browser access third party's webpage, wherein authorization identifying
For being authorized to the corresponding application of application identities shown on third party's webpage, authorization identifying request carries browser for request
Cache information and authorize needed for authentication information;
Optionally, user can be in browser access third party's webpage in terminal(For example, video web-pages, News Network
Page), on the authorization requests interface popped up on a web browser input authorize needed for authentication information then asked in authorization identifying
The middle cache information for carrying above-mentioned authentication information and browser, and authorization identifying request is sent to corresponding recipient.
In the present embodiment, optionally, above-mentioned recipient can be but be not limited to:Corresponding application is identified for managing above application
(For example, microblogging or wechat etc.)Server.
Optionally, which can identify corresponding application by being used to manage above application(For example, microblogging or
Wechat etc.)Server push give the browser of above-mentioned terminal;User inputs above-mentioned authentication information on the authorization requests interface,
E.g., including:Account name and password.
Optionally, above-mentioned third party's webpage can include but is not limited to following one:Video web-pages, news web page.It is optional
Ground, above-mentioned cache information include but not limited to:Cookie information, wherein cookie information has recorded historical viewings information.
Optionally, the application identities in the present embodiment in third party's webpage include but not limited at least one of:It is micro-
Boyto mark or wechat icon.
S104, judge the identifier in cache information value whether authorization by direction certification request for repeat mandate ask
It asks;
Optionally, include but not limited in cache information in the present embodiment:Identifier(For example, key), the identifier
Value can be used to refer to whether authorization identifying request is the authorization requests repeated.
Optionally, the distribution foundation of identifier key includes but not limited in the present embodiment:Present system time stabs.
S106 does not report authorization identifying if the value authorization by direction certification request of identifier is the authorization requests repeated
Ask corresponding effective mandate statistical information;
Optionally, when judgement show that above-mentioned identifier key takes 0, i.e. authorization by direction certification request is the authorization requests repeated,
Authorization identifying is not reported then to ask corresponding effective mandate statistical information.
For example, for accessing ABC webpages, authorization identifying request is sent by browser access webpage according to receiving
Timestamp setting identification accords with key, when judging key values for 0, it indicates that authorization identifying asks repetition, does not report and authorization identifying
Ask corresponding effective mandate statistical information.
S108 reports authorization identifying if the value authorization by direction certification request of identifier is not the authorization requests repeated
Ask corresponding effective mandate statistical information.
Optionally, when judging to show that the value of above-mentioned identifier key is 1, i.e., authorization by direction certification request is unduplicated
Authorization requests then report authorization identifying to ask corresponding effective mandate statistical information.
For example, for accessing ABC webpages, authorization identifying request is sent by browser access webpage according to receiving
Timestamp setting identification accords with key, when the value for judging key is 1, it indicates that authorization identifying asks not repeat, and reports and recognizes with mandate
Card asks corresponding effective mandate statistical information.
By embodiment provided by the present application, determine whether that the authorization identifying repeated is asked using the value of identifier,
The accurate effect for reporting information is realized to shield repetitive endowment.
As a kind of optional scheme, as shown in Fig. 2, sent when by browser access third party's webpage in reception
Before authorization identifying request, further include:
S202 receives the mandate interface request sent when by browser access third party's webpage;
Optionally, it before receiving the authorization identifying sent when by browser access third party's webpage request, can connect
It receives and is asked by the mandate interface sent when browser access third party's webpage.For example, for accessing ABC webpages, receive logical
When crossing browser access ABC webpages, before the authorization identifying request applied to D in webpage, it can first receive and D in webpage is applied
Mandate interface request.
S204 to authorize interface to ask allocation identification symbol, and sets the value of identifier to the first value, wherein first
It is the authorization requests repeated that value, which is used to indicate authorization identifying request not,;
Optionally, it receives after authorizing interface request R1, to authorize interface that R1 allocation identifications is asked to accord with key1;Then, will
Identifier key1Value be set as the first value, for example, key1=1, indicate that the first value is used to indicate authorization identifying request and does not attach most importance to
Multiple authorization requests.
S206 sends the mark for authorizing that corresponding mandate interface information is asked at interface and value is the first value to browser
Symbol.
Optionally, it is first to send mandate interface information corresponding with interface request is authorized and value to above-mentioned browser
The identifier key of value1.For example, for accessing ABC webpages, after receiving the mandate interface request applied to D in webpage,
The mark for authorizing interface information and value is the first value corresponding with D application mandate interface requests is sent to above-mentioned access browser
Accord with key1。
By embodiment provided by the present application, identifier is set to shield repetitive endowment, and then improves and notify
The accuracy of breath.
As a preferred solution, in conjunction with Fig. 1-Fig. 3, the report method of above-mentioned mandate statistical information, including:
S300 accesses webpage.Optionally, user passes through third party's net on the browser access third server in terminal
Page, such as ABC webpages, wherein webpage includes the application identities of D applications.
S302, transmission authorize interface request.Optionally, user clicks the D shown on third party's webpage by browser and answers
With mark, and then the certificate server applied to management D is sent with D using the request of corresponding mandate interface.
S304 to authorize interface to ask allocation identification symbol, and sets the value of identifier to the first value.Optionally, recognize
It is to authorize interface that allocation identification is asked to accord with key to demonstrate,prove server1, and by identifier key1It is set as the first value(Such as key1=1),
In, it is the authorization requests repeated that the first value, which is used to indicate authorization identifying request not,.
S306 sends the mark for authorizing that corresponding mandate interface information is asked at interface and value is the first value to browser
Symbol.Optionally, certificate server is by the corresponding mandate interface information of the mandate interface applied with D request and key1=1 sends back
Browser.
S308, browser send authorization identifying request to certificate server, wherein authorization identifying request carries browser
Authentication information needed for cache information and mandate.Optionally, browser receives the corresponding mandate interface information of D applications and mark
Fu Hou will send authorization identifying request to certificate server, wherein authorization identifying request carries the cache information of browser(Packet
Include identifier key1)With the authentication information needed for mandate.Optionally, above-mentioned authentication information includes but not limited to that user passes through browsing
The account and password that device is filled on authorization requests interface.
S310, certificate server judges the value of the identifier in the cache information that receives, and whether authorization by direction certification is asked
Seek the authorization requests to repeat.Optionally, based on above-mentioned steps it is found that identifier key in cache information1Value be 1, because
This, it is the authorization requests repeated that the value of the indications, which indicates authorization identifying request not, to execute step S312.
Optionally, if judging to obtain mandate of the value authorization by direction certification request of the identifier in cache information as repetition
Request, then do not execute step S312.
S312 reports authorization identifying to ask corresponding effective mandate statistical information.Optionally, above-mentioned steps are based on, this is awarded
It is the authorization requests repeated to weigh certification request not, then reports effective mandate statistical information corresponding with D application authorization identifying requests.
By embodiment provided by the present application, determine whether that the authorization identifying repeated is asked using the value of identifier,
It to shield repetitive endowment, realizes and accurately reports information, preferably record effectively authorizes the effect of statistical information.
As a kind of optional scheme, as shown in figure 4, reporting authorization identifying to ask corresponding effective mandate statistical information
Later, further include:
S402 sends the identifier that value is second value, wherein second value is used to indicate authorization identifying request to browser
For the authorization requests repeated.
Optionally, after reporting authorization identifying to ask corresponding effective mandate statistical information, by identifier key1Take
It is worth from the first value(For example, key1=1)It is revised as second value(For example, key1=0), authorization identifying request is used to indicate to repeat
Authorization requests, and be the identifier of second value by value(key1=0)Send back browser.
For example, for accessing ABC webpages, it, will after effective mandate statistical information that D is applied in obtaining ABC webpages
Identifier key1Value be revised as 0 from 1, to the authorization requests that authorization by direction certification request be repetition, and by key1=0 sends
Return browser.
As a preferred mode, after authorization identifying success, user is retracted to interface is authorized, again by browser
Initiate authorization identifying request, the cache information of the browser carried in request(Including identifier key1=0), certificate server connects
Receive identifier key1=0, know and effectively authorize successfully, this time authorization identifying is repetitive requests, will no longer report and effectively award
Weigh statistical information.
By embodiment provided by the present application, identifier takes second value, is for the authorization identifying request after prompt
The effective mandate statistical information of record can be better achieved to shield repetitive endowment in repetitive requests.
As a kind of optional scheme, as shown in figure 5, including to authorize interface that allocation identification is asked to accord with:
S502 authorizes interface request to distribute different identifiers for different.
Optionally, different mandate interfaces request will distribute different identifier key.For example, by taking ABC webpages as an example, net
Page includes D applications, F applications, and the mandate interface request of different application will distribute different identifier keyD、keyF。
Optionally, the foundation of identifier distribution in the present embodiment includes but not limited to:Timestamp.
For example, by taking ABC webpages as an example, it is the T moment to obtain the mandate interface request that D is applied in webpage, if the T moment is effective
Statistical time range in, then be authorize interface request allocation identification accord with key, and value be 1, authorization by direction certification request be repeat
Authorization requests.
By embodiment provided by the present application, interface request is authorized to distribute different identifiers, Ke Yiyou based on different
Effect ground shielding repetitive endowment, obtains really effectively authorizing statistical information.
As a kind of optional scheme, in conjunction with shown in Fig. 6, what reception was sent when by browser access third party's webpage
After authorizing interface request, further include:
S602 is reported and interface is authorized to ask corresponding authorization requests statistical information.
Optionally, after the mandate interface request that reception is sent when by browser access third party's webpage, it will to
Statistical server, which reports, authorizes interface to ask corresponding authorization requests statistical information.
Optionally, mandate statistical information includes but not limited in the present embodiment:Authorization requests amount.Wherein, it receives logical
It crosses after the mandate interface request sent when browser access third party's webpage, authorization requests amount Q will increase by 1, i.e. Q=Q+1.
For example, for accessing ABC webpages, after receiving the mandate interface request that D is applied in webpage, mandate can be reported
Ask corresponding authorization requests statistical information in interface, wherein the authorization requests amount before this sub-authorization interface is asked is Q0, then
After receiving the request of this sub-authorization interface, the authorization requests statistical information authorization by direction request amount reported is Q=Q0+1。
By embodiment provided by the present application, corresponding authorization requests amount is asked at statistical report mandate interface, can be facilitated
Record the access request number of user.
As a kind of optional scheme, authorization identifying is reported to ask corresponding effective mandate statistical information to include:On publish teaching materials in the newspapers
Weigh the corresponding effective mandate statistical information of certification request, wherein effectively authorize statistical information to be used to indicate effective warrant quantity and increase
1。
Optionally, judge to obtain the value authorization by direction certification request not mandate to repeat of the identifier in cache information
Request then reports authorization identifying to ask corresponding effective mandate statistical information, wherein effectively statistical information is authorized to be used to indicate
It imitates warrant quantity P and increases by 1, i.e. P=P+1.
For example, for accessing ABC webpages, after receiving the authorization identifying request that D is applied in webpage, mandate can be reported
The corresponding effective mandate statistical information of certification request, wherein effective warrant quantity before this sub-authorization certification request is P0, then
After receiving the request of this authorization identifying, the effective mandate statistical information reported indicates that effective warrant quantity is P=P0+1。
By embodiment provided by the present application, statistical report authorization identifying asks corresponding effective warrant quantity, can be accurate
Calculate churn rate.
As a kind of optional scheme, as shown in fig. 7, reporting authorization identifying to ask corresponding effective mandate statistical information
Later, further include:
S702 is updated authorization requests amount according to authorization requests statistical information, and authorizes statistical information according to effective
Effective warrant quantity is updated;
Optionally, above-mentioned steps are based on, can effectively be authorized statistical information according to authorization requests statistical information, obtain more
Authorization requests amount Q, effective warrant quantity P after new, and then realize effective statistics of authorization message.
S704 calculates churn rate r according to updated effective warrant quantity P and updated authorization requests amount Q.
Optionally, churn rate r is calculated using updated effective warrant quantity P and updated authorization requests amount Q,
Wherein, r=(Q-P)/Q.
For example, for accessing ABC webpages, D applications in webpage are carried out that interface request and authorization identifying is authorized to ask, are obtained
It is 1500 to updated effective warrant quantity P, updated authorization requests amount Q is 2000, then churn rate r=(Q-P)/Q,
That is r=(2000-1500)/2000=0.25.
Shield repetitive endowment using dynamic identifier by embodiment provided by the present application, based on authorization requests amount and
The statistics of effective warrant quantity, realizes effective statistics to churn rate.
As a preferred solution, above-mentioned mandate statistical information reports shown in such as Fig. 8 (a)-(c) of interface, including:
If Fig. 8 (a) show third party's webpage, such as ABC webpages, webpage includes the corresponding application mark of multiple applications
Know, for example, microblogging and wechat.It applies when the user clicks, that is, sends out and authorize interface request, certificate server will return and authorize interface
Information and identifier key1=1, authorization requests for the first time are designated as, while authorization requests amount adds 1.Boundary is authorized as Fig. 8 (b) is shown
Face, interface prompt input " account ", " password ", when the user clicks " determination ", that is, send out authorization identifying request, wherein authorization identifying
Request includes cache information(Including identifier key1=1)And required authentication information, certificate server will determine that in cache information
Identifier key1Value whether indicate repetitive endowment, if not repetitive requests, will indicate that effective warrant quantity adds 1, and by key1It takes
Value is set as second value key1=0, instruction effectively authorizes, while returning to effective authorize successfully and identifier key1=0.Such as Fig. 8
(c) it show and effectively authorizes successfully.
As another preferred scheme, in conjunction with shown in Fig. 8 (b)-(c), including:
It after authorizing successfully, retracts to interface is authorized, clicks " determination " again, i.e., send out authorization identifying request again, it is clear
The identifier look in the cache information of device has been updated to key1=0, instruction has effectively authorized successfully, and this time authorization identifying is
Repetitive endowment certification, the then effective warrant quantity counted will not further increase.
Shield repetitive endowment using dynamic identifier by embodiment provided by the present application, based on authorization requests amount and
The statistics of effective warrant quantity, realizes effective statistics to churn rate.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action not necessarily present invention institute is necessary
's.
Embodiment 2
According to embodiments of the present invention, it additionally provides a kind of for implementing the device that above-mentioned mandate statistical information reports, such as Fig. 9
Shown, which includes:
(1)First receiving unit 902, for receiving the authorization identifying sent when by browser access third party's webpage
Request, wherein authorization identifying request is authorized for being authorized to the corresponding application of application identities shown on third party's webpage
Certification request carries the cache information of browser and authorizes required authentication information;
Optionally, user can be in browser access third party's webpage in terminal(For example, video web-pages, News Network
Page), on the authorization requests interface popped up on a web browser input authorize needed for authentication information then asked in authorization identifying
The middle cache information for carrying above-mentioned authentication information and browser, and authorization identifying request is sent to corresponding recipient.
In the present embodiment, optionally, above-mentioned recipient can be but be not limited to:Corresponding application is identified for managing above application
(For example, microblogging or wechat etc.)Server.
Optionally, which can identify corresponding application by being used to manage above application(For example, microblogging or
Wechat etc.)Server push give the browser of above-mentioned terminal;User inputs above-mentioned authentication information on the authorization requests interface,
E.g., including:Account name and password.
Optionally, above-mentioned third party's webpage can include but is not limited to following one:Video web-pages, news web page.It is optional
Ground, above-mentioned cache information include but not limited to:Cookie information, wherein cookie information has recorded historical viewings information.
Optionally, the application identities in the present embodiment in third party's webpage include but not limited at least one of:It is micro-
Boyto mark or wechat icon.
(2)Judging unit 904, for judging whether authorization by direction certification request is the value of the identifier in cache information
The authorization requests repeated;
Optionally, include but not limited in cache information in the present embodiment:Identifier(For example, key), the identifier
Value can be used to refer to whether authorization identifying request is the authorization requests repeated.
Optionally, the distribution foundation of identifier key includes but not limited in the present embodiment:Present system time stabs.
(3)Reporting unit 906 is used for when the value authorization by direction certification request of identifier is the authorization requests repeated,
Authorization identifying is not reported to ask corresponding effective mandate statistical information;Do not attach most importance in the value authorization by direction certification request of identifier
When multiple authorization requests, authorization identifying is reported to ask corresponding effective mandate statistical information.
Optionally, when judging to show that the value of above-mentioned identifier key is 0, i.e., authorization by direction certification request is awarding of repeating
Power request, then do not report authorization identifying to ask corresponding effective mandate statistical information.
For example, for accessing ABC webpages, authorization identifying request is sent by browser access webpage according to receiving
Timestamp setting identification accord with key, when the value for judging key be 0, it indicates that authorization identifying ask repetition, do not report and recognize with mandate
Card asks corresponding effective mandate statistical information.
Optionally, when judgement obtains the value 1 of above-mentioned identifier key, i.e. authorization by direction certification request is unduplicated awards
Power request, then report authorization identifying to ask corresponding effective mandate statistical information.
For example, for accessing ABC webpages, authorization identifying request is sent by browser access webpage according to receiving
Timestamp setting identification accords with key, when judging key values for 1, it indicates that authorization identifying asks not repeat, and reports and authorization identifying
Ask corresponding effective mandate statistical information.
By embodiment provided by the present application, determine whether that the authorization identifying repeated is asked using the value of identifier,
The accurate effect for reporting information is realized to shield repetitive endowment.
As a kind of optional scheme, as shown in Figure 10, which further includes:
(1)Second receiving unit 1002, for passing through browser access third party's webpage in the reception of the first receiving unit
When send authorization identifying request before, receive sent when by browser access third party's webpage mandate interface request;
Optionally, it before receiving the authorization identifying sent when by browser access third party's webpage request, can connect
It receives and is asked by the mandate interface sent when browser access third party's webpage.For example, for accessing ABC webpages, receive logical
When crossing browser access ABC webpages, before the authorization identifying request applied to D in webpage, it can first receive and D in webpage is applied
Mandate interface request.
(2)The value of identifier for authorize interface to ask allocation identification symbol, and is set as the by allocation unit 1004
One value, wherein it is the authorization requests repeated that the first value, which is used to indicate authorization identifying request not,;
Optionally, it receives after authorizing interface request R1, to authorize interface that R1 allocation identifications is asked to accord with key1;Then, will
Identifier key1Value be set as the first value, for example, key1=1, indicate that the first value is used to indicate authorization identifying request and does not attach most importance to
Multiple authorization requests.
(3)First transmission unit 1006, for sent to browser authorize interface ask corresponding mandates interface information with
Value is the identifier of the first value.
Optionally, it is first to send mandate interface information corresponding with interface request is authorized and value to above-mentioned browser
The identifier key of value1.For example, for accessing ABC webpages, after receiving the mandate interface request applied to D in webpage,
The mark for authorizing interface information and value is the first value corresponding with D application mandate interface requests is sent to above-mentioned access browser
Accord with key1。
By embodiment provided by the present application, identifier is set to shield repetitive endowment, and then improves and notify
The accuracy of breath.
As a kind of optional scheme, as shown in figure 11, which further includes:
(1)Second transmission unit 1102, for reporting the corresponding effective mandate system of authorization identifying request in reporting unit 906
After counting information, the identifier that value is second value is sent to browser, wherein second value is used to indicate authorization identifying request and is
The authorization requests repeated.
Optionally, after reporting authorization identifying to ask corresponding effective mandate statistical information, by identifier key1Take
It is worth from the first value(For example, key1=1)It is revised as second value(For example, key1=0), authorization identifying request is used to indicate to repeat
Authorization requests, and be the identifier of second value by value(key1=0)Send back browser.
For example, for accessing ABC webpages, it, will after effective mandate statistical information that D is applied in obtaining ABC webpages
Identifier key1Value be revised as 0 from 1, to the authorization requests that authorization by direction certification request be repetition, and by key1=0 sends
Return browser.
As a preferred mode, after authorization identifying success, user is retracted to interface is authorized, again by browser
Initiate authorization identifying request, the cache information of the browser carried in request(Including identifier key1=0), certificate server connects
Receive identifier key1=0, know and effectively authorize successfully, this time authorization identifying is repetitive requests, will no longer report and effectively award
Weigh statistical information.
By embodiment provided by the present application, identifier takes second value, is for the authorization identifying request after prompt
The effective mandate statistical information of record can be better achieved to shield repetitive endowment in repetitive requests.
As a kind of optional scheme, as shown in figure 12, above-mentioned allocation unit 1004 includes:
(1)Distribution sub module 1202, for authorizing interface request to distribute different identifiers for different.
Optionally, different mandate interfaces request will distribute different identifier key.For example, by taking ABC webpages as an example, net
Page includes D applications, F applications, and the mandate interface request of different application will distribute different identifier keyD、keyF。
Optionally, the foundation of identifier distribution in the present embodiment includes but not limited to:Timestamp.
For example, by taking ABC webpages as an example, it is the T moment to obtain the mandate interface request that D is applied in webpage, if the T moment is effective
Statistical time range in, then be authorize interface request allocation identification accord with key, and value be 1, authorization by direction certification request be repeat
Authorization requests.
By embodiment provided by the present application, interface request is authorized to distribute different identifiers, Ke Yiyou based on different
Effect ground shielding repetitive endowment, obtains really effectively authorizing statistical information.
As a kind of optional scheme, as shown in figure 13, which further includes:
(1)First reporting module 1302 is passing through browser access third party's net for the reception of the second receiving unit 1002
After the mandate interface request sent when page, reports and interface is authorized to ask corresponding authorization requests statistical information, wherein mandate is asked
It asks statistical information to be used to indicate authorization requests amount and increases by 1.
Optionally, after the mandate interface request that reception is sent when by browser access third party's webpage, it will to
Statistical server, which reports, authorizes interface to ask corresponding authorization requests statistical information.
Optionally, mandate statistical information includes but not limited in the present embodiment:Authorization requests amount.Wherein, it receives logical
It crosses after the mandate interface request sent when browser access third party's webpage, authorization requests amount Q will increase by 1, i.e. Q=Q+1.
For example, for accessing ABC webpages, after receiving the mandate interface request that D is applied in webpage, mandate can be reported
Ask corresponding authorization requests statistical information in interface, wherein the authorization requests amount before this sub-authorization interface is asked is Q0, then
After receiving the request of this sub-authorization interface, the authorization requests statistical information authorization by direction request amount reported is Q=Q0+1。
By embodiment provided by the present application, corresponding authorization requests amount is asked at statistical report mandate interface, can be facilitated
Record the access request number of user.
As a kind of optional scheme, as shown in figure 14, above-mentioned reporting unit 906 includes:
(1)Second reporting module 1402, for not being the mandate repeated in the value authorization by direction certification request of identifier
When request, authorization identifying is reported to ask corresponding effective mandate statistical information, wherein effectively statistical information to be authorized to be used to indicate
It imitates warrant quantity and increases by 1.
Optionally, judge to obtain the value authorization by direction certification request not mandate to repeat of the identifier in cache information
Request then reports authorization identifying to ask corresponding effective mandate statistical information, wherein effectively statistical information is authorized to be used to indicate
It imitates warrant quantity P and increases by 1, i.e. P=P+1.
For example, for accessing ABC webpages, after receiving the authorization identifying request that D is applied in webpage, mandate can be reported
The corresponding effective mandate statistical information of certification request, wherein effective warrant quantity before this sub-authorization certification request is P0, then
After receiving the request of this authorization identifying, the effective mandate statistical information reported indicates that effective warrant quantity is P=P0+1。
By embodiment provided by the present application, statistical report authorization identifying asks corresponding effective warrant quantity, can be accurate
Calculate churn rate.
As a kind of optional scheme, as shown in figure 15, which further includes:
(1)Updating unit 1502, for being updated to authorization requests amount according to authorization requests statistical information, and according to having
Effect authorizes statistical information to be updated effective warrant quantity;
Optionally, above-mentioned steps are based on, can effectively be authorized statistical information according to authorization requests statistical information, obtain more
Authorization requests amount Q, effective warrant quantity P after new, and then realize effective statistics of authorization message.
(2)Computing unit 1504, for being calculated according to updated effective warrant quantity P and updated authorization requests amount Q
Churn rate r, wherein r=(Q-P)/Q.
Optionally, churn rate r is calculated using updated effective warrant quantity P and updated authorization requests amount Q,
Wherein, r=(Q-P)/Q.
For example, for accessing ABC webpages, D applications in webpage are carried out that interface request and authorization identifying is authorized to ask, are obtained
It is 1500 to updated effective warrant quantity P, updated authorization requests amount Q is 2000, then churn rate r=(Q-P)/Q,
That is r=(2000-1500)/2000=0.25.
Shield repetitive endowment using dynamic identifier by embodiment provided by the present application, based on authorization requests amount and
The statistics of effective warrant quantity, realizes effective statistics to churn rate.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (14)
1. a kind of report method authorizing statistical information, which is characterized in that including:
Receive the authorization identifying request sent when by browser access third party's webpage, wherein the authorization identifying request
For being authorized to the corresponding application of application identities shown on third party's webpage, the authorization identifying request carries institute
The cache information and the authentication information needed for the mandate for stating browser;
Judge whether the value of the identifier in the cache information indicates the authorization identifying request for the authorization requests of repetition;
If the value of the identifier indicates that the authorization identifying request for the authorization requests repeated, does not report the mandate to recognize
Card asks corresponding effective mandate statistical information;If the value of the identifier indicates that the authorization identifying request is not to repeat
Authorization requests then report the authorization identifying to ask corresponding effective mandate statistical information.
2. according to the method described in claim 1, it is characterized in that, being sent out when by browser access third party's webpage receiving
Before the authorization identifying request sent, further include:
Receive the mandate interface request sent when by third party's webpage described in the browser access;
The identifier is distributed for mandate interface request, and sets the value of the identifier to the first value, wherein institute
It is not the authorization requests repeated to state the first value and be used to indicate the authorization identifying request;
Sending the mandate interface to the browser asks corresponding mandate interface information and value for the institute of first value
State identifier.
3. according to the method described in claim 1, it is characterized in that, reporting the authorization identifying to ask corresponding effective mandate
After statistical information, further include:
The identifier that value is second value is sent to the browser, wherein the second value is used to indicate the mandate
Certification request is the authorization requests repeated.
4. according to the method described in claim 2, it is characterized in that, distributing the identifier packet for mandate interface request
It includes:
The different identifiers is distributed for different mandate interface requests.
5. according to the method described in claim 2, it is characterized in that, the reception is passing through third described in the browser access
After the mandate interface request sent when square webpage, further include:
The mandate interface is reported to ask corresponding authorization requests statistical information, wherein the authorization requests statistical information is used for
Authorization by direction request amount increases by 1.
6. the method according to any one of claims 1 to 5, it is characterized in that, described report the authorization identifying to ask
Corresponding effective mandate statistical information includes:
It is described that the authorization identifying is reported to ask corresponding effective mandate statistical information, wherein effective mandate statistical information
It is used to indicate effective warrant quantity and increases by 1.
7. according to the method described in claim 6, it is characterized in that, reporting the authorization identifying request corresponding effectively described
After authorizing statistical information, further include:
The authorization requests amount is updated according to authorization requests statistical information, and according to effective mandate statistical information pair
Effective warrant quantity is updated;
Churn rate r is calculated according to updated effective warrant quantity P and updated authorization requests amount Q, wherein r=(Q-
P)/Q。
8. a kind of reporting device authorizing statistical information, which is characterized in that including:
First receiving unit, for receiving the authorization identifying sent when by browser access third party's webpage request, wherein
The authorization identifying request is described to award for being authorized to the corresponding application of application identities shown on third party's webpage
The cache information and the authentication information needed for the mandate that power certification request carries the browser;
Judging unit, for judging whether the value of the identifier in the cache information indicates that the authorization identifying request is attached most importance to
Multiple authorization requests;
Reporting unit, for indicating authorization identifying request in the value of the identifier for repeat authorization requests when, no
The authorization identifying is reported to ask corresponding effective mandate statistical information;The authorization identifying is indicated in the value of the identifier
When request is not the authorization requests repeated, the authorization identifying is reported to ask corresponding effective mandate statistical information.
9. device according to claim 8, which is characterized in that further include:
Second receiving unit is sent out for being received in first receiving unit when by the browser access third party webpage
Before the authorization identifying request sent, mandate circle sent when by third party's webpage described in the browser access is received
It requests in person and asks;
Allocation unit for distributing the identifier for mandate interface request, and sets the value of the identifier to
First value, wherein it is not the authorization requests repeated that first value, which is used to indicate the authorization identifying request,;
First transmission unit asks corresponding mandate interface information and value for sending the mandate interface to the browser
For the identifier of first value.
10. device according to claim 8, which is characterized in that further include:
Second transmission unit, for reporting the authorization identifying to ask corresponding effective mandate statistical information in the reporting unit
Later, the identifier that value is second value is sent to the browser, wherein the second value is used to indicate the mandate
Certification request is the authorization requests repeated.
11. device according to claim 9, which is characterized in that the allocation unit includes:
Distribution sub module, for distributing the different identifiers for different mandate interface requests.
12. device according to claim 9, which is characterized in that the reporting unit includes:
First reporting module is received for second receiving unit when by third party's webpage described in the browser access
After the mandate interface request of transmission, the mandate interface is reported to ask corresponding authorization requests statistical information, wherein described to award
Power request statistical information is used to indicate authorization requests amount and increases by 1.
13. the device according to any one of claim 8 to 12, which is characterized in that the reporting unit includes:
Second reporting module, for indicating that the authorization identifying request is not the authorization requests repeated in the value of the identifier
When, report the authorization identifying to ask corresponding effective mandate statistical information, wherein effective mandate statistical information is for referring to
It is shown with effect warrant quantity and increases by 1.
14. device according to claim 13, which is characterized in that further include:
Updating unit, for being updated to the authorization requests amount according to authorization requests statistical information, and according to described effective
Statistical information is authorized to be updated effective warrant quantity;
Computing unit, for calculating churn rate r according to updated effective warrant quantity P and updated authorization requests amount Q,
Wherein, r=(Q-P)/Q.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310591348.8A CN104660560B (en) | 2013-11-20 | 2013-11-20 | Authorize the report method and device of statistical information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310591348.8A CN104660560B (en) | 2013-11-20 | 2013-11-20 | Authorize the report method and device of statistical information |
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 Active CN104660560B (en) | 2013-11-20 | 2013-11-20 | Authorize the report method and device of statistical information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104660560B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110442466B (en) * | 2019-06-14 | 2024-05-07 | 平安科技(深圳)有限公司 | Method, device, computer equipment and storage medium for preventing repeated access request |
Citations (5)
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 |
-
2013
- 2013-11-20 CN CN201310591348.8A patent/CN104660560B/en active Active
Patent Citations (5)
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 |
---|---|---|
US11785293B2 (en) | Methods and apparatus to collect distributed user information for media impressions | |
JP6608989B2 (en) | Method and apparatus for determining media impressions using distributed demographic information | |
JP6436445B2 (en) | Method and apparatus for identifying media impressions | |
US9602369B2 (en) | Data delivery | |
CN102891897B (en) | Webpage sharing method and server and client | |
US7801985B1 (en) | Data transfer for network interaction fraudulence detection | |
CN106488267A (en) | A kind of appraisal procedure of direct broadcasting room Generalization bounds, user equipment server system | |
US9231982B2 (en) | Data transfer for network interaction fraudulence detection | |
US20160119282A1 (en) | Domain name registration verification | |
CN106604044A (en) | Direct broadcast room recommendation strategy assessment method, user equipment, and server system | |
WO2015138570A1 (en) | Cross-domain identity service | |
EP2798597A1 (en) | System and method for identifying reviewers with incentives | |
CN105959371A (en) | Webpage sharing system | |
CN106658074A (en) | Method for evaluating live broadcasting room recommendation strategy, user equipment (UE) and server system | |
CN105354249B (en) | More account relating method, apparatus and electronic equipment | |
CN102946396B (en) | User agent's device, host web server and user authen method | |
CN110611611B (en) | Web security access method for home gateway | |
CN106411819A (en) | Method and apparatus for recognizing proxy Internet protocol address | |
CN106791961A (en) | Video preference information processing method, apparatus and system | |
CN104660560B (en) | Authorize the report method and device of statistical information | |
CN107145508B (en) | Website data processing method, device and system | |
CN102946397B (en) | User authen method and system | |
TW201731254A (en) | Phishing detection by login page census | |
CN106302479A (en) | A kind of single-point logging method for multi-service internet site and system | |
JP5913562B2 (en) | Method and apparatus for measuring mobile network traffic |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |