A method, device, medium and electronic equipment for processing massive data

Processing and compressing massive data through predetermined label rules and merging models solves the problem of low processing efficiency of massive data, achieving efficient data analysis and optimizing big data application performance.

CN113779343BActive Publication Date: 2024-10-18RUN TECH CO LTD BEIJING
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111098143.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-18
Publication Date
2024-10-18
Estimated Expiration
2041-09-18

AI Technical Summary

Technical Problem

The existing technology lacks efficient pre-processing methods when processing massive amounts of data, resulting in long execution times when the amount of data is huge, affecting analysis efficiency.

Method used

Process massive data through predetermined label rules to generate label data, and use the merging model to classify and compress the label data to generate target data for comparison.

Benefits of technology

It improves the efficiency of massive data processing, optimizes big data application analysis performance, reduces the amount of data, and improves processing efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113779343B_ABST
    Figure CN113779343B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, medium and electronic device for processing massive data. The method includes: processing massive data according to a predetermined labeling rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; the labeling rule is used to characterize the rule for labeling the massive data; classifying the label data through a merging model to obtain classified data, and compressing the classified data to obtain target data for comparison processing of the target data; wherein the merging model is generated according to a pre-configured model file. This technical solution can improve the efficiency of massive data processing and optimize the performance of big data application analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of big data analysis technology, and in particular to a method, device, medium and electronic device for processing massive data. Background Art

[0002] With the development of the Internet, various data have exploded. The main feature of the Internet's massive data is its low value density. The information we want may appear in these data at any time. How to efficiently extract this information has become an urgent need for many people. Among them, massive data can refer to the amount of data involved that is so large that it cannot be intercepted, managed, processed, and organized into data that humans can interpret within a reasonable time.

[0003] At present, big data technology is often used to analyze and process massive amounts of data to extract effective information. For example, using the Hadoop+Hive architecture, data analysis and query can be achieved through Hive SQL. Hive is a data warehouse analysis system built on Hadoop. It provides a rich SQL query method to analyze data stored in the Hadoop distributed file system. It can map structured data files to a database table and provide complete SQL query functions.

[0004] Data analysis and query are implemented through Hive SQL without pre-processing massive data, which results in a long execution time when the data volume is huge. Summary of the invention

[0005] The embodiments of the present application provide a method, device, medium and electronic device for processing massive data, which can improve the efficiency of massive data processing and optimize the performance of big data application analysis.

[0006] In a first aspect, an embodiment of the present application provides a method for processing massive data, the method comprising:

[0007] Processing the massive data according to a predetermined labeling rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the labeling rule is used to characterize a rule for labeling the massive data;

[0008] The label data is classified by a merging model to obtain classified data, and the classified data is compressed to obtain target data for comparison with the target data; wherein the merging model is generated according to a pre-configured model file.

[0009] In a second aspect, an embodiment of the present application provides a massive data processing device, the device comprising:

[0010] A label data obtaining module is used to process the massive data according to a predetermined label rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the label rule is used to characterize a rule for labeling the massive data;

[0011] The target data acquisition module is used to classify the label data through a merging model to obtain classified data, and compress the classified data to obtain target data for comparison processing of the target data; wherein the merging model is generated based on a pre-configured model file.

[0012] In a third aspect, an embodiment of the present application provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method for processing massive data as described in the embodiment of the present application is implemented.

[0013] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for processing massive data as described in the embodiment of the present application is implemented.

[0014] The technical solution provided in the embodiment of the present application processes the massive data according to the predetermined labeling rules to obtain the label data; classifies the label data through the merging model to obtain the classified data, and compresses the classified data to obtain the target data for comparison processing of the target data. This technical solution can improve the efficiency of massive data processing and optimize the performance of big data application analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a flow chart of a method for processing massive data provided in Example 1 of the present application;

[0016] Figure 2 This is a flowchart of the model instance scheduling execution provided in Example 1 of the present application;

[0017] Figure 3 It is a schematic diagram of the massive data processing process provided in the second embodiment of the present application;

[0018] Figure 4 It is a structural diagram of the visualization interface provided in the second embodiment of the present application;

[0019] Figure 5 is a schematic diagram of the structure of a mass data processing device provided in Embodiment 3 of the present application;

[0020] Figure 6 It is a structural schematic diagram of an electronic device provided in Example 5 of the present application. DETAILED DESCRIPTION

[0021] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.

[0022] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0023] Embodiment 1

[0024] Figure 1 It is a flowchart of the method for processing massive data provided in the first embodiment of the present application. This embodiment can be applicable to the situation of performing comparative processing on massive data. The method can be executed by the massive data processing device provided in the embodiment of the present application. The device can be implemented by software and / or hardware, and can be integrated into devices such as smart terminals for data processing.

[0025] like Figure 1 As shown, the mass data processing method includes:

[0026] S110, processing the massive data according to a predetermined labeling rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the labeling rule is used to characterize a rule for labeling the massive data;

[0027] Massive data may refer to data with a large amount of data obtained through the Internet, such as the purchase records of users on shopping websites, the telephone communication records of users, or the travel trajectories of users.

[0028] In this solution, the labeling rules may be rules sent by other systems for labeling data. The labeling rules may be rules in JSON (JavaScript Object Notation) format. Massive data may be labeled according to the content of the labeling rules to obtain labeled data.

[0029] In this technical solution, optionally, the massive data is processed according to a predetermined labeling rule to obtain label data, including:

[0030] Obtain labeling rules, and parse the labeling rules to generate labeling conditions; wherein the labeling conditions include a data set, a labeling basis field, a labeling logic, and a labeling field;

[0031] According to the label marking conditions, the massive data is labeled according to the preset task scheduling plan to obtain label data.

[0032] The data set may refer to the source of massive data, for example, from a user's shopping records, a user's phone call records, or a user's travel trajectories.

[0033] In this embodiment, the marking basis field may refer to a field for distinguishing different types of mass data, and is used to classify the mass data. Each piece of data is composed of multiple fields, and the marking basis field may be a field in the data, and the marking basis field in each piece of data may be predetermined.

[0034] The labeling logic may refer to a specific labeling rule. For example, assuming that the data set is a shopping record, and the labeling basis field is clothing, the labeling logic may be greater than or equal to 100, that is, the clothing with a purchase amount greater than or equal to 100 is labeled.

[0035] In this solution, the labeling field may refer to a field in the data for adding a label. The labeling field may be determined in advance.

[0036] In this embodiment, a task scheduling schedule can be generated based on the task operation cycle, start time and other operation control information. During the massive data access process, the massive data is labeled according to the labeling task to obtain the label data, and the label data is input into the specified location. There are other storage programs to realize the data entry into the Hive database.

[0037] By labeling massive data, it is possible to label massive data, which is conducive to the processing and analysis of massive data.

[0038] In this technical solution, optionally, after parsing the label rule and generating the label marking condition, the method further includes:

[0039] The label marking condition is verified, and if the verification passes, the massive data is marked according to the label marking condition and a preset task scheduling plan.

[0040] Among them, the data set or the labeling basis field in the label marking condition can be verified to determine whether the data set or the labeling basis field is empty. If it is empty, the verification fails; if it is not empty, the verification passes.

[0041] In this solution, if the verification passes, the label engine generates a labeling task based on the legal verification rules. During the access of massive data, the massive data is labeled according to the labeling task to obtain labeled data.

[0042] By verifying the labeling conditions, the efficiency of labeling massive data can be improved and the performance of big data application analysis can be optimized.

[0043] S120, classifying the label data through a merging model to obtain classified data, and compressing the classified data to obtain target data for comparison processing of the target data; wherein the merging model is generated according to a pre-configured model file.

[0044] In this embodiment, the merging model can be used to classify the label data and classify the data of the same category into one category. For example, data with the same label can be classified into the same category.

[0045] In this solution, after obtaining the classified data, the frequency can be counted by item or the number of days of occurrence can be counted by day according to the time when the data was generated, and the first and last occurrence time of the data can be recorded, and the classified data can be compressed to form target data, and the target data can be stored in the MPP database. For example, based on the purchase records, food, daily necessities, and clothing can be labeled, and the purchase records can be compressed to form label-based purchase merged data.

[0046] By processing the data, data classification and compression can be achieved, which is conducive to processing and analyzing massive data and optimizing the analysis performance of big data applications.

[0047] In the technical solution, optionally, the label data is classified by a merging model to obtain classified data, including:

[0048] Get model description files and model parameters from a pre-configured model catalog;

[0049] Adding the model parameters to the model description file to generate a model file;

[0050] The model file is verified. If the verification passes, a merge model is created according to the model file, and the merge model is executed according to the task scheduling plan to classify the label data to obtain classified data.

[0051] In this embodiment, a set of massive data merging and processing technology is provided, which consists of six parts: data source docking, model XML, model directory, model analysis service, model instance scheduling and model execution engine.

[0052] Among them, data source docking is responsible for the input of label data; model XML is a process description file with the purpose of data analysis. It is the carrier of the specific model, that is, the model description file, which can be written by the user offline and uploaded to the model directory; the model directory is responsible for model XML storage; the model analysis service provides an external model analysis service interface; the model instance scheduling is responsible for model XML parsing, model analysis instance generation, and instance control; the model execution engine is responsible for the specific execution of the model.

[0053] In this solution, the Hive connection of the label data is set through the data source docking module to achieve the docking of the label data. According to the requirements of the merged model, the model description file is manually written offline and uploaded to the model directory. The model instance scheduling is used to obtain the model description file and model parameters from the model directory, add the model parameters to the model description file, generate the model file, and write the verified model file into the scheduling plan. The model execution engine executes the model file according to the scheduling plan, classifies the label data, and obtains the classified data.

[0054] For example, Figure 2 is a flowchart of the model instance scheduling execution provided in the first embodiment of the present application, such as Figure 2 As shown, the model analysis service provides an external model analysis service interface, obtains the model XML, i.e., the model description file, from the model directory, receives the model parameters, adds the model parameters to the model description file to generate the model file, parses the model file, verifies the field information in the model file, and if the verification passes, creates a model instance based on the model file, verifies whether the model instance is repeated, and if it is repeated, returns the scheduling status; if it is not repeated, the model instance is written into the execution scheduling plan. Among them, the scheduling plan contains multiple model files, and the model execution engine executes the model file according to the scheduling plan, classifies the label data, and obtains the classified data.

[0055] By classifying the label data to obtain classified data and compressing the classified data, the amount of massive data can be reduced and the data processing efficiency can be improved.

[0056] The technical solution provided in the embodiment of the present application processes the massive data according to the predetermined labeling rules to obtain the labeling data; classifies the labeling data through the merging model to obtain the classified data, and compresses the classified data to obtain the target data for comparison processing of the target data. By executing this technical solution, the efficiency of massive data processing can be improved and the performance of big data application analysis can be optimized.

[0057] Embodiment 2

[0058] Figure 3It is a schematic diagram of the massive data processing process provided by the second embodiment of the present application, and the second embodiment is further optimized on the basis of the first embodiment. The specific optimization is: after compressing the classified data to obtain the target data, the method also includes: in response to an input operation, extracting the data to be processed from the target data, and in response to an information configuration operation, performing information configuration on the data to be processed to obtain comparison data; according to the comparison data, determining at least two comparison fields, and processing the at least two comparison fields according to preset comparison conditions to obtain a comparison result; wherein the comparison conditions include at least one of intersection comparison, union comparison and difference comparison. Among them, the content not fully described in this embodiment is detailed in the first embodiment. As Figure 3 As shown, the method comprises the following steps:

[0059] S310, processing the massive data according to a predetermined labeling rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the labeling rule is used to characterize a rule for labeling the massive data;

[0060] S320, classifying the label data through a merging model to obtain classified data, and compressing the classified data to obtain target data for comparison processing of the target data; wherein the merging model is generated according to a pre-configured model file

[0061] S330, in response to an input operation, extracting data to be processed from the target data, and in response to an information configuration operation, performing information configuration on the data to be processed to obtain comparison data;

[0062] In this solution, a set of visualization interfaces is provided, and the data to be processed can be extracted from the target data stored in the database by operating the visualization interface, and the data to be processed can be configured to obtain comparison data. The comparison data can be one or more data in the data to be processed.

[0063] For example, Figure 4 is a schematic diagram of the structure of the visualization interface provided in the second embodiment of the present application. Figure 4 As shown in the figure, the visualization interface includes five functions: data selection submodule, field configuration submodule, index creation submodule, filter item generation submodule, and filter interface generation submodule. The visualization interface can be used to extract and compare the data to be processed.

[0064] In the present technical solution, optionally, the information setting operation includes at least one of a data name configuration operation, a field name configuration operation, a field screening operation, a field display operation, and a dictionary configuration operation.

[0065] Among them, the data name configuration operation can be used to modify the data name; the field name configuration operation can be used to rename all the field information in the loaded data; the field filter operation can be used to filter all the field information in the data. Among them, the filtering methods include text input, enumeration filtering, etc. When setting the enumeration filter field, it is necessary to analyze the data content in the deduplication field and automatically generate the enumeration filter items to ensure that the filter items selected by the user have data; the field display operation is used to display the field to view the specific data in the filter result page; the dictionary configuration operation is used when the corresponding field is displayed, according to the dictionary encoding information in the dictionary translation field.

[0066] In this solution, firstly, the data to be processed is extracted from the target data in the MPP library through the data selection submodule, and the name of the data to be processed is set; the field of the data to be processed is configured, and the configuration process includes: loading all the field information of the selected data to be processed by the visual interface, and renaming the fields to control the field display name on the interface, and setting the field display, setting the filter items, and setting the dictionary to complete the field configuration and obtain the comparison data.

[0067] In this embodiment, after completing the field configuration, the system automatically generates an index creation statement based on the configuration, and different index types can be selected according to the data characteristics. This solution uses the btree type index. The MPP database executes the statement to automatically create the index. Finally, based on the field visualization configuration, the system automatically generates the front-end page, including the data component icon, the filtering interface, and the result interface. Among them, the data component icon can refer to an icon used to represent data. For example, clothing data can be represented by a clothing icon, and information can be represented by a little man icon; the filtering interface is used to filter data; the result interface is used to display the processing results of the data for users to view and compare the results.

[0068] Processing the data to be processed through a visual interface can improve data processing efficiency, optimize big data application analysis performance, and enhance user experience.

[0069] S340. Determine at least two comparison fields according to the comparison data, and process the at least two comparison fields according to a preset comparison condition to obtain a comparison result; wherein the comparison condition includes at least one of intersection comparison, union comparison and difference comparison.

[0070] In this embodiment, the comparison fields may be two fields in the same comparison data or two fields in different comparison data. The comparison result may be common data, identical data or different data in the two comparison fields. For example, the comparison fields may be shopping data and user information. By comparing and analyzing the shopping data and user information, it is possible to determine which people have each type of shopping behavior, and it is also possible to determine who has multiple shopping behaviors. By comparing and analyzing the data, accurate analysis and mining of user groups can be performed to support marketing strategies.

[0071] Among them, intersection comparison can be used to extract common data in two comparison fields; parallel comparison can be used to extract identical data in two comparison fields; and difference comparison can be used to extract different data in two comparison fields.

[0072] In this solution, the specific execution process of the comparison includes: first creating a comparison task; generating an SQL statement for the comparison task; filtering the data; if the filtered data is not empty, performing data comparison and processing the data; if the comparison result is not empty, storing the comparison result data; if the comparison result is empty, returning the comparison task status.

