Data collection method, device, equipment and storage medium based on process canvas
Through the data collection method based on the process canvas, configuring and calling process plug-ins, it solves the problem of the lack of operating interfaces and insufficient components of existing tools, realizes flexible data collection and logging, and reduces technical requirements and maintenance difficulty.
Patent Information
- Application Number
- CN202410101626.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-01-25
AI Technical Summary
Existing data collection tools lack operating interfaces and require developers to have high technical skills. When faced with complex business logic, the components are not rich enough, performance improvement is limited, and online log records are incomplete and difficult to maintain.
Using the data collection method based on process canvas, create a blank canvas to draw the process plug-in, configure the task scheduling information, use the task scheduling engine to start the data collection process, call the process plug-in for data collection, and record the complete execution log.
It reduces user technical requirements, provides flexible and rich data processing plug-ins, supports a variety of data collection scenarios and environments, and records complete process execution logs to facilitate online troubleshooting and maintenance.
Smart Images

Figure CN117632441B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer software technology, and in particular to a process canvas-based data collection method, device, equipment and storage medium. Background Art
[0002] There are two main methods for existing data collection work: 1) Use Linux scripts to write data collection scripts, and then use task scheduling tools to run the scripts regularly to achieve data collection work. The disadvantage of this method is that there is no operation interface, and developers need to develop scripts directly on the Linux system. In addition, developers need to be proficient in big data technology, which has high requirements on the technical level of developers; 2) Use tools such as kettle. Tools such as kettle have the advantages of supporting graphical GUI design interfaces, component diversity, and supporting SQL, and flow in the form of workflows. However, these tools face particularly complex business logic, and there are problems with insufficient components and limited performance improvement components. Online log records are incomplete and can only report correctness and errors, without complete processing information, which is not conducive to data developers to use and maintain. Summary of the invention
[0003] The purpose of the present invention is to provide a data collection method, device, equipment and storage medium based on process canvas to improve the above problems. In order to achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0004] In a first aspect, the present application provides a data collection method based on a process canvas, comprising:
[0005] Create a blank canvas, and draw multiple process plug-ins on the blank canvas to generate an activity process;
[0006] Select multiple process plug-ins in the activity process to configure process tasks, and configure task scheduling information for the process tasks;
[0007] The task scheduling engine reads the task scheduling information and starts the data collection process corresponding to the process task;
[0008] The data collection process calls the process plug-ins in sequence according to the task scheduling information and obtains the execution parameters from the configuration information of the process plug-ins;
[0009] Utilize the execution parameters to execute the process plug-in for data collection;
[0010] The collected data is written into the data storage engine, the data collection process is completed and the end information is sent to the task scheduling engine.
[0011] In a second aspect, the present application also provides a data collection device based on a process canvas, comprising:
[0012] Creation module: creates a blank canvas, draws multiple process plug-ins on the blank canvas to generate activity processes;
[0013] Task configuration module: select multiple process plug-ins in the activity process to configure process tasks, and configure task scheduling information for process tasks;
[0014] Reading module: The task scheduling engine reads the task scheduling information and starts the data collection process corresponding to the process task;
[0015] Calling module: The data collection process calls the process plug-ins in sequence according to the task scheduling information, and obtains execution parameters from the configuration information of the process plug-ins;
[0016] Execution module: using the execution parameters to execute the process plug-in for data collection;
[0017] Writing module: writes the collected data into the data storage engine, the data collection process is completed and the end information is sent to the task scheduling engine.
[0018] In a third aspect, the present application also provides a data collection device based on a process canvas, including:
[0019] Memory for storing computer programs;
[0020] A processor is used to implement the steps of the process canvas-based data collection method when executing the computer program.
[0021] In a fourth aspect, the present application further provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned process canvas-based data collection method are implemented.
[0022] The beneficial effects of the present invention are:
[0023] The present invention combines the activity process tool and the Oozie distributed task scheduling technology to encapsulate a flexible and rich data processing plug-in. Users can perform data collection work by simply configuring on the page, without the need to learn big data technology, which greatly reduces the user's technical requirements. In addition, the components provided by the present invention are flexible and diverse, not only supporting a variety of data collection scenarios and multiple modes and environments for online deployment, but also recording complete process execution logs, making it convenient for data developers to troubleshoot problems online and perform daily maintenance.
[0024] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 A schematic diagram of a process flow diagram of a data collection method based on a process canvas according to an embodiment of the present invention;
[0027] Figure 2 It is a structural schematic diagram of a data acquisition device based on a process canvas according to an embodiment of the present invention;
[0028] Figure 3 It is a schematic diagram of the structure of a data acquisition device based on a process canvas described in an embodiment of the present invention.
[0029] Markings in the figure:
[0030] 800. Data acquisition device based on process canvas; 801. Processor; 802. Memory; 803. Multimedia component; 804. I / O interface; 805. Communication component. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0032] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. Embodiment 1:
[0033] This embodiment provides a data collection method based on a process canvas.
[0034] See also Figure 1 , the figure shows that the method includes:
[0035] S1. Create a blank canvas, draw multiple process plug-ins on the blank canvas to generate an activity process; in this embodiment, the shape, width, height, and style of the canvas are set using the HTML Canvas element on the web page to create a rectangular blank canvas. The canvas lists the plug-in types and plug-ins currently supported by the platform in a tree structure;
[0036] Specifically, the step S1 includes:
[0037] S11. Insert the start plug-in into the blank canvas;
[0038] S12. Insert the data reading plug-in into the canvas and enter the configuration page of the data library data reading plug-in to configure the default database operation statement for querying the data table. The data reading plug-in can be a "database query" plug-in;
[0039] Specifically, drag the "Database Query" plug-in from the basic plug-in category to the process canvas, then open the configuration page of the "Database Query" plug-in, and then select "Data Source Type", "Data Source Name", and "Data Table" in turn to obtain the default SQL for querying the data table; in another embodiment, you can also directly edit the SQL statement, and select the unique variable name in the current process in the "Output Variable" to complete the configuration of the "Database Query" plug-in.
[0040] S13. Insert at least one data conversion plug-in into the canvas, such as a SparkSql plug-in;
[0041] S14. Insert the data writing plug-in into the canvas, configure the storage method, data source type, data source name, target table and field mapping relationship for the data insertion plug-in. In this embodiment, the data writing plug-in can be a "database insertion" plug-in;
[0042] Specifically, insert the "Database Insert" plug-in into the canvas, select the output variables of other plug-ins in the current process, and then select "Input method", "Data source type", "Data source name", "Target table", "Field mapping relationship", etc. in turn to complete the configuration of the "Database Insert" plug-in.
[0043] S15. Insert the end plug-in into the blank canvas;
[0044] S16. Connect the start plug-in, the data query plug-in, at least one data conversion plug-in, the data insertion plug-in, and the end plug-in in sequence to form a directed acyclic process plug-in graph;
[0045] S17. After configuring the corresponding data collection function for each plug-in in the process plug-in diagram, an activity process is generated. For example, to read source data, the type and address of the source data need to be configured.
[0046] Based on the above embodiments, the method includes:
[0047] S2. Select multiple process plug-ins in the activity process to configure process tasks, and configure task scheduling information for the process tasks;
[0048] Specifically, step S2 includes:
[0049] S21. Create task data. Specifically, create a task data in "Task Scheduling" under "Task Management" and enter the task information configuration page;
[0050] S22. Configure a start component, at least one process component and an end component for the task data;
[0051] S23. Configure the process classification and process name for the process component according to the business of the process component;
[0052] S24. Connect the start component, at least one process component, and the end component in sequence to form a directed acyclic task process;
[0053] S25. Convert the task flow into an XML file and save it to a distributed file system. Specifically, convert the task flow into an XML file required by the scheduling engine Oozie to schedule spark tasks, and save it to a specified directory of the distributed storage system HDFS.
[0054] S26. Set the frequency and time range of task execution for each process task in turn to generate a scheduled task;
[0055] Specifically, open the task scheduling configuration page, select the configured "Task Category" and "Task Name" in turn, and set the frequency and time range of task execution by setting information such as "Effective / Invalid Time Limit", "Frequency Type", and "Frequency".
[0056] S27. Store the scheduled task in the task scheduling engine, submit the scheduled task to the scheduling engine Oozie, and Oozie schedules the configured spark task according to the preset frequency and other information.
[0057] Based on the above embodiments, the method includes:
[0058] S3. The task scheduling engine oozie reads the task scheduling information and starts the data collection process corresponding to the process task;
[0059] Specifically, step S3 includes:
[0060] S31. The task scheduling engine schedules scheduled tasks according to the preset frequency. The task scheduling engine Oozie has a built-in scheduler that can trigger the execution of the workflow according to the "effective / invalid time limit", "frequency type" and "frequency";
[0061] S32. Check whether the XML file corresponding to the scheduled task in the distributed file system exists:
[0062] If it exists, execute the XML file and start the corresponding data collection activity process;
[0063] Specifically, each action is executed in the order of each process component in the XML file. Each process component uses the spark task running parameters to execute the data collection activity process set by the "arg" node, that is, the configured process task.
[0064] Based on the above embodiments, the method includes:
[0065] S4. The data collection process calls the process plug-in in sequence according to the task scheduling information, and obtains the execution parameters from the configuration information of the process plug-in. Specifically, the execution parameters "workflow Plugin Map" are obtained according to the id of the process plug-in. The parameter set includes the system built-in parameters and operation parameters saved when configuring the process task;
[0066] Based on the above embodiments, the method includes:
[0067] S5. Execute the process plug-in using the execution parameters to collect data;
[0068] Specifically, step S5 includes:
[0069] S51. Obtaining the process plug-in code from the execution parameters;
[0070] S52. Obtaining the address of the data processing class corresponding to the process plug-in code from the distributed file system;
[0071] S53. Call and execute the start Plugin method in the data processing class, and use the start Plugin method to perform data collection;
[0072] Specifically, step S53 includes:
[0073] S531. Execute the start Plugin method and create a Spark Session;
[0074] S532.SparkSession reads structured data from relational databases, file systems (HDFS, local file systems, Linux, Ftp, etc.) and column storage (such as H base), and writes structured data to data sources; or reads unstructured data from file systems and writes unstructured data to distributed file systems, implementing data reading plug-ins and data writing plug-ins.
[0075] Specifically, the "database query" plug-in executes the startPlugin method and creates a SparkSession. SparkSession obtains the type of data source to be queried, such as Mysql, Oracle, etc., as well as the database's IP, port, user name, password and other information. It executes the query SQL to obtain the data set and caches it in a temporary table named "output variable" in the sparkSession for easy use by subsequent process plug-ins.
[0076] Or perform data conversion processing on the read structured data or unstructured data, such as filtering, mapping, aggregation, sorting, etc., to realize the function of the data conversion plug-in.
[0077] Based on the above embodiments, the method includes:
[0078] S6. The collected data is written into the data storage engine. The data collection process is completed and the end information is sent to the task scheduling engine. The task scheduling engine records the execution log. Embodiment 2:
[0079] like Figure 2 As shown, this embodiment provides a data collection device based on a process canvas, and the device includes:
[0080] Creation module: creates a blank canvas, draws multiple process plug-ins on the blank canvas to generate activity processes;
[0081] Task configuration module: select multiple process plug-ins in the activity process to configure process tasks, and configure task scheduling information for process tasks;
[0082] Reading module: The task scheduling engine reads the task scheduling information and starts the data collection process corresponding to the process task;
[0083] Calling module: The data collection process calls the process plug-ins in sequence according to the task scheduling information, and obtains the execution parameters from the configuration information of the process plug-ins;
[0084] Execution module: using the execution parameters to execute the process plug-in for data collection;
[0085] Writing module: writes the collected data into the data storage engine, the data collection process is completed and the end information is sent to the task scheduling engine.
[0086] Based on the above embodiment, the creation module includes:
[0087] First Insertion Unit: Insert the start plug-in into the blank canvas;
[0088] Second insertion unit: insert the data reading plug-in into the canvas, enter the configuration page of the data reading plug-in, and configure the default database operation statement for querying the data table;
[0089] A third inserting unit: inserting at least one data conversion plug-in into the canvas;
[0090] The first configuration unit: inserts the data writing plug-in into the canvas, and configures the storage mode, data source type, data source name, target table, and field mapping relationship for the data insertion plug-in;
[0091] Fourth insertion unit: insert the end plug-in into the blank canvas;
[0092] The first connection unit: connects the start plug-in, the data query plug-in, at least one data conversion plug-in, the data insertion plug-in and the end plug-in in sequence to form a directed acyclic process plug-in graph;
[0093] The second configuration unit: configures the corresponding data collection function for each plug-in in the process plug-in diagram and generates an activity process.
[0094] Based on the above embodiment, the task configuration module includes:
[0095] Create unit: create task data;
[0096] A third configuration unit: configuring a start component, at least one process component and an end component for the task data;
[0097] The fourth configuration unit: configuring a process classification and a process name for a process component according to the business of the process component;
[0098] The second connection unit: connects the start component, at least one process component and the end component in sequence to form a directed acyclic task process;
[0099] The first storage unit converts the task flow into an XML file and saves it to a distributed file system.
[0100] Based on the above embodiment, the task configuration module also includes:
[0101] Setting unit: sets the frequency and time range of task execution for each process task in turn, and generates scheduled tasks;
[0102] The second storage unit stores the scheduled task in the task scheduling engine.
[0103] Based on the above embodiments, the reading module includes:
[0104] Scheduling unit: The task scheduling engine schedules scheduled tasks according to the preset frequency;
[0105] Judgment unit: Check whether the XML file corresponding to the scheduled task in the distributed file system exists:
[0106] If it exists, the XML file is executed to start the corresponding data collection activity process.
[0107] Based on the above embodiments, the execution module includes:
[0108] A first acquisition unit: acquiring a process plug-in code from the execution parameter;
[0109] A second acquisition unit: acquiring an address of a data processing class corresponding to the process plug-in code from a distributed file system;
[0110] Calling unit: calls and executes the startPlugin method in the data processing class;
[0111] Creation unit: execute the startPlugin method and create a SparkSession;
[0112] Execution unit: SparkSession reads structured data from relational databases, file systems, and column storage, and writes structured data to data sources; or reads unstructured data from file systems and writes unstructured data to distributed file systems; or performs data conversion on read structured or unstructured data.
[0113] It should be noted that, regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here. Embodiment 3:
[0114] Corresponding to the above method embodiment, this embodiment also provides a data collection device based on a process canvas. The data collection device based on a process canvas described below and the data collection method based on a process canvas described above can refer to each other.
[0115] Figure 3 FIG. 8 is a block diagram of a data collection device 800 based on a process canvas according to an exemplary embodiment. Figure 3 As shown, the process canvas-based data collection device 800 may include: a processor 801 and a memory 802. The process canvas-based data collection device 800 may also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.
[0116] The processor 801 is used to control the overall operation of the process canvas-based data acquisition device 800 to complete all or part of the steps in the process canvas-based data acquisition method. The memory 802 is used to store various types of data to support the operation of the process canvas-based data acquisition device 800. For example, these data may include instructions for any application or method operating on the process canvas-based data acquisition device 800, as well as application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 802 or sent via the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 804 provides an interface between the processor 801 and other interface modules, and the above-mentioned other interface modules can be keyboards, mice, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the process canvas-based data acquisition device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 805 can include: Wi-Fi module, Bluetooth module, NFC module.
[0117] In an exemplary embodiment, the process canvas-based data acquisition device 800 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned process canvas-based data acquisition method.
[0118] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned process canvas-based data collection method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 802 including program instructions, and the above-mentioned program instructions can be executed by the processor 801 of the process canvas-based data collection device 800 to complete the above-mentioned process canvas-based data collection method. Embodiment 4:
[0119] Corresponding to the above method embodiment, a readable storage medium is also provided in this embodiment. The readable storage medium described below and the data collection method based on the process canvas described above can refer to each other.
[0120] A readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data collection method based on the process canvas of the above method embodiment are implemented.
[0121] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.
[0122] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0123] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A data collection method based on process canvas, It is characterized in that include: Create a blank canvas, and draw multiple process plug-ins on the blank canvas to generate an activity process; Select multiple process plug-ins in the activity process to configure process tasks, and configure task scheduling information for the process tasks, including: Set the frequency and time range of task execution for each process task in turn to generate scheduled tasks; The scheduled task is stored in the task scheduling engine, and the scheduled task is submitted to the scheduling engine Oozie, and Oozie schedules the configured spark task according to the preset frequency information; The task scheduling engine reads the task scheduling information and starts the data collection process corresponding to the process task, including: The task scheduling engine schedules scheduled tasks according to the preset frequency; Check whether the XML file corresponding to the scheduled task in the distributed file system exists: If it exists, execute the XML file and start the corresponding data collection activity process; The data collection process calls the process plug-ins in sequence according to the task scheduling information and obtains the execution parameters from the configuration information of the process plug-ins; The execution parameter execution process plug-in is used to collect data, including: Obtaining a process plug-in code from the execution parameters; Obtaining the address of the data processing class corresponding to the process plug-in code from the distributed file system; Call and execute the startPlugin method in the data processing class; Execute the startPlugin method and create a SparkSession; SparkSession reads structured data from relational databases, file systems, and column storage, and writes structured data to data sources; or reads unstructured data from file systems and writes unstructured data to distributed file systems; or performs data conversion on read structured or unstructured data; The collected data is written into the data storage engine, the data collection process is completed and the end information is sent to the task scheduling engine.
2. According to the data collection method based on process canvas of claim 1, Features , drawing multiple process plug-ins on the blank canvas to generate activity processes, including: Insert the Start plugin into a blank canvas; Insert the data reading plug-in into the canvas and enter the configuration page of the data reading plug-in to configure the default database operation statement for querying the data table; Insert at least one data transformation plug-in into the canvas; Insert the data writing plug-in into the canvas, and configure the storage method, data source type, data source name, target table, and field mapping relationship for the data insertion plug-in; Insert the end plugin into the blank canvas; Connect the start plug-in, the data query plug-in, at least one data conversion plug-in, the data insertion plug-in and the end plug-in in sequence to form a directed acyclic process plug-in graph; After configuring the corresponding data collection function for each plug-in in the process plug-in diagram, generate the activity process.
3. The data collection method based on process canvas according to claim 1, Features , select multiple process plug-ins in the activity process to configure process tasks, including: Create task data; configuring a start component, at least one process component and an end component for the task data; Configure process classification and process name for process components according to their business; Connect the start component, at least one process component, and the end component in sequence to form a directed acyclic task process; The task flow is converted into an XML file and saved to a distributed file system.
4. A data collection device based on process canvas, It is characterized in that include: Creation module: creates a blank canvas, draws multiple process plug-ins on the blank canvas to generate activity processes; Task configuration module: Select multiple process plug-ins in the activity process to configure process tasks, and configure task scheduling information for the process tasks, including: Set the frequency and time range of task execution for each process task in turn to generate scheduled tasks; The scheduled task is stored in the task scheduling engine, and the scheduled task is submitted to the scheduling engine Oozie, and Oozie schedules the configured spark task according to the preset frequency information; Reading module: The task scheduling engine reads the task scheduling information and starts the data collection process corresponding to the process task, including: The task scheduling engine schedules scheduled tasks according to the preset frequency; Check whether the XML file corresponding to the scheduled task in the distributed file system exists: If it exists, execute the XML file and start the corresponding data collection activity process; Calling module: The data collection process calls the process plug-ins in sequence according to the task scheduling information, and obtains execution parameters from the configuration information of the process plug-ins; Execution module: Utilize the execution parameters to execute the process plug-in for data collection, including: A first acquisition unit: acquiring a process plug-in code from the execution parameter; A second acquisition unit: acquiring an address of a data processing class corresponding to the process plug-in code from a distributed file system; Calling unit: calls and executes the startPlugin method in the data processing class; Creation unit: execute the startPlugin method and create a SparkSession; Execution unit: SparkSession reads structured data from relational databases, file systems, and column storage, and writes structured data to data sources; or reads unstructured data from file systems and writes unstructured data to distributed file systems; or performs data conversion on read structured or unstructured data; Writing module: writes the collected data into the data storage engine, the data collection process is completed and the end information is sent to the task scheduling engine.
5. The data collection device based on process canvas according to claim 4, It is characterized in that The creation module includes: First Insertion Unit: Insert the start plug-in into the blank canvas; Second insertion unit: insert the data reading plug-in into the canvas, enter the configuration page of the data reading plug-in, and configure the default database operation statement for querying the data table; A third inserting unit: inserting at least one data conversion plug-in into the canvas; The first configuration unit: inserts the data writing plug-in into the canvas, and configures the storage mode, data source type, data source name, target table, and field mapping relationship for the data insertion plug-in; Fourth insertion unit: insert the end plug-in into the blank canvas; The first connection unit: connects the start plug-in, the data query plug-in, at least one data conversion plug-in, the data insertion plug-in and the end plug-in in sequence to form a directed acyclic process plug-in graph; The second configuration unit: configures the corresponding data collection function for each plug-in in the process plug-in diagram and generates an activity process.
6. The data collection device based on process canvas according to claim 4, It is characterized in that The task configuration module includes: Create unit: create task data; A third configuration unit: configuring a start component, at least one process component and an end component for the task data; The fourth configuration unit: configuring a process classification and a process name for a process component according to the business of the process component; The second connection unit: connects the start component, at least one process component and the end component in sequence to form a directed acyclic task process; The first storage unit converts the task flow into an XML file and saves it to a distributed file system.
7. A data collection device based on process canvas, It is characterized in that include: Memory for storing computer programs; A processor is used to implement the steps of the process canvas-based data collection method as described in any one of claims 1 to 3 when executing the computer program.
8. A readable storage medium, Features: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data collection method based on the process canvas as claimed in any one of claims 1 to 3 are implemented.
