CN109032905B - Click event statistical method and related equipment - Google Patents

Click event statistical method and related equipment Download PDF

Info

Publication number
CN109032905B
CN109032905B CN201710432492.5A CN201710432492A CN109032905B CN 109032905 B CN109032905 B CN 109032905B CN 201710432492 A CN201710432492 A CN 201710432492A CN 109032905 B CN109032905 B CN 109032905B
Authority
CN
China
Prior art keywords
target
information
electronic terminal
server
indication information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710432492.5A
Other languages
Chinese (zh)
Other versions
CN109032905A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710432492.5A priority Critical patent/CN109032905B/en
Publication of CN109032905A publication Critical patent/CN109032905A/en
Application granted granted Critical
Publication of CN109032905B publication Critical patent/CN109032905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/88Monitoring involving counting

Abstract

The embodiment of the invention discloses a statistical method of click events and related equipment. The method provided by the embodiment of the invention comprises the following steps: the method comprises the steps that an electronic terminal obtains a target click event, the target click event is an event that a target element on a target webpage is clicked, the target element is any element on the target webpage, the electronic terminal generates indication information, the electronic terminal sends the indication information to a server, the electronic terminal receives statistical information sent by the server, and the statistical information is information for counting the clicked condition of the target element, so that element-level access flow statistics on the webpage is achieved, the access condition of a website can be accurately reflected, and more accurate analysis on access preference and access behavior of a visitor is facilitated.

Description

Click event statistical method and related equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a statistical method for click events and related devices.
Background
With the development of modern information technology, a variety of websites capable of providing services for users are developed on the internet, and statistical analysis needs to be performed on access traffic of the websites in order to realize more accurate website positioning and website development.
In the website access flow statistical method in the prior art, the number of visitors accessing a website and indexes such as webpages browsed by the visitors can be counted, and the indexes specifically include the number of visitors accessing the website, a path for accessing the website, a region of the visitors, a website which the visitors specifically enter from, a webpage which the visitors last accessed, a visitor on line at present, and the like.
However, the prior art can only provide statistics on access flow at a webpage level and cannot accurately reflect the access condition of a website, so that the prior art cannot effectively analyze the access preference and the access behavior of a visitor.
Disclosure of Invention
The invention provides a statistical method of click events and related equipment, and accurate website traffic statistics can be carried out based on the condition that elements on a webpage are clicked.
The first aspect of the embodiments of the present invention provides a statistical method for click events, including:
the method comprises the steps that an electronic terminal obtains a target click event, wherein the target click event is an event that a target element located on a target webpage is clicked, and the target element is any element located on the target webpage;
the electronic terminal generates indicating information, wherein the indicating information is information related to the target click event;
the electronic terminal sends the indication information to a server so that the server generates statistical information according to the indication information, wherein the statistical information is information obtained by counting the clicked condition of the target element;
and the electronic terminal receives the statistical information sent by the server.
A second aspect of the embodiments of the present invention provides a statistical method for click events, including:
the method comprises the steps that a server receives indication information sent by an electronic terminal, wherein the indication information is information related to a target click event, the target click event is an event that a target element located on a target webpage is clicked, and the target element is any element located on the target webpage;
the server counts the clicked condition of the target element according to the indication information to generate statistical information;
and the server sends the statistical information to the electronic terminal.
A third aspect of an embodiment of the present invention provides an electronic terminal, including:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a target click event, the target click event is an event that a target element on a target webpage is clicked, and the target element is any element on the target webpage;
the generating unit is used for generating indication information, and the indication information is information related to the target click event;
the sending unit is used for sending the indication information to a server so that the server generates statistical information according to the indication information, wherein the statistical information is information for counting the clicked condition of the target element;
and the receiving unit is used for receiving the statistical information sent by the server.
A fourth aspect of an embodiment of the present invention provides a server, including:
the electronic terminal comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving indication information sent by the electronic terminal, the indication information is information related to a target click event, the target click event is an event that a target element on a target webpage is clicked, and the target element is any element on the target webpage;
the counting unit is used for counting the clicked condition of the target element according to the indication information to generate statistical information;
and the sending unit is used for sending the statistical information to the electronic terminal.
A fifth aspect of an embodiment of the present invention provides an electronic terminal, including:
one or more processor units, a storage unit, a bus system, and one or more programs, the processor units and the storage unit being connected by the bus system;
wherein the one or more programs are stored in the storage unit, the one or more programs comprising instructions which, when executed by the electronic terminal, cause the electronic terminal to perform the method as set forth in the first aspect of embodiments of the present invention.
A sixth aspect of embodiments of the present invention provides a computer readable storage medium storing one or more programs, including one or more programs, the one or more programs comprising instructions, which when executed by an electronic terminal, cause the electronic terminal to perform the method as set forth in the first aspect of embodiments of the present invention.
A seventh aspect of the embodiments of the present invention provides a server, including:
the system comprises one or more central processing units, a memory, a bus system and one or more programs, wherein the central processing units and the memory are connected through the bus system;
wherein the one or more programs are stored in the memory, the one or more programs comprising instructions which, when executed by the server, cause the server to perform the method as set forth in the second aspect of embodiments of the present invention.
An eighth aspect of embodiments of the present invention provides a computer readable storage medium storing one or more programs, including one or more programs, the one or more programs including instructions, which when executed by a server, cause the server to perform the method as set forth in the second aspect of embodiments of the present invention.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the statistical method for the click event shown in this embodiment, the electronic terminal can generate the indication information when the target element receives the target click event, so that the server can generate the statistical information for counting the clicked condition of the target element when receiving the indication information, and the electronic terminal can determine the specific statistical data of the clicked target element according to the statistical information, thereby realizing the statistics of the access flow at the element level on the webpage, accurately representing the access condition of the website, and facilitating the more accurate analysis of the access preference and the access behavior of the visitor.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of a communication system provided in the present invention;
fig. 2 is a schematic structural diagram of an embodiment of an electronic terminal provided in the present invention;
FIG. 3 is a schematic structural diagram of a server according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating an embodiment of a statistical method for click events according to the present invention;
FIG. 5 is a schematic structural diagram of a prompt interface according to an embodiment of the present invention;
FIG. 6 is a diagram of an embodiment of statistical information provided by the present invention;
FIG. 7 is a schematic diagram of another embodiment of statistical information provided by the present invention;
fig. 8 is a schematic structural diagram of another embodiment of an electronic terminal provided in the present invention;
fig. 9 is a schematic structural diagram of another embodiment of a server provided in the present invention.
Detailed Description
To better understand the method shown in the embodiments of the present invention, a specific structure of the communication system will be described first.
The method shown in this embodiment is applied to the communication system shown in this embodiment.
As shown in fig. 1, the communication system shown in the present embodiment includes a server 110 and a plurality of electronic terminals 120 for communication connection with the server.
The server 110 and the electronic terminal 120 can perform data interaction, so as to implement the data translation method and the data configuration method shown in this embodiment.
The specific structure of the electronic terminal shown in this embodiment is described below with reference to fig. 2, and fig. 2 is a schematic structural diagram of an embodiment of the electronic terminal according to the embodiment of the present invention.
The electronic terminal comprises an input unit 205, a processor unit 203, an output unit 201, a communication unit 207, a storage unit 204, a radio frequency circuit 208 and the like.
These components communicate over one or more buses. It will be appreciated by those skilled in the art that the configuration of the electronic terminal shown in fig. 3 is not intended to limit the present invention, and may be a bus configuration, a star configuration, a combination of more or fewer components than those shown, or a different arrangement of components.
In the embodiment of the present invention, the electronic terminal may be any mobile or portable electronic terminal, including but not limited to a smart phone, a mobile computer, a tablet computer, a Personal Digital Assistant (PDA), a media player, a smart television, and the like.
The electronic terminal includes:
an output unit 201 for outputting an image to be displayed.
Specifically, the output unit 201 includes, but is not limited to, a display 3011 and a sound output unit 2012.
The display screen 3011 is used to output text, pictures, and/or video. The Display screen 3011 may include a Display panel, for example, a Display panel configured in the form of a Liquid Crystal Display (LCD), an organic Light-Emitting Diode (OLED), a Field Emission Display (FED), or the like. Alternatively, the display 3011 may comprise a reflective display, such as an electrophoretic (electrophoretic) display, or a display using optical interference Modulation (Light) technology.
For example, when the touch screen detects a gesture operation of touch or proximity thereon, the gesture operation is transmitted to the processor unit 203 to determine the type of the touch event, and then the processor unit 203 provides a corresponding visual output on the display panel according to the type of the touch event. Although the input unit 205 and the output unit 201 are two independent components to implement the input and output functions of the electronic terminal in fig. 1, in some embodiments, the touch screen may be integrated with the display panel to implement the input and output functions of the electronic terminal. For example, the display screen 3011 may display various Graphical User interfaces (GUI for short) as virtual control components, including but not limited to windows, scroll bars, icons, and scrapbooks, for a User to operate in a touch manner.
In one embodiment of the present invention, the display 3011 includes a filter and an amplifier for filtering and amplifying the video output by the processor unit 203. The sound output unit 2012 includes a digital-to-analog converter for converting the audio signal output from the processor unit 203 from a digital format to an analog format.
The processor unit 203 is configured to run corresponding codes, process the received information, and generate and output a corresponding interface.
Specifically, the processor unit 203 is a control center of the electronic terminal, connects various parts of the whole electronic terminal by using various interfaces and lines, and executes various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the storage unit and calling data stored in the storage unit. The processor unit 203 may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions.
For example, the Processor Unit 203 may include only a Central Processing Unit (CPU), or a combination of a Graphics Processor (GPU), a Digital Signal Processor (DSP), and a control chip (e.g., baseband chip) in the communication Unit. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A storage unit 204 for storing code and data, the code for execution by the processor unit 203.
Specifically, the storage unit 204 may be used to store software programs and modules, and the processor unit 203 executes various functional applications of the electronic terminal and implements data processing by running the software programs and modules stored in the storage unit 204. The storage unit 204 mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, such as a sound playing program, an image playing program, and the like; the data storage area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic terminal, etc.
In an embodiment of the invention, the Memory unit 204 may include a volatile Memory, such as a non-volatile dynamic Random Access Memory (NVRAM), a Phase Change Random Access Memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and the like, and may further include a non-volatile Memory, such as at least one disk Memory, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash Memory device, such as a flash Memory or a flash Memory (NOR-flash Memory) or a flash Memory.
The non-volatile memory stores an operating system and application programs executed by the processor unit 203. The processor unit 203 loads operating programs and data from the non-volatile memory into memory and stores digital content in mass storage devices. The operating system includes various components and/or drivers for controlling and managing conventional system tasks, such as memory management, storage device control, power management, etc., as well as facilitating communication between various hardware and software components.
In the embodiment of the present invention, the operating system may be an Android system developed by Google, an iOS system developed by Apple, a Windows operating system developed by Microsoft, or an embedded operating system such as Vxworks.
The application programs include any application installed on the electronic terminal including, but not limited to, browser, email, instant messaging service, word processing, keyboard virtualization, Widget (Widget), encryption, digital rights management, voice recognition, voice replication, positioning (e.g., functions provided by the global positioning system), music playing, and the like.
An input unit 205 for enabling user interaction with the electronic terminal and/or information input into the electronic terminal.
For example, the input unit 205 may receive numeric or character information input by a user to generate a signal input related to user setting or function control. In the embodiment of the present invention, the input unit 205 may be a touch screen, other human-computer interaction interfaces, such as an entity input key and a microphone, or other external information capturing devices, such as a camera.
The touch screen disclosed by the embodiment of the invention can collect the operation actions touched or approached by the user. For example, the user can use any suitable object or accessory such as a finger, a stylus, etc. to operate on or near the touch screen, and drive the corresponding connection device according to a preset program. Alternatively, the touch screen may include two parts, a touch detection device and a touch controller. The touch detection device detects touch operation of a user, converts the detected touch operation into an electric signal and transmits the electric signal to the touch controller; the touch controller receives the electrical signal from the touch sensing device and converts it to touch point coordinates, which are fed to the processor unit 203.
The touch controller can also receive and execute commands sent by the processor unit 203. In addition, the touch screen can be realized by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave and the like.
In other embodiments of the present invention, the physical input keys used by the input unit 205 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a track ball, a mouse, a joystick, etc. The input unit 205 in the form of a microphone may collect speech input by a user or the environment and convert it into commands in the form of electrical signals that are executable by the processor unit 203.
In some other embodiments of the present invention, the input unit 205 may also be various sensing devices, such as hall devices, for detecting physical quantities of the electronic terminal, such as force, moment, pressure, stress, position, displacement, speed, acceleration, angle, angular velocity, number of rotations, rotation speed, and time of change of operating state, and converting the physical quantities into electric quantities for detection and control. Other sensing devices may include gravity sensors, three-axis accelerometers, gyroscopes, electronic compasses, ambient light sensors, proximity sensors, temperature sensors, humidity sensors, pressure sensors, heart rate sensors, fingerprint identifiers, and the like.
A communication unit 207 for establishing a communication channel through which the electronic terminal connects to a remote server and downloading media data from the remote server. The communication unit 207 may include a Wireless Local Area Network (wlan) module, a bluetooth module, a baseband module, and other communication modules, and a Radio Frequency (RF) circuit corresponding to the communication module, and is configured to perform wlan communication, bluetooth communication, infrared communication, and/or cellular communication system communication, such as Wideband Code Division Multiple Access (W-CDMA) and/or High Speed Downlink Packet Access (HSDPA) for example. The communication module is used for controlling the communication of each component in the electronic terminal and can support direct memory access.
In different embodiments of the present invention, the various communication modules in the communication unit 207 are generally in the form of Integrated Circuit chips (Integrated Circuit chips), and can be selectively combined without including all the communication modules and corresponding antenna groups. For example, the communication unit 207 may comprise only a baseband chip, a radio frequency chip and a corresponding antenna to provide communication functions in a cellular communication system. The electronic terminal may be connected to a Cellular Network (Cellular Network) or the internet via a wireless communication connection established by the communication unit 207, such as a wireless local area Network access or a WCDMA access. In some alternative embodiments of the present invention, the communication module, e.g., the baseband module, in the communication unit 207 may be integrated into the processor unit 203, typically an APQ + MDM series platform as provided by the high-pass (Qualcomm) corporation.
The radio frequency circuit 208 is used for receiving and transmitting signals in the process of information transceiving or conversation. For example, after receiving the downlink information of the base station, the downlink information is processed by the processor unit 203; in addition, the data for designing uplink is transmitted to the base station. In general, the radio frequency circuitry 208 includes well-known circuitry for performing these functions, including but not limited to an antenna system, a radio frequency transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a Codec (Codec) chipset, a Subscriber Identity Module (SIM) card, memory, and so forth. In addition, the radio frequency circuitry 208 may also communicate with networks and other devices via wireless communications.
The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), High Speed Uplink Packet Access (HSUPA), Long Term Evolution (Long Term Evolution), LTE, e-mail, Short Message Service (SMS), and the like.
A power supply 209 for powering the various components of the electronic terminal to maintain its operation. As a general understanding, the power supply 209 may be a built-in battery, such as a common lithium ion battery, a nickel metal hydride battery, and the like, and also includes an external power supply for directly supplying power to the electronic terminal, such as an AC adapter, and the like. In some embodiments of the present invention, the power supply 209 may be more broadly defined and may include, for example, a power management system, a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode), and any other components associated with the generation, management, and distribution of electrical energy to electronic terminals.
The following describes a specific structure of the server shown in this embodiment with reference to fig. 3:
fig. 3 is a schematic diagram of a server 300 according to an embodiment of the present invention, where the server 300 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 322 (e.g., one or more processors) and a memory 332, and one or more storage media 330 (e.g., one or more mass storage devices) for storing applications 342 or data 344. Memory 332 and storage media 330 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 322 may be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the server 300.
The server 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
Based on the communication system shown in this embodiment, a detailed description is given below with reference to fig. 4 for a specific flow of the statistical method for click events shown in this embodiment:
step 401, the electronic terminal sends the registration information to the server.
In this embodiment, in order to implement traffic statistics of a website, the electronic terminal needs to send registration information for registering with the server to the server.
The registration information is not limited in this embodiment, as long as the electronic terminal can register to the server through the registration information, so that the server can perform statistics on the website traffic of the electronic terminal.
For example, the registration information shown in this embodiment may be information such as a user name and a password.
Step 402, the server receives the registration information.
And step 403, the server sends the trigger information to the electronic terminal.
In this embodiment, after the server receives the registration information, it can be determined that the electronic terminal is registered to the server.
After the electronic terminal is registered to the server, the server can configure the trigger information.
The server shown in this embodiment may perform traffic statistics on the website operated on the electronic terminal through the trigger information.
Specifically, the website traffic statistics shown in this embodiment refers to the number of visitors accessing a website, and is used to describe indexes such as the number of visitors accessing a website and the number of webpages browsed by the visitors, where the commonly used statistical indexes include the number of independent visitors of the website, the total number of visitors (including repeat visitors), the number of browsed webpages of each visitor, the average residence time of the visitor in the website, the terminal information of the visitor, and the behavior path visited by the visitor.
The embodiment does not limit the trigger information, as long as the server can count the traffic of the website of the electronic terminal based on the trigger information.
Optionally, the trigger information shown in this embodiment may be a preset code, and the preset code shown in this embodiment may be a javascript code (JS code for short).
The javascript code is used for acquiring information of a visitor, and the javascript code shown in this embodiment can acquire indication information related to website traffic statistics.
Specifically, the triggering information shown in this embodiment is used to trigger the electronic terminal to generate the indication information according to the target click event.
More specifically, the target click event shown in this embodiment is a click event that a target element in any target webpage of a website running on the electronic terminal receives input from a visitor.
And the target element is any element positioned on the target webpage.
In this embodiment, the website is also referred to as a WEB site, and refers to a set of related WEB pages for displaying specific content, which is made by using WEB page development software according to a certain plan on a network.
The target network shown in this embodiment can receive a target click event input by a visitor.
And step 404, the electronic terminal receives the trigger information.
Step 405, the electronic terminal embeds the trigger information in an object code file of the object webpage.
In this embodiment, when the electronic terminal receives the trigger information, the electronic terminal may embed the trigger information into a code file of any webpage in a website running on the electronic terminal.
In the following, a description is given with reference to a specific application scenario, where the electronic terminal shown in this embodiment receives the trigger information, the electronic terminal may embed the trigger information in all webpages in a website of the electronic terminal.
Specifically, the electronic terminal shown in this embodiment may generate a prompt interface, so that the user can embed the trigger information into all webpages in the website through the prompt interface.
More specifically, the electronic terminal shown in this embodiment can embed the trigger information into the code files of all the webpages in the website.
The prompt interface is not limited in this embodiment, as long as the electronic terminal can receive an operation input by a user through the prompt interface to embed the trigger information into a webpage.
The present embodiment describes the prompt interface with reference to fig. 5, where fig. 5 is a schematic view of an embodiment of the prompt interface provided by the present invention.
As shown in fig. 5, the user can input the trigger information according to the prompt information of the prompt interface.
Specifically, when the user needs to perform the traffic statistics of the website, the user can input the trigger information according to the prompt interface, so that the trigger information can be used for counting the operation condition of the target trigger event input by the visitor through the mouse on the target webpage.
The trigger information shown in this embodiment may be:
<script type=“text/javascripe”src=“/resource/is/com/click.is”charset=“UTF-8"></script>。
and 406, the electronic terminal acquires a target click event.
When a visitor visits the target webpage and operates the target element on the target webpage, the target click event input by the visitor to the target element can be acquired.
The target element shown in this embodiment is any element located on the web page and receiving a click operation input by a visitor.
The following describes the target elements on the target web page:
the target element is not limited in this embodiment, as long as the target element can receive the click operation input by the visitor.
Optionally, the target element shown in this embodiment may be a text, the text shown in this embodiment is the most main expression form of the content of the web page, and the content and meaning of the web page to be expressed can be accurately expressed by the web page through the text.
Optionally, the target element shown in this embodiment may also be an image, and the format of the image is not limited in this embodiment, for example, the format of the image may be a JPG format, a GIF format, or a PNG format.
Optionally, the target element shown in this embodiment may also be a hyperlink, and if the hyperlink in the web page receives a click event input by a visitor, the jump between different web pages on the electronic terminal may be implemented, or the hyperlink is linked to other websites.
Optionally, the target element shown in this embodiment may also be a navigation bar, where the navigation bar shown in this embodiment is a set of hyperlinks used to conveniently browse a website, and specifically, the navigation bar generally includes a plurality of buttons and text links.
Optionally, the target element shown in this embodiment may also be an animation, the animation shown in this embodiment is a Flash animation, and the animation shown in this embodiment may be a simple interactive animation program, and may also be an animation manufactured by a complex dynamic script programming.
Optionally, the target element shown in this embodiment may also be a form, where the form shown in this embodiment is a web page used to collect information of the visitor or implement interaction between the visitor and the web page, and the visitor may input a text by filling in the form, check a radio box or a check box, and check options in a pull-down menu.
Optionally, the target elements shown in this embodiment may also be audio, video, banner advertisement, subtitle, hover button, timestamp, counter, and other elements.
Step 407, the electronic terminal generates indication information.
Specifically, the electronic terminal shown in this embodiment may monitor a target webpage, and when an element on the target webpage receives the target click event, the electronic terminal may automatically generate the indication information.
Specifically, the target code file of the electronic terminal can automatically generate the indication information according to the target click event.
More specifically, the trigger file embedded in the object code file can automatically generate the indication information according to the object click event.
The present embodiment does not limit the indication information, as long as the indication information shown in the present embodiment is information related to the target click event.
For example, the indication information generated by the electronic terminal includes target coordinates of the target element;
specifically, the electronic terminal shown in this embodiment may generate the target coordinate according to a specific position of the target element on the target webpage, so as to notify the server of the clicked target element on the target webpage through the target coordinate.
For another example, the indication information may further include a time when the target element received the target click event;
specifically, the electronic terminal shown in this embodiment may obtain the time when the target element is clicked, and notify the server of the time when the target element is clicked through the indication information.
As another example, the indication information may further include an identifier corresponding to the target element;
specifically, the electronic terminal shown in this embodiment may store a preset list in advance, where the preset list includes correspondence between different elements and different identifiers located on the target webpage.
In this embodiment, the electronic terminal queries the identifier corresponding to the target element through the preset list, and the electronic terminal may send the identifier corresponding to the target element to the server through the indication information, so that the server can determine the target element receiving the target click event.
As another example, the indication information may further include attribute information of the target element.
Specifically, the attribute information of the target element shown in this embodiment may indicate that the target element is a button, an image, a text, a hyperlink, a navigation bar, or the like.
Specifically, the attribute information of the target element may indicate that the target element is located in a specific area on the target webpage, and the like.
It should be clear that the above description of specific content included in the indication information is an optional example, and is not limited, for example, the indication information may further include information used for performing the same website traffic statistics, such as a URL address of the target webpage, an IP address of a visitor accessing the target webpage, a search engine from which the visitor accessed this time, and other websites from which the visitor accessed this time.
And step 408, the electronic terminal sends the indication information to the server.
In this embodiment, how the electronic terminal sends the indication information to the server is not limited, as long as the electronic terminal can send the indication information to the server.
In this embodiment, the electronic terminal may send the indication information in an HTTP (hypertext markup language) GET request mode.
According to the HTTP specification, the GET is used for information acquisition, and the GET can not modify the information, increase data and influence the state of resources.
For example, the HTTP GET for transmitting the indication information shown in this embodiment may be: http://2.mf.oa. com/pingddm ═ v2.mf.oa. com & x ═ 1025& y ═ 352& ele ═ input & id ═ logic n & class ═ button & time ═ 12654556545& ip ═ 10.24.251.174.
Step 409, the server receives the configuration information.
Specifically, there is no sequential limitation in the execution timing between step 409 and steps 401 to 409 in this embodiment.
Specifically, the configuration information shown in this embodiment is used to indicate a calculation manner for counting the clicked condition of the target element according to the indication information.
The specific calculation manner is not limited in this embodiment, as long as the server shown in this embodiment can calculate the statistical information for counting the website traffic according to the indication of the configuration information.
Step 410, the server generates statistical information.
In this embodiment, after the server receives the indication information, the server may store the indication information in a database of the server, and when the server needs to calculate the statistical information, the server may provide the indication information in the database, and then perform statistics on the clicked condition of the target element according to the configuration information to generate the statistical information.
For example, the configuration information may be used to indicate that a user needs to obtain the clicked times of the target element in a preset period, and the server may count the clicked times of the target element in the preset period according to the configuration information, where the preset period is one day, the server may count the clicked times in one day, and the clicked times of the target element is 100 times.
For another example, the configuration information may also be a clicked trajectory of each element located on the target webpage, that is, the server shown in this embodiment may obtain a time when each element located on the target webpage is clicked, and the server may determine the clicked trajectory of each element located on the target webpage according to the time when each element is clicked.
In this embodiment, the description that the server generates the statistical information according to the indication information and the configuration information is an optional example and is not limited.
For example, the statistical information may also be a click rate of the target element, the number of visitors who visit the target webpage in the preset period, a region where the visitors are located, a ranking of the number of visited target webpages in the website in the preset period, the number of current online users, and the like.
The preset period may be one day, one week, one month, and the like, and is not limited in this embodiment.
Step 411, the server sends the statistical information to the electronic terminal.
In this embodiment, when the server generates the statistical information, the server may send the statistical information to the electronic terminal.
Step 412, the electronic terminal receives the statistical information.
In this embodiment, the electronic terminal may receive the statistical information generated by the server and display the statistical information.
The embodiment does not limit the specific way in which the server displays the statistical information.
For example, the electronic terminal may display the statistical information in a table manner, where taking the statistical information as the number of clicks of a target element as an example, and taking the target element as a modification button, a submission button, and a cancellation button displayed on the target webpage as an example in this embodiment, the statistical information may be the number of times that the server counts the number of clicks of each target element in the preset period to generate the statistical information, and the statistical information shown in this embodiment is shown in table 1:
TABLE 1
Target element Statistical information (number of clicks)
Amendment button 20
Delivery button 123
Cancel button 67
For another example, the electronic terminal may display the statistical information in a pie chart manner.
Specifically, taking the statistical information as the click rate of the target element as an example, and taking the target element as the modification button, the submission button and the cancellation button displayed on the target webpage as an example, the statistical information may be that the server counts the number of times that each target element is clicked within the preset period to generate the click rate of each target element, and if the click rate of the modification button is 16%, the click rate of the cancellation button is 14%, and the click rate of the submission button is 70%, the statistical information displayed by the pie chart is shown in fig. 6.
For another example, the electronic terminal may display the statistical information in a trend graph manner.
Specifically, taking the abscissa of the trend graph as a time period and the ordinate of the trend graph as the number of times that the target element is clicked as an example, the trend graph may be shown in fig. 7, and the user may determine the number of times that the target element is clicked in different time periods through the trend graph shown in fig. 7.
By adopting the statistical method for the click event shown in this embodiment, the electronic terminal can send the indication information related to the target click event to the server, so that the server can perform statistics on the target element and send the statistical information capable of indicating the clicked condition of the target element to the electronic terminal.
The structure of the electronic terminal is described below from the perspective of the functional modules shown in fig. 8:
the electronic terminal includes:
an obtaining unit 801, configured to obtain a target click event, where the target click event is an event that a target element located on a target webpage is clicked, and the target element is any element located on the target webpage;
a generating unit 802, configured to generate indication information, where the indication information is information related to the target click event;
a sending unit 803, configured to send the indication information to a server, so that the server generates statistical information according to the indication information, where the statistical information is information obtained by performing statistics on the clicked condition of the target element;
a receiving unit 804, configured to receive the statistical information sent by the server.
Optionally, before acquiring the target click event, the acquiring unit 801 is further configured to receive trigger information sent by the server, where the trigger information is used to trigger the electronic terminal to generate the indication information according to the target click event, and embed the trigger information in the target code file of the target webpage.
Optionally, in a specific process of generating the indication information by the obtaining unit 801, the stored object code file is used to obtain the indication information according to the target click event.
Optionally, the indication information generated by the generating unit 802 includes a target coordinate of the target element, and/or a time when the target element receives the target click event, and/or an identifier corresponding to the target element, and/or attribute information of the target element.
The electronic terminal shown in this embodiment can execute the statistical method of click events, and a specific execution flow is please refer to the embodiment shown in fig. 4 in detail, which is not described in detail in this embodiment;
the beneficial effect of the statistical method for the electronic terminal to execute the click event shown in this embodiment is shown in fig. 4, and details are not described in this embodiment.
The following describes the structure of the server from the perspective of the functional modules, as shown in fig. 9:
the server includes:
a receiving unit 901, configured to receive indication information sent by an electronic terminal, where the indication information is information related to a target click event, the target click event is an event that a target element located on a target webpage is clicked, and the target element is any element located on the target webpage;
a counting unit 902, configured to count, according to the indication information, a situation that the target element is clicked to generate statistical information;
a sending unit 903, configured to send the statistical information to the electronic terminal.
Optionally, before the receiving unit 901 receives the indication information sent by the electronic terminal, the receiving unit 901 is further configured to configure trigger information, where the trigger information is used to trigger the electronic terminal to generate the indication information according to the target click event, and send the trigger information to the electronic terminal, so that the electronic terminal embeds the trigger information in an object code file of the target webpage.
Optionally, the indication information includes:
the indication information includes target coordinates of the target element, and/or a time when the target element receives the target click event, and/or an identifier corresponding to the target element, and/or attribute information of the target element.
Optionally, the statistical unit 902 is further configured to receive configuration information, where the configuration information is used to indicate a calculation manner for counting the clicked condition of the target element according to the indication information, and count the clicked condition of the target element according to the configuration information and the indication information to generate statistical information.
The server shown in this embodiment can execute the statistical method of click events, and a specific execution flow is please refer to the embodiment shown in fig. 4 for details, which is not described in detail in this embodiment;
the beneficial effect of the statistical method for the server to execute the click event shown in this embodiment is shown in fig. 4, and details are not described in this embodiment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A statistical method for click events, comprising:
the method comprises the steps that an electronic terminal receives trigger information sent by a server, wherein the trigger information is used for triggering the electronic terminal to generate corresponding indication information according to a target clicking event of a target element on a target webpage, the target clicking event is an event that the target element on the target webpage is clicked, and the target element is any element on the target webpage;
the electronic terminal embeds the trigger information into a target code file of the target webpage;
the electronic terminal acquires the target click event;
the electronic terminal generates the indication information related to the target click event;
the electronic terminal sends the indication information to a server so that the server generates statistical information according to the indication information, wherein the statistical information is information obtained by counting the clicked condition of the target element;
and the electronic terminal receives the statistical information sent by the server.
2. The statistical method according to claim 1, wherein the indication information is information related to the target click event, and the indication information includes a target coordinate of the target element, and/or a time when the target element receives the target click event, and/or an identifier corresponding to the target element, and/or attribute information of the target element.
3. The statistical method of claim 2, wherein the electronic terminal generating the indication information comprises:
and the target code file stored by the electronic terminal acquires the indication information according to the target click event.
4. A statistical method for click events, comprising:
the method comprises the steps that a server sends trigger information to an electronic terminal so that the electronic terminal embeds the trigger information into a target code file of a target webpage, the trigger information is used for triggering the electronic terminal to generate corresponding indication information according to a target clicking event of a target element on the target webpage, the target clicking event is an event that the target element on the target webpage is clicked, and the target element is any element on the target webpage;
the server receives indication information sent by the electronic terminal, wherein the indication information is information related to a target click event, and the electronic terminal acquires the target click event and generates the indication information related to the target click event;
the server counts the clicked condition of the target element according to the indication information to generate statistical information, wherein the statistical information is information counted by the clicked condition of the target element;
and the server sends the statistical information to the electronic terminal.
5. The statistical method of claim 4, wherein before the server receives the indication information sent by the electronic terminal, the method further comprises:
the server configures the trigger information.
6. A statistical method according to any one of claims 4 to 5, characterized in that the method further comprises:
the server receives configuration information, wherein the configuration information is used for indicating a calculation mode for counting the clicked condition of the target element according to the indication information;
the server counting the clicked condition of the target element according to the indication information to generate statistical information comprises:
and the server counts the clicked condition of the target element according to the configuration information and the indication information to generate statistical information.
7. An electronic terminal, comprising:
the electronic terminal comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for receiving trigger information sent by a server, the trigger information is used for triggering the electronic terminal to generate corresponding indication information according to a target click event of a target element on a target webpage, the target click event is an event that the target element on the target webpage is clicked, and the target element is any element on the target webpage; embedding the trigger information in a target code file of the target webpage; acquiring the target click event;
the generating unit is used for generating the indicating information related to the target click event;
the sending unit is used for sending the indication information to a server so that the server generates statistical information according to the indication information, wherein the statistical information is information for counting the clicked condition of the target element;
and the receiving unit is used for receiving the statistical information sent by the server.
8. A server, comprising:
the electronic terminal comprises a receiving unit, a sending unit and a processing unit, wherein the receiving unit is used for sending triggering information to the electronic terminal so that the electronic terminal embeds the triggering information into a target code file of a target webpage, the triggering information is used for triggering the electronic terminal to generate corresponding indication information according to a target click event of a target element on the target webpage, the target click event is an event that the target element on the target webpage is clicked, the target element is any element on the target webpage, the indication information sent by the electronic terminal is received, the indication information is information related to the target click event, the electronic terminal obtains the target click event and generates the indication information related to the target click event;
the counting unit is used for counting the clicked condition of the target element according to the indication information to generate statistical information, and the statistical information is information obtained by counting the clicked condition of the target element;
and the sending unit is used for sending the statistical information to the electronic terminal.
9. An electronic terminal, comprising:
one or more processor units, a storage unit, a bus system, and one or more programs, the processor units and the storage unit being connected by the bus system;
wherein the one or more programs are stored in the storage unit, the one or more programs comprising instructions which, when executed by the electronic terminal, cause the electronic terminal to perform the method of any of claims 1 to 3.
10. A computer readable storage medium storing one or more programs, comprising one or more programs, the one or more programs comprising instructions, which when executed by an electronic terminal, cause the electronic terminal to perform the method of any of claims 1 to 3.
11. A server, comprising:
the system comprises one or more central processing units, a memory, a bus system and one or more programs, wherein the central processing units and the memory are connected through the bus system;
wherein the one or more programs are stored in the memory, the one or more programs including instructions which, when executed by the server, cause the server to perform the method of any of claims 4 to 6.
12. A computer readable storage medium storing one or more programs, comprising one or more programs, the one or more programs comprising instructions, which when executed by a server, cause the server to perform the method of any of claims 4 to 6.
CN201710432492.5A 2017-06-09 2017-06-09 Click event statistical method and related equipment Active CN109032905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710432492.5A CN109032905B (en) 2017-06-09 2017-06-09 Click event statistical method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710432492.5A CN109032905B (en) 2017-06-09 2017-06-09 Click event statistical method and related equipment