[0073] In the technical solution, optionally, the at least two comparison fields are processed according to a preset comparison condition to obtain a comparison result, including:

[0074] In response to an input operation of the front-end page, the comparison field is moved to a preset comparison position, and based on the preset comparison position and according to preset comparison conditions, the at least two comparison fields of the same type are processed to obtain a comparison result.

[0075] In this solution, first, drag the comparison data to the process drawing interface. Among them, the comparison data is displayed on the interface in the form of icons. Set the filter conditions to filter the data, and confirm the data range by viewing the data results. Select two selected data A and B and set the comparison conditions. First, select the comparison method, and provide three collision comparisons: intersection, union, and difference. The intersection is A∩B, and the union is A∪B. The difference is (AA∩B) or (BA∩B). Then, select the collision field, and select the comparison field for equal value comparison in the two comparison data sets A and B. After the comparison conditions are selected, the system performs data collision according to the comparison conditions. After the collision is completed, the results can be displayed on the drawing interface, and the results can be used to collide with other data or comparison results again. The system will automatically record the collision logic process and form a collision flow chart to record business analysis ideas, which is convenient for users to share ideas.

[0076] By comparing and analyzing the data, we can extract useful information from the data and optimize the analysis performance of big data applications.

[0077] The technical solution provided in the embodiment of the present application processes massive data according to predetermined labeling rules to obtain label data; classifies the label data through a merging model to obtain classified data, and compresses the classified data to obtain target data for comparison processing of the target data. In response to an input operation, the data to be processed is extracted from the target data, and in response to an information configuration operation, the data to be processed is configured to obtain comparison data; based on the comparison data, at least two comparison fields are determined, and at least two comparison fields are processed according to preset comparison conditions to obtain comparison results; wherein the comparison conditions include at least one of intersection comparison, union comparison and difference comparison. By executing this technical solution, the efficiency of massive data processing can be improved and the performance of big data application analysis can be optimized.

[0078] Embodiment 3

[0079] Figure 5 is a schematic diagram of the structure of a mass data processing device provided in an embodiment of the present application, such as Figure 5 As shown, the massive data processing device includes:

[0080] The label data obtaining module 510 is used to process the massive data according to a predetermined label rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the label rule is used to characterize a rule for labeling the massive data;

[0081] The target data acquisition module 520 is used to classify the label data through a merging model to obtain classified data, and compress the classified data to obtain target data for comparison processing of the target data; wherein the merging model is generated based on a pre-configured model file.

[0082] In this technical solution, optionally, the tag data obtaining module 510 includes:

[0083] A label marking condition generating unit, used to obtain label rules, and parse the label rules to generate label marking conditions; wherein the label marking conditions include a data set, a labeling basis field, a labeling logic, and a labeling field;

[0084] The label data obtaining unit is used to label the massive data according to the label marking conditions and a preset task scheduling plan to obtain label data.

[0085] In this technical solution, optionally, the label data obtaining module 510 further includes:

[0086] The verification unit is used to verify the label marking condition. If the verification passes, the massive data is marked according to the label marking condition and a preset task scheduling plan.

[0087] In this technical solution, optionally, the target data obtaining module 520 is specifically used to:

[0088] Get model description files and model parameters from a pre-configured model catalog;

[0089] Adding the model parameters to the model description file to generate a model file;

[0090] The model file is verified. If the verification passes, a merge model is created according to the model file, and the merge model is executed according to the task scheduling plan to classify the label data to obtain classified data.

[0091] In this technical solution, optionally, the device further includes:

[0092] A comparison data obtaining module, used for extracting the to-be-processed data from the target data in response to an input operation, and performing information configuration on the to-be-processed data in response to an information configuration operation to obtain comparison data;

[0093] The comparison result obtaining module is used to determine at least two comparison fields according to the comparison data, and process the at least two comparison fields according to preset comparison conditions to obtain a comparison result; wherein the comparison conditions include at least one of intersection comparison, union comparison and difference comparison.

