CN107451167B - Click data acquisition method, device and system for click bits in station - Google Patents

Click data acquisition method, device and system for click bits in station Download PDF

Info

Publication number
CN107451167B
CN107451167B CN201610524373.8A CN201610524373A CN107451167B CN 107451167 B CN107451167 B CN 107451167B CN 201610524373 A CN201610524373 A CN 201610524373A CN 107451167 B CN107451167 B CN 107451167B
Authority
CN
China
Prior art keywords
click
bit
unique
click bit
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610524373.8A
Other languages
Chinese (zh)
Other versions
CN107451167A (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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Publication of CN107451167A publication Critical patent/CN107451167A/en
Application granted granted Critical
Publication of CN107451167B publication Critical patent/CN107451167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging

Abstract

The invention provides a click data acquisition system of a webpage click bit, which comprises a client and a server. The client comprises: the unique identifier generation module is used for generating a unique click bit identifier for each click bit on the webpage according to the html DOM element on the webpage and the attribute of the html DOM element on the webpage; and the parameter adding module is used for adding the clicked link address to the unique click bit identifier of the click bit and outputting the unique click bit identifier when the user clicks the click bit. The server includes: the log collection module is used for acquiring a link address in an http request generated by clicking the click bit by the user and a Referer value in header information of the http request from the output of the parameter adding module; and the data processing module is used for analyzing the unique identification of the click bit in the complete link address of the http request, extracting a part which does not contain the unique identification of the click bit in the Referer value, and associating the two parts to calculate the click quantity of the click bit.

Description

Click data acquisition method, device and system for click bits in station
Technical Field
The present invention relates generally to computer networks, and more particularly to a method and system for acquiring click data of click bits in a website, and more particularly to a method for acquiring click data of click bits in a website based on HTML DOM and Referer.
Background
When a user accesses a website, the click condition of each click position on a page is very important for website operators and website analysts. At present, the mainstream website statistical tools perform statistics by a click stream principle, and all the statistical tools need to perform preposition work when counting the click behaviors of users. Specifically, a point is embedded in a corresponding position in advance, and when a user clicks, a click log or a browse log is reported to the data receiving server for data collection. After the data calculation server processes the data, the click data and the heat thereof can be displayed in the corresponding data product.
This method requires a pre-operation, and additionally requires an additional maintenance operation when adjusting the statistical bit, which is troublesome. Each click needs to additionally generate a request for reporting the log, and the communication flow is additionally consumed. The two links of log generation and log reporting are processed at the front end, which can affect the page loading performance under some conditions and have reliability problem. In addition, the method of reporting the click log has reliability problem, and if the network problem is met or the page is closed before the log is not reported, the page is lost.
Disclosure of Invention
One aspect of the present invention provides a system for acquiring click data of a web page click bit, including a client and a server, wherein: the client comprises: the unique identifier generation module is used for generating a unique click bit identifier for each click bit on the webpage according to the html DOM element on the webpage and the attribute of the html DOM element; the parameter adding module adds the clicked link address to the unique click bit identifier of the click bit and outputs the unique click bit identifier when the user clicks the click bit; the server includes: the log collection module is used for acquiring a link address in an http request generated by clicking the click bit by the user and a Referer value in header information of the http request from the output of the parameter adding module; and the data processing module is used for analyzing the unique identification of the click bit in the complete link address of the http request, extracting a part which does not contain the unique identification of the click bit in the Referer value, and associating the two parts to calculate the click quantity of the click bit.
The invention also provides a method for acquiring click data of the webpage click bit, which comprises the following steps: generating a unique click bit identifier for each click bit on the webpage according to the html DOM element on the webpage and the attribute of the html DOM element; when a user clicks a click position, adding the clicked link address to the unique click position identification of the click position to obtain and output an additional result; obtaining a link address in an http request generated by clicking the click bit by the user and a Referer value in header information of the http request from the additional result; and analyzing the unique identification of the click bit in the complete link address of the http request, taking out the part which does not contain the unique identification of the click bit in the Referer value, and associating the two to calculate the click amount of the click bit.
Optionally, the generating of the click unique identifier by the unique identifier generating module includes: taking a click bit element as a starting point, finding an element which has a unique attribute and is closest to the click bit element upwards in an html file as a unique attribute element, if the click bit element does not have an element with the unique attribute up to a root element, the unique attribute element corresponding to the click bit element is a next-level element of the root element, and if the click bit element has a unique attribute, the corresponding unique attribute element of the click bit element is itself; calculating the number of the same-level elements as the click bit elements between the unique attribute element and the click bit element; and generating the click bit unique identifier of the click bit element according to the unique attribute element, the click bit element and the number of the same-level elements.
Optionally, generating the click bit unique identifier of the click bit element according to the unique attribute element, the click bit element, and the number of the peer elements includes: if a click bit element does not have a unique attribute, the click bit unique identifier of the click bit element is represented as: the element name [ the attribute of the unique attribute element ] | | of the unique attribute element is the number of the elements of the same level as the name of the click bit element; if the click bit element has unique attribute, the click bit unique identifier is expressed as: the click bitfield name [ the attribute of the click bitfield ].
Optionally, the Referer value of the http request indicates the page of the web page where the click bit is located.
Optionally, the data processing module is provided to splice the unique click bit identifier in the complete link address of the http request and the part of the Referer value that does not include the unique click bit identifier, and then use the spliced part as a key, and use the click amount as a value data call interface.
Optionally, the system for acquiring click data of a webpage click bit further includes: and the data display module is used for acquiring the generated unique click bit identifier in the current webpage, splicing the current page link and the unique click bit identifier to be used as a key to call the data call interface, and displaying the returned click volume data.
Optionally, the client includes the data presentation module; and/or the data presentation module presents the click volume data on the click position element in a layer form.
The invention also provides a device for acquiring the click data of the webpage click bit, which comprises the following components: a memory; and a processor coupled to the memory, the processor configured to perform the method as described above based on instructions stored in the memory.
The present invention also provides a computer readable storage medium storing computer instructions which, when executed by a processor, implement the method as described above.
Drawings
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1 shows a schematic block diagram of a click data acquisition system for an in-station click location according to an embodiment of the invention.
FIG. 2 illustrates a click digit unique identifier generation principle according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating the display of click data on click voxel blocks of a web page.
Detailed Description
Other aspects, advantages and salient features of the invention will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses exemplary embodiments of the invention.
This description illustrates schematically the principles of the present invention. It will thus be appreciated that those skilled in the art will be able to devise various arrangements that, although not explicitly described or shown herein, embody the principles of the invention and are included within its spirit and scope.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions.
Moreover, all statements herein reciting principles, aspects, and embodiments of the invention, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. It is intended that such equivalents include both currently known equivalents as well as equivalents developed in the future, i.e., any elements developed that perform the same function, regardless of structure.
It will thus be appreciated by those skilled in the art that block diagrams illustrate exemplary conceptual views embodying the principles of the invention. It will be appreciated that any flow charts, flow diagrams, state transition diagrams, pseudocode, and the like are intended to represent various processes which may be substantially represented in computer readable media and so executed by a computer or processor, whether or not such computer or processor is explicitly shown.
Reference in the specification to "one embodiment" or "an embodiment" and other variations of the principles of the invention means: the particular features, structures, characteristics, etc. described in connection with the embodiments are included in at least one embodiment of the invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification, and any other variations, are not necessarily all referring to the same embodiment.
It is to be understood that the use of the terms "and/or" and at least one of "… …, for example in the case of" a and/or B "and" at least one of a and B ", is intended to encompass the selection of only the first listed item (a), or only the second listed item (B), or both items (a and B). As another example, in the case of "A, B and/or C" and "at least one of A, B and C", such a representation is intended to include selecting only the first listed item (a), or only the second listed item (B), or only the third listed item (C), or only the first and second listed items (a and B), or only the first and third listed items (a and C), or only the second and third listed items (B and C), or all three items (a and B and C). It will be apparent to those of ordinary skill in this and related arts that the foregoing is extensible for many of the items listed. In the present invention, the terms "include" and "comprise," as well as derivatives thereof, mean inclusion without limitation; the term "or" is inclusive, meaning and/or.
In this specification, the various embodiments described below which are meant to illustrate the principles of this invention are illustrative only and should not be construed in any way to limit the scope of the invention. The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the invention as defined by the claims and their equivalents. The following description includes various specific details to aid understanding, but such details are to be regarded as illustrative only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Moreover, descriptions of well-known functions and constructions are omitted for clarity and conciseness. Moreover, throughout the drawings, the same reference numerals are used for similar functions and operations.
FIG. 1 shows a schematic block diagram of a click data acquisition system for an in-station click location according to an embodiment of the invention. The system comprises a client 10 and a server 20.
According to an embodiment of the present invention, the client 10 includes a unique identifier generation module 11, a parameter appending module 12, and a data presentation module 13. The server 20 includes a log collection module 21 and a data processing module 22.
According to the embodiment of the invention, the unique identifier generating module 11 generates a unique identifier for each link click bit on the webpage according to the html DOM element on the webpage and the attribute of the html DOM element. According to an embodiment of the present invention, the unique identifier generating module 11 may be implemented using JavaScript.
The HTML DOM is an abbreviation of HTML Document Object Model, which is a Document Object Model applicable to HTML/XHTML. The html DOM treats each element of a web page as a single object, so that the elements of the web page can be retrieved or edited by a computer language. For example, Javascript may dynamically modify the web page using html DOM.
The DOM is a collection of nodes or pieces of information organized in a hierarchy. This hierarchy allows developers to navigate through the tree looking for specific information. The HTML DOM renders the HTML document as a node tree structure.
JavaScript is a Web-based scripting language, has been widely used for Web application development, and is often used to add various dynamic functions to a Web page. Usually, JavaScript scripts implement their functions by being embedded in HTML.
FIG. 2 illustrates a click digit unique identifier generation principle according to an embodiment of the present invention.
As shown in fig. 2, starting from the click bit element, an element having a unique attribute (for example, id attribute) closest to the click bit element (hereinafter, simply referred to as "unique attribute element") is found upward in the html file.
If the click bit element has no element with the unique attribute up to the root element, the unique attribute element corresponding to the click bit element is the next-level element of the root element. Calculating the number of the same level elements between the unique attribute element and the click bit element. And generating the click bit unique identifier of the click bit element according to the unique attribute element, the click bit element and the number of the peer elements. If the click-bit element itself has a unique attribute, then the corresponding unique attribute element of the click-bit element is itself.
According to the embodiment of the present invention, if a click bit element itself does not have a unique attribute, the click bit unique identifier of the click bit element can be expressed as: the element name of the unique attribute element [ attribute of the unique attribute element ] | | the click bit element name-the number of sibling elements. If the click bit element has a unique attribute, the click bit unique identifier can be expressed as: the click bitfield name [ the attribute of the click bitfield ].
For example, as shown in fig. 2, the click bit element < a id ═ topic "> itself has an id attribute, then no lookup up is needed, its unique identification is a [ topic ]. The element which contains no ID attribute up to the root element is not a class element, so the first element (i.e. body element) under the root element is taken as the unique attribute element, and there are 3 elements in the same level as the < a > element of the < a class ═ hot >, so the unique identifier is body | | a-3. The < p > element exists upwards with an id attribute element < div id ═ left', and the peer < p > element has 4 elements, so the unique identifier is div [ left ] | | p-4.
The parameter appending module 12 appends the clicked link with the value of the ctapid parameter (or other agreed parameter) when the action of the user clicking the link is generated. Is used if the appended location of the parameter is the first parameter after the clicked link? "connect it with the clicked link, if not the first parameter, connect it with the clicked link with" & ". According to an embodiment of the present invention, the parameter appending module may be implemented using JavaScript, for example.
For example, if the clicked link is www.abc.com/, and the ctagid value corresponding to the click bit is xyz, the parameter appending module 12 outputs www.abc.com/? ctagid ═ xyz. As another example, if the clicked link is www.abc.com/? 123, where the ctagid value corresponding to the click digit is abc, the parameter addition module 12 outputs www.abc.com/? p 123& ctagid abc.
When the user clicks the link, the client 10 transmits the output of the parameter addition module 12 to the log collection module 21 of the server 20. The log collection module 21 parses the output of the parameter appending module 12 to obtain two values: the user clicks on the link to generate the link address in the http request (in the above example, the link address is www.abc.com/. The ctagid in the http request link is the unique identification bit of the click bit of the previous page (indicated by the refer value).
The data processing module 22 analyzes the ctapid parameter in the complete link address of the http request, takes out the part of the Referer value which does not contain the ctapid parameter, correlates the two to calculate the click quantity of each click bit of each page link, and provides a data calling interface which uses the spliced two as key and the click quantity data as value.
When the click bit data needs to be checked, the data display module 13 first obtains the generated ctapid in the web page, splices the click bit link to be checked and the ctapid to be used as a data calling interface provided by the key calling data processing module 22, and displays the returned click data on the click bit element module of the web page in a masked form, as shown in fig. 3. According to an embodiment of the present invention, the data presentation module 13 may be implemented using JavaScript.
According to the click data acquisition method and system, the click bit does not need to be buried, extra workload is reduced, and statistics is more flexible. In addition, the data is collected at the server without additionally generating log report, so that the communication traffic can be reduced, and the network resources are saved.
The above-described methods, apparatuses and/or devices according to embodiments of the present invention may be implemented by an electronic device having computing capabilities executing software containing computer instructions. The computing-capable electronic device may include, but is not limited to, a general-purpose processor, a digital signal processor, a special-purpose processor, a reconfigurable processor, and the like capable of executing computer instructions. Execution of such instructions causes the electronic device to be configured to perform the operations described above in accordance with the present invention. The above devices and/or modules may be implemented in one electronic device, or may be implemented in different electronic devices. Such software may be stored in a computer readable storage medium. The computer readable storage medium stores one or more programs (software modules) comprising instructions which, when executed by one or more processors in the electronic device, cause the electronic device to perform the methods of the present invention.
Such software may be stored in the form of volatile memory or non-volatile storage (such as storage devices like ROM), whether erasable or rewritable, or in the form of memory (e.g. RAM, memory chips, devices or integrated circuits), or on optically or magnetically readable media (such as CD, DVD, magnetic disks or tapes, etc.). It should be appreciated that the storage devices and storage media are embodiments of machine-readable storage suitable for storing one or more programs that include instructions, which when executed, implement embodiments of the present invention. Embodiments provide a program and a machine-readable storage device storing such a program, the program comprising code for implementing an apparatus or method as claimed in any one of the claims of the invention. Further, these programs may be delivered electronically via any medium (e.g., communication signals carried via a wired connection or a wireless connection), and embodiments suitably include these programs.
For example, an exemplary computing system may be used to implement the embodiments. The computing system includes a computer. The computer may include a processor, memory, and one or more drives. The drives and their associated computer storage media may provide storage of computer readable instructions, data structures, program modules and other data for the computer. The computer may be implemented as a conventional computer system, an embedded control computer, a laptop or server computer, a mobile device, a set-top box, a kiosk, a vehicular information system, a mobile telephone, a customized machine, or other hardware platform. A processor may be a general purpose processor, a processor core, a multiprocessor, a multicore processor, a graphics processor, a Digital Signal Processing (DSP) processor, a custom computing device implemented in an Application Specific Integrated Circuit (ASIC), a custom computing device implemented in a Field Programmable Gate Array (FPGA), a custom computing device implemented in any type of programmable logic, a state machine, a reconfigurable processor, any other processing unit, or any combination or repetition thereof.
The drives, other storage devices, or their associated computer-readable storage media may store an operating system, application programs, program modules, or a database. The computer may include a user input device through which a user may enter commands and data. The input device may include an electronic digitizer, a microphone, a keyboard, a pointing device, or any combination thereof. Examples of a pointing device may include a mouse, trackball, light pen, touch screen, or touch pad. Other input devices to the computer may include a joystick, game pad, satellite dish, scanner, or the like. The input device may be connected to the processor through a user input interface that is coupled to the system bus. Input devices may also be connected by other interface and bus structures, such as a parallel port, game port or a Universal Serial Bus (USB). Computers may also include other peripheral output devices such as speakers, which may be connected through an output peripheral interface or the like.
The computer may operate in a networked environment using logical connections to one or more computers, such as a remote computer connected to a network interface. The remote computer may be a personal computer, a server, a router, a network PC, a peer device or other common network node. The remote computer may include many or all of the elements described herein relative to the computer. The networking environment may include a network (WAN), a Local Area Network (LAN), an intranet, the Internet, or a combination thereof.
When used in a LAN or a Wireless LAN (WLAN) networking environment, the computer may be connected to the LAN through a network interface or network adapter. When used in a WAN networking environment, the computer may include a modem or other mechanism for establishing communications over the WAN. The WAN may include the internet, the networks set forth, various other networks, or any combination thereof. It should be appreciated that other mechanisms for establishing a communications link, ring, mesh, bus, cloud, or network between the computers may be used.
In accordance with one or more embodiments, the computer may be configured such that the processors and/or program modules may operate with or as a multi-processor based computer, or as a computer performing virtualization of multiple processors in accordance with embodiments presented herein. Multiple processors or virtual representations of multiple processors may support dynamic interrupt scheduling. The computer may include one or more instances of physical computer-readable storage media associated with a drive or other storage device. The system bus may enable the processor to read code and/or data from or write to the computer-readable storage medium. The media may represent a device in the form of a memory element implemented using any suitable technology, including but not limited to semiconductors, magnetic materials, optical media, electrical storage devices, electrochemical storage devices, or any other such storage technology. The medium may represent components associated with memory, whether characterized as RAM, ROM, flash memory, or other types of volatile or non-volatile memory technology. The medium may also represent a secondary storage device, whether implemented as a storage drive or not. Hard drive implementations may be characterized as solid state or may include a rotating medium that stores magnetically encoded information.
The storage media may include one or more program modules. The program modules may include software instructions that, when loaded into a processor and executed, transform a general-purpose computing system into a special-purpose computing system customized in accordance with the present invention. As described in detail in this specification, program modules may provide various means or techniques by which a computer can participate in a system or operating environment that utilizes all of the components, logic flows, and/or data structures discussed herein.
A processor may be constructed from any number of transistors or other circuit elements, which individually or collectively may have any number of states. Rather, the processor may operate as a state machine or a finite state machine. Such a mechanism may be transformed into a second mechanism or a specific mechanism by loading executable instructions contained in a program module. These computer-executable instructions may transform a processor by specifying how the processor transitions between states, thereby transforming transistors or other circuit elements constituting the processor from a first mechanism to a second mechanism, where the second mechanism may be specifically configured to support dynamic interrupt scheduling. The state of the mechanisms may also be transformed by receiving input from one or more user input devices, network interfaces, other peripherals, other interfaces, one or more users, or other actors. Mechanisms may also transform the state or various physical characteristics of various output devices, such as printers, speakers, video displays, etc.
Encoding the program modules may also transform the physical structure of the storage media. The particular transformation of physical structure may depend on various factors, in different implementations of the present description. Examples of such factors may include (but are not limited to): techniques for implementing a storage medium, whether the storage medium is characterized as a primary or secondary storage device, and so forth. For example, if the storage medium is implemented as semiconductor-based memory, the program modules may transform the physical state of the semiconductor memory when software is encoded therein. For example, software may transform the state of transistors, capacitors, or other discrete circuit elements that make up a semiconductor memory.
As another example, the storage medium may be implemented using magnetic or optical technology such as a drive. In such implementations, the program modules may transform the physical state of magnetic or optical media, when the software is encoded therein. These transformations may include altering the magnetic characteristics of particular locations in a given magnetic medium. These transformations also may include altering the physical features or characteristics of particular locations in a given optical medium to change the optical characteristics of those locations. It should be understood that various other transformations of physical media are possible without departing from the scope and spirit of the present description.
Methods, apparatus and/or devices according to embodiments of the invention may also be implemented using hardware or firmware, such as Field Programmable Gate Arrays (FPGAs), Programmable Logic Arrays (PLAs), system on a chip, system on a substrate, system on a package, Application Specific Integrated Circuits (ASICs) or in any other reasonable manner for integrating or packaging circuits or in any suitable combination of software, hardware and firmware implementations. When implemented in these manners, the software, hardware, and/or firmware used is programmed or designed to perform the corresponding above-described methods, steps, and/or functions according to the present invention. One skilled in the art can implement one or more of these systems and modules, or one or more portions thereof, using different implementations as appropriate to the actual needs. All of these implementations fall within the scope of the present invention.
While the invention has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents. Accordingly, the scope of the present invention should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (16)

1. A click data acquisition system of a webpage click bit comprises a client and a server, wherein:
the client comprises:
the unique identifier generation module is used for generating a unique identifier of each click position on the webpage according to the html 1 DOM element on the webpage and the attribute of the DOM element; and
the parameter adding module adds the clicked link address to the unique click bit identifier of the click bit and outputs the unique click bit identifier when the user clicks the click bit;
the server includes:
the log collection module is used for acquiring a link address in an http request generated by clicking the click bit by the user and a Referer value in header information of the http request from the output of the parameter adding module; and
and the data processing module analyzes the unique identification of the click bit in the complete link address of the http request, takes out the part which does not contain the unique identification of the click bit in the Referer value, and associates the two parts to calculate the click quantity of the click bit.
2. The system of claim 1, wherein the unique identifier generation module generating the click digit unique identifier comprises:
taking a click bit element as a starting point, finding an element which has a unique attribute and is closest to the click bit element upwards in an html file as a unique attribute element, if the click bit element does not have an element with the unique attribute up to a root element, the unique attribute element corresponding to the click bit element is a next-level element of the root element, and if the click bit element has a unique attribute, the corresponding unique attribute element of the click bit element is itself;
calculating the number of the same-level elements as the click bit elements between the unique attribute element and the click bit element; and
and generating the click bit unique identifier of the click bit element according to the unique attribute element, the click bit element and the number of the peer elements.
3. The system of claim 2, wherein generating the click-to-go unique identifier for the click-to-go element based on the unique attribute element, the click-to-go element, and the number of sibling elements comprises:
if a click bit element does not have a unique attribute, the click bit unique identifier of the click bit element is represented as: the element name [ the attribute of the unique attribute element ] | | of the unique attribute element is the number of the elements of the same level as the name of the click bit element;
if the click bit element has unique attribute, the click bit unique identifier is expressed as: the click bitfield name [ the attribute of the click bitfield ].
4. The system of claim 1, wherein the Referer value of the http request indicates a page of the web page where the click bit is located.
5. The system according to claim 1, wherein the data processing module provides a data call interface for splicing the unique identification of the click bit in the complete link address of the http request and the part of the refer value not containing the unique identification of the click bit as a key and using the click amount as a value.
6. The system of claim 5, further comprising:
and the data display module is used for acquiring the generated unique click bit identifier in the current webpage, splicing the current page link and the unique click bit identifier to be used as a key to call the data call interface, and displaying the returned click volume data.
7. The system of claim 6, wherein:
the client comprises the data display module; and/or
And the data display module displays the click quantity data on the click position element in a covering layer mode.
8. A method for acquiring click data of a webpage click bit comprises the following steps:
generating a unique click bit identifier for each click bit on the webpage according to the html DOM element on the webpage and the attribute of the html DOM element;
when a user clicks a click position, adding the clicked link address to the unique click position identification of the click position to obtain and output an additional result;
obtaining a link address in an http request generated by clicking the click bit by the user and a Referer value in header information of the http request from the additional result; and
and analyzing the unique identification of the click bit in the complete link address of the http request, taking out the part which does not contain the unique identification of the click bit in the Referer value, and associating the two parts to calculate the click amount of the click bit.
9. The method of claim 8, wherein generating the click digit unique identifier comprises:
taking a click bit element as a starting point, finding an element which has a unique attribute and is closest to the click bit element upwards in an html file as a unique attribute element, if the click bit element does not have an element with the unique attribute up to a root element, the unique attribute element corresponding to the click bit element is a next-level element of the root element, and if the click bit element has a unique attribute, the corresponding unique attribute element of the click bit element is itself;
calculating the number of the same-level elements as the click bit elements between the unique attribute element and the click bit element; and
and generating the click bit unique identifier of the click bit element according to the unique attribute element, the click bit element and the number of the peer elements.
10. The method of claim 9, wherein generating the click-bit unique identifier for the click-bit element based on the unique attribute element, the click-bit element, and the number of sibling elements comprises:
if a click bit element does not have a unique attribute, the click bit unique identifier of the click bit element is represented as: the element name [ the attribute of the unique attribute element ] | | of the unique attribute element is the number of the elements of the same level as the name of the click bit element;
if the click bit element has unique attribute, the click bit unique identifier is expressed as: the click bitfield name [ the attribute of the click bitfield ].
11. The method of claim 9, wherein the Referer value of the http request indicates a page of the web page where the click bit is located.
12. The method of claim 9, further comprising:
and providing a data calling interface which splices the unique identification of the click bit in the complete link address of the http request and the part of the refer value which does not contain the unique identification of the click bit to be used as a key and takes the click quantity as a value.
13. The method of claim 12, further comprising:
and acquiring the unique click bit identifier generated in the current webpage, splicing the current page link and the unique click bit identifier to be used as a key to call the data call interface, and displaying the returned click volume data.
14. The method of claim 13, wherein the click volume data is presented on the click position element in a masked form.
15. A webpage click data acquisition device comprises:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of any of claims 8-14 based on instructions stored in the memory.
16. A computer readable storage medium storing computer instructions which, when executed by a processor, implement the method of any one of claims 8 to 14.
CN201610524373.8A 2016-05-30 2016-07-05 Click data acquisition method, device and system for click bits in station Active CN107451167B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016103711625 2016-05-30
CN201610371162 2016-05-30

Publications (2)

Publication Number Publication Date
CN107451167A CN107451167A (en) 2017-12-08
CN107451167B true CN107451167B (en) 2021-08-20

Family

ID=60485312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610524373.8A Active CN107451167B (en) 2016-05-30 2016-07-05 Click data acquisition method, device and system for click bits in station

Country Status (1)

Country Link
CN (1) CN107451167B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582848A (en) * 2018-11-29 2019-04-05 北京腾云天下科技有限公司 A kind of method and calculating equipment of the browser operation record obtaining user
CN111339387B (en) * 2018-12-18 2023-06-09 阿里巴巴集团控股有限公司 Click feedback acquisition method and device based on information template and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166656A (en) * 2013-05-17 2014-11-26 阿里巴巴集团控股有限公司 Traffic statistic webpage display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270206A (en) * 2010-06-03 2011-12-07 北京迅捷英翔网络科技有限公司 Method and device for capturing valid web page contents
CN102571404B (en) * 2010-12-31 2015-01-14 北京新媒传信科技有限公司 Website access statistical method and website access statistical system
CN105138599B (en) * 2015-08-06 2018-10-30 丁大砾 It is a kind of can in the automatically monitoring website whole page each link clicks amount method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166656A (en) * 2013-05-17 2014-11-26 阿里巴巴集团控股有限公司 Traffic statistic webpage display method and device

Also Published As

Publication number Publication date
CN107451167A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
TWI670672B (en) Automated constructing method of cloud manufacturing service, computer program product, and cloud manufacturing system
US11861334B2 (en) Providing communication between a client system and a process-based software application
CN109918607B (en) Page construction method and device, medium and computing equipment
US11281846B2 (en) Inheritance of rules across hierarchical levels
US9910640B2 (en) Modeling representational state transfer application programming interfaces
US8799353B2 (en) Scope-based extensibility for control surfaces
US20180196643A1 (en) Generating web api specification from online documentation
US10614155B2 (en) Single page application authoring in a content management system
CN106354483B (en) Data processing method and device and electronic equipment
WO2012082663A2 (en) Reverse engineering user interface mockups from working software
CN107491334B (en) Method for organizing and loading preloaded files
Zalila et al. A model-driven tool chain for OCCI
CN107451167B (en) Click data acquisition method, device and system for click bits in station
CN113495730A (en) Resource package generation and analysis method and device
WO2021129812A1 (en) Method and system for running artificial intelligence application, and device
US9990343B2 (en) System and method for in-browser editing
US20120216132A1 (en) Embedding User Selected Content In A Web Browser Display
US10896161B2 (en) Integrated computing environment for managing and presenting design iterations
US20110035718A1 (en) Integrated circuit design system and method
US9537736B2 (en) Methods and systems to generate reports including report references for navigation
CN112860247A (en) Custom generation method, device, equipment and medium for model component
CN112948332B (en) Point cloud file packaging and analyzing method and device
CN112667795B (en) Dialogue tree construction method and device, dialogue tree operation method, device and system
CN115481193A (en) Data visualization method, device, equipment and storage medium
US9824170B1 (en) Message filtering for electronic design automation systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant