CN104660560A - Reporting method and device for authorization statistical information - Google Patents
Reporting method and device for authorization statistical information Download PDFInfo
- Publication number
- CN104660560A CN104660560A CN201310591348.8A CN201310591348A CN104660560A CN 104660560 A CN104660560 A CN 104660560A CN 201310591348 A CN201310591348 A CN 201310591348A CN 104660560 A CN104660560 A CN 104660560A
- Authority
- CN
- China
- Prior art keywords
- authorization
- request
- mandate
- 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.)
- Granted
Links
- 238000013475 authorization Methods 0.000 title claims abstract description 316
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000000694 effects Effects 0.000 abstract description 5
- 230000003252 repetitive effect Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 5
- 235000014510 cooky Nutrition 0.000 description 4
- 239000003550 marker Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a reporting method and device for authorization statistical information. The method comprises the following steps: receiving an authorization authentication request sent when a browser accesses a third-party webpage, wherein the authorization authentication request is used for authorizing an application corresponding to an application identifier displayed on the third-party webpage, and carries cache information of the browser and authentication information required for authorization; judging whether a value of an identifier in the cache information indicates that the authorization authentication request is a repeated authorization request; if the value of the identifier indicates that the authorization authentication request is a repeated authorization request, not reporting effective authorization statistical information corresponding to the authorization authentication request; if the value of the identifier indicates that the authorization authentication request is not a repeated authorization request, reporting effective authorization statistical information corresponding to the authorization authentication request. According to the invention, the technical problem of inaccurate reported information caused by repeated authorization by a user is solved, and the technical effect that the repeated authorization is shielded to realize accurate information reporting is achieved.
Description
Technical field
The present invention relates to internet arena, in particular to a kind of report method and device of authorizing statistical information.
Background technology
The cooperation of the Internet manufacturer makes account intercommunication become possibility---the entrance that most of website provides third party user to log in, and to obtain number of users and the very fast of website traffic increases.Usually, selecting third party's login mode to obtaining logging status from user, needing a process by the mandate of user operation.And in order to protect the fail safe of user account number, authorized window often limits and do not allow to embed with iframe, can only open in a new page, user then enters the page of third party website after confirming to authorize.
Measure (number of visits) and customer loss ratio to monitor page PV, usually need page access number of times, the data such as subscriber authorisation number of times carry out statistical report, so that the operation situation of monitoring business and help location may Problems existing.At present conventional data statistics reports model to be front end by embedding javascript code in the page and calls CGI and report, and one typically reports code as follows:
Arrange src attribute by giving Image object to call CGI and report.But considering the following behavior of user: user clicks and uses account number to log in, enter and authorize page (access times+1), entering the third-party page (authorizing number of times+1) by authorizing, after this clicking retrogressing, get back to authorization page, and again click mandate (authorizing number of times+1).In this process, user asks the number of times statistics using account number to log in be 1, and authorizes number of times statistics to be 2, and the statistics obtained is also unreliable.The appearance of this situation mainly because user's rollback time browser can not requests for page again, but utilize the buffer memory page of last request.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of report method and device of authorizing statistical information, repeatedly authorize at least to solve user and cause the inaccurate technical problem of reporting information.
According to an aspect of the embodiment of the present invention, provide a kind of report method of authorizing statistical information, comprise: be received in the authorization identifying request by sending during browser access third party webpage, wherein, authorization identifying request is authorized for the application corresponding to the application identities that third party's webpage shows, and the cache information of browser and the authentication information needed for mandate are carried in authorization identifying request; Judge whether authorization by direction authentication request is the authorization requests of repetition for the value of the identifier in cache information; If the value authorization by direction authentication request of identifier is the authorization requests of repetition, then do not report effective mandate statistical information that authorization identifying request is corresponding; If the authorization requests of the value authorization by direction authentication request of identifier not for repeating, then report effective mandate statistical information that authorization identifying request is corresponding.
As the optional scheme of one, before being received in the authorization identifying request by sending during browser access third party webpage, also comprise: be received in the mandate interface request by sending during browser access third party webpage; For authorizing interface request dispatching identifier, and the value of identifier is set to the first value, wherein, the first value is used to indicate the authorization requests of authorization identifying request not for repeating; The mandate interface information corresponding to browser transmission mandate interface request and value are the identifier of the first value.
As the optional scheme of one, after the effective mandate statistical information reporting authorization identifying request corresponding, also comprise: send to browser the identifier that value is the second value, wherein, the second value is used to indicate the authorization requests that authorization identifying request is repetition.
As the optional scheme of one, comprise for authorizing interface request dispatching identifier: be the identifier that different mandate interface request dispatching is different.
As the optional scheme of one, after being received in the mandate interface request by sending during browser access third party webpage, also comprise: report the authorization requests statistical information of authorizing interface request corresponding, wherein, authorization requests statistical information is used to indicate authorization requests amount increases by 1.
As the optional scheme of one, the effective mandate statistical information reporting authorization identifying request corresponding comprises: the effective mandate statistical information reporting authorization identifying request corresponding, and wherein, effectively authorizing statistical information to be used to indicate effective warrant quantity increases by 1.
As the optional scheme of one, after the effective mandate statistical information reporting authorization identifying request corresponding, also comprise: according to authorization requests statistical information, authorization requests amount is upgraded, and according to effectively authorizing statistical information to upgrade effective warrant quantity; Churn rate r is calculated according to the effective warrant quantity P after renewal and the authorization requests amount Q after upgrading, wherein, r=(Q-P)/Q.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of reporting device of authorizing statistical information, comprise: the first receiving element, for being received in the authorization identifying request by sending during browser access third party webpage, wherein, authorization identifying request is authorized for the application corresponding to the application identities that third party's webpage shows, and the cache information of browser and the authentication information needed for mandate are carried in authorization identifying request; Judging unit, for judging whether authorization by direction authentication request is the authorization requests of repetition to the value of the identifier in cache information; Report unit, for when the value authorization by direction authentication request of identifier is the authorization requests of repetition, do not report effective mandate statistical information that authorization identifying request is corresponding; When the value authorization by direction authentication request of identifier is not the authorization requests repeated, report effective mandate statistical information that authorization identifying request is corresponding.
As the optional scheme of one, this reporting device also comprises: the second receiving element, for be received in the authorization identifying request by sending during browser access third party webpage at the first receiving element before, be received in the mandate interface request by sending during browser access third party webpage; Allocation units, for being authorize interface request dispatching identifier, and the value of identifier is set to the first value, wherein, it is not the authorization requests of repetition that the first value is used to indicate authorization identifying request; First transmitting element, authorizes mandate interface information corresponding to interface request and value to be the identifier of the first value for sending to browser.
As the optional scheme of one, this reporting device also comprises: the second transmitting element, for after the effective mandate statistical information reporting unit to report authorization identifying request corresponding, the identifier that value is the second value is sent to browser, wherein, the second value is used to indicate the authorization requests that authorization identifying request is repetition.
As the optional scheme of one, allocation units comprise: distribution sub module, for the identifier that the mandate interface request dispatching for different is different.
As the optional scheme of one, unit is reported to comprise: the first reporting module, after being received in the mandate interface request by sending during browser access third party webpage for the second receiving element, report the authorization requests statistical information of authorizing interface request corresponding, wherein, authorization requests statistical information is used to indicate authorization requests amount increases by 1.
As the optional scheme of one, unit is reported to comprise: the second reporting module, for when the value authorization by direction authentication request of identifier is not the authorization requests repeated, report effective mandate statistical information that authorization identifying request is corresponding, wherein, effectively authorize statistical information to be used to indicate effective warrant quantity and increase by 1.
As the optional scheme of one, this reporting device also comprises: updating block, for upgrading authorization requests amount according to authorization requests statistical information, and according to effectively authorizing statistical information to upgrade effective warrant quantity; Computing unit, for calculating churn rate r according to the effective warrant quantity P after renewal and the authorization requests amount Q after upgrading, wherein, r=(Q-P)/Q.
In embodiments of the present invention, adopt the dynamic KEY of interface Requests routing and the mode utilizing buffer memory to detect, thus achieve shielding repetitive endowment and realize the technique effect of accurate reporting information, and then solve user and repeatedly authorize and cause the inaccurate technical problem of reporting information.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the report method of a kind of optional mandate statistical information according to the embodiment of the present invention;
Fig. 2 is the flow chart of optionally authorizing the report method of statistical information according to the another kind of the embodiment of the present invention;
Fig. 3 is another the optional flow chart of authorizing the report method of statistical information according to the embodiment of the present invention;
Fig. 4 is another the optional flow chart of authorizing the report method of statistical information according to the embodiment of the present invention;
Fig. 5 is another the optional flow chart of authorizing the report method of statistical information according to the embodiment of the present invention;
Fig. 6 is another the optional flow chart of authorizing the report method of statistical information according to the embodiment of the present invention;
Fig. 7 is another the optional flow chart of authorizing the report method of statistical information according to the embodiment of the present invention;
Fig. 8 is the interface schematic diagram reported of a kind of optional mandate statistical information according to the embodiment of the present invention;
Fig. 9 is the schematic diagram of the reporting device of a kind of optional mandate statistical information according to the embodiment of the present invention;
Figure 10 is the schematic diagram of optionally authorizing the reporting device of statistical information according to the another kind of the embodiment of the present invention;
Figure 11 is another the optional schematic diagram of authorizing the reporting device of statistical information according to the embodiment of the present invention;
Figure 12 is another the optional schematic diagram of authorizing the reporting device of statistical information according to the embodiment of the present invention;
Figure 13 is another the optional schematic diagram of authorizing the reporting device of statistical information according to the embodiment of the present invention;
Figure 14 is another the optional schematic diagram of authorizing the reporting device of statistical information according to the embodiment of the present invention; And
Figure 15 is another the optional schematic diagram of authorizing the reporting device of statistical information according to the embodiment of the present invention.
Embodiment
First, the part noun occurred in the process be described the embodiment of the present invention or term are applicable to description below:
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
According to the embodiment of the present invention, provide a kind of report method of authorizing statistical information, as shown in Figure 1, the method comprises:
S102, be received in the authorization identifying request by sending during browser access third party webpage, wherein, authorization identifying request is authorized for the application corresponding to the application identities that third party's webpage shows, and the cache information of browser and the authentication information needed for mandate are carried in authorization identifying request;
Alternatively, user can browser access third party webpage in terminal (such as, video web-pages, news web page), authentication information on the authorization requests interface of ejecting on a web browser needed for input mandate, then, in authorization identifying request, carry the cache information of above-mentioned authentication information and browser, and this authorization identifying request is sent to corresponding recipient.In the present embodiment, alternatively, above-mentioned recipient can be but be not limited to: for managing the server of application corresponding to above-mentioned application identities (such as, microblogging or micro-letter etc.).
Alternatively, the browser of above-mentioned terminal can be given in this authorization requests interface by the server push for managing application corresponding to above-mentioned application identities (such as, microblogging or micro-letter etc.); User inputs above-mentioned authentication information on this authorization requests interface, such as, comprising: account name and password.
Alternatively, above-mentioned third party's webpage can include but not limited to one of following: video web-pages, news web page.Alternatively, above-mentioned cache information includes but not limited to: cookie information, and wherein, cookie information have recorded historical viewings information.
Alternatively, the application identities in the present embodiment in third party's webpage include but not limited to following one of at least: microblogging icon or micro-letter icon.
S104, judges whether authorization by direction authentication request is the authorization requests of repetition for the value of the identifier in cache information;
Alternatively, include but not limited in the present embodiment in cache information: identifier (such as, key), the value of this identifier can be used to refer to the authorization requests whether authorization identifying request is repetition.
Alternatively, the distribution of identifier key is in the present embodiment according to including but not limited to: present system time stabs.
S106, if the value authorization by direction authentication request of identifier is the authorization requests of repetition, does not then report effective mandate statistical information that authorization identifying request is corresponding;
Alternatively, when judgement show that above-mentioned identifier key gets 0, namely authorization by direction authentication request is the authorization requests of repetition, then do not report effective mandate statistical information that authorization identifying request is corresponding.
Such as, to access ABC webpage, according to receiving the timestamp setting identification symbol key being sent authorization identifying request by browser access webpage, when judging that key value is 0, then authorization by direction authentication request repeats, and does not report the effective mandate statistical information corresponding with authorization identifying request.
S108, if the authorization requests of the value authorization by direction authentication request of identifier not for repeating, then reports effective mandate statistical information that authorization identifying request is corresponding.
Alternatively, when judgement show that the value of above-mentioned identifier key is 1, namely authorization by direction authentication request is unduplicated authorization requests, then report effective mandate statistical information that authorization identifying request is corresponding.
Such as, to access ABC webpage, according to receiving the timestamp setting identification symbol key being sent authorization identifying request by browser access webpage, when judging that the value of key is 1, then authorization by direction authentication request does not repeat, and reports the effective mandate statistical information corresponding with authorization identifying request.
By the embodiment that the application provides, utilize the value of identifier to determine whether the authorization identifying request of repetition, thus shield the effect that repetitive endowment achieves accurate reporting information.
As the optional scheme of one, as shown in Figure 2, before being received in the authorization identifying request by sending during browser access third party webpage, also comprise:
S202, is received in the mandate interface request by sending during browser access third party webpage;
Alternatively, before being received in the authorization identifying request by sending during browser access third party webpage, the mandate interface request by sending during browser access third party webpage can be received.Such as, to access ABC webpage, when receiving by browser access ABC webpage, before the authorization identifying request to D application in webpage, first can receive the mandate interface request to D application in webpage.
S204, for authorizing interface request dispatching identifier, and is set to the first value by the value of identifier, and wherein, the first value is used to indicate the authorization requests of authorization identifying request not for repeating;
Alternatively, receive after authorizing interface request R1, for authorizing interface request R1 distribution marker key
1; Then, by identifier key
1value be set to the first value, such as, key
1=1, represent that the first value is used to indicate the authorization requests of authorization identifying request not for repeating.
S206, the mandate interface information corresponding to browser transmission mandate interface request and value are the identifier of the first value.
Alternatively, send to above-mentioned browser the identifier key that the mandate interface information corresponding with mandate interface request and value are the first value
1.Such as, to access ABC webpage, after receiving the mandate interface request to D application in webpage, send to above-mentioned access browser the identifier key that mandate interface information that to apply to D and authorize interface request corresponding and value are the first value
1.
By the embodiment that the application provides, identifier is set in order to shield repetitive endowment, and then improves the accuracy of reporting information.
As the preferred scheme of one, composition graphs 1-Fig. 3, the report method of above-mentioned mandate statistical information, comprising:
S300, accessed web page.Alternatively, user is by the third party's webpage on the browser access in terminal the 3rd server, and such as ABC webpage, wherein, webpage comprises the application identities of D application.
S302, interface request is authorized in transmission.Alternatively, user clicks the D application identities that third party's webpage shows by browser, and then applies corresponding mandate interface request to the certificate server transmission of management D application with D.
S304, for authorizing interface request dispatching identifier, and is set to the first value by the value of identifier.Alternatively, certificate server is for authorizing interface request dispatching identifier key
1, and by identifier key
1be set to the first value (such as key
1=1), wherein, the first value is used to indicate the authorization requests of authorization identifying request not for repeating.
S306, the mandate interface information corresponding to browser transmission mandate interface request and value are the identifier of the first value.Alternatively, certificate server is by the mandate interface information corresponding with the mandate interface request that D applies and key
1=1 sends it back browser.
S308, browser sends authorization identifying request to certificate server, and wherein, the cache information of browser and the authentication information needed for mandate are carried in authorization identifying request.Alternatively, after browser receives D application corresponding mandate interface information and identifier, will send authorization identifying request to certificate server, wherein, the cache information that browser is carried in authorization identifying request (comprises identifier key
1) and authorize needed for authentication information.Alternatively, above-mentioned authentication information includes but not limited to the account that user is filled in by browser on authorization requests interface and password.
S310, certificate server judges whether authorization by direction authentication request is the authorization requests of repetition for the value of the identifier in the cache information received.Alternatively, known based on above-mentioned steps, the identifier key in cache information
1value be 1, therefore, the value of this indications represents the authorization requests of this authorization identifying request for repeating, thus performs step S312.
Alternatively, if the value authorization by direction authentication request judging the identifier drawn in cache information is the authorization requests of repetition, then step S312 is not performed.
S312, reports effective mandate statistical information that authorization identifying request is corresponding.Alternatively, based on above-mentioned steps, the authorization requests of this authorization identifying request not for repeating, then report the effective mandate statistical information corresponding with the request of D application authorization identifying.
By the embodiment that the application provides, utilize the value of identifier to determine whether the authorization identifying request of repetition, thus shield repetitive endowment, achieve accurate reporting information, the effect of statistical information effectively authorized in record better.
As the optional scheme of one, as shown in Figure 4, after the effective mandate statistical information reporting authorization identifying request corresponding, also comprise:
S402, send to browser the identifier that value is the second value, wherein, the second value is used to indicate the authorization requests that authorization identifying request is repetition.
Alternatively, after the effective mandate statistical information reporting authorization identifying request corresponding, by identifier key
1value from first value (such as, key
1=1) the second value (such as, key is revised as
1=0), be used to indicate the authorization requests that authorization identifying request is repetition, and be the identifier (key of the second value by value
1=0) browser is sent it back.
Such as, to access ABC webpage, after the effective mandate statistical information obtaining D application in ABC webpage, by identifier key
1value be revised as 0 from 1, thus authorization by direction authentication request is the authorization requests of repetition, and by key
1=0 sends it back browser.
As the preferred mode of one, when after authorization identifying success, user is by browser rollback to authorizing interface, and again initiate authorization identifying request, the cache information of the browser carried in request (comprises identifier key
1=0), certificate server receives identifier key
1=0, know and effectively authorize successfully, this time authorization identifying is repetitive requests, no longer will report and effectively authorize statistical information.
By the embodiment that the application provides, identifier gets the second value, is repetitive requests, thus shields repetitive endowment for the authorization identifying request after pointing out, and can realize better recording and effectively authorize statistical information.
As the optional scheme of one, as shown in Figure 5, for authorizing interface request dispatching identifier to comprise:
S502 is the identifier that different mandate interface request dispatching is different.
Alternatively, different mandate interface requests will distribute different identifier key.Such as, for ABC webpage, webpage comprises D application, F application, and the mandate interface request of different application will distribute different identifier key
d, key
f.
Alternatively, the foundation of identifier allocation includes but not limited in the present embodiment: timestamp.
Such as, for ABC webpage, the mandate interface request obtaining D application in webpage is the T moment, if be engraved in effective statistical time range during T, then for authorizing interface request dispatching identifier key, and value is 1, the authorization requests of authorization by direction authentication request not for repeating.
By the embodiment that the application provides, based on the identifier that different mandate interface request dispatching is different, effectively can shield repetitive endowment, obtain really effectively authorizing statistical information.
As the optional scheme of one, shown in composition graphs 6, after being received in the mandate interface request by sending during browser access third party webpage, also comprise:
S602, reports the authorization requests statistical information of authorizing interface request corresponding.
Alternatively, after being received in the mandate interface request by sending during browser access third party webpage, the authorization requests statistical information of authorizing interface request corresponding will be reported to statistical server.
Alternatively, statistical information is authorized to include but not limited in the present embodiment: authorization requests amount.Wherein, after receiving the mandate interface request by sending during browser access third party webpage, authorization requests amount Q will increase by 1, i.e. Q=Q+1.
Such as, to access ABC webpage, after receiving the mandate interface request of D application in webpage, the authorization requests statistical information of authorizing interface request corresponding can be reported, wherein, authorize the authorization requests amount before the request of interface to be Q at this
0, then receive after this time authorizing interface request, the authorization requests statistical information authorization by direction request amount reported is Q=Q
0+ 1.
By the embodiment that the application provides, the authorization requests amount that statistical report mandate interface request is corresponding, can facilitate the access request number of times of recording user.
As the optional scheme of one, the effective mandate statistical information reporting authorization identifying request corresponding comprises: the effective mandate statistical information reporting authorization identifying request corresponding, and wherein, effectively authorizing statistical information to be used to indicate effective warrant quantity increases by 1.
Alternatively, judge the authorization requests of value authorization by direction authentication request not as repeating drawing the identifier in cache information, then report effective mandate statistical information that authorization identifying request is corresponding, wherein effectively authorizing statistical information to be used to indicate effective warrant quantity P increases by 1, i.e. P=P+1.
Such as, to access ABC webpage, after receiving the authorization identifying request of D application in webpage, can report effective mandate statistical information that authorization identifying request is corresponding, wherein, the effective warrant quantity before this authorization identifying request is P
0, then, after receiving this authorization identifying request, the effective mandate statistical information reported indicates effective warrant quantity to be P=P
0+ 1.
By the embodiment that the application provides, effective warrant quantity that the request of statistical report authorization identifying is corresponding, accurately can calculate churn rate.
As the optional scheme of one, as shown in Figure 7, after the effective mandate statistical information reporting authorization identifying request corresponding, also comprise:
S702, upgrades authorization requests amount according to authorization requests statistical information, and according to effectively authorizing statistical information to upgrade effective warrant quantity;
Alternatively, based on above-mentioned steps, according to authorization requests statistical information, effectively can authorize statistical information, obtain the authorization requests amount Q after upgrading, effective warrant quantity P, and then the effective statistics realizing authorization message.
S704, calculates churn rate r according to the effective warrant quantity P after renewal and the authorization requests amount Q after upgrading.
Alternatively, the effective warrant quantity P after upgrading and the authorization requests amount Q after upgrading is utilized to calculate churn rate r, wherein, r=(Q-P)/Q.
Such as, to access ABC webpage, the request of mandate interface and authorization identifying request are carried out to D application in webpage, obtaining the effective warrant quantity P after upgrading is 1500, authorization requests amount Q after renewal is 2000, then churn rate r=(Q-P)/Q, i.e. r=(2000-1500)/2000=0.25.
By the embodiment that the application provides, utilize dynamic identifier, shield repetitive endowment, based on authorization requests amount and effectively authorize quantitative statistics, achieve the effective statistics to churn rate.
As the preferred scheme of one, above-mentioned mandate statistical information report interface as shown in Fig. 8 (a)-(c), comprising:
As Fig. 8 (a) is depicted as third party's webpage, such as ABC webpage, webpage comprises application identities corresponding to multiple application, such as, microblogging and micro-letter.When user clicks application, namely send and authorize interface request, certificate server is by return authorization interface information and identifier key
1=1, be designated as authorization requests first, authorization requests amount adds 1 simultaneously.Authorize interface as Fig. 8 (b) is depicted as, interface prompt input " account ", " password ", when user clicks " determination ", namely send authorization identifying request, wherein authorization identifying request comprises cache information and (comprises identifier key
1=1) and required authentication information, certificate server will judge the identifier key in cache information
1value whether indicate repetitive endowment, if not repetitive requests, effective for instruction warrant quantity is added 1, and by key
1value is set to the second value key
1=0, instruction is effectively authorized, and returns simultaneously and effectively authorizes success and identifier key
1=0.Effectively authorize successfully as Fig. 8 (c) is depicted as.
As the preferred scheme of another kind, shown in composition graphs 8 (b)-(c), comprising:
When authorizing successfully, rollback is to authorizing interface, and again click " determination ", namely again send authorization identifying request, the identifier in the cache information of browser is updated to key
1=0, instruction is effectively authorized successfully, and this time authorization identifying is for repeating authorization identifying, then added up effective warrant quantity will no longer increase.
By the embodiment that the application provides, utilize dynamic identifier, shield repetitive endowment, based on authorization requests amount and effectively authorize quantitative statistics, achieve the effective statistics to churn rate.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the present invention is necessary.
Embodiment 2
According to the embodiment of the present invention, additionally provide a kind of for implementing the device that above-mentioned mandate statistical information reports, as shown in Figure 9, this device comprises:
(1) first receiving element 902, for being received in the authorization identifying request by sending during browser access third party webpage, wherein, authorization identifying request is authorized for the application corresponding to the application identities that third party's webpage shows, and the cache information of browser and the authentication information needed for mandate are carried in authorization identifying request;
Alternatively, user can browser access third party webpage in terminal (such as, video web-pages, news web page), authentication information on the authorization requests interface of ejecting on a web browser needed for input mandate, then, in authorization identifying request, carry the cache information of above-mentioned authentication information and browser, and this authorization identifying request is sent to corresponding recipient.In the present embodiment, alternatively, above-mentioned recipient can be but be not limited to: for managing the server of application corresponding to above-mentioned application identities (such as, microblogging or micro-letter etc.).
Alternatively, the browser of above-mentioned terminal can be given in this authorization requests interface by the server push for managing application corresponding to above-mentioned application identities (such as, microblogging or micro-letter etc.); User inputs above-mentioned authentication information on this authorization requests interface, such as, comprising: account name and password.
Alternatively, above-mentioned third party's webpage can include but not limited to one of following: video web-pages, news web page.Alternatively, above-mentioned cache information includes but not limited to: cookie information, and wherein, cookie information have recorded historical viewings information.
Alternatively, the application identities in the present embodiment in third party's webpage include but not limited to following one of at least: microblogging icon or micro-letter icon.
(2) judging unit 904, for judging whether authorization by direction authentication request is the authorization requests of repetition to the value of the identifier in cache information;
Alternatively, include but not limited in the present embodiment in cache information: identifier (such as, key), the value of this identifier can be used to refer to the authorization requests whether authorization identifying request is repetition.
Alternatively, the distribution of identifier key is in the present embodiment according to including but not limited to: present system time stabs.
(3) report unit 906, for when the value authorization by direction authentication request of identifier is the authorization requests of repetition, do not report effective mandate statistical information that authorization identifying request is corresponding; When the value authorization by direction authentication request of identifier is not the authorization requests repeated, report effective mandate statistical information that authorization identifying request is corresponding.
Alternatively, when judgement show that the value of above-mentioned identifier key is 0, namely authorization by direction authentication request is the authorization requests of repetition, then do not report effective mandate statistical information that authorization identifying request is corresponding.
Such as, to access ABC webpage, according to receiving the timestamp setting identification symbol key being sent authorization identifying request by browser access webpage, when judging that the value of key is 0, then authorization by direction authentication request repeats, and does not report the effective mandate statistical information corresponding with authorization identifying request.
Alternatively, when judging the value 1 drawing above-mentioned identifier key, namely authorization by direction authentication request is unduplicated authorization requests, then report effective mandate statistical information that authorization identifying request is corresponding.
Such as, to access ABC webpage, according to receiving the timestamp setting identification symbol key being sent authorization identifying request by browser access webpage, when judging that key value is 1, then authorization by direction authentication request does not repeat, and reports the effective mandate statistical information corresponding with authorization identifying request.
By the embodiment that the application provides, utilize the value of identifier to determine whether the authorization identifying request of repetition, thus shield the effect that repetitive endowment achieves accurate reporting information.
As the optional scheme of one, as shown in Figure 10, this device also comprises:
(1) second receiving element 1002, for be received in the authorization identifying request by sending during browser access third party webpage at the first receiving element before, is received in the mandate interface request by sending during browser access third party webpage;
Alternatively, before being received in the authorization identifying request by sending during browser access third party webpage, the mandate interface request by sending during browser access third party webpage can be received.Such as, to access ABC webpage, when receiving by browser access ABC webpage, before the authorization identifying request to D application in webpage, first can receive the mandate interface request to D application in webpage.
(2) allocation units 1004, for being authorize interface request dispatching identifier, and the value of identifier is set to the first value, wherein, it is not the authorization requests of repetition that the first value is used to indicate authorization identifying request;
Alternatively, receive after authorizing interface request R1, for authorizing interface request R1 distribution marker key
1; Then, by identifier key
1value be set to the first value, such as, key
1=1, represent that the first value is used to indicate the authorization requests of authorization identifying request not for repeating.
(3) first transmitting elements 1006, authorize mandate interface information corresponding to interface request and value to be the identifier of the first value for sending to browser.
Alternatively, send to above-mentioned browser the identifier key that the mandate interface information corresponding with mandate interface request and value are the first value
1.Such as, to access ABC webpage, after receiving the mandate interface request to D application in webpage, send to above-mentioned access browser the identifier key that mandate interface information that to apply to D and authorize interface request corresponding and value are the first value
1.
By the embodiment that the application provides, identifier is set in order to shield repetitive endowment, and then improves the accuracy of reporting information.
As the optional scheme of one, as shown in figure 11, this device also comprises:
(1) second transmitting element 1102, for after the effective mandate statistical information reporting unit 906 to report authorization identifying request corresponding, send to browser the identifier that value is the second value, wherein, the second value is used to indicate the authorization requests that authorization identifying request is repetition.
Alternatively, after the effective mandate statistical information reporting authorization identifying request corresponding, by identifier key
1value from first value (such as, key
1=1) the second value (such as, key is revised as
1=0), be used to indicate the authorization requests that authorization identifying request is repetition, and be the identifier (key of the second value by value
1=0) browser is sent it back.
Such as, to access ABC webpage, after the effective mandate statistical information obtaining D application in ABC webpage, by identifier key
1value be revised as 0 from 1, thus authorization by direction authentication request is the authorization requests of repetition, and by key
1=0 sends it back browser.
As the preferred mode of one, when after authorization identifying success, user is by browser rollback to authorizing interface, and again initiate authorization identifying request, the cache information of the browser carried in request (comprises identifier key
1=0), certificate server receives identifier key
1=0, know and effectively authorize successfully, this time authorization identifying is repetitive requests, no longer will report and effectively authorize statistical information.
By the embodiment that the application provides, identifier gets the second value, is repetitive requests, thus shields repetitive endowment for the authorization identifying request after pointing out, and can realize better recording and effectively authorize statistical information.
As the optional scheme of one, as shown in figure 12, above-mentioned allocation units 1004 comprise:
(1) distribution sub module 1202, for the identifier that the mandate interface request dispatching for different is different.
Alternatively, different mandate interface requests will distribute different identifier key.Such as, for ABC webpage, webpage comprises D application, F application, and the mandate interface request of different application will distribute different identifier key
d, key
f.
Alternatively, the foundation of identifier allocation includes but not limited in the present embodiment: timestamp.
Such as, for ABC webpage, the mandate interface request obtaining D application in webpage is the T moment, if be engraved in effective statistical time range during T, then for authorizing interface request dispatching identifier key, and value is 1, the authorization requests of authorization by direction authentication request not for repeating.
By the embodiment that the application provides, based on the identifier that different mandate interface request dispatching is different, effectively can shield repetitive endowment, obtain really effectively authorizing statistical information.
As the optional scheme of one, as shown in figure 13, this reports unit 906 also to comprise:
(1) first reporting module 1302, after being received in the mandate interface request by sending during browser access third party webpage for the second receiving element 1002, report the authorization requests statistical information of authorizing interface request corresponding, wherein, authorization requests statistical information is used to indicate authorization requests amount increases by 1.
Alternatively, after being received in the mandate interface request by sending during browser access third party webpage, the authorization requests statistical information of authorizing interface request corresponding will be reported to statistical server.
Alternatively, statistical information is authorized to include but not limited in the present embodiment: authorization requests amount.Wherein, after receiving the mandate interface request by sending during browser access third party webpage, authorization requests amount Q will increase by 1, i.e. Q=Q+1.
Such as, to access ABC webpage, after receiving the mandate interface request of D application in webpage, the authorization requests statistical information of authorizing interface request corresponding can be reported, wherein, authorize the authorization requests amount before the request of interface to be Q at this
0, then receive after this time authorizing interface request, the authorization requests statistical information authorization by direction request amount reported is Q=Q
0+ 1.
By the embodiment that the application provides, the authorization requests amount that statistical report mandate interface request is corresponding, can facilitate the access request number of times of recording user.
As the optional scheme of one, as shown in figure 14, the above-mentioned unit 906 that reports comprises:
(1) second reporting module 1402, for when the value authorization by direction authentication request of identifier is not the authorization requests repeated, report effective mandate statistical information that authorization identifying request is corresponding, wherein, effectively authorizing statistical information to be used to indicate effective warrant quantity increases by 1.
Alternatively, judge the authorization requests of value authorization by direction authentication request not as repeating drawing the identifier in cache information, then report effective mandate statistical information that authorization identifying request is corresponding, wherein effectively authorizing statistical information to be used to indicate effective warrant quantity P increases by 1, i.e. P=P+1.
Such as, to access ABC webpage, after receiving the authorization identifying request of D application in webpage, can report effective mandate statistical information that authorization identifying request is corresponding, wherein, the effective warrant quantity before this authorization identifying request is P
0, then, after receiving this authorization identifying request, the effective mandate statistical information reported indicates effective warrant quantity to be P=P
0+ 1.
By the embodiment that the application provides, effective warrant quantity that the request of statistical report authorization identifying is corresponding, accurately can calculate churn rate.
As the optional scheme of one, as shown in figure 15, this device also comprises:
(1) updating block 1502, for upgrading authorization requests amount according to authorization requests statistical information, and according to effectively authorizing statistical information to upgrade effective warrant quantity;
Alternatively, based on above-mentioned steps, according to authorization requests statistical information, effectively can authorize statistical information, obtain the authorization requests amount Q after upgrading, effective warrant quantity P, and then the effective statistics realizing authorization message.
(2) computing unit 1504, for calculating churn rate r according to the effective warrant quantity P after renewal and the authorization requests amount Q after upgrading, wherein, r=(Q-P)/Q.
Alternatively, the effective warrant quantity P after upgrading and the authorization requests amount Q after upgrading is utilized to calculate churn rate r, wherein, r=(Q-P)/Q.
Such as, to access ABC webpage, the request of mandate interface and authorization identifying request are carried out to D application in webpage, obtaining the effective warrant quantity P after upgrading is 1500, authorization requests amount Q after renewal is 2000, then churn rate r=(Q-P)/Q, i.e. r=(2000-1500)/2000=0.25.
By the embodiment that the application provides, utilize dynamic identifier, shield repetitive endowment, based on authorization requests amount and effectively authorize quantitative statistics, achieve the effective statistics to churn rate.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (14)
1. authorize a report method for statistical information, it is characterized in that, comprising:
Be received in the authorization identifying request by sending during browser access third party webpage, wherein, described authorization identifying request is authorized for the application corresponding to the application identities that described third party's webpage shows, and the cache information of described browser and the authentication information needed for described mandate are carried in described authorization identifying request;
Judge whether the value of the identifier in described cache information indicates described authorization identifying request to be the authorization requests of repetition;
If the value of described identifier indicates described authorization identifying request to be the authorization requests of repetition, then do not report effective mandate statistical information that described authorization identifying request is corresponding; If it is the authorization requests repeated that the value of described identifier indicates described authorization identifying request not, then report effective mandate statistical information that described authorization identifying request is corresponding.
2. method according to claim 1, is characterized in that, before being received in the authorization identifying request by sending during browser access third party webpage, also comprises:
Be received in the mandate interface request by sending during third party's webpage described in described browser access;
For identifier described in the request dispatching of described mandate interface, and the value of described identifier is set to the first value, wherein, described first value is used to indicate the authorization requests of described authorization identifying request not for repeating;
The described identifier that mandate interface information corresponding to described mandate interface request and value are described first value is sent to described browser.
3. method according to claim 1, is characterized in that, after the effective mandate statistical information reporting described authorization identifying request corresponding, also comprises:
Send to described browser the described identifier that value is the second value, wherein, it is the authorization requests of repetition that described second value is used to indicate described authorization identifying request.
4. method according to claim 2, is characterized in that, for identifier described in the request dispatching of described mandate interface comprises:
For the described identifier that different described mandate interface request dispatching is different.
5. method according to claim 2, is characterized in that, described in be received in by sending during third party's webpage described in described browser access the request of mandate interface after, also comprise:
Report the authorization requests statistical information that described mandate interface request is corresponding, wherein, described authorization requests statistical information is used to indicate authorization requests amount increases by 1.
6. method according to any one of claim 1 to 5, is characterized in that, described in report described authorization identifying request corresponding effective mandate statistical information comprise:
The described effective mandate statistical information reporting described authorization identifying request corresponding, wherein, described effective mandate statistical information is used to indicate effective warrant quantity increases by 1.
7. method according to claim 6, is characterized in that, after the described effective mandate statistical information reporting described authorization identifying request corresponding, also comprises:
According to described authorization requests statistical information, described authorization requests amount is upgraded, and according to described effective mandate statistical information, described effective warrant quantity is upgraded;
Churn rate r is calculated according to the effective warrant quantity P after renewal and the authorization requests amount Q after upgrading, wherein, r=(Q-P)/Q.
8. authorize a reporting device for statistical information, it is characterized in that, comprising:
First receiving element, for being received in the authorization identifying request by sending during browser access third party webpage, wherein, described authorization identifying request is authorized for the application corresponding to the application identities that described third party's webpage shows, and the cache information of described browser and the authentication information needed for described mandate are carried in described authorization identifying request;
Judging unit, for judging whether the value of the identifier in described cache information indicates described authorization identifying request to be the authorization requests of repetition;
Reporting unit, during for indicating described authorization identifying request to be the authorization requests of repetition in the value of described identifier, not reporting effective mandate statistical information that described authorization identifying request is corresponding; When the value of described identifier indicates described authorization identifying request not to be the authorization requests repeated, report effective mandate statistical information that described authorization identifying request is corresponding.
9. device according to claim 8, is characterized in that, also comprises:
Second receiving element, for be received in the described authorization identifying request by sending during described browser access third party webpage at described first receiving element before, is received in the mandate interface request by sending during third party's webpage described in described browser access;
Allocation units, for being identifier described in the request dispatching of described mandate interface, and are set to the first value by the value of described identifier, and wherein, described first value is used to indicate the authorization requests of described authorization identifying request for repeating;
First transmitting element, for sending the described identifier that mandate interface information corresponding to described mandate interface request and value are described first value to described browser.
10. device according to claim 8, is characterized in that, also comprises:
Second transmitting element, for after the described effective mandate statistical information reporting unit to report described authorization identifying request corresponding, send to described browser the described identifier that value is the second value, wherein, it is the authorization requests of repetition that described second value is used to indicate described authorization identifying request.
11. devices according to claim 9, is characterized in that, described allocation units comprise:
Distribution sub module, for the described identifier that the described mandate interface request dispatching for different is different.
12. devices according to claim 9, is characterized in that, described in report unit to comprise:
First reporting module, after being received in the mandate interface request by sending during third party's webpage described in described browser access for described second receiving element, report the authorization requests statistical information that described mandate interface request is corresponding, wherein, described authorization requests statistical information is used to indicate authorization requests amount increases by 1.
Device according to any one of 13. according to Claim 8 to 12, is characterized in that, described in report unit to comprise:
Second reporting module, when not being the authorization requests repeated for indicating described authorization identifying request in the value of described identifier, report effective mandate statistical information that described authorization identifying request is corresponding, wherein, described effective mandate statistical information is used to indicate effective warrant quantity increases by 1.
14. devices according to claim 13, is characterized in that, also comprise:
Updating block, for upgrading described authorization requests amount according to described authorization requests statistical information, and upgrades described effective warrant quantity according to described effective mandate statistical information;
Computing unit, for calculating churn rate r according to the effective warrant quantity P after renewal and the authorization requests amount Q after upgrading, 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 true CN104660560A (en) | 2015-05-27 |
CN104660560B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020248384A1 (en) * | 2019-06-14 | 2020-12-17 | 平安科技(深圳)有限公司 | Repeated request access prevention method and apparatus, computer device, and storage medium |
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 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020248384A1 (en) * | 2019-06-14 | 2020-12-17 | 平安科技(深圳)有限公司 | Repeated request access prevention method and apparatus, computer device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104660560B (en) | 2018-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9553918B1 (en) | Stateful and stateless cookie operations servers | |
US8321934B1 (en) | Anti-phishing early warning system based on end user data submission statistics | |
CN105657003B (en) | Information processing method and server | |
CN108334525A (en) | A kind of method for exhibiting data and device | |
CN111104675A (en) | Method and device for detecting system security vulnerability | |
CN109241343A (en) | A kind of brush amount user identifying system, method and device | |
CN111861804A (en) | Community management method, system, user terminal and management terminal | |
CN102624868A (en) | Management of roadside service requests | |
CN110022354A (en) | Mobile application integrated approach, device, computer equipment and storage medium based on http protocol | |
KR20170024777A (en) | Apparatus and method for detecting smishing message | |
CN110855772A (en) | Cross-device data storage method, system, device, server and medium | |
CN106445796A (en) | Cheating channel automatic detection method and device | |
CN103678372A (en) | Method and equipment for obtaining application performance of page | |
CN107948148A (en) | It is a kind of to simulate for the method and device filled out | |
CN111597250A (en) | Visualization method of block chain system | |
CN110727563A (en) | Cloud service alarm method and device for preset customer | |
TW201731254A (en) | Phishing detection by login page census | |
CN110727885A (en) | Internet global uniform identifier generation system and generation method thereof | |
CN106411819A (en) | Method and apparatus for recognizing proxy Internet protocol address | |
CN113067802B (en) | User identification method, device, equipment and computer readable storage medium | |
CN110674426A (en) | Webpage behavior reporting method and device | |
CN104660560A (en) | Reporting method and device for authorization statistical information | |
CN105243533A (en) | Unified publishing platform and method for various types of reports | |
US8214907B1 (en) | Collection of confidential information dissemination statistics | |
CN112529505B (en) | Method and device for detecting illegal bill, and readable storage medium |
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 |