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

Data reporting method and device, equipment and storage medium

A technology of data and computer equipment, applied in the computer field, can solve problems such as high coupling of business codes, time-consuming and laborious, high labor costs, and achieve the effect of improving data collection efficiency, reducing coupling, and reducing labor costs

Pending Publication Date: 2022-08-02
TENCENT TECH (BEIJING) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, when collecting data, the business side needs to manually call the Application Programming Interface (API) to report the data, and independently judge the timing of the report, which is time-consuming and labor-intensive, the labor cost is too high, and the coupling with the business code is too high

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
  • Data reporting method and device, equipment and storage medium
  • Data reporting method and device, equipment and storage medium
  • Data reporting method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0081] In a possible implementation, it is detected that at least one target element in the target element set is rendered.

[0082] Specifically, the target element may be an element used to represent the entire page, or an element used to represent certain page information within the page. In response to the user's operation of opening the target page, the terminal device obtains the data of the target page from the server, and then renders each element in the target page based on the data of the target page. In the specific implementation, the terminal device performs domain name resolution according to the uniform resource locator (Uniform Resource Locator, URL) of the target page, and initiates a request to the server. The terminal device receives files (HTML files, JS files, CSS files, images, etc.), parses the files (HTML files, JS files, CSS files, etc.) (object) property sheet, CSS style rules, etc.). Then build a rendering tree, perform position calculation, style ...

Embodiment approach 1

[0101] Embodiment 1: Obtain the historical state change result corresponding to at least one target element based on the reported virtual tree. If the state change result of at least one target element is different from the historical state change result of at least one target element, determine the state change of at least one target element. The result satisfies the corresponding reporting trigger condition.

[0102] Specifically, the reporting virtual tree is constructed based on each target element marked as a reporting object, a node in the reporting virtual tree represents a target element, and the reporting virtual tree stores the historical state change results corresponding to each target element.

[0103] In a specific implementation, when initializing the SDK, the terminal device traverses the structure of the document object model of the target page, obtains each target element marked as a reporting object from the document object model, and then builds a reporting ...

Embodiment approach 2

[0113] Embodiment 2: When the state change result of the target element matches the report trigger condition of the report event corresponding to the target element, it is determined that the state change result of the target element satisfies the corresponding report trigger condition.

[0114] Specifically, the reporting event includes an element click event. If the state change result of the target element is an element click, the corresponding reporting event of the target element is an element click event, and the reporting trigger condition of the element click event is that an element click is detected, then the state of the target element The change result matches the report trigger condition of the report event corresponding to the target element, thereby determining that the state change result of the target element satisfies the corresponding report trigger condition.

[0115] Exemplarily, the target element is set as the favorite button in the target page, the repor...

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 embodiment of the invention provides a data reporting method and device, equipment and a storage medium, and relates to the technical field of computers.The method comprises the steps that a document object model corresponding to a target page is obtained, then a target element set is determined based on the document object model, and each target element in the target element set is marked as a reporting object; and the corresponding report triggering condition is associated. And when it is monitored that at least one target element in the target element set has a state change and it is determined that a state change result meets a corresponding reporting trigger condition, reporting the state change result of the at least one target element. And the report object is marked in the document object model corresponding to the target page to realize data report, so that the coupling degree with a service code is reduced. And secondly, when the state change of the at least one target element is monitored and the state change result meets the corresponding report triggering condition, the state change result of the at least one target element is automatically reported, so that the data acquisition efficiency is improved, and the cost is reduced.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technologies, and in particular, to a data reporting method, apparatus, device, and storage medium. Background technique [0002] With the development of business, the demand for data governance is increasing day by day. The business side hopes that through data governance, it can quickly obtain the data performance of the business, change the business strategy in time, and improve the user conversion rate. As the first link of the data governance link, data collection is an important part. [0003] In the related art, when collecting data, the business side needs to manually call the Application Programming Interface (API) to report data and independently judge the reporting timing, which is time-consuming and labor-intensive, with high labor costs and high coupling with business codes. SUMMARY OF THE INVENTION [0004] The embodiments of the present application provide a d...

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): G06F9/448
CPCG06F9/4488
Inventor 胡皓冯杰楠
Owner TENCENT TECH (BEIJING) CO 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