Statistical method and device for web hits

A statistical method and click volume technology, applied in the network field, can solve the problems of inaccurate click volume statistics and high cost, and achieve the effects of improving accuracy, saving costs, and improving statistical speed.

Inactive Publication Date: 2016-06-22
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF8 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and device for counting webpage clicks, which can solve the technical problems of high cost and inaccurate statistics of clicks in existing webpage clicks statistics schemes

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Statistical method and device for web hits
  • Statistical method and device for web hits
  • Statistical method and device for web hits

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] This embodiment will be described from the perspective of an apparatus for counting hits on webpages. The apparatus for counting hits on webpages may specifically be integrated in a terminal or other equipment that needs to count hits on webpages.

[0048] Wherein, the device for counting web page hits can be integrated in the terminal in various manners, for example, it can be installed in the terminal in the form of a terminal application.

[0049] A method for counting web page clicks, comprising: detecting whether a click event occurs on a web page link currently displayed by a browser, and if so, calling the statistical function of the browser to perform statistics on the clicks of the web page link, so as to obtain the number of clicks on the web page link Traffic statistics information, call the browser to send the traffic statistics information to the server.

[0050] Such as figure 1 As shown, the flow chart of the statistical method of the page hits is as fol...

Embodiment 2

[0068] This embodiment will be further described on the basis of the method in Embodiment 1.

[0069] Such as figure 2 As shown, the schematic diagram of the flow chart of the statistical method of the web page hits is as follows:

[0070] In step S201, the browser is initialized, and a script is injected into the browser to form a statistical interface for calling statistical functions.

[0071] In the embodiment of the present invention, when the browser is initialized, a script, such as a JS script, is injected into the browser through the inherent interface of the browser, and the script is used to form a statistical interface for calling statistical functions.

[0072] Step S202, detecting whether a click event occurs on the web page link currently displayed by the browser, if yes, execute step S203, if not, return to execute step 202 to continue detection.

[0073] Specifically, when a user clicks on a webpage link, a click event will be generated, which is pre-define...

Embodiment 3

[0085] According to the methods described in Embodiments 1 and 2, examples will be given below for further detailed description.

[0086] In this embodiment, it will be described in detail by taking the device for counting web page hits integrated in a smart phone as an example.

[0087] Such as image 3 As shown, a method for counting clicks after a web page receives a click event, the specific process can be as follows:

[0088] Step S301, when initializing the WebView of the browser, inject JavaScript for calling the browser statistics function into the WebView.

[0089] In this embodiment, with the help of the feature that AndroidWebView can inject JavaScript, when the client initializes WebView, it calls the inherent interface of WebView and injects statistical JavaScript, wherein the JavaScript object contains statistical methods, that is, JavaScript objects and statistical methods correspond.

[0090]For example, inject JS functions into JS in the form of strings. If...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the invention disclose a statistical method and device for web hits. The method comprises the following steps of setting a statistical interface used for calling a statistical function, detecting whether a web page link on a currently-displayed web page of a browser has a click event, if yes, calling the statistical function of the browser to carry out statistics on the hits of the web page link through the statistical interface in order to obtain hit statistic information of the web page link; and calling the browser to send the hit statistic information to a server. According to the scheme, through utilizing the existing statistical function of a client, statistics and uploading of the web page links are realized, implementation is relatively simple, and the statistical efficiency of the web page clicks is greatly improved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method and device for counting web page hits. Background technique [0002] Existing smart phones can provide users with the function of browsing web pages through the web page window displayed by the browser. Record the user's browsing records, and then use appropriate data mining technology to analyze the browsing records, so as to improve the page layout of the web page. [0003] For example, the number of hits of a certain webpage link on the currently displayed page of the browser (such as the Android platform browser) can be counted to analyze whether the webpage content corresponding to the webpage link is liked by the user or not. Specifically, the browser sends the click information of the webpage link to the click statistics server, and the click statistics server counts the clicks of the webpage link. [0004] However, the analysis of the above-mentioned web page ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/958
Inventor 高才
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products