Publications (2)

Publication Number Publication Date
CN109032905A CN109032905A (en) 2018-12-18
CN109032905B true CN109032905B (en) 2022-04-15

Family

ID=64628802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710432492.5A Active CN109032905B (en) 2017-06-09 2017-06-09 Click event statistical method and related equipment

Country Status (1)

Country Link
CN (1) CN109032905B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191998A (en) * 2019-10-29 2020-05-22 腾讯科技(深圳)有限公司 Item processing method and device
CN112749361A (en) * 2019-10-31 2021-05-04 北京沃东天骏信息技术有限公司 Page click behavior reporting method, statistical method and device
CN110908884A (en) * 2019-11-20 2020-03-24 北京悠易网际科技发展有限公司 Statistical information generation method, device, system, electronic device and storage medium
CN112333039A (en) * 2020-10-12 2021-02-05 联通智网科技有限公司 Method and device for generating flow report file, storage medium and computer equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040060008A1 (en) * 2002-01-18 2004-03-25 John Marshall Displaying statistical data for a web page by dynamically modifying the document object model in the HTML rendering engine
WO2008024706A2 (en) * 2006-08-21 2008-02-28 Crazy Egg, Inc. Visual web page analytics
CN102314455A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method and system for calculating click flow of web page
CN103365901B (en) * 2012-04-01 2017-05-24 上海聚力传媒技术有限公司 Method for obtaining information on clicked webpage objects, device for obtaining information on clicked webpage objects and equipment for obtaining information on clicked webpage objects

