Data collection method, device, electronic device and storage medium based on buried point
By selecting the target tracking control in the tracking technology and generating a configurable non-tracking parameter configuration table, the problem of insufficient parameter configuration in the existing tracking technology is solved, and flexible data collection and resource optimization are achieved.
Patent Information
- Application Number
- CN202011644064.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2040-12-30
AI Technical Summary
Existing tracking technology cannot configure parameters based on UI-level categories and lacks independent switching functions, resulting in insufficient flexibility in data collection.
By detecting control click events, the target tracking control is selected from the tracking control set of the pre-built page, its visual tracking category is obtained, and a non-tracking parameter configuration table is generated. The enabled or disabled status of the category is controlled by a preset function to collect parameter data of the control click event.
It realizes the configurability of data collection type parameters based on tracking points, supports flexible data collection, solves the problem of excessive resource consumption, and improves the diversity and flexibility of data collection.
Smart Images

Figure CN112685259B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data technology, and in particular to a method, device, electronic device and computer-readable storage medium for data collection based on buried points. Background Art
[0002] Tracking is the process of adding some program codes to a website or app. When triggered, these program codes can collect and count users' browsing, access data and application usage on the website or app, analyze user interaction behavior, and thus help with subsequent optimization of products and operations.
[0003] Currently, tracking can be divided into three types: code tracking, visual tracking, and no tracking. However, these types of tracking cannot be configured based on UI tracking categories (behavior action category, gesture action category, table action category, alert box pop-up category, and page view category).
[0004] In addition, these types of tracking points lack independent switching functions when triggered. Therefore, it is impossible to make the type parameters of tracking point-based data collection configurable, and thus it is impossible to support the flexibility of tracking point-based data collection. Summary of the Invention
[0005] The present invention provides a method, device, electronic device and computer-readable storage medium for data collection based on buried points, the main purpose of which is to realize the configurability of type parameters of data collection based on buried points to support the flexibility of data collection based on buried points.
[0006] To achieve the above objectives, the present invention provides a data collection method based on buried points, comprising:
[0007] Detect a control click event, select a tracking control that matches the control click event from the tracking control set of the pre-built page, and obtain a target tracking control;
[0008] Obtain the visual tracking point category of the target tracking point control, and generate a non-tracking point parameter configuration table based on the visual tracking point category;
[0009] Based on the non-embedded parameter configuration table, the parameter data triggered by the control click event is collected.
[0010] Optionally, after obtaining the visual tracking point category of the target tracking point control, the method further includes:
[0011] The enabled or disabled state of the visualization burying point category is controlled by a preset visualization burying point category control function.
[0012] Optionally, the selecting a tracking control that matches the click control from the tracking control set of the pre-built page to obtain a target tracking control includes:
[0013] Obtaining a unique identifier of a buried control in the buried control set, wherein the unique identifier of the buried control is obtained by combining a page path and a label of the buried control in the buried control set;
[0014] Generate a click identifier for the control click event;
[0015] Calculating the similarity between the unique identifier and the click identifier;
[0016] The embedded point control corresponding to the similarity greater than the preset threshold is selected as the target embedded point control.
[0017] Optionally, the visualization burying point categories include: behavioral action visualization burying points, gesture action visualization burying points, table action visualization burying points, warning box pop-up visualization burying points and page visit visualization burying points.
[0018] Optionally, generating a corresponding non-point burying parameter configuration table according to the visualized point burying category includes:
[0019] The unique identifier corresponding to the visual burying point category is used as the key name of the no-burying point parameter configuration table, and the parameters of the visual burying point category are used as the key value of the no-burying point parameter configuration table. The no-burying point parameter configuration table is generated according to the key name and key value.
[0020] Optionally, the collecting parameter data triggered by the control click event based on the non-embedded parameter configuration table includes:
[0021] Obtaining static parameters and dynamic parameters of the non-embedded point parameter configuration table;
[0022] According to the static parameters, collecting static parameter data triggered by the control click event;
[0023] According to the dynamic parameters, dynamic parameter data triggered by the control click event is collected.
[0024] Optionally, collecting dynamic parameter data triggered by the control click event according to the dynamic parameter includes:
[0025] The dynamic parameter data triggered by the control click event is collected through one or more of the following combinations:
[0026] Acquire a first object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the first object;
[0027] Acquire a second object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the second object;
[0028] Acquire the third object that triggers the click control through the message chain object method, and collect the dynamic parameter data corresponding to the trigger according to the third object;
[0029] Acquire the fourth object that triggers the click control through a class method, and collect dynamic parameter data corresponding to the trigger according to the fourth object;
[0030] The fifth object of the click control is obtained through a singleton object method, and the dynamic parameter data of the corresponding trigger is collected according to the fifth object.
[0031] In order to solve the above problems, the present invention further provides a data acquisition device based on buried points, the device comprising:
[0032] A selection module is used to detect a control click event in a pre-built page, select a tracking control that matches the control click event from the tracking control set of the pre-built page, and obtain a target tracking control;
[0033] A generating module, configured to obtain a visual burying point category of the target burying point control and generate a non-burying point parameter configuration table according to the visual burying point category;
[0034] The acquisition module is used to collect parameter data triggered by the control click event based on the non-embedded parameter configuration table.
[0035] In order to solve the above problem, the present invention further provides an electronic device, comprising:
[0036] a memory storing at least one instruction; and
[0037] The processor executes the instructions stored in the memory to implement the data collection method based on buried points described above.
[0038] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the data collection method based on buried points described above.
[0039] The embodiment of the present invention first obtains a control click event, selects a burying point control that matches the click control from the burying point control set of the pre-built page, and obtains a target burying point control. By selecting a burying point control that matches the control click event from the burying point control set of the pre-built page, the problem of excessive resource consumption of the no-burying point solution is effectively solved; secondly, the embodiment of the present invention obtains the visual burying point category of the target burying point control, and generates a no-burying point parameter configuration table based on the visual burying point category, thereby realizing the configurability of the no-burying point parameter configuration table and supporting the diversity of no-burying point parameter configurations.
[0040] Furthermore, the embodiment of the present invention controls the enabled or disabled state of the visualization burying point category by presetting the visualization burying point category control function, thereby realizing the on / off function of the category burying point when triggered.
[0041] Therefore, the data acquisition method, device, electronic device and computer-readable storage medium based on buried points proposed in the present invention can realize the configurability of type parameters of data acquisition based on buried points and support the flexibility of data acquisition based on buried points. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of a flow chart of a data acquisition method based on buried points provided in the first embodiment of the present invention;
[0043] Figure 2 In the first embodiment of the present invention Figure 1 A schematic diagram of the process of step S1 in the provided method for data collection based on buried points;
[0044] Figure 3 A schematic diagram of a module of a data acquisition device based on buried points provided in a first embodiment of the present invention;
[0045] Figure 4 A schematic diagram of the internal structure of an electronic device for implementing a data acquisition method based on buried points provided by the first embodiment of the present invention;
[0046] The realization of the objectives, functional features and advantages of the present invention will be further explained with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0048] The execution entity of the tracking-based data collection method provided in the embodiments of the present application includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiments of the present application. In other words, the tracking-based data collection method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.
[0049] The present invention provides a method for data collection based on buried points. Figure 1 FIG. 1 is a flow chart of a method for data collection based on embedded points according to an embodiment of the present invention. In this embodiment, the method for data collection based on embedded points includes:
[0050] S1. Detect a control click event in a pre-built page, select a tracking control that matches the control click event from a tracking control set of the pre-built page, and obtain a target tracking control.
[0051] In at least one embodiment of the present invention, the control click event refers to an event generated by a user clicking a UI control on a mobile device or a web page. The UI control may be, for example, a login control, a purchase control, or a view control. The tracking control is used to collect user behavior data for subsequent user behavior analysis. The tracking control set for the pre-built page can be implemented using currently mature visual tracking technology.
[0052] In another embodiment of the present invention, before selecting a burying control that matches the click control from the burying control set of the pre-built page, the method may further include: combining the page path and label of the burying control in the burying control set to generate a unique identifier for the burying control, wherein the unique identifier is used to characterize the unique ID of the burying control, so that the burying control has consistency and distinctiveness. The consistency means that no matter how the page layout changes or the number of times the page is entered, the burying control ID remains unchanged, and the distinctiveness means that the burying control is unique in the page.
[0053] In one optional embodiment of the present invention, the page path and key fields of the embedded control can be extracted through the select() function to achieve the combination of the page path and control label of the embedded control. The page path is used to query the page control in the page, and the label is used to represent the type of embedded control, such as a button control, an alert box control, and a table control.
[0054] Further, see Figure 2As shown, the step of selecting a tracking control that matches the click control from the tracking control set of the pre-built page to obtain a target tracking control includes:
[0055] S20: Obtain a unique identifier of the embedded control in the embedded control set;
[0056] S21, generating a click identifier for the control click event;
[0057] S22. Calculate the similarity between the unique identifier and the click identifier;
[0058] S23. Select the corresponding embedded point control whose similarity is greater than a preset threshold as the target embedded point control.
[0059] It should be noted that if the calculated similarity is not greater than the preset threshold, the control click event in the pre-built page will be re-detected. It should be emphasized that to further ensure the privacy and security of the target embedded control, the target embedded control can also be stored in a blockchain node.
[0060] Preferably, the click identifier of the click control is generated in the same principle as the unique identifier of the above-mentioned embedding control, which will not be repeated here.
[0061] In an optional embodiment of the present invention, the similarity between the unique identifier and the click identifier may be calculated using a cosine similarity algorithm.
[0062] Furthermore, in one of the optional embodiments of the present invention, the control click event can be intercepted through a hook function (also known as Hook technology), and the intercepted control click event can be jumped to the target burying point control to prevent interference with the code blocks of other controls on the page during burying point processing.
[0063] Based on the above implementation scheme, the present invention effectively solves the problem of excessive resource consumption of the non-embedding solution by selecting the embedding control that matches the control click event from the embedding control set of the pre-built page.
[0064] S2. Obtain the visual burying point category of the target burying point control, and generate a non-burying point parameter configuration table based on the visual burying point category.
[0065] In at least one embodiment of the present invention, the visualization burying point categories include: behavior (Action) action visualization burying points, gesture (Gesture) action visualization burying points, table action visualization burying points, alert box (Alert) pop-up window visualization burying points and page view (Page View, PV) visualization burying points.
[0066] In an optional embodiment of the present invention, the visual burying point category of the target burying point control can be obtained through a preset visual burying point function.
[0067] In detail, the embodiment of the present invention obtains the Action action visualization burial point through the SDAnalysisStatusAction function; obtains the Gesture action visualization burial point through the SDAnalysisStatusGesture function; obtains the table action visualization burial point through the SDAnalysisStatusTable function; obtains the Alert pop-up window visualization burial point through the SDAnalysisStatusAlert function; obtains the Action Visualization Burial Point through the SDAnalysisStatusAlert function; obtains the Action Visualization Burial Point through the SDAnalysisStatus
[0068] SDAnalysisStatusPagePV obtains the PV visualization tracking point of the page.
[0069] Furthermore, in one embodiment of the present invention, after obtaining the visual burying point category of the target burying point control, it also includes: controlling the on or off state of the visual burying point category through a preset visual burying point category control function to determine whether to receive the burying point information corresponding to the visual burying point category, which is conducive to managing the parameter data subsequently generated in the target burying point control.
[0070] Among them, the preset visualization burial point category control function includes: SDAnalysisStatusNone (disable all visualization burial point categories) and SDAnalysisStatusAll (enable all visualization burial point categories).
[0071] Furthermore, in an embodiment of the present invention, generating a no-buried-point parameter configuration table based on the visual buried-point category includes: using the unique identifier corresponding to the visual buried-point category as the key name (key) of the no-buried-point parameter configuration table, using the parameters of the visual buried-point category as the key value (value) of the no-buried-point parameter configuration table, generating the no-buried-point parameter configuration table based on the key name and key value, and saving the no-buried-point parameter configuration table to a database in the form of a key-value pair to realize subsequent data updates of the no-buried-point parameter configuration table.
[0072] Furthermore, the parameters of the visualization tracking category include static parameters and dynamic parameters. The static parameters include tracking events, tracking labels, and tracking description information; the dynamic parameters include the uploaded data key name, object attribute name, attribute path, target object class name of the attribute, and object acquisition method.
[0073] In the present invention, the non-buried point parameter configuration table is stored in the form of key-value pairs, which realizes the configurability of the non-buried point parameter configuration table and supports the diversity of non-buried point parameter configuration.
[0074] S3. Based on the non-embedded parameter configuration table, collect parameter data triggered by the control click event.
[0075] In at least one embodiment of the present invention, the collection of user behavior data is achieved by obtaining the parameters of the non-embedded parameter configuration table, collecting the parameter data triggered in the click control according to the parameters, and storing the collected parameter data in the database.
[0076] Among them, it needs to be stated that in the above S1, the control click event is jumped to the target embedded control through the Hook technology. Therefore, in the present invention, based on the non-embedded parameter configuration table, the parameter data triggered by the control click event is collected, that is, the parameter data triggered in the target embedded control is collected.
[0077] In detail, the collecting parameter data triggered in the click control according to the state parameter includes:
[0078] According to the static parameters, static parameter data triggered in the click control is collected. For example, if the user triggers the login control of the click control, the acquired static parameter data includes: user login subject, user login type, and user login page information time;
[0079] According to the dynamic parameters, the dynamic parameter data triggered in the click control is collected. For example, if the user triggers the login control of the click control, the dynamic parameter data obtained includes: login control identifier, user name and password, URL address of user name and password, and user object class name (user(), password()).
[0080] Furthermore, in the present invention, the dynamic parameter data triggered in the click control is collected by one or more of the following combinations:
[0081] Acquire a first object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the first object;
[0082] Acquire a second object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the second object;
[0083] Acquire the third object that triggers the click control through the message chain object method, and collect the dynamic parameter data corresponding to the trigger according to the third object;
[0084] Acquire the fourth object that triggers the click control through a class method, and collect dynamic parameter data corresponding to the trigger according to the fourth object;
[0085] The fifth object of the click control is obtained through a singleton object method, and the dynamic parameter data of the corresponding trigger is collected according to the fifth object.
[0086] In an optional embodiment, the first object, second object, third object, fourth object, and fifth object may be user A, user B, user C, user D, and user E, respectively. It should be noted that the dynamic parameter data may generate different dynamic parameter data depending on different user behaviors. For example, the dynamic parameter data may include: number of user logins, user login time, user account number, and password.
[0087] In summary, the embodiment of the present invention first obtains a control click event, selects a burying point control that matches the control click event from the burying point control set of the pre-built page, and obtains a target burying point control. By selecting a burying point control that matches the click control from the burying point control set of the pre-built page, the problem of excessive resource consumption of the no-burying point solution is effectively solved; secondly, the embodiment of the present invention obtains the visual burying point category of the target burying point control, and generates a no-burying point parameter configuration table based on the visual burying point category, thereby realizing the configurability of the no-burying point parameter configuration table and supporting the diversity of no-burying point parameter configurations. Furthermore, the embodiment of the present invention controls the on or off state of the visual burying point category by presetting a visual burying point category control function, thereby realizing the switching function of the category burying point when triggered.
[0088] Therefore, the data collection method based on buried points proposed in the present invention can realize the configurability of type parameters of data collection based on buried points, and support the flexibility of data collection based on buried points.
[0089] like Figure 3 , which is a module diagram of a data acquisition device based on buried points provided by one embodiment of the present invention.
[0090] The data acquisition device 100 based on embedded points of the present invention can be installed in an electronic device. According to the functions to be implemented, the data acquisition device based on embedded points of the present invention can include a selection module 101, a generation module 102, and an acquisition module 103. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can perform fixed functions, which are stored in the memory of the electronic device.
[0091] In this embodiment, the functions of each module / unit are as follows:
[0092] The selection module 101 is used to detect a control click event in a pre-built page, select a tracking control that matches the control click event from the tracking control set of the pre-built page, and obtain a target tracking control.
[0093] In at least one embodiment of the present invention, the control click event refers to an event generated by a user clicking a UI control on a mobile device or a web page. The UI control may be, for example, a login control, a purchase control, or a view control. The tracking control is used to collect user behavior data for subsequent user behavior analysis. The tracking control set for the pre-built page can be implemented using currently mature visual tracking technology.
[0094] In another embodiment of the present invention, before selecting a burying control that matches the click control from the burying control set of the pre-built page, the method may further include: combining the page path and label of the burying control in the burying control set to generate a unique identifier for the burying control, wherein the unique identifier is used to characterize the unique ID of the burying control, so that the burying control has consistency and distinctiveness. The consistency means that no matter how the page layout changes or the number of times the page is entered, the burying control ID remains unchanged, and the distinctiveness means that the burying control is unique in the page.
[0095] In one optional embodiment of the present invention, the page path and key fields of the embedded control can be extracted through the select() function to achieve the combination of the page path and control label of the embedded control. The page path is used to query the page control in the page, and the label is used to represent the type of embedded control, such as a button control, an alert box control, and a table control.
[0096] Furthermore, the selection module 101 selects a tracking control that matches the click control from the tracking control set of the pre-built page to obtain a target tracking control by: obtaining a unique identifier of the tracking control in the tracking control set; generating a click identifier of the control click event; calculating the similarity between the unique identifier and the click identifier; and selecting a tracking control corresponding to a similarity greater than a preset threshold as the target tracking control.
[0097] It should be noted that if the calculated similarity is not greater than the preset threshold, the control click event in the pre-built page will be re-detected. It should be emphasized that to further ensure the privacy and security of the target embedded control, the target embedded control can also be stored in a blockchain node.
[0098] Preferably, the click identifier of the click control is generated in the same principle as the unique identifier of the above-mentioned embedding control, which will not be repeated here.
[0099] In an optional embodiment of the present invention, the similarity between the unique identifier and the click identifier may be calculated using a cosine similarity algorithm.
[0100] Furthermore, in one of the optional embodiments of the present invention, the control click event can be intercepted through a hook function (also known as Hook technology), and the intercepted control click event can be jumped to the target burying point control to prevent interference with the code blocks of other controls on the page during burying point processing.
[0101] Based on the above implementation scheme, the present invention effectively solves the problem of excessive resource consumption of the non-embedding solution by selecting the embedding control that matches the control click event from the embedding control set of the pre-built page.
[0102] The generating module 102 is used to obtain the visual burying point category of the target burying point control, and generate a non-burying point parameter configuration table according to the visual burying point category.
[0103] In at least one embodiment of the present invention, the visualization burying point categories include: behavior (Action) action visualization burying points, gesture (Gesture) action visualization burying points, table action visualization burying points, alert box (Alert) pop-up window visualization burying points and page view (Page View, PV) visualization burying points.
[0104] In an optional embodiment of the present invention, the generating module 102 may obtain the visual burying point category of the target burying point control through a preset visual burying point function.
[0105] In detail, the generation module 102 described in the embodiment of the present invention obtains the Action action visualization burying point through the SDAnalysisStatusAction function; obtains the Gesture action visualization burying point through the SDAnalysisStatusGesture function; obtains the table action visualization burying point through the SDAnalysisStatusTable function; obtains the Alert pop-up window visualization burying point through SDAnalysisStatusAlert; and obtains the page PV visualization burying point through SDAnalysisStatusPagePV.
[0106] Furthermore, in one embodiment of the present invention, after obtaining the visual burying point category of the target burying point control, the generation module 102 is also used to: control the enabled or disabled state of the visual burying point category through a preset visual burying point category control function to determine whether to receive the burying point information corresponding to the visual burying point category, which is conducive to managing the parameter data subsequently generated in the target burying point control.
[0107] Among them, the preset visualization burial point category control function includes: SDAnalysisStatusNone (disable all visualization burial point categories) and SDAnalysisStatusAll (enable all visualization burial point categories).
[0108] Furthermore, in an embodiment of the present invention, the generation module 102 generates a no-buried-point parameter configuration table by the following method: using the unique identifier corresponding to the visual buried-point category as the key name (key) of the no-buried-point parameter configuration table, and using the parameters of the visual buried-point category as the key value (value) of the no-buried-point parameter configuration table, generating the no-buried-point parameter configuration table according to the key name and key value, and saving the no-buried-point parameter configuration table to the database in the form of a key-value pair to realize subsequent data updates of the no-buried-point parameter configuration table.
[0109] Furthermore, the parameters of the visualization tracking category include static parameters and dynamic parameters. The static parameters include tracking events, tracking labels, and tracking description information; the dynamic parameters include the uploaded data key name, object attribute name, attribute path, target object class name of the attribute, and object acquisition method.
[0110] The embodiment of the present invention uses the form of key-value pairs to store the non-embedded point parameter configuration table, thereby realizing the configurability of the non-embedded point parameter configuration table and supporting the diversity of non-embedded point parameter configurations.
[0111] The acquisition module 103 is used to acquire parameter data triggered by the control click event based on the non-embedded parameter configuration table.
[0112] In at least one embodiment of the present invention, the acquisition module 103 obtains the parameters of the non-embedded parameter configuration table, collects the parameter data triggered in the click control according to the parameters, and stores the collected parameter data into the database to realize the collection of user behavior data.
[0113] Among them, it needs to be stated that the above-mentioned selection module 101 jumps the control click event to the target embedded point control through the Hook technology. Therefore, in an embodiment of the present invention, the acquisition module 103 collects the parameter data triggered by the control click event based on the non-embedded point parameter configuration table, that is, collects the parameter data triggered in the target embedded point control.
[0114] In detail, the acquisition module 103 acquires the parameter data triggered in the click control by the following method:
[0115] According to the static parameters, static parameter data triggered in the click control is collected. For example, if the user triggers the login control of the click control, the acquired static parameter data includes: user login subject, user login type, and user login page information time;
[0116] According to the dynamic parameters, the dynamic parameter data triggered in the click control is collected. For example, if the user triggers the login control of the click control, the dynamic parameter data obtained includes: login control identifier, user name and password, URL address of user name and password, and user object class name (user(), password()).
[0117] Furthermore, in the embodiment of the present invention, the acquisition module 103 acquires the dynamic parameter data triggered in the click control through one or more of the following combinations:
[0118] Acquire a first object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the first object;
[0119] Acquire a second object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the second object;
[0120] Acquire the third object that triggers the click control through the message chain object method, and collect the dynamic parameter data corresponding to the trigger according to the third object;
[0121] Acquire the fourth object that triggers the click control through a class method, and collect dynamic parameter data corresponding to the trigger according to the fourth object;
[0122] The fifth object of the click control is obtained through a singleton object method, and the dynamic parameter data of the corresponding trigger is collected according to the fifth object.
[0123] In an optional embodiment, the first object, second object, third object, fourth object, and fifth object may be user A, user B, user C, user D, and user E, respectively. It should be noted that the dynamic parameter data may generate different dynamic parameter data depending on different user behaviors. For example, the dynamic parameter data may include: number of user logins, user login time, user account number, and password.
[0124] like Figure 4 1 is a schematic diagram of the structure of an electronic device for implementing a method for data collection based on buried points provided by an embodiment of the present invention.
[0125] The electronic device 1 may include a processor 10, a memory 11 and a bus, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a data acquisition program 12 based on buried points.
[0126] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Furthermore, the memory 11 can also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed on the electronic device 1, such as the code of the data acquisition program based on the buried point, etc., but can also be used to temporarily store data that has been output or is to be output.
[0127] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device. It executes or executes programs or modules stored in the memory 11 (such as data acquisition programs based on embedded points, etc.), and calls data stored in the memory 11 to perform various functions of the electronic device 1 and process data.
[0128] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable connection and communication between the memory 11 and at least one processor 10, etc.
[0129] Figure 4 Only the electronic device with components is shown, and it can be understood by those skilled in the art that Figure 4 The structure shown does not constitute a limitation on the electronic device 1 , and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0130] For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for powering the various components. Preferably, the power source may be logically connected to the at least one processor 10 via a power management device, thereby implementing functions such as charging management, discharging management, and power consumption management through the power management device. The power source may further include any components such as one or more DC or AC power sources, a recharging device, a power failure detection circuit, a power converter or inverter, a power status indicator, etc. The electronic device 1 may further include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0131] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0132] Optionally, the electronic device 1 may further include a user interface, which may be a display or an input unit (such as a keyboard). Optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0133] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0134] The data acquisition program 12 based on buried points stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve the following:
[0135] Get data collection instructions based on embedded points;
[0136] Parsing the format of the data acquisition instruction based on the embedded point to obtain the target data acquisition instruction based on the embedded point, matching the target data acquisition instruction based on the embedded point with the data acquisition instruction script based on the embedded point in the preset database, and generating a data acquisition processing script based on the embedded point;
[0137] Configure the business logic of the data collection and processing script based on the embedding point to obtain the target data collection and processing script based on the embedding point;
[0138] According to the target data collection and processing script based on the embedded point, the corresponding reconciliation data monitoring in the preset database is executed to obtain the reconciliation data monitoring result.
[0139] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiment is not repeated here. It should be emphasized that in order to further ensure the privacy and security of the above original data set, the above audit data can also be stored in a node of a blockchain.
[0140] Furthermore, if the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).
[0141] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the module division is merely a logical function division, and other division methods may be used in actual implementation.
[0142] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the purpose of the solution of this embodiment according to actual needs.
[0143] In addition, the functional modules in various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or hardware plus software functional modules.
[0144] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0145] Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the invention is defined by the appended claims rather than the foregoing description, and all changes that come within the meaning and range of equivalents of the claims are intended to be embraced therein. Any reference to a figure in a claim should not be construed as limiting the claim to which it relates.
[0146] Blockchain, as used in this article, refers to a novel application model for computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Blockchain is essentially a decentralized database, a series of data blocks generated using cryptographic methods. Each block contains information about a batch of online transactions, used to verify the validity of this information (to prevent counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, the platform product service layer, and the application service layer.
[0147] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a system claim may also be implemented by a single unit or device through software or hardware. Second-order terms are used to indicate names and do not imply any particular order.
[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A data collection method based on buried points, characterized in that: The method comprises: Detect a control click event, select a tracking control that matches the control click event from the tracking control set of the pre-built page, and obtain a target tracking control; Obtain the visualization tracking point category of the target tracking point control, where the visualization tracking point category includes behavior action visualization tracking point, gesture action visualization tracking point, table action visualization tracking point, warning box pop-up visualization tracking point, and page visit visualization tracking point; The unique identifier corresponding to the visual tracking point category is used as the key name, and the static parameters and dynamic parameters of the visual tracking point category are used as the key value. A non-tracking point parameter configuration table is generated according to the key name and the key value. The static parameters include: tracking point events, tracking point labels, and tracking point description information. The dynamic parameters include: uploaded data key name, object attribute name, attribute path, attribute target object class name, and object acquisition method. Based on the static parameters and dynamic parameters of the non-embedded parameter configuration table, the parameter data triggered by the control click event is collected.
2. The data collection method based on buried points according to claim 1, characterized in that: After obtaining the visual tracking point category of the target tracking point control, the method further includes: The enabled or disabled state of the visualization burying point category is controlled by a preset visualization burying point category control function.
3. The data collection method based on buried points according to claim 2, characterized in that: Selecting a tracking control that matches the click control from the tracking control set of the pre-built page to obtain a target tracking control includes: Obtaining a unique identifier of a buried control in the buried control set, wherein the unique identifier of the buried control is obtained by combining a page path and a label of the buried control in the buried control set; Generate a click identifier for the control click event; Calculating the similarity between the unique identifier and the click identifier; The embedded point control corresponding to the similarity greater than the preset threshold is selected as the target embedded point control.
4. The data collection method based on buried points according to any one of claims 1 to 3, characterized in that: The collecting of parameter data triggered by the control click event based on the static parameters and dynamic parameters of the non-embedded parameter configuration table includes: Obtaining static parameters and dynamic parameters of the non-embedded point parameter configuration table; According to the static parameters, collecting static parameter data triggered by the control click event; According to the dynamic parameters, dynamic parameter data triggered by the control click event is collected.
5. The data collection method based on buried points according to claim 4, characterized in that: The collecting, based on the dynamic parameters, the dynamic parameter data triggered by the control click event includes: Collect dynamic parameter data triggered by the control click event through one or more of the following combinations: Acquire a first object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the first object; Acquire a second object that triggers the click control through protocol routing, and collect dynamic parameter data corresponding to the trigger according to the second object; Acquire the third object that triggers the click control through the message chain object method, and collect the dynamic parameter data corresponding to the trigger according to the third object; Acquire the fourth object that triggers the click control through a class method, and collect dynamic parameter data corresponding to the trigger according to the fourth object; The fifth object of the click control is obtained through a singleton object method, and the dynamic parameter data of the corresponding trigger is collected according to the fifth object.
6. A data acquisition device based on buried points, characterized in that: The device comprises: A selection module is used to detect a control click event in a pre-built page, select a tracking control that matches the control click event from the tracking control set of the pre-built page, and obtain a target tracking control; A generation module is used to obtain the visual tracking point category of the target tracking point control, where the visual tracking point category includes behavioral action visual tracking point, gesture action visual tracking point, table action visual tracking point, warning box pop-up visual tracking point, and page visit visual tracking point; The generation module is further configured to use the unique identifier corresponding to the visual burying point category as a key name, and the static parameters and dynamic parameters of the visual burying point category as key values, and generate a non-burying point parameter configuration table according to the key name and the key value, wherein the static parameters include: burying point events, burying point labels, and burying point description information; and the dynamic parameters include: uploaded data key name, object attribute name, attribute path, attribute target object class name, and object acquisition method; The acquisition module is used to collect the parameter data triggered by the control click event based on the static parameters and dynamic parameters of the non-embedded parameter configuration table.
7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data collection method based on burial points as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the data collection method based on buried points as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Data acquisition method and system without event tracking and computer-readable storage medium
CN107864065A
User behavior data collection method and device, computer device and storage medium
CN109582418A