An automated tracking verification method and system based on full tracking reporting by Sensors

Through the automated tracking verification method based on the full tracking reporting of Sensors, the automated reporting of the center point of the page is used to solve the problems of the existing technology that cannot fully cover the page area and detect duplicate reporting. An automated report is generated, which improves the comprehensiveness and accuracy of the verification and saves labor costs.

CN119883891BActive Publication Date: 2025-09-23BEIJING ZHONGQI YUNLIAN IND FINANCE TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411862901.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-09-23
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

The existing tracking verification platform cannot fully cover all areas of the page, cannot detect duplicate reports, and cannot verify whether there are multiple reports. It lacks purposeless and database-based verification methods, resulting in incomplete and inaccurate verification results.

Method used

An automated tracking verification method based on Sensors' full tracking reporting is adopted. By dividing the page into multiple square areas, clicking the center point, and combining the front-end tracking reporting rules to predict whether it should be reported, the reported information is captured for consistency verification, the database data is checked, and the packet capture tool is used to capture data. An automated report is generated, including a screenshot of the location of the center point that failed the verification.

Benefits of technology

It detects duplicate reports for all areas of the page that are not covered by existing technologies and generates automated reports, which improves the comprehensiveness and accuracy of verification, saves labor costs, and avoids omissions caused by human clicks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883891B_ABST
    Figure CN119883891B_ABST
Patent Text Reader

Abstract

The present invention provides an automated tracking point verification method and system based on the full tracking point reporting of Sensors, the method comprising: initializing a page to be verified and an environment for tracking point verification; dividing the page to be verified into a plurality of square areas of preset sizes on average, the center point of each square area is clicked, and predicting whether the clicked center point should be reported according to the front-end tracking point reporting rules; capturing the reporting information sent by the center point through the browser; wherein the reporting information sent by the center point through the browser is stored in a database; verifying the captured reporting information, comprising: performing consistency verification on the center point of the actual reporting information sent through the browser and the predicted center point that should be reported; checking whether the fields contained in the reporting information sent by the browser comply with the specifications; reading the stored data of the reporting information in the database and performing consistency verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated testing technology, and in particular to an automated point-of-study verification method and system based on Sensors' full point-of-study reporting. Background Art

[0002] Because user behavior analysis systems require comprehensive and indiscriminate data collection, the sheer volume of data collected and the diverse scenarios involved can make hidden issues difficult to detect. Currently, there's a lack of efficient means to verify the correctness of tracking service functionality, requiring the design of automated testing methods.

[0003] Figure 2 This is a diagram of the overall architecture of the user behavior analysis service in one embodiment of the present invention.

[0004] Full embedding is implemented by adding embedding to the front-end page code. The reporting rules for full embedding are: for div-type elements, if the maximum number of child leaf levels is 3, it will be reported; if there are more than 3, it will not be reported; for img, span, ul, li, or p-type elements, clicks will be reported.

[0005] The service adopts a fully embedded reporting method, which reports a certain type of pre-defined event (usually including the following four types of events: APP startup, APP shutdown, page access, and element click) completely automatically through the SDK. It has the characteristics of short cycle, low labor cost, large data volume, and intelligent analysis of page interaction related data. The service reports 5 types of behavior: (1)

[0006] User dimension C-1002-1: Report once when the user logs in, and no report when the user logs out; (2) Session dimension C-1001-1: When entering the project for the first time, the front-end calls the cda service, obtains the sessionId (currently the sessionId expires after 1 hour), and reports the session data; (3) Page loading dimension C-1003-1: The browser page refreshes, the URL changes, and the browser moves forward and backward; (4) Click event dimension C-1003-2 (key verification): The user clicks on the corresponding element on the page to report. The max_level of the div element can be set to 3, and the set type elements include img, span, ul, li, p, a, button and input; (5) Stay duration dimension C-1003-3: The behavior triggered by the user leaving the current page.

[0007] Existing tracking verification platforms can include tracking verification solutions, tracking verification tools, and tracking verification reports. These three components complement each other and significantly reduce users' tracking verification costs. By configuring verification solutions for specific reporting elements, you can verify whether tracking is effective, whether parameters are missing, whether the type is correct, and whether the value meets expectations, and generate corresponding verification reports.

