CN113672497A - Method, device and equipment for generating non-buried point event and storage medium - Google Patents

Method, device and equipment for generating non-buried point event and storage medium Download PDF

Info

Publication number
CN113672497A
CN113672497A CN202110799318.0A CN202110799318A CN113672497A CN 113672497 A CN113672497 A CN 113672497A CN 202110799318 A CN202110799318 A CN 202110799318A CN 113672497 A CN113672497 A CN 113672497A
Authority
CN
China
Prior art keywords
information
event
buried
buried point
file information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110799318.0A
Other languages
Chinese (zh)
Other versions
CN113672497B (en
Inventor
何彬英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mingyuan Cloud Technology Co Ltd
Original Assignee
Shenzhen Mingyuan Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mingyuan Cloud Technology Co Ltd filed Critical Shenzhen Mingyuan Cloud Technology Co Ltd
Priority to CN202110799318.0A priority Critical patent/CN113672497B/en
Publication of CN113672497A publication Critical patent/CN113672497A/en
Application granted granted Critical
Publication of CN113672497B publication Critical patent/CN113672497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention relates to the technical field of data processing, and discloses a method, a device, equipment and a storage medium for generating a non-buried point event, wherein the method comprises the following steps: acquiring a preset non-buried point event configuration rule and tenant service information; configuring tenant service information according to a preset non-buried point event configuration rule to obtain current file information; calling the current file information to a target data model through a preset processing function so that the target data model cleans the current file information and feeds back corresponding target file information; generating a corresponding non-buried point event according to the target file information; according to the method and the device, the current file information is obtained through the preset non-buried point event configuration rule and the tenant service information, and the non-buried point event is generated according to the preset processing function and the target data model.

Description

Method, device and equipment for generating non-buried point event and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a non-buried point event.
Background
With the rapid development of internet technology, various internet-based Application programs (apps) are produced, in order to verify whether the service logic of a source code is smooth, user path analysis, use of common functions, common methods and the like as a whole, it is necessary to add a buried point in a bottom source code corresponding to an Application program to obtain a data index of the Application program for verification.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for generating a non-buried point event, and aims to solve the technical problem that the prior art cannot effectively improve the analysis efficiency of tenant service information.
In order to achieve the above object, the present invention provides a method for generating a buried-point-free event, where the method for generating a buried-point-free event includes the following steps:
acquiring a preset non-buried point event configuration rule and tenant service information;
configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information;
acquiring a preset processing function, and calling the current file information to a target data model through the preset processing function so that the target data model cleans the current file information and feeds back corresponding target file information;
and generating a corresponding non-buried point event according to the target file information.
Optionally, the configuring, according to the preset non-buried point event configuration rule, the tenant service information to obtain current file information includes:
acquiring page access event information, application program interface information and embedded point event information;
respectively configuring the tenant service information to the page access event information, the application program interface information and the buried point event information according to the preset non-buried point event configuration rule;
and generating current file information according to the configured page access event information, the application program interface information and the embedded point event information.
Optionally, the obtaining a preset processing function, and calling the current file information to a target data model through the preset processing function includes:
extracting the sequence relation of the parameter information in the current file information;
acquiring a preset processing function, and extracting type information of the preset processing function;
and sequentially calling the current file information to a target data model according to the sequential relation of the parameter information and the type information of the preset processing function.
Optionally, the target file information is obtained by classifying the parameter information in the current file information for a target data model, acquiring a target parameter type set, matching the parameter information types according to the target parameter type set, and cleaning and feeding back the current file information according to a matching result.
Optionally, the target file information is obtained by judging whether the current file information is abnormal for a target data model, extracting feature information of the current file information if the current file information is abnormal, inquiring a historical data set within a preset time period according to the feature information, and repairing and feeding back the current file information according to the historical data set.
Optionally, after generating the corresponding non-buried point event according to the target file information, the method further includes:
extracting parameter information of a non-buried point event;
acquiring user demand information, and analyzing the parameter information of the non-buried point event according to the user demand information;
acquiring a preset buried point event analysis result, and comparing the analyzed parameter information with the preset buried point event analysis result;
and when the fault tolerance of the comparison result is smaller than the preset fault tolerance, monitoring the tenant service information according to the non-buried point event.
Optionally, the obtaining user demand information and analyzing the parameter information of the non-buried point event according to the user demand information include:
acquiring user demand information, and extracting analysis dimension information of the user demand information;
and sequentially analyzing the parameter information of the non-buried point event according to the analysis dimension information.
In order to achieve the above object, the present invention further provides a buried point-free event generating device, including:
the acquisition module is used for acquiring preset non-buried point event configuration rules and tenant service information;
the configuration module is used for configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information;
the cleaning module is used for acquiring a preset processing function, calling the current file information to a target data model through the preset processing function, so that the target data model cleans the current file information and feeds back corresponding target file information;
and the generating module is used for generating a corresponding non-buried point event according to the target file information.
In addition, in order to achieve the above object, the present invention further provides a device for generating a buried-point-free event, including: the system comprises a memory, a processor and a program for generating a buried-point-free event, wherein the program for generating a buried-point-free event is stored in the memory and can run on the processor, and the program for generating a buried-point-free event is configured to realize the method for generating a buried-point-free event.
In addition, in order to achieve the above object, the present invention further provides a storage medium having a program for generating a buried-point-free event stored thereon, wherein the program for generating a buried-point-free event realizes the method for generating a buried-point-free event as described above when executed by a processor.
The method for generating the non-buried point event comprises the steps of acquiring a preset non-buried point event configuration rule and tenant service information; configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information; acquiring a preset processing function, and calling the current file information to a target data model through the preset processing function so that the target data model cleans the current file information and feeds back corresponding target file information; generating a corresponding non-buried point event according to the target file information; according to the method and the device, the current file information is obtained through the preset non-buried point event configuration rule and the tenant service information, and the non-buried point event is generated according to the preset processing function and the target data model.
Drawings
Fig. 1 is a schematic structural diagram of a device for generating a non-buried event in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for generating a non-buried point event according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for generating a non-buried point event according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of a system for generating a non-buried point event according to an embodiment of a method for generating a non-buried point event according to the present invention;
FIG. 5 is a flowchart illustrating a method for generating a non-buried point event according to a third embodiment of the present invention;
fig. 6 is a functional block diagram of a device for generating a non-buried point event according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a device for generating a non-buried point event in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the generating device of the non-buried point event may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a definition of a generating device for a buried point free event and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a program for generating a landless event.
In the buried-point-free event generating apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the device for generating a non-buried point event according to the present invention may be provided in the device for generating a non-buried point event, and the device for generating a non-buried point event calls the program for generating a non-buried point event stored in the memory 1005 through the processor 1001 and executes the method for generating a non-buried point event according to the embodiment of the present invention.
Based on the hardware structure, the embodiment of the method for generating the non-buried point event is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a method for generating a non-buried point event according to the present invention.
In a first embodiment, the method for generating a buried-point-free event includes the following steps:
and step S10, acquiring preset non-buried point event configuration rules and tenant service information.
It should be noted that the execution subject of the present embodiment is a device for generating a non-buried point event, and may also be other devices that can implement the same or similar functions, such as a system for generating a non-buried point event.
It should be understood that the preset un-buried point event configuration rule refers to a rule for configuring the service information of each tenant and generating an un-buried point event, and the un-buried point event refers to an event that can monitor a source code without invading the source code of a program, so that different tenant personnel can complete the generation of the un-buried point event, for example, product operation, art designing and other personnel.
It can be understood that the tenant service information refers to service information of a tenant to be monitored, the tenant is a company, that is, service information of each company, for example, the service information of company a mainly serves as an online store, the service information of company B mainly serves as a restaurant, the service information of company C mainly serves as an education tutor, and the like, the service information of the tenant is different, and monitored source codes are also different.
In specific implementation, the non-buried point event generating system acquires a preset non-buried point event configuration rule and tenant service information.
Step S20, configuring the tenant service information according to the preset non-buried event configuration rule to obtain the current file information.
It should be understood that, after obtaining the preset non-buried point event configuration rule and the tenant service information, configuring the tenant service information according to the preset non-buried point configuration rule to obtain current file information, where the current file information refers to a set of matched tenant service information, and includes: page access event information, Application Programming Interface (API) information, and buried point event information.
It can be understood that after the tenant service information is obtained, the type and the parameter information of the tenant service information need to be identified, a corresponding page, an API interface and a buried point event are designed according to parameters in an identification result, and then the page, the API interface and the buried point event are configured according to a preset non-buried point event configuration rule to obtain current file information.
In specific implementation, the non-buried point event generating system configures the tenant service information according to the preset non-buried point event configuration rule to obtain current file information.
Step S30, acquiring a preset processing function, and calling the current file information to a target data model through the preset processing function, so that the target data model cleans the current file information and feeds back corresponding target file information.
It should be understood that the preset processing function refers to a function for processing a specific data source, and after obtaining the current file information, the current file information is synchronized to the data storage module at regular time, so that the data storage module generates a corresponding data source according to the current file information, where the data source includes page access event information, application program interface information, and embedded point event information, and in a specific implementation, the data sources are respectively: fct _ PAGE _ view _ v3, fct _ API _ request _ v3, and fct _ EVENT _ defined _ v3, where the preset machining function has specificity to the function called when machining the data source, and in the specific implementation, the preset machining function is PAGE _ EVENT _ MATCH, API _ EVENT _ MATCH, and CUSTOM _ EVENT _ MATCH, respectively, and the specific function call is as follows: fct _ PAGE _ view _ v3 calls PAGE _ EVENT _ MATCH function, fct _ API _ request _ v3 calls API _ EVENT _ MATCH function, and fct _ EVENT _ defined _ v3 calls CUSTOM _ EVENT _ MATCH function.
It should be noted that, the current file information is called to a target data model through the preset processing function, specifically: extracting the sequence relation of the parameter information in the current file information; acquiring a preset processing function, and extracting type information of the preset processing function; and sequentially calling the current file information to a target data model according to the sequential relation of the parameter information and the type information of the preset processing function.
It can be understood that the sequential relationship refers to a relationship between data sources in the current document information, the sequential relationship is consistent with a relationship in which the preset non-buried point event configuration rule configures tenant service information, and may be page access event information, application program interface information, buried point event information, or other sequential relationships, which is not limited in this embodiment, and the sequential relationship between the page access event information, the application program interface information, and the buried point event information is taken as an example to describe, after the sequential relationship is obtained, by matching the data type of the current document information with the type of the preset processing function, the data sources of the current document information that are successfully matched are sequentially called to the target data module.
It should be understood that the target data model refers to a model that cleans the input data, through which corrections and refinements to the data can be made, and the cleaning of the target data model to the data is divided into two modes, the first mode is parameter matching, the second mode is cleaning of the history data triggered by a user manually, the first mode is specifically classifying the parameter information in the current file information to obtain a target parameter type set, matching the parameter information types according to the target parameter type set, cleaning the current file information according to the matching result, and the target parameter type set refers to all parameter types of the buried point event, the target parameter types are matched with the parameter information types in the current file information, and the parameter information in the current file information is cleaned according to the matching result. The second method is to determine whether the current file information is abnormal, if the current file information is abnormal, extract the feature information of the current file information, querying a historical data set in a preset time period according to the characteristic information, repairing and feeding back the current file information according to the historical data set, wherein, after the current file information is obtained, the state of the current file information is judged, the state at the moment is divided into normal state and abnormal state, in normal state, the current file information is directly used as the target file information, in abnormal state, the corresponding historical data set is inquired according to the characteristic information of the current file information, and reading the historical data corresponding to the characteristic information according to the historical data set, and repairing the data lacked in the current file information so as to clean the current file information through the target data model.
In specific implementation, the non-buried point event generating system acquires a preset processing function, and calls the current file information to a target data model through the preset processing function, so that the target data model cleans the current file information and feeds back corresponding target file information.
And step S40, generating a corresponding non-buried point event according to the target file information.
It should be understood that after the target file information is obtained, a corresponding non-buried point event is generated according to the target file information, and the non-buried point event is stored in the data storage module, so that the data storage module outputs the non-buried point event for a user to analyze the non-buried point event, and the non-buried point event is generated by the cleaned page access event information, the application program interface information and the buried point event information.
In specific implementation, the non-buried point event generating system generates a corresponding non-buried point event according to the target file information.
In the embodiment, a preset non-buried point event configuration rule and tenant service information are obtained; configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information; acquiring a preset processing function, and calling the current file information to a target data model through the preset processing function so that the target data model cleans the current file information and feeds back corresponding target file information; generating a corresponding non-buried point event according to the target file information; the method comprises the steps of obtaining current file information through a preset non-buried point event configuration rule and tenant service information, and generating a non-buried point event according to a preset processing function and a target data model.
In an embodiment, as shown in fig. 3, a second embodiment of the method for generating a non-buried point event according to the present invention is proposed based on the first embodiment, and the step S20 includes:
step S201, acquiring page access event information, application program interface information, and embedded point event information.
It should be understood that the page access event information refers to event information set according to tenant service information when a page is accessed, the page access event information is event information generated by mutual access of two or more pages, when the page accesses other pages or an external link, an application program interface is used by the page, the application program interfaces used in the process of accessing different pages are different, the application program interface information refers to information using the program interface when the page is accessed, the application program interface is a page access channel, the embedded point event information refers to event information set when a source code is monitored, and usually a code segment is set under the source code to monitor the source code.
In a specific implementation, the non-buried point event generating system acquires page access event information, application program interface information and buried point event information.
Step S202, the tenant service information is respectively configured to the page access event information, the application program interface information and the buried point event information according to the preset non-buried point event configuration rule.
It can be understood that after the preset non-buried point event configuration rule and the tenant service information are obtained, the service information of the tenant is written into the page access event information, the application program interface information and the buried point event information respectively through the preset non-buried point event configuration rule, the page access event information is configured to include a page address, a page parameter rule and the like, the application program interface information is configured to include an API address, an API parameter, an API response time, an API state and the like, and the buried point event information is configured to include a buried point event name, a service module, an event LOG content relationship and the like.
In a specific implementation, the non-buried point event generating system configures the tenant service information to the page access event information, the application program interface information, and the buried point event information according to the preset non-buried point event configuration rule.
Step S203, current file information is generated according to the configured page access event information, the application program interface information and the buried point event information.
It should be understood that after the page access event information, the application program interface information and the buried point event information are configured, the configured page access event information, the application program interface information and the buried point event information are timed and synchronized to the data storage module, and at this time, the data storage module generates a corresponding data source, that is, current file information, according to the configured page access event information, the application program interface information and the buried point event information.
In specific implementation, the non-embedded point event generating system generates current file information according to the configured page access event information, the application program interface information and the embedded point event information.
It can be understood that, referring to fig. 4, fig. 4 is a schematic diagram of a non-buried point event generating system according to an embodiment of the method for generating a non-buried point event of the present invention, where the generating system includes an execution subject of the method, that is, the non-buried point event generating system, specifically: configuring page access time information, application program interface information and buried point event information by different users, synchronizing the configured page access time information, application program interface information and buried point event information to a data storage module at regular time, generating current file information, namely data sources, according to the page access time information, the application program interface information and the buried point event information, wherein the data sources are rds _ app _ no _ event _ tracking, fct _ page _ view _ v3, fct _ api _ request _ v3 and fct _ event _ defined _ v3 respectively, the names of the data sources are set according to data setting rules and data purposes, for example, rds _ app _ no _ event _ tracking corresponds to application program management, fct _ page _ view _ v3 corresponds to pages, fct _ api _ page _ view _ v3 corresponds to application program interface and fct _ event _ defined _ v3 corresponds to buried point event, sequentially calling parameter information in the current file information to a target data model through a preset processing function, wherein the preset processing function corresponds to data in a data source one by one, for example, the processing function corresponding to fct _ PAGE _ view _ v3 is PAGE _ even _ MATCH, the processing function corresponding to fct _ API _ request _ v3 is API _ EVENT _ MATCH, and the processing function corresponding to fct _ EVENT _ defined _ v3 is CUSTOM _ EVENT _ MATCH, the names of the preset processing functions are highly consistent with the data names in the data source and are all directly set through a naming rule, the target data model cleans the parameter information in the current file information, after cleaning, feeds back the corresponding target file information, generates and outputs a corresponding non-buried point EVENT according to the target file information, the corresponding name is fct _ no _ EVENT _ tracking _ v3, the name of the corresponding non-embedded point EVENT corresponds to the app _ tracking _ EVENT _ tracking _ v _ tracking _ 3, by carrying out path analysis and target transformation analysis on the buried-point-free event.
In the embodiment, page access event information, application program interface information and embedded point event information are acquired; respectively configuring the tenant service information to the page access event information, the application program interface information and the buried point event information according to the preset non-buried point event configuration rule; generating current file information according to the configured page access event information, the application program interface information and the embedded point event information; the page access event information, the application program interface information and the embedded point event information are configured through a preset non-embedded point event configuration rule, and the current file information is generated according to the configured page access event information, the configured application program interface information and the configured embedded point event information, so that the accuracy of obtaining the current file information can be effectively improved.
In an embodiment, as shown in fig. 5, a third embodiment of the method for generating a non-buried point event according to the present invention is proposed based on the first embodiment, and after the step S40, the method further includes:
step S501, extracting parameter information of the non-buried point event.
It can be understood that after the non-buried point event is obtained, the parameter information of the non-buried point event is extracted, where the parameter information refers to parameter information obtained by monitoring the source code of the tenant service information by the non-buried point event, and includes source code operation information, state information, occurred abnormal information, and the like.
In a specific implementation, the non-buried point event generating system extracts parameter information of the non-buried point event.
Step S502, obtaining user requirement information, and analyzing the parameter information of the non-buried point event according to the user requirement information.
It is understood that the user requirement information refers to information how a user needs to analyze a non-buried point event, for example, the user wants to perform deep analysis on the non-buried point event from point to surface from shallow to deep, or the user just wants to count the number of times that the source code has an abnormality during the operation, and so on, judge the quality of the source code through the analysis on the non-buried point event, rate the source code, and so on.
In specific implementation, the non-buried point event generating system acquires user demand information, and analyzes the parameter information of the non-buried point event according to the user demand information.
Step S503, obtaining a preset buried point event analysis result, and comparing the analyzed parameter information with the preset buried point event analysis result.
It should be understood that after analyzing the parameter information of the non-buried point event, the analyzed parameter information is compared with a preset buried point event analysis result, in this case, the monitoring efficiency and accuracy of the source code monitoring process are compared, the preset buried point event analysis result refers to a result of monitoring and analyzing the source code by setting a code segment in the source code, and the most suitable monitoring mode of the source code is determined by comparing the parameter information with the preset buried point event analysis result.
In specific implementation, the non-buried point event generating system obtains a preset buried point event analysis result, and compares the analyzed parameter information with the preset buried point event analysis result.
And step S504, when the fault tolerance of the comparison result is smaller than the preset fault tolerance, monitoring the tenant service information according to the non-buried point event.
It can be understood that the fault tolerance refers to a comprehensive evaluation index of efficiency and accuracy of source code monitoring of a buried point event and a non-buried point event, the preset fault tolerance refers to efficiency and accuracy of source code monitoring of the buried point event, for example, the preset fault tolerance of the buried point event and the fault tolerance of the non-buried point event are both 98%, the non-buried point event can be generated by different employees, the setting of the buried point event must be a professional technician, and the service information of the tenant is monitored by the non-buried point event.
In a specific implementation, when the fault tolerance of the comparison result is smaller than the preset fault tolerance, the non-buried point event generating system monitors the tenant service information according to the non-buried point event.
The embodiment extracts the parameter information of the non-buried point event; acquiring user demand information, and analyzing the parameter information of the non-buried point event according to the user demand information; acquiring a preset buried point event analysis result, and comparing the analyzed parameter information with the preset buried point event analysis result; when the fault tolerance of the comparison result is smaller than the preset fault tolerance, monitoring the tenant service information according to the non-buried point event; by comparing the parameter information of the non-buried point event with the analysis result of the preset buried point event, when the fault tolerance rate of the comparison result is less than the preset fault tolerance rate, the tenant service information is monitored through the non-buried point event, so that the analysis efficiency of the tenant service information can be effectively improved.
Furthermore, an embodiment of the present invention further provides a storage medium, where a program for generating a non-buried point event is stored, and when the program for generating a non-buried point event is executed by a processor, the steps of the method for generating a non-buried point event are implemented.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, referring to fig. 6, an embodiment of the present invention further provides a device for generating a buried-point-free event, where the device for generating a buried-point-free event includes:
the obtaining module 10 is configured to obtain a preset non-buried point event configuration rule and tenant service information.
It should be understood that the preset un-buried point event configuration rule refers to a rule for configuring the service information of each tenant and generating an un-buried point event, and the un-buried point event refers to an event that can monitor a source code without invading the source code of a program, so that different tenant personnel can complete the generation of the un-buried point event, for example, product operation, art designing and other personnel.
It can be understood that the tenant service information refers to service information of a tenant to be monitored, the tenant is a company, that is, service information of each company, for example, the service information of company a mainly serves as an online store, the service information of company B mainly serves as a restaurant, the service information of company C mainly serves as an education tutor, and the like, the service information of the tenant is different, and monitored source codes are also different.
In specific implementation, the non-buried point event generating system acquires a preset non-buried point event configuration rule and tenant service information.
And the configuration module 20 is configured to configure the tenant service information according to the preset non-buried point event configuration rule to obtain current file information.
It should be understood that, after obtaining the preset non-buried point event configuration rule and the tenant service information, configuring the tenant service information according to the preset non-buried point configuration rule to obtain current file information, where the current file information refers to a set of matched tenant service information, and includes: page access event information, Application Programming Interface (API) information, and buried point event information.
It can be understood that after the tenant service information is obtained, the type and the parameter information of the tenant service information need to be identified, a corresponding page, an API interface and a buried point event are designed according to parameters in an identification result, and then the page, the API interface and the buried point event are configured according to a preset non-buried point event configuration rule to obtain current file information.
In specific implementation, the non-buried point event generating system configures the tenant service information according to the preset non-buried point event configuration rule to obtain current file information.
The cleaning module 30 is configured to obtain a preset processing function, and call the current file information to a target data model through the preset processing function, so that the target data model cleans the current file information and feeds back corresponding target file information.
It should be understood that the preset processing function refers to a function for processing a specific data source, and after obtaining the current file information, the current file information is synchronized to the data storage module at regular time, so that the data storage module generates a corresponding data source according to the current file information, where the data source includes page access event information, application program interface information, and embedded point event information, and in a specific implementation, the data sources are respectively: fct _ PAGE _ view _ v3, fct _ API _ request _ v3, and fct _ EVENT _ defined _ v3, where the preset machining function has specificity to the function called when machining the data source, and in the specific implementation, the preset machining function is PAGE _ EVENT _ MATCH, API _ EVENT _ MATCH, and CUSTOM _ EVENT _ MATCH, respectively, and the specific function call is as follows: fct _ PAGE _ view _ v3 calls PAGE _ EVENT _ MATCH function, fct _ API _ request _ v3 calls API _ EVENT _ MATCH function, and fct _ EVENT _ defined _ v3 calls CUSTOM _ EVENT _ MATCH function.
It should be noted that, the current file information is called to a target data model through the preset processing function, specifically: extracting the sequence relation of the parameter information in the current file information; acquiring a preset processing function, and extracting type information of the preset processing function; and sequentially calling the current file information to a target data model according to the sequential relation of the parameter information and the type information of the preset processing function.
It can be understood that the sequential relationship refers to a relationship between data sources in the current document information, the sequential relationship is consistent with a relationship in which the preset non-buried point event configuration rule configures tenant service information, and may be page access event information, application program interface information, buried point event information, or other sequential relationships, which is not limited in this embodiment, and the sequential relationship between the page access event information, the application program interface information, and the buried point event information is taken as an example to describe, after the sequential relationship is obtained, by matching the data type of the current document information with the type of the preset processing function, the data sources of the current document information that are successfully matched are sequentially called to the target data module.
It should be understood that the target data model refers to a model that cleans the input data, through which corrections and refinements to the data can be made, and the cleaning of the target data model to the data is divided into two modes, the first mode is parameter matching, the second mode is cleaning of the history data triggered by a user manually, the first mode is specifically classifying the parameter information in the current file information to obtain a target parameter type set, matching the parameter information types according to the target parameter type set, cleaning the current file information according to the matching result, and the target parameter type set refers to all parameter types of the buried point event, the target parameter types are matched with the parameter information types in the current file information, and the parameter information in the current file information is cleaned according to the matching result. The second method is to determine whether the current file information is abnormal, if the current file information is abnormal, extract the feature information of the current file information, querying a historical data set in a preset time period according to the characteristic information, repairing and feeding back the current file information according to the historical data set, wherein, after the current file information is obtained, the state of the current file information is judged, the state at the moment is divided into normal state and abnormal state, in normal state, the current file information is directly used as the target file information, in abnormal state, the corresponding historical data set is inquired according to the characteristic information of the current file information, and reading the historical data corresponding to the characteristic information according to the historical data set, and repairing the data lacked in the current file information so as to clean the current file information through the target data model.
In specific implementation, the non-buried point event generating system acquires a preset processing function, and calls the current file information to a target data model through the preset processing function, so that the target data model cleans the current file information and feeds back corresponding target file information.
And the generating module 40 is configured to generate a corresponding non-buried point event according to the target file information.
It should be understood that after the target file information is obtained, a corresponding non-buried point event is generated according to the target file information, and the non-buried point event is stored in the data storage module, so that the data storage module outputs the non-buried point event for a user to analyze the non-buried point event, and the non-buried point event is generated by the cleaned page access event information, the application program interface information and the buried point event information.
In specific implementation, the non-buried point event generating system generates a corresponding non-buried point event according to the target file information.
In the embodiment, a preset non-buried point event configuration rule and tenant service information are obtained; configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information; acquiring a preset processing function, and calling the current file information to a target data model through the preset processing function so that the target data model cleans the current file information and feeds back corresponding target file information; generating a corresponding non-buried point event according to the target file information; the method comprises the steps of obtaining current file information through a preset non-buried point event configuration rule and tenant service information, and generating a non-buried point event according to a preset processing function and a target data model.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the method for generating a buried-point-free event provided in any embodiment of the present invention, and are not described herein again.
In an embodiment, the configuration module 20 is further configured to obtain page access event information, application program interface information, and buried point event information; respectively configuring the tenant service information to the page access event information, the application program interface information and the buried point event information according to the preset non-buried point event configuration rule; and generating current file information according to the configured page access event information, the application program interface information and the embedded point event information.
In an embodiment, the cleaning module 30 is further configured to extract a sequential relationship of parameter information in the current file information; acquiring a preset processing function, and extracting type information of the preset processing function; and sequentially calling the current file information to a target data model according to the sequential relation of the parameter information and the type information of the preset processing function.
In an embodiment, the cleaning module 30 is further configured to classify the parameter information in the current file information for a target data model by the target file information, obtain a target parameter type set, match the parameter information types according to the target parameter type set, and clean and feed back the current file information according to a matching result.
In an embodiment, the cleaning module 30 is further configured to determine whether the current file information is abnormal for a target data model by using the target file information, extract feature information of the current file information if the current file information is abnormal, query a historical data set within a preset time period according to the feature information, and repair and feed back the current file information according to the historical data set.
In an embodiment, the generating module 40 is further configured to extract parameter information of a non-buried point event; acquiring user demand information, and analyzing the parameter information of the non-buried point event according to the user demand information; acquiring a preset buried point event analysis result, and comparing the analyzed parameter information with the preset buried point event analysis result; and when the fault tolerance of the comparison result is smaller than the preset fault tolerance, monitoring the tenant service information according to the non-buried point event.
In an embodiment, the generating module 40 is further configured to obtain user requirement information, and extract analysis dimension information of the user requirement information; and sequentially analyzing the parameter information of the non-buried point event according to the analysis dimension information.
Other embodiments or implementations of the apparatus for generating a buried point free event according to the present invention can refer to the above embodiments of the method, and are not intended to be redundant.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for generating a buried point-free event is characterized by comprising the following steps:
acquiring a preset non-buried point event configuration rule and tenant service information;
configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information;
acquiring a preset processing function, and calling the current file information to a target data model through the preset processing function so that the target data model cleans the current file information and feeds back corresponding target file information;
and generating a corresponding non-buried point event according to the target file information.
2. The method for generating a non-buried point event according to claim 1, wherein the configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information includes:
acquiring page access event information, application program interface information and embedded point event information;
respectively configuring the tenant service information to the page access event information, the application program interface information and the buried point event information according to the preset non-buried point event configuration rule;
and generating current file information according to the configured page access event information, the application program interface information and the embedded point event information.
3. The method for generating a buried-point-free event according to claim 1, wherein the obtaining a preset processing function, and calling the current file information to a target data model through the preset processing function, comprises:
extracting the sequence relation of the parameter information in the current file information;
acquiring a preset processing function, and extracting type information of the preset processing function;
and sequentially calling the current file information to a target data model according to the sequential relation of the parameter information and the type information of the preset processing function.
4. The method for generating a buried-point-free event according to claim 3, wherein the target file information is obtained by classifying parameter information in the current file information for a target data model, acquiring a target parameter type set, matching parameter information types according to the target parameter type set, and cleaning and feeding back the current file information according to a matching result.
5. The method as claimed in claim 3, wherein the target file information is obtained by determining whether the current file information is abnormal for a target data model, extracting the feature information of the current file information if the current file information is abnormal, querying a historical data set within a preset time period according to the feature information, and repairing and feeding back the current file information according to the historical data set.
6. The method for generating a buried-point-free event according to any one of claims 1 to 5, wherein after generating the corresponding buried-point-free event according to the target file information, the method further comprises:
extracting parameter information of a non-buried point event;
acquiring user demand information, and analyzing the parameter information of the non-buried point event according to the user demand information;
acquiring a preset buried point event analysis result, and comparing the analyzed parameter information with the preset buried point event analysis result;
and when the fault tolerance of the comparison result is smaller than the preset fault tolerance, monitoring the tenant service information according to the non-buried point event.
7. The method for generating a buried-point-free event according to claim 6, wherein the obtaining user requirement information and analyzing the parameter information of the buried-point-free event according to the user requirement information includes:
acquiring user demand information, and extracting analysis dimension information of the user demand information;
and sequentially analyzing the parameter information of the non-buried point event according to the analysis dimension information.
8. A device for generating a buried-point-free event, the device comprising:
the acquisition module is used for acquiring preset non-buried point event configuration rules and tenant service information;
the configuration module is used for configuring the tenant service information according to the preset non-buried point event configuration rule to obtain current file information;
the cleaning module is used for acquiring a preset processing function, calling the current file information to a target data model through the preset processing function, so that the target data model cleans the current file information and feeds back corresponding target file information;
and the generating module is used for generating a corresponding non-buried point event according to the target file information.
9. A buried point-free event generating device, comprising: a memory, a processor, and a program for generating a buried-point-free event stored on the memory and executable on the processor, the program for generating a buried-point-free event being configured to implement the method for generating a buried-point-free event according to any one of claims 1 to 7.
10. A storage medium having stored thereon a buried-point-free event generation program that, when executed by a processor, implements the buried-point-free event generation method according to any one of claims 1 to 7.
CN202110799318.0A 2021-07-14 2021-07-14 Method, device and equipment for generating non-buried point event and storage medium Active CN113672497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110799318.0A CN113672497B (en) 2021-07-14 2021-07-14 Method, device and equipment for generating non-buried point event and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110799318.0A CN113672497B (en) 2021-07-14 2021-07-14 Method, device and equipment for generating non-buried point event and storage medium

Publications (2)

Publication Number Publication Date
CN113672497A true CN113672497A (en) 2021-11-19
CN113672497B CN113672497B (en) 2022-08-12

Family

ID=78539349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110799318.0A Active CN113672497B (en) 2021-07-14 2021-07-14 Method, device and equipment for generating non-buried point event and storage medium

Country Status (1)

Country Link
CN (1) CN113672497B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113947391A (en) * 2021-12-20 2022-01-18 深圳市明源云采购科技有限公司 Web-based adoption and enrollment system management method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582827A (en) * 2018-11-30 2019-04-05 深圳市小牛普惠投资管理有限公司 Nothing buries point data acquisition method, device, computer equipment and storage medium
CN113014623A (en) * 2021-02-05 2021-06-22 招联消费金融有限公司 Method and device for processing real-time streaming data of embedded point, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582827A (en) * 2018-11-30 2019-04-05 深圳市小牛普惠投资管理有限公司 Nothing buries point data acquisition method, device, computer equipment and storage medium
CN113014623A (en) * 2021-02-05 2021-06-22 招联消费金融有限公司 Method and device for processing real-time streaming data of embedded point, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
产品大秘籍: "6大步骤:快速学会如何进行数据埋点", 《HTTP://WWW.WOSHIPM.COM/DATA-ANALYSIS/4607622.HTML》 *
吴荣灿: "基于大数据技术的用户行为分析平台的设计与实现", 《电脑知识与技术》 *
富强: "美团点评前端无痕埋点实践", 《HTTPS://TECH.MEITUAN.COM/2017/03/02/MT-MOBILE-ANALYTICS-PRACTICE.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113947391A (en) * 2021-12-20 2022-01-18 深圳市明源云采购科技有限公司 Web-based adoption and enrollment system management method, device, equipment and storage medium
CN113947391B (en) * 2021-12-20 2022-04-08 深圳市明源云采购科技有限公司 Web-based adoption and enrollment system management method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113672497B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN110019486B (en) Data acquisition method, device, equipment and storage medium
CN107819627B (en) System fault processing method and server
CN109062780B (en) Development method of automatic test case and terminal equipment
CN107305611B (en) Method and device for establishing model corresponding to malicious account and method and device for identifying malicious account
CN110798380B (en) Data acquisition method, system, device, test equipment and test server
CN111835582A (en) Configuration method and device of Internet of things inspection equipment and computer equipment
CN112613917A (en) Information pushing method, device and equipment based on user portrait and storage medium
CN112667697A (en) Method and device for acquiring real estate information by combining RPA and AI
CN110956269A (en) Data model generation method, device, equipment and computer storage medium
CN103313289A (en) Wap system automatic test system and method
CN112416778A (en) Test case recommendation method and device and electronic equipment
CN115935035A (en) RPA flow visualization management method, device, equipment and readable storage medium
CN112905323A (en) Data processing method and device, electronic equipment and storage medium
US20190354991A1 (en) System and method for managing service requests
CN113672497B (en) Method, device and equipment for generating non-buried point event and storage medium
CN108650123B (en) Fault information recording method, device, equipment and storage medium
CN107430590B (en) System and method for data comparison
CN111061733B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN112491649A (en) Interface joint debugging test method and device, electronic equipment and storage medium
CN109302336B (en) Mail generation method and device, computer equipment and storage medium
CN111641584A (en) Camera weak password monitoring method and device
CN111061637A (en) Interface test method, interface test device and storage medium
CN115860877A (en) Product marketing method, device, equipment and medium
CN112817816B (en) Embedded point processing method and device, computer equipment and storage medium
CN115237796A (en) Link abnormity identification method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant