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

By obtaining the buried point configuration file and determining the buried point label, it determines which buried point data needs to be stored in the local database, which solves the problem of wasting a large amount of buried point data storage in the terminal, and achieves saving of storage space and reducing data volume.

CN119557126AActive Publication Date: 2025-03-04GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311133920.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-04
Publication Date
2025-03-04
Estimated Expiration
2043-09-04

AI Technical Summary

Technical Problem

A large amount of buried point data in the terminal is stored in the local database, resulting in wasted storage space and an unnecessary increase in data volume.

Method used

By obtaining the buried point configuration file, determine the buried point label of the buried point at the terminal, and decide which buried point data needs to be stored in the local buried point database and which do not, thereby saving storage space.

Benefits of technology

It effectively saves the storage space of the buried point database locally, reduces unnecessary storage data, and improves storage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119557126A_ABST
    Figure CN119557126A_ABST
Patent Text Reader

Abstract

The invention provides a burying point data processing method and device, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring burying point data of a plurality of terminal burying points in the running process of a terminal, wherein the burying point data is used for diagnosing the terminal; for any terminal burying point, based on a burying point configuration file, determining a burying point label of the terminal burying point, the burying point configuration file comprising burying point labels of the plurality of terminal burying points, and the burying point labels being used for indicating a storage mode of burying point data of the terminal burying points; and under the condition that the burying point label indicates that the burying point data of the terminal burying point is stored in the local burying point database of the terminal, storing the burying point data of the terminal burying point in the local burying point database. According to the scheme, the storage space occupied by the burying point database in local storage can be saved, and the unnecessary storage data volume is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of computer technology, terminals, as an important carrier of business, have gradually entered thousands of households. Due to the huge number of terminals, wide geographical distribution, various types, and inconsistent user needs, the management and maintenance of terminals consumes a lot of time and cost for technicians. Therefore, how to diagnose the terminal to find out the fault of the terminal is a technical problem that needs to be solved.

[0003] In the related art, point tracking is a data collection method that can record data on abnormal faults or certain specific events that occur during the operation of the terminal. Specifically, when the user uses a diagnostic tool to diagnose the terminal, the terminal can obtain the point tracking data of multiple points from the local database, analyze the point tracking data, obtain the diagnosis results, and display them to the user by the diagnostic tool.

[0004] However, in the above solution, since there are a large number of buried points in the terminal, storing the buried point data of these buried points in the local database will cause a waste of storage space. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for processing burial point data, which can save the storage space occupied by the burial point database in local storage and reduce the amount of unnecessary stored data.

[0006] The technical solution is as follows:

[0007] According to one aspect of an embodiment of the present application, a method for processing buried point data is provided, the method comprising:

[0008] Acquire tracking data of multiple terminal tracking points during terminal operation, wherein the tracking data is used to diagnose the terminal;

[0009] For any terminal burying point, based on the burying point configuration file, determine the burying point label of the terminal burying point, the burying point configuration file includes the burying point labels of the multiple terminal burying points, and the burying point label is used to indicate the storage method of the burying point data of the terminal burying point;

[0010] In a case where the burying point label indicates that the burying point data of the terminal burying point is stored in the local burying point database of the terminal, the burying point data of the terminal burying point is stored in the local burying point database.

[0011] According to another aspect of an embodiment of the present application, a device for processing buried point data is provided, the device comprising:

[0012] An acquisition module, used to acquire the buried point data of multiple terminal buried points during the operation of the terminal, and the buried point data is used to diagnose the terminal;

[0013] A first determination module is used to determine, for any terminal burying point, a burying point label of the terminal burying point based on a burying point configuration file, wherein the burying point configuration file includes burying point labels of the plurality of terminal burying points, and the burying point label is used to indicate a storage method of burying point data of the terminal burying point;

[0014] A storage module is used to store the burying point data of the terminal burying point in the local burying point database when the burying point label indicates that the burying point data of the terminal burying point is stored in the local burying point database of the terminal.

[0015] In some embodiments, the burying point data includes a burying point identifier of the terminal burying point, and a burying point label of each terminal burying point in the burying point configuration file is stored in association with the burying point identifier;

[0016] The first determination module is used to determine, for any terminal burying point, a burying point label associated with the burying point identifier from the burying point configuration file based on the burying point identifier of the terminal burying point.

[0017] In some embodiments, the burying point configuration file further includes burying point types of the multiple terminal burying points;

[0018] The device also includes:

[0019] A second determination module is used to determine the burying point type of the terminal burying point based on the burying point configuration file when the burying point label indicates that the burying point data of the terminal burying point does not need to be stored in the local burying point database;

[0020] A reporting module, configured to report the burying point data of the terminal burying point to the server when the burying point type is a first type, wherein the first type is used to indicate that the terminal burying point is a terminal burying point for collecting user behavior data authorized by a user account;

[0021] A clearing module is used to clear the burying point data of the terminal burying point when the burying point type is the second type, and the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal.

[0022] In some embodiments, the burying point configuration file further includes burying point types of the multiple terminal burying points;

[0023] The second determination module is further configured to determine the burying point type of the terminal burying point based on the burying point configuration file when the burying point label indicates that the burying point data of the terminal burying point does not need to be stored in the local burying point database;

[0024] The clearing module is further configured to report the burying point data of the terminal burying point to the server when the burying point type is a first type, wherein the first type is used to indicate that the terminal burying point is a terminal burying point for collecting user behavior data authorized by a user account;

[0025] The reporting module is also used to clear the burying point data of the terminal burying point when the burying point type is a second type, and the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal.

[0026] In some embodiments, the apparatus further comprises:

[0027] The diagnostic module is used to perform diagnostic analysis on the tracking data obtained from the local tracking database in response to the diagnostic operation on the terminal to obtain a diagnostic result, wherein the diagnostic result is used to indicate a fault that occurs during the operation of the terminal.

[0028] In some embodiments, the diagnostic module is used to start a diagnostic service in response to a diagnostic operation on the terminal, and the diagnostic service is used to perform diagnostic analysis on the terminal based on the tracking data of the endpoint tracking point; based on the diagnostic service, the tracking data obtained from the local tracking database is processed to obtain the diagnostic result; and the diagnostic result is displayed through a diagnostic tool.

[0029] In some embodiments, the burying point configuration file further includes burying point types of the multiple terminal burying points;

[0030] The diagnostic module comprises:

[0031] A determining unit, configured to determine the burying point types of the plurality of terminal burying points based on the burying point configuration file;

[0032] an acquiring unit, configured to acquire, from a local burying point database, burying point data of a terminal burying point of a second type based on the burying point types of the multiple terminal burying points, wherein the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal;

[0033] The diagnosis unit is used to perform diagnosis analysis on the buried point data to obtain the diagnosis result.

[0034] In some embodiments, the apparatus further comprises:

[0035] a sending module, configured to send a configuration file acquisition request to the server in response to receiving an update instruction from the server, wherein the update instruction is used to indicate that the burying point configuration file is updated, and the configuration file acquisition request is used to request to acquire a target burying point configuration file, wherein the target burying point configuration file is an updated burying point configuration file;

[0036] A third determination module is used to determine, upon receiving the target burying point configuration file returned by the server, target burying point labels of the multiple terminal burying points based on the target burying point configuration file, wherein the target burying point label is the updated burying point label of the terminal burying point;

[0037] An update module is used to update the tracking point data stored in the local tracking point database based on the target tracking point labels of the multiple terminal tracking points.

[0038] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the method for processing buried point data as described in the above aspects.

[0039] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for processing buried point data as described in the above aspects.

[0040] According to another aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement the method for processing buried point data described in the above aspects.

[0041] According to another aspect of an embodiment of the present application, a computer program product is provided, wherein the computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for processing buried point data described in the above aspect.

[0042] The embodiment of the present application provides a method for processing buried point data, whereby the terminal can determine the storage method of buried point data of multiple terminal buried points according to the configuration file obtained from the server. That is, it is determined which buried point data of the terminal buried points in the terminal needs to be written into the local buried point database, and which buried point data of the terminal buried points does not need to be written into the local buried point database, thereby saving the storage space occupied by the buried point database in the local storage and reducing the amount of unnecessary stored data. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0044] Figure 1 It is a schematic diagram of an implementation environment of a method for processing buried point data provided in an embodiment of the present application;

[0045] Figure 2 It is a flow chart of a method for processing buried point data provided by an embodiment of the present application;

[0046] Figure 3 It is a flowchart of another method for processing buried point data provided by an embodiment of the present application;

[0047] Figure 4 It is an architecture diagram of a method for processing buried point data provided in an embodiment of the present application;

[0048] Figure 5 It is a structural schematic diagram of a buried point data processing device provided in an embodiment of the present application;

[0049] Figure 6 It is a structural schematic diagram of another buried point data processing device provided in an embodiment of the present application;

[0050] Figure 7 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0052] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0053] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the tracking data, tracking configuration files and user behavior data involved in this application are all obtained with full authorization.

[0054] The method for processing buried data provided in the embodiment of the present application can be executed by an electronic device. Taking the electronic device as a terminal as an example, Figure 1 Schematic diagram of the implementation environment of a method for processing buried data provided by an embodiment of the present application. Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless network.

[0055] In some embodiments, the terminal 101 can be a mobile phone, a desktop computer, a laptop computer, a tablet computer, an intelligent voice interaction device, a vehicle-mounted terminal, etc. The terminal 101 is installed and runs with a point-of-sale framework and a diagnostic service, wherein the terminal can write the point-of-sale data of the terminal point-ofsale into a local point-of-sale database through the point-of-sale framework, and the diagnostic server is used to perform diagnostic analysis on the terminal according to the point-of-sale data in the local point-of-sale database, and the diagnostic tool connected to the terminal displays the diagnostic results of the terminal, so that the user can view the faults that occur during the operation of the terminal.

[0056] In some embodiments, server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server 102 is used to provide background services for the embedding framework.

[0057] In some embodiments, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.

[0058] Figure 2 This is a flow chart of a method for processing buried point data provided in an embodiment of the present application. The method is executed by an electronic device. In the embodiment of the present application, the method is described by taking the execution by a terminal as an example. Figure 2 , the method comprising:

[0059] 201. The terminal obtains the buried point data of multiple terminal buried points during the operation of the terminal, and the buried point data is used to diagnose the terminal.

[0060] In the embodiment of the present application, point burying is a commonly used method of data collection, which can record the data of faults occurring during the operation of the terminal or certain specific events. Among them, faults include hardware faults and software faults, such as abnormal battery consumption speed, unresponsive application, etc. A specific event can be a specific user behavior, such as the number of times a user clicks on a certain control, the length of time a certain video is watched, etc. The present application can use the point burying method of code point burying to bury each business service in the terminal, that is, the technician needs to write code in the terminal to realize the triggering of the terminal point burying and the storage of the point burying data generated after the triggering. Accordingly, when multiple terminal point buryings in the terminal are triggered, the terminal can obtain the point burying data of multiple terminal points during operation. Among them, the point burying data includes fault information during the operation of the terminal, which can be used to diagnose the terminal.

[0061] 202. For any terminal burying point, the terminal determines a burying point label of the terminal burying point based on a burying point configuration file. The burying point configuration file includes burying point labels of multiple terminal burying points. The burying point label is used to indicate the storage method of the burying point data of the terminal burying point.

[0062] In an embodiment of the present application, the terminal can obtain a point-burying configuration file from a server, and the point-burying configuration file includes a plurality of point-burying tags of terminal points, and the point-burying tags are used to indicate the storage method of the point-burying data of the terminal points. For any terminal point-burying, the terminal can determine the point-burying tag of the terminal point based on the point-burying configuration file, and then process the point-burying data of the terminal point based on the storage method of the point-burying data indicated by the point-burying tag.

[0063] 203. When the burying point tag indicates that the burying point data of the terminal burying point is stored in the local burying point database of the terminal, the terminal stores the burying point data of the terminal burying point in the local burying point database.

[0064] In an embodiment of the present application, a burying point label is used to indicate the storage method of the burying point data, that is, whether the burying point data is stored in the local burying point database of the terminal. In the case where the storage method indicated by the burying point label is that the burying point data of the terminal burying point is stored in the local burying point database, the terminal can store the burying point data of the terminal burying point in the local burying point database. Conversely, in the case where the storage method indicated by the burying point label is that the burying point data of the terminal burying point does not need to be stored in the local burying point database, the terminal can report the burying point data to the server or discard it according to the burying point type of the terminal burying point.

[0065] The embodiment of the present application provides a method for processing buried point data, whereby the terminal can determine the storage method of buried point data of multiple terminal buried points according to the configuration file obtained from the server. That is, it is determined which buried point data of the terminal buried points in the terminal needs to be written into the local buried point database, and which buried point data of the terminal buried points does not need to be written into the local buried point database, thereby saving the storage space occupied by the buried point database in the local storage and reducing the amount of unnecessary stored data.

[0066] Figure 3 This is a flow chart of another method for processing buried point data provided in an embodiment of the present application. The method is executed by an electronic device. In the embodiment of the present application, the method is described by taking the execution by a terminal as an example. Figure 3 , the method comprising:

[0067] 301. The terminal obtains the buried point data of multiple terminal buried points during the operation of the terminal, and the buried point data is used to diagnose the terminal.

[0068] In the embodiment of the present application, point burying is a commonly used method of data collection, which can record the data of faults occurring during the operation of the terminal or certain specific events. Among them, faults include hardware faults and software faults, such as abnormal battery consumption speed, unresponsive application, etc. A specific event can be a specific user behavior, such as the number of times a user clicks on a certain control, the length of time a certain video is watched, etc. The present application can use the point burying method of code point burying to bury each business service in the terminal, that is, the technician needs to write code in the terminal to realize the triggering of the terminal point burying and the storage of the point burying data generated after the triggering. Accordingly, when multiple terminal point buryings in the terminal are triggered, the terminal can obtain the point burying data of multiple terminal points during operation. Among them, the point burying data includes fault information during the operation of the terminal, which can be used to diagnose the terminal.

[0069] 302. For any terminal burying point, the terminal determines the burying point label associated with the burying point identifier from the burying point configuration file based on the burying point identifier of the terminal burying point. The burying point configuration file includes the burying point labels of multiple terminal burying points. The burying point label of each terminal burying point in the burying point configuration file is stored in association with the burying point identifier. The burying point label is used to indicate the storage method of the burying point data of the terminal burying point.

[0070] In an embodiment of the present application, the terminal can obtain a burying point configuration file from the server, and the burying point configuration file includes burying point tags of multiple terminal burying points and burying point identifiers of multiple terminal burying points stored in association with the burying point tags. Among them, the burying point identifier is the burying point ID (Identity Document), which is the identity identifier of the terminal burying point, and the burying point tag is used to indicate the storage method of the burying point data of the terminal burying point. For any terminal burying point, since the burying point data of the terminal burying point includes the burying point identifier of the terminal burying point, the terminal can determine the burying point tag associated with the burying point identifier from the burying point configuration file based on the burying point identifier, and then process the burying point data of the terminal burying point based on the storage method of the burying point data indicated by the burying point tag.

[0071] It should be noted that, when the burial point label indicates that the burial point data of the terminal burial point is stored in the local burial point database, the terminal can process the burial point data by executing the following step 303; when the burial point label indicates that the burial point data of the terminal burial point does not need to be stored in the local burial point database, the terminal can process the burial point data by executing the following steps 304-306.

[0072] 303. When the burying point tag indicates that the burying point data of the terminal burying point is stored in the local burying point database of the terminal, the terminal stores the burying point data of the terminal burying point in the local burying point database.

[0073] In the embodiment of the present application, the burying point label is used to indicate the storage method of the burying point data, that is, whether the burying point data is stored in the local burying point database of the terminal. In the case where the storage method indicated by the burying point label is that the burying point data of the terminal burying point is stored in the local burying point database, the terminal can store the burying point data of the terminal burying point in the local burying point database, so that the terminal can perform diagnostic analysis on the burying point data in the local burying point database.

[0074] 304. When the burying point label indicates that the burying point data of the terminal does not need to be stored in the local burying point database, the terminal determines the burying point type of the terminal based on the burying point configuration file, and the burying point configuration file also includes the burying point types of multiple terminal burying points.

[0075] In an embodiment of the present application, in addition to the burying point tags of multiple terminal burying points, the burying point configuration file also includes the burying point types of multiple terminal burying points. Among them, the burying point types include a first type and a second type. The first type is used to indicate that the terminal burying point is a terminal burying point for collecting user behavior data. The user behavior data is authorized to be collected by the user account currently logged in to the terminal, and is used to reflect the user behavior data, such as the number of times the user visits a certain page, the time data of browsing a certain page, and the time data of browsing the preset content in a certain page. The second type is used to indicate that the terminal burying point is a terminal burying point for collecting abnormal data during the operation of the terminal. The abnormal data is data reflecting the failure of the terminal during operation, for example, a certain application in the terminal cannot be used normally, and the charging speed of the terminal battery is lower than the normal threshold. Therefore, when the storage method indicated by the burying point label is that the burying point data of the terminal burying point does not need to be stored in the local burying point database, the terminal can determine the burying point type of the terminal burying point based on the burying point configuration file, and then process the burying point data of the terminal burying point based on the burying point type.

[0076] Optionally, the burying point label of each terminal burying point in the burying point configuration file is stored in association with the burying point identifier, and the burying point identifier can be stored in association with the burying point types of multiple terminal burying points in addition to being stored in association with the burying point label. Therefore, the terminal can determine the burying point type associated with the burying point identifier from the burying point configuration file based on the burying point identifier of the terminal burying point.

[0077] 305. When the tracking point type is the first type, the terminal reports the tracking point data of the terminal tracking point to the server. The first type is used to indicate that the terminal tracking point is a terminal tracking point used to collect user behavior data authorized by the user account.

[0078] In the embodiment of the present application, when the terminal embedding type is the first type, it indicates that the terminal embedding is a terminal embedding for collecting user behavior data authorized by the user account, that is, the embedding data of the terminal embedding is data used to reflect user behavior. During the diagnosis process, the terminal does not need the embedding data of the terminal embedding, so the terminal can report the embedding data to the server, and the server processes the embedding data to analyze user behavior.

[0079] 306. When the burying point type is the second type, the terminal clears the burying point data of the terminal burying point, and the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal.

[0080] In an embodiment of the present application, when the burying point type of the terminal burying point is the second type, it indicates that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal, that is, the burying point data of the terminal burying point is data used to reflect the faults that occurred in the terminal during operation. Although the burying point data is data used to diagnose the terminal, since the burying point label of the terminal burying point corresponding to the burying point data indicates that the burying point data does not need to be stored in the local burying point database, this means that the current diagnostic service of the terminal does not need to diagnose the terminal based on the burying point data, or the current device model of the terminal does not need the burying point data. Therefore, when the terminal does not need the burying point data of the terminal burying point, the terminal can clear the burying point data.

[0081] In some embodiments, when the burying point data of the terminal burying point does not need to be stored in the local burying point database, the terminal can process the burying point data according to the burying point type of the terminal burying point. Accordingly, when the burying point label indicates that the burying point data of the terminal burying point does not need to be stored in the local burying point database, the terminal determines the burying point type of the terminal burying point based on the burying point configuration file; when the burying point type is the first type, the terminal clears the burying point data of the terminal burying point, and the first type is used to indicate that the terminal burying point is a terminal burying point for collecting user behavior data authorized by the user account; when the burying point type is the second type, the terminal reports the burying point data of the terminal burying point to the server, and the second type is used to indicate that the terminal burying point is a terminal burying point for collecting abnormal data during the operation of the terminal. Among them, when the burying point type of the terminal burying point is the first type, it indicates that the burying point data of the terminal burying point is data used to reflect user behavior. Since the terminal does not need the burying point data of the terminal burying point during the diagnosis process, the terminal can clear the burying point data of the terminal burying point. When the terminal's buried point type is the second type, it indicates that the buried point data of the terminal is data used to diagnose the terminal. Since the buried point label of the current terminal's buried point indicates that the buried point data cannot be stored in the local buried point database, the terminal can report the buried point data to the server for storage. Later, in the process of diagnosing the terminal, the terminal can obtain the buried point data from the server and then diagnose the terminal based on the buried point data.

[0082] 307. In response to the diagnostic operation on the terminal, the terminal performs diagnostic analysis on the tracking data obtained from the local tracking database to obtain a diagnostic result, where the diagnostic result is used to indicate a fault that occurs during the operation of the terminal.

[0083] In an embodiment of the present application, since the local buried point database stores buried point data for diagnosing the terminal, in response to a diagnostic operation on the terminal, the terminal can first obtain the buried point data from the local buried point database, and then the terminal can perform diagnostic analysis on the buried point data to obtain a diagnostic result of the terminal. The diagnostic result is used to indicate a fault that occurred during operation of the terminal. For example, when the buried point data is used to reflect the charging speed of the terminal over a period of time, the terminal analyzes the buried point data, and when the charging speed recorded in the buried point data is lower than the normal threshold, the terminal can determine that the battery has a fault.

[0084] In some embodiments, the terminal can obtain the buried point data to be diagnosed and analyzed from the local buried point database according to the buried point type of the terminal buried point. Accordingly, the terminal determines the buried point types of multiple terminal buried points based on the buried point configuration file; the terminal obtains the buried point data of the terminal buried point of the second type from the local buried point database based on the buried point types of multiple terminal buried points, and the second type is used to indicate that the terminal buried point is a terminal buried point for collecting abnormal data during the operation of the terminal; the terminal performs diagnostic analysis on the buried point data to obtain a diagnostic result. Among them, in addition to the buried point labels of multiple terminal buried points, the buried point configuration file also includes the buried point types of multiple terminal buried points. When the buried point type of the terminal buried point is the second type, it indicates that the terminal buried point is a terminal buried point for collecting abnormal data during the operation of the terminal, that is, the buried point data of the terminal buried point is data used to reflect the faults that occurred during the operation of the terminal. Therefore, in response to the diagnostic operation of the terminal, the terminal can obtain the buried point data of the second type of terminal buried points from the local buried point data, and perform diagnostic analysis on the buried point data to obtain the diagnostic result of the terminal. According to the tracking configuration file, the terminal can accurately obtain the tracking data required by the diagnostic terminal from the local tracking database, reducing the amount of tracking data required for diagnostic analysis during the diagnosis process and improving the terminal's diagnostic efficiency.

[0085] In some embodiments, a diagnostic service is installed and run in the terminal, and the user can diagnose the terminal through the diagnostic service. Accordingly, in response to the diagnostic operation on the terminal, the terminal starts the diagnostic service, and the diagnostic service is used to perform diagnostic analysis on the terminal based on the buried point data of the terminal buried point; the terminal processes the buried point data obtained from the local buried point database based on the diagnostic service to obtain the diagnostic result; and the diagnostic result is displayed through the diagnostic tool. Among them, the diagnostic tool can be a local diagnostic tool installed in the terminal, or it can be a remote webpage diagnostic tool connected to the terminal, and the embodiment of the present application does not limit this. In response to the user's start-up operation of the diagnostic tool, the diagnostic tool can send a diagnostic instruction to the terminal. After receiving the diagnostic instruction, the terminal can start the diagnostic service. Since the diagnostic service is used to diagnose and analyze the terminal according to the buried point data of the terminal buried point, the terminal can obtain the buried point data from the local buried point database, and then process the buried point data through the diagnostic service to obtain the diagnostic result. Finally, the terminal returns the diagnostic result to the diagnostic tool, and the diagnostic tool displays the diagnostic result for the user to view.

[0086] In some embodiments, the terminal can dynamically update the burying point data of the terminal burying points that need to be written into the local burying point database according to the updated burying point configuration file. Accordingly, in response to receiving the update instruction from the server, the terminal sends a configuration file acquisition request to the server, the update instruction is used to indicate that the burying point configuration file has been updated, and the configuration file acquisition request is used to request to obtain the target burying point configuration file, and the target burying point configuration file is the updated burying point configuration file; in the case of receiving the target burying point configuration file returned by the server, the terminal determines the target burying point tags of multiple terminal burying points based on the target burying point configuration file, and the target burying point tag is the burying point tag of the updated terminal burying point; the terminal updates the burying point data stored in the local burying point database based on the target burying point tags of multiple terminal burying points. Among them, in the case of updating the burying point configuration file in the server, the server can send an update instruction to the terminal to inform the terminal that the currently stored burying point configuration file needs to be updated. After receiving the update instruction, the terminal can send a configuration file acquisition request to the server to request to obtain the updated burying point configuration file, that is, the target burying point configuration file. In response to the configuration file acquisition request, the server sends the target burying point configuration file to the terminal. Based on the received target burying point configuration file, the terminal can determine the updated burying point labels of multiple terminal burying points, that is, the target burying point labels. If the storage method indicated by the burying point label of the terminal burying point is updated from not needing to be stored in the local burying point database to needing to be stored in the local burying point database, the terminal can store the burying point data of the terminal burying point in the local burying point database. Conversely, if the storage method indicated by the burying point label of the terminal burying point is updated from needing to be stored in the local burying point database to not needing to be stored in the local burying point database, the terminal can clear the burying point data of the terminal burying point from the local burying point database. The terminal updates the burying point data stored in the local burying point database according to the updated burying point configuration file, and can dynamically adjust the burying point data of the terminal burying points used in the diagnosis process. When a certain type of abnormality increases and the burying point data of the terminal burying points corresponding to the abnormality needs to be diagnosed and analyzed, the burying point configuration file can be updated to store the burying point data in the local burying point data, thereby realizing the dynamic update of the local burying point database and improving the comprehensiveness of the terminal diagnosis.

[0087] For example, Figure 4 is an architecture diagram of a method for processing buried data provided by an embodiment of the present application. Figure 4As shown, the application layer of the terminal has the business application installation package and diagnostic service corresponding to the business service installed and running, the framework layer of the terminal has the business service and the point-of-sale framework installed and running, and the bottom layer of the terminal has the business service installed and running. The point-of-sale framework can provide a point-of-sale write / query interface for the business application installation package in the application layer, the business service in the framework layer and the bottom layer. The technicians can design various types of terminal points of burying according to the business logic and diagnostic logic of the business service, and write the terminal points of burying into the business application installation package corresponding to the business service in the application layer and the business service in the framework layer and the bottom layer through code. (The terminal points of burying are designed as far as possible in advance to be fully and comprehensively covered). When the terminal burying point is triggered, the business service can pass the burying point data of the terminal burying point into the burying point framework by calling the burying point write interface provided by the burying point framework. After obtaining the burying point data, the burying point framework can determine whether the burying point data of the terminal burying point needs to be written into the local burying point database according to the burying point configuration file dynamically updated from the cloud server. Among them, the burying point configuration file includes the burying point identification, burying point type and whether the burying point needs to be stored in the local burying point database. For the buried point data of the terminal points that need to be written into the local buried point database, the buried point framework can write the buried point data of the terminal points into the local database. For the buried point data of the terminal points that do not need to be written into the local buried point database, it can be processed according to actual needs (discarded or reported to the cloud server). When diagnosing the terminal, the user can use the diagnostic tool to send a diagnostic instruction to the terminal. After the terminal receives the diagnostic instruction, it can start the diagnostic service. Since the diagnostic service is used to perform diagnostic analysis on the terminal based on the buried point data of the terminal, the diagnostic server can obtain the buried point data from the local buried point database by calling the buried point query interface provided by the buried point framework, and then process the buried point data to obtain the diagnostic result. Finally, the terminal returns the diagnostic result to the diagnostic tool, and the diagnostic tool displays the diagnostic result for the user to view.

[0088] The embodiment of the present application provides a method for processing buried point data, and the terminal can determine the storage method of buried point data of multiple terminal buried points according to the configuration file obtained from the server. That is, it is determined which buried point data of the terminal buried points in the terminal needs to be written into the local buried point database, and which buried point data of the terminal buried points does not need to be written into the local buried point database, thereby saving the storage space occupied by the buried point database in the local storage and reducing the amount of unnecessary storage data. All the above optional technical solutions can be used in any combination to form the optional embodiments of the present application, and will not be repeated here one by one.

[0089] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0090] Figure 5 Schematic diagram of a data processing device for embedding points provided in an embodiment of the present application. Figure 5 , the device comprises:

[0091] An acquisition module 501 is used to acquire the buried point data of multiple terminal buried points during the operation of the terminal, and the buried point data is used to diagnose the terminal;

[0092] A first determining module 502 is used to determine, for any terminal burying point, a burying point label of the terminal burying point based on a burying point configuration file, where the burying point configuration file includes burying point labels of multiple terminal burying points, and the burying point label is used to indicate a storage method of burying point data of the terminal burying point;

[0093] The storage module 503 is used to store the burying point data of the terminal in the local burying point database when the burying point label indicates that the burying point data of the terminal is stored in the local burying point database of the terminal.

[0094] In some embodiments, the burying point data includes a burying point identifier of a terminal burying point, and a burying point label of each terminal burying point in a burying point configuration file is stored in association with the burying point identifier;

[0095] The first determination module 502 is used to determine, for any terminal burying point, a burying point label associated with the burying point identifier from a burying point configuration file based on the burying point identifier of the terminal burying point.

[0096] In some embodiments, the burying point configuration file further includes burying point types of multiple terminal burying points;

[0097] Figure 6 It is a structural schematic diagram of another point-of-sale data processing device provided according to an embodiment of the present application.

[0098] See also Figure 6 , the device further comprises:

[0099] The second determination module 504 is used to determine the burying point type of the terminal burying point based on the burying point configuration file when the burying point label indicates that the burying point data of the terminal burying point does not need to be stored in the local burying point database;

[0100] Reporting module 505, used to report the tracking data of the terminal tracking point to the server when the tracking point type is the first type, and the first type is used to indicate that the terminal tracking point is a terminal tracking point for collecting user behavior data authorized by the user account;

[0101] The clearing module 506 is used to clear the burying point data of the terminal burying point when the burying point type is the second type, and the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal.

[0102] In some embodiments, the burying point configuration file further includes burying point types of multiple terminal burying points;

[0103] The second determination module 504 is further configured to determine the burying point type of the terminal burying point based on the burying point configuration file when the burying point label indicates that the burying point data of the terminal burying point does not need to be stored in the local burying point database;

[0104] The clearing module 506 is further used to report the burying point data of the terminal burying point to the server when the burying point type is the first type, and the first type is used to indicate that the terminal burying point is a terminal burying point for collecting user behavior data authorized by the user account;

[0105] The reporting module 505 is also used to clear the burying point data of the terminal when the burying point type is the second type, and the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal.

[0106] In some embodiments, see Figure 6 , the device further comprises:

