CN104462392A - Statistical method and statistical device for sharing return traffic - Google Patents

Statistical method and statistical device for sharing return traffic Download PDF

Info

Publication number
CN104462392A
CN104462392A CN201410758301.0A CN201410758301A CN104462392A CN 104462392 A CN104462392 A CN 104462392A CN 201410758301 A CN201410758301 A CN 201410758301A CN 104462392 A CN104462392 A CN 104462392A
Authority
CN
China
Prior art keywords
sharing
anchor chain
url
capacity
returns
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
Application number
CN201410758301.0A
Other languages
Chinese (zh)
Other versions
CN104462392B (en
Inventor
冯鸳鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410758301.0A priority Critical patent/CN104462392B/en
Publication of CN104462392A publication Critical patent/CN104462392A/en
Application granted granted Critical
Publication of CN104462392B publication Critical patent/CN104462392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Abstract

The invention discloses a statistical method and a statistical device for sharing return traffic. The statistical method includes: acquiring a URL (uniform resource locator) corresponding to present access, wherein the URL is an address used for accessing to a shared website; judging whether the URL includes an anchor chain carrying sharing identification information of the shared website or not; if so, making statics on the present access as one time of sharing return traffic. Through the method and the device, the problem that the statistics cannot be made on true sharing return traffic in the related techniques is solved.

Description

Share statistical method and the device of capacity of returns
Technical field
The present invention relates to data statistics field, in particular to a kind of statistical method and the device of sharing capacity of returns.
Background technology
At present, promising user provide the website of sharing function all to have to share capacity of returns statistical function.In the related, general statistics in the following ways shares capacity of returns: all added up as this is by the capacity of returns of sharing of sharing website as long as jump to from social media by the visit capacity of sharing website, also be, as long as the source of access is social media, then this access is just considered to this and is shared backflow by sharing website, wherein, what is called is by the website of sharing by sharing website.
Due at present can for provided by sharing website sharing function to share product a lot, therefore, it is possible to the means realizing client web site to share social media also have a lot, if judge merely being accessed whether to belong to by the source of the address of sharing website and shared capacity of returns to distinguish this by sharing website involved by this access, then the backflow that all access can be brought all is added up as specific sharing brought shares capacity of returns sharing of product.Thus, there is following defect in technique scheme: (1) cannot count on and real share capacity of returns; (2) share backflow quantitative statistics coarse size, accurately cannot analyze the degree of association shared capacity of returns and share with certain.Therefore, in the related, the statistics sharing capacity of returns is false, does not help the analysis of sharing product because its can by much do not belong to the capacity of returns brought by the sharing contents of sharing website also add up and shared capacity of returns for this by sharing website:
Such as, what user A was issued with hand-written or copy bonding method in social media by click user B is visited by sharing website by the address of sharing website.Now, although contain in the content that user B issues in social media by the address of sharing website, but produced by direct hand-written or copy bonding method because this is user B by the address of sharing website, instead of to be shared by the sharing function of sharing website by application, therefore, even if the good friend in the circle of friends of user B (as, user A) this is conducted interviews by sharing website by the address of sharing website in the content that can be issued by user B, this access neither be real share backflow, but, in the related, such access but can be shared capacity of returns for this by sharing website by statistics.
Again such as, because the visit capacity of social media is large, therefore has in a lot of social media and all thrown in advertisement.If user A visits by sharing website by the advertisement clicked in social media, in the related, such access also can be shared capacity of returns for this by sharing website by statistics.
Again such as, user B shares by the content of sharing website by a certain social media, and user A is visited this by sharing website by this that other social media of click are recorded by the address of sharing website, in the related, such access also can be shared capacity of returns for this by sharing website by statistics.
In addition, the above-mentioned statistics coarse size sharing the statistical of capacity of returns, can only count on each social media always share capacity of returns and every day share capacity of returns, and cannot be added up certain share brought capacity of returns of sharing, more cannot to add up in certain period this certain share and brought share capacity of returns.
For the real problem sharing capacity of returns cannot be counted in correlation technique, at present effective solution is not yet proposed.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of statistical method and the device of sharing capacity of returns, cannot count on the real problem sharing capacity of returns to solve.
To achieve these goals, according to an aspect of the present invention, a kind of statistical method sharing capacity of returns is provided.The method comprises: obtain and access corresponding station address uniform resource position mark URL with this, above-mentioned URL is for accessing by the address of sharing website; Judge whether to exist in above-mentioned URL carry above-mentioned by the anchor chain sharing identification information of sharing website; And if judge in above-mentioned URL exist carry above-mentioned by the above-mentioned anchor chain sharing identification information of sharing website, then by this acess control for once to share capacity of returns.
Further, by this acess control for before once sharing capacity of returns, above-mentioned statistical method also comprises: if judge that in above-mentioned URL, existence carries above-mentioned by the above-mentioned anchor chain sharing identification information of sharing website, then verify that whether above-mentioned anchor chain is correct, wherein, if it is correct to verify above-mentioned anchor chain, then performing this acess control is the step once sharing capacity of returns.
Further, verify whether above-mentioned anchor chain correctly comprises: obtain the key word and the key word obtaining the social media for providing above-mentioned URL of accessing corresponding current site with this; According to the key word of above-mentioned current site, above-mentioned for providing the key word of the social media of above-mentioned URL and above-mentioned URL to generate cryptographic hash to be verified; And verify that whether above-mentioned cryptographic hash to be verified is consistent with default cryptographic hash, wherein, if above-mentioned cryptographic hash to be verified is consistent with above-mentioned default cryptographic hash, then above-mentioned anchor chain is correct, if above-mentioned cryptographic hash to be verified and above-mentioned default cryptographic hash inconsistent, then above-mentioned anchor chain mistake.
Further, generate above-mentioned default cryptographic hash in the following manner: obtain above-mentioned by the key word of the key word of sharing website, target social media and above-mentioned URL, above-mentioned target social media is above-mentioned by the social media of the content of sharing website for sharing; And generated above-mentioned default cryptographic hash according to above-mentioned by the key word of the key word of sharing website, above-mentioned target social media and above-mentioned URL.
Further, above-mentioned anchor chain also carries this and shares above-mentioned by the timestamp of sharing website, while being once share capacity of returns by this acess control, above-mentioned statistical method also comprises: this obtaining entrained by above-mentioned anchor chain is shared above-mentioned by the above-mentioned timestamp of sharing website; Determine that this accesses the degree of association shared with this according to the above-mentioned timestamp obtained; And to share according to above-mentioned degree of association statistics and this and corresponding share capacity of returns.
Further, in the following manner above-mentioned anchor chain is added in above-mentioned URL: judge whether there is original anchor chain in above-mentioned URL; If judge to there is above-mentioned original anchor chain in above-mentioned URL, then first delete above-mentioned original anchor chain, then carry the above-mentioned anchor chain sharing identification information by sharing website be added into above-mentioned in above-mentioned URL.
To achieve these goals, according to a further aspect in the invention, a kind of statistic device sharing capacity of returns is provided.This device comprises: the first acquiring unit, accesses corresponding station address uniform resource position mark URL for obtaining with this, and above-mentioned URL is for accessing by the address of sharing website; Judging unit, for judge whether to exist in above-mentioned URL carry above-mentioned by the anchor chain sharing identification information of sharing website; And first statistic unit, for judge to exist in above-mentioned URL carry above-mentioned by sharing website share the above-mentioned anchor chain of identification information time, by this acess control for once to share capacity of returns.
Further, above-mentioned statistic device also comprises: authentication unit, for by this acess control for before once sharing capacity of returns, judge in above-mentioned URL exist carry above-mentioned by sharing website share the above-mentioned anchor chain of identification information time, verify that whether above-mentioned anchor chain is correct, wherein, when verifying above-mentioned anchor chain and being correct, then perform the function of above-mentioned first statistic unit.
Further, above-mentioned authentication unit comprises: acquisition module, for obtaining the key word of accessing corresponding current site with this and obtaining the key word of the social media for providing above-mentioned URL; Generation module, for the key word according to above-mentioned current site, above-mentioned for providing the key word of the social media of above-mentioned URL and above-mentioned URL to generate cryptographic hash to be verified; And authentication module, whether consistent with default cryptographic hash for verifying above-mentioned cryptographic hash to be verified, wherein, if above-mentioned cryptographic hash to be verified is consistent with above-mentioned default cryptographic hash, then above-mentioned anchor chain is correct, if above-mentioned cryptographic hash to be verified and above-mentioned default cryptographic hash inconsistent, then above-mentioned anchor chain mistake.
Further, above-mentioned statistic device also comprises: generation unit, above-mentioned generation unit generates above-mentioned default cryptographic hash in the following manner: obtain above-mentioned by the key word of the key word of sharing website, target social media and above-mentioned URL, and above-mentioned target social media is above-mentioned by the social media of the content of sharing website for sharing; And generated above-mentioned default cryptographic hash according to above-mentioned by the key word of the key word of sharing website, above-mentioned target social media and above-mentioned URL.
Further, above-mentioned anchor chain also carries this and shares above-mentioned by the timestamp of sharing website, above-mentioned statistic device also comprises: second acquisition unit, for while being once share capacity of returns by this acess control, this obtaining entrained by above-mentioned anchor chain is shared above-mentioned by the above-mentioned timestamp of sharing website; Determining unit, for determining that according to the above-mentioned timestamp obtained this accesses the degree of association shared with this; And second statistic unit, corresponding share capacity of returns for sharing according to above-mentioned degree of association statistics and this.
Further, above-mentioned statistic device also comprises: adding device, and above-mentioned adding device is used for being added in above-mentioned URL by above-mentioned anchor chain in the following manner: judge whether there is original anchor chain in above-mentioned URL; If judge to there is above-mentioned original anchor chain in above-mentioned URL, then first delete above-mentioned original anchor chain, then carry the above-mentioned anchor chain sharing identification information by sharing website be added into above-mentioned in above-mentioned URL.
By the present invention, adopt to obtain and access corresponding station address URL with this, URL is for accessing by the address of sharing website; Judge in URL, whether to there is the anchor chain sharing identification information carried by sharing website; And if judge in URL exist carry by the anchor chain sharing identification information of sharing website, then by this acess control for once to share capacity of returns, solve in correlation technique and cannot count on the real problem sharing capacity of returns, and then reach and can count on the real effect sharing capacity of returns.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and 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 process flow diagram sharing the statistical method of capacity of returns according to the embodiment of the present invention; And
Fig. 2 is the schematic diagram sharing the statistic device of capacity of returns according to the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The application's scheme 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 application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the embodiment of the application's part, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all should belong to the scope of the application's protection.
It should be noted that, term " first ", " second " etc. in the instructions of the application 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 that the embodiment of the application described herein.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.
According to embodiments of the invention, provide a kind of statistical method sharing capacity of returns.This statistical method sharing capacity of returns may operate on computer-processing equipment.
Fig. 1 is the process flow diagram sharing the statistical method of capacity of returns according to the embodiment of the present invention.As shown in Figure 1, the method comprises following step S102 to step S106:
Step S102, obtains and accesses corresponding station address URL with this.
URL (Uniform Resource Locator, URL(uniform resource locator)) is for accessing by the address of sharing website.Such as, if this access is the official website of " Central People's Government of the People's Republic of China ", what then obtain accesses corresponding station address URL for " www.gov.cn " with this, wherein, " www.gov.cn " is the address of official website for accessing " Central People's Government of the People's Republic of China ", and " Central People's Government of the People's Republic of China " website be share that product shares by sharing website.Share product and comprise the plug-in unit of front end and the server of rear end.After the plug-in unit of front end is triggered, the server of rear end performs to be shared accordingly and shares capacity of returns statistical treatment.It should be noted that, the plug-in unit sharing the front end of product be arranged on need on the website of sharing.
Step S104, judges whether there is the anchor chain sharing identification information carried by sharing website in URL.
In practice, when user triggers sharing function by the plug-in unit sharing the front end of product, when implementing to share to current page, then this server sharing the rear end of product first can add one after by the page path URL of sharing website and carries this by the anchor chain sharing identification information of sharing website.Wherein, share the unique identification information that identification information is anchor chain, and wherein include URL by the information of target social media shared.Like this, when there being user to access current page, can by judge access page path URL after whether carry mark this anchor chain shared determine whether this acess control as sharing capacity of returns.
Step S106, if judge in URL exist carry by the anchor chain sharing identification information of sharing website, then by this acess control for once to share capacity of returns.
If judging to exist in URL carries by the anchor chain sharing identification information of sharing website, then think that this access brought shares backflow for this is shared, thus by this acess control for once to share capacity of returns; If judging to exist in URL carries by the anchor chain sharing identification information of sharing website, then think that this access brought shares backflow for other are shared, thus not by this acess control for once to share capacity of returns.
Pass through the embodiment of the present invention, due to a unique mark can be done for sharing each time of user, and the relevant information of this mark is added into shares for each time in corresponding URL, therefore, as long as the backflow access that the URL that with the addition of identification information by this carries out just is shared for this time the capacity of returns of sharing brought by statistics, reach and can count on the real effect sharing capacity of returns.
Preferably, in embodiments of the present invention, in step S106 by this acess control for before once sharing capacity of returns, this statistical method can also comprise:
S2, if judging to exist in URL carries by the anchor chain sharing identification information of sharing website, then verify that whether anchor chain is correct, wherein, if it is correct to verify anchor chain, then performing this acess control is the step once sharing capacity of returns; If verify anchor chain mistake, then not performing this acess control is the step once sharing capacity of returns.
Owing to being shared to after target social media by the related content of sharing website by this, user in this target social media can forward it in other social media, like this, user in other social media can access by sharing website again, the source of this access owing to not being target social media, be not therefore this share share capacity of returns.Such as, user A by the related content of " Central People's Government of the People's Republic of China " official website by after sharing the Sina's microblogging to oneself for the N time, the microblogging of the related content of " Central People's Government of the People's Republic of China " official website is forwarded to Tengxun's microblogging again by the user B of user A in the circle of friends of Sina's microblogging, now, the user C URL according to the related content of " Central People's Government of the People's Republic of China " official website corresponding to of user B in the circle of friends of Tengxun's microblogging conducts interviews, the source of this access is Tengxun's microblogging, instead of Sina's microblogging, therefore not brought share capacity of returns sharing for the N time of user A.
By the embodiment of the present invention, the statistics sharing capacity of returns more accurately can be obtained.
Further preferably, in embodiments of the present invention, S2 verifies whether anchor chain correctly can comprise:
S22, obtains the key word and the key word obtaining the social media for the source as URL of accessing corresponding current site with this;
S24, the key word according to current site, the key word for the social media in the source as URL and URL generate cryptographic hash to be verified; And
S26, verifies that whether cryptographic hash to be verified consistent with default cryptographic hash, and wherein, cryptographic hash to be verified is consistent with default cryptographic hash, then anchor chain is correct, cryptographic hash to be verified and default cryptographic hash inconsistent, then anchor chain mistake.Further, when anchor chain is correct, by this acess control for once to share capacity of returns; When anchor chain mistake, capacity of returns statistics is not shared to this access.
Owing to the addition of unique anchor chain for sharing link (that is, URL) when sharing, therefore needing first to verify when adding up capacity of returns and whether sharing in link (that is, URL) containing anchor chain.If containing anchor chain, then verify that whether anchor chain is correct further.If not containing anchor chain, then without the need to verifying that whether anchor chain correct further, because if there is no anchor chain, then certainly can not by this acess control for sharing capacity of returns.
Owing to containing anchor chain in URL, and when verifying that whether anchor chain accurate, need to be verified by the information in anchor chain, therefore when statistics shares capacity of returns, can access (namely from this, current accessed) URL in containing anchor chain resolve current site key word (as, the key word of current site title), the key word of URL and the social media as the source of this URL (as, key word as the title of the social media in the source of this URL), and generate cryptographic hash to be verified according to analysis result.
During due to anchor chain mistake, be likely simulation share backflow, and and really share backflow, by the embodiment of the present invention, can prevent some share product malice simulation share backflow, cause statistics virtual height.
Preferably, in embodiments of the present invention, aforesaid default cryptographic hash can be generated in the following manner:
S4, obtains by the key word of the key word of sharing website, target social media and URL, and target social media is for sharing by the social media of the content of sharing website; And
S6, presets cryptographic hash according to being generated by the key word of the key word of sharing website, target social media and URL.
Particularly, can perform the above-mentioned steps in the present embodiment when sharing, like this, can be eachly added a unique anchor chain by the URL shared when sharing.Because URL has length restriction, therefore when adding the anchor chain after URL, the expression can simplified by above-mentioned key word by the sharing information of the key of sharing website and target social media, thus generates a brief cryptographic hash, and using the part of this cryptographic hash as anchor chain.
Preferably, in embodiments of the present invention, anchor chain is shared except identification information except carrying by sharing website, also carrying this shares middle by the timestamp of sharing website, like this, while this acess control is once share capacity of returns step by execution, this statistical method can also comprise:
S8, this entrained by acquisition anchor chain is shared by the timestamp of sharing website;
According to the timestamp obtained, S10, determines that this accesses the degree of association shared with this; And
S12, shares according to degree of association statistics and this and corresponding shares capacity of returns.
Because system can record this concrete time point shared, and entrained this is shared by this concrete time point shared of the system log (SYSLOG) just of the time point on the timestamp of sharing website in anchor chain, therefore anchor chain exist between sharing with this one time correlation relation, that is, the degree of association.Like this, when this access produces, can according to access with this anchor chain that is associated and this share between the degree of association determine that this accesses whether to be shared by this and brought.Wherein, brought if determine that this access is shared by this, then this access added up as this capacity of returns of once sharing shared; Otherwise, then do not take statistics.
It should be noted that, the cryptographic hash in above-described embodiment and the timestamp in the present embodiment can be added into simultaneously be about to by the URL that shares, and using they unique anchor chains as this URL.
Because the timestamp in anchor chain can be associated with in concrete sharing exactly, therefore, pass through the embodiment of the present invention, the object sharing backflow quantitative statistics grain size refinement can be realized, thus can not only count on each social media always share capacity of returns and every day share capacity of returns, and can be added up certain share and brought share capacity of returns, and in certain period this certain share and brought share capacity of returns.
Preferably, in embodiments of the present invention, can in the following manner anchor chain be added in URL:
S14, judges whether there is original anchor chain in URL; And
S16, if judge to there is original anchor chain in URL, then first deletes original anchor chain, then is added into carrying in URL by the anchor chain sharing identification information of sharing website.
Also namely, if share link self originally just have anchor chain, then first remove and share the anchor chain that in link, self just has originally, share after link the default anchor chain generated in previous embodiment is added to, and then complete and share.
Because some URL self is with anchor chain, like this, if directly add new anchor chain after these URL, then these URL can be caused unavailable.And these URL self with anchor chain just location is played to the page, therefore, when sharing these URL, need first to delete original anchor chain, again the anchor chain with mark effect generated in previous embodiment is added after these URL, and finally complete and share.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
According to embodiments of the invention, provide a kind of statistic device sharing capacity of returns.It should be noted that, the statistical method of capacity of returns that what the embodiment of the present invention provided share can be performed by the statistic device sharing capacity of returns of the embodiment of the present invention, and the statistic device sharing capacity of returns of the embodiment of the present invention also may be used for the statistical method sharing capacity of returns performing the embodiment of the present invention.
Fig. 2 is the schematic diagram sharing the statistic device of capacity of returns according to the embodiment of the present invention.As shown in Figure 2, this device comprises: the first acquiring unit 10, judging unit 20 and the first statistic unit 30.First acquiring unit 10 accesses corresponding station address URL for obtaining with this, and URL is for accessing by the address of sharing website; Whether judging unit 20 exists for judging the anchor chain sharing identification information carried by sharing website in URL; And first statistic unit 30 for judge in URL exist carry by sharing website share the anchor chain of identification information time, by this acess control for once to share capacity of returns.
URL is for accessing by the address of sharing website.Such as, if this access is the official website of " Central People's Government of the People's Republic of China ", what then obtain accesses corresponding station address URL for " www.gov.cn " with this, wherein, " www.gov.cn " is the address of official website for accessing " Central People's Government of the People's Republic of China ", and " Central People's Government of the People's Republic of China " website be share that product shares by sharing website.Share product and comprise the plug-in unit of front end and the server of rear end.After the plug-in unit of front end is triggered, the server of rear end performs to be shared accordingly and shares capacity of returns statistical treatment.It should be noted that, the plug-in unit sharing the front end of product be arranged on need on the website of sharing.
In practice, when user triggers sharing function by the plug-in unit sharing the front end of product, when implementing to share to current page, then this server sharing the rear end of product first can add one after by the page path URL of sharing website and carries this by the anchor chain sharing identification information of sharing website.Wherein, share the unique identification information that identification information is anchor chain, and wherein include URL by the information of target social media shared.Like this, when there being user to access current page, can by judge access page path URL after whether carry mark this anchor chain shared determine whether this acess control as sharing capacity of returns.
If judging to exist in URL carries by the anchor chain sharing identification information of sharing website, then think that this access brought shares backflow for this is shared, thus by this acess control for once to share capacity of returns; If judging to exist in URL carries by the anchor chain sharing identification information of sharing website, then think that this access brought shares backflow for other are shared, thus not by this acess control for once to share capacity of returns.
Pass through the embodiment of the present invention, due to a unique mark can be done for sharing each time of user, and the relevant information of this mark is added into shares for each time in corresponding URL, therefore, as long as the backflow access that the URL that with the addition of identification information by this carries out just is shared for this time the capacity of returns of sharing brought by statistics, reach and can count on the real effect sharing capacity of returns.
Preferably, in embodiments of the present invention, this statistic device also comprises: authentication unit.Authentication unit be used for by this acess control for before once sharing capacity of returns, judge to exist in URL carry by sharing website share the anchor chain of identification information time, whether checking anchor chain correct, wherein, when verifying anchor chain and being correct, then perform the function of the first statistic unit.
Owing to being shared to after target social media by the related content of sharing website by this, user in this target social media can forward it in other social media, like this, user in other social media can access by sharing website again, the source of this access owing to not being target social media, be not therefore this share share capacity of returns.Such as, user A by the related content of " Central People's Government of the People's Republic of China " official website by after sharing the Sina's microblogging to oneself for the N time, the microblogging of the related content of " Central People's Government of the People's Republic of China " official website is forwarded to Tengxun's microblogging again by the user B of user A in the circle of friends of Sina's microblogging, now, the user C URL according to the related content of " Central People's Government of the People's Republic of China " official website corresponding to of user B in the circle of friends of Tengxun's microblogging conducts interviews, the source of this access is Tengxun's microblogging, instead of Sina's microblogging, therefore not brought share capacity of returns sharing for the N time of user A.
By the embodiment of the present invention, the statistics sharing capacity of returns more accurately can be obtained.
Further preferably, in embodiments of the present invention, authentication unit can comprise: acquisition module, generation module and authentication module.Acquisition module is for obtaining the key word of accessing corresponding current site with this and obtaining the key word of the social media for the source as URL; Generation module is used for the key word according to current site, the key word for the social media in the source as URL and URL and generates cryptographic hash to be verified; And authentication module is for verifying that whether cryptographic hash to be verified consistent with default cryptographic hash, wherein, cryptographic hash to be verified is consistent with default cryptographic hash, then anchor chain is correct, cryptographic hash to be verified and default cryptographic hash inconsistent, then anchor chain mistake.Further, when anchor chain is correct, by this acess control for once to share capacity of returns; When anchor chain mistake, capacity of returns statistics is not shared to this access.
Owing to the addition of unique anchor chain for sharing link (that is, URL) when sharing, therefore needing first to verify when adding up capacity of returns and whether sharing in link (that is, URL) containing anchor chain.If containing anchor chain, then verify that whether anchor chain is correct further.If not containing anchor chain, then without the need to verifying that whether anchor chain correct further, because if there is no anchor chain, then certainly can not by this acess control for sharing capacity of returns.
Owing to containing anchor chain in URL, and when verifying that whether anchor chain accurate, need to be verified by the information in anchor chain, therefore when statistics shares capacity of returns, can access (namely from this, current accessed) URL in containing anchor chain resolve current site key word (as, the key word of current site title), the key word of URL and the social media as the source of this URL (as, key word as the title of the social media in the source of this URL), and generate cryptographic hash to be verified according to analysis result.
During due to anchor chain mistake, be likely simulation share backflow, and and really share backflow, by the embodiment of the present invention, can prevent some share product malice simulation share backflow, cause statistics virtual height.
Preferably, in embodiments of the present invention, this statistic device can also comprise: generation unit.This generation unit may be used for generating default cryptographic hash in the following manner: obtain by the key word of the key word of sharing website, target social media and URL, and target social media is for sharing by the social media of the content of sharing website; And preset cryptographic hash according to being generated by the key word of the key word of sharing website, target social media and URL.
Particularly, can perform the above-mentioned steps in the present embodiment when sharing, like this, can be eachly added a unique anchor chain by the URL shared when sharing.Because URL is according to there being length to limit, therefore when adding the anchor chain after URL, the expression can simplified by above-mentioned key word by the sharing information of the key of sharing website and target social media, thus generates a brief cryptographic hash, and using the part of this cryptographic hash as anchor chain.
Preferably, in embodiments of the present invention, anchor chain is shared except identification information except carrying by sharing website, also carries this and shares by the timestamp of sharing website, like this, this statistic device can also comprise: second acquisition unit, determining unit and the second statistic unit.Second acquisition unit is used for while being once share capacity of returns by this acess control, and this entrained by acquisition anchor chain is shared by the timestamp of sharing website; Determining unit is used for determining that this accesses the degree of association shared with this according to the timestamp obtained; And second statistic unit be used for sharing according to degree of association statistics and this corresponding sharing capacity of returns.
It should be noted that, the cryptographic hash in above-described embodiment and the timestamp in the present embodiment can be added into simultaneously be about to by the URL that shares, and using they unique anchor chains as this URL.
Because the timestamp in anchor chain can be associated with in concrete sharing exactly, therefore, pass through the embodiment of the present invention, the object sharing backflow quantitative statistics grain size refinement can be realized, thus can not only count on each social media always share capacity of returns and every day share capacity of returns, and can be added up certain share and brought share capacity of returns, and in certain period this certain share and brought share capacity of returns.
Preferably, in embodiments of the present invention, this statistic device can also comprise: adding device.Adding device may be used for being added in URL by anchor chain in the following manner: judge whether there is original anchor chain in URL; If judge to there is original anchor chain in URL, then first delete original anchor chain, then be added into carrying in URL by the anchor chain sharing identification information of sharing website.
Also namely, if share link self originally just have anchor chain, then first remove and share the anchor chain that in link, self just has originally, share after link the default anchor chain generated in previous embodiment is added to, and then complete and share.
Because some URL self is with anchor chain, like this, if directly add new anchor chain after these URL, then these URL can be caused unavailable.And these URL self with anchor chain just location is played to the page, therefore, when sharing these URL, need first to delete original anchor chain, again the anchor chain with mark effect generated in aforementioned enforcement is added after these URL, and finally complete and share.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. share a statistical method for capacity of returns, it is characterized in that, comprising:
Obtain and access corresponding station address uniform resource position mark URL with this, described URL is for accessing by the address of sharing website;
Judge whether to exist in described URL carry described by the anchor chain sharing identification information of sharing website; And
If judge in described URL exist carry described by the described anchor chain sharing identification information of sharing website, then by this acess control for once to share capacity of returns.
2. the statistical method sharing capacity of returns according to claim 1, is characterized in that, by this acess control for before once sharing capacity of returns, described statistical method also comprises:
If judge that in described URL, existence carries described by the described anchor chain sharing identification information of sharing website, then verify that whether described anchor chain is correct,
Wherein, if it is correct to verify described anchor chain, then performing this acess control is the step once sharing capacity of returns.
3. the statistical method sharing capacity of returns according to claim 2, is characterized in that, verifies whether described anchor chain correctly comprises:
Obtain the key word and the key word obtaining the social media for providing described URL of accessing corresponding current site with this;
According to the key word of described current site, described for providing the key word of the social media of described URL and described URL to generate cryptographic hash to be verified; And
Verify that whether described cryptographic hash to be verified consistent with default cryptographic hash, wherein, if described cryptographic hash to be verified is consistent with described default cryptographic hash, then described anchor chain is correct, if described cryptographic hash to be verified and described default cryptographic hash inconsistent, then described anchor chain mistake.
4. the statistical method sharing capacity of returns according to claim 3, is characterized in that, generates described default cryptographic hash in the following manner:
Obtain described by the key word of the key word of sharing website, target social media and described URL, described target social media is described by the social media of the content of sharing website for sharing; And
Described default cryptographic hash is generated by the key word of the key word of sharing website, described target social media and described URL according to described.
5. the statistical method sharing capacity of returns according to claim 1, is characterized in that, described anchor chain also carries this and shares described by the timestamp of sharing website, and while being once share capacity of returns by this acess control, described statistical method also comprises:
This obtaining entrained by described anchor chain is shared described by the described timestamp of sharing website;
Determine that this accesses the degree of association shared with this according to the described timestamp obtained; And
Share according to described degree of association statistics and this and corresponding share capacity of returns.
6. the statistical method sharing capacity of returns according to claim 1, is characterized in that, is added in described URL in the following manner by described anchor chain:
Judge whether there is original anchor chain in described URL;
If judge to there is described original anchor chain in described URL, then first delete described original anchor chain, then carry the described anchor chain sharing identification information by sharing website be added into described in described URL.
7. share a statistic device for capacity of returns, it is characterized in that, comprising:
First acquiring unit, accesses corresponding station address uniform resource position mark URL for obtaining with this, and described URL is for accessing by the address of sharing website;
Judging unit, for judge whether to exist in described URL carry described by the anchor chain sharing identification information of sharing website; And
First statistic unit, for judge in described URL exist carry described by sharing website share the described anchor chain of identification information time, by this acess control for once to share capacity of returns.
8. the statistic device sharing capacity of returns according to claim 7, is characterized in that, described statistic device also comprises:
Authentication unit, for by this acess control for before once sharing capacity of returns, judge to exist in described URL carry described by sharing website share the described anchor chain of identification information time, verify that whether described anchor chain correct,
Wherein, when verifying described anchor chain and being correct, then perform the function of described first statistic unit.
9. the statistic device sharing capacity of returns according to claim 8, is characterized in that, described authentication unit comprises:
Acquisition module, for obtaining the key word of accessing corresponding current site with this and obtaining the key word of the social media for providing described URL;
Generation module, for the key word according to described current site, described for providing the key word of the social media of described URL and described URL to generate cryptographic hash to be verified; And
Authentication module, whether consistent with default cryptographic hash for verifying described cryptographic hash to be verified, wherein, if described cryptographic hash to be verified is consistent with described default cryptographic hash, then described anchor chain is correct, if described cryptographic hash to be verified and described default cryptographic hash inconsistent, then described anchor chain mistake.
10. the statistic device sharing capacity of returns according to claim 9, is characterized in that, described statistic device also comprises: generation unit, and described generation unit generates described default cryptographic hash in the following manner:
Obtain described by the key word of the key word of sharing website, target social media and described URL, described target social media is described by the social media of the content of sharing website for sharing; And
Described default cryptographic hash is generated by the key word of the key word of sharing website, described target social media and described URL according to described.
11. statistic devices sharing capacity of returns according to claim 7, is characterized in that, described anchor chain also carries this and shares described by the timestamp of sharing website, and described statistic device also comprises:
Second acquisition unit, for while being once share capacity of returns by this acess control, this obtaining entrained by described anchor chain is shared described by the described timestamp of sharing website;
Determining unit, for determining that according to the described timestamp obtained this accesses the degree of association shared with this; And
Second statistic unit, corresponding shares capacity of returns for sharing according to described degree of association statistics and this.
12. statistic devices sharing capacity of returns according to claim 7, it is characterized in that, described statistic device also comprises: adding device, and described adding device is used for being added in described URL by described anchor chain in the following manner:
Judge whether there is original anchor chain in described URL;
If judge to there is described original anchor chain in described URL, then first delete described original anchor chain, then carry the described anchor chain sharing identification information by sharing website be added into described in described URL.
CN201410758301.0A 2014-12-10 2014-12-10 Share the statistical method and device of capacity of returns Active CN104462392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410758301.0A CN104462392B (en) 2014-12-10 2014-12-10 Share the statistical method and device of capacity of returns

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410758301.0A CN104462392B (en) 2014-12-10 2014-12-10 Share the statistical method and device of capacity of returns

Publications (2)

Publication Number Publication Date
CN104462392A true CN104462392A (en) 2015-03-25
CN104462392B CN104462392B (en) 2017-11-21

Family

ID=52908427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410758301.0A Active CN104462392B (en) 2014-12-10 2014-12-10 Share the statistical method and device of capacity of returns

Country Status (1)

Country Link
CN (1) CN104462392B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106611007A (en) * 2015-10-26 2017-05-03 北京国双科技有限公司 Detection method and device of reprinted reflow data
CN108259207A (en) * 2016-12-29 2018-07-06 北京国双科技有限公司 Flow statistical method, client, server and system
WO2018153207A1 (en) * 2017-02-23 2018-08-30 腾讯科技(深圳)有限公司 Data processing method, server, terminal, and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163045A (en) * 2007-11-16 2008-04-16 北京金山软件有限公司 Method and system of statistical web page access data
JP2008171233A (en) * 2007-01-12 2008-07-24 Nec Corp System, method and program for sharing resource relation information
CN102682094A (en) * 2012-04-26 2012-09-19 腾讯科技(深圳)有限公司 Statistical method, statistical system and statistical device for transmission health degree
CN103688513A (en) * 2013-06-29 2014-03-26 华为技术有限公司 Content sharing method and Social Synchronizing Apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008171233A (en) * 2007-01-12 2008-07-24 Nec Corp System, method and program for sharing resource relation information
CN101163045A (en) * 2007-11-16 2008-04-16 北京金山软件有限公司 Method and system of statistical web page access data
CN102682094A (en) * 2012-04-26 2012-09-19 腾讯科技(深圳)有限公司 Statistical method, statistical system and statistical device for transmission health degree
CN103688513A (en) * 2013-06-29 2014-03-26 华为技术有限公司 Content sharing method and Social Synchronizing Apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106611007A (en) * 2015-10-26 2017-05-03 北京国双科技有限公司 Detection method and device of reprinted reflow data
CN106611007B (en) * 2015-10-26 2020-02-07 北京国双科技有限公司 Detection method and device for reprinting backflow data
CN108259207A (en) * 2016-12-29 2018-07-06 北京国双科技有限公司 Flow statistical method, client, server and system
CN108259207B (en) * 2016-12-29 2021-04-27 北京国双科技有限公司 Traffic statistical method, client, server and system
WO2018153207A1 (en) * 2017-02-23 2018-08-30 腾讯科技(深圳)有限公司 Data processing method, server, terminal, and system
CN108471376A (en) * 2017-02-23 2018-08-31 腾讯科技(深圳)有限公司 Data processing method, apparatus and system
CN108471376B (en) * 2017-02-23 2020-11-10 腾讯科技(深圳)有限公司 Data processing method, device and system

Also Published As

Publication number Publication date
CN104462392B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
US11176573B2 (en) Authenticating users for accurate online audience measurement
Bujlow et al. A survey on web tracking: Mechanisms, implications, and defenses
CN109067541B (en) Data verification method and device based on block chain and electronic equipment
ES2679286T3 (en) Distinguish valid users of robots, OCR and third-party solvers when CAPTCHA is presented
Nappa et al. The MALICIA dataset: identification and analysis of drive-by download operations
Rahman et al. Efficient and scalable socware detection in online social networks
Gugelmann et al. An automated approach for complementing ad blockers’ blacklists
US10078743B1 (en) Cross identification of users in cyber space and physical world
Bujlow et al. Web tracking: Mechanisms, implications, and defenses
KR20180082504A (en) Methods and equipment for application information risk management
CN107241292B (en) Vulnerability detection method and device
CN107483563A (en) The data query method and apparatus and client and server of anti-reptile
CN110677384B (en) Phishing website detection method and device, storage medium and electronic device
CN109241733A (en) Crawler Activity recognition method and device based on web access log
US20130179421A1 (en) System and Method for Collecting URL Information Using Retrieval Service of Social Network Service
CN103095693A (en) Method for positioning and accessing database user host information
KR20180088655A (en) A method for detecting web tracking services
Yan et al. Rolling colors: Adversarial laser exploits against traffic light recognition
Serketzis et al. Actionable threat intelligence for digital forensics readiness
Tongaonkar A look at the mobile app identification landscape
Butler et al. REAPER: an automated, scalable solution for mass credential harvesting and OSINT
Farooqi et al. Canarytrap: Detecting data misuse by third-party apps on online social networks
CN106067879A (en) The detection method of information and device
CN104462392A (en) Statistical method and statistical device for sharing return traffic
US10049231B2 (en) Method and system for obfuscating the properties of a web browser

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Statistical method and statistical device for sharing return traffic

Effective date of registration: 20190531

Granted publication date: 20171121

Pledgee: Shenzhen Black Horse World Investment Consulting Co., Ltd.

Pledgor: Beijing Guoshuang Technology Co.,Ltd.

Registration number: 2019990000503

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: Beijing Guoshuang Technology Co.,Ltd.