Data processing method and device, computer readable storage medium, and electronic device
By classifying abnormal data and constructing feature trees, target feature trees with the same attributes are screened out, which solves the problems of low search accuracy and tediousness in the existing technology, and achieves fast, accurate positioning and real-time detection of abnormal SKUs.
Patent Information
- Application Number
- CN201911083637.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-07
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-11-07
AI Technical Summary
In the process of locating abnormal SKUs, the existing technology ignores the correlation between low-level alarms, resulting in low search accuracy, and the need to calculate abnormal scores increases the complexity, making it impossible to locate the cause in real time, and is not timely.
By obtaining abnormal data, the parent node and child node data are obtained according to the data level classification, an initial feature tree is constructed, and the node information is fused to filter out the target feature tree with the same attributes to find the target object of the abnormal data in real time.
It improves the search accuracy of abnormal SKUs, simplifies the search process, enables real-time location of causes, and enhances timeliness.
Smart Images

Figure CN112784113B_ABST
Abstract
Description
Background Art
[0002] With the development of e-commerce, people's online shopping behavior is becoming more and more widespread. Therefore, for some shopping platforms, a large number of order flows are generated every moment. In order to detect business anomalies in a timely manner, it is necessary to monitor certain business indicators (such as valid orders, valid amounts, etc.) in real time. Since the different levels of the anomaly detection system are in a drill-down relationship, such as the first-level category drilling down to the second-level category, the anomaly of a single abnormal SKU (stock keeping unit) may trigger multiple alarms to occur simultaneously. Therefore, it is critical to quickly and accurately locate the root cause from the multiple redundant and coupled alarm information detected.
[0003] The existing methods for locating the causes of transaction data anomalies mainly include the following two methods: one is: the advanced alarm searches for a sub-node with the largest anomaly score in multiple low-level alarms in real time to form an information chain, and uses the information of the sub-node as the located cause of the anomaly, and uses the sub-node information to query the SKU, thereby finding the SKU that meets the conditions; the other is: wait until the sedimentation of various indicators is completed and the data is stored in the database, and then search for abnormal SKUs.
[0004] However, the above methods have the following defects: in the first method, since the possible correlation between the various low-level alarms is ignored and only one of the alarms is selected as the output, only local information is exposed, which will make the accuracy of the SKUs that meet the conditions found low; and this method needs to calculate the anomaly score, and how to correctly measure the anomaly score is a difficulty, which increases the complexity of the search process for qualified SKUs; in the second method, since it is detected offline, it is impossible to locate the cause in real time, and the timeliness is not strong, which leads to the low accuracy of the abnormal SKUs found.
[0005] Therefore, it is necessary to provide a new data processing method and device.
[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the invention
[0007] The object of the present invention is to provide a data processing method, a data processing device, a computer-readable storage medium and an electronic device, thereby overcoming, at least to a certain extent, the problem of low accuracy of abnormal SKUs found due to limitations and defects of related technologies.
[0008] According to one aspect of the present disclosure, there is provided a data processing method, comprising:
[0009] Acquire a plurality of abnormal data, and classify each of the abnormal data according to the data level of each of the abnormal data to obtain a plurality of parent node data and a plurality of child node data;
[0010] Constructing a plurality of initial feature trees according to the parent node data and the child node data having the same feature information as the parent node data;
[0011] Merging the non-empty feature information of all nodes in each of the initial feature trees to obtain the attribute information of each of the initial feature trees;
[0012] The initial feature trees with the same attribute information are screened to obtain a plurality of target feature trees, and the target object generating each of the abnormal data is searched according to the attribute information of each of the target feature trees.
[0013] In an exemplary embodiment of the present disclosure, obtaining a plurality of abnormal data includes:
[0014] A plurality of abnormal data are obtained at the same time, have the same data identifier, and are output by the same data generation platform.
[0015] In an exemplary embodiment of the present disclosure, the data level is divided into a first data level and a second data level; the first data level is higher than the second data level;
[0016] Among them, classifying each abnormal data according to the data level of each abnormal data to obtain a plurality of parent node data and a plurality of child node data includes:
[0017] Each abnormal data corresponding to the first data level is used as each parent node data, and each abnormal data corresponding to the second data level is used as child node data.
[0018] In an exemplary embodiment of the present disclosure, constructing a plurality of initial feature trees according to each of the parent node data and the child node data having the same feature information as the parent node data includes:
[0019] Determine the alarm feature of each parent node data, and determine the child node data having the same alarm feature as each parent node data;
[0020] A plurality of initial feature trees are constructed according to the parent node data and the child node data having the same alarm feature as the parent node data.
[0021] In an exemplary embodiment of the present disclosure, initial feature trees having the same attribute information are screened to obtain multiple target feature trees including:
[0022] Constructing a feature tree set according to each of the initial feature trees, and judging whether there is a containing and being contained relationship between each of the initial feature trees according to the attribute information of each of the initial feature trees in the feature tree set;
[0023] If there is a containment relationship between any two initial feature trees, the initial feature tree with the contained relationship will be deleted;
[0024] The initial feature trees remaining after deleting the initial feature trees having the included relationship from the feature tree set are used as the plurality of target feature trees;
[0025] There is no relationship of inclusion and being included between any two of the target feature trees.
[0026] In an exemplary embodiment of the present disclosure, the attribute information includes multiple types of the category level and business group to which the target object corresponding to each of the initial feature trees belongs, the source of the target object, the geographical location where each of the abnormal data corresponding to each of the initial feature trees is generated, and the channel level where each of the abnormal data corresponding to each of the initial feature trees is generated.
[0027] In an exemplary embodiment of the present disclosure, searching for a target object that generates each of the abnormal data according to the attribute information of each of the target feature trees includes:
[0028] According to the category level and business group to which the target object corresponding to each target feature tree belongs, the source of the target object, the geographical location where the abnormal data corresponding to each target feature tree is generated, and the channel level where the abnormal data corresponding to each target feature tree is generated, the target object that generates each abnormal data is found.
[0029] According to one aspect of the present disclosure, there is provided a data processing device, comprising:
[0030] A data classification module, used for acquiring a plurality of abnormal data, and classifying each abnormal data according to the data level of each abnormal data to obtain a plurality of parent node data and a plurality of child node data;
[0031] An initial feature tree construction module, used to construct multiple initial feature trees according to each of the parent node data and the child node data having the same feature information as each of the parent node data;
[0032] A feature information integration module, used to integrate the non-empty feature information of all nodes in each of the initial feature trees to obtain the attribute information of each of the initial feature trees;
[0033] The target object search module screens the initial feature trees with the same attribute information to obtain multiple target feature trees, and searches for the target object that generates each of the abnormal data according to the attribute information of each of the target feature trees.
[0034] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the data processing method described in any one of the above is implemented.
[0035] According to one aspect of the present disclosure, there is provided an electronic device, including:
[0036] Processor; and
[0037] A memory, configured to store executable instructions of the processor;
[0038] The processor is configured to execute any one of the above-mentioned data processing methods by executing the executable instructions.
[0039] A data processing method and device provided by an embodiment of the present invention, on the one hand, classifies each abnormality according to the data level of each abnormal data to obtain multiple parent node data and multiple child node data; and constructs multiple initial feature trees according to each parent node data and the child node data having the same feature information as each parent node data; then fuses the non-empty feature information of all nodes in each initial feature tree to obtain the attribute information of each initial feature tree; finally, screens the initial feature trees with the same attribute information to obtain multiple target feature trees, and searches for the target object that generates each abnormal data according to the attribute information of each target feature tree, thereby solving the problem in the prior art that the possible correlation between each low-level alarm is ignored and only one of the alarms is selected as the output, so only local information is exposed, which will result in a low accuracy rate of the SKU that meets the conditions found On the one hand, it solves the problem of the prior art that the abnormal score needs to be calculated, while how to correctly measure the abnormal score is a difficulty, thus increasing the complexity of the search process for qualified SKUs, simplifies the complexity of searching for target objects that generate various abnormal data, and thus improves the search speed; on the other hand, it solves the problem that the prior art is unable to locate the cause in real time due to offline detection, and the timeliness is not strong, which leads to low accuracy of the abnormal SKUs found; further, multiple target feature trees are obtained by screening the initial feature trees with the same attribute information, and the target object that generates each abnormal data is searched according to the attribute information of each target feature tree, thereby reducing the number of target feature trees, and further improving the search speed.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the specification are used to explain the principles of the present invention. Obviously, the accompanying drawings described below are only some embodiments of the present invention, and for those of ordinary skill in the art, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0042] Figure 1 A flowchart schematically illustrates a data processing method according to an exemplary embodiment of the present invention;
[0043] Figure 2 A flowchart schematically illustrates a method for constructing multiple initial feature trees based on each parent node data and child node data having the same feature information as each parent node data according to an exemplary embodiment of the present invention;
[0044] Figure 3 , Figure 4 , Figure 5 as well as Figure 6 An example diagram schematically illustrates an initial feature tree according to an example embodiment of the present invention;
[0045] Figure 7 A flowchart schematically illustrates a method for screening initial feature trees having the same attribute information to obtain multiple target feature trees according to an exemplary embodiment of the present invention;
[0046] Figure 8 A block diagram schematically illustrates a data processing device according to an exemplary embodiment of the present invention;
[0047] Fig. 9 An electronic device for implementing the above data processing method according to an exemplary embodiment of the present invention is schematically shown. DETAILED DESCRIPTION
[0048] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present invention will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present invention.
[0049] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0050] This exemplary embodiment first provides a data processing method, which can be run on a server, a server cluster or a cloud server, or on a terminal device; of course, those skilled in the art can also run the method of the present invention on other platforms as required, and this exemplary embodiment does not specifically limit this. Figure 1 As shown, the data processing method may include the following steps:
[0051] Step S110: Acquire a plurality of abnormal data, and classify each abnormal data according to the data level of each abnormal data to obtain a plurality of parent node data and a plurality of child node data.
[0052] Step S120: construct multiple initial feature trees according to the parent node data and the child node data having the same feature information as the parent node data.
[0053] Step S130: Fusing the non-empty feature information of all nodes in each of the initial feature trees to obtain the attribute information of each of the initial feature trees.
[0054] Step S140: Screening the initial feature trees with the same attribute information to obtain a plurality of target feature trees, and searching for the target object that generates each of the abnormal data according to the attribute information of each of the target feature trees.
[0055] In the above data processing method, on the one hand, by classifying each anomaly according to the data level of each abnormal data, multiple parent node data and multiple child node data are obtained; and multiple initial feature trees are constructed according to each parent node data and the child node data having the same feature information as each parent node data; then the non-empty feature information of all nodes in each initial feature tree is fused to obtain the attribute information of each initial feature tree; finally, the initial feature trees with the same attribute information are screened to obtain multiple target feature trees, and the target object that generates each abnormal data is searched according to the attribute information of each target feature tree, which solves the problem in the prior art that the possible correlation between each low-level alarm is ignored and only one of the alarms is selected as the output, thereby only exposing local information, which will result in a low accuracy rate of the SKU that meets the conditions, and improves the accuracy of the target object that generates each abnormal data. On the one hand, it improves the accuracy of the target object; on the other hand, it solves the problem in the prior art that the calculation of the anomaly score is required, while how to correctly measure the anomaly score is a difficulty, thus increasing the complexity of the search process for the qualified SKU, simplifies the complexity of searching the target object that generates each abnormal data, and thus improves the search speed of the target object that generates each abnormal data; on the other hand, it solves the problem in the prior art that the cause cannot be located in real time due to offline detection, and the timeliness is not strong, which leads to a low accuracy rate of the abnormal SKU found; further, multiple target feature trees are obtained by screening the initial feature trees with the same attribute information, and the target object that generates each abnormal data is searched according to the attribute information of each target feature tree, thereby reducing the number of target feature trees, and further improving the search speed of the target object that generates each abnormal data.
[0056] Hereinafter, each step involved in the data processing method according to the exemplary embodiment of the present invention will be explained and illustrated in detail with reference to the accompanying drawings.
[0057] First, the purpose and background of exemplary embodiments of the present invention are described.
[0058] Specifically, the purposes of the example embodiments of the present invention include the following two aspects: on the one hand, in order to expose as much information of different dimensions of a certain abnormal point as possible, the example embodiments of the present invention connect the related alarms that appear at the same time in series, and form a unified multi-dimensional structure to find abnormal SKUs; on the other hand, in order to achieve rapid positioning and timely stop loss, the system adopts real-time positioning.
[0059] Furthermore, the output of abnormal SKU labeling is divided into different levels, including level 0 (first data level), level 1 (second data level) and level 2 (third data level) alarm information. For example, a piece of abnormal data at level = 0 can be shown in the following Table 1:
[0060] Table 1
[0061] date time platform index Alarm content Level mark d t p Effective amount {} 0 High
[0062] For another example, a piece of abnormal data at level = 2 can be shown in Table 2 below:
[0063] Table 2
[0064] date time platform index Alarm content Level mark d t B Valid orders {Business group: A, first-level category: B} 2 High
[0065] The anomaly detection system judges each time series independently, so the output of anomaly labeling (each abnormal data) is also independent. Even if these alarms contain alarms of some drill-down relationships, the output process of the alarm will not take these related information into account. As shown in Table 3 below, the two alarm messages have the same time, platform, and indicators. The first alarm belongs to level 1, and its alarm content is {Business Group A-High}; the second alarm belongs to level 2, and its alarm content is {Business Group A, First-level Category B-High}. The reason why these two alarms appear at the same time is that both alarm 1 and alarm 2 are caused by one or some abnormal SKUs in the first-level category B under business group A.
[0066] Table 3
[0067] date time platform index Alarm content Level mark Warning 1 d t B Valid orders {Business Group: A} 1 High Warning 2 d t B Valid orders {Business group: A, first-level category: B} 2 High
[0068] In step S110 , a plurality of abnormal data are acquired, and each of the abnormal data is classified according to the data level of each of the abnormal data to obtain a plurality of parent node data and a plurality of child node data.
[0069] In this example embodiment, first, multiple abnormal data are obtained; specifically, multiple abnormal data at the same time, with the same data identifier, and output by the same data generation platform can be obtained. By obtaining multiple valid data at the same time, with the same data identifier (indicator, such as whether it is a valid order or whether it is a valid amount, etc.) and from the same data generation platform, the real-time nature of the data can be guaranteed, avoiding the problem in the prior art that the cause cannot be located in real time due to offline detection, and the timeliness is not strong, which leads to a low accuracy rate of the abnormal SKU found. Among them, for ease of understanding, multiple abnormal data as shown in Table 4 below are provided for example.
[0070] For example, on the same date d, the same data generation platform P and the same time t, for the same data identifier (effective amount), a total of the following 12 alarm messages are generated simultaneously. Among these 12 alarms, 1 belongs to level 0, 4 belong to level 1, and 7 belong to level 2, as shown in Table 4 below.
[0071] Table 4
[0072]
[0073]
[0074] Furthermore, after obtaining a plurality of abnormal data, each abnormal data can be classified according to the data level of each abnormal data to obtain a plurality of parent node data and child node data, wherein the data level may include a first data level and a second data level, and the first data level is higher than the second data level. Specifically, each abnormal data corresponding to the first data level can be used as each parent node data, and each abnormal data corresponding to the second data level can be used as child node data. For example, according to the classification rules, the 4 level 1 alarms in the above Table 4 can be used as parent nodes, and the 7 level 2 alarms can be assigned as child nodes according to the characteristic attributes.
[0075] It is necessary to further explain that the above data level can also include Level 0 data level; however, for the sake of convenience of explanation, it is not specifically explained, but this data level also belongs to the protection scope of the embodiment of the present invention. In addition, the idea that the exemplary embodiment of the present invention always expresses is: data with a higher data level is used as parent node data, and data with a lower data level is used as child node data; when a child node data cannot be included in any parent node data, the child node data can be used as parent node data.
[0076] In step S120, a plurality of initial feature trees are constructed according to each of the parent node data and the child node data having the same feature information as the parent node data.
[0077] In this example embodiment, reference Figure 2 As shown, constructing multiple initial feature trees based on the parent node data and the child node data having the same feature information as the parent node data may include step S210 and step S220, which are described in detail below.
[0078] In step S210, the alarm feature of each parent node data is determined, and the child node data having the same alarm feature as the parent node data is determined.
[0079] In step S220, a plurality of initial feature trees are constructed based on the parent node data and the child node data having the same alarm feature as the parent node data.
[0080] Step S210 and step S220 are explained and illustrated below. Specifically, first, the alarm features of each parent node data are determined, and then the alarms with the same features in level 2 are set as child nodes of the level 1 alarm, thereby forming multiple initial feature trees. Figure 3 As shown, Figure 3 The parent node shown in is: {first-level category: C}; the corresponding child nodes are: {second-level category: S, first-level category: C}, {business group: B, first-level category: C}, {whether self-operated: O, first-level category: C} and {province: P, first-level category: C}, etc. For further information, refer to Figure 4 As shown, Figure 4 The parent node shown in is: {Business Group: B}; the corresponding child nodes are: {Business Group: B, First-level Category: C}, {Whether self-operated: O, Business Group: B} and {Province: P, Business Group: B}, etc.; For further information, refer to Figure 5 As shown, Figure 5 The parent node shown in is: {Whether self-operated: O}; the corresponding child nodes are: {Whether self-operated: O, first-level category: C}, {Whether self-operated: O, business group: B} and {Province: P, Whether self-operated: O}, etc.; Finally, Figure 6 The parent node shown is: {province: P}; the corresponding child nodes are: {province: P, first-level category: C}, {province: P, whether self-operated: O} and {province: P, business group: B}, etc.
[0081] In step S130, the non-empty feature information of all nodes in each of the initial feature trees is fused to obtain the attribute information of each of the initial feature trees.
[0082] In this example embodiment, the attribute information includes the category level and business group to which the target object corresponding to each of the initial feature trees belongs, the source of the target object, the geographical location where each of the abnormal data corresponding to each of the initial feature trees is generated, and the channel level where each of the abnormal data corresponding to each of the initial feature trees is generated, etc. Specifically, the attributes of each initial feature tree include primary category, secondary category, business group, whether it is self-operated, province, primary channel, secondary channel and city.
[0083] Furthermore, for each initial feature tree, all non-empty feature information of all its nodes (including parent nodes and child nodes) are fused to form the attributes of its feature tree. Attributes that are not present in both child nodes and parent nodes are still empty. Specifically, according to the fusion rules, feature fusion is performed separately for each feature tree, and the fusion results are shown in Table 5 below:
[0084] Table 5
[0085]
[0086]
[0087] In step S140, the initial feature trees with the same attribute information are screened to obtain a plurality of target feature trees, and the target object generating each of the abnormal data is searched according to the attribute information of each of the target feature trees.
[0088] In this exemplary embodiment, first, the initial feature trees with the same attribute information are screened to obtain multiple target feature trees. Figure 7 As shown, screening the initial feature trees having the same attribute information to obtain multiple target feature trees may include steps S710 to S730, which are described in detail below.
[0089] In step S710, a feature tree set is constructed according to each of the initial feature trees, and it is determined whether there is a containing and being contained relationship between the initial feature trees according to the attribute information of each of the initial feature trees in the feature tree set.
[0090] In step S720, if there is a containing and contained relationship between any two initial feature trees, the initial feature tree with the contained relationship is deleted.
[0091] In step S730, the initial feature trees remaining after deleting the initial feature trees with the included relationship from the feature tree set are used as multiple target feature trees; wherein no including and being included relationship exists between any two target feature trees.
[0092] In the following, step S710 to step S730 will be explained and illustrated. Specifically, according to the above screening rule (if there is a relationship of inclusion and inclusion between any two initial feature trees, the initial feature tree with the inclusion relationship is deleted), it can be known that the attributes of initial feature tree 2, initial feature tree 3 and initial feature tree 4 are all included in initial feature tree 1, so feature tree 2, feature tree 3, feature tree 4 are screened out, and feature tree 1 is retained. Specifically, it can be shown in Table 6 below.
[0093] Table 6
[0094]
[0095]
[0096] Finally, the final output is all the attributes of feature tree 1, which can be shown in Table 7 below:
[0097] Table 7
[0098] Feature Tree 1 Attributes First-class category: C Secondary category: S Business Group B Whether self-operated: O Province: P And channels: Secondary channels: City:
[0099] It should be further explained here that, by constructing the above-mentioned feature tree set, the accuracy of obtaining the target feature tree can be further improved, thereby improving the accuracy of finding the target object that generates abnormal data.
[0100] Furthermore, after obtaining the above-mentioned target feature tree, the target object that generates each of the abnormal data can be searched according to the attribute information of each of the target feature trees. Specifically, it can include: searching for the target object that generates each of the abnormal data according to the category level and business group to which the target object corresponding to each of the target feature trees belongs, the source of the target object, the geographical location that generates each of the abnormal data corresponding to each of the target feature trees, and the channel level that generates each of the abnormal data corresponding to each of the target feature trees. By searching for the target object that generates each of the abnormal data through this method, compared with the prior art method of using an information chain to find abnormal SKUs, the information chain method ultimately outputs only two features. The method used in the example embodiment of the present invention can find more attribute features, so the result can also be more accurate.
[0101] The present disclosure also provides a data processing device. Figure 8 As shown, the data processing device may include a data classification module 810, an initial feature tree construction module 820, a feature information integration module 830, and a target object search module 840. Among them:
[0102] The data classification module 810 may be used to obtain a plurality of abnormal data, and classify each abnormal data according to the data level of each abnormal data to obtain a plurality of parent node data and a plurality of child node data.
[0103] The initial feature tree construction module 820 may be configured to construct a plurality of initial feature trees according to each of the parent node data and the child node data having the same feature information as the parent node data.
[0104] The feature information integration module 830 may be used to integrate the non-empty feature information of all nodes in each of the initial feature trees to obtain the attribute information of each of the initial feature trees.
[0105] The target object search module 840 may screen the initial feature trees having the same attribute information to obtain a plurality of target feature trees, and search for the target object that generates each of the abnormal data according to the attribute information of each of the target feature trees.
[0106] In an exemplary embodiment of the present disclosure, obtaining a plurality of abnormal data includes:
[0107] A plurality of abnormal data are obtained at the same time, have the same data identifier, and are output by the same data generation platform.
[0108] In an exemplary embodiment of the present disclosure, the data level is divided into a first data level and a second data level; the first data level is higher than the second data level; wherein, classifying each abnormal data according to the data level of each abnormal data to obtain a plurality of parent node data and a plurality of child node data includes:
[0109] Each abnormal data corresponding to the first data level is used as each parent node data, and each abnormal data corresponding to the second data level is used as child node data.
[0110] In an exemplary embodiment of the present disclosure, constructing a plurality of initial feature trees according to each of the parent node data and the child node data having the same feature information as the parent node data includes:
[0111] Determine the alarm feature of each parent node data, and determine the child node data having the same alarm feature as each parent node data; construct multiple initial feature trees based on each parent node data and the child node data having the same alarm feature as each parent node data.
[0112] In an exemplary embodiment of the present disclosure, initial feature trees having the same attribute information are screened to obtain multiple target feature trees including:
[0113] A feature tree set is constructed according to each of the initial feature trees, and whether there is a relationship of inclusion and being included between each of the initial feature trees is determined according to the attribute information of each of the initial feature trees in the feature tree set; if there is a relationship of inclusion and being included between any two initial feature trees, the initial feature tree with the relationship of being included is deleted; the initial feature trees remaining after the initial feature tree with the relationship of being included is deleted from the feature tree set are used as multiple target feature trees; wherein, there is no relationship of inclusion and being included between any two of the target feature trees.
[0114] In an exemplary embodiment of the present disclosure, the attribute information includes multiple types of the category level and business group to which the target object corresponding to each of the initial feature trees belongs, the source of the target object, the geographical location where each of the abnormal data corresponding to each of the initial feature trees is generated, and the channel level where each of the abnormal data corresponding to each of the initial feature trees is generated.
[0115] In an exemplary embodiment of the present disclosure, searching for a target object that generates each of the abnormal data according to the attribute information of each of the target feature trees includes:
[0116] According to the category level and business group to which the target object corresponding to each target feature tree belongs, the source of the target object, the geographical location where the abnormal data corresponding to each target feature tree is generated, and the channel level where the abnormal data corresponding to each target feature tree is generated, the target object that generates each abnormal data is found.
[0117] The specific details of each module in the above data processing device have been described in detail in the corresponding data processing method, so they will not be repeated here.
[0118] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0119] In addition, although the steps of the method of the present invention are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0120] In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
[0121] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0122] Refer to the following Fig. 9The electronic device 600 according to this embodiment of the present invention is described. Fig. 9 The electronic device 900 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0123] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include but are not limited to: at least one processing unit 910, at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).
[0124] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 1 The step S110 shown in the figure is as follows: obtaining a plurality of abnormal data, and classifying each of the abnormal data according to the data level of each of the abnormal data to obtain a plurality of parent node data and a plurality of child node data; step S120: constructing a plurality of initial feature trees according to each of the parent node data and the child node data having the same feature information as each of the parent node data; step S130: fusing the non-empty feature information of all nodes in each of the initial feature trees to obtain the attribute information of each of the initial feature trees; step S140: screening the initial feature trees having the same attribute information to obtain a plurality of target feature trees, and searching for the target object that generates each of the abnormal data according to the attribute information of each of the target feature trees.
[0125] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .
[0126] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0127] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0128] The electronic device 900 may also communicate with one or more external devices 1000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0129] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present invention.
[0130] In an exemplary embodiment of the present invention, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of this specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
[0131] The program product for implementing the above method according to an embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a 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, apparatus, or device.
[0132] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The 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 (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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.
[0133] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. 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. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0134] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0135] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0136] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0137] Other embodiments of the invention will readily occur to those skilled in the art after considering the specification and practicing the invention invented herein. This application is intended to cover any variations, uses or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art that are not invented by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the claims.
Claims
1. A data processing method, characterized in that: include: Acquire a plurality of abnormal data, and classify each of the abnormal data according to the data level of each of the abnormal data to obtain a plurality of parent node data and a plurality of child node data; Constructing a plurality of initial feature trees according to each of the parent node data and the child node data having the same feature information as the parent node data; Merging the non-empty feature information of all nodes in each of the initial feature trees to obtain the attribute information of each of the initial feature trees; The initial feature trees with the same attribute information are screened to obtain a plurality of target feature trees, and the target object generating each of the abnormal data is searched according to the attribute information of each of the target feature trees.
2. The data processing method according to claim 1, characterized in that: Get multiple exception data including: A plurality of abnormal data are obtained at the same time, have the same data identifier, and are output by the same data generation platform.
3. The data processing method according to claim 2, characterized in that: The data level is divided into a first data level and a second data level; the first data level is higher than the second data level; Among them, classifying each abnormal data according to the data level of each abnormal data to obtain a plurality of parent node data and a plurality of child node data includes: Each abnormal data corresponding to the first data level is used as each parent node data, and each abnormal data corresponding to the second data level is used as child node data.
4. The data processing method according to claim 3, characterized in that: Constructing a plurality of initial feature trees according to the parent node data and the child node data having the same feature information as the parent node data comprises: Determine the alarm feature of each parent node data, and determine the child node data having the same alarm feature as each parent node data; A plurality of initial feature trees are constructed according to the parent node data and the child node data having the same alarm feature as the parent node data.
5. The data processing method according to claim 4, characterized in that: The initial feature trees with the same attribute information are screened to obtain multiple target feature trees including: Constructing a feature tree set according to each of the initial feature trees, and judging whether there is a containing and being contained relationship between each of the initial feature trees according to the attribute information of each of the initial feature trees in the feature tree set; If there is a containment relationship between any two initial feature trees, the initial feature tree with the containment relationship is deleted; The initial feature trees remaining after deleting the initial feature trees having the included relationship from the feature tree set are used as the plurality of target feature trees; There is no relationship of inclusion and being included between any two of the target feature trees.
6. The data processing method according to any one of claims 1 to 5, characterized in that: The attribute information includes multiple types of: the category level and business group to which the target object corresponding to each of the initial feature trees belongs, the source of the target object, the geographical location where the abnormal data corresponding to each of the initial feature trees is generated, and the channel level where the abnormal data corresponding to each of the initial feature trees is generated.
7. The data processing method according to claim 6, characterized in that: Searching for target objects that generate each of the abnormal data according to the attribute information of each of the target feature trees includes: According to the category level and business group to which the target object corresponding to each target feature tree belongs, the source of the target object, the geographical location where the abnormal data corresponding to each target feature tree is generated, and the channel level where the abnormal data corresponding to each target feature tree is generated, the target object that generates each abnormal data is found.
8. A data processing device, characterized in that: include: A data classification module, used for acquiring a plurality of abnormal data, and classifying each abnormal data according to the data level of each abnormal data to obtain a plurality of parent node data and a plurality of child node data; An initial feature tree construction module, used to construct multiple initial feature trees according to each of the parent node data and the child node data having the same feature information as each of the parent node data; A feature information integration module, used to integrate the non-empty feature information of all nodes in each of the initial feature trees to obtain the attribute information of each of the initial feature trees; The target object search module screens the initial feature trees with the same attribute information to obtain multiple target feature trees, and searches for the target object that generates each of the abnormal data according to the attribute information of each of the target feature trees.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the data processing method according to any one of claims 1 to 7 by executing the executable instructions.
Citation Information
Patent Citations
A data transaction analysis method and device
CN109597744A
Comment information processing method and device, storage medium and electronic equipment
CN109725803A
Method and device for identifying index exception reasons
CN110262937A
Performance abnormality analysis apparatus, method, and program, and analysis result display method for performance abnormality analysis apparatus
US20090048807A1
Determine Spatiotemporal Causal Interactions In Data
US20130166188A1