[0107] The diagnosis module 507 is used to perform diagnostic analysis on the tracking data obtained from the local tracking database in response to the diagnostic operation on the terminal, and obtain a diagnostic result, which is used to indicate a fault that occurs during the operation of the terminal.

[0108] In some embodiments, the diagnostic module 507 is used to start a diagnostic service in response to a diagnostic operation on the terminal, and the diagnostic service is used to perform diagnostic analysis on the terminal based on the tracking data of the endpoint tracking point; based on the diagnostic service, the tracking data obtained from the local tracking database is processed to obtain a diagnostic result; and the diagnostic result is displayed through a diagnostic tool.

[0109] In some embodiments, the burying point configuration file further includes burying point types of multiple terminal burying points;

[0110] Continue to see Figure 6 , the diagnosis module 507 includes:

[0111] A determining unit 601 is used to determine the burying point types of multiple terminal burying points based on the burying point configuration file;

[0112] An acquiring unit 602 is configured to acquire, from a local burying point database, burying point data of a terminal burying point of a second type based on the burying point types of the multiple terminal burying points, where the second type is used to indicate that the terminal burying point is a terminal burying point for collecting abnormal data during terminal operation;

[0113] The diagnosis unit 603 is used to perform diagnosis analysis on the buried point data to obtain a diagnosis result.

[0114] In some embodiments, see Figure 6 , the device further comprises:

[0115] A sending module 508 is used to send a configuration file acquisition request to the server in response to receiving an update instruction from the server, wherein the update instruction is used to indicate that the tracking configuration file is updated, and the configuration file acquisition request is used to request to obtain a target tracking configuration file, and the target tracking configuration file is the updated tracking configuration file;

[0116] The third determining module 509 is used to determine the target embedding point labels of the multiple terminal embedding points based on the target embedding point configuration file when receiving the target embedding point configuration file returned by the server, where the target embedding point label is the embedding point label of the updated terminal embedding point;

[0117] The updating module 510 is used to update the tracking point data stored in the local tracking point database based on the target tracking point tags of multiple terminal tracking points.

[0118] The embodiment of the present application provides a device for processing buried point data, and the terminal can determine the storage method of buried point data of multiple terminal buried points according to the configuration file obtained from the server. That is, it is determined which buried point data of the terminal buried points in the terminal needs to be written into the local buried point database, and which buried point data of the terminal buried points does not need to be written into the local buried point database, thereby saving the storage space occupied by the buried point database in the local storage and reducing the amount of unnecessary stored data.

[0119] It should be noted that the device provided in the above embodiment, when implementing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0120] An embodiment of the present application provides an electronic device, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the point data processing method provided in the above-mentioned various method embodiments.

[0121] Figure 7 7 is a block diagram of a structure of an electronic device 700 provided according to an embodiment of the present application. In some embodiments, the electronic device 700 is a smart phone, a tablet computer, a computer with wireless communication function, or a wearable device. The electronic device 700 in the present application includes at least one or more of the following components: a processor 710, a memory 720, and at least two wireless links 730.

[0122] In some embodiments, the processor 710 includes one or more processing cores. The processor 710 uses various interfaces and lines to connect various parts of the entire electronic device 700, and executes various functions and processes data of the electronic device 700 by running or executing program codes stored in the memory 720, and calling data stored in the memory 720. In some embodiments, the processor 710 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 710 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 710, but may be implemented by a separate chip.

[0123] In some embodiments, the processor 710 is used to control the working conditions of at least two wireless links 730. Accordingly, the processor 710 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip, etc.

[0124] In some embodiments, the memory 720 includes a random access memory (RAM), and in some embodiments, the memory 720 includes a read-only memory (ROM). In some embodiments, the memory 720 includes a non-transitory computer-readable storage medium. The memory 720 can be used to store program codes. The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data (such as audio data, a phone book) created according to the use of the electronic device 700, etc.

[0125] In some embodiments, the memory 720 stores reception schemes for receiving beacon frames of different wireless links 730, as well as identifiers of access nodes connected to different wireless links 730, identifiers of wireless links 730, and the like.

[0126] The at least two wireless links 730 are used to connect different access points (APs) to receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.

[0127] In some embodiments, the electronic device 700 also includes a display screen. The display screen is a display component that displays a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a stylus to perform touch operations on the display screen. In some embodiments, the display screen is generally arranged on the front panel of the electronic device 700. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen, or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.

[0128] In addition, those skilled in the art will appreciate that the structure of the electronic device 700 shown in the above figures does not limit the electronic device 700, and the electronic device 700 includes more or fewer components than shown, or combines certain components, or arranges components differently. For example, the electronic device 700 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.

[0129] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the point data processing method shown in the above embodiments.

[0130] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the buried point data processing method shown in the above embodiments.

[0131] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for processing buried point data as shown in the above embodiments.

[0132] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0133] A person of ordinary skill in the art can understand that all or part of the steps in the method for processing buried point data in the above embodiment can be completed by hardware, or can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. The above is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for processing buried point data, characterized in that: The method comprises: Acquire tracking data of multiple terminal tracking points during terminal operation, wherein the tracking data is used to diagnose the terminal; For any terminal burying point, based on the burying point configuration file, determine the burying point label of the terminal burying point, the burying point configuration file includes the burying point labels of the multiple terminal burying points, and the burying point label is used to indicate the storage method of the burying point data of the terminal burying point; In a case where the burying point label indicates that the burying point data of the terminal burying point is stored in the local burying point database of the terminal, the burying point data of the terminal burying point is stored in the local burying point database.

