A data-driven big data analysis method, system, device, storage medium and terminal
Through the data-driven big data analysis method, big data analysis tasks are disassembled into sub-task sets and loaded into microservice models to generate analysis reports and web pages. This solves the problems of low analysis efficiency and insufficient flexibility in traditional methods and achieves high efficiency. Reusability and high scalability enhance the release of data value.
Patent Information
- Application Number
- CN202010181793.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-16
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-03-16
AI Technical Summary
In the context of big data, traditional demand-driven data analysis methods are difficult to cope with the rapid iteration of data and business, resulting in inefficient task analysis, inflexibility, and difficulty in perceiving the full characteristics of the data, thereby reducing the value release of the data.
Using a data-driven big data analysis method, the big data analysis task is decomposed into a set of analysis subtasks, and a preset microservice model is loaded for processing based on the subtask set to generate task analysis results, and finally the results are input into predefined tasks Fill in the template and generate analysis reports and/or dynamic and static web pages to improve the generalization capabilities of data, business and visualization.
It improves the flexibility and efficiency of big data analysis tasks, achieves high reusability and high scalability of big data analysis architecture, and meets the uncertainty and iterative evolution needs of data and business.
Smart Images

Figure CN111581932B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a data-driven big data analysis method, system, device, storage medium and terminal. Background Art
[0002] New generation information technologies such as mobile Internet, Internet of Things, social networks, and e-commerce have spawned new application forms, which are continuously generating big data. By managing, processing, analyzing, and optimizing data from different sources and feeding the results back to the above applications, huge economic and social value will be created, forming the energy to promote social change.
[0003] At present, data analysis methods are mainly demand-driven. For a given specific analysis task, data input, business calculation logic and visualization methods are first clearly defined through demand analysis, and then the task is developed (top-down). In the context of big data, data analysis is more data-driven. Based on existing data, through the continuous connection, integration and generalization of data, the connection, integration and generalization of business are further driven, gradually releasing the huge value of data (bottom-up).
[0004] The typical characteristics of big data analysis tasks are that data and business are constantly evolving, and even reverse driving requirements are constantly evolving. Therefore, in the context of big data, it is difficult for us to perceive the overall characteristics of the data and then define clear analysis requirements, which makes big data analysis tasks highly uncertain. If the traditional demand-driven method is still used, it will lead to low generalization ability of the task, lack of flexibility, and reduced task analysis efficiency. A new data analysis method characterized by data-driven is urgently needed. Summary of the invention
[0005] The embodiments of the present application provide a data-driven big data analysis method, system, device, storage medium and terminal. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
[0006] In a first aspect, an embodiment of the present application provides a data-driven big data task analysis method, the method comprising:
[0007] Get big data analysis tasks;
[0008] Decomposing the big data analysis task to generate a set of analysis subtasks;
[0009] Based on each subtask in the subtask set, a preset microservice model is loaded for processing to generate a task analysis result;
[0010] The task analysis results are input into a predefined task template for filling, and an analysis report and / or dynamic and static web pages are generated.
[0011] Optionally, after inputting the visualization results into a predefined task template for filling and generating an analysis report, the process further includes:
[0012] When receiving a download instruction inputted by the client, obtaining a saving path;
[0013] The analysis report is saved to the client based on the saving path.
[0014] Optionally, after inputting the visualization result into a predefined task template for filling and generating a dynamic or static web page, the process further includes:
[0015] Enter the URL address of the web page to browse the analyzed content.
[0016] Optionally, after decomposing the big data analysis task to generate a set of analysis subtasks, the process further includes:
[0017] Generate a task template based on each subtask definition template in the subtask set, wherein the task template includes an analysis and judgment report template and a web page template;
[0018] The task template is determined as a predefined task template.
[0019] Optionally, the step of loading a preset microservice model for processing each subtask in the subtask set to generate a task analysis result includes:
[0020] Obtaining the data entity corresponding to each subtask in the subtask set;
[0021] The data entity is input into the loaded preset microservice model for processing to generate a task analysis result.
[0022] Optionally, the types of the task analysis results include numerical type, data list type, statistical chart type, text type, screenshot type, picture type and video type.
[0023] Optionally, the carrier of the task analysis result includes at least a report and a web page.
[0024] In a second aspect, an embodiment of the present application provides a data-driven big data analysis system, the system comprising:
[0025] The data layer module is used to abstract the data requirements of each subtask in the big data analysis subtask set into a single independent data entity as the input of the business layer module;
[0026] The business layer module is used to abstract the statistics and calculation logic of each subtask in the big data analysis subtask set into a single independent business logic entity as the input of the visualization layer module;
[0027] The visualization layer module is used to abstract the visualization requirements of each subtask in the big data analysis subtask set into a single independent visualization method entity as the expression method of the upper-level subtask module;
[0028] A subtask layer module is used to define at least one data entity, define at least one business function entity with the data entity as input, define at least one visualization method with the statistical result of the business function entity as input, and select the visualization result as the result output of the subtask;
[0029] The task layer is used to abstract the big data analysis task into a task entity, which is composed of multiple subtasks, that is, each big data analysis task is composed of multiple visualization results.
[0030] In a third aspect, an embodiment of the present application provides a data-driven big data analysis device, the device comprising:
[0031] Task acquisition module, used to acquire big data analysis tasks;
[0032] A set generation module, used to decompose the big data analysis task and generate a set of analysis subtasks;
[0033] A result generation module is used to load a preset microservice model for processing each subtask in the subtask set to generate a task analysis result;
[0034] The output generation module is used to input the task analysis results into a predefined task template for filling, and generate an analysis report and / or dynamic and static web pages.
[0035] In a fourth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0036] In a fifth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0037] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0038] In an embodiment of the present application, the user terminal first obtains a big data analysis task, then disassembles the big data analysis task to generate a set of analysis subtasks, then loads a preset microservice model based on each subtask in the subtask set for processing, generates a task analysis result, and finally inputs the task analysis result into a predefined task template for filling, and generates an analysis report and / or dynamic and static web pages. Aiming at the typical characteristics of strong uncertainty in the requirements of big data analysis tasks, the present application is based on data-driven, abstracts and hierarchically decouples the traditional data analysis process, and continuously improves the generalization capabilities of data, business, and visualization to achieve high reusability and high scalability of the big data analysis architecture, thereby improving the efficiency and flexibility of task analysis.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0041] Figure 1 It is a flowchart of a data-driven big data analysis method provided in an embodiment of the present application;
[0042] Figure 2 It is a process diagram of a task analysis process based on big data provided by an embodiment of the present application;
[0043] Figure 3 is a process diagram of another task analysis process based on big data provided in an embodiment of the present application;
[0044] Figure 4 It is a scene diagram of a task analysis scene based on big data provided in an embodiment of the present application;
[0045] Figure 5 It is a flowchart of another data-driven big data analysis method provided in an embodiment of the present application;
[0046] Figure 6 is a schematic diagram of a data-driven big data analysis device provided in an embodiment of the present application;
[0047] Figure 7 It is a structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
[0049] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are only examples of devices and methods consistent with some aspects of the present invention as detailed in the attached claims.
[0051] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In addition, in the description of the present invention, unless otherwise specified, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.
[0052] So far, in demand-driven data analysis methods, task analysis is performed by defining relatively fixed needs. Since it is difficult to perceive the overall characteristics of data in the context of big data, the big data analysis task has a strong uncertainty, thereby reducing the efficiency of task analysis. To this end, the present application provides a data-driven big data analysis method, system, device, storage medium and terminal to solve the problems existing in the above-mentioned related technical issues. In the technical solution provided by the present application, the traditional big data analysis process is abstracted and hierarchically decoupled to achieve high reusability and high scalability of the big data analysis architecture, thereby improving the efficiency of task analysis. An exemplary embodiment is used below for detailed description.
[0053] The following will be combined with the attached Figure 1 -Attached Figure 5, the data-driven big data analysis method provided in the embodiment of the present application is introduced in detail. The method can be implemented by a computer program and can be run on a data-driven big data analysis device based on the von Neumann system. The computer program can be integrated in an application or run as an independent tool application. Among them, the data-driven big data analysis device in the embodiment of the present application can be a user terminal, including but not limited to: a personal computer, a tablet computer, a handheld device, a vehicle-mounted device, a wearable device, a computing device, or other processing devices connected to a wireless modem. In different networks, user terminals can be called different names, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), 5G network or terminal equipment in future evolution network, etc.
[0054] See also Figure 1 , provides a flow chart of a data-driven big data analysis method for the present application embodiment. Figure 1 As shown, the method of the embodiment of the present application may include the following steps:
[0055] S101, obtaining a big data analysis task;
[0056] Among them, combined with the business scenarios of big data analysis tasks, from the perspective of task execution reusability, big data analysis tasks can be divided into regular analysis tasks and temporary analysis tasks. Regular analysis tasks are consistent in the space, content definition, business logic and visualization method of input data, and only the time definition is different. Temporary analysis tasks can be reflected in different input data time definition, space definition, content definition, business logic definition and visualization method definition.
[0057] First, based on the basic concept of data-driven, a big data analysis architecture is constructed. This application abstracts the big data analysis architecture from bottom to top into five levels, namely the data layer, business layer, visualization layer, subtask layer and task layer. The data layer abstracts the data requirements of each subtask in the big data analysis subtask set into a single independent data entity as the input of the business layer module; the business layer abstracts the statistics and calculation logic of each subtask in the big data analysis subtask set into a single independent business logic entity as the input of the visualization layer module; the visualization layer is used to abstract the visualization requirements of each subtask in the big data analysis subtask set into a single independent visualization method entity as the expression method of the upper-level subtask module; the subtask layer is used to define at least one data entity, define at least one business function entity with the data entity as input, define at least one visualization method with the statistical results of the business function entity as input, and select the visualization result as the result output of the subtask; the task layer module abstracts the big data analysis task into a task entity, and the task entity is composed of multiple subtasks, that is, each big data analysis task is composed of multiple visualization results.
[0058] In a possible implementation, after a big data analysis architecture is created, task analysis can be performed based on the big data analysis architecture. During the task analysis, it is first necessary to obtain the big data analysis task.
[0059] S102, decomposing the big data analysis task to generate a set of analysis subtasks;
[0060] The analysis subtask set includes multiple analysis subtasks, and the multiple analysis subtasks are generated after splitting the big data task.
[0061] In the embodiment of the present application, for a given big data analysis task, the big data analysis task can be broken down into several analysis subtasks, each of which corresponds to its own data requirements, business requirements and visualization requirements. Data requirements can be divided into time requirements, space requirements and data content requirements.
[0062] Specifically, each analysis subtask may share data requirements, business requirements, and visualization requirements. From the perspective of system decoupling and generalization of data, business, and visualization functional modules, Figure 2 Evolved into Figure 3 The hierarchical functional structure diagram is shown in Figure 3 Under the hierarchical architecture, a data entity can be used as the input of multiple business logics at the same time, and the statistical results of a business logic can be presented by multiple visualization methods. Through data-driven hierarchical abstraction, big data tasks can be broken down into multi-level, loosely coupled subtasks, thereby enhancing the business generalization capabilities of big data systems.
[0063] S103, loading a preset microservice model for processing based on each subtask in the subtask set to generate a task analysis result;
[0064] Among them, the microservice model is a microservice model created by the business layer with the help of the service-oriented architecture (Serviced-Oriented Architecture, referred to as SOA) and the idea of the architecture. The task analysis result is generated by loading the pre-created microservice model for data processing.
[0065] Usually, traditional software adopts a monolithic architecture. The idea of a monolithic architecture is to couple all modules together to process business logic. This approach requires a large amount of code and is difficult to maintain. In the present invention, the business layer is implemented in the form of "microservices", where each module of the microservice is equivalent to a separate project, the amount of code is significantly reduced, and problems encountered are relatively easier to solve.
[0066] In the microservice system, services written in different programming languages are unified into a complete system based on the Restful architecture style. When implementing microservices, the system also needs to provide a set of basic architectures that enable microservices to be independently deployed, run, and upgraded. In addition, the system architecture can also make microservices "loosely coupled" in structure, while they are functionally a unified whole. This so-called "unified whole" is manifested in a unified style of interface, unified permission management, unified security policy, unified online process, unified log and audit methods, unified scheduling methods, unified access portals, etc. The input parameters of microservices loaded in the same analysis task are interoperable to a certain extent, such as the spatiotemporal definition of the data range of big data analysis. Therefore, it is necessary to define a platform-level parameter management module to implement one-time configuration and multiple use of microservice parameters with the same meaning, thereby improving the efficiency and consistency of configuration.
[0067] In a possible implementation, after the microservice model is created and generated, the data entity corresponding to each subtask can be obtained, and then the data entity is input into the loaded microservice model for processing, and finally the processed analysis result is generated.
[0068] For example, taking the traffic big data analysis scenario as an example, the microservice model can implement business statistical models, such as traffic statistics business, congestion ranking statistics business, etc.; it can also implement general algorithms for other microservices to call, such as regression algorithms, prediction algorithms, etc.; it can also form more powerful businesses such as detour route generation, traffic flow simulation, etc. through microservice combination.
[0069] S104, inputting the task analysis result into a predefined task template for filling, and generating an analysis report and / or dynamic and static web pages.
[0070] Among them, the task analysis results are visual achievements, and the types of visual achievements include numerical type, data list type, statistical chart type, text type, screenshot type, picture type and video type. The task template is defined in advance and is the carrier of the task analysis results. The task template includes the analysis and judgment report template and the web page template. The analysis report and / or dynamic and static web pages are a kind of achievement generated by filling the task analysis results through the task template.
[0071] Usually, numerical types include integers, floating-point types, and other numerical values, such as statistics on the flow value of a highway in a certain period of time, the average speed value of a certain section of road, etc. Data list type Two-dimensional structured data expressed in a table form, such as the flow situation of all prefecture-level cities in a province is given in a list form. Statistical chart types include line charts, pie charts, bar charts, etc. For example, the flow distribution ratio of all prefecture-level cities in a province is expressed in a pie chart. Text description is an automatically generated textual narrative. GIS screenshots mark relevant locations on the map for user viewing, such as marking the locations of the 10 toll stations with the largest flow in a province on the map. Pictures and videos For example, the system automatically retrieves video or image information at the scene of the accident. If this information is inserted into the results, it will significantly improve the readability and richness of the results content.
[0072] In a feasible implementation, visualization effects are strongly related to statistical business logic, so visualization effects are integrated into the microservice model for implementation. After the microservice completes the corresponding business statistical logic, it outputs the visualization effects of the business statistical results according to one or more set visualization forms, and finally fills the visualization effects into the pre-defined task template, and finally generates an analysis report and / or dynamic and static web pages.
[0073] In the embodiment of the present application, for a given big data analysis task, the analysis and judgment report template and web page template are first defined, and then the dynamic visualization effect of the microservice is loaded according to the analysis subtask in the big data analysis task, and finally the dynamic visualization effect is filled into the pre-defined template, and the analysis and judgment report and the corresponding web page content are automatically generated, which are provided to users for browsing and downloading, thereby realizing the "one-click generation" of big data analysis results. The above templates can be reused indefinitely, and the template content can be continuously increased and optimized as needed, which better meets the uncertainty and iterative evolution needs of big data analysis business.
[0074] For example Figure 4As shown in the figure, the architecture of the traffic big data analysis platform takes the traffic big data analysis business as an example. When performing task analysis in the analysis platform architecture, the traffic big data analysis tasks include traffic flow analysis, blocking event analysis, operation status analysis, comprehensive operation index analysis, major accident analysis and disaster analysis. When analyzing the above tasks, first monitor and collect data through the traffic big data platform, then load the microservice model for processing and generate visualization results, and then fill the visualization results into the pre-set task template to generate a report / webpage for users to browse and download.
[0075] In an embodiment of the present application, the user terminal first obtains a big data analysis task, then disassembles the big data analysis task to generate a set of analysis subtasks, then loads a preset microservice model based on each subtask in the subtask set for processing, generates a task analysis result, and finally inputs the task analysis result into a predefined task template for filling, generates an analysis report and / or dynamic and static web pages. The present application abstracts and decouples the traditional big data analysis process in layers to achieve high reusability and high scalability of the big data analysis architecture, thereby improving the efficiency of task analysis.
[0076] See also Figure 5 , is a flow chart of a data security storage method provided in an embodiment of the present application. This embodiment is illustrated by applying the data security storage method to a user terminal. The data security storage method may include the following steps:
[0077] S201, obtaining a big data analysis task;
[0078] S202, decomposing the big data analysis task to generate a set of analysis subtasks;
[0079] S203, generating a task template based on each subtask definition template in the subtask set, wherein the task template includes an analysis and judgment report template and a web page template;
[0080] S204, determining the task template as a predefined task template;
[0081] S205, obtaining the data entity corresponding to each subtask in the subtask set;
[0082] Usually, data entities come from the data layer. In data development, the core data model changes relatively slowly, and the workload of maintaining data is also very large. Due to the rapid changes in the speed of business innovation and the demand for data, the data layer of this application is implemented by using the "data middle platform". The data middle platform is to make up for the problem of inability to keep up with the responsiveness due to the mismatch in development speed between data development and application development. The data middle platform aggregates and governs cross-domain data, abstracts and encapsulates data into services, and provides the logical concept of business value to the front desk.
[0083] The data middle platform uniformly accesses, governs, integrates and extracts business data, and then stores it in a structured manner in a unified data warehouse according to the time and space granularity defined by the standard. It provides business data indicators of various dimensions and granularities to the upper-level business through standard interfaces.
[0084] Taking the traffic big data analysis scenario as an example, the business data covered by the data center includes but is not limited to: real-time traffic data, blocking event data, traffic weather data, video and image data, macro index data, traffic flow data, etc. The above data is provided to the outside in the form of standardized interfaces, and the data integration, governance, operation and maintenance process are shielded from the upper-level business.
[0085] S206, inputting the data entity into the loaded preset microservice model for processing to generate a task analysis result;
[0086] S207, inputting the task analysis result into a predefined task template for filling, and generating an analysis report and / or a dynamic or static web page;
[0087] S208, when receiving a download instruction inputted from the client, obtaining a saving path;
[0088] S209: Save the analysis report to the client based on the saving path.
[0089] In an embodiment of the present application, the user terminal first obtains a big data analysis task, then disassembles the big data analysis task to generate a set of analysis subtasks, then loads a preset microservice model based on each subtask in the subtask set for processing, generates a task analysis result, and finally inputs the task analysis result into a predefined task template for filling, and generates an analysis report and / or dynamic and static web pages. Aiming at the typical characteristics of strong uncertainty in the requirements of big data analysis tasks, the present application is based on data-driven, abstracts and hierarchically decouples the traditional data analysis process, and continuously improves the generalization capabilities of data, business, and visualization to achieve high reusability and high scalability of the big data analysis architecture, thereby improving the efficiency and flexibility of task analysis.
[0090] The following is an embodiment of the system of the present invention. For details not disclosed in the embodiment of the system of the present invention, please refer to the embodiment of the method of the present invention.
[0091] The data-driven big data analysis system can be realized as all or part of the terminal through software, hardware or a combination of both. The system includes a data layer module, a business layer module, a visualization layer module, a subtask layer module and a task layer module.
[0092] The data layer module is used to abstract the data requirements of each subtask in the big data analysis subtask set into a single independent data entity as the input of the business layer module;
[0093] The business layer module is used to abstract the statistics and calculation logic of each subtask in the big data analysis subtask set into a single independent business logic entity as the input of the visualization layer module;
[0094] The visualization layer module is used to abstract the visualization requirements of each subtask in the big data analysis subtask set into a single independent visualization method entity as the expression method of the upper-level subtask module;
[0095] A subtask layer module is used to define at least one data entity, define at least one business function entity with the data entity as input, define at least one visualization method with the statistical result of the business function entity as input, and select the visualization result as the result output of the subtask;
[0096] The task layer module is used to abstract the big data analysis task into a task entity, which is composed of multiple subtasks, that is, each big data analysis task is composed of multiple visualization results.
[0097] In an embodiment of the present application, the user terminal first obtains a big data analysis task, then disassembles the big data analysis task to generate a set of analysis subtasks, then loads a preset microservice model based on each subtask in the subtask set for processing, generates a task analysis result, and finally inputs the task analysis result into a predefined task template for filling, and generates an analysis report and / or dynamic and static web pages. Aiming at the typical characteristics of strong uncertainty in the requirements of big data analysis tasks, the present application is based on data-driven, abstracts and hierarchically decouples the traditional data analysis process, and continuously improves the generalization capabilities of data, business, and visualization to achieve high reusability and high scalability of the big data analysis architecture, thereby improving the efficiency and flexibility of task analysis.
[0098] The following are embodiments of the device of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.
[0099] See also Figure 6, which shows a schematic diagram of the structure of a data-driven big data analysis device provided by an exemplary embodiment of the present invention. The data-driven big data analysis device can be implemented as all or part of a terminal through software, hardware, or a combination of both. The device 1 includes a task acquisition module 10, a set generation module 20, a result generation module 30, and a report generation module 40.
[0100] A task acquisition module 10 is used to acquire big data analysis tasks;
[0101] A set generation module 20 is used to decompose the big data analysis task to generate a set of analysis subtasks;
[0102] A result generation module 30 is used to load a preset microservice model for processing based on each subtask in the subtask set to generate a task analysis result;
[0103] The achievement generating module 40 is used to input the task analysis results into a predefined task template for filling and generating an analysis report.
[0104] It should be noted that the data-driven big data analysis device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when executing the data-driven big data analysis method. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the data-driven big data analysis device provided in the above embodiment and the data-driven big data analysis method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0105] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0106] In an embodiment of the present application, the user terminal first obtains a big data analysis task, then disassembles the big data analysis task to generate a set of analysis subtasks, then loads a preset microservice model based on each subtask in the subtask set for processing, generates a task analysis result, and finally inputs the task analysis result into a predefined task template for filling, and generates an analysis report and / or dynamic and static web pages. Aiming at the typical characteristics of strong uncertainty in the requirements of big data analysis tasks, the present application is based on data-driven, abstracts and hierarchically decouples the traditional data analysis process, and continuously improves the generalization capabilities of data, business, and visualization to achieve high reusability and high scalability of the big data analysis architecture, thereby improving the efficiency and flexibility of task analysis.
[0107] The present invention also provides a computer-readable medium having program instructions stored thereon, which, when executed by a processor, implement the data-driven big data analysis methods provided by the above-mentioned various method embodiments. The present invention also provides a computer program product containing instructions, which, when executed on a computer, enables the computer to execute the data-driven big data analysis methods described in the above-mentioned various method embodiments.
[0108] See also Figure 7 , which is a schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 7 As shown, the terminal 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .
[0109] The communication bus 1002 is used to realize the connection and communication between these components.
[0110] The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
[0111] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0112] Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1001 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, and it can be implemented separately through a chip.
[0113] Among them, the memory 1005 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may optionally be at least one storage device located away from the aforementioned processor 1001. As Figure 7 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data-driven big data analysis application.
[0114] exist Figure 7In the terminal 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 1001 can be used to call the data-driven big data analysis application stored in the memory 1005, and specifically perform the following operations:
[0115] Get big data analysis tasks;
[0116] Decomposing the big data analysis task to generate a set of analysis subtasks;
[0117] Based on each subtask in the subtask set, a preset microservice model is loaded for processing to generate a task analysis result;
[0118] The task analysis results are input into a predefined task template for filling, and an analysis report and / or dynamic and static web pages are generated.
[0119] In one embodiment, after inputting the visualization result into a predefined task template for filling and generating an analysis report, the processor 1001 further performs the following operations:
[0120] When receiving a download instruction inputted by the client, obtaining a saving path;
[0121] The analysis report is saved to the client based on the saving path.
[0122] In one embodiment, after executing the step of decomposing the big data analysis task to generate a set of analysis subtasks, the processor 1001 further performs the following operations:
[0123] Generate a task template based on each subtask definition template in the subtask set, wherein the task template includes an analysis and judgment report template and a web page template;
[0124] The task template is determined as a predefined task template.
[0125] In one embodiment, when the processor 1001 performs the processing based on each subtask in the subtask set loading a preset microservice model to generate a task analysis result, the processor 1001 specifically performs the following operations:
[0126] Obtaining the data entity corresponding to each subtask in the subtask set;
[0127] The data entity is input into the loaded preset microservice model for processing to generate a task analysis result.
[0128] In an embodiment of the present application, the user terminal first obtains a big data analysis task, then disassembles the big data analysis task to generate a set of analysis subtasks, then loads a preset microservice model based on each subtask in the subtask set for processing, generates a task analysis result, and finally inputs the task analysis result into a predefined task template for filling, and generates an analysis report and / or dynamic and static web pages. Aiming at the typical characteristics of strong uncertainty in the requirements of big data analysis tasks, the present application is based on data-driven, abstracts and hierarchically decouples the traditional data analysis process, and continuously improves the generalization capabilities of data, business, and visualization to achieve high reusability and high scalability of the big data analysis architecture, thereby improving the efficiency and flexibility of task analysis.
[0129] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0130] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A data-driven big data analysis method, characterized in that: The method comprises: Get big data analysis tasks; The big data analysis task is disassembled to generate a set of analysis subtasks; each analysis subtask includes data requirements, business requirements and visualization requirements; the data requirements, business requirements and visualization requirements can be shared among the analysis subtasks; from the perspective of system decoupling and generalization of data, business and visualization function modules, the data requirements, business requirements and visualization requirements included in each analysis subtask are evolved into a hierarchical functional structure diagram; The hierarchical functional structure diagram includes data layer, business layer, visualization layer, subtask layer and task layer; Based on each subtask in the subtask set, a preset microservice model is loaded for processing to generate a task analysis result; wherein, The step of loading a preset microservice model for processing each subtask in the subtask set to generate a task analysis result includes: Obtaining the data entity corresponding to each subtask in the subtask set; Input the data entity into the loaded preset microservice model for processing to generate a task analysis result; The inputting the data entity into the loaded preset microservice model for processing to generate a task analysis result includes: The data layer is used to abstract the data requirements of each subtask in the big data analysis subtask set into a single independent data entity as the input of the business layer module; The business layer is used to abstract the statistics and calculation logic of each subtask in the big data analysis subtask set into a single independent business logic entity as the input of the visualization layer module; The visualization layer module is used to abstract the visualization requirements of each subtask in the big data analysis subtask set into a single independent visualization method entity as the expression method of the upper-level subtask module; The subtask layer is used to define at least one business function entity with the data entity as input, define at least one visualization method with the statistical result of the business function entity as input, and select the visualization result as the result output of the subtask; The task layer is used to abstract the big data analysis task into a task entity, which is composed of multiple subtasks. Each big data analysis task is composed of multiple visualization results. The task analysis results are input into a predefined task template for filling, and an analysis report and / or dynamic and static web pages are generated.
2. The method according to claim 1, characterized in that: After generating the analysis report and / or dynamic and static web pages, the method further includes: When receiving a download instruction inputted by the client, obtaining a saving path; The analysis report is saved to the client based on the saving path.
3. The method according to claim 1, characterized in that After the big data analysis task is decomposed to generate a set of analysis subtasks, the following steps are further included: Generate a task template based on each subtask definition template in the subtask set, wherein the task template includes an analysis and judgment report template and a web page template; The task template is determined as a predefined task template.
4. The method according to claim 1, characterized in that: The types of the task analysis results include numerical type, data list type, statistical chart type, text type, screenshot type, picture type and video type.
5. The method according to claim 1, characterized in that The carrier of the task analysis result includes at least a report and a web page.
6. A data-driven big data analysis device, characterized in that: The device comprises: Task acquisition module, used to acquire big data analysis tasks; A set generation module is used to disassemble the big data analysis task to generate a set of analysis subtasks; wherein each analysis subtask includes data requirements, business requirements and visualization requirements; wherein the data requirements, business requirements and visualization requirements can be shared among the analysis subtasks; from the perspective of system decoupling and generalization of data, business and visualization function modules, the data requirements, business requirements and visualization requirements included in each analysis subtask are evolved into a hierarchical functional structure diagram; wherein, The hierarchical functional structure diagram includes data layer, business layer, visualization layer, subtask layer and task layer; The result generation module is used to load the preset microservice model for processing based on each subtask in the subtask set to generate task analysis results; wherein, The step of loading a preset microservice model for processing each subtask in the subtask set to generate a task analysis result includes: Obtaining the data entity corresponding to each subtask in the subtask set; Input the data entity into the loaded preset microservice model for processing to generate a task analysis result; The inputting the data entity into the loaded preset microservice model for processing to generate a task analysis result includes: The data layer is used to abstract the data requirements of each subtask in the big data analysis subtask set into a single independent data entity as the input of the business layer module; The business layer is used to abstract the statistics and calculation logic of each subtask in the big data analysis subtask set into a single independent business logic entity as the input of the visualization layer module; The visualization layer module is used to abstract the visualization requirements of each subtask in the big data analysis subtask set into a single independent visualization method entity as the expression method of the upper-level subtask module; The subtask layer is used to define at least one business function entity with the data entity as input, define at least one visualization method with the statistical result of the business function entity as input, and select the visualization result as the result output of the subtask; The task layer is used to abstract the big data analysis task into a task entity, which is composed of multiple subtasks. Each big data analysis task is composed of multiple visualization results. The output generation module is used to input the task analysis results into a predefined task template for filling, and generate an analysis report and / or dynamic and static web pages.
7. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 5.
8. A terminal, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 5.
