Buried point data reporting method and device, storage medium and electronic equipment

By establishing a buried point directed graph and calculating the upper limit of the reporting throughput, the reporting of buried point data is controlled, which solves the problem of server crash caused by buried point data reporting in the existing technology, and improves the reliability of buried point data reporting in electronic devices. sex.

CN118642912APending Publication Date: 2024-09-13SHENZHEN TCL NEW-TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410686161.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

The existing buried point data reporting scheme can easily cause the server to crash, especially when multiple buried points report data simultaneously.

Method used

By establishing a directed graph of buried points, the hierarchical relationship and weight between initial buried points and subsequent triggered buried points is determined, the upper limit of the reported throughput is calculated, and whether to report all or part of the data is determined based on the predetermined throughput threshold to avoid server load. Too high.

Benefits of technology

It effectively improves the reliability of hidden data reporting, reduces the possibility of server crash, and ensures the stability and efficiency of data reporting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118642912A
    Figure CN118642912A
Patent Text Reader

Abstract

The invention discloses a burying point data reporting method and device, a storage medium and electronic equipment, and relates to the technical field of data transmission, and the method comprises the steps that the electronic equipment can start an initialization burying point in a plurality of burying points corresponding to a burying point directed graph, the burying point directed graph is used for indicating a hierarchical relationship and an association relationship among the plurality of burying points, and the plurality of burying points correspond to at least two burying point hierarchies; according to burying point data triggered by the initialized burying points and the burying point directed graph, starting subsequent triggering burying points in the plurality of burying points; calculating the upper limit value of the reported throughput according to the weight of each burying point layer corresponding to the initialized burying point and the subsequent triggering burying point; and reporting target burying point data to a server according to a comparison result of the reported throughput upper limit value and a predetermined throughput threshold value. According to the application, the reporting reliability of the burying point data in the electronic equipment can be effectively improved, and the possibility of server crash caused by the reporting of the burying point data is reliably reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a method, device, storage medium and electronic device for reporting buried point data. Background Art

[0002] At present, in order to improve the user experience of electronic devices or solve the causes of anomalies that occur during the use of electronic devices, more and more buried points are usually added to specific processes of the system / application, exception handling processes, etc. in the electronic devices. The buried points are used to collect data in the process (i.e., buried point data). The collected data (i.e., buried point data) serves as data support for improving user experience or solving abnormal problems. The buried point data usually needs to be reported to the server.

[0003] However, the current tracking point data reporting scheme often reports the tracking point data to the server when the code logic is executed to the tracking point location or the data volume reaches a threshold. It is common for multiple tracking points to report tracking point data at the same time, which can easily cause the server to crash. Summary of the invention

[0004] The embodiment of the present application provides a solution for reporting buried data, which can effectively improve the reliability of buried data reporting in electronic devices and reduce the problem of server crashes caused by buried data reporting.

[0005] The embodiments of the present application provide the following technical solutions:

[0006] According to one embodiment of the present application, a method for reporting buried point data includes: opening an initialization buried point among multiple buried points corresponding to a buried point directed graph, wherein the buried point directed graph is used to indicate the hierarchical relationship and the association relationship between the multiple buried points, and the multiple buried points correspond to at least two buried point levels; opening subsequent triggered buried points among the multiple buried points according to the buried point data triggered by the initialization buried point and the buried point directed graph; calculating a reported throughput upper limit value according to the weight of each buried point level corresponding to the initialization buried point and the subsequent triggered buried point; and reporting target buried point data to a server according to a comparison result between the reported throughput upper limit value and a predetermined throughput threshold.

[0007] In some embodiments of the present application, the initialization buried points among the multiple buried points corresponding to the enabled buried point directed graph include: determining, from the multiple buried points, the buried points located at the first buried point level in the buried point directed graph; obtaining the initialization buried points among the multiple buried points based on the buried points in the first buried point level; and enabling the initialization buried points.

[0008] In some embodiments of the present application, the initialization buried points among the multiple buried points are obtained based on the buried points of the first buried point level, including: taking all the buried points of the first buried point level as the initialization buried points among the multiple buried points; or obtaining the device monitoring scene, and taking the buried points that match the device monitoring scene among the buried points of the first buried point level as the initialization buried points among the multiple buried points.

[0009] In some embodiments of the present application, the method of enabling subsequent triggered buried points among the multiple buried points according to the buried point data triggered by the initialization buried point and the buried point directed graph includes: triggering and enabling buried points of each buried point level associated with the initialization buried point layer by layer in the order of the buried point levels according to the buried point data triggered by the initialization buried point and the buried point directed graph, so as to enable subsequent triggered buried points among the multiple buried points.

[0010] In some embodiments of the present application, the reporting throughput upper limit value is calculated based on the weight of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point, including: obtaining the number of level burying points of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point; obtaining the total number of the initialization burying point and the subsequent trigger burying point; calculating the reporting throughput upper limit value based on the number of level burying points of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point, the total number of the initialization burying point and the subsequent trigger burying point, and the weight corresponding to each burying point level corresponding to the initialization burying point and the subsequent trigger burying point.

[0011] In some embodiments of the present application, the target buried point data is reported to the server based on the comparison result of the reported throughput upper limit value and the predetermined throughput threshold, including: if the reported throughput upper limit value is less than or equal to the predetermined throughput threshold, the target buried point data is reported to the server, and the target buried point data is all the buried point data currently triggered; if the reported throughput upper limit value is greater than the predetermined throughput threshold, the target buried point data is reported to the server, and the target buried point data is part of the all the buried point data currently triggered.

[0012] In some embodiments of the present application, after reporting the target buried point data to the server if the reporting throughput upper limit value is greater than the predetermined throughput threshold, it also includes: caching the remaining buried point data except the target buried point data in all the currently triggered buried point data, and the remaining buried point data is used for reporting when the predetermined reporting conditions are met.

[0013] In some embodiments of the present application, before calculating the reported throughput upper limit value based on the weight of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point, it also includes: obtaining server load data of the server; determining the weight of each burying point level in the at least two burying point levels in the burying point directed graph based on the server load data.

[0014] In some embodiments of the present application, the server load data includes an upper limit value of server throughput and an upper limit value of user concurrency, and determining the weight of each of the at least two buried point levels in the buried point directed graph based on the server load data includes: calculating according to the formula ΣT=M*(N1*w1+N2*w2+N3*w3+...+Ni*wi+...+Nn*wn) to obtain the weight of each buried point level in the buried point directed graph, wherein ΣT refers to the upper limit value of server throughput, M refers to the upper limit value of user concurrency, n is the total number of buried point levels included in the buried point directed graph, i refers to the i-th buried point level, Ni refers to the number of buried points in the i-th buried point level, and wi refers to the weight of the i-th buried point level.

[0015] In some embodiments of the present application, before obtaining the server load data of the server, it also includes: obtaining an updated tracking point reporting control configuration from the cloud; obtaining the server load data and the tracking point directed graph from the updated tracking point reporting control configuration.

[0016] According to one embodiment of the present application, a buried point data reporting device includes: a buried point switch control module, which is used to turn on an initialization buried point among multiple buried points corresponding to a buried point directed graph, wherein the buried point directed graph is used to indicate the hierarchical relationship and the association relationship between the multiple buried points, and the multiple buried points correspond to at least two buried point levels; the buried point switch control module is also used to turn on subsequent triggered buried points among the multiple buried points according to the buried point data triggered by the initialization buried point and the buried point directed graph after turning on the initialization buried point; a throughput calculation module is used to calculate a reported throughput upper limit value according to the weight of each buried point level corresponding to the initialization buried point and the subsequent triggered buried point turned on by the buried point switch control module; a reporting processing module is used to report target buried point data to a server according to a comparison result between the reported throughput upper limit value calculated by the throughput calculation module and a predetermined throughput threshold.

[0017] In some embodiments of the present application, the buried point switch control module is used to: determine the buried points located at the first buried point level in the buried point directed graph from the multiple buried points; obtain the initialization buried points among the multiple buried points based on the buried points in the first buried point level; and turn on the initialization buried points.

[0018] In some embodiments of the present application, the burying point switch control module is used to: use all burying points of the first burying point level as initialization burying points among the multiple burying points; or obtain a device monitoring scene, and use the burying points that match the device monitoring scene among the burying points of the first burying point level as initialization burying points among the multiple burying points.

[0019] In some embodiments of the present application, the burying point switch control module is used to: trigger and open the burying points of each burying point level associated with the initialization burying point layer by layer in the order of the burying point levels according to the burying point data triggered by the initialization burying point and the burying point directed graph, so as to open the subsequent triggered burying points among the multiple burying points.

[0020] In some embodiments of the present application, the throughput calculation module is used to: obtain the number of layer buried points of each buried point level corresponding to the initialization buried points and the subsequent triggered buried points; obtain the total number of the initialization buried points and the subsequent triggered buried points; calculate the reported throughput upper limit value according to the number of layer buried points of each buried point level corresponding to the initialization buried points and the subsequent triggered buried points, the total number of the initialization buried points and the subsequent triggered buried points, and the weight corresponding to each buried point level corresponding to the initialization buried points and the subsequent triggered buried points.

[0021] In some embodiments of the present application, the reporting processing module is used to: if the reporting throughput upper limit value is less than or equal to the predetermined throughput threshold, then report the target buried point data to the server, and the target buried point data is all the buried point data currently triggered; if the reporting throughput upper limit value is greater than the predetermined throughput threshold, then report the target buried point data to the server, and the target buried point data is part of the all the buried point data currently triggered.

[0022] In some embodiments of the present application, after reporting the target buried point data to the server if the reporting throughput upper limit value is greater than the predetermined throughput threshold, the reporting processing module is used to: cache the remaining buried point data except the target buried point data in all the currently triggered buried point data, and the remaining buried point data is used for reporting when the predetermined reporting conditions are met.

[0023] In some embodiments of the present application, before determining the weight of each burial point level corresponding to the initialization burial point and the subsequent trigger burial point, the device also includes a configuration management module for: obtaining server load data of the server; and determining the weight of each burial point level in the at least two burial point levels in the burial point directed graph based on the server load data.

[0024] In some embodiments of the present application, the server load data includes an upper limit value of server throughput and an upper limit value of user concurrency, and the configuration management module is used to: calculate according to the formula ΣT=M*(N1*w1+N2*w2+N3*w3+...+Ni*wi+...+Nn*wn) to obtain the weight of each buried point level in the buried point directed graph, wherein ΣT refers to the upper limit value of server throughput, M refers to the upper limit value of user concurrency, n is the total number of buried point levels included in the buried point directed graph, i refers to the i-th buried point level, Ni refers to the number of buried points in the i-th buried point level, and wi refers to the weight of the i-th buried point level.

[0025] In some embodiments of the present application, before obtaining the server load data of the server, the configuration management module is used to: obtain the updated tracking point reporting control configuration from the cloud; obtain the server load data and the tracking point directed graph from the updated tracking point reporting control configuration.

[0026] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer executes the method described in the embodiment of the present application.

[0027] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0028] According to another embodiment of the present application, a computer program product or a computer program includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.

[0029] In an embodiment of the present application, an initialization buried point among multiple buried points corresponding to a buried point directed graph is enabled, wherein the buried point directed graph is used to indicate the hierarchical relationship and the association relationship between the multiple buried points, and the multiple buried points correspond to at least two buried point levels; based on the buried point data triggered by the initialization buried point and the buried point directed graph, subsequent triggered buried points among the multiple buried points are enabled; based on the weight of each buried point level corresponding to the initialization buried point and the subsequent triggered buried point, a reported throughput upper limit value is calculated; and based on the comparison result of the reported throughput upper limit value with a predetermined throughput threshold, the target buried point data is reported to the server.

[0030] In this way, the initialization buried point among the multiple buried points corresponding to the buried point directed graph is turned on, and the subsequent triggered buried points are controlled in a directed manner according to the buried point data triggered by the initialization buried point and the buried point directed graph, so that the buried points in the device can be reasonably turned on and triggered according to the needs, thereby avoiding the redundant buried point data and a large number of unnecessary reports caused by the opening of a large number of buried points; further, the reporting throughput upper limit value is calculated according to the weight of each buried point level corresponding to the initialization buried point and the subsequent triggered buried point, and the reporting of buried point data is controlled according to the comparison result of the reported throughput upper limit value and the predetermined throughput threshold, so that each device can further autonomously and reasonably control the reporting to avoid high server load in advance. Furthermore, the reliability of buried point data reporting in electronic devices is effectively improved as a whole, and the possibility of server crash caused by buried point data reporting is reliably reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A system flow chart for reporting tracking data according to an embodiment of the present application is shown.

[0033] Figure 2 A configuration acquisition flow chart according to an embodiment of the present application is shown.

[0034] Figure 3 A buried point switch control flow chart according to an embodiment of the present application is shown.

[0035] Figure 4 A block diagram of a device for reporting buried point data according to an embodiment of the present application is shown.

[0036] Figure 5 A block diagram of a device for reporting buried point data according to another embodiment of the present application is shown.

[0037] Figure 6 A block diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0038] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.

[0039] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements in the method or apparatus including the element (such as a step in the method or a unit in the apparatus, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).

[0040] For example, the method for reporting buried data provided by the embodiment of the present disclosure includes a series of steps, but the method for reporting buried data provided by the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the device for reporting buried data provided by the embodiment of the present disclosure includes a series of units, but the device provided by the embodiment of the present disclosure is not limited to including the units explicitly recorded, and may also include units required to obtain relevant information or perform processing based on the information.

[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0042] It is understandable that in the specific implementation of this application, related data such as point data are involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0043] Figure 1 A flowchart of a method for reporting point data according to an embodiment of the present application is schematically shown.

[0044] See also Figure 1 The electronic device can execute the buried data reporting method shown in step S110 to step S140. The executor of the buried data reporting method can be any electronic device with processing capabilities, such as televisions, computers, mobile phones, smart watches, and household appliances.

[0045] Step S110, opening an initialization buried point among a plurality of buried points corresponding to a buried point directed graph, wherein the buried point directed graph is used to indicate a hierarchical relationship and an association relationship between the plurality of buried points, and the plurality of buried points correspond to at least two buried point hierarchies;

[0046] Step S120, according to the buried point data triggered by the initial buried point and the buried point directed graph, opening the subsequent triggered buried points among the multiple buried points;

[0047] Step S130, calculating the upper limit of the reported throughput according to the weight of each embedding point level corresponding to the initial embedding point and the subsequent triggered embedding point;

[0048] Step S140: Report the target burial point data to the server based on the comparison result between the reported throughput upper limit value and the predetermined throughput threshold value.

[0049] Multiple buried points can be preset in the electronic device in the specific process of the system / application, the exception handling process and other processes. The electronic device can obtain the buried point directed graph of the multiple buried points. The buried point directed graph is a directed graph formed by connecting the buried points according to the association relationship between the buried points. The buried point directed graph can be used to indicate the hierarchical relationship and association relationship between the multiple buried points. The buried point directed graph may include at least two buried point levels, and each buried point level may include one or more buried points.

[0050] Taking the process of playing music in the music player software as an example, the process may include nodes such as starting the application, entering the music selection interface, browsing the interface, selecting music, searching for music, playing music, etc., and corresponding buried points can be preset in these nodes to collect relevant data in the nodes (i.e., buried point data). Correspondingly, the association relationship between the buried points can be the association relationship between the nodes corresponding to the buried points, such as pre-setting buried point A1 in the node of starting the application, pre-setting buried point A2 in the node of entering the main interface, and pre-setting buried point A3 in the node of the browsing interface. Usually, after starting the application, the music selection interface will be entered according to the user operation, so that buried point A1 and buried point A2 can have an association relationship A1-2. By analogy, the specific process of the system / application, the exception handling process, and other processes can all preset multiple buried points, and the directed graph formed by connecting these buried points through the corresponding association relationship can be used as a buried point directed graph. It should be noted that in each process, which nodes need to be pre-set with buried points can be selected according to actual needs.

[0051] The electronic device can obtain the server load data of the server and the buried point directed graph of multiple buried points in the device from the cloud or locally. The electronic device can further open the initialization buried point among the multiple buried points, and perform directed switch control of the remaining buried points (i.e., other buried points in the multiple buried points except the initialization buried point) according to the buried point data triggered by the initialization buried point (i.e., the data collected when the initialization buried point is triggered) and the buried point directed graph to open the subsequent triggered buried points among the multiple buried points. The directed switch control is the directional buried point opening control and the buried point closing control, so that the multiple buried points can be opened or closed stably and reasonably as needed according to the actual needs of the electronic device.

[0052] The electronic device can further calculate the upper limit of the reported throughput according to the weight of each buried point level corresponding to the initial buried point and the subsequent triggered buried point. The upper limit of the reported throughput is the maximum throughput of the reported data in the electronic device. For example, at some moments, the buried points that are turned on in the device (i.e., the initial buried points and subsequent triggered buried points that are in the turned-on state) belong to the first, second, and third buried point levels respectively; at other moments, the buried points that are turned on in the device belong to the first and second buried point levels respectively. As a result, the upper limit of the reported throughput calculated accordingly will be different depending on the buried points that are turned on in the device.

[0053] The electronic device can further compare the reported throughput upper limit with a predetermined throughput threshold (i.e., a preset throughput threshold for electronic devices to report buried point data), and report to the server the buried point data to be reported triggered by multiple buried points according to the comparison result. The buried point data to be reported triggered by multiple buried points are the buried point data collected but not reported when the buried points are triggered among the multiple buried points at the time of reporting the buried points. For example, refer to Figure 4 The electronic device may include a buried point data reporting device 410, and through the reporting processing module 414 in the buried point data reporting device 410, the buried point data to be reported triggered by multiple buried points can be reported to the server 430.