[0008] However, the existing tracking point verification platform has the following shortcomings: (1) The verification method is too simple, and it only verifies the correctness of the fields in the reporting request compared with the predetermined rules, and cannot judge and compare with the final results in the database; (2) The tracking point triggering method is too purposeful. For full tracking points, tracking points will be triggered everywhere on the entire page. The existing technology is limited to relying on manual clicks in certain key areas, and cannot cover some more special locations, and cannot fully discover and solve potential problems; (3) The existing technology cannot verify whether there are over-reporting and repeated reporting, and can only verify under-reporting. In addition, based on the personalized reporting settings for the business, it cannot determine whether the point should be reported.

[0009] Therefore, how to design an automated tracking verification solution that refers to the results of the database, is triggered without purpose, and can detect duplicate reports is a technical problem that needs to be solved urgently. Summary of the Invention

[0010] In view of this, in order to overcome the shortcomings of the existing tracking point verification platform, an embodiment of the present invention provides an automated tracking point verification method and system based on the full tracking point reporting of Sensors, so as to eliminate or improve one or more defects in the existing technology.

[0011] One aspect of the present invention provides an automated point-of-sale verification method based on ShenCe's full point-of-sale reporting, the method comprising the following steps: initializing a page to be verified and an environment for point-of-sale verification; dividing the page to be verified into a plurality of square areas of preset sizes, the center point of each square area being clicked, and predicting whether the clicked center point should be reported according to the front-end point-of-sale reporting rules; capturing the reporting information sent by the center point through the browser; wherein the reporting information sent by the center point through the browser is stored in a database; verifying the captured reporting information, including: performing consistency verification on the center point of the actual reporting information sent through the browser and the predicted center point that should be reported; checking whether the fields contained in the reporting information sent by the browser comply with the specifications; reading the stored data of the reporting information in the database and performing consistency verification.

[0012] In some embodiments of the present invention, before the page to be verified and the environment for performing embedded point verification, the method further includes: pre-configuring a file containing the page to be verified and page-related information; wherein, the page-related information includes the service name, page URL, page title, and an indication of whether login is required.

[0013] In some embodiments of the present invention, the step of capturing the reporting information sent by the central point through the browser is implemented by a packet capture tool pre-installed in an environment for performing point verification.

[0014] In some embodiments of the present invention, during the process of clicking the center point of each square area, when a new dialog box is detected to pop up on the page, the method further includes: pausing the click and switching to a new page corresponding to the new dialog box; traversing and verifying each element contained in the new page; and when the traversal is completed, returning to the previous page to be verified to continue clicking.

[0015] In some embodiments of the present invention, the step of predicting whether the clicked center point should be reported according to the front-end point reporting rules includes: obtaining the page element level and element type according to the position of the clicked center point; determining whether to report according to the reporting rules of the Shen Ce full point, and the reporting rules of the Shen Ce full point preset the page element level and element type range to be reported.

[0016] In some embodiments of the present invention, the reporting rules of the ShenCe full-point embedding include: for div type elements, use JavaScript scripts to determine the element level, if the maximum sub-leaf level is 3, report it, if it is more than 3 levels, do not report it; for elements of preset types, report clicks, and do not report other situations.

[0017] In some embodiments of the present invention, the method further includes: after the center points of all square areas are clicked, generating an automated point-of-sale verification report for the page to be verified; wherein, the automated point-of-sale verification report includes a screenshot of the location of the center points that failed the verification.

[0018] Corresponding to the above method, the present invention also provides an automated tracking verification system based on the full tracking reporting of Sensors, including a processor, a memory and a computer program / instructions stored in the memory, the processor is used to execute the computer program / instructions, and when the computer program / instructions are executed, the system implements the steps of the method described in any one of the above embodiments.

[0019] Corresponding to the above method, the present invention also provides a computer-readable storage medium having a computer program / instruction stored thereon, which implements the steps of the method described in any one of the above embodiments when the computer program / instruction is executed by a processor.

[0020] Corresponding to the above method, the present invention also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any one of the above embodiments when executed by a processor.

[0021] The automated buried point verification method based on the full buried point reporting of Shen Ce proposed in the present invention can save labor costs through pre-configured files. It only requires manual intervention to fill in the preparation information in the early stage, and can be realized without manual operation and clicking in the later stage. It also proposes a multi-angle verification method, which can not only compare the accuracy of each field of the reported information, but also compare the correctness of the storage. At the same time, it can also obtain page information for verification, thereby improving the comprehensiveness of the buried point verification. In addition, the buried point verification method proposed in the present invention adopts a traversal click method to treat the verification page indiscriminately, which can cover the places that may be ignored by manual clicks, and eliminate the omissions caused by human clicking habits, so that the verification results are more credible and comprehensive. In summary, the method proposed in the present invention is significantly different from the verification method in the prior art that only relies on field types and missing rules.

[0022] Additional advantages, objects, and features of the present invention will be set forth in part in the following description and will become apparent to those skilled in the art upon examination of the following or may be learned from practice of the present invention. The objects and other advantages of the present invention may be realized and obtained by the structures particularly pointed out in the description and drawings.

[0023] Those skilled in the art will understand that the purposes and advantages that can be achieved by the present invention are not limited to the above specific descriptions, and the above and other purposes that can be achieved by the present invention will be more clearly understood based on the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of this application, and do not constitute a limitation of the present invention. In the drawings:

[0025] Figure 1 This is a flow chart of an automated tracking verification method based on full tracking reporting by Sensors in one embodiment of the present invention.

[0026] Figure 2 This is a diagram of the overall architecture of the user behavior analysis service in one embodiment of the present invention.

[0027] Figure 3 This is a flow chart of an automated tracking verification method based on full tracking reporting by Sensors in another embodiment of the present invention.

[0028] Figure 4 A schematic diagram of the structure of the computer equipment included in the system. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0030] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, the accompanying drawings only show structures and / or processing steps closely related to the solutions according to the present invention, while other details that are not closely related to the present invention are omitted.

[0031] It should be emphasized that the term "include / comprises" when used herein refers to the existence of features, elements, steps or components, but does not exclude the existence or addition of one or more other features, elements, steps or components.

[0032] It should also be noted that, unless otherwise specified, the term "connection" herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.

[0033] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0034] In order to overcome the shortcomings of the existing tracking point verification platform, the present invention proposes an automated tracking point verification method based on the full tracking point reporting of Sensors. The automated tracking point verification method includes: (1) a consistency verification method, which ensures the consistency and accuracy of the data by comparing the fields in the reporting request with the results stored in the database; (2) a non-purpose tracking point triggering method that can fully cover all areas of the page, including special locations, so as to better discover and solve potential problems. (3) Detection of over-reporting, under-reporting and duplicate reporting, and judgment based on the personalized reporting settings of the business to ensure the validity and reliability of the data.

[0035] Sensors' full-point reporting is a method for collecting user behavior data. During the development process, by embedding specific code in the application, information such as user operations on the interface, dwell time, and number of clicks is collected in real time, and this data is reported to the back-end data platform for analysis. This method can help developers and testers gain a more comprehensive understanding of product usage and user needs, thereby optimizing product functions and user experience. The advantage of Sensors' full-point reporting is that it can cover every user behavior and provide strong support for subsequent testing work. The disadvantage is that the amount of data is large, which may put pressure on the server, and it also requires more resources for data cleaning and analysis.

[0036] Automated tracking verification refers to the process of verifying tracking data in the software development kit (SDK) using automated testing tools and techniques. Tracking verification aims to ensure that tracking data accurately and completely reflects user behavior, providing data support for product optimization and decision-making.

[0037] The automated tracking verification method proposed in the present invention implements the "traversal point" function by evenly dividing the page into squares of a specified pixel size, clicking on the point in the center of the square, and combining the front-end tracking reporting rules to predict whether the point should be reported. The method then compares the results with the actual reporting results and records the abnormal scenarios. The key points of this method include: (1) solving the problem of insufficient coverage of operation scenarios by traversing clicks; (2) realizing execution process quantification by taking screenshots of abnormal scenarios and recording the reporting fields; (3) supporting compatibility testing of different types and versions of browsers; (4) verifying the correctness of the report by capturing the report request and querying the database according to the tracking reporting rules.

[0038] Figure 1 This is a flow chart of an automated tracking verification method based on full tracking reporting by Sensors in one embodiment of the present invention. The method includes the following steps:

[0039] Step S110: Initialize the page to be verified and the environment for embedded point verification.

[0040] Step S120: Divide the page to be verified into multiple square areas of preset sizes on an even basis. The center point of each square area is clicked, and whether the clicked center point should be reported is predicted according to the front-end buried point reporting rules.

[0041] In other embodiments of the present invention, in addition to the traversal method of dividing the page equally, it can also be implemented by traversing and clicking all elements in the page.

[0042] Step S130: Capture the reporting information sent by the center through the browser; wherein the reporting information sent by the center through the browser is stored in the database.

