An intelligent association fusion method for multi-source environmental big data

Through the intelligent correlation fusion method, automatic update mechanism and positive geocoding and spatial analysis technology, the problem of synchronous update of environmental business data and spatial data is solved, efficient data correlation and accurate data update are achieved, and the processing efficiency and data application efficiency are improved. Statistical analysis skills.

CN113961563BActive Publication Date: 2024-10-25CHONGQING CYBERCITY SCI TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111272754.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2024-10-25
Estimated Expiration
2041-10-29

AI Technical Summary

Technical Problem

In the existing technology, environmental business data and spatial data are stored separately and lack a synchronous update mechanism, resulting in low processing efficiency and lack of correlation. It is difficult to satisfy the geometric characteristics of ecological environment data and the expression of spatial relationships between entities.

Method used

An intelligent correlation and fusion method for multi-source environmental big data is proposed. By automatically capturing business data, an automatic update mechanism is established, and spatial data is marked and matched based on positive geocoding and spatial analysis methods to form a continuous update of spatial and business data. Closed loop, reducing manual processing costs and improving data processing efficiency.

Benefits of technology

It achieves accurate correlation between spatial data and business data, and the accuracy reaches the township level, solving the problem of data being managed separately and unable to be correlated. The dynamic correlation is updated in real time, reducing manual processing costs and improving data processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113961563B_ABST
    Figure CN113961563B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent association and fusion method for multi-source environment big data, comprising S1: automatically capturing business data in a business system and saving it to a cache database, establishing a business data form, and associating the business data form name with the spatial data set name; S2: automatically verifying the correspondence between spatial data records and business data records, and labeling the spatial data, including a first label category and a second label category; if the label is marked as the first label category, entering S3; S3: for the labeled spatial data, based on a correction and matching method of positive geocoding, updating the geometric position of the spatial data; S4: updating the attribute information of the spatial data with geometric position information based on a spatial analysis method; S5: the business system obtains the updated spatial data in S4 through a spatial data push interface, updates the business data in real time, and forms a closed loop of continuous space and business updates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of environmental protection technology, and in particular to an intelligent association and fusion method for multi-source environmental big data. Background Art

[0002] Spatial data refers to spatial data of geographic entities, mainly involving ecological environmental spatial data, including basic environmental data, thematic environmental data, and basic geographic data, which express the geometric characteristics of various ecological environmental data and the spatial relationships between entities.

[0003] Business data is highly organized and neatly formatted data that can be put into tables and spreadsheets. It is mainly stored in relational databases and distributed large databases. The data records mainly include fields used by various businesses.

[0004] Since business data and spatial data are stored in two platforms respectively, the data are not updated synchronously, lack effective correlation, and a large amount of business data lacks geometric features. Therefore, it is urgent to study a high-tech solution to the fusion management, correlation and business application problems of spatial data and business data. Summary of the invention

[0005] In view of the problem of low processing efficiency caused by the lack of spatial attributes of environmental business data in the prior art, the present invention proposes an intelligent association and fusion method for multi-source environmental big data, which reduces manual processing costs and improves data processing efficiency by associating business data and spatial data and establishing an automatic update mechanism.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] An intelligent association fusion method for multi-source environmental big data specifically includes the following steps:

[0008] S1: Automatically capture business data from the business system and save it to the cache database, and create a business data form;

[0009] S2: Automatically check the correlation between spatial data records and business data records, and label the spatial data, including the first label category and the second label category; if the label is the first label category, enter S3; if the label is the second label category, directly delete the corresponding data;

[0010] S3: For the labeled spatial data, the geometric position of the spatial data is updated based on a correction and matching method of positive geocoding;

[0011] S4: Update the attribute information of spatial data with geometric location information based on spatial analysis methods;

[0012] S5: The business system obtains the updated spatial data in S4 through the spatial data push interface, updates the business data in real time, and forms a closed loop of continuous space and business updates.

[0013] Preferably, in S1, the method for capturing business data includes:

[0014] (1) Interface method

[0015] By establishing standard interface specifications, providing corresponding interfaces according to the interface specifications, using Java language to write a calling program based on the Http protocol to establish a business data form, and then returning business data according to the necessary field specifications of the business data. The interface specifications are as follows:

[0016] The interface communication protocol is specified as Http protocol;

[0017] The request method of the specified interface is GET request;

[0018] The request parameters are specified as page and rows;

[0019] (2) Database method

[0020] A dedicated business data form database is established through the MySQL database, allowing the business system to update and process each form data in real time by operating the business data form database. A connection is established with the MySQL database through the Alibaba Druid database connection pool, and a program is written in Java to obtain each form data in the business data form database.

[0021] Preferably, the step S2 includes the following steps:

[0022] S2-1: Based on the "cursor" traversal query spatial data, the query method is to read in sequence according to the spatial data primary key order, and the read content includes "identification code", "name", "address", "longitude", and "latitude" attributes;

[0023] S2-2: Based on the "cursor", the business data is traversed and queried, and the "identification code" of the spatial data is compared and judged in turn; if the spatial data exists but the business data does not, mark "delete label"; if the spatial data does not exist but the business data does, mark "add label"; if the spatial data exists and the business data does, it is necessary to judge whether the "name", "address", "longitude" and "latitude" have changed. If so, mark "update label", otherwise no label management is performed.

[0024] Preferably, S3 comprises the following steps:

[0025] S3-1: For the spatial data with the first label category, based on the positive geocoding method, the "address" information is converted into "latitude and longitude" information, that is, the geometric location information of the current spatial data;

[0026] S3-2: Perform spatial analysis based on the spatial location of the geometric location information and the "administrative division boundary" to extract the "district and county" and "township" information corresponding to the current geometric location;

[0027] S3-3: Match the "latitude and longitude", "district and county", and "township" corresponding to the current geometric location information with the "address", "district and county", and "township" in the business form data. If the match is successful, it means that the data is normal and enters S3-5. If the match fails, it is necessary to enter S3-4;

[0028] S3-4: Based on the historical township tracing table, the data that failed to be traced and matched is updated, for example, the name of the "township" in the current address in previous years is queried, and replaced with the current "township" name, and steps S3-1 to S3-3 are repeated based on the updated data;

[0029] S3-5: Based on the above steps, the geometric position information is written into GeoMetry to achieve automatic correction and matching of spatial data;

[0030] S3-6: For the spatial data marked with the second label category, the corresponding data is automatically deleted according to the "identification code" field.

[0031] Preferably, S4 includes:

[0032] S4-1: Perform spatial analysis on the spatial data with geometric location information and the "district and county boundary" data set, "township boundary", "watershed", and "control unit" data to extract the district, county, township, watershed, and control unit information at the current geometric location;

[0033] S4-2: Based on the district, county and township information extracted in step S4-1, complete the update of "district and county", "township", "district and county code", "township code", river basin and control unit.

[0034] Preferably, the spatial data push interface specification is as follows:

[0035] Specifies that the interface communication protocol is the Http protocol

[0036] The request method of the specified interface is GET request.

[0037] In summary, due to the adoption of the above technical solution, compared with the prior art, the present invention has at least the following beneficial effects:

[0038] The present invention establishes an update mechanism for spatial data and business data. First, it solves the problem of mapping the ecological environment business thematic data that has not yet been reported in terms of longitude and latitude, and the accuracy can be accurate to the township level. Second, through the spatial correlation analysis after mapping, the spatial attributes of the district, county, township, river basin, etc. in the business data table can be supplemented, updated and corrected, which is convenient for the statistical analysis and application of business data in environmental management work. Third, it solves the problem that spatial data and business data are managed separately, cannot be associated, and business applications are difficult. Fourth, dynamic association and real-time update can reduce manual processing costs and improve data processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of an intelligent association fusion method for multi-source environmental big data according to an exemplary embodiment of the present invention.

[0040] Figure 2 A schematic diagram of obtaining service data according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0041] The present invention is further described in detail below in conjunction with the examples and specific implementation methods. However, this should not be understood as the scope of the above subject matter of the present invention being limited to the following examples, and all technologies realized based on the content of the present invention belong to the scope of the present invention.

[0042] In the description of the present invention, it is necessary to understand that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0043] like Figure 1 As shown, the present invention provides an intelligent association fusion method for multi-source environmental big data, which specifically includes the following steps:

[0044] S1: Based on the configuration form, establish the association between the spatial data set name and the business data, automatically capture the business data in the business system at a fixed time and save it to the cache database (the cache database is an intermediate library that stores the forms captured from the business data; the cache database also stores spatial data, and the associations and fusions between them are performed in the cache database), establish the business data form, and associate the business data form name with the spatial data set name (there is a configuration table that stores the relationship between business data and spatial data), such as Figure 2 shown.

[0045] In this embodiment, a form management module is established based on a web method to manage the provision method and address of each business data form of the business system.

[0046] In this embodiment, the capture of business data (including the township, district, county, address, name, identification code, etc.) includes the following two types:

[0047] (1) Interface method

[0048] By establishing a standard interface specification, providing a corresponding interface according to the interface specification, using Java language to write a calling program based on the Http protocol to establish a business data form, and then returning business data according to the necessary field specifications of the business data, as shown in Table 1.

[0049] The interface specifications are as follows:

[0050] The interface communication protocol is specified as Http protocol.

[0051] The request method of the specified interface is GET request

[0052] The request parameters are specified as page (page number) and rows (number of rows per page)

[0053] Table 1. Required fields for business data

[0054]

[0055] (2) Database method

[0056] A dedicated business data form database is established through the MySQL database, allowing the business system to update and process each form data in real time by operating the business data form database. A connection is established with the MySQL database through the Alibaba Druid database connection pool, and a program is written in Java to obtain each form data in the business data form database.

[0057] S2: Automatically check the relationship between spatial data records and business data records, and label the spatial data, including adding, updating, and deleting; if the spatial data needs to be added or updated relative to the business data, enter S3, otherwise directly delete the corresponding record.

[0058] S2-1: Based on the "Cursor", the spatial data is traversed and queried. The query method is to read in sequence according to the primary key order of the spatial data. The read content includes "identification code" (the unique ID of the data storage, automatically generated based on the business data), "name", "address", "longitude", "latitude" and other attributes, and store them in the memory;

[0059] S2-2: Based on the "cursor", the business data is traversed and queried, and the "identification code" of the spatial data is compared and judged in turn; if the spatial data has an identification code and the business data does not, then mark "delete label" in the spatial data; if the spatial data does not have an identification code and the business data does, then mark "add label"; if the spatial data does have an identification code and the business data does, then judge whether the "name", "address", "longitude" and "latitude" have changed. If so, mark "update label", otherwise do not perform label management and subsequent steps.

[0060] S3: For the labeled spatial data, the geometric position of the spatial data is updated based on a correction and matching method of positive geocoding;

[0061] S3-1: For the spatial data marked with labels (updated or newly added), based on the positive geocoding method, the "address" information is converted into "latitude and longitude" information, that is, the geometric location information of the current spatial data;

[0062] S3-2: Perform spatial analysis based on the spatial location of the geometric location information and the "administrative division boundary" to extract the "district and county" and "township" information corresponding to the current geometric location;

[0063] S3-3: Match the "latitude and longitude", "district and county", and "township" corresponding to the current geometric location information with the "address", "district and county", and "township" in the business form data. If the match is successful, it means that the data is normal and enters S3-5. If the match fails, it is necessary to enter S3-4;

[0064] S3-4: Based on the historical township tracing table, the data that failed to be traced and matched is updated, for example, the name of the "township" in the current address in previous years is queried, and replaced with the current "township" name, and steps S3-1 to S3-3 are repeated based on the updated data;

[0065] S3-5: Based on the above steps, the geometric position information is written into GeoMetry to achieve automatic correction and matching of spatial data;

[0066] S3-6: For spatial data marked with a "deletion tag", the corresponding data is automatically deleted according to the "identification code" field.

[0067] S4: Update the attribute information of spatial data with geometric location information based on spatial analysis methods, including the district or county, district or county code, township, township code, watershed, control unit, longitude, latitude, etc.

[0068] S4-1: Perform spatial analysis on the spatial data with geometric location information and the "district and county boundary" data set, "township boundary", "watershed", and "control unit" data to extract the district, county, township, watershed, and control unit information at the current geometric location;

[0069] S4-2: Based on the district, county, and township information extracted in step S4-1, complete the update of attributes such as "district, county", "township", "district, county code", "township code", basin, and control unit;

[0070] S5: The business system obtains the updated spatial data in S4 through the spatial data push interface, updates the business data in real time, and forms a closed loop of continuous space and business updates.

