[go: up one dir, main page]

CN107633019A - A kind of page events acquisition method and device - Google Patents

A kind of page events acquisition method and device Download PDF

Info

Publication number
CN107633019A
CN107633019A CN201710735695.1A CN201710735695A CN107633019A CN 107633019 A CN107633019 A CN 107633019A CN 201710735695 A CN201710735695 A CN 201710735695A CN 107633019 A CN107633019 A CN 107633019A
Authority
CN
China
Prior art keywords
page
tree
path information
clicks
click
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.)
Pending
Application number
CN201710735695.1A
Other languages
Chinese (zh)
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710735695.1A priority Critical patent/CN107633019A/en
Publication of CN107633019A publication Critical patent/CN107633019A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This specification embodiment provides a kind of page events acquisition method and device, wherein, page events acquisition method can be when the page in listening to the page clicks on the click event of element, obtain the page and click on tree-like path information corresponding to element, the tree-like path information is used to represent that the page clicks on node location of the element in tree-shaped descriptive model corresponding to the page;This click event is reported, and carries the tree-like path information.

Description

A kind of page events acquisition method and device
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of page events acquisition method and device.
Background technology
There is the demand of collection user browsing behavior many websites, for example, some in user's click page can be collected Button or the number of link, and user behavior is analyzed accordingly, to be used as further marketing or the improved foundation in website.In order to receive Collect above-mentioned user browsing behavior, can carry out burying a little, such as, the programmer of page development can be allowed to be added to point code is buried On the corresponding page, for following the trail of and recording the behavior of user, and by real-time collecting to data be sent to background data base and supply Analysis.
In the prior art, when bury, the mark of each position in the page, page can be pre-defined by product personnel The mark is added to and buried in point code by face developer.Given the correct time on event acquisition and carry above-mentioned page location mark, so that Which page location must distinguish corresponding to the click event is.
The content of the invention
In view of this, this specification one or more embodiment provides a kind of page events acquisition method and device, with fast The fast succinct deployment realized page events and gathered, and improve the degree of accuracy of event acquisition.
Specifically, this specification one or more embodiment is achieved by the following technical solution:
First aspect, there is provided a kind of page events acquisition method, methods described include:
The page listened in the page clicks on the click event of element;
Obtain the page and click on tree-like path information corresponding to element, the tree-like path information is used to represent the page Millet cake hits node location of the element in tree-shaped descriptive model corresponding to the page;
This click event is reported, and carries the tree-like path information.
Second aspect, there is provided a kind of page events acquisition method, methods described include:
The click event in the page of collection is obtained, the page that the click event includes clicking on clicks on the tree-shaped road of element Footpath information, the tree-like path information are used to represent that the page clicks on element in tree-shaped descriptive model corresponding to the page Node location;
The tree-like path information is parsed, the page is obtained and clicks on element.
The third aspect, there is provided a kind of page events harvester, described device include:
Action listener module, the click event of element is clicked on for listening to the page in the page;
Data obtaining module, tree-like path information corresponding to element, the tree-like path are clicked on for obtaining the page Information is used to represent that the page clicks on node location of the element in tree-shaped descriptive model corresponding to the page;
Reporting events module, for reporting this click event, and carry the tree-like path information.
Fourth aspect, there is provided a kind of page events harvester, described device include:
Event receiving module, the click event in the page for obtaining collection, the click event include the page clicked on Millet cake hits the tree-like path information of element, and the tree-like path information is used to represent that the page clicks on element in the page pair Node location in the tree-shaped descriptive model answered;
Event parsing module, for parsing the tree-like path information, obtain the page and click on element.
5th aspect, there is provided a kind of data acquisition equipment, the equipment includes memory, processor, and is stored in Following steps are realized on reservoir and the computer instruction that can run on a processor, during the computing device instruction:
The page listened in the page clicks on the click event of element;
Obtain the page and click on tree-like path information corresponding to element, the tree-like path information is used to represent the page Millet cake hits node location of the element in tree-shaped descriptive model corresponding to the page;
This click event is reported, and carries the tree-like path information.
6th aspect, there is provided a kind of data processing equipment, the equipment includes memory, processor, and is stored in Following steps are realized on reservoir and the computer instruction that can run on a processor, during the computing device instruction:
The click event in the page of collection is obtained, the page that the click event includes clicking on clicks on the tree-shaped road of element Footpath information, the tree-like path information are used to represent that the page clicks on element in tree-shaped descriptive model corresponding to the page Node location;
The tree-like path information is parsed, the page is obtained and clicks on element.
The page events acquisition method and device of this specification one or more embodiment, by being listened to by collector During click event, obtain the page and click on tree-like path information corresponding to element, by the path information submission, service end can according to Know that the page clicks on element in the position of the page according to the routing information.This method allows developer need not be in page generation The station location marker of a little each page elements is buried in code, but by the automatic acquisition approach information reporting of collector, then for For developer, the workload buried a little is reduced, can the quickly succinct deployment for realizing page events collection;And may be used also To improve the degree of accuracy of page events collection, it can understand and accurately distinguish different page elements.
Brief description of the drawings
In order to illustrate more clearly of this specification one or more embodiment or technical scheme of the prior art, below will The required accompanying drawing used in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below Accompanying drawing is only some embodiments described in this specification one or more embodiment, is come for those of ordinary skill in the art Say, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram for the page that this specification one or more embodiment provides;
Fig. 2 is dom tree schematic diagrames corresponding to the page of this specification one or more embodiment offer;
Fig. 3 is the flow for the page events acquisition method that this specification one or more embodiment provides;
Fig. 4 is the flow for another page events acquisition method that this specification one or more embodiment provides;
Fig. 5 is the flow to event analysis processing that this specification one or more embodiment provides;
Fig. 6 is the search procedure signal that the page that this specification one or more embodiment provides clicks on element;
Fig. 7 is the search procedure signal that the page that this specification one or more embodiment provides clicks on element;
Fig. 8 is the structure chart for the page events harvester that this specification one or more embodiment provides;
Fig. 9 is the structure chart for the page events harvester that this specification one or more embodiment provides;
Figure 10 is the structure chart for the page events harvester that this specification one or more embodiment provides.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in this specification one or more embodiment, Below in conjunction with the accompanying drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment Scheme is clearly and completely described, it is clear that described embodiment is only part of the embodiment, rather than whole realities Apply example.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, it should all belong to the scope of the application protection.
Fig. 1 illustrates a page, as shown in figure 1, can include " page click element " and " page click in the page Element ".For example, it can be that button in the page, link etc. can allow the element of user's click that the page, which clicks on element, its in the page The element of his type is properly termed as page click element, such as the width background picture that can be shown in webpage or one Section word.
Assuming that to gather the behavior that user browses the above-mentioned page according to business demand, such as, can gather that user clicks on should The page on the page clicks on the number of element " link ", to understand interest-degree of the user to the linked contents.It is possible to the page " collector " is set in the page code in face, for example, the collector can be javascript scripts.When the browser resolves page When code shows the page, above-mentioned js scripts are can also carry out, js scripts can perform the page events acquisition method of this example, The click event whether occurred to link is monitored, and reports service end to carry out statistical analysis.User clicks on and once " linked ", can be with Referred to as one click event.
Page events collection in disclosure example, DOM Tree (dom trees) that can be based on the page.Using the h5 pages as Example, is described, the language describes page elements information with a kind of tree when the h5 pages are write using html language.Browser wash with watercolours When contaminating the page, html can be converted to dom trees, for describing page elements information, and provide operation API.For example, it is as follows One section of html page code corresponding to Fig. 1 page, wherein, simply signal framework in following code, a part of content is to omit Number or asterisk band mistake, no longer show:
Above-mentioned page code can be converted to dom trees, and the dom trees are properly termed as tree-shaped descriptive model corresponding to the page. Such as Fig. 2 illustrates the dom trees, a part for the tree-shaped descriptive model is equally also merely illustrated.The page shown in Fig. 2 is corresponding Tree-shaped descriptive model, and the page shown in Fig. 1, and page code above, corresponding relation can be formed between three.
For example, by taking " button " in Fig. 1 pages as an example, it is that a page clicks on element to be somebody's turn to do " button ", and the element can be right Answer in page code<button>….</button>, while the element can also correspond in Fig. 2 dom tree-models " button " node.
In another example by taking " link " in Fig. 1 pages as an example, it is somebody's turn to do " link " and a page clicks on element, the element can With in corresponding page code<A href=" # ">….</a>, while the element can also correspond in Fig. 2 dom tree-models " a " node arranged side by side with " button " node.
By foregoing description it can be seen that, page elements in the page can to should be in the dom tree-models of the page some Node, and the node can also find corresponding code position in page code.Based on above-mentioned corresponding relation, this example Page elements can be described in the position of the page according to dom tree-models.For example dom tree-models corresponding to a page can be with The page is represented, and the position of some node in dom tree-models in the model is stated, and can represent the page corresponding to node Station location marker of the element in the page.
Fig. 3 illustrates the flow of the page events acquisition method of disclosure example, and this method can be that browser performs js Script performs, and the js scripts can be referred to as into collector, as shown in figure 3, this method can include:
In step 300, the page listened in the page clicks on the click event of element.
In this example, collector can monitor the page and click on whether element is clicked on by user upon execution, for example, can supervise Listen whether " link " in the page is clicked.When user clicks on, collector can listen to that there occurs click event.
For example, the page of this example, can be the tree that the native pages or the h5 pages etc. can get the page The page of shape model so that the element position in the page can be represented by tree-like path information.
In step 302, obtain the page and click on tree-like path information corresponding to element, the tree-like path information is used Node location of the element in tree-shaped descriptive model corresponding to the page is clicked in representation page.
In this step, the dom tree-models of the page can generally provide access interface, can be divided by the access interface The page in step 300 is not got clicks on each hierarchy node of the element belonging in tree-shaped descriptive model.Such as with page point Hit exemplified by element " button ", the node " button " in the element corresponding diagram 2, the node can be got by access interface The father node of " button "<div>, the father node can also be obtained<div>Last layer father node again, etc..It will can get Each hierarchy node combination, obtain the page click on element corresponding to tree-like path information, the tree-like path information be used for represent page Millet cake hits node location of the element in tree-shaped descriptive model corresponding to the page.
For example, still so that the above-mentioned page clicks on element " button " as an example, being somebody's turn to do the tree-like path information of " button " can be: div-div2-button.From the point of view of Fig. 2, wherein, div can be<body>Under child node<div>, div2 can be One div child node, and the div of example has two child node div arranged side by side in Fig. 2, and button is that compliance is left-to-right Order second div under child node.Therefore, the composition of the tree-like path information can be, by the node of each level Separated with "-", and per hierarchy node mark include nodename (for example, div) and to should node lookup sequence number (example Such as, " 2 " in div2, represent there may be the node of multiple levels side by side, this node div is second).
In another example with page code above "<A href=" # ">" exemplified by, with reference to Fig. 2, corresponding tree-like path Information can be " div-a ", represent<body>Under be directly connected to<div>Under child node<a>.For another example in page code "<A href=" # ">….</a>" corresponding to tree-like path information can be " div-div2-a ", expression first find<body> Under child node<div>, then second div child node that left-to-right order is complied with the child node under the div is found, finally Child node is found in child node under second div child node<a>.
It can see by above-mentioned, tree-like path information corresponding to page click element illustrates the position that the page clicks on element Accessed path, and can be that the mode that the page clicks on element corresponding node is sequentially found in dom trees corresponding to the page, The page can certainly be searched in page code according to the tree-like path information and clicks on code position corresponding to element, principle phase Together.In addition, this example does not limit the specific representation of tree-like path information, above-mentioned " div-div2-button " is only one Individual example;The method that collector obtains the tree-like path information can not also be limited, as long as the position of page elements can be obtained Put accessed path.
In step 304, this click event is reported, and carries the tree-like path information.
For example, the tree-like path information reporting that collector can click on the page corresponding to this click event element extremely takes Business end, for example can report to and bury dot system, to carry out statistical analysis according to these information, it can be realized that user clicks on these The related data of element, for example get number of clicks.
The page events acquisition method of this example, it can obtain the page by collector when listening to click event and click on Tree-like path information corresponding to element, the routing information are equivalent to a kind of mark of element in page location, the path are believed Breath reports, and service end can knows that the page clicks on element in the position of the page according to the routing information.This method to develop Personnel can need not bury the station location marker of a little each page elements in page code, but by the automatic acquisition approach of collector Information reporting, then for developer, reduce the workload buried a little, quickly succinct can realize page thing The deployment of part collection;And decrease and bury an intrusion degree of the collection to page code.
In addition, the method for this example can also improve the degree of accuracy of page events collection, it is being related to the page interaction of complexity When, for example, under the same page, because the operation of the operation of user, or page script causes page elements to change, It can be understood by the method for this example and accurately distinguish different page elements.It is exemplified below:Assuming that in some page At same page location, several Zhang Butong picture is shown in the automatic carousel in the position according to business demand, then this several Picture is actually to be shown in same page location.Sub method according to the present example, page elements are described according to the dom trees of the page Path when, although these pictures are shown in same page location, their node locations in dom trees are different, because The tree-like path information of this picture got is just different, so as to accurately distinguish the element buried a little, also causes follow-up During statistical analysis, it can make it that the result of statistics is more accurate.
Again, event is clicked on using this method collection page, due to no longer needing the injection in page code to need to gather The page click on the station location marker of element, eliminate line and give a definition and manage and bury the work that element position identifies, simplify industry Business product development process;Also, the position of element is clicked on by the tree-like path message identification page, not only positional representation is more clear Clear, routing information inherently can clearly describe element in the position of the page, and the acquisition modes of routing information are simpler It is single quick, the introductory path information of element can be got by the access interface of tree shaped model.
In another example, other page elements outside element are clicked on for the page in the page, equally can profit Click event acquisition is carried out with the page events acquisition method of the disclosure.For example, can be that other page elements set " click Report attribute ", as long as there is the element of the attribute, corresponding event can be monitored.Fig. 4 illustrates another page events and adopted The flow chart of diversity method, it can include:
In step 400, the click event of other page elements in the page is listened to.
For example, js scripts can monitor the click event of page elements, when user's browsing pages, being somebody's turn to do on the page is clicked During the position of page elements, that is, click event occurs.
In step 402, if the page elements report attribute including click, obtain and set corresponding to the page elements Shape routing information, and report the click event for including the tree-like path information.
If for example, the attribute of the page elements, which includes click, reports attribute, exemplary, the attribute for example can be Data-click, then js scripts can obtain tree-like path information corresponding to page elements according to the flow shown in Fig. 3, and report Service end.
The page events acquisition method of this example, when to click on thing to some specific page elements collection, very Easily deployment is realized, it is only necessary to which the position addition click of the page elements reports attribute in page code, it is not necessary to The station location marker of the page elements is injected in page code, it is achieved that simply.
In above-mentioned example, it is described how set the click event to page elements to be acquired, gather click event Can be in order to carry out statistical analysis to the navigation patterns of user, so as to as the improved foundation of business.So in collection event Afterwards, statistical analysis can also be carried out to each click event collected, in one example, such as the thing that will can be collected Part, which reports to, buries dot system, and the processing of statistical analysis is carried out by burying dot system.Fig. 5 illustrates the flow to event analysis processing, , can be according to the collection event information reverting received to corresponding page elements in the processing procedure.This method can include:
In step 500, the click event in the page of collection is obtained, the page that the click event includes clicking on is clicked on The tree-like path information of element.
For example, the event data for the click event that the module for being responsible for statistical analysis can be reported with the js scripts of receiving front-end, The page that the event data can include click event clicks on tree-like path information corresponding to element, and the routing information is used to represent The page clicks on node location of the element in tree-shaped descriptive model corresponding to the page.The different pages is clicked on tree-shaped corresponding to element Routing information can be different.
In step 502, the tree-like path information is parsed, the page is obtained and clicks on element.
This step is according to tree-like path information reverse resolution, and member is clicked on to reduce the page corresponding to this click event Element.For example, still by taking the reverse resolution that the page in the page exemplified by Fig. 1 clicks on element " link " as an example, it is corresponding to be somebody's turn to do " link " Tree-like path information can be div-div2-a.
It is possible, firstly, to decompose tree-like path information div-div2-a, using "-" as separator, obtain the page and click on element Each hierarchy node belonging in tree-shaped descriptive model, including:div、div2、a.And each hierarchy node is parsed, Implication including character therein and numeral, such as, div is represented by the root node of tree-shaped descriptive model, look into downwards successively Look for, first obtained node div;Div2 represents the child node under first above-mentioned node div, also, the child node Multiple div can be included, div2 here represents second child node div;A represents the child node under div2.Synthesis obtains, First a node element under second div under first div element of div-div2-a representation pages.
Then, each hierarchy node that can be obtained according to parsing, is successively obtained in tree-shaped descriptive model or page code Take, determine that the page clicks on element.Such as it is illustrated in Figure 6, it can successively be searched in dom trees, first find " 1 " mark Div, the div of " 2 " mark is then found, be eventually found the node " a " of " 3 " mark, the as page clicks on element.Or such as Fig. 7 Signal, by taking page code as an example, still according to " 1 " --->“2”——>The step of " 3 ", searches successively, finally gives code Position<A href=" # ">….</a>.Whether the code position in Fig. 7 or the node in Fig. 6 " a ", finally all corresponding diagram The page in 1 page clicks on element " link ".
In addition, in statistical analysis, the practical business product page is can be combined with, the page got is indicated on the page Element is clicked on, such as, obtained in parsing after corresponding to tree-like path information being the element " link " in Fig. 1 on the page, can general It is somebody's turn to do " link " to show to protrude color, intuitively sees that click event occurs in the position of the page so as to which personnel must be analyzed and understood. Also, can also show the page click on element corresponding to click event event data, such as can near " link " or Page location is waited above person's element, shows the number that the element is clicked.
The page events acquisition method of this example, by representing element in reporting events with the tree-like path information of element In the position of the page, because the tree-like path information has the feature of semanteme to element position in itself so that can be quick and precisely Find element corresponding to routing information in the position of the page, the corresponding reduction work of position is simple and quick, and can also enter Row visualization display, statistic analysis are very directly perceived.
In order to realize the page events acquisition method of this specification one or more embodiment, Fig. 8 provides a kind of page Event acquisition device, the device for example apply the js scripts in collection event.It can include:Action listener module 81, information obtain Modulus block 82 and reporting events module 83.
Action listener module 81, the click event of element is clicked on for listening to the page in the page;
Data obtaining module 82, tree-like path information corresponding to element, the tree-shaped road are clicked on for obtaining the page Footpath information is used to represent that the page clicks on node location of the element in tree-shaped descriptive model corresponding to the page;
Reporting events module 83, for reporting this click event, and carry the tree-like path information.
In one example, the action listener module 81, it is additionally operable to listen to the page described in the page and clicks on member The click event of page elements outside element;
Described information acquisition module 82, it is additionally operable to when the page elements report attribute including click, then described in acquisition Tree-like path information corresponding to page elements.
In order to realize the page events acquisition method of this specification one or more embodiment, Fig. 9 additionally provides a kind of page Face event acquisition device, the device, which is for example applied, is burying the statistical analysis module of dot system.The device can include:Event receives Module 91 and event parsing module 92.
Event receiving module 91, the click event in the page for obtaining collection, the click event include what is clicked on The page clicks on the tree-like path information of element, and the tree-like path information is used to represent that the page clicks on element in the page Node location in corresponding tree-shaped descriptive model;
Event parsing module 92, for parsing the tree-like path information, obtain the page and click on element.
In one example, as shown in Figure 10, the device can also include:Data disaply moudle 93, in the page The page got is indicated on face and clicks on element, and shows that the page clicks on the event number of click event corresponding to element According to.
Each step shown in above-mentioned page events acquisition method embodiment in flow, its execution sequence are not restricted to flow Order in journey figure.In addition, the description of each step, it is possible to achieve be software, hardware or its form combined, for example, originally Art personnel can implement these as the form of software code, can be that can realize logic function corresponding to the step Computer executable instructions.When it is realized in a manner of software, described executable instruction can store in memory, And by the computing device in equipment.
For example, corresponding to the above method, this specification one or more embodiment provides a kind of data acquisition equipment simultaneously, The computer instruction that the equipment can include processor, memory and storage on a memory and can run on a processor, The processor is by performing the instruction, for realizing following steps:The page listened in the page clicks on the click of element Event;Obtain the page and click on tree-like path information corresponding to element, the tree-like path information is used to represent the page Click on node location of the element in tree-shaped descriptive model corresponding to the page;This click event is reported, and described in carrying Tree-like path information.In the realization of an example, the data acquisition equipment can be a computer, be run on the computer The browser-presented page, and browser also gathers click event of the user to page elements and reported.
For example, corresponding to the above method, this specification one or more embodiment provides a kind of data processing equipment simultaneously, The computer instruction that the equipment can include processor, memory and storage on a memory and can run on a processor, The processor is by performing the instruction, for realizing following steps:Obtain the click event in the page of collection, the point The page that hitting event includes clicking on clicks on the tree-like path information of element, and the tree-like path information is used to represent the page point Hit node location of the element in tree-shaped descriptive model corresponding to the page;The tree-like path information is parsed, is obtained described The page clicks on element.In the realization of an example, the data processing equipment can be server, can be run on the server Dot system is buried, burying dot system can analyze and process to the collection event received.
The device or module that above-described embodiment illustrates, can specifically be realized by computer chip or entity, or by with The product of certain function is realized.One kind typically realizes that equipment is computer, and the concrete form of computer can be personal meter Calculation machine, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media player, navigation are set It is any several in standby, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various modules during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each module can be realized in same or multiple softwares and/or hardware during specification one or more embodiment.
It should be understood by those skilled in the art that, this specification one or more embodiment can be provided as method, system or Computer program product.Therefore, this specification one or more embodiment can use complete hardware embodiment, complete software to implement The form of embodiment in terms of example or combination software and hardware.Moreover, this specification one or more embodiment can be used one Individual or multiple computer-usable storage mediums for wherein including computer usable program code (include but is not limited to disk storage Device, CD-ROM, optical memory etc.) on the form of computer program product implemented.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Other identical element also be present in the process of element, method, commodity or equipment.
This specification one or more embodiment can computer executable instructions it is general on Described in hereafter, such as program module.Usually, program module includes performing particular task or realizes particular abstract data type Routine, program, object, component, data structure etc..Can also put into practice in a distributed computing environment this specification one or Multiple embodiments, in these DCEs, by being performed by communication network and connected remote processing devices Task.In a distributed computing environment, the local and remote computer that program module can be located at including storage device is deposited In storage media.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Adopted especially for data For collecting equipment or data processing equipment embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the order in embodiment Perform and still can realize desired result.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can With or be probably favourable.
The preferred embodiment of this specification one or more embodiment is the foregoing is only, not limiting this public affairs Open, it is all within the spirit and principle of the disclosure, any modification, equivalent substitution and improvements done etc., it should be included in the disclosure Within the scope of protection.