[0043] Step S140: Verify the captured reporting information, including: verifying the consistency between the center point of the reporting information actually sent through the browser and the predicted center point that should be reported; checking whether the fields contained in the reporting information sent by the browser meet the specifications; reading the database data of the reporting information and performing consistency verification.

[0044] The automated buried point verification method based on the full buried point reporting proposed by the present invention can save labor costs through pre-configured files. It only requires manual intervention to fill in the preparation information in the early stage, and it can be realized without manual operation and clicking in the later stage. It also proposes a multi-angle verification method, which can not only compare the accuracy of each field of the reported information, but also compare the correctness of the storage. At the same time, it can also obtain page information for verification, thereby improving the comprehensiveness of the buried point verification. In addition, the buried point verification method proposed by the present invention adopts a traversal click method to treat the verification page indiscriminately, which can cover the places that may be ignored by manual clicks, and eliminate the omissions caused by human clicking habits, so that the verification results are more credible and comprehensive. In summary, the method proposed by the present invention is significantly different from the verification method in the prior art that only relies on field types and missing rules.

[0045] In some embodiments of the present invention, before the page to be verified and the environment for performing embedded point verification, the method further includes: pre-configuring a file containing the page to be verified and page-related information; wherein, the page-related information includes the service name, page URL, page title, and an indication of whether login is required.

[0046] By adopting the embodiment of the invention, a configuration file can be used instead of manual work. Manual intervention is only required in the initial stage to fill in the preparation information in the configuration file, and no manual operation or clicks are required in the later stage, which can save labor costs and avoid omissions that may be caused by manual operation.

[0047] In some embodiments of the present invention, the step of capturing the reporting information sent by the central point through the browser is achieved by using a packet capture tool pre-installed in an environment for performing point-of-sale verification.

[0048] In a specific implementation, the types of packet capture tools include Fiddler, Wireshark, SolarWinds packet analyzer, tcpdump, NetworkMiner, or Firebug. Fiddler is a free web debugging proxy tool that helps developers capture and analyze HTTP and HTTPS requests during the development process. By using Fiddler, developers can easily view detailed information about requests and responses, such as request headers, response headers, cookies, and other parameters, making it easier to diagnose and resolve problems in web applications. The present invention is not limited to this, and the packet capture tools listed above are only examples.

[0049] By adopting this embodiment of the invention, one or more packet capture tools can be used to capture the reporting information sent by the central point through the browser, thereby comparing the actual captured central point that sends the reporting information with the predicted central point that may send the reporting information, thereby verifying whether there is an over-reporting or under-reporting problem in the page.

[0050] In some embodiments of the present invention, when the center point of each square area is clicked, when a new dialog box is detected to pop up on the page, the method further includes: (1) pausing the click and switching to a new page corresponding to the new dialog box; wherein the new dialog box is associated with an iframe tag, etc.; (2) traversing and verifying each element contained in the new page; in a specific implementation process, the traversal can be achieved by dividing the page that is the same as the page to be verified into square areas, clicking each one, grabbing the reported information and verifying it, or by clicking each element contained in the new page, grabbing the reported information and verifying it; (3) when the traversal is completed, returning to the previous page to be verified and continuing to click.

[0051] By adopting this embodiment of the invention, the correctness of the ShenCe full-point reporting strategy of the page to be verified and the new page associated with the page to be verified can be verified indiscriminately by traversing clicks, while taking into account pop-up components such as dialog boxes and iframes.

[0052] In some embodiments of the present invention, the step of predicting whether the clicked center point should be reported according to the front-end point reporting rules includes: obtaining the page element level and element type according to the position of the clicked center point; determining whether to report according to the reporting rules of the Sensors full point reporting, and the reporting rules of the Sensors full point reporting preset the page element level and element type range that need to be reported.

[0053] Furthermore, the reporting rules of the Shen Ce full-point embedding may include: (1) for div type elements, use JavaScript script to determine the element level, if the maximum sub-leaf level is 3, then report it, if it is more than 3 levels, then do not report it; (2) for elements of preset types, report clicks, and do not report other cases.

[0054] In the specific implementation process, Python and / or JavaScript can be used to obtain the page element level where the click location is located. Fiddler + Python is used to capture and filter the traffic reported by the browser in a multi-threaded manner, and the requests are saved locally for processing.

