Big data mining method and device, storage medium and electronic device
By setting feature labels for big data and using the Naive Bayes classification algorithm to determine data validity, the problems of high energy consumption and low efficiency in big data management are solved, and efficient data mining and management are achieved.
Patent Information
- Application Number
- CN202210955525.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-10
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-08-10
AI Technical Summary
High energy consumption and low efficiency in big data management lead to low data mining efficiency and difficulty in redundant storage and version control of invalid data.
By setting data feature labels for the metadata of big data and using the Naive Bayes classification algorithm to determine data validity indicators, we can avoid the mining and storage of invalid data and reduce the waste of computing resources.
It effectively avoids the mining and storage of invalid data, reduces the resource loss of data mining, and improves the efficiency and quality of data management.
Smart Images

Figure CN115344562B
Abstract
Description
Background Art
[0002] In the contemporary digital economy, big data mining has become an important means to unlock the hidden value of data.
[0003] At present, the management of big data mainly adopts the concept of data warehouse, and eliminates data in fixed years. With the rapid increase of the amount of information mined by big data, big data mining and development will generate a large amount of invalid data. Invalid data is still being mined, and the workload of ordinary verification methods is very large, which makes the data of enterprises consume huge energy and computing power in the data analysis process. In addition, the redundant centralized storage of a large amount of data and the sharing of data services increase the risk of leakage. Secondly, after the data spreads, big data will have multiple versions at multiple time points. The unlimited spread of data makes it very difficult to control, update, and destroy the version of data. In general, the high energy consumption and low efficiency of big data management lead to low efficiency of data mining.
[0004] Therefore, there is an urgent need for a technical method that can achieve efficient big data mining and reduce the computing energy consumption of data mining.
[0005] 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 disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the present disclosure is to provide a big data mining method and device, a storage medium and an electronic device, which can at least to some extent overcome the problem of high energy consumption in big data mining due to related technologies.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to one aspect of the present disclosure, a big data mining method is provided, comprising:
[0009] Set data feature labels for the metadata of big data to obtain metadata with labels;
[0010] Marking the tagged metadata according to a preset rule to obtain a data sequence;
[0011] configuring an initial version timestamp of the data for the data sequence;
[0012] Record the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature tag;
[0013] Determine the data validity index by using the naive Bayes classification algorithm according to the flow path and change of the data sequence;
[0014] A validity measure of the data is determined according to the validity indicator.
[0015] In one embodiment of the present disclosure, the step of marking metadata of a data node according to a preset rule to obtain a data sequence includes:
[0016] Get the preset deduplication vocabulary set;
[0017] The metadata is used as a sentence vector, and the metadata of the node data is represented as a data sequence according to a preset rule using the preset deduplication vocabulary set.
[0018] In one embodiment of the present disclosure, the preset rule includes: if the sentence vector exists in a corresponding position of the preset deduplication vocabulary set, it is marked as 1;
[0019] If the sentence vector does not exist in the corresponding position of the preset deduplication vocabulary set, it is marked as 0;
[0020] If the sentence vector does not exist in the preset deduplication vocabulary set, it is marked as 2.
[0021] In one embodiment of the present disclosure, recording the flow path and change of the data sequence according to the initial version timestamp of the data and the data feature tag includes:
[0022] Record the flow path of the data sequence in the network according to the data feature tag;
[0023] The node access time of the data sequence, the data sequence update status and the data version timestamp update status are recorded according to the initial version timestamp of the data.
[0024] In one embodiment of the present disclosure, determining the data validity index using a naive Bayes classification algorithm according to the flow direction and change of the data sequence includes:
[0025] Acquire data attribute characteristics according to the flow path and change of the data sequence;
[0026] Calculate the health probability, failure probability and error probability of the data using the naive Bayes classification algorithm according to the data attribute characteristics;
[0027] If the health probability is greater than the failure probability and the error probability, the data is determined to be valid.
[0028] In one embodiment of the present disclosure, data attribute characteristics include: data source existence, version timestamp, source data existence, inactivated data, multi-source update, and data destruction.
[0029] In one embodiment of the present disclosure, the method further includes:
[0030] The data is managed according to a measure of validity of the data.
[0031] According to another aspect of the present disclosure, there is provided a big data mining device, comprising:
[0032] The label setting module is used to set data feature labels for the metadata of big data and obtain the metadata with labels;
[0033] A data tagging module, used to tag the tagged metadata according to a preset rule to obtain a data sequence;
[0034] A version configuration module, used to configure an initial version timestamp of data for the data sequence;
[0035] A flow recording module, used to record the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature tag;
[0036] An index calculation module, used to determine the data validity index using a naive Bayes classification algorithm according to the flow path and change of the data sequence;
[0037] The index determination module is used to determine the validity measurement value of the data according to the validity index.
[0038] According to another aspect of the present disclosure, there is provided an electronic device, including:
[0039] Processor; and
[0040] A memory, configured to store executable instructions of the processor;
[0041] Wherein, the processor is configured to execute any one of the above-mentioned big data mining methods by executing the executable instructions.
[0042] According to another 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 big data mining method described in any one of the above is implemented.
[0043] The embodiment of the present disclosure provides a big data mining method, which sets data feature labels for the metadata of big data to obtain the labeled metadata; marks the labeled metadata according to preset rules to obtain the data sequence; configures the initial version timestamp of the data for the data sequence; records the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature labels; determines the data validity index using the naive Bayes classification algorithm according to the flow path and changes of the data sequence; determines the validity measurement value of the data according to the validity index. By determining the validity of the data, the waste of computing resources caused by the mining of invalid data is avoided, the use of erroneous data is avoided, and the storage and computing of invalid data is reduced, thereby reducing the resource loss of data mining.
[0044] 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 present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0046] Figure 1 A flow chart of a big data mining method in one embodiment of the present disclosure is shown;
[0047] Figure 2 A schematic diagram showing the change of the data sequence flow path of a big data mining method in an embodiment of the present disclosure is shown;
[0048] Figure 3 A schematic diagram showing a scenario of a data sequence flow path change in a big data mining method according to an embodiment of the present disclosure;
[0049] Figure 4 A flow chart of a big data mining method in another embodiment of the present disclosure is shown;
[0050] Figure 5 A flow chart of a big data mining method in another embodiment of the present disclosure is shown;
[0051] Figure 6 A schematic diagram of a big data mining device in an embodiment of the present disclosure is shown; and
[0052] Figure 7 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0053] 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 limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0054] In addition, the accompanying drawings are only schematic illustrations of the present disclosure 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.
[0055] The solution provided in the embodiments of the present application relates to the technology of big data mining, which is specifically described by the following embodiments:
[0056] like Figure 1 A big data mining method flow chart is shown in FIG. 1 , and an embodiment of the present disclosure provides a big data mining method, comprising:
[0057] S101, setting data feature labels for metadata of big data to obtain metadata with labels;
[0058] The storage format of big data is KV format, and metadata is marked, with Kn as the name of the data feature label, for example, Kn (K1, K2, K3, K4, K5, K6, K7). This allows the flow and change of data to be monitored based on the data feature labels. Metadata is data about data, mainly information that describes data attributes, and is used to support functions such as indicating storage location, historical data, resource search, and file records. Metadata can help find the required data and realize data search and data management.
[0059] S102, marking the metadata with tags according to a preset rule to obtain a data sequence;
[0060] The metadata with labels is marked, and the metadata of the data content input by each data node is marked as a data sequence. The preset rule of this embodiment is specifically to represent the node data as a matrix sequence on the vocabulary. A vocabulary is prepared in advance, with metadata as sentences, sentences as vectors, and existence in the vocabulary is recorded as 1, non-existence is recorded as 0, and non-existence in the vocabulary is recorded as 2. Specifically, for example, K1 is marked, and then K1 is obtained as (1 2 1 0 1 2 1 0 2 1 1 1).
[0061] S103, configuring an initial version timestamp of the data for the data sequence;
[0062] On the basis of the data sequence obtained in the above step S102, an initial version is configured, and the initial version is replaced by a timestamp, so that the detection and collection of data access and other processes are started at this time point. For example, the initial version timestamp configured for K1 is 1652458344. Among them, the timestamp is data generated using digital signature technology, and the objects of the signature include original data information, signature parameters, signature time, etc. The timestamp is used to prove that the content of the electronic data file remains intact and has not been changed since the application of the trusted timestamp. It will also play a role in preventing the content of electronic archives and digital copies of archives from being tampered with and protecting archives. In this embodiment, when the data is changed, the corresponding data sequence will also change, thereby recording the situation where the data has been changed.
[0063] S104, recording the flow path and change of the data sequence according to the initial version timestamp of the data and the data feature tag;
[0064] like Figure 2 As shown, it is a schematic diagram of the change of the data sequence flow path of this embodiment, and data is exchanged between different nodes, as shown in the figure. Data sequences K1, K2, K3, K4, K5, K6, K7 are exchanged between nodes N1, N2, N3, N4, N5, N6.
[0065] The labels of the recorded data are updated with the timestamps of when different nodes are found, as well as the nodes where the data appears. The process of the sentence data sequence being accessed by multiple nodes is recorded one by one, and the table generated after recording is as follows: Table 1:
[0066] node sentence Data Series Timestamp Serial number state N1 K1 1 2 1 0 1 2 1 0 2 1 1 1 1652458344 1 initial N5 K1 1 2 1 0 1 2 1 0 2 1 1 1 1652458344 2 References N3 K6 1 2 0 0 1 1 0 2 0 0 0 0 1652457721 1 initial N5 K6 1 2 0 0 1 1 0 2 0 0 0 0 1652457721 2 References N6 K6 1 2 0 0 1 1 0 2 0 0 0 0 1652457721 3 References N3 K6 1 2 0 0 1 1 0 2 1 0 0 1 1652458252 1 renew
[0067] Table 1
[0068] As shown in Table 1, combined Figure 2To illustrate, the initial position of K1 is at the N1 node, recording the node N1 where the sentence K1 is located, the data sequence is 12012102111, and the current timestamp is 1652458344. In order, K1 is first in the initial state at the node K1 corresponding to sequence number 1, and then in the state of being referenced by the N5 node at the node N5 corresponding to sequence number 2, and they all correspond to the initial version of the data sequence, and the timestamp remains unchanged. However, when the data sequence changes, the timestamp will change. Take K6 of the N3 node in the table as an example. Compared with K6 of the N6 node, the data sequence has changed, indicating that the data content has been updated at this time, and the state has changed to the updated state, and then the corresponding time version has also changed, and the timestamp has become 1652458252.
[0069] S105, determining a data validity index using a naive Bayesian classification algorithm according to the flow path and change of the data sequence;
[0070] According to the data flow path and change records in the above steps, the data update time point can be tracked, and it can be found whether the data of its subordinate nodes is updated in time, thereby marking whether the data is valid. The valid indicators corresponding to the data are different, and their characteristics are also different. For example, healthy data contains characteristics: the data source exists, the version time series is correct, and healthy data is normal data; invalid data contains characteristics: the data has not been updated within 30 days, the source data has been deleted, and invalid data is expired data; error data contains characteristics: data version sequence reference confusion, multi-source update, and undestroyed data. This embodiment adopts the naive Bayes classifier algorithm, and learns and classifies according to the six characteristics of big data: data source exists, version time series is correct, source data exists, inactivated data, multi-source update, and destroyed data. Training with sufficient big data samples can achieve better classification results. After classification calculation, the data validity indicators are obtained, including: health probability, failure probability, and error probability. In this way, it is determined whether the data is valid. When the health probability is greater than the failure and error probabilities, it proves that the data at this time is valid. As shown in Table 2 below:
[0071] feature Probability healthy 0.7 Invalidation 0.2 mistake 0.2
[0072] Table 2
[0073] Table 2 shows the data validity index of K6. The health probability of 0.7 is greater than the failure probability of 0.2 and the error probability of 0.2. Therefore, it can be determined that the application of K6 is effective.
[0074] S106, determining a validity measurement value of the data according to the validity indicator.
[0075] After determining the validity index of the data, the validity measurement value of the data is obtained according to the valid and invalid percentages, with the number of tracked sentences Kn as the denominator Y and the total amount of valid data as the numerator X. Y / X is the validity measurement value of the data.
[0076] In this embodiment, a big data mining method is provided, which sets a data feature label for the metadata of the big data to obtain the labeled metadata; marks the labeled metadata according to the preset rules to obtain the data sequence; configures the initial version timestamp of the data for the data sequence; records the flow path and change of the data sequence according to the initial version timestamp of the data and the data feature label; determines the data validity index using the naive Bayes classification algorithm according to the flow path and change of the data sequence; determines the validity measurement value of the data according to the validity index. By determining the validity of the data, the waste of computing resources caused by the mining of invalid data is avoided, the use of erroneous data is avoided, and the storage and computing of invalid data is reduced, thereby reducing the resource loss of data mining.
[0077] In addition, when invalid and erroneous references are found in the data on the network, they can be marked and fed back to the management and analysis layer in real time, providing the enterprise with data quality assessment indicators.
[0078] like Figure 4 A flow chart of a big data mining method is shown. In the embodiment of the present disclosure, the metadata of the data node is marked according to the preset rules to obtain the data sequence, including:
[0079] S401, obtaining a preset deduplication vocabulary set;
[0080] S402: Using the metadata as a sentence vector, and using the preset deduplication vocabulary set to represent the metadata of the node data as a data sequence according to a preset rule.
[0081] In an embodiment of the present disclosure, the preset rules include: if the sentence vector exists in the corresponding position of the preset deduplication vocabulary set, it is marked as 1; if the sentence vector does not exist in the corresponding position of the preset deduplication vocabulary set, it is marked as 0; if the sentence vector does not exist in the preset deduplication vocabulary set, it is marked as 2.
[0082] Specifically, a vocabulary set is prepared in advance, which is a deduplicated vocabulary set. The metadata is used as a sentence, and then the sentence is used as a vector. The preset marking rule is: existence in the vocabulary is recorded as 1, non-existence is recorded as 0, and non-existence in the vocabulary is recorded as 2. For example, K1 is marked, and then K1 is expressed as (1 2 1 0 1 2 1 0 2 1 1 1), and K2 is marked, and K2 is expressed as (1 2 0 0 1 1 0 2 0 0 0 0). Then the data on the node can be represented as a matrix on the vocabulary:
[0083]
[0084] The above matrix Dn includes a matrix composed of data sequences of K1 and K2, where n is equal to 2, and the number of n depends on the number of sentences.
[0085] In the disclosed embodiment, the flow path and changes of the data sequence are recorded according to the initial version timestamp of the data and the data feature tag, including: recording the flow path of the data sequence in the network according to the data feature tag; recording the node access time of the data sequence, the data sequence update status and the data version timestamp update status according to the initial version timestamp of the data.
[0086] Combining the flow paths of data sequences Figure 2 and Figure 3 As shown in the following description, Figure 3 Server 301, server 302, and server 303 in correspond to Figure 2 Nodes N1, N2, N3 in the server 301 include: K1, K2, K3 as an interface, server 302 include: K4 and K5 as an interface, server 303 include: K6, K7 as an interface. Then nodes N4, N5, N6 correspond to access source 304, access source 305 and access source 306. Access source 304 includes: K4, K5, access source 305 includes: K1, K6, K7, access source 306 includes K3 and K6. Department 310, department 320, system 330, system 340, system 350, department 360, data flows between different departments and systems to interact with data. The process of the sentence data sequence being accessed by multiple nodes is recorded one by one, and the record table shown in Table 1 is generated after recording, recording the node where each data sequence is located, the data status, the current data sequence, the current version timestamp and the data change sequence number, so as to determine whether the data sequence has changed, how it flows, the current status and other related information. Real-time and effective monitoring of data,
[0087] like Figure 5 Another big data mining method flow chart is shown. In one embodiment of the present disclosure, the data validity index is determined by using a naive Bayes classification algorithm according to the flow direction and change of the data sequence, including:
[0088] S501, obtaining data attribute characteristics according to the flow path and change of the data sequence;
[0089] S502, calculating the health probability, failure probability and error probability of the data using the naive Bayes classification algorithm according to the data attribute characteristics;
[0090] S503: If the health probability is greater than the failure probability and the error probability, it is determined that the data is valid.
[0091] Among them, in the embodiment of the present disclosure, the data attribute characteristics include: the existence of the data source, the version timestamp, the existence of the source data, the inactivated data, the multi-source update and the data destruction.
[0092] Specifically, the Naive Bayes algorithm is used to perform learning and classification based on the six data attribute characteristics of the above big data, namely, the existence of data source, version timestamp, source data, inactivated data, multi-source update, and data destruction. Big data with sufficient samples can achieve a relatively good probability effect during training.
[0093] Specifically, the naive Bayes classifier algorithm is used, and the calculation process is as follows:
[0094] The Bayesian formula is as follows:
[0095]
[0096] Rewrite this criterion, replacing x and y with w, where w is a vector determined by the number of feature tokens:
[0097]
[0098] Among them, C i is the category, w device data attribute characteristics. The categories are health, failure, and error.
[0099] For example, the error probability calculation process is as follows:
[0100] P(error|reference confusion, multi-source update, data destruction) = P(reference confusion|error)*P(multi-source update|error)*P(data destruction|error)*P(error) / (P(reference confusion)*P(multi-source update)*P(data destruction))
[0101] The specific probability calculation process is as follows: first, obtain the node source data, then analyze the source data vocabulary, then mark the data set data sequence, and then calculate the prior probability P(R=Ci) of the data attribute features (data source existence, correct version time series, inactive data, multi-source update, and marked destroyed data) = the number of samples belonging to the Ci type attribute feature / total number of samples, where Ci is the category vector. Finally, calculate the conditional probability.
[0102] Calculate the health probability, failure probability and error probability. Evaluate data validity in real time, train and predict quickly, and use probability for prediction. Improve the data quality of big data analysis and reduce the waste of computing resources. Avoid data mining energy consumption caused by invalid data.
[0103] In one embodiment of the present disclosure, the method further includes:
[0104] The data is managed according to a measure of validity of the data.
[0105] In this embodiment, real-time monitoring of big data can achieve the tracing of big data, realize life cycle management, and evaluate data validity in real time, so that after discovering the status of acquired data, data can be accurately managed according to the data validity metric. Invalid and erroneous references of data in the network are avoided, and they are marked and fed back to the management and analysis layer in real time.
[0106] like Figure 6 A schematic diagram of the structure of a big data mining device is shown. In another embodiment of the present disclosure, a big data mining device 600 is provided, comprising:
[0107] The tag setting module 601 is used to set data feature tags for the metadata of big data to obtain metadata with tags;
[0108] The data marking module 602 is used to mark the metadata with tags according to a preset rule to obtain a data sequence;
[0109] A version configuration module 603, used to configure an initial version timestamp of data for the data sequence;
[0110] A flow recording module 604 is used to record the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature tag;
[0111] An index calculation module 605 is used to determine the data validity index using a naive Bayes classification algorithm according to the flow path and change of the data sequence;
[0112] The index determination module 606 is used to determine the validity measurement value of the data according to the validity index.
[0113] The big data mining device provided in this embodiment includes a label setting module 601, a labeling data module 602, a version configuration module 603, a flow recording module 604, an index calculation module 605, and an index determination module 606. Through the above modules, data feature labels are set for the metadata of big data to obtain the labeled metadata; the labeled metadata is marked according to the preset rules to obtain the data sequence; the initial version timestamp of the data is configured for the data sequence; the flow path and change of the data sequence are recorded according to the initial version timestamp of the data and the data feature label; the data validity index is determined by the naive Bayes classification algorithm according to the flow path and change of the data sequence; the validity measurement value of the data is determined according to the validity index. By determining the validity of the data, the waste of computing resources caused by the mining of invalid data is avoided, the use of erroneous data is avoided, and the storage and calculation of invalid data is reduced, and the resource loss of data mining is reduced.
[0114] In yet another embodiment of the present disclosure, an electronic device is provided, including:
[0115] Processor; and
[0116] A memory, configured to store executable instructions of the processor;
[0117] Wherein, the processor is configured to execute any one of the above-mentioned big data mining methods by executing the executable instructions.
[0118] The electronic device of this embodiment implements the above-mentioned big data mining method through a processor, which will not be described in detail here.
[0119] 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".
[0120] Refer to the following Figure 7 An electronic device 700 according to this embodiment of the present invention will be described. Figure 7 The electronic device 700 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.
[0121] like Figure 7 As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include but are not limited to: at least one processing unit 710, at least one storage unit 720, and a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710).
[0122] The storage unit stores program codes, which can be executed by the processing unit 710, so that the processing unit 710 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 710 can perform the following steps: Figure 1 The big data mining method shown in the text sets data feature labels for the metadata of the big data to obtain the labeled metadata; marks the labeled metadata according to preset rules to obtain a data sequence; configures the initial version timestamp of the data for the data sequence; records the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature labels; determines the data validity index using the naive Bayes classification algorithm according to the flow path and changes of the data sequence; and determines the validity measurement value of the data according to the validity index.
[0123] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 7201 and / or a cache storage unit 7202 , and may further include a read-only storage unit (ROM) 7203 .
[0124] The storage unit 720 may also include a program / utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 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.
[0125] Bus 730 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.
[0126] The electronic device 700 may also communicate with one or more external devices 800 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 700, and / or any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 760. Figure 7As shown, the network adapter 760 communicates with other modules of the electronic device 700 via the bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0127] In another embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned big data mining methods is implemented.
[0128] The computer-readable storage medium provided in this embodiment and the computer program executed by the processor thereby implement the above-mentioned big data mining method, which will not be described in detail here.
[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 disclosure 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, including 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 disclosure.
[0130] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present 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 execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0131] A program product for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can 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 can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a 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] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, 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 multiple modules or units to be embodied.
[0137] In addition, although the steps of the method in the present disclosure 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.
[0138] 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 disclosure 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, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0139] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A big data mining method, characterized in that: include: Set data feature labels for the metadata of big data to obtain metadata with labels; Marking the tagged metadata according to a preset rule to obtain a data sequence; configuring an initial version timestamp of the data for the data sequence; Record the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature tag; Determine the data validity index by using the naive Bayes classification algorithm according to the flow path and change of the data sequence; Determining a validity measurement value of the data according to the validity indicator; The metadata of the data node is marked according to the preset rules to obtain the data sequence, including: Get the preset deduplication vocabulary set; Taking the metadata as a sentence vector, and using the preset deduplication vocabulary set to represent the metadata of the data node as a data sequence according to a preset rule; The step of recording the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature tag includes: Record the flow path of the data sequence in the network according to the data feature tag; The node access time of the data sequence, the data sequence update status and the data version timestamp update status are recorded according to the initial version timestamp of the data.
2. The big data mining method according to claim 1, characterized in that: The preset rule includes: if the sentence vector exists in the corresponding position of the preset deduplication vocabulary set, it is marked as 1; If the sentence vector does not exist in the corresponding position of the preset deduplication vocabulary set, it is marked as 0; If the sentence vector does not exist in the preset deduplication vocabulary set, it is marked as 2.
3. The big data mining method according to claim 1, characterized in that: Determining the data validity index by using the naive Bayes classification algorithm according to the flow direction and change of the data sequence includes: Acquire data attribute characteristics according to the flow path and change of the data sequence; Calculate the health probability, failure probability and error probability of the data using the naive Bayes classification algorithm according to the data attribute characteristics; If the health probability is greater than the failure probability and the error probability, the data is determined to be valid.
4. The big data mining method according to claim 3, characterized in that: Data attribute characteristics include: existence of data source, version timestamp, existence of source data, inactivated data, multi-source update, and data destruction.
5. The big data mining method according to claim 1, characterized in that: The method further comprises: The data is managed according to a measure of validity of the data.
6. A big data mining device, characterized in that: include: The label setting module is used to set data feature labels for the metadata of big data and obtain the metadata with labels; A data marking module, used for marking the metadata with labels according to preset rules to obtain a data sequence; A version configuration module, used to configure an initial version timestamp of data for the data sequence; A flow recording module, used to record the flow path and changes of the data sequence according to the initial version timestamp of the data and the data feature tag; An index calculation module, used to determine the data validity index using a naive Bayes classification algorithm according to the flow path and change of the data sequence; An index determination module, used to determine the validity measurement value of the data according to the validity index; The tag data module includes: an acquisition submodule for acquiring a preset deduplication vocabulary set; a sequence representation submodule for using the metadata as a sentence vector and using the preset deduplication vocabulary set to represent the metadata of the data node as a data sequence according to a preset rule; The flow recording module includes: a first recording submodule, used to record the flow path of the data sequence in the network according to the data feature tag; a second recording submodule, used to record the node access time of the data sequence, the data sequence update status and the data version timestamp update status according to the initial version timestamp of the data.
7. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the big data mining method described in any one of claims 1 to 5 by executing the executable instructions.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the big data mining method described in any one of claims 1 to 5 is implemented.