Claims (14)

1. a kind of page events acquisition method, methods described include:
The page listened in the page clicks on the click event of element;
Obtain the page and click on tree-like path information corresponding to element, the tree-like path information is used to represent the page point Hit node location of the element in tree-shaped descriptive model corresponding to the page;
This click event is reported, and carries the tree-like path information.
2. according to the method for claim 1,
The page clicks on element, including:Button or link in the page.
3. according to the method for claim 1, described obtain tree-like path information corresponding to the page click element, bag Include:
By access interface corresponding to the tree-shaped descriptive model, the page is obtained respectively and clicks on element in the tree-shaped description Each hierarchy node belonging in model;
Each hierarchy node is combined, obtains the tree-like path information.
4. according to the method for claim 1, methods described also includes:
Listen to the click event that the page described in the page clicks on the page elements outside element;
If the page elements report attribute including click, tree-like path information corresponding to the page elements is obtained, and on Report includes the click event of the tree-like path information.
5. according to the method for claim 1, the page is the native pages or the h5 pages.
6. a kind of page events acquisition method, methods described include:
The click event in the page of collection is obtained, the page that the click event includes clicking on clicks on the tree-like path letter of element Breath, the tree-like path information are used to represent that the page clicks on section of the element in tree-shaped descriptive model corresponding to the page Point position;
The tree-like path information is parsed, the page is obtained and clicks on element.
7. according to the method for claim 6, the parsing tree-like path information, obtains the page and clicks on element, Including:
The tree-like path information is decomposed, the page is obtained and clicks on each level of the element belonging in the tree-shaped descriptive model Node;
Successively obtained according to each hierarchy node, determine that the page clicks on element.
8. according to the method for claim 6, methods described also includes:
The page got is indicated on the page and clicks on element, and shows the page to click on corresponding to element to click on The event data of event.
9. a kind of page events harvester, described device include:
Action listener module, the click event of element is clicked on for listening to the page in the page;
Data obtaining module, tree-like path information corresponding to element, the tree-like path information are clicked on for obtaining the page For representing that the page clicks on node location of the element in tree-shaped descriptive model corresponding to the page;
Reporting events module, for reporting this click event, and carry the tree-like path information.
10. device according to claim 9,
The action listener module, it is additionally operable to listen to the point that the page described in the page clicks on the page elements outside element Hit event;
Described information acquisition module, it is additionally operable to when the page elements report attribute including click, then obtains the page member Tree-like path information corresponding to element.
11. a kind of page events harvester, described device include:
Event receiving module, the click event in the page for obtaining collection, the click event include the page point clicked on The tree-like path information of element is hit, the tree-like path information is used to represent that the page clicks on element corresponding to the page Node location in tree-shaped descriptive model;
Event parsing module, for parsing the tree-like path information, obtain the page and click on element.
12. device according to claim 11, described device also include:
Data disaply moudle, element is clicked on for indicating the page got on the page, and show the page Click on the event data of click event corresponding to element.
13. a kind of data acquisition equipment, the equipment includes memory, processor, and stores on a memory and can locate The computer instruction run on reason device, the computing device realize following steps when instructing:
The page listened in the page clicks on the click event of element;
Obtain the page and click on tree-like path information corresponding to element, the tree-like path information is used to represent the page point Hit node location of the element in tree-shaped descriptive model corresponding to the page;
This click event is reported, and carries the tree-like path information.
14. a kind of data processing equipment, the equipment includes memory, processor, and stores on a memory and can locate The computer instruction run on reason device, the computing device realize following steps when instructing:
The click event in the page of collection is obtained, the page that the click event includes clicking on clicks on the tree-like path letter of element Breath, the tree-like path information are used to represent that the page clicks on section of the element in tree-shaped descriptive model corresponding to the page Point position;
The tree-like path information is parsed, the page is obtained and clicks on element.
CN201710735695.1A 2017-08-24 2017-08-24 A kind of page events acquisition method and device Pending CN107633019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710735695.1A CN107633019A (en) 2017-08-24 2017-08-24 A kind of page events acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710735695.1A CN107633019A (en) 2017-08-24 2017-08-24 A kind of page events acquisition method and device