[0055] By adopting the embodiment of the invention, it is possible to combine the personalized Shen Ce full-point reporting strategy to predict whether the location should be reported, instead of using artificially configured rules, to verify whether the page has the problem of over-reporting or under-reporting, formulate verification rules according to personalized needs, and predict the locations that should not or must be reported, and further classify the reported traffic, so that it can be used for point-of-sale optimization. In comparison, the existing technology is still unable to verify whether the click should be reported, but verifies it under the premise that all should be reported by default, which will result in an excessively large and redundant amount of data, put pressure on the back-end data processing, and may cause the final report analysis results to be inaccurate, affecting the judgment. Therefore, the method proposed by the present invention has substantial progress and significant characteristics compared to the existing technology.

[0056] In some embodiments of the present invention, the method further includes: after the center points of all square areas are clicked, generating an automated point-of-sale verification report for the page to be verified; wherein, the automated point-of-sale verification report includes a screenshot of the location of the center points that failed the verification.

[0057] By adopting the embodiment of the invention, the results of the automated point verification can be output, so that the user can intuitively understand whether there are any problems in the page to be verified and the specific circumstances of the problems.

[0058] Figure 3 This is a flow chart of an automated tracking verification method based on full tracking reporting by Sensors in another embodiment of the present invention.

[0059] Figure 3 The embodiment shown is intended for automated testing of a company's internal user behavior analysis system. The user behavior analysis system collects behavioral information generated by users during the use of an application, and then performs targeted cleaning and processing on the data, combining analysis models such as events, funnels, and attribution to restore and quantify a series of information about users during the use of the application, such as processes, conversions, focus points, and efficiency. Large systems. Among them, the automated testing of the user behavior analysis system is divided into four stages: data collection, data processing, analysis and statistics, and function improvement. The front-end reporting technology of the user behavior analysis system adopts the Shen Ce full-point reporting solution, and adds personalized modifications to collect data in an all-round and indiscriminate manner.

[0060] Figure 3 The embodiment shown is implemented using a technical solution combining Fiddler and Python.

[0061] First, users can configure the page to be verified and related information in the specified Excel text. These related information include the service name, page URL, page title, and whether login is required. The configuration file is used to initialize the environment when the script starts. At the same time, Fiddler software needs to be installed in the initialized environment to capture requests reported by the browser. The reason for currently relying on Fiddler is that Python does not yet have a plug-in that can independently support capturing requests issued by IE browsers. After installing Fiddler, start it and configure it to record all captured traffic in a local file.

[0062] After the preparation is completed, the automated script can be started. The script will read the page configuration document line by line and perform initialization, login and other operations on the page that needs to be checked. After the page is stable, the page information is obtained and the page is evenly divided into several squares of specified size. Click the points in the middle of the square one by one, which can also be random points in the square. According to the page element level where the click position is located, it is determined whether the point should be clicked and reported. The report information captured by Fiddler is verified in three aspects: (1) First, it is checked with the predicted information to determine whether it is consistent; (2) Secondly, it is determined whether all fields in the reported information meet the specifications; (3) Finally, the database data is read to compare whether it is consistent with the database. If it is inconsistent, the script automatically takes a screenshot and records the document. If it is consistent, it continues to click.

[0063] During the click process, if a new dialog box indicated by an iframe pops up on the page, the script should pause the current click, switch to the new page, and begin traversing all elements on the page. After the traversal is complete, it will return to the previous page (the page to be verified) and continue clicking. After all pages configured in the page configuration document have been verified, the program will exit and generate a report.

[0064] The method for predicting whether a click location should be reported is to obtain the page element level based on the click location. The reporting rules of Shen Ce's full-level embedding can include: (1) For div type elements, use JavaScript scripts to determine the element level. If the element level is greater than 3, it will not be reported. That is, if the maximum sub-leaf level is 3, it will be reported. If it is more than 3 levels, it will not be reported; (2) Clicks are reported for elements of preset types, and not reported in other cases. For example, img, span, ul, li, and p type elements can be reported, and other cases are not reported.

[0065] During the initial configuration of parameters in the actual program, the default maximum sub-leaf level is 1, with a configurable range of 1-3. Values ​​outside this range are treated as 1. The Boolean values ​​of the above img, span, ul, li, and p elements are initially set to true. In HTML documents, img refers to an image element, span refers to an inline element, ul refers to an unordered list, li refers to a list item, and p refers to a paragraph element.

[0066] It is noteworthy that the method proposed in the present invention is compatible with most mainstream browsers currently on the market and can meet browser compatibility testing requirements by building in multiple browser kernels.

