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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com