Publications (1)

Publication Number Publication Date
CN107633019A true CN107633019A (en) 2018-01-26

Family

ID=61100604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710735695.1A Pending CN107633019A (en) 2017-08-24 2017-08-24 A kind of page events acquisition method and device

Country Status (1)

Country Link
CN (1) CN107633019A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846116A (en) * 2018-06-26 2018-11-20 北京京东金融科技控股有限公司 Page Impression collecting method, system, electronic equipment and storage medium
CN109635210A (en) * 2018-11-15 2019-04-16 腾讯科技(深圳)有限公司 Report method, device, equipment and the storage medium of behavioral data
CN109684583A (en) * 2018-11-12 2019-04-26 深圳壹账通智能科技有限公司 Analysis method, device, terminal and the readable storage medium storing program for executing of Page user behavior
CN110059272A (en) * 2018-11-02 2019-07-26 阿里巴巴集团控股有限公司 A kind of page feature recognition methods and device
CN110569459A (en) * 2018-03-26 2019-12-13 北京京东尚科信息技术有限公司 A statistical method and device for web page information
CN110633390A (en) * 2018-05-31 2019-12-31 北京嘀嘀无限科技发展有限公司 Method and device for acquiring user behavior path
CN110674025A (en) * 2018-07-03 2020-01-10 百度在线网络技术(北京)有限公司 Interactive behavior monitoring method and device and computer equipment
CN110825600A (en) * 2019-10-28 2020-02-21 北京城市网邻信息技术有限公司 Page information processing method, server and page display device
CN111026317A (en) * 2019-11-28 2020-04-17 爱钱进(北京)信息科技有限公司 Method, device and storage medium for determining user operation
CN111046317A (en) * 2019-12-27 2020-04-21 北京奇艺世纪科技有限公司 Page data acquisition method, device, equipment and computer readable storage medium
CN111158820A (en) * 2019-12-25 2020-05-15 网易传媒科技(北京)有限公司 Control click event processing method and device, electronic equipment and storage medium
CN111159600A (en) * 2019-12-27 2020-05-15 北京达佳互联信息技术有限公司 Method and device for reporting information of elements on page, electronic equipment and storage medium
CN111221610A (en) * 2020-01-03 2020-06-02 中国建设银行股份有限公司 Page element acquisition method and device
CN111309326A (en) * 2020-02-12 2020-06-19 深圳壹账通智能科技有限公司 Path script generation method, device, equipment and computer readable storage medium
CN111522548A (en) * 2020-03-24 2020-08-11 北京三快在线科技有限公司 Project function expansion method and device, electronic equipment and computer readable medium
CN111581069A (en) * 2020-04-30 2020-08-25 北京三快在线科技有限公司 Data processing method and device
CN111651336A (en) * 2019-03-04 2020-09-11 腾讯科技(深圳)有限公司 Data reporting method and device
CN112099778A (en) * 2020-11-13 2020-12-18 北京智慧星光信息技术有限公司 Data acquisition method based on xpath, electronic equipment and storage medium
CN112579951A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Page element selection method and device, storage medium and equipment
CN112596978A (en) * 2020-12-23 2021-04-02 华人运通(上海)云计算科技有限公司 Method, device and medium for processing embedded point information
CN113034211A (en) * 2021-05-25 2021-06-25 武汉卓尔数字传媒科技有限公司 Method and device for predicting user behavior and electronic equipment
CN113051508A (en) * 2019-12-27 2021-06-29 中国电信股份有限公司 Method, system and medium for detecting click traffic of page elements in page
CN113254315A (en) * 2021-06-07 2021-08-13 杭州网易云音乐科技有限公司 Reporting method of embedded point information, embedded point method, device, medium and electronic equipment
CN113268695A (en) * 2021-05-31 2021-08-17 平安国际智慧城市科技股份有限公司 Data embedding point processing method and device and related equipment
WO2021189766A1 (en) * 2020-03-25 2021-09-30 平安科技(深圳)有限公司 Data visualization method and related device
CN113761310A (en) * 2020-07-07 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for collecting click data
CN113867584A (en) * 2021-09-24 2021-12-31 维沃移动通信有限公司 Touch event response method and device
CN114579899A (en) * 2020-12-02 2022-06-03 北京鸿享技术服务有限公司 Webpage information acquisition method and device, electronic equipment and computer storage medium
CN115426351A (en) * 2021-05-14 2022-12-02 腾讯科技(北京)有限公司 Data reporting method and device, electronic equipment and storage medium
CN115563423A (en) * 2022-11-03 2023-01-03 中国农业银行股份有限公司 Data acquisition method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6982708B1 (en) * 2002-01-25 2006-01-03 Microsoft Corporation Visually displaying sequentially ordered data for mining
CN102637193A (en) * 2012-02-23 2012-08-15 北京航空航天大学 Webpage instant collaborative browsing method based on DOM (document object model) and XMPP (extensible messaging and presence protocol)
CN103365901A (en) * 2012-04-01 2013-10-23 上海聚力传媒技术有限公司 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
CN104063460A (en) * 2014-06-25 2014-09-24 北京奇虎科技有限公司 Method and device for loading webpage in browser
CN106933722A (en) * 2017-03-06 2017-07-07 腾云天宇科技(北京)有限公司 A kind of web application monitoring method, server and system
CN107018046A (en) * 2017-06-06 2017-08-04 上海鋆创信息技术有限公司 A kind of collecting method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6982708B1 (en) * 2002-01-25 2006-01-03 Microsoft Corporation Visually displaying sequentially ordered data for mining
CN102637193A (en) * 2012-02-23 2012-08-15 北京航空航天大学 Webpage instant collaborative browsing method based on DOM (document object model) and XMPP (extensible messaging and presence protocol)
CN103365901A (en) * 2012-04-01 2013-10-23 上海聚力传媒技术有限公司 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
CN104063460A (en) * 2014-06-25 2014-09-24 北京奇虎科技有限公司 Method and device for loading webpage in browser
CN106933722A (en) * 2017-03-06 2017-07-07 腾云天宇科技(北京)有限公司 A kind of web application monitoring method, server and system
CN107018046A (en) * 2017-06-06 2017-08-04 上海鋆创信息技术有限公司 A kind of collecting method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋星: "无埋点实现监测的真相--革新还是噱头", 《HTTP://WWW.CHINAWEBANALYTICS.CN/AUTO-EVENT-TRACKING-GOOD-BAD-UGLY/》 *

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569459A (en) * 2018-03-26 2019-12-13 北京京东尚科信息技术有限公司 A statistical method and device for web page information
CN110633390A (en) * 2018-05-31 2019-12-31 北京嘀嘀无限科技发展有限公司 Method and device for acquiring user behavior path
CN108846116A (en) * 2018-06-26 2018-11-20 北京京东金融科技控股有限公司 Page Impression collecting method, system, electronic equipment and storage medium
CN110674025B (en) * 2018-07-03 2023-08-11 百度在线网络技术(北京)有限公司 Interactive behavior monitoring method and device and computer equipment
CN110674025A (en) * 2018-07-03 2020-01-10 百度在线网络技术(北京)有限公司 Interactive behavior monitoring method and device and computer equipment
CN110059272A (en) * 2018-11-02 2019-07-26 阿里巴巴集团控股有限公司 A kind of page feature recognition methods and device
CN110059272B (en) * 2018-11-02 2023-08-15 创新先进技术有限公司 Page feature recognition method and device
CN109684583A (en) * 2018-11-12 2019-04-26 深圳壹账通智能科技有限公司 Analysis method, device, terminal and the readable storage medium storing program for executing of Page user behavior
CN109635210B (en) * 2018-11-15 2021-10-29 腾讯科技(深圳)有限公司 Behavior data reporting method, device, equipment and storage medium
CN109635210A (en) * 2018-11-15 2019-04-16 腾讯科技(深圳)有限公司 Report method, device, equipment and the storage medium of behavioral data
CN111651336A (en) * 2019-03-04 2020-09-11 腾讯科技(深圳)有限公司 Data reporting method and device
CN111651336B (en) * 2019-03-04 2022-02-18 腾讯科技(深圳)有限公司 Data reporting method and device
CN112579951A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Page element selection method and device, storage medium and equipment
CN110825600A (en) * 2019-10-28 2020-02-21 北京城市网邻信息技术有限公司 Page information processing method, server and page display device
CN110825600B (en) * 2019-10-28 2023-04-11 北京城市网邻信息技术有限公司 Page information processing method, server and page display device
CN111026317A (en) * 2019-11-28 2020-04-17 爱钱进(北京)信息科技有限公司 Method, device and storage medium for determining user operation
CN111158820A (en) * 2019-12-25 2020-05-15 网易传媒科技(北京)有限公司 Control click event processing method and device, electronic equipment and storage medium
CN111158820B (en) * 2019-12-25 2023-07-21 网易传媒科技(北京)有限公司 Control click event processing method and device, electronic equipment and storage medium
CN111046317A (en) * 2019-12-27 2020-04-21 北京奇艺世纪科技有限公司 Page data acquisition method, device, equipment and computer readable storage medium
CN111159600A (en) * 2019-12-27 2020-05-15 北京达佳互联信息技术有限公司 Method and device for reporting information of elements on page, electronic equipment and storage medium
CN113051508A (en) * 2019-12-27 2021-06-29 中国电信股份有限公司 Method, system and medium for detecting click traffic of page elements in page
CN111159600B (en) * 2019-12-27 2023-07-04 北京达佳互联信息技术有限公司 Information reporting method and device for elements on page, electronic equipment and storage medium
CN111221610A (en) * 2020-01-03 2020-06-02 中国建设银行股份有限公司 Page element acquisition method and device
CN111221610B (en) * 2020-01-03 2023-07-04 建信金融科技有限责任公司 Page element acquisition method and device
CN111309326A (en) * 2020-02-12 2020-06-19 深圳壹账通智能科技有限公司 Path script generation method, device, equipment and computer readable storage medium
CN111522548A (en) * 2020-03-24 2020-08-11 北京三快在线科技有限公司 Project function expansion method and device, electronic equipment and computer readable medium
WO2021189766A1 (en) * 2020-03-25 2021-09-30 平安科技(深圳)有限公司 Data visualization method and related device
CN111581069A (en) * 2020-04-30 2020-08-25 北京三快在线科技有限公司 Data processing method and device
CN113761310A (en) * 2020-07-07 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for collecting click data
CN112099778B (en) * 2020-11-13 2021-02-02 北京智慧星光信息技术有限公司 Data acquisition method based on xpath, electronic equipment and storage medium
CN112099778A (en) * 2020-11-13 2020-12-18 北京智慧星光信息技术有限公司 Data acquisition method based on xpath, electronic equipment and storage medium
CN114579899A (en) * 2020-12-02 2022-06-03 北京鸿享技术服务有限公司 Webpage information acquisition method and device, electronic equipment and computer storage medium
CN112596978A (en) * 2020-12-23 2021-04-02 华人运通(上海)云计算科技有限公司 Method, device and medium for processing embedded point information
CN115426351A (en) * 2021-05-14 2022-12-02 腾讯科技(北京)有限公司 Data reporting method and device, electronic equipment and storage medium
CN113034211A (en) * 2021-05-25 2021-06-25 武汉卓尔数字传媒科技有限公司 Method and device for predicting user behavior and electronic equipment
CN113268695A (en) * 2021-05-31 2021-08-17 平安国际智慧城市科技股份有限公司 Data embedding point processing method and device and related equipment
CN113268695B (en) * 2021-05-31 2024-05-31 深圳赛安特技术服务有限公司 Data embedded point processing method and device and related equipment
CN113254315A (en) * 2021-06-07 2021-08-13 杭州网易云音乐科技有限公司 Reporting method of embedded point information, embedded point method, device, medium and electronic equipment
CN113867584A (en) * 2021-09-24 2021-12-31 维沃移动通信有限公司 Touch event response method and device
CN115563423A (en) * 2022-11-03 2023-01-03 中国农业银行股份有限公司 Data acquisition method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107633019A (en) A kind of page events acquisition method and device
CN107562620A (en) One kind buries an automatic setting method and device
US11244247B2 (en) Facilitating concurrent forecasting of multiple time series
US11798209B1 (en) Systems and methods for rendering a third party visualization in response to events received from search queries
US10942960B2 (en) Automatic triage model execution in machine data driven monitoring automation apparatus with visualization
US20200167349A1 (en) Storing and querying metrics data using a metric-series index
JP7386889B2 (en) GUI element acquisition using multiple alternative representations of GUI elements
Choudhary et al. X-PERT: Accurate identification of cross-browser issues in web applications
CN106250424B (en) A kind of searching method, the apparatus and system of log context
KR101791623B1 (en) Visualizing realationships between a transaction trace graph and a map of logical subsystems
US11838372B2 (en) URL normalization for rendering a service graph
US11574429B1 (en) Automated generation of display layouts
CN111159014B (en) Response method and device for exploratory test, computer equipment and storage medium
CN114511353A (en) Data analysis method and apparatus
CN104714873A (en) Recording gui data
US10706108B2 (en) Field name recommendation
CN117472988B (en) A log viewing method, device, equipment and readable medium for a process instance
CN112506733B (en) Fine analysis method, device, equipment and medium for user behavior data
US8621287B1 (en) Computing system monitoring
US20170285923A1 (en) Multi-perspective application components dependencies
CN110351131B (en) Monitoring method and device for distributed link and electronic equipment
Scherr et al. Establishing Continuous App Improvement by Considering Heterogenous Data Sources.
Akca et al. Run-time measurement of cosmic functional size for java business applications: Initial results
CN104391956B (en) The detection method and device of network upgrade content
Sarda et al. Augmenting Automatic Root-Cause Identification with Incident Alerts Using LLM

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
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180126

RJ01 Rejection of invention patent application after publication