2. The method according to claim 1, characterized in that The buried point data includes a buried point identifier of the terminal buried point, and a buried point label of each terminal buried point in the buried point configuration file is stored in association with the buried point identifier; The step of determining, for any terminal embedding point, a embedding point label of the terminal embedding point based on the embedding point configuration file includes: For any terminal burying point, based on the burying point identifier of the terminal burying point, the burying point tag associated with the burying point identifier is determined from the burying point configuration file.

3. The method according to claim 1, characterized in that The burying point configuration file also includes the burying point types of the multiple terminal burying points; After determining the burying point label of any terminal burying point based on the burying point configuration file, the method further includes: In a case where the burying point label indicates that the burying point data of the terminal burying point does not need to be stored in the local burying point database, determining the burying point type of the terminal burying point based on the burying point configuration file; In the case where the tracking point type is the first type, reporting the tracking point data of the terminal tracking point to the server, wherein the first type is used to indicate that the terminal tracking point is a terminal tracking point for collecting user behavior data authorized by a user account; In the case where the burying point type is the second type, the burying point data of the terminal burying point is cleared, and the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal.

4. The method according to claim 1, characterized in that The burying point configuration file also includes the burying point types of the multiple terminal burying points; After determining the burying point label of any terminal burying point based on the burying point configuration file, the method further includes: In a case where the burying point label indicates that the burying point data of the terminal burying point does not need to be stored in the local burying point database, determining the burying point type of the terminal burying point based on the burying point configuration file; In the case where the tracking point type is the first type, clearing the tracking point data of the terminal tracking point, wherein the first type is used to indicate that the terminal tracking point is a terminal tracking point for collecting user behavior data authorized by a user account; When the burying point type is the second type, the burying point data of the terminal burying point is reported to the server, and the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal.

5. The method according to claim 1, characterized in that The method further comprises: In response to a diagnostic operation on the terminal, a diagnostic analysis is performed on the tracking data obtained from the local tracking database to obtain a diagnostic result, where the diagnostic result is used to indicate a fault that occurs during operation of the terminal.

6. The method according to claim 5, characterized in that In response to the diagnosis operation on the terminal, performing diagnosis analysis on the buried point data obtained from the local buried point database to obtain a diagnosis result includes: In response to a diagnostic operation on the terminal, a diagnostic service is started, the diagnostic service being used to perform diagnostic analysis on the terminal based on the burial point data of the end point burial point; Based on the diagnostic service, the tracking data obtained from the local tracking database is processed to obtain the diagnostic result; The diagnosis result is displayed by a diagnosis tool.

7. The method according to claim 4, characterized in that The burying point configuration file also includes the burying point types of the multiple terminal burying points; The step of performing diagnostic analysis on the buried point data obtained from the local buried point database to obtain a diagnostic result includes: Based on the burying point configuration file, determining the burying point types of the multiple terminal burying points; Based on the burying point types of the multiple terminal burying points, acquiring burying point data of a terminal burying point of a second type from a local burying point database, where the second type is used to indicate that the terminal burying point is a terminal burying point used to collect abnormal data during the operation of the terminal; The buried point data is diagnosed and analyzed to obtain the diagnosis result.

8. The method according to claim 1, characterized in that The method further comprises: In response to receiving an update instruction from the server, sending a configuration file acquisition request to the server, wherein the update instruction is used to indicate that the tracking configuration file is updated, and the configuration file acquisition request is used to request to acquire a target tracking configuration file, wherein the target tracking configuration file is an updated tracking configuration file; In the case of receiving the target burying point configuration file returned by the server, determining the target burying point labels of the multiple terminal burying points based on the target burying point configuration file, wherein the target burying point labels are the burying point labels of the updated terminal burying points; Based on the target burying point tags of the multiple terminal burying points, the burying point data stored in the local burying point database is updated.

9. A buried point data processing device, characterized in that: The device comprises: An acquisition module, used to acquire the buried point data of multiple terminal buried points during the operation of the terminal, wherein the buried point data is used to diagnose the terminal; A determination module, configured to determine, for any terminal burying point, a burying point label of the terminal burying point based on a burying point configuration file, wherein the burying point configuration file includes burying point labels of the plurality of terminal burying points, and the burying point label is used to indicate a storage method of burying point data of the terminal burying point; A storage module is used to store the burying point data of the terminal burying point in the local burying point database when the burying point label indicates that the burying point data of the terminal burying point is stored in the local burying point database of the terminal.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the buried point data processing method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the buried point data processing method as described in any one of claims 1 to 8.

12. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the chip runs on the terminal, it is used to implement the buried point data processing method as described in any one of claims 1 to 8.

13. A computer program product, comprising a computer program, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the buried point data processing method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Data collection method and device

    CN113127336A

  • Data burying point method and device, storage medium and electronic equipment

    CN113656102A

  • Webpage point burying method and device, equipment and computer program product

    CN113779474A

  • Page point burying method and device, electronic equipment and storage medium

    CN114327592A

  • Data acquisition method and device, equipment and storage medium

    CN116149967A