[0071] In this embodiment, a standardized spatial data push interface is written through the Supermap iobjects for Java development kit, so that the business system calls the interface to obtain spatial data and update the business data in real time.

[0072] The spatial data push interface specifications are as follows:

[0073] Specifies that the interface communication protocol is the Http protocol

[0074] The request method of the specified interface is GET request

[0075] Table 2. Request parameters for specifying spatial data push interface

[0076] Fields Operators Parameter name type = Type (all, update, lose) name = name pageNo = page number pageSize = Quantity per page

[0077] Table 3: Return parameters of the specified spatial data push interface

[0078]

[0079] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. An intelligent association fusion method for multi-source environmental big data, characterized in that: The specific steps include: S1: Automatically capture business data from the business system and save it to the cache database, and create a business data form; S2: Automatically check the correlation between spatial data records and business data records, and label the spatial data, including the first label category and the second label category; if the label is the first label category, enter S3; if the label is the second label category, directly delete the corresponding data; The S2 comprises the following steps: S2-1: Based on the "cursor" traversal query spatial data, the query method reads in sequence according to the primary key order of the spatial data, and the read content includes the "identification code", "name", "address", "longitude", and "latitude" attributes; S2-2: Based on the "cursor", the business data is traversed and queried, and the spatial data "identification code" is compared and judged in sequence; if the spatial data has an identification code and the business data does not, then "delete label" is marked; if the spatial data does not have an identification code and the business data has an identification code, then "add label" is marked; if the spatial data has an identification code and the business data has an identification code, it is necessary to determine whether the "name", "address", "longitude" and "latitude" have changed. If there is an identification code, then "update label" is marked, otherwise no label management is performed; The first tag category includes new tags and updated tags, and the second tag category includes deleted tags; S3: For the labeled spatial data, the geometric position of the spatial data is updated based on a correction and matching method of positive geocoding; The S3 comprises the following steps: S3-1: For the spatial data with the first label category, based on the positive geocoding method, the "address" information is converted into "latitude and longitude" information, that is, the geometric location information of the current spatial data; S3-2: Perform spatial analysis based on the spatial location of the geometric location information and the "administrative division boundary" to extract the "district and county" and "township" information corresponding to the current geometric location; S3-3: Match the "latitude and longitude", "district and county", and "township" corresponding to the current geometric location information with the "address", "district and county", and "township" in the business form data. If the match is successful, it means that the data is normal and enters S3-5. If the match fails, it needs to enter S3-4; S3-4: Based on the historical township source table, the data with unsuccessful source matching is updated, that is, the name of the "township" in the current address in previous years is queried, replaced with the current "township" name, and steps S3-1 to S3-3 are repeated based on the updated data; S3-5: Based on the above steps, the geometric position information is written into GeoMetry to achieve automatic correction and matching of spatial data; S4: Update the attribute information of spatial data with geometric location information based on spatial analysis methods; The S4 includes: S4-1: Perform spatial analysis on the spatial data with geometric location information and the "district and county boundary" data set, "township boundary", "watershed", and "control unit" data to extract the district, county, township, watershed, and control unit information at the current geometric location; S4-2: Based on the district, county, township, watershed, and control unit information extracted in step S4-1, complete the update of "district and county", "township", "district and county code", "township code", watershed, and control unit; S5: The business system obtains the updated spatial data in S4 through the spatial data push interface, updates the business data in real time, and forms a closed loop of continuous space and business updates.

2. The intelligent association fusion method for multi-source environmental big data according to claim 1, characterized in that: In S1, the method for capturing business data includes: (1) Interface method By establishing standard interface specifications, providing corresponding interfaces according to the interface specifications, using Java language to write a calling program based on the Http protocol to establish a business data form, and then returning business data according to the necessary field specifications of the business data. The interface specifications are as follows: The interface communication protocol is specified as Http protocol; The request method of the specified interface is GET request; The request parameters are specified as page and rows; (2) Database method A dedicated business data form database is established through the MySQL database, allowing the business system to update and process each form data in real time by operating the business data form database. A connection is established with the MySQL database through the Alibaba Druid database connection pool, and a program is written in Java to obtain each form data in the business data form database.

3. The intelligent association fusion method for multi-source environmental big data according to claim 1, characterized in that: The spatial data push interface specification is as follows: The interface communication protocol is specified as Http protocol; The request method of the specified interface is GET request.