[0094] In the present technical solution, optionally, the information setting operation includes at least one of a data name configuration operation, a field name configuration operation, a field screening operation, a field display operation, and a dictionary configuration operation.

[0095] In this technical solution, optionally, the comparison result obtaining module is specifically used for:

[0096] In response to an input operation of the front-end page, the comparison field is moved to a preset comparison position, and based on the preset comparison position and according to preset comparison conditions, the at least two comparison fields of the same type are processed to obtain a comparison result.

[0097] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.

[0098] Embodiment 4

[0099] The embodiment of the present application further provides a medium containing computer executable instructions, wherein the computer executable instructions are used to execute a method for processing massive data when executed by a computer processor, the method comprising:

[0100] Processing the massive data according to a predetermined labeling rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the labeling rule is used to characterize a rule for labeling the massive data;

[0101] The label data is classified by a merging model to obtain classified data, and the classified data is compressed to obtain target data for comparison with the target data; wherein the merging model is generated according to a pre-configured model file.

[0102] Medium - any of various types of memory devices or storage devices. The term "medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. The medium may also include other types of memory or combinations thereof. In addition, the medium may be located in the computer system in which the program is executed, or may be located in a different second computer system, which is connected to the computer system via a network (such as the Internet). The second computer system can provide program instructions to the computer for execution. The term "medium" may include two or more media that may reside in different locations (for example, in different computer systems connected by a network). The medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.

[0103] Of course, the medium containing computer executable instructions provided in the embodiments of the present application is not limited to the mass data processing operations described above, and can also execute related operations in the mass data processing method provided in any embodiment of the present application.

[0104] Embodiment 5

[0105] An embodiment of the present application provides an electronic device, in which the mass data processing device provided by the embodiment of the present application can be integrated. Figure 6 Schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present application. Figure 6As shown, this embodiment provides an electronic device 600, which includes: one or more processors 620; a storage device 610, which is used to store one or more programs. When the one or more programs are executed by the one or more processors 620, the one or more processors 620 implement the mass data processing method provided in the embodiment of the present application. The method includes:

[0106] Processing the massive data according to a predetermined labeling rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the labeling rule is used to characterize a rule for labeling the massive data;

[0107] The label data is classified by a merging model to obtain classified data, and the classified data is compressed to obtain target data for comparison with the target data; wherein the merging model is generated according to a pre-configured model file.

[0108] Of course, those skilled in the art can understand that the processor 620 also implements the technical solution of the mass data processing method provided in any embodiment of the present application.

[0109] Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0110] like Figure 6 As shown, the electronic device 600 includes a processor 620, a storage device 610, an input device 630, and an output device 640; the number of the processor 620 in the electronic device can be one or more. Figure 6 A processor 620 is taken as an example; the processor 620, the storage device 610, the input device 630 and the output device 640 in the electronic device can be connected via a bus or other means. Figure 6 The connection via bus 650 is taken as an example.

[0111] The storage device 610, as a computer-readable medium, can be used to store software programs, computer executable programs and module units, such as program instructions corresponding to the mass data processing method in the embodiment of the present application.

[0112] The storage device 610 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the storage device 610 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 610 may further include a memory remotely arranged relative to the processor 620, and these remote memories may be connected via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0113] The input device 630 may be used to receive input numbers, character information or voice information, and generate key signal input related to user settings and function control of the electronic device. The output device 640 may include electronic devices such as a display screen and a speaker.

[0114] The electronic device provided in the embodiment of the present application can achieve the purpose of improving data processing efficiency and optimizing big data application analysis performance.

[0115] The mass data processing device, medium, and electronic device provided in the above embodiments can execute the mass data processing method provided in any embodiment of the present application, and have the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in the above embodiments, please refer to the mass data processing method provided in any embodiment of the present application.

