Business data monitoring method, device, electronic device and computer readable medium

By directly processing and storing business data in the target application, and using built-in monitoring templates for monitoring, it solves the problems of complex monitoring processes and high resource consumption in the existing technology, and achieves the effects of simplifying the process and reducing costs.

CN118132383BActive Publication Date: 2024-09-17北京衡石科技有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410332541.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-22
Publication Date
2024-09-17
Estimated Expiration
2044-03-22

AI Technical Summary

Technical Problem

Existing business data monitoring methods have complicated processes, resulting in long delays in obtaining monitoring results, consuming more human resources and server resources, and high operation and maintenance costs.

Method used

By obtaining the application operation data of the target application, preprocessing, feature screening, vectorization representation and clustering processing are performed, mapped to the preset table structure, directly stored in the database, and the built-in business data monitoring template of the target application is used for visual processing. Eliminate the involvement of third-party monitoring systems.

Benefits of technology

It simplifies the monitoring process, shortens the delay in obtaining monitoring results, reduces server resource consumption and operation and maintenance costs, and reduces the consumption of human resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118132383B
    Figure CN118132383B
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a business data monitoring method, device, electronic device and computer-readable medium. A specific implementation of the method includes: performing feature screening processing on a set of operation data field information groups to obtain a set of operation data feature information groups; performing vectorized representation on each application operation data to obtain each operation data feature vector; performing clustering processing on each operation data feature information group according to each operation data feature vector to obtain each target feature information group set; mapping each business data set to preset table structure information to obtain each target business data set; storing each target business data set in a database; and visualizing each target business data set stored in the database according to the selected business data monitoring template. This implementation simplifies the monitoring process, shortens the delay in obtaining monitoring results and reduces server resource consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a business data processing method, device, electronic device, and computer-readable medium. Background Art

[0002] Business data monitoring can analyze and count the data generated during the operation of the target application in order to discover the details and abnormalities of each business in the application. At present, the main way to monitor business data is for users to export the target application log and send it to a third-party monitoring system service provider, who will analyze the business data and give feedback, or deploy the third-party monitoring system into the target application environment and directly connect the third-party monitoring system to the target application for business data monitoring.

[0003] In practice, when the above method is used to monitor business data, the following technical problems often occur:

[0004] For the monitoring system service provider to analyze business data and provide feedback, it needs to go through a series of processes, including collecting application data, downloading and sending, the monitoring system service provider receiving and analyzing the data, and feeding back the analysis results. The process is complicated, there is a large delay in obtaining monitoring results, and users are required to continuously cooperate in exporting data to the third-party monitoring system service provider, resulting in a large amount of human resources. Directly connecting the third-party monitoring system to the target application requires deploying the third-party monitoring system to the server corresponding to the target application, resulting in high consumption of server resources and high operation and maintenance costs.

[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose a business data monitoring method, an apparatus, an electronic device, and a computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide a business data monitoring method, the method comprising: obtaining an application operation data set of a target application; preprocessing the above application operation data set to obtain an operation data field information group set, wherein the operation data field information groups in the above operation data field information group set correspond one-to-one to the application operation data in the above application operation data set; performing feature screening processing on the above operation data field information group set according to each preset business feature information to obtain an operation data feature information group set, wherein the number of preset business feature information in the above each preset business feature information is equal to the number of operation data feature information in the operation data feature information group; and processing each operation data feature information in the above operation data feature information group set. The groups are vectorized to obtain respective operation data feature vectors; based on the above-mentioned respective operation data feature vectors, the respective operation data feature information groups in the above-mentioned operation data feature information group set are clustered to obtain respective target feature information group sets as respective business data sets; the above-mentioned respective business data sets are mapped to preset table structure information to obtain respective target business data sets; the above-mentioned respective target business data sets are stored in an associated database; in response to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, based on the selected business data monitoring template, the respective target business data sets stored in the above-mentioned database are visualized to monitor the business data, wherein the above-mentioned business data monitoring page corresponds to the above-mentioned target application.

[0009] In a second aspect, some embodiments of the present disclosure provide a business data monitoring device, the device comprising: an acquisition unit, configured to acquire an application operation data set of a target application; a preprocessing unit, configured to preprocess the above application operation data set to obtain an operation data field information group set, wherein the operation data field information groups in the above operation data field information group set correspond one-to-one to the application operation data in the above application operation data set; a screening processing unit, configured to perform feature screening processing on the above operation data field information group set according to each preset business feature information, to obtain an operation data feature information group set, wherein the number of preset business feature information in each preset business feature information is equal to the number of operation data feature information in the operation data feature information group; a vectorization processing unit, configured to perform feature screening processing on each operation data feature information group in the above operation data feature information group set. Vectorized representation is performed to obtain each operation data feature vector; a clustering processing unit is configured to perform clustering processing on each operation data feature information group in the above operation data feature information group set according to the above operation data feature vectors, and obtain each target feature information group set as each business data set; a mapping unit is configured to map the above each business data set to preset table structure information, and obtain each target business data set; a storage unit is configured to store the above each target business data set in an associated database; a visualization processing unit is configured to respond to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, and according to the selected business data monitoring template, visualize the each target business data set stored in the above database to monitor the business data, wherein the above business data monitoring page corresponds to the above target application.

[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0012] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the business data monitoring method of some embodiments of the present disclosure, the monitoring process is simplified, the delay in obtaining monitoring results is shortened, and the server resource consumption is reduced. Specifically, the reasons for the complex monitoring process, large delay in obtaining monitoring results, and high server resource consumption are: the monitoring system service provider needs to go through a series of processes such as collecting application data, downloading and sending, the monitoring system service provider receiving data and analyzing, and feedback of analysis results for analyzing business data and providing feedback. The process is complicated, there is a large delay in obtaining monitoring results, and users need to continuously cooperate to export data to the third-party monitoring system service provider, resulting in more human resources consumption; directly connecting the third-party monitoring system to the target application requires the third-party monitoring system to be deployed to the server corresponding to the target application, resulting in high consumption of server resources and high operation and maintenance costs. Based on this, the business data monitoring method of some embodiments of the present disclosure first obtains the application operation data set of the target application. Thus, the application operation data set generated in real time by the target application can be obtained. Then, the above-mentioned application operation data set is preprocessed to obtain an operation data field information group set, wherein the operation data field information group in the above-mentioned operation data field information group set corresponds to the application operation data in the above-mentioned application operation data set one by one. Thus, each application operation data after preprocessing can be obtained. Afterwards, according to each preset business feature information, the above-mentioned operation data field information group set is subjected to feature screening processing to obtain an operation data feature information group set, wherein the number of preset business feature information in the above-mentioned each preset business feature information is equal to the number of operation data feature information in the operation data feature information group. Thus, each operation data feature information group after screening processing can be obtained. Unnecessary fields in the operation data feature information group can be removed. Then, each operation data feature information group in the above-mentioned operation data feature information group set is vectorized to obtain each operation data feature vector. Thus, each operation data feature vector corresponding to each operation data feature information group can be obtained. Afterwards, according to each operation data feature vector, each operation data feature information group in the above-mentioned operation data feature information group set is clustered to obtain each target feature information group set as each business data set. Thus, each business data set representing different business categories can be obtained. Next, each of the above business data sets is mapped to the preset table structure information to obtain each target business data set. Thus, each target business data set consistent with the preset table structure information structure can be obtained. Afterwards, each of the above target business data sets is stored in an associated database. Thus, each target business data set can be stored in a database corresponding to the target application.Finally, in response to detecting the selection operation of the business data monitoring template acting on the business data monitoring page, the target business data sets stored in the above database are visualized according to the selected business data monitoring template to monitor the business data, wherein the above business data monitoring page corresponds to the above target application. Thus, the business data can be monitored and displayed according to the business data monitoring template. Also because the implemented business data monitoring method can directly connect the database and business data monitoring template of the target application, obtain the operation data of each application of the target application from the target application and perform a series of processing, and process it into a data table with the same table structure as the database of the target application, so as to directly use the built-in business data monitoring template of the target application to monitor the business data of the target application itself, omit the step of exporting the data to the third-party monitoring system for processing, reduce the delay in obtaining the monitoring results, and do not need to deploy the third-party monitoring system to the target application environment, saving server resources and the cost of operating and maintaining the third-party monitoring system. And no manual participation is required, reducing the consumption of human resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0014] Figure 1 is a flow chart of some embodiments of the business data monitoring method according to the present disclosure;

[0015] Figure 2 is a schematic diagram of the structure of some embodiments of the business data monitoring device according to the present disclosure;

[0016] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0019] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0020] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0022] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0023] Figure 1 The process 100 of some embodiments of the business data monitoring method according to the present disclosure is shown. The business data monitoring method comprises the following steps:

[0024] Step 101: Obtain an application running data set of a target application.

[0025] In some embodiments, the execution subject (e.g., computing device) of the business data monitoring method may obtain an application operation data set of a target application. The target application may be an application of business data to be monitored. The application operation data set may be various log data generated during the operation of the target application. In practice, the execution subject may obtain the application operation data set of the target application from a log server corresponding to the target application.

[0026] Step 102: pre-process the application running data set to obtain a running data field information group set.

[0027] In some embodiments, the above-mentioned execution subject may pre-process the above-mentioned application operation data set to obtain an operation data field information group set. Among them, the above-mentioned operation data field information group set may be obtained after pre-processing each application operation data in the application operation data set. The operation data field information groups in the above-mentioned operation data field information group set may correspond one-to-one to the application operation data in the above-mentioned application operation data set. The operation data field information groups in the above-mentioned operation data field information group set may be each field information included in the application operation data. The above-mentioned each field information may be each field and the field value corresponding to each field. In practice, the above-mentioned execution subject may obtain the operation data field information group set by pre-processing the above-mentioned application operation data set in various ways.

[0028] In some optional implementations of some embodiments, the execution subject may pre-process the application running data set to obtain a running data field information group set by the following steps:

[0029] In the first step, data segmentation processing is performed on each application operation data in the above application operation data set to obtain each operation data field information group. Among them, the operation data field information group in each operation data field information group may correspond to the application operation data in each application operation data. The operation data field information group in each operation data field information group may be each field information obtained after segmentation processing of the application operation data. The above field information may include but is not limited to multiple items of the following: user ID, timestamp, application state information, user interaction information, event ID event type, event description information, data source, business object ID, log level, exception or error code. The above application state information may be state information when the target application is running. For example, the application state information may include memory usage, CPU utilization, network connection status, etc. The above user interaction information may characterize the interaction process between the user and the target application. For example, the user interaction information may include user operations, input content and response results, etc. The event description information may characterize the specific situation of the event. For example, the event description information may include error messages, warning information, operation records, etc. The above data source may be the data source of the event or operation. For example, the data source may be a specific system, application, device or interface. In practice, the execution subject may perform data segmentation processing on each application operation data in the application operation data set according to a preset separator to obtain each operation data field information group. For example, the preset separator may be tab.

[0030] The second step is to filter the above-mentioned operation data field information groups according to the preset field value and the preset field information to obtain the operation data field information groups after filtering. The preset field information may be a timestamp. Here, there is no limitation on the specific setting of the preset field value. For example, the preset field value may be 8. In practice, the execution subject may delete the operation data field information groups whose number of application operation data in the above-mentioned operation data field information groups is less than the preset field value or whose timestamp is empty, so as to filter the above-mentioned operation data field information groups to obtain the operation data field information groups after filtering.

[0031] The third step is to perform deduplication processing on each operation data field information group after the filtering process to obtain each operation data field information group after the deduplication processing. In practice, the above-mentioned execution subject can perform deduplication processing on each operation data field information group after the filtering process according to the user ID and the timestamp to obtain each operation data field information group after the deduplication processing.

[0032] In the fourth step, each operation data field information group after deduplication processing is determined as an operation data field information group set.

[0033] Step 103: Perform feature screening processing on the operation data field information group set according to each preset business feature information to obtain an operation data feature information group set.

[0034] In some embodiments, the execution subject may perform feature screening processing on the operation data field information group set according to each preset business feature information to obtain an operation data feature information group set. Among them, the number of preset business feature information in each preset business feature information may be equal to the number of operation data feature information in the operation data feature information group. Each preset business feature information may be each operation data field information characterizing the business data feature. The preset business feature information in each preset business feature information may be, but is not limited to, one of the following: user ID, timestamp, event ID event type, event description information, data source, business object ID, exception or error code.

[0035] Step 104 , vectorizing each operation data feature information group in the operation data feature information group set to obtain each operation data feature vector.

[0036] In some embodiments, the execution subject may vectorize each operation data feature information group in the operation data feature information group set to obtain each operation data feature vector. Wherein, each operation data feature vector may represent each operation data feature information group. In practice, the execution subject may vectorize each operation data feature information group in the operation data feature information group set in various ways to obtain each operation data feature vector.

[0037] In some optional implementations of some embodiments, the execution subject may vectorize each operation data feature information group in the operation data feature information group set to obtain each operation data feature vector by the following steps:

[0038] For each of the above-mentioned operation data characteristic information groups, the following steps are performed:

[0039] The first step is to splice the above-mentioned operation data characteristic information group to obtain spliced ​​characteristic information. The above-mentioned spliced ​​characteristic information can be obtained by splicing the individual operation data characteristic information in the above-mentioned operation data characteristic information group. In practice, the above-mentioned execution entity can splice the individual operation data characteristic information in the above-mentioned operation data characteristic information group into a character string. Then the spliced ​​character string can be determined as the spliced ​​characteristic information.

[0040] The second step is to input the splicing feature information into a pre-trained operation data feature vector extraction model to obtain an operation data feature vector corresponding to the splicing feature information. The operation data feature vector extraction model can characterize the relationship between the splicing feature information and the operation data feature vector. The operation data feature vector extraction model can be a neural network model trained with the splicing feature information as input and the operation data feature vector as output. For example, the neural network model can be a Sentence-BERT model.

[0041] Step 105 , clustering the operation data characteristic information groups in the operation data characteristic information group set according to the operation data characteristic vectors, and obtaining target characteristic information group sets as business data sets.

[0042] In some embodiments, the above-mentioned execution subject may perform clustering processing on each operation data feature information group in the above-mentioned operation data feature information group set according to the above-mentioned each operation data feature vector, and obtain each target feature information group set as each business data set. Among them, the above-mentioned each target feature information group set may represent a target feature information group set of each different business category. For example, the business category may be but is not limited to one of the following: user-related data category, transaction-related data category, product-related data category, operation-related data category, system log-related data category. In practice, the above-mentioned execution subject may perform clustering processing on each operation data feature information group in the above-mentioned operation data feature information group set according to the above-mentioned each operation data feature vector in various ways, and obtain each target feature information group set as each business data set.

[0043] Next, when clustering the operation data feature information groups in the operation data feature information group set according to the operation data feature vectors in the present disclosure, there is further the following technical problem 2:

[0044] Since application operation data usually contains features of multiple dimensions, when using distance or density-based clustering algorithms (such as K-Means clustering, hierarchical clustering, and DBSCAN algorithms) to cluster application operation data, the computational complexity is high, which leads to low clustering efficiency. In addition, in the feature space, the data points in some areas of the application operation data set may be relatively dense, while other areas may be relatively sparse. The K-Means algorithm requires the number of clusters to be set in advance, and improper selection may lead to low accuracy of clustering results. If there are clusters with large density differences in the application operation data set, it may be difficult to simultaneously identify these clusters with large density differences using the DBSCAN algorithm, resulting in low accuracy of clustering results.

[0045] In some optional implementations of some embodiments, the execution subject may perform clustering processing on each operation data feature information group in the operation data feature information group set according to each operation data feature vector to obtain each target feature information group set as each business data set through the following steps:

[0046] The first step is to map the above-mentioned operation data feature vectors to the initial network graph. Among them, the nodes in each node of the above-mentioned initial network graph correspond to the operation data feature vectors in the above-mentioned operation data feature vectors. The nodes in each node of the above-mentioned initial network graph correspond one-to-one to the operation data feature vectors in the above-mentioned operation data feature vectors. There may be no edges in the initial state of the initial network graph.

[0047] In the second step, based on the initial network diagram and the above-mentioned operation data feature vectors, clustering processing is performed on the operation data feature information groups corresponding to the above-mentioned operation data feature vectors to obtain target feature information group sets as business data sets.

[0048] In some optional implementations of some embodiments, the execution subject may perform clustering processing on each operation data feature information group corresponding to each operation data feature vector based on the initial network diagram and each operation data feature vector through the following steps to obtain each target feature information group set as each business data set:

[0049] In the first step, for each node in the initial network graph, the node is connected to each node in the initial network graph that is different from the node to obtain a fully connected network graph, wherein there is a connection edge between any two nodes in the fully connected network graph.

[0050] In the second step, for each node in the above fully connected network graph, perform the following steps:

[0051] The first sub-step is to mark the above-mentioned node. In practice, the above-mentioned execution subject can set the preset mark value corresponding to the above-mentioned node in the preset mark value sequence to 1 to mark the above-mentioned node. Among them, the preset mark values ​​in the above-mentioned preset mark value sequence correspond to the nodes in the above-mentioned fully connected network diagram one by one. The initial value of each preset mark value in the above-mentioned preset mark value sequence can be 0.

[0052] The second sub-step is to determine each unmarked node among the above-mentioned nodes as each to-be-processed node. The above-mentioned each to-be-processed node may be each unmarked node whose similarity with the above-mentioned node is to be determined.

[0053] The third sub-step is to determine the similarity information between the above-mentioned node and the above-mentioned node to be processed for each of the nodes to be processed that are determined, and obtain each similarity information. Among them, the above-mentioned each similarity information can be each similarity between each operation data feature vector represented by the above-mentioned node to be processed and the operation data feature vector represented by the above-mentioned node. In practice, for each of the nodes to be processed that are determined, the above-mentioned execution subject can input the operation data feature vector corresponding to the above-mentioned node and the operation data feature vector corresponding to the above-mentioned node to be processed into the kernel function, and obtain the output result as the similarity information between the above-mentioned node and the above-mentioned node to be processed.

[0054] The third step is to construct an adjacency matrix corresponding to each of the above nodes according to the various similarity information corresponding to each of the nodes in the above-mentioned fully connected network diagram. In practice, first, the above-mentioned execution entity can determine the number of nodes in the above-mentioned fully connected graph as the number of rows and columns. Then, the determined number of rows and columns can be determined as the number of rows and columns of the preset initial adjacency matrix. Among them, the nodes in the above-mentioned each node can correspond one-to-one to the row labels in the various row labels of the above-mentioned preset initial adjacency matrix. The nodes in the above-mentioned each node can correspond one-to-one to the column labels in the various column labels of the above-mentioned preset matrix. Afterwards, for each of the nodes in the above-mentioned fully connected network diagram, the various similarity information corresponding to the above node is filled into the target row corresponding to the above node. The above-mentioned target row can be the row corresponding to the above-mentioned node in the above-mentioned preset initial adjacency matrix.

[0055] The fourth step is to construct a degree matrix corresponding to the above-mentioned fully connected network graph. In practice, first, the above-mentioned execution entity can determine the number of nodes in the above-mentioned fully connected graph as the number of rows and columns. Then, the determined number of rows and columns can be determined as the number of rows and columns of the preset initial degree matrix. Afterwards, each element of the preset initial degree matrix is ​​set to 0. Afterwards, for each of the nodes in the above-mentioned fully connected network graph, the degree of the above-mentioned node is filled to the target position corresponding to the above-mentioned node to obtain the degree matrix corresponding to the above-mentioned fully connected network graph. The above-mentioned target position can be the position represented by the row label and column label corresponding to the above-mentioned node in the above-mentioned preset initial degree matrix.

[0056] Step 5: construct a target difference matrix based on the adjacency matrix and the degree matrix. In practice, the execution subject may determine the difference between the degree matrix and the adjacency matrix as the target difference matrix.

[0057] The sixth step is to perform standardization on the target difference matrix to obtain a standardized target difference matrix. The standardized target difference matrix may be the target difference matrix after standardization. In practice, first, the execution entity may determine the negative half power of each element on the main diagonal of the degree matrix as each target element. Then, each element on the main diagonal of the preset diagonal matrix may be replaced with the target element to obtain the target diagonal matrix. Afterwards, the target diagonal matrix may be multiplied by the target difference matrix multiplied by the target diagonal matrix to determine the standardized target difference matrix. The order of the preset diagonal matrix may be equal to the order of the degree matrix. The preset diagonal matrix may be the negative half power of the degree matrix.

[0058] Step 7: Determine each eigenvalue of the standardized target difference matrix. In practice, the execution subject may determine each eigenvalue of the standardized target difference matrix by an eigenvalue solving algorithm.

[0059] In the eighth step, each characteristic value that satisfies the preset characteristic value condition among the above characteristic values ​​is determined as each target characteristic value. The above preset characteristic value condition may be a characteristic value that is a preset value number before each characteristic value in ascending order. Here, the specific setting of the above preset value is not limited.

[0060] In the ninth step, each eigenvector corresponding to each target eigenvalue is standardized to obtain each standard eigenvector. The standard eigenvectors may be the eigenvectors after the standardization. In practice, for each of the eigenvectors, the execution subject may divide the eigenvector by the modulus of the eigenvector to obtain the standard eigenvector.

[0061] The tenth step is to combine the above-mentioned standard feature vectors into a target feature matrix. The number of rows of the above-mentioned target feature matrix can be equal to the number of the above-mentioned nodes. The number of columns of the above-mentioned target feature matrix can be equal to the number of the above-mentioned standard feature vectors. In practice, the above-mentioned execution subject can combine the transposed vectors of the above-mentioned standard feature vectors as column vectors to obtain a matrix with the number of columns equal to the number of the above-mentioned transposed vectors as the target feature matrix.

[0062] In the eleventh step, the vector corresponding to each row in the target feature matrix is ​​determined as a sample vector to obtain each sample vector.

[0063] In the twelfth step, each of the sample vectors is input into a preset clustering model to obtain a set of clustered sample vectors. The preset clustering model may be, but is not limited to, one of the following: K-Means clustering, hierarchical clustering, and DBSCAN algorithm.

[0064] In the thirteenth step, for each cluster sample vector set in the above-mentioned cluster sample vector sets, each operation data feature information group corresponding to each cluster sample vector in the above-mentioned cluster sample vector set is determined as a target feature information group set, and each target feature information group set is obtained as each business data set.

[0065] The first to thirteenth steps of the above technical solution and their related contents serve as an inventive point of the embodiment of the present disclosure, and solve the above technical problem 2 "the efficiency of clustering and the accuracy of clustering results are low". The factors that lead to the low accuracy of clustering efficiency and clustering results are often as follows: Since the application operation data usually contains features of multiple dimensions, when a distance or density-based clustering algorithm (such as K-Means clustering, hierarchical clustering, DBSCAN algorithm) is used to cluster the application operation data, the computational complexity is high, which leads to low clustering efficiency. In addition, in the feature space, the data points in some areas of the application operation data set may be relatively dense, while other areas may be relatively sparse. The K-Means algorithm needs to pre-set the number of clusters, and improper selection may lead to low accuracy of clustering results. If there are clusters with large density differences in the application operation data set, it may be difficult to simultaneously identify these clusters with large density differences using the DBSCAN algorithm, resulting in low accuracy of clustering results. If the above factors are solved, the effect of improving the efficiency of clustering and the accuracy of clustering results can be achieved. In order to achieve this effect, the present disclosure introduces a clustering method based on graph theory, maps application operation data to nodes in a network graph, and solves the optimal clustering by converting the clustering problem into an optimal partitioning problem of the graph. It can map the application operation data in a multi-dimensional space to a low-dimensional space, and then cluster in the low-dimensional space, thereby reducing the complexity of the calculation and improving the efficiency of clustering. And by solving the method of optimal partitioning of the graph, the weight of the edge connecting different clusters is as low as possible, while the weight of the edge of the node within the cluster is as high as possible, so that the complex structure of the data can be captured, thereby improving the accuracy of clustering the application operation data.

[0066] Step 106, mapping each business data set to the preset table structure information to obtain each target business data set.

[0067] In some embodiments, the execution subject may map the above-mentioned various business data sets to preset table structure information to obtain various target business data sets. Among them, the above-mentioned various target business data sets may represent various application operation data corresponding to different business categories. In practice, the execution subject may adopt various methods to map the above-mentioned various business data sets to preset table structure information to obtain various target business data sets.

[0068] In some optional implementations of some embodiments, the execution subject may map the above-mentioned various business data sets to preset table structure information through the following steps to obtain various target business data sets:

[0069] For each of the above business data sets, perform the following steps:

[0070] In the first step, for each business data in the above business data set, perform the following steps:

[0071] The first sub-step is to determine the various field information corresponding to the various target feature information in the above-mentioned business data according to the preset mapping relationship information set. Among them, the above-mentioned business data may include various target feature information. The above-mentioned various field information may be included in the above-mentioned preset table structure information. The target feature information in the above-mentioned various target feature information may correspond to the field information in the above-mentioned various field information. The above-mentioned preset mapping relationship information set may characterize the correspondence between the target feature information and the field information in the preset table structure information. The preset mapping relationship information in the above-mentioned preset mapping relationship information set may include the target feature information and the field information corresponding to the target feature information. In practice, for each target feature information in the above-mentioned business data, the above-mentioned execution subject may determine the field information included in the preset mapping relationship information corresponding to the above-mentioned target feature information in the above-mentioned preset mapping relationship information set as the field information corresponding to the above-mentioned target feature information, and obtain various field information.

[0072] In the second sub-step, for each target feature information in the business data, data conversion processing is performed on the target feature information according to the field information corresponding to the target feature information to obtain the target feature information after data conversion processing. In practice, for each target feature information in the business data, in response to determining that the data types corresponding to the target feature information and the field information are different, the execution subject may convert the data type of the target feature information into the data type of the field information corresponding to the target feature information. For example, the data type may be, but is not limited to, one of the following: int type, string type, char type.

[0073] The third sub-step is to determine each target feature information obtained after the data conversion process as the target business data.

[0074] In the second step, each determined target business data is determined as a target business data set.

[0075] Step 107: Store each target business data set into an associated database.

[0076] In some embodiments, the execution subject may store the target business data sets in an associated database. The associated database may be a database corresponding to the target application. In practice, the execution subject may store the target business data sets in an associated database in various ways.

[0077] Step 108 , in response to detecting a selection operation of a business data monitoring template acting on the business data monitoring page, visually process each target business data set stored in the database according to the selected business data monitoring template to monitor the business data.

[0078] In some embodiments, in response to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, the execution subject may perform visualization processing on each target business data set stored in the database according to the selected business data monitoring template to monitor the business data. The business data monitoring page may correspond to the target application. The application page of the target application displays a data monitoring control. In some embodiments, in response to detecting a selection operation of a data monitoring control acting on the application page, a business data monitoring page may be displayed. The business data monitoring page displays each selection control corresponding to each business data monitoring template. The business data monitoring template may be a template for visually monitoring business data. The business data monitoring template may include but is not limited to multiple items of the following: at least one database query statement, a visualization chart type, a visualization chart style, each field information, each data normalization function, and data aggregation information. For example, the visualization chart type may be but is not limited to one of the following: a bar chart, a line chart, a scatter plot, a heat map, and a dashboard. The visualization chart style may be a style of a visualization chart corresponding to the visualization chart type. The visualization chart style may include the display color, display font, and display font size of each part of the visualization chart. The field information in each of the above field information may include field name, field data type, and field data range. The data normalization function in each of the above data normalization functions corresponds to the field information in each of the above field information. The above data aggregation information may characterize a method of performing aggregation operations on preset field values ​​at time intervals. The above data aggregation information may include each field, the aggregation operation corresponding to each field, and the aggregation time window. For example, the aggregation operation may be, but is not limited to, one of the following: sum, average, maximum, and minimum.

[0079] In some optional implementations of some embodiments, in response to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, the execution subject may perform visualization processing 6 on each target business data set stored in the database according to the selected business data monitoring template through the following steps:

[0080] For each target business data set in the above target business data sets, perform the following steps:

[0081] In the first step, according to at least one database query statement included in the business data monitoring template, query the target business data set stored in the database to obtain at least one query result information. The query result information may represent the result obtained by querying the target business data set in the database. The query result information may include various query field information. The query field information in the various query field information may include a field name and a field value corresponding to the field name.

[0082] The second step is to perform missing value filling processing on the at least one query result information to obtain at least one filled query result information. The filled query result information may be the query result information after the missing values ​​are filled. In practice, first, the execution subject may use a regression method to predict each missing value in the query result information to obtain each predicted value. Then, each predicted value may be filled into the query result information to obtain the filled query result information.

[0083] The third step is to perform data normalization processing on the at least one filled query result information according to the various field information included in the above-mentioned business data monitoring template, and obtain at least one filled query result information after data normalization processing. Among them, the field information in the above-mentioned various field information corresponds one-to-one to the query field information in the various query field information in the above-mentioned filled query result information. In practice, first, for each query field information in each query field information in the above-mentioned filled query result information, the above-mentioned execution entity can input the above-mentioned query field information into the data normalization function corresponding to the above-mentioned query field information to obtain the normalized query field information. Then, the obtained each normalized query field information can be determined as the filled query result information after data normalization processing.

[0084] In the fourth step, according to the business data monitoring template, at least one piece of data normalized filling query result information is aggregated to obtain at least one piece of aggregated filling query result information. In practice, the execution subject may aggregate each target field value included in the data normalized filling query result information according to the aggregation time window and aggregation operation included in the data aggregation information to obtain aggregated filling query result information.

[0085] The fifth step is to visualize at least one aggregated filled query result information according to the visualization chart type and visualization chart style included in the above business data monitoring template.

[0086] Optionally, first, the execution subject may also perform anomaly detection processing on each of the business data sets to obtain each anomaly detection result information. The each anomaly detection result information may characterize the anomaly probability of each target feature information group set. In practice, the execution subject may adopt various methods to perform anomaly detection processing on each of the target feature information group sets to obtain each anomaly detection result information.

[0087] Then, each business data set corresponding to each abnormal detection result information that meets the preset abnormal condition in the above-mentioned abnormal detection result information is determined as each abnormal business data set. Among them, the above-mentioned preset abnormal condition can be that the abnormal detection result information is greater than the preset abnormal value. Here, the specific setting of the above-mentioned preset abnormal value is not limited. The above-mentioned each abnormal business data set can be each business data set whose abnormal detection result information is greater than the preset abnormal value.

[0088] Finally, each abnormal warning information corresponding to each abnormal business data set is sent to the associated terminal device. Among them, the abnormal warning information in each abnormal warning information can be a prompt information indicating that abnormal data exists in the abnormal business data set. The terminal device can be, but is not limited to: a mobile phone, a computer. In practice, the execution subject can send each abnormal warning information corresponding to each abnormal business data set to the associated terminal device by wired connection or wireless connection.

[0089] It should be noted that the above wireless connection methods may include but are not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.

[0090] Next, when the present disclosure is used to perform abnormality detection processing on each of the above target feature information group sets, there is further the following technical problem three:

[0091] Since the application running data set is in the feature space, the data points in some areas may be relatively dense, while other areas may be sparse. For clusters with large differences in data density, the traditional statistical or distance-based abnormal cluster detection methods often identify clusters with lower data density as abnormal clusters, resulting in low accuracy of abnormal cluster detection.