[0067] Corresponding to the above method, the present invention also provides an automated tracking verification system based on the full tracking reporting of Sensors, the system including a computer device, the computer device including a processor and a memory, the memory storing computer instructions, the processor being used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the system implements the steps of the method described above.

[0068] Figure 4 A schematic diagram of the structure of the computer equipment included in the system.

[0069] See also Figure 4 The computer device 00 includes: a processor 01, a memory 02, and a computer program stored in the memory 02 and executable on the processor 01. When the processor 01 executes the computer program, the human factors data server access control method provided in the above method embodiment is implemented.

[0070] Among them, the processor 01 and the memory 02 are connected, such as through a bus 03. The processor 01 can be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 01 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSPs and microprocessors, etc. The bus 03 may include a path to transmit information between the above components. The bus 03 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 130 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The use of only one bold line in the figure does not indicate that there is only one bus or only one type of bus. Memory 02 is used to store a computer program corresponding to the human factors data server access control method of the above-described embodiment of the present application. This computer program is controlled and executed by processor 01. Processor 01 is used to execute the computer program stored in memory 02 to implement the contents of the above-described method embodiment.

[0071] Corresponding to the above method, the present invention also provides a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implements the steps of the method described in any of the above embodiments. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the art.

[0072] Corresponding to the above method, the present invention also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any one of the above embodiments when executed by a processor.

[0073] It should be understood by those skilled in the art that the various exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is specifically performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.

[0074] It should be understood that the present invention is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted. In the above embodiments, several specific steps are described and illustrated as examples. However, the method of the present invention is not limited to the specific steps described and illustrated. Those skilled in the art may make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present invention.

[0075] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or replace features of other embodiments.

[0076] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations to the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. An automated tracking verification method based on full tracking reporting by Sensors, characterized in that: include: Initialize the page to be verified and the environment for embedded verification; The page to be verified is evenly divided into multiple square areas of preset sizes. When the center point of each square area is clicked, the front-end tracking reporting rules are used to predict whether the clicked center point should be reported; Capturing the reporting information sent by the central point through the browser; wherein the reporting information sent by the central point through the browser is stored in the database; Verify the captured reported information, including: verifying the consistency between the center point of the reported information actually sent through the browser and the predicted center point that should be reported; checking whether the fields contained in the reported information sent by the browser meet the specifications; reading the database data of the reported information and performing consistency verification.

2. The method according to claim 1, characterized in that Before the page to be verified and the environment for embedded point verification, the method also includes: pre-configuring a file containing the page to be verified and page-related information; wherein, the page-related information includes the service name, page URL, page title, and whether login is required.

3. The method according to claim 1, characterized in that The step of capturing the reporting information sent by the central point through the browser is achieved by using a packet capture tool pre-installed in the environment used for point verification.

4. The method according to claim 1, wherein During the process of clicking the center point of each square area, when it is detected that a new dialog box pops up on the page, the method further includes: Pause clicking and switch to the new page corresponding to the new dialog box; Traverse and verify each element contained in the new page; When the traversal is completed, return to the previous page to be verified and continue clicking.

5. The method according to claim 1, wherein The step of predicting whether the clicked center point should be reported according to the front-end tracking reporting rules includes: Get the page element level and element type based on the location of the clicked center point; Determine whether to report according to the reporting rules of Shen Ce's full-burial point reporting. The reporting rules of Shen Ce's full-burial point preset the page element level and element type range that need to be reported.

6. The method according to claim 5, characterized in that The reporting rules of the ShenCe full-point embedding include: for div type elements, use JavaScript scripts to determine the element level. If the maximum sub-leaf level is 3, it will be reported, and if it is more than 3 levels, it will not be reported; for elements of preset types, clicks will be reported, and other situations will not be reported.

7. The method according to claim 1, characterized in that The method further includes: after the center points of all square areas are clicked, generating an automated point-of-sale verification report for the page to be verified; wherein the automated point-of-sale verification report includes a screenshot of the location of the center points that failed the verification.

8. An automated tracking verification system based on Sensors full tracking reporting, comprising a processor, a memory, and a computer program / instruction stored in the memory, characterized in that: The processor is configured to execute the computer program / instructions. When the computer program / instructions are executed, the system implements the steps of the method according to any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Buried point data detection method and device, storage medium and equipment

    CN114756467A

  • End-User Device Testing of Websites and Applications

    US20230061640A1