[0054] In this way, based on steps S110 to S140, the initialization buried point among the multiple buried points corresponding to the buried point directed graph is turned on, and the subsequent triggered buried points are controlled in a directed manner according to the buried point data triggered by the initialization buried point and the buried point directed graph, so that the buried points in the device can be reasonably turned on and triggered according to the needs, thereby avoiding the redundant buried point data and a large number of unnecessary reports caused by the opening of a large number of buried points; further, the reporting throughput upper limit value is calculated according to the weight of each buried point level corresponding to the initialization buried point and the subsequent triggered buried point, and the reporting of the buried point data is controlled according to the comparison result of the reported throughput upper limit value and the predetermined throughput threshold, so that each device can further autonomously and reasonably control the reporting to avoid high server load in advance. Furthermore, the reliability of buried point data reporting in electronic devices is effectively improved as a whole, and the possibility of server crash caused by buried point data reporting is reliably reduced.

[0055] Described below Figure 1 When reporting the buried data under the embodiment, further optional specific embodiments are provided for each step performed.

[0056] In one embodiment, before calculating the reported throughput upper limit value based on the weight of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point, it may also include: obtaining server load data of the server; determining the weight of each burying point level in the at least two burying point levels in the burying point directed graph based on the server load data.

[0057] The server load data is the load data of the server, and the server load data may include the upper limit of the server throughput (i.e., the maximum throughput of the server) and the upper limit of the user concurrency (i.e., the maximum user concurrency of the server), etc. The electronic device may determine the weight of each buried point level in the buried point directed graph according to the server load data, and the weights corresponding to different buried point levels may be different. For example, the weight of the first buried point level is w1, and the weight of the second buried point level is w2.

[0058] Specifically, in one embodiment, the server load data includes an upper limit value of server throughput and an upper limit value of user concurrency, and determining the weight of each burying point level in the at least two burying point levels in the burying point directed graph according to the server load data may include:

[0059] According to the formula ΣT=M*(N1*w1+N2*w2+N3*w3+...+Ni*wi+...+Nn*wn), the weights of each buried point level in the buried point directed graph are obtained, wherein ΣT refers to the upper limit of the server throughput, M refers to the upper limit of the user concurrency, n is the total number of buried point levels included in the buried point directed graph, i refers to the i-th buried point level, Ni refers to the number of buried points in the i-th buried point level, and wi refers to the weight of the i-th buried point level.

[0060] The upper limit of server throughput and the upper limit of user concurrency can effectively reflect the maximum load situation on the server side. According to the upper limit of server throughput, the upper limit of user concurrency and the buried point levels included in the buried point directed graph, the formula ΣT=M*(N1*w1+N2*w2+N3*w3+...+Ni*wi+...+Nn*wn) is used to calculate and obtain the weights w1 to wn of each buried point level in the buried point directed graph. The weights can be effectively used for the autonomous decision-making of the electronic device on one side to report the buried point data, so as to reliably avoid the reporting of the buried point data and cause the server to crash.

[0061] Further, in one embodiment, see Figure 2 Before obtaining the server load data of the server, the method may also include: step S210, obtaining the updated tracking point reporting control configuration from the cloud; step S220, obtaining the server load data and the tracking point directed graph from the updated tracking point reporting control configuration.

[0062] See also Figure 4 The electronic device may include a buried data reporting device 410, and the configuration management module 411 in the buried data reporting device 410 can obtain the updated buried data reporting control configuration from the cloud configuration manager of the cloud 420.

[0063] If the electronic device obtains the updated tracking point reporting control configuration from the cloud, it can obtain the updated server load data and tracking point directed graph from the updated tracking point reporting control configuration, and can use the updated server load data and tracking point directed graph to update the preset or default server load data and tracking point directed graph in the local tracking point reporting control configuration. That is, at this time, the electronic device can obtain the latest server load data and tracking point directed graph from the cloud.

[0064] On the contrary, if the electronic device fails to obtain the updated tracking point reporting control configuration, it obtains the server load data and the tracking point directed graph from the local tracking point reporting control configuration, that is, the preset or default server load data and tracking point directed graph in the local tracking point reporting control configuration are used as the server load data and tracking point directed graph obtained this time.

[0065] In the related art, the tracking control information (that is, the tracking reporting and control configuration) is directly preset in the electronic device, and the software version is fixed in the electronic device once it is released, and cannot be conveniently adjusted. In this way, compared with the related art, the electronic device can be dynamically updated through the cloud configuration (including server load data and tracking directed graph), which improves the convenience of tracking adjustment settings. At the same time, it can be adjusted according to project requirements, thereby improving the validity of tracking data.

[0066] In one embodiment, the step of enabling the initialization buried points among the multiple buried points may include: enabling the initialization buried points among the multiple buried points corresponding to the buried point directed graph, including: determining, from the multiple buried points, buried points located at a first buried point level in the buried point directed graph; obtaining the initialization buried points among the multiple buried points based on the buried points at the first buried point level; and enabling the initialization buried points.

[0067] A buried point directed graph is a directed graph formed by connecting buried points according to the association relationship between the buried points. The buried point directed graph may include multiple buried point levels, each buried point level may include one or more buried points, and the buried points of the latter buried point level can be associated with the buried points of the previous buried point level through an association relationship.

[0068] For example, in one example, the first buried point level includes buried point A and buried point B, and the second buried point level includes buried point C, buried point D and buried point E. A and C are connected by an association relationship A1, A and D are connected by an association relationship A2, and B and E are connected by an association relationship B1.

[0069] From multiple buried points, determine the buried points located at the first buried point level in the buried point directed graph; according to the buried points in the first buried point level, obtain the initialization buried points among the multiple buried points; then, enable the initialization buried points. Furthermore, in the device, only the initialization buried points in the first buried point level are enabled at the beginning, and the buried points in the subsequent buried point levels can be enabled layer by layer on demand according to the buried point data triggered by the initialization buried points and the buried point directed graph, so that the buried points in the device can be reasonably enabled on demand and the buried point data can be triggered.

