WebSpoon-based water conservancy data integration and sharing method, equipment and medium
Patent Information
- Application Number
- CN202411023917.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, there are problems with response time and data security during the integration and sharing of water conservancy data, making it difficult for business personnel to complete data integration and sharing tasks simply and quickly, and rely on third-party data implementers.
Using a webSpoon-based method, data integration and sharing tasks are automatically generated through front-end page wizard configuration, and tasks are decomposed into data integration and data sharing tasks. It supports library tables, interfaces and file data integration, realizes data merging and filtering, and provides task monitoring functions. , store task information and logs.
It realizes the simplicity and efficiency of data integration and sharing, reduces manual configuration errors, supports distributed deployment and data security, and ensures data accuracy and stability.
Smart Images

Figure CN119003655A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a water conservancy data integration and sharing method, device and medium based on webSpoon. Background Art
[0002] With the development of water conservancy informatization, there are more and more demands for water conservancy data integration and sharing. For example, the superior water conservancy bureau needs to collect data from the subordinate monitoring stations, and also needs to share and distribute some of the data it has to a certain subordinate monitoring station.
[0003] At present, the integration and sharing of water conservancy data mainly rely on professional data implementers through tools, which has problems in response time and data security. How to enable water conservancy business personnel to complete the task of data integration and sharing simply and quickly, and get rid of the dependence on third-party data implementers, is an urgent problem to be solved. Summary of the invention
[0004] The present invention provides a water conservancy data integration and sharing method, device and medium based on webSpoon, which are used to solve at least one of the above technical problems.
[0005] The present invention adopts the following technical solutions:
[0006] In the first aspect, the present invention provides a water conservancy data integration and sharing method based on webSpoon, the method comprising: obtaining a data integration and sharing task to be executed, and decomposing the data integration and sharing task into a data integration task and a data sharing task; determining a corresponding integration method of the data integration task based on configuration information of the data integration and sharing task, and executing the data integration task through the corresponding integration method; passing the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
[0007] In a possible implementation of the present invention, before obtaining the data integration and sharing task to be executed, the method also includes: determining configuration information corresponding to the data integration and sharing task; based on the configuration information, automatically generating the data integration and sharing task through a front-end page wizard configuration.
[0008] In a possible implementation of the present invention, the configuration information at least includes the data source; based on the configuration information of the data integration and sharing task, the corresponding integration method of the data integration task is determined, including: if the data source is library table data, the data integration task adopts the library table integration method, and the library table integration method includes at least multi-table integration and whole library integration; the library table integration method is configured through the front-end page wizard configuration, and a kettle task is automatically generated in the background.
[0009] In a possible implementation of the present invention, the configuration information at least includes the data source; based on the configuration information of the data integration and sharing task, the corresponding integration method of the data integration task is determined, including: if the data source is interface data, the data integration task adopts the interface integration method; the interface integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background.
[0010] In a possible implementation of the present invention, the configuration information at least includes the data source; based on the configuration information of the data integration and sharing task, the corresponding integration method of the data integration task is determined, including: if the data source is file data, the data integration task adopts the file integration method; the file integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background.
[0011] In a possible implementation of the present invention, after obtaining the execution result of the data integration task, the method further includes: executing a data merging process, specifically, merging and aggregating similar data in the execution result.
[0012] In a possible implementation of the present invention, before passing the execution result of the data integration task to the data sharing task, the method also includes: generating data filtering conditions based on the data permissions and data requirements corresponding to the data integration and sharing tasks; filtering the execution results using the data filtering conditions; and passing the processed execution results to the data sharing task.
[0013] In a possible implementation of the present invention, the method also includes: during the execution of the data integration and sharing task, monitoring the task running status, the amount of integrated and shared data, and the task running log; after the execution of the data integration and sharing task is completed, storing the task information, task configuration information, task execution log and task status in the resource library.
[0014] In the second aspect, the present invention also provides a water conservancy data integration and sharing device based on webSpoon, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor so that the at least one processor can execute, obtain the data integration and sharing tasks to be executed, and decompose the data integration and sharing tasks into data integration tasks and data sharing tasks; determine the corresponding integration method of the data integration task based on the configuration information of the data integration and sharing task, and execute the data integration task through the corresponding integration method; pass the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
[0015] In a third aspect, the present invention also provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute, obtain data integration and sharing tasks to be executed, and decompose the data integration and sharing tasks into data integration tasks and data sharing tasks; determine the corresponding integration method of the data integration task based on the configuration information of the data integration and sharing task, and execute the data integration task through the corresponding integration method; pass the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
[0016] The invention provides a water conservancy data integration and sharing method, device and medium based on webSpoon, which has the following beneficial effects:
[0017] 1. The data integration and sharing method of the present invention adopts a B / S architecture, and can complete the integration and sharing needs of water conservancy industry data through the front-end page wizard configuration. It is simple and convenient to operate, has low technical requirements, and is friendly to business personnel.
[0018] 2. The data integration and sharing method of the present invention automatically creates data integration and sharing tasks according to page configuration information, thereby reducing errors that may occur in manually configuring tasks and ensuring the accuracy of task configuration.
[0019] 3. The data integration and sharing method in the present invention can realize distributed deployment and ensure the stability of the system.
[0020] 4. The data integration and sharing method of the present invention supports different types of data access such as general databases, files, interfaces, etc., without the need to deploy multiple sets of tools for data aggregation.
[0021] 5. The data integration and sharing method of the present invention supports data filtering when distributing and sharing data, ensuring data sharing with minimum permissions and ensuring data security.
[0022] 6. The data integration and sharing method of the present invention also provides a monitoring function for data integration and sharing tasks, which can quickly locate problems that may occur during task execution. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0024] Figure 1 A flow chart of a water conservancy data integration and sharing method based on webSpoon provided by the present invention;
[0025] Figure 2 A data integration and sharing page wizard configuration display diagram provided by the present invention;
[0026] Figure 3 A structural schematic diagram of a water conservancy data integration and sharing device based on webSpoon provided by the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] The present invention provides a water conservancy data integration and sharing method, device and medium based on webSpoon. The bottom layer relies on webSpoon. Through the wizard-style configuration of the front-end page, data integration and sharing tasks are automatically generated, which can simply and quickly meet the data integration and sharing needs without the participation of water conservancy business personnel. While ensuring the accuracy of task configuration, it also realizes the rapid and simple completion of data integration and sharing tasks, and effectively solves multiple technical problems in the water conservancy industry, such as heterogeneous data integration and aggregation, data sharing and distribution, unification of different types of data integration tools, data integration and sharing task monitoring and automatic creation of data integration and sharing tasks.
[0029] The method of the present invention is described in detail below with reference to the accompanying drawings.
[0030] Figure 1A flow chart of a water conservancy data integration and sharing method based on webSpoon provided by the present invention, such as Figure 1 As shown, the method in the present invention at least includes the following execution steps:
[0031] Step 101: Obtain a data integration and sharing task to be executed, and decompose the data integration and sharing task into a data integration task and a data sharing task.
[0032] In the task list in the resource library, an unexecuted task is selected as the data integration and sharing task to be executed. Then, during execution, the data integration and sharing task to be executed is decomposed into two parts, data integration and data sharing.
[0033] In one possible implementation of the present invention, data integration and sharing tasks can be configured in a wizard-like manner on the front-end page and automatically generated in the background, but before configuration, it is necessary to fill in or determine the configuration information of the task on the front-end page. Here, the configuration information of the task is related to the task scenario and other contents.
[0034] Step 102: Determine the corresponding integration mode of the data integration task based on the configuration information of the data integration and sharing task, and execute the data integration task through the corresponding integration mode.
[0035] In a possible implementation of the present invention, the configuration information of the data integration and sharing task includes at least a data source, which refers to the source of the data to be integrated, such as which table of which database. Different data sources correspond to different data integration methods, and then the data is integrated according to the corresponding data integration method. After the integration is completed, the data integration part of the data integration and sharing task is completed.
[0036] Specifically, the data source of the data integration and sharing task may be one or more combinations of library table data, interface data, and file data. The corresponding integration methods for various sources are as follows:
[0037] If the data source is library table data, the data integration task adopts the library table integration method, which includes at least multi-table integration and whole library integration. The library table integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background. After the kettle task is executed, the data integration task is completed.
[0038] If the data source is interface data, the data integration task adopts the interface integration method. The interface integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background. After the kettle task is executed, the data integration task is completed.
[0039] If the data source is file data, the data integration task adopts the file integration method. The file integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background. After the kettle task is executed, the data integration task is completed.
[0040] It should be noted that if there are two or more sources corresponding to the data source, the data integration task shall adopt two or more corresponding integration methods. For example, when integrating water conservancy data, the data to be integrated includes both file data and interface data. During data integration, the file integration method can be used for the file data, and the interface integration method can be used for the interface data. You only need to complete the relevant configuration on the corresponding configuration page.
[0041] After the data integration task is completed, the execution result is obtained. The so-called execution result refers to the data that has been integrated.
[0042] Step 103: delivering the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
[0043] In one possible implementation of the present invention, after obtaining the execution results of the aforementioned data integration task, the execution results are merged. Specifically, data belonging to the same category in the integrated data are determined, and these data of the same category are merged. For example, the rainfall data in the integrated data is merged so that the data can be displayed and distributed in different categories more clearly.
[0044] The result after data merging is passed to the data sharing task so that the data can be distributed through the data sharing task.
[0045] In one possible implementation of the present invention, when data is passed to a data sharing task, in order to ensure data security and ensure that the data recipient receives only the data he or she wants, data filtering conditions are generated based on the data permissions and data requirements corresponding to the data integration and sharing tasks, and data that the data recipient does not need is filtered out. Only the data required by the data recipient is passed to the data sharing task and issued through the data sharing task.
[0046] In one possible implementation of the present invention, in order to ensure the execution reliability of data integration and sharing tasks, the task running status, the amount of integrated and shared data and the task running log will be monitored during the execution of the data integration and sharing tasks to realize the monitoring of the task execution process. At the same time, after the execution of the data integration and sharing tasks is completed, the task information, task configuration information, task execution log and task status will also be stored in the resource library to ensure the queryability of the task execution.
[0047] In an example of the present invention, the data integration and sharing method of the present invention may also include the following contents:
[0048] Integration Overview: Mainly through the task directory, task execution log, etc., statistics and analysis of the number of various tasks, the amount of integrated and shared data, task status and abnormal task information.
[0049] Resource library management: The resource library is mainly used to store integration and sharing task information, task-related configuration information, and task operation logs.
[0050] Data integration: Data integration is mainly divided into three ways: library-table integration, file integration and interface integration. Library-table integration includes multi-table integration and whole-library integration. All of them are configured through page wizards (such as Figure 1 Data Integration and Sharing page wizard configuration) to complete the task configuration and automatically generate kettle tasks in the background.
[0051] Data merging: It is mainly used to merge similar data from different sources. For example, the Shandong Water Resources Department can use data merging to collect basic data from measurement stations in various cities.
[0052] Data distribution: Configure filtering conditions based on data permissions and data requirements, and pass them to the created distribution sharing task. For example, the Shandong Water Conservancy and Hydrology Bureau builds rainfall stations throughout the province to collect rainfall data throughout the province. The subordinate cities need rainfall data for their business construction. The data distribution function can be used to push only the relevant rainfall data for the city.
[0053] Data monitoring: mainly monitors the running status of tasks, the amount of integrated and shared data, and detailed logs of task running.
[0054] Based on the same inventive concept, the present invention also provides a water conservancy data integration and sharing device based on webSpoon, whose structure is as follows: Figure 3 shown.
[0055] Figure 3 The present invention provides a schematic diagram of a water conservancy data integration and sharing device based on webSpoon. Figure 3 As shown, the webSpoon-based water conservancy data integration and sharing device 300 in the present invention specifically includes: at least one processor 301; and a memory 303 that is communicatively connected to the at least one processor 301 (connected via a bus 302); wherein the memory 303 stores instructions that can be executed by the at least one processor 301, so that the at least one processor 301 can execute a webSpoon-based water conservancy data integration and sharing method as described in the above embodiment.
[0056] In a possible implementation of the present invention, the aforementioned processor 301 is used to execute, obtain the data integration and sharing task to be executed, and decompose the data integration and sharing task into a data integration task and a data sharing task; determine the corresponding integration method of the data integration task based on the configuration information of the data integration and sharing task, and execute the data integration task through the corresponding integration method; pass the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
[0057] In addition, the present invention also provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute a water conservancy data integration and sharing method based on webSpoon as described in the above embodiment.
[0058] In one possible implementation of the present invention, the aforementioned computer executable instructions are configured to execute, obtain a data integration and sharing task to be executed, and decompose the data integration and sharing task into a data integration task and a data sharing task; determine a corresponding integration method of the data integration task based on configuration information of the data integration and sharing task, and execute the data integration task through the corresponding integration method; pass the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
[0059] Each embodiment of the present invention is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the IoT device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0060] The system and medium provided by the present invention correspond one-to-one to the method, and therefore, the system and medium also have similar beneficial technical effects to the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the system and medium will not be repeated here.
[0061] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0062] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0063] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0064] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0065] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0066] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0067] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0068] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0069] The above are only embodiments of the present invention and are 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 should be included in the protection scope of the present invention.
Claims
1. A water conservancy data integration and sharing method based on webSpoon, characterized in that: The method comprises: Acquire a data integration and sharing task to be executed, and decompose the data integration and sharing task into a data integration task and a data sharing task; Determining a corresponding integration mode of the data integration task based on the configuration information of the data integration and sharing task, and executing the data integration task through the corresponding integration mode; The execution result of the data integration task is transferred to the data sharing task, so as to distribute the execution result through the data sharing task.
2. A water conservancy data integration and sharing method based on webSpoon according to claim 1, characterized in that: Before obtaining the data integration and sharing task to be executed, the method further includes: Determining configuration information corresponding to the data integration and sharing tasks; Based on the configuration information, the data integration and sharing tasks are automatically generated through a front-end page wizard configuration.
3. The water conservancy data integration and sharing method based on webSpoon according to claim 1 is characterized in that: The configuration information at least includes a data source; Determining the corresponding integration mode of the data integration task based on the configuration information of the data integration and sharing task includes: If the data source is library table data, the data integration task adopts a library table integration method, which includes at least multi-table integration and whole library integration; The library table integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background.
4. The water conservancy data integration and sharing method based on webSpoon according to claim 1 is characterized in that: The configuration information at least includes a data source; Determining the corresponding integration mode of the data integration task based on the configuration information of the data integration and sharing task includes: If the data source is interface data, the data integration task adopts the interface integration method; The interface integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background.
5. The water conservancy data integration and sharing method based on webSpoon according to claim 1 is characterized in that: The configuration information at least includes a data source; Determining the corresponding integration mode of the data integration task based on the configuration information of the data integration and sharing task includes: If the data source is file data, the data integration task adopts the file integration method; The file integration method is configured through the front-end page wizard configuration, and the kettle task is automatically generated in the background.
6. The water conservancy data integration and sharing method based on webSpoon according to claim 1 is characterized in that: After obtaining the execution result of the data integration task, the method further includes: The data merging process is performed, specifically, merging and aggregating similar data in the execution results.
7. The water conservancy data integration and sharing method based on webSpoon according to claim 1 is characterized in that: Before delivering the execution result of the data integration task to the data sharing task, the method further includes: Generate data filtering conditions based on data permissions and data requirements corresponding to the data integration and sharing tasks; Filtering the execution result using the data filtering condition; The processed execution result is delivered to the data sharing task.
8. The water conservancy data integration and sharing method based on webSpoon according to claim 1 is characterized in that: The method further comprises: During the execution of the data integration and sharing task, the task running status, the amount of integrated and shared data, and the task running log are monitored; After the data integration and sharing task is completed, the task information, task configuration information, task execution log and task status are stored in the resource library.
9. A water conservancy data integration and sharing device based on webSpoon, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, so that the at least one processor can execute, obtain the data integration and sharing tasks to be executed, and decompose the data integration and sharing tasks into data integration tasks and data sharing tasks; determine the corresponding integration method of the data integration task based on the configuration information of the data integration and sharing task, and execute the data integration task through the corresponding integration method; pass the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
10. A non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute, obtain a data integration and sharing task to be executed, and decompose the data integration and sharing task into a data integration task and a data sharing task; determine a corresponding integration method for the data integration task based on configuration information of the data integration and sharing task, and execute the data integration task through the corresponding integration method; pass the execution result of the data integration task to the data sharing task, so as to distribute the execution result through the data sharing task.
Citation Information
Patent Citations
Grid real-time data integrating and sharing platform
CN102096684A
Data sharing method, system and device, computer equipment and storage medium
CN112416893A
Data exchange sharing method, system and device and storage medium
CN117149899A