[0092] In some optional implementations of some embodiments, the execution subject may perform anomaly detection processing on each of the business data sets to obtain each anomaly detection result information through the following steps:

[0093] In the first step, for each of the above business data sets, perform the following steps:

[0094] The first sub-step is to generate a central feature vector corresponding to the business data set according to the operation data feature vector corresponding to each business data in the business data set. The central feature vector can represent the cluster center of the business data set. In practice, the execution entity can determine the average vector of each operation data feature vector corresponding to each business data in the business data set as the central feature vector corresponding to the business data set.

[0095] The second sub-step is to determine, for each business data in the business data set, the first deviation vector between the operating data feature vector corresponding to the business data and the central feature vector, and obtain each first deviation vector. The first deviation vectors may be the vector difference between the operating data feature vector corresponding to each business data in the business data set and the central feature vector. In practice, the execution entity may determine the absolute value of the vector difference between the operating data feature vector corresponding to each business data in the business data set and the central feature vector as each first deviation vector.

[0096] The third sub-step is to perform the following steps for each of the first deviation vectors:

[0097] In the first determination step, first deviation vectors different from the first deviation vector among the first deviation vectors are determined as target first deviation vectors.

[0098] The second determination step is to determine the first deviation value between the first deviation vector and each of the target first deviation vectors to obtain each first deviation value. The first deviation values ​​may be the result of the dot product between the first deviation vector and each of the target first deviation vectors. In practice, the execution entity may determine the result of the dot product between each of the target first deviation vectors and the first deviation vector as the first deviation value to obtain each first deviation value.

[0099] The fourth sub-step is to perform averaging processing on the obtained first deviation values ​​to obtain the first deviation values ​​after averaging processing. In practice, firstly, the execution subject may determine the sum of the first deviation values ​​as the first total deviation value. Then, each of the first deviation values ​​may be divided by the first total deviation value to obtain the first deviation values ​​after averaging processing.

[0100] The fifth sub-step is to construct an intra-class difference matrix corresponding to the above-mentioned business data set according to each first deviation value after the averaging process. Among them, the above-mentioned intra-class difference matrix can characterize the distribution of the operating data feature vectors corresponding to each business data in the above-mentioned business data set around the central feature vector. The operating data feature vector corresponding to each business data in the above-mentioned business data set corresponds to each first deviation value. In practice, firstly, the above-mentioned execution subject can use each first deviation value corresponding to the operating data feature vector corresponding to each business data in the above-mentioned business data set as a row vector to obtain each row vector. Then, the above-mentioned each row vector can be combined into the intra-class difference matrix corresponding to the above-mentioned business data set.

[0101] In the second step, the trace of each intra-class difference matrix in each obtained intra-class difference matrix is ​​determined as the first target difference value to obtain each first target difference value.

[0102] In the third step, for each of the obtained central feature vectors, perform the following steps:

[0103] In the first sub-step, each central feature vector different from the above central feature vector is determined as each target central feature vector.

[0104] The second sub-step is to determine, for each of the target central feature vectors, a second deviation vector between the central feature vector and the target central feature vector, to obtain each second deviation vector. The second deviation vectors may be difference vectors between the central feature vectors. In practice, for each of the target central feature vectors, the execution entity may determine the absolute value of the vector difference between the target central feature vector and the central feature vector as the second deviation vector, to obtain each second deviation vector.

[0105] The third sub-step is to perform the following steps for each of the second deviation vectors:

[0106] The first determination step is to determine each second deviation vector different from the above-mentioned second deviation vector as a target second deviation vector.

[0107] The second determination step is to determine the second deviation value between the second deviation vector and each of the target second deviation vectors to obtain each second deviation value. In practice, the execution subject may determine the result of the dot product of each of the target second deviation vectors and the second deviation vector as the second deviation value to obtain each second deviation value.

[0108] The fourth step is to perform averaging processing on the obtained second deviation values ​​to obtain the second deviation values ​​after averaging processing. In practice, first, the execution subject may determine the sum of the second deviation values ​​as the second total deviation value. Then, each of the second deviation values ​​may be divided by the second total deviation value to obtain the second deviation values ​​after averaging processing.

[0109] The fifth step is to construct an inter-class difference matrix corresponding to each of the above-mentioned target feature information group sets according to each of the second deviation values ​​after the averaging process. Among them, the above-mentioned inter-class difference matrix can characterize the data distribution between the above-mentioned various business data sets. Each of the above-mentioned business data sets corresponds to each second deviation value. In practice, first, the above-mentioned execution subject can use each second deviation value corresponding to each of the above-mentioned business data sets as a row vector to obtain each row vector. Then, the above-mentioned row vectors can be combined into an inter-class difference matrix corresponding to each of the above-mentioned business data sets.

[0110] The sixth step is to take the sum of the elements of each row in the obtained inter-class difference matrix as the second target difference to obtain each second target difference. Among them, the second target difference in each obtained second target difference can correspond to the first target difference in each obtained first target difference. The second target difference in each obtained second target difference can correspond to the first target difference in each obtained first target difference. The second target difference in each obtained second target difference can correspond to the business data set in each of the above-mentioned business data sets. The second target difference in each obtained second target difference can correspond to the business data set in each of the above-mentioned business data sets.

[0111] In the seventh step, for each of the obtained second target difference values, the average of the second target difference value and the first target difference value corresponding to the second target difference value is determined as the abnormality detection result information to obtain each abnormality detection result information.

[0112] The first to seventh steps of the above technical solution and their related contents serve as an inventive point of an embodiment of the present disclosure, and solve the above technical problem three "low accuracy of abnormal cluster detection". The factors that lead to low accuracy of abnormal cluster detection are often as follows: Since the application running data set is in the feature space, the data points in some areas may be relatively dense, while other areas may be relatively sparse. For clusters with large differences in data density, traditional statistical or distance-based abnormal cluster detection methods are used, and clusters with low data density are often identified as abnormal clusters, resulting in low accuracy of abnormal cluster detection. If the above factors are solved, the effect of improving the accuracy of abnormal cluster detection can be achieved. In order to achieve this effect, the present invention introduces a method that combines the intra-class difference matrix and the inter-class difference matrix of each cluster to identify abnormal clusters, and takes the mean of the trace of each intra-class difference matrix and the sum of each element of each row in the inter-class difference matrix as the abnormal detection result information of each cluster. That is, the clustering effect within the cluster is taken into account, and the clustering effect between clusters is taken into account, which reduces the situation where clusters with lower data density are identified as abnormal clusters, thereby improving the accuracy of abnormal cluster detection.

[0113] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the business data monitoring method of some embodiments of the present disclosure, the monitoring process is simplified, the delay in obtaining monitoring results is shortened, and the server resource consumption is reduced. Specifically, the reasons for the complex monitoring process, large delay in obtaining monitoring results, and high server resource consumption are: the monitoring system service provider needs to go through a series of processes such as collecting application data, downloading and sending, the monitoring system service provider receiving data and analyzing, and feedback of analysis results for analyzing business data and providing feedback. The process is complicated, there is a large delay in obtaining monitoring results, and users need to continuously cooperate to export data to the third-party monitoring system service provider, resulting in more human resources consumption; directly connecting the third-party monitoring system to the target application requires the third-party monitoring system to be deployed to the server corresponding to the target application, resulting in high consumption of server resources and high operation and maintenance costs. Based on this, the business data monitoring method of some embodiments of the present disclosure first obtains the application operation data set of the target application. Thus, the application operation data set generated in real time by the target application can be obtained. Then, the above-mentioned application operation data set is preprocessed to obtain an operation data field information group set, wherein the operation data field information group in the above-mentioned operation data field information group set corresponds to the application operation data in the above-mentioned application operation data set one by one. Thus, each application operation data after preprocessing can be obtained. Afterwards, according to each preset business feature information, the above-mentioned operation data field information group set is subjected to feature screening processing to obtain an operation data feature information group set, wherein the number of preset business feature information in the above-mentioned each preset business feature information is equal to the number of operation data feature information in the operation data feature information group. Thus, each operation data feature information group after screening processing can be obtained. Unnecessary fields in the operation data feature information group can be removed. Then, each operation data feature information group in the above-mentioned operation data feature information group set is vectorized to obtain each operation data feature vector. Thus, each operation data feature vector corresponding to each operation data feature information group can be obtained. Afterwards, according to each operation data feature vector, each operation data feature information group in the above-mentioned operation data feature information group set is clustered to obtain each target feature information group set as each business data set. Thus, each business data set representing different business categories can be obtained. Next, each of the above business data sets is mapped to the preset table structure information to obtain each target business data set. Thus, each target business data set consistent with the preset table structure information structure can be obtained. Afterwards, each of the above target business data sets is stored in an associated database. Thus, each target business data set can be stored in a database corresponding to the target application.Finally, in response to detecting the selection operation of the business data monitoring template acting on the business data monitoring page, the target business data sets stored in the above database are visualized according to the selected business data monitoring template to monitor the business data, wherein the above business data monitoring page corresponds to the above target application. Thus, the business data can be monitored and displayed according to the business data monitoring template. Also because the implemented business data monitoring method can directly connect the database and business data monitoring template of the target application, obtain the operation data of each application of the target application from the target application and perform a series of processing, and process it into a data table with the same table structure as the database of the target application, so as to directly use the built-in business data monitoring template of the target application to monitor the business data of the target application itself, omit the step of exporting the data to the third-party monitoring system for processing, reduce the delay in obtaining the monitoring results, and do not need to deploy the third-party monitoring system to the target application environment, saving server resources and the cost of operating and maintaining the third-party monitoring system. And no manual participation is required, reducing the consumption of human resources.

[0114] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a business data monitoring device. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0115] like Figure 2As shown, the business data monitoring device 200 of some embodiments includes: an acquisition unit 201, a preprocessing unit 202, a screening unit 203, a vectorization processing unit 204, a clustering processing unit 205, a mapping unit 206, a storage unit 207 and a visualization processing unit 208. The acquisition unit 201 is configured to acquire an application operation data set of a target application; the preprocessing unit 202 is configured to preprocess the above application operation data set to obtain an operation data field information group set, wherein the operation data field information groups in the above operation data field information group set correspond one-to-one to the application operation data in the above application operation data set; the screening unit 203 is configured to perform feature screening processing on the above operation data field information group set according to each preset business feature information to obtain an operation data feature information group set, wherein the number of preset business feature information in each preset business feature information is equal to the number of operation data feature information in the operation data feature information group; the vectorization processing unit 204 is configured to perform vectorization representation on each operation data feature information group in the above operation data feature information group set to obtain each operation data feature vector; the clustering processing unit 205 is configured to perform clustering processing on each operation data feature information group in the above-mentioned operation data feature information group set according to the above-mentioned each operation data feature vector, and obtain each target feature information group set as each business data set; the mapping unit 206 is configured to map the above-mentioned each business data set to the preset table structure information, and obtain each target business data set; the storage unit 207 is configured to store the above-mentioned each target business data set to an associated database; the visualization processing unit 208 is configured to respond to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, and according to the selected business data monitoring template, visualize the various target business data sets stored in the above-mentioned database to monitor the business data, wherein the above-mentioned business data monitoring page corresponds to the above-mentioned target application.

[0116] It is understandable that the units recorded in the service data monitoring device 200 are similar to those in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be described in detail here.

[0117] Reference below Figure 3 , which shows a structural schematic diagram of an electronic device (eg, a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0118] like Figure 3As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 to a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0119] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0120] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0121] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0122] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0123] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist independently without being assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains the application operation data set of the target application; pre-processes the above-mentioned application operation data set to obtain an operation data field information group set, wherein the operation data field information groups in the above-mentioned operation data field information group set correspond one-to-one to the application operation data in the above-mentioned application operation data set; performs feature screening processing on the above-mentioned operation data field information group set according to each preset business feature information to obtain an operation data feature information group set, wherein the number of preset business feature information in the above-mentioned each preset business feature information is equal to the number of operation data feature information in the operation data feature information group; performs feature screening processing on each of the above-mentioned operation data feature information group sets; The operation data feature information groups are vectorized to obtain respective operation data feature vectors; based on the above-mentioned respective operation data feature vectors, the respective operation data feature information groups in the above-mentioned operation data feature information group set are clustered to obtain respective target feature information group sets as respective business data sets; the above-mentioned respective business data sets are mapped to preset table structure information to obtain respective target business data sets; the above-mentioned respective target business data sets are stored in an associated database; in response to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, the respective target business data sets stored in the above-mentioned database are visualized according to the selected business data monitoring template to monitor the business data, wherein the above-mentioned business data monitoring page corresponds to the above-mentioned target application.

[0124] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0125] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0126] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including an acquisition unit, a preprocessing unit, a screening unit, a vectorization processing unit, a clustering processing unit, a mapping unit, a storage unit, and a visualization processing unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the acquisition unit may also be described as a "unit for acquiring a set of application running data of a target application".

[0127] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0128] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A business data monitoring method, comprising: Obtain an application running data set of a target application; Preprocessing the application running data set to obtain an running data field information group set, wherein the running data field information groups in the running data field information group set correspond one-to-one to the application running data in the application running data set; According to each preset service feature information, feature screening processing is performed on the operation data field information group set to obtain an operation data feature information group set, wherein the number of preset service feature information in each preset service feature information is equal to the number of operation data feature information in the operation data feature information group; Vectorizing each operation data characteristic information group in the operation data characteristic information group set to obtain each operation data characteristic vector; performing clustering processing on each of the operation data characteristic information groups in the operation data characteristic information group set according to each of the operation data characteristic vectors to obtain each of the target characteristic information group sets as each of the business data sets; Mapping each of the business data sets to the preset table structure information to obtain each target business data set; Storing each target business data set in an associated database; In response to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, each target business data set stored in the database is visualized according to the selected business data monitoring template to monitor the business data, wherein the business data monitoring page corresponds to the target application.

2. The method according to claim 1, wherein: The method further comprises: Performing anomaly detection processing on each of the business data sets to obtain each anomaly detection result information; Determine each business data set corresponding to each abnormal detection result information satisfying a preset abnormal condition in each abnormal detection result information as each abnormal business data set; Each abnormal warning information corresponding to each abnormal business data set is sent to the associated terminal device.

3. The method according to claim 1, wherein: The preprocessing of the application running data set to obtain a running data field information group set includes: Performing data segmentation processing on each application operation data in the application operation data set to obtain each operation data field information group, wherein the operation data field information group in each operation data field information group corresponds one-to-one to the application operation data in each application operation data; Filtering the various operation data field information groups according to the preset field values ​​and the preset field information to obtain the various operation data field information groups after filtering; Performing deduplication processing on each operation data field information group after the filtering processing to obtain each operation data field information group after the deduplication processing; The operation data field information groups after deduplication processing are determined as an operation data field information group set.

4. The method according to claim 1, wherein: The vectorization of each operation data feature information group in the operation data feature information group set to obtain each operation data feature vector includes: For each of the operation data characteristic information groups, the following steps are performed: Performing splicing processing on the operation data characteristic information group to obtain splicing characteristic information; The splicing feature information is input into a pre-trained operation data feature vector extraction model to obtain an operation data feature vector corresponding to the splicing feature information.

5. The method according to claim 1, wherein: The clustering process is performed on each of the operation data characteristic information groups in the operation data characteristic information group set according to each of the operation data characteristic vectors to obtain each of the target characteristic information group sets as each of the business data sets, including: Mapping each of the operation data feature vectors to an initial network graph, wherein a node in each node of the initial network graph corresponds to an operation data feature vector in each of the operation data feature vectors; Based on the initial network diagram and the various operation data feature vectors, clustering processing is performed on the various operation data feature information groups corresponding to the various operation data feature vectors to obtain various target feature information group sets as various business data sets.

6. The method according to claim 5, wherein: The preset table structure information includes various field information; And mapping each of the business data sets to the preset table structure information to obtain each target business data set includes: For each of the business data sets, the following steps are performed: For each business data in the business data set, perform the following steps: Determine, according to a preset mapping relationship information set, each field information corresponding to each target feature information in the business data, wherein the business data includes each target feature information, each field information is included in the preset table structure information, and the target feature information in each target feature information corresponds to the field information in each field information; For each target feature information in the business data, performing data conversion processing on the target feature information according to field information corresponding to the target feature information to obtain target feature information after data conversion processing; Determine each target characteristic information obtained after data conversion as target business data; The determined target business data are determined as a target business data set.

7. The method according to claim 1, wherein: The selected business data monitoring template includes at least one database query statement, a visualization chart type, and a visualization chart style; And in response to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, visualizing each target business data set stored in the database according to the selected business data monitoring template, including: For each target service data set in the target service data sets, the following steps are performed: According to at least one database query statement included in the business data monitoring template, query processing is performed on the target business data set stored in the database to obtain at least one query result information; Performing missing value filling processing on the at least one query result information to obtain at least one filled query result information; According to each field information included in the business data monitoring template, the at least one filling query result information is subjected to data normalization processing to obtain at least one filling query result information after data normalization processing; According to the business data monitoring template, performing aggregation processing on at least one piece of filled query result information after data normalization processing to obtain at least one piece of filled query result information after aggregation processing; According to the visualization chart type and visualization chart style included in the business data monitoring template, at least one aggregated filled query result information is visualized.

8. A business data monitoring device, comprising: An acquisition unit, configured to acquire an application running data set of a target application; a preprocessing unit configured to preprocess the application running data set to obtain an running data field information group set, wherein the running data field information groups in the running data field information group set correspond one-to-one to the application running data in the application running data set; a screening processing unit configured to perform feature screening processing on the operation data field information group set according to each preset service feature information to obtain an operation data feature information group set, wherein the number of preset service feature information in each preset service feature information is equal to the number of operation data feature information in the operation data feature information group; a vectorization processing unit configured to perform vectorization on each operation data feature information group in the operation data feature information group set to obtain each operation data feature vector; a cluster processing unit configured to perform cluster processing on each of the operation data characteristic information groups in the operation data characteristic information group set according to each of the operation data characteristic vectors, and obtain each target characteristic information group set as each of the business data sets; A mapping unit, configured to map each of the business data sets to preset table structure information to obtain each target business data set; A storage unit, configured to store each target business data set in an associated database; The visualization processing unit is configured to respond to detecting a selection operation of a business data monitoring template acting on a business data monitoring page, and visualize each target business data set stored in the database according to the selected business data monitoring template to monitor the business data, wherein the business data monitoring page corresponds to the target application.

9. An electronic device, comprising: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Service monitoring method, device, equipment and storage medium

    CN111581508A

  • Configuration file generation method and device and data processing method and device

    CN113535673A

  • Data table grouping method and device, readable storage medium and electronic equipment

    CN115687339A

  • Abnormal User Identification

    US20210240822A1

  • Intrusion detection system

    WO2004012063A2