[0070] In one embodiment, the initialization buried points among the multiple buried points are obtained based on the buried points of the first buried point level, including: taking all the buried points of the first buried point level as the initialization buried points among the multiple buried points; or obtaining the device monitoring scene, and taking the buried points that match the device monitoring scene among the buried points of the first buried point level as the initialization buried points among the multiple buried points.

[0071] In the first method, all the buried points in the first buried point level are used as the initialization buried points among the multiple buried points. For example, the first buried point level includes buried point A and buried point B. In this method, buried point A and buried point B are used as the initialization buried points by default, that is, all the buried points in the first buried point level will be enabled for the first time.

[0072] In the second method, the device monitoring scenario can be a scenario where the device needs to be monitored, such as a scenario for monitoring a certain app, a scenario for system monitoring, and so on. Obtain the device monitoring scenario, and use the buried points that match the device monitoring scenario in the buried points of the first buried point level as the initialization buried points among the multiple buried points. For example, the first buried point level includes buried point A and buried point B. In this method, if the buried point that matches the device monitoring scenario 1 is buried point A, buried point A will be used as the initialization buried point, that is, some or all of the buried points in the first buried point level will be enabled for the first time.

[0073] In one embodiment, the method of enabling subsequent triggered buried points among the multiple buried points according to the buried point data triggered by the initialization buried point and the buried point directed graph may include: triggering and enabling buried points of each buried point level associated with the initialization buried point layer by layer in the order of buried point levels according to the buried point data triggered by the initialization buried point and the buried point directed graph, so as to enable subsequent triggered buried points among the multiple buried points.

[0074] See also Figure 3 , according to the buried point data triggered by the initialization buried point and the buried point directed graph, the directed switch control of the remaining buried points in the multiple buried points can be performed. Specifically: Step S310, according to the buried point data triggered by the initialization buried point and the buried point directed graph, the buried points of each buried point level associated with the initialization buried point can be triggered and opened layer by layer in the order of the buried point levels, until the buried points of the last buried point level in the buried point directed graph are opened, thereby opening the subsequent triggered buried points in the multiple buried points; Step S320, starting from the buried points of the last buried point level, the opened buried points can be closed layer by layer in the reverse order of the buried point levels, and the initialization buried point is kept opened.

[0075] According to the buried point data triggered by the initialization buried point and the association between the buried points in the buried point directed graph, the buried points of each buried point level associated with the initialization buried point can be triggered and enabled layer by layer in the order of the buried point levels until the buried point of the last buried point level in the buried point directed graph is enabled, thereby enabling subsequent triggered buried points layer by layer during system operation.

[0076] For example, during system operation, if the initialization burying point triggers burying point data 1, the association relationship 1 corresponding to the burying point data 1 in the burying point directed graph can be determined, so that the burying points of the next burying point level connected to the initialization burying point through the association relationship 1 (which can be called the lower-level subsequent triggering burying points) can be further enabled; then, after the lower-level associated burying point triggers burying point data 2, the association relationship 2 corresponding to the burying point data 2 in the burying point directed graph can be determined, so that the burying points of the next-next-level burying point level connected to the lower-level subsequent triggering burying point through the association relationship 2 can be further enabled (called the next-next-level subsequent triggering burying points); and so on, the opening control can be performed layer by layer until the burying points of the last burying point level in the burying point directed graph are enabled.

[0077] Then, starting from the enabled burying points in the last burying point level, the enabled burying points are closed layer by layer in reverse order of the burying point level, and the initialization burying points are kept enabled. Thus, after reaching the last burying point level, the burying points are closed layer by layer in reverse order, but the initialization burying points are kept enabled, and the next round of burying point triggering can be started again from the initialization burying point.

[0078] For example, if it is detected that the buried points located at the last buried point level in the buried point directed graph are turned on, the buried points of the last buried point level will be self-closed after the buried point data is triggered; then, the previous layer (i.e., the second to last buried point level) is set as the new last buried point level, and when it is detected that the buried points of the sub-layers of the new last buried point level (i.e., the buried points of the aforementioned last buried point level) are all closed, the buried points turned on in the new last buried point level are closed; and so on, the buried points are closed layer by layer, but the initialization buried points are kept turned on (for example, when closing the buried points layer by layer to the first buried point level, stop closing and keep the initialization buried points in the first buried point level turned on), so that the buried point directed graph can be refreshed to start the next round of buried point triggering from the initialization buried point.

[0079] The buried points are opened and closed layer by layer in a cycle, and each cycle includes "starting from the initialization of the buried point, opening the control layer by layer, and then closing the control layer by layer, while keeping the initialization buried point open". This can further effectively ensure the rationality of the buried point opening control in the device and improve the reliability of buried point data reporting in electronic equipment.

[0080] In one embodiment, the calculating the reporting throughput upper limit value according to the weight of each burying point level corresponding to the initial burying point and the subsequent trigger burying point may include:

[0081] Obtain the number of buried points at each level corresponding to the initialization buried points and the subsequent triggered buried points; obtain the total number of the initialization buried points and the subsequent triggered buried points; calculate the reported throughput upper limit value according to the number of buried points at each level corresponding to the initialization buried points and the subsequent triggered buried points, the total number of the initialization buried points and the subsequent triggered buried points, and the weight corresponding to each buried point level corresponding to the initialization buried points and the subsequent triggered buried points.

[0082] Specifically, the reported throughput upper limit value can be calculated according to the formula ST = U*(K1*w1+K2*w2+K3*w3+...+Ki*wi+...+Kn*wn), wherein ST refers to the reported throughput upper limit value, U refers to the total number of enabled buried points in the device (i.e., the total number of initialized buried points and subsequently triggered buried points), n is the total number of buried point hierarchies included in the buried point directed graph, i refers to the i-th buried point level, Ki refers to the number of buried points corresponding to the i-th buried point level, and wi refers to the weight corresponding to the i-th buried point level.

[0083] According to the formula ST=U*(K1*w1+K2*w2+K3*w3+...+Ki*wi+...+Kn*wn), the upper limit of the reporting throughput is obtained, so that the electronic equipment can effectively make autonomous decisions on reporting the buried data to avoid server crashes.

[0084] Further, in one embodiment, reporting the target buried point data to the server based on the comparison result of the reported throughput upper limit value and the predetermined throughput threshold may include: if the reported throughput upper limit value is less than or equal to the predetermined throughput threshold, reporting the target buried point data to the server, and the target buried point data is all the buried point data currently triggered; if the reported throughput upper limit value is greater than the predetermined throughput threshold, reporting the target buried point data to the server, and the target buried point data is part of the all the buried point data currently triggered.

[0085] The electronic device can determine the reported throughput upper limit at the time or at the moment when the buried point triggers the buried point data, and compare it with the predetermined throughput threshold, and decide how to report all the buried point data currently triggered by multiple buried points in the device to the server according to the comparison result. All the buried point data currently triggered by multiple buried points in the device are the buried point data collected but not reported when the buried points are triggered among the multiple buried points at the moment when the buried point data is reported.

[0086] Among them, if the reported throughput upper limit value is less than or equal to the predetermined throughput threshold, the terminal reports the target buried point data to the server, and the target buried point data is all the buried point data currently triggered. On the contrary, if the reported throughput upper limit value is greater than the predetermined throughput threshold, the target buried point data reported by the terminal to the server is part of the total buried point data currently triggered. Thus, data reporting can be achieved more reliably.

[0087] Furthermore, after reporting the target burial point data to the server if the reporting throughput upper limit value is greater than the predetermined throughput threshold, it may also include: caching the remaining burial point data except the target burial point data in all the currently triggered burial point data, and the remaining burial point data is used for reporting when the predetermined reporting conditions are met.

[0088] Specifically, if the comparison result is that the upper limit value of the reported throughput is greater than the predetermined throughput threshold, part of the data (i.e., the target buried point data) in all the currently triggered buried point data will be reported to the server, and the remaining buried point data except the target buried point data in all the currently triggered buried point data will be cached, and the remaining buried point data may be the part of the buried point data with the data volume corresponding to the "difference between the upper limit value of the reported throughput and the predetermined throughput threshold". The cached remaining buried point data can be used for reporting when the predetermined reporting conditions are met. In one method, the predetermined reporting condition may specifically be "when the buried point data is reported next time, the remaining buried point data in the cache shall not exceed the remaining amount of reported data", and the remaining amount of reported data may refer to the amount of reported data remaining when the next buried point data is reported.

[0089] In order to facilitate better implementation of the buried data reporting method provided in the embodiment of the present application, the embodiment of the present application also provides a buried data reporting device based on the buried data reporting method. The meaning of the terms is the same as that in the buried data reporting method, and the specific implementation details can refer to the description in the method embodiment.

[0090] Figure 4 FIG. 1 is a block diagram of a device for reporting buried point data according to an embodiment of the present application. Figure 4 The buried point data reporting device 410 shown can be applied to an electronic device, and the buried point data reporting device 410 may include:

[0091] The burying point switch control module 412 can be used to turn on the initialization burying point among the multiple burying points corresponding to the burying point directed graph, wherein the burying point directed graph is used to indicate the hierarchical relationship and the association relationship between the multiple burying points, and the multiple burying points correspond to at least two burying point levels; the burying point switch control module 412 can also be used to turn on the subsequent triggered burying points among the multiple burying points after turning on the initialization burying point, according to the burying point data triggered by the initialization burying point and the burying point directed graph; the throughput calculation module 413 can be used to calculate the reported throughput upper limit value according to the weight of each burying point level corresponding to the initialization burying point and the subsequent triggered burying point turned on by the burying point switch control module; the reporting processing module 414 can be used to report the target burying point data to the server based on the comparison result between the reported throughput upper limit value calculated by the throughput calculation module and the predetermined throughput threshold.

[0092] In some embodiments of the present application, the buried point switch control module is used to: determine the buried points located at the first buried point level in the buried point directed graph from the multiple buried points; obtain the initialization buried points among the multiple buried points based on the buried points in the first buried point level; and turn on the initialization buried points.

[0093] In some embodiments of the present application, the burying point switch control module is used to: use all burying points of the first burying point level as initialization burying points among the multiple burying points; or obtain a device monitoring scene, and use the burying points that match the device monitoring scene among the burying points of the first burying point level as initialization burying points among the multiple burying points.

[0094] In some embodiments of the present application, the burying point switch control module is used to: trigger and open the burying points of each burying point level associated with the initialization burying point layer by layer in the order of the burying point levels according to the burying point data triggered by the initialization burying point and the burying point directed graph, so as to open the subsequent triggered burying points among the multiple burying points.

[0095] In some embodiments of the present application, the throughput calculation module is used to: obtain the number of layer buried points of each buried point level corresponding to the initialization buried points and the subsequent triggered buried points; obtain the total number of the initialization buried points and the subsequent triggered buried points; calculate the reported throughput upper limit value according to the number of layer buried points of each buried point level corresponding to the initialization buried points and the subsequent triggered buried points, the total number of the initialization buried points and the subsequent triggered buried points, and the weight corresponding to each buried point level corresponding to the initialization buried points and the subsequent triggered buried points.

[0096] In some embodiments of the present application, the reporting processing module is used to: if the reporting throughput upper limit value is less than or equal to the predetermined throughput threshold, then report the target buried point data to the server, and the target buried point data is all the buried point data currently triggered; if the reporting throughput upper limit value is greater than the predetermined throughput threshold, then report the target buried point data to the server, and the target buried point data is part of the all the buried point data currently triggered.

[0097] In some embodiments of the present application, after reporting the target buried point data to the server if the reporting throughput upper limit value is greater than the predetermined throughput threshold, the reporting processing module is used to: cache the remaining buried point data except the target buried point data in all the currently triggered buried point data, and the remaining buried point data is used for reporting when the predetermined reporting conditions are met.