[0116] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A method for processing massive data, characterized in that: include: Processing the massive data according to a predetermined labeling rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the labeling rule is used to characterize a rule for labeling the massive data; Classifying the label data through a merging model to obtain classified data, and compressing the classified data to obtain target data; wherein the merging model is generated according to a pre-configured model file; Among them, the massive data is processed according to the predetermined labeling rules to obtain the label data, including: Obtain labeling rules, parse the labeling rules, and generate labeling conditions; wherein the labeling conditions include data sets, labeling basis fields, labeling logic, and labeling fields; the data sets refer to the source of massive data; the labeling basis fields refer to the fields for distinguishing different categories of massive data; the labeling logic refers to labeling rules; the labeling fields refer to the fields in the data used to add labels; According to the labeling conditions, the massive data is labeled according to the preset task scheduling plan to obtain label data; Wherein, after compressing the classified data to obtain the target data, the method further includes: In response to an input operation, extracting data to be processed from the target data, and in response to an information configuration operation, performing information configuration on the data to be processed to obtain comparison data; Determine at least two comparison fields according to the comparison data, and process the at least two comparison fields according to a preset comparison condition to obtain a comparison result; wherein the comparison condition includes at least one of intersection comparison, union comparison and difference comparison; Wherein, the information configuration operation includes at least one of a data name configuration operation, a field name configuration operation, a field screening operation, a field display operation, and a dictionary configuration operation; The at least two comparison fields are processed according to a preset comparison condition to obtain a comparison result, including: In response to an input operation of the front-end page, the comparison field is moved to a preset comparison position, and based on the preset comparison position and according to preset comparison conditions, at least two comparison fields of the same type are processed to obtain a comparison result.

2. The method according to claim 1, characterized in that: After parsing the label rule and generating the label marking condition, the method further includes: The label marking condition is verified, and if the verification passes, the massive data is marked according to the label marking condition and a preset task scheduling plan.

3. The method according to claim 1, characterized in that The label data is classified and processed by the merging model to obtain classified data, including: Get model description files and model parameters from a pre-configured model catalog; Adding the model parameters to the model description file to generate a model file; The model file is verified. If the verification passes, a merge model is created according to the model file, and the merge model is executed according to the task scheduling plan to classify the label data to obtain classified data.

4. A mass data processing device, characterized in that: include: A label data obtaining module is used to process the massive data according to a predetermined label rule to obtain label data; wherein the massive data is used to characterize data with a large amount of data; and the label rule is used to characterize a rule for labeling the massive data; A target data acquisition module is used to classify the label data through a merging model to obtain classified data, and compress the classified data to obtain target data; wherein the merging model is generated according to a pre-configured model file; Among them, the label data acquisition module includes: A label marking condition generating unit is used to obtain label rules, parse the label rules, and generate label marking conditions; wherein the label marking conditions include a data set, a labeling basis field, a labeling logic, and a labeling field; the data set refers to the source of the massive data; the labeling basis field refers to a field for distinguishing different categories of massive data; the labeling logic refers to the labeling rules; the labeling field refers to a field in the data used to add labels; A label data obtaining unit is used to label the massive data according to the label labeling conditions and a preset task scheduling plan to obtain label data; Wherein, the device further comprises: A comparison data obtaining module, used for extracting the to-be-processed data from the target data in response to an input operation, and performing information configuration on the to-be-processed data in response to an information configuration operation to obtain comparison data; A comparison result obtaining module, used for determining at least two comparison fields according to the comparison data, and processing the at least two comparison fields according to a preset comparison condition to obtain a comparison result; wherein the comparison condition includes at least one of intersection comparison, union comparison and difference comparison; Wherein, the information configuration operation includes at least one of a data name configuration operation, a field name configuration operation, a field screening operation, a field display operation, and a dictionary configuration operation; Among them, the comparison result obtains the module, which is specifically used for: In response to an input operation of the front-end page, the comparison field is moved to a preset comparison position, and based on the preset comparison position and according to preset comparison conditions, at least two comparison fields of the same type are processed to obtain a comparison result.

5. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for processing massive data as described in any one of claims 1 to 3 is implemented.

6. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for processing massive data according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Labeling-based data analysis method b

    CN111191125A