Also Published As

Publication number Publication date
CN109032905A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
US11218842B2 (en) Method for activating service based on user scenario perception, terminal device, and system
CN108959000B (en) Server pressure testing method, system and terminal
US10091628B2 (en) Message based application state and card sharing methods for user devices
CN107016038B (en) Method of executing application and electronic device supporting the same
EP3335411B1 (en) Electronic device and method of managing application programs thereof
CN109032905B (en) Click event statistical method and related equipment
CN110417988B (en) Interface display method, device and equipment
WO2018153207A1 (en) Data processing method, server, terminal, and system
US20190258447A1 (en) User interface and security for coordinated program
CN107870666B (en) Terminal control method and terminal
CN113365106B (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN103473253B (en) The detection of data through geocoding and the user interface for it
KR102578982B1 (en) A method for providing a translation service and an electronic device therefor
CN110320378B (en) Method, apparatus, device and computer readable storage medium for applying for a quality control test
US10997268B2 (en) Method for providing push service using web push, and electronic device supporting same
CN111602107A (en) Display method and terminal during application quitting
CN112749074B (en) Test case recommending method and device
US10540415B2 (en) Apparatus and method for managing history information in an electronic device
CN110347578B (en) Application testing method and device and storage medium
US8386604B1 (en) Assigning blame to web browser extensions and applications
CN105631059B (en) Data processing method, data processing device and data processing system
WO2017008613A1 (en) Recommendation content pushing method and apparatus, and terminal, server and system therefor
CN109145182B (en) Data acquisition method and device, computer equipment and system
CN112000876B (en) Information display method, terminal and server
CN108139900B (en) Communicating information about updates of an application

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