[0098] In some embodiments of the present application, before determining the weight of each burial point level corresponding to the initialization burial point and the subsequent trigger burial point, the device also includes a configuration management module 411 which can be used to: obtain server load data of the server; and determine the weight of each burial point level in the at least two burial point levels in the burial point directed graph based on the server load data.

[0099] In some embodiments of the present application, the server load data includes an upper limit value of server throughput and an upper limit value of user concurrency, and the configuration management module is used to: calculate according to the formula ΣT=M*(N1*w1+N2*w2+N3*w3+...+Ni*wi+...+Nn*wn) to obtain the weight of each buried point level in the buried point directed graph, wherein ΣT refers to the upper limit value of server throughput, M refers to the upper limit value of user concurrency, n is the total number of buried point levels included in the buried point directed graph, i refers to the i-th buried point level, Ni refers to the number of buried points in the i-th buried point level, and wi refers to the weight of the i-th buried point level.

[0100] In some embodiments of the present application, before obtaining the server load data of the server, the configuration management module is used to: obtain the updated tracking point reporting control configuration from the cloud; obtain the server load data and the tracking point directed graph from the updated tracking point reporting control configuration.

[0101] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0102] Figure 5 FIG. 2 shows a block diagram of a device for uploading and reporting buried point data according to another embodiment of the present application. Figure 5 The device 500 for uploading and reporting buried data can be applied to a server, and the device 500 for uploading and reporting buried data can include:

[0103] The transmission module 510 can be used to: transmit a buried point directed graph to an electronic device; the receiving module 520 can be used to: receive target buried point data triggered by multiple buried points reported by the electronic device, the target buried point data is reported by the electronic device based on the comparison result of the reported throughput upper limit value and the predetermined throughput threshold, the reported throughput upper limit value is calculated by the electronic device based on the weight of each buried point level corresponding to the initial buried point and the subsequent triggered buried point, and the subsequent triggered buried point is opened by the electronic device based on the buried point data triggered by the initial buried point and the buried point directed graph.

[0104] In addition, the present application also provides an electronic device, such as Figure 6 As shown, Figure 6 A block diagram of an electronic device according to an embodiment of the present application is shown, specifically:

[0105] The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that Figure 6 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0106] in:

[0107] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0108] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0109] The electronic device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 603 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0110] The electronic device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0111] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 will run the computer programs stored in the memory 602, thereby realizing various functions in the aforementioned embodiments of the present application, such as the processor 601 may perform the following steps:

[0112] Enable an initialization buried point among multiple buried points corresponding to a buried point directed graph, wherein the buried point directed graph is used to indicate the hierarchical relationship and the association relationship between the multiple buried points, and the multiple buried points correspond to at least two buried point levels; enable subsequent triggered buried points among the multiple buried points according to the buried point data triggered by the initialization buried point and the buried point directed graph; calculate a reported throughput upper limit value according to the weight of each buried point level corresponding to the initialization buried point and the subsequent triggered buried point; report the target buried point data to the server according to the comparison result of the reported throughput upper limit value and the predetermined throughput threshold.

[0113] In some embodiments of the present application, the initialization buried points among the multiple buried points corresponding to the enabled buried point directed graph include: determining, from the multiple buried points, the buried points located at the first buried point level in the buried point directed graph; obtaining the initialization buried points among the multiple buried points based on the buried points in the first buried point level; and enabling the initialization buried points.

[0114] In some embodiments of the present application, the initialization buried points among the multiple buried points are obtained based on the buried points of the first buried point level, including: taking all the buried points of the first buried point level as the initialization buried points among the multiple buried points; or obtaining the device monitoring scene, and taking the buried points that match the device monitoring scene among the buried points of the first buried point level as the initialization buried points among the multiple buried points.

[0115] In some embodiments of the present application, the method of enabling subsequent triggered buried points among the multiple buried points according to the buried point data triggered by the initialization buried point and the buried point directed graph includes: triggering and enabling buried points of each buried point level associated with the initialization buried point layer by layer in the order of the buried point levels according to the buried point data triggered by the initialization buried point and the buried point directed graph, so as to enable subsequent triggered buried points among the multiple buried points.

[0116] In some embodiments of the present application, the reporting throughput upper limit value is calculated based on the weight of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point, including: obtaining the number of level burying points of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point; obtaining the total number of the initialization burying point and the subsequent trigger burying point; calculating the reporting throughput upper limit value based on the number of level burying points of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point, the total number of the initialization burying point and the subsequent trigger burying point, and the weight corresponding to each burying point level corresponding to the initialization burying point and the subsequent trigger burying point.

[0117] In some embodiments of the present application, the target buried point data is reported to the server based on the comparison result of the reported throughput upper limit value and the predetermined throughput threshold, including: if the reported throughput upper limit value is less than or equal to the predetermined throughput threshold, the target buried point data is reported to the server, and the target buried point data is all the buried point data currently triggered; if the reported throughput upper limit value is greater than the predetermined throughput threshold, the target buried point data is reported to the server, and the target buried point data is part of the all the buried point data currently triggered.

[0118] In some embodiments of the present application, after reporting the target buried point data to the server if the reporting throughput upper limit value is greater than the predetermined throughput threshold, it also includes: caching the remaining buried point data except the target buried point data in all the currently triggered buried point data, and the remaining buried point data is used for reporting when the predetermined reporting conditions are met.

[0119] In some embodiments of the present application, before calculating the reported throughput upper limit value based on the weight of each burying point level corresponding to the initialization burying point and the subsequent trigger burying point, it also includes: obtaining server load data of the server; determining the weight of each burying point level in the at least two burying point levels in the burying point directed graph based on the server load data.

[0120] In some embodiments of the present application, the server load data includes an upper limit value of server throughput and an upper limit value of user concurrency, and determining the weight of each of the at least two buried point levels in the buried point directed graph based on the server load data includes: calculating according to the formula ΣT=M*(N1*w1+N2*w2+N3*w3+...+Ni*wi+...+Nn*wn) to obtain the weight of each buried point level in the buried point directed graph, wherein ΣT refers to the upper limit value of server throughput, M refers to the upper limit value of user concurrency, n is the total number of buried point levels included in the buried point directed graph, i refers to the i-th buried point level, Ni refers to the number of buried points in the i-th buried point level, and wi refers to the weight of the i-th buried point level.

[0121] In some embodiments of the present application, before obtaining the server load data of the server, it also includes: obtaining an updated tracking point reporting control configuration from the cloud; obtaining the server load data and the tracking point directed graph from the updated tracking point reporting control configuration.

[0122] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0123] To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided in the embodiment of the present application.

[0124] The storage medium may be a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0125] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0126] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0127] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.

Claims

1. A method for reporting buried point data, characterized in that: include: Opening an initialization buried point among a plurality of buried points corresponding to a buried point directed graph, wherein the buried point directed graph is used to indicate a hierarchical relationship and an association relationship between the plurality of buried points, and the plurality of buried points correspond to at least two buried point hierarchies; According to the buried point data triggered by the initial buried point and the buried point directed graph, opening the subsequent triggered buried points among the multiple buried points; Calculate the upper limit of the reported throughput according to the weight of each embedding point level corresponding to the initial embedding point and the subsequent triggered embedding point; Report the target buried point data to the server based on the comparison result of the reported throughput upper limit value and the predetermined throughput threshold.

2. The method according to claim 1, characterized in that The initialization of the buried points among the multiple buried points corresponding to the opened buried point directed graph includes: Determine, from the multiple buried points, buried points located at a first buried point level in the buried point directed graph; According to the buried points of the first buried point level, obtaining the initialization buried points among the multiple buried points; Enable the initialization tracking point.

3. The method according to claim 2, characterized in that The obtaining, according to the buried points of the first buried point level, an initialization buried point among the plurality of buried points comprises: All the buried points in the first buried point level are used as initialization buried points among the multiple buried points; or Acquire a device monitoring scenario, and use the buried points in the first buried point level that match the device monitoring scenario as the initialization buried points in the multiple buried points.

4. The method according to claim 1, characterized in that The step of starting subsequent triggered burying points among the plurality of burying points according to the burying point data triggered by the initialization burying point and the burying point directed graph includes: According to the buried point data triggered by the initialization buried point and the buried point directed graph, the buried points of each buried point level associated with the initialization buried point are triggered and opened layer by layer in the order of the buried point levels to open subsequent triggered buried points among the multiple buried points.

5. The method according to claim 1, characterized in that The calculating the reporting throughput upper limit value according to the weight of each burying point level corresponding to the initial burying point and the subsequent trigger burying point includes: Obtaining the number of buried points at each buried point level corresponding to the initial buried point and the subsequent triggered buried point; Obtain the total number of the initialization tracking points and the subsequent trigger tracking points; The reported throughput upper limit value is calculated based on the number of buried points in each buried point level corresponding to the initial buried points and the subsequent triggered buried points, the total number of initial buried points and the subsequent triggered buried points, and the weight corresponding to each buried point level corresponding to the initial buried points and the subsequent triggered buried points.

6. The method according to claim 1, characterized in that The reporting target tracking data to the server according to the comparison result of the reported throughput upper limit value and the predetermined throughput threshold value includes: If the reported throughput upper limit value is less than or equal to the predetermined throughput threshold, the target buried point data is reported to the server, and the target buried point data is all the buried point data currently triggered; If the reported throughput upper limit value is greater than the predetermined throughput threshold, target buried point data is reported to the server, and the target buried point data is part of all the buried point data currently triggered.

7. The method according to claim 6, characterized in that After reporting the target buried point data to the server if the reported throughput upper limit value is greater than the predetermined throughput threshold, the method further includes: The remaining buried point data except the target buried point data among all the buried point data currently triggered are cached, and the remaining buried point data are used for reporting when the predetermined reporting conditions are met.

8. The method according to any one of claims 1 to 7, characterized in that: Before calculating the reported throughput upper limit value according to the weight of each burying point level corresponding to the initial burying point and the subsequent triggered burying point, the method further includes: Obtaining server load data of the server; The weight of each of the at least two burying point levels in the burying point directed graph is determined according to the server load data.

9. The method according to claim 8, characterized in that The server load data includes an upper limit value of server throughput and an upper limit value of user concurrency, and determining the weight of each burying point level in the at least two burying point levels in the burying point directed graph according to the server load data includes: According to the formula ΣT=M*(N1*w1+N2*w2+N3*w3+...+Ni*wi+...+Nn*wn), the weights of each buried point level in the buried point directed graph are obtained, wherein ΣT refers to the upper limit of the server throughput, M refers to the upper limit of the user concurrency, n is the total number of buried point levels included in the buried point directed graph, i refers to the i-th buried point level, Ni refers to the number of buried points in the i-th buried point level, and wi refers to the weight of the i-th buried point level.

10. The method according to claim 8, characterized in that Before obtaining the server load data of the server, the method further includes: Get the updated tracking point reporting control configuration from the cloud; The server load data and the tracking point directed graph are obtained from the update tracking point reporting control configuration.

11. A device for reporting buried point data, characterized in that: include: A burying point switch control module, used to turn on an initialization burying point among a plurality of burying points corresponding to a burying point directed graph, wherein the burying point directed graph is used to indicate a hierarchical relationship and an association relationship between the plurality of burying points, and the plurality of burying points correspond to at least two burying point hierarchies; The burying point switch control module is further used to, after the initialization burying point is turned on, turn on the subsequent triggered burying points among the multiple burying points according to the burying point data triggered by the initialization burying point and the burying point directed graph; A throughput calculation module, used to calculate the upper limit of the reported throughput according to the weight of each burying point level corresponding to the initial burying point and the subsequent trigger burying point opened by the burying point switch control module; The reporting processing module is used to report the target point data to the server based on the comparison result between the reported throughput upper limit value calculated by the throughput calculation module and the predetermined throughput threshold.

12. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 10.

13. An electronic device, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Tracking data reporting method and apparatus, storage medium, and electronic device

    WO2025246544A1