Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

User behavior data rendering method and device

A technology of data rendering and behavior, applied in the field of data rendering, which can solve the problems of rendering user behavior data, unable to render user behavior data, and unable to realize interactive rendering, etc., and achieve the effect of reducing the running burden

Pending Publication Date: 2021-06-29
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the user behavior data rendering method in the prior art can only render the user behavior data of each control on the first screen, and cannot monitor the changes of the Document Object Model (DOM), let alone continue to display the data after the DOM changes. User behavior data is rendered on the page, so interactive rendering cannot be achieved
For example, the user behavior data of each control on the sub-window cannot be rendered in the sub-window that pops up after the user clicks on a certain control

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • User behavior data rendering method and device
  • User behavior data rendering method and device
  • User behavior data rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] Embodiment 1 of the present invention provides a user behavior data rendering method, the process of which is as follows figure 1 shown, including the following steps:

[0065] Step S11: Establish a virtual document object model VDOM tree according to the document object model DOM tree.

[0066] Among them, the DOM tree includes the information of the entire page, that is, the page effect presented by the browser and seen by the user. The DOM nodes included in the DOM tree are objects in the page, and the VDOM nodes in the VDOM tree are used to represent the objects in the page, and there is a one-to-one correspondence between the DOM nodes and the VDOM nodes. At the same time, the VDOM nodes in the VDOM tree are marked with the path identifiers of the corresponding DOM nodes in the DOM tree.

[0067] The objects of the above-mentioned pages may be controls displayed on the page, or background data not displayed. The user behavior data rendering in this application is...

Embodiment 2

[0096] Embodiment 2 of the present invention provides a specific implementation method for user behavior data rendering, the process of which is as follows Figure 5 shown, including the following steps:

[0097] Step S51: Establish a virtual document object model VDOM tree according to the document object model DOM tree.

[0098] Step S52: According to the obtained user behavior data and the path identifier in the VDOM tree, establish a user behavior data set including the path identifier and at least one corresponding user behavior data record.

[0099] The method for collecting specific user behavior data will be introduced in the third embodiment.

[0100] After the DOM tree is rendered or updated for the first time, follow-up steps S53 to S59 are performed.

[0101] Step S53: traverse the user behavior data set, and determine whether the DOM node corresponding to the path identifier of the currently traversed user behavior data record is rendered in the current page.

...

Embodiment 3

[0115] Embodiment 3 of the present invention provides a method for obtaining user behavior data by using buried points, including, when an object in a page is triggered by a specified user behavior, returning the path identifier of the DOM node corresponding to the object to the server, so that the server counts the path identifier corresponding to User behavior data records to generate user behavior data. refer to Figure 7 As shown, it specifically includes the following steps:

[0116] During the process of establishing the virtual document object model VDOM tree, step S71 and step S72 are executed.

[0117] Step S71: Determine whether the path identifier of the current VDOM node is marked.

[0118] If not, execute step S72.

[0119] Step S72: mark the path identifier for the current VDOM node.

[0120] The path information included in the path identifier may indicate the position (path) of the DOM node corresponding to the VDOM node in the DOM tree.

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

PUM

No PUM Login to View More

Abstract

The invention discloses a user behavior data rendering method and device. The method comprises the steps that a virtual document object model (VDOM) tree is established according to a document object model (DOM) tree, a VDOM node in the VDOM tree is labeled with a path identifier of a corresponding DOM node in the DOM tree, and the DOM node is an object in a page; the method also includes: according to the obtained user behavior data and the path identifier in the VDOM tree, establishing a user behavior data set comprising the path identifier and at least one corresponding user behavior data record; and after the DOM tree is rendered or updated, determining a corresponding user behavior data record in the user behavior data set according to the path identifier of the currently rendered DOM node, and using the user behavior data record to render the user behavior data for the currently rendered DOM node. The rendering of the user behavior data can be realized in the first rendering and refreshing process of the DOM, and interactive rendering is realized.

Description

technical field [0001] The present invention relates to the technical field of data rendering, in particular to a user behavior data rendering method and device. Background technique [0002] In order to make it easier for R&D or management personnel to understand the usage of various functions (controls) in the browser, it is necessary to use buried points to collect user behavior data, such as the number of times a user clicks on a certain control, the duration of watching a certain video, and clicking on a certain jump link times etc. Among them, the buried point is a method of recording user behavior for subsequent data analysis. [0003] At the same time, in order to display the user behavior data more intuitively, it is necessary to render the user behavior data directly on the corresponding controls of the display page. However, the user behavior data rendering method in the prior art can only render the user behavior data of each control on the first screen, and ca...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/14
CPCG06F40/14
Inventor 郑欣
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products