A tourism development method based on local characteristic archives of cultural and tourism integration

By reconstructing the spatial scope of local areas and verifying the version, the problem of adjusting the spatial scope of historical sites caused by changes in the versions of local characteristic archives was solved, and the synchronous updating of historical site spatial data and tourism development spatial data was achieved, thus improving the efficiency and accuracy of the update.

CN123030699APending Publication Date: 2026-11-03XIAMEN OCEAN VOCATIONAL & TECH COLLEGE
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202611381015.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-03

AI Technical Summary

Technical Problem

Existing technologies are insufficient to effectively handle changes in the spatial scope of historical locations caused by variations in local archive versions. This leads to difficulties in the synchronous updating of relevant tourism development spatial data, and the update scope is difficult to determine during partial processing, making it difficult to verify the integrity of partial processing results.

Method used

By determining the reconstruction and version verification of the local spatial range, and combining the comparison between the new version of the candidate spatial group and the current valid data, the overlap contribution difference is calculated, and the local spatial atomic planes and their membership relationships are reconstructed within the local update range to ensure the accuracy and completeness of the update.

Benefits of technology

It enables the continuous transmission of changes in local characteristic archives to the synchronous update of historical location spatial data and tourism development spatial data, reducing duplicate calculations and inconsistencies in local processing results, and improving the efficiency and accuracy of updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123030699A_ABST
    Figure CN123030699A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of digital archives and geospatial data processing, and discloses a tourism development method based on local characteristic archives of cultural and tourism integration. The present application obtains archive segment records, candidate space groups, tourism facility service range data and spatial correlation cache; generates a new version of the candidate space group according to archive segment changes, determines a local update range according to geometric differences between the new and old candidate spaces and reconstructs a local space atomic surface; respectively calculates overlapping contribution differentials based on source candidate space geometric changes and atomic surface replacement, and compares each item in the affected tourism facility identification set; compares the overlapping contribution cache and the tourism development spatial correlation record through time update, expands the local update range or performs candidate space group level full reconstruction when the comparison fails, and controls the update result to take effect according to the input and submitted version snapshot. The present application is beneficial to reduce the repeated processing of unchanged spatial data and reduce the risk of inconsistency between the local processing result and the source spatial data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital archives and geospatial data processing technology, and in particular to a tourism development method based on local characteristic archives that integrate culture and tourism. Background Technology

[0002] Local archives are important information carriers that record the historical evolution, administrative divisions, historical place names, figures and events, traditional crafts, folk activities, and local products of a specific region. With the digitization of archives and the informatization of cultural and tourism resources, the historical and cultural information in local archives can be combined with geospatial data and tourism facility data to form a spatial expression of historical and cultural resources and related spatial data for tourism development.

[0003] Existing cultural and tourism resource development technologies typically involve collecting, classifying, and extracting features from local cultural resources, and then combining this with geographic information data to match attractions, spatially label them, or allocate tourism resources.

[0004] Authorization announcement number CN118395376B discloses a method and system for constructing rural cultural tourism attractions based on big data fusion. This solution acquires geographic information data of the target village, mines explicit and implicit rural cultural resources, analyzes the forms of expression of cultural resources, and uses a geographic information system to match geographical locations for cultural resource attractions. This solution mainly addresses the problems of cultural resource mining, screening, and attraction construction. When cultural resources originate from local characteristic archives with multiple historical versions, revisions to the archive content may lead to changes in the spatial scope of historical locations, making it difficult for existing processing methods to directly maintain the resulting subsequent spatial correlation data.

[0005] Regarding archival association analysis, application publication number CN121071159A discloses a knowledge graph-based method for archival decision support and association analysis. This scheme performs semantic parsing, multimodal association, and conflict verification on archival information to establish relationships between archival entities and updates the entity association network after adding new archives or research results. The updating objects of this scheme are mainly archival entities, relationships, and association networks. When archival entities are further mapped to geographic spatial ranges and associated with spatial data of tourism facilities, the updating of archival entity relationships cannot directly determine the specific content in the relevant spatial data that needs to be reprocessed.

[0006] Regarding the location of historical place names, authorization announcement number CN111797628B discloses a travelogue place name disambiguation method based on time geography. This scheme generates candidate locations for ambiguous place names and filters and ranks these locations by combining temporal information and spatial accessibility conditions. This scheme primarily addresses the problem of candidate location identification for textual place names. For historical locations in local archives, due to the influence of administrative division evolution, place name variants, record accuracy, and differences in archive sources, the same historical location may correspond to multiple possible spatial ranges. When the archive version changes, simply updating the place name identification or candidate locations is insufficient to simultaneously maintain the established spatial association results.

[0007] Regarding vector space data updates, patent announcement CN116028588B discloses an incremental complex polygon update method based on topological relationships. This scheme preprocesses the base-state data and incremental data, retrieves base-state data spatially adjacent to the incremental data, calculates the corresponding topological relationships, and performs data updates and checks based on these relationships. This scheme primarily addresses the incremental updates of complex polygons themselves. When a changing spatial object simultaneously participates in the overlay processing of multiple layers of spatial data, the update of the base polygon may also affect the derived spatial data formed by the overlay relationships. Existing update methods for base spatial objects are insufficient to directly achieve the synchronous maintenance of related derived data.

[0008] In the field of complex polygon overlay analysis, patent announcement number CN102902837B discloses a method for spatial overlay analysis and mapping of complex vector polygon graphics. This method encodes multiple vector polygon graphics, processes chain segments, and constructs spatial relationships to form an overlay result with defined spatial relationships. While this method can complete the overlay processing between vector polygons, when some source polygons change with different file versions, re-overlaying the entire spatial range will repeatedly process unchanged spatial data; and when only processing local results, there is still room for improvement in determining the update area and ensuring the completeness of the local processing results.

[0009] In summary, the existing technology still has the following shortcomings: First, existing cultural and tourism resource development technologies mainly focus on the extraction of cultural resources, the construction of scenic spots, and the matching between cultural resources and geographical locations. They usually treat the location of cultural resources as a relatively fixed input, making it difficult to handle the addition, deletion, or adjustment of the spatial scope of historical locations caused by changes in the versions of local characteristic archives, and also making it difficult to maintain relevant tourism development spatial data in a synchronous manner.

[0010] Second, existing archival association analysis and historical place name disambiguation technologies mainly deal with the relationship between archival entities or the identification of candidate locations, and it is still difficult to establish a continuous processing relationship between changes in archival fragments, changes in spatial data of historical locations and subsequent updates of spatial association data.

[0011] Third, existing vector space incremental update techniques are mainly geared towards basic spatial objects and their topological relationships. For derived spatial data formed by the overlay of historical location spatial ranges and tourism facility service ranges, full-range reprocessing would repeatedly calculate unchanged data; when using local processing, there is still room for improvement in determining the update area and the completeness of the local processing results. Summary of the Invention

[0012] Given that existing technologies have limitations in continuously transmitting changes in local characteristic archives to historical site spatial data and related tourism development spatial data, and that full-range processing of derived spatial data formed by candidate historical site spaces and tourism facility service areas results in the repeated calculation of unchanged data, while partial processing presents challenges in determining the update scope and verifying the integrity of partial processing results, a tourism development method based on local characteristic archives that integrate culture and tourism is proposed.

[0013] The purpose of this invention is to: determine the affected local spatial range when changes in local characteristic archival fragments cause the addition, deletion, or geometrical changes of candidate spatial items for historical locations; reconstruct the local spatial atomic planes and their corresponding member relationships; and verify the overlap contribution difference from two calculation paths: geometrical changes in the source candidate space and replacement of local spatial atomic planes. Through a combination of local updates, version verification, and full reconstruction, the local spatial atomic plane cache, the candidate spatial item and tourism facility overlap contribution cache, and the tourism development spatial association record maintain version correspondence.

[0014] The technical solution of this invention is a tourism development method based on local characteristic archives integrating culture and tourism, comprising: S1: Retrieve the local characteristic archive fragment records corresponding to the current valid archive version, the current valid candidate spatial group, the finite analysis domain corresponding to the candidate spatial group, the tourism facility service scope data, the local spatial atomic surface cache, the candidate spatial item and tourism facility overlap contribution cache, and the tourism development spatial association records.

[0015] The candidate spatial group is associated with historical location identifiers and historical time slices, and includes multiple candidate spatial items; the local spatial atomic surface cache records the local spatial atomic surface formed by the candidate spatial boundary, the tourism facility service range boundary and the finite analysis domain boundary, as well as the candidate member relationship and facility member relationship of the local spatial atomic surface.

[0016] S2: Receive new versions of local characteristic archives, and determine the changed archive segments based on the changes in the archive segment identifiers and content summary values ​​of the new versions of local characteristic archives relative to the current valid archive versions.

[0017] Obtain the new version of the candidate space group associated with the changed archive fragment, compare the new version of the candidate space group with the currently valid candidate space group, and determine the candidate space items that have been added, deleted, or have undergone geometric changes.

[0018] S3: When the candidate space geometry in the new version of the candidate space group is located within a finite analysis domain, and the version of the base space data associated with the local space atomic surface cache is consistent with the version of the currently input base space data, the change support domain is determined based on the difference between the new and old candidate space geometry, and the old local space atomic surface that intersects with the change support domain is selected to form a local patch.

[0019] Compare the outer boundaries of the local patch in the old and new versions; if the outer boundaries are inconsistent, add the old local space atomic planes adjacent to the corresponding outer boundary to the local patch, regenerate and compare the old and new outer boundaries of the expanded local patch, and repeat the above expansion and comparison process until a closed boundary with consistent old and new outer boundaries is formed or the local patch covers the finite analysis domain.

[0020] When a closed boundary is formed that is consistent with the old and new outer boundaries, the local patch is determined as the local update range. Within the local update range, the local spatial atomic surface is reconstructed based on the candidate spatial boundary, the tourism facility service range boundary, and the local update range boundary, and the candidate membership relationship and facility membership relationship are updated.

[0021] S4: Determine the source geometric tourism facility identifier set based on the source candidate space geometric changes, and determine the atomic surface tourism facility identifier set based on the facility member relationships before and after the local space atomic surface reconstruction.

[0022] The union of the source geometry tourism facility identifier set and the atomic surface tourism facility identifier set is determined as the affected tourism facility identifier set.

[0023] S5: Calculate the overlap contribution difference between the candidate space item and each tourist facility in the affected tourist facility identifier set, based on the geometric changes of the source candidate space and the atomic surface replacements before and after the reconstruction of the local space atomic surfaces.

[0024] When a tourist facility identifier exists in only one set of tourist facility identifiers, the corresponding overlap contribution difference in another calculation path is recorded as zero.

[0025] The difference between the two overlapping contributions was compared item by item within the set of affected tourist facility identifiers.

[0026] S6: When the absolute value of the difference between the two overlapping contribution differences is not greater than the corresponding local overlapping contribution difference threshold, the reconstructed local spatial atomic surface within the local update range, the candidate spatial items formed based on the source geometry signed contribution difference and the tourism facility overlapping contribution cache, and the tourism development spatial association record formed based on the updated overlapping contribution and the candidate weights in the new version of the candidate spatial group are written into the same local update temporary version.

[0027] Before committing, reread the data version used in the local computation. If the reread data version matches the data version at the start of the local computation, the local update temporary version is determined as the current valid version; if the data versions do not match, delete the local update temporary version and retain the current valid data.

[0028] S7: If the absolute value of the difference between any two overlapping contribution differences is greater than the corresponding local overlapping contribution difference threshold, the local update result will not be submitted, and the currently valid local spatial atomic surface cache, candidate spatial item and tourism facility overlapping contribution cache, and tourism development spatial association record will be retained.

[0029] Based on the current local patch, expand the local update range, regenerate and compare the new and old outer boundaries of the expanded local patch; if the local patch does not cover the finite analysis domain and has not yet formed a closed boundary, continue to expand the local patch; when a closed boundary is formed, reconstruct the local spatial atomic plane and compare the differences between the two overlapping contributions item by item.

[0030] If the re-comparison still fails and there are still adjacent old local space atomic planes that can be added within the finite analysis domain, the local patch is expanded and the outer boundary comparison, local space atomic plane reconstruction and re-comparison are repeated; if the local patch covers the finite analysis domain, or there are no adjacent old local space atomic planes that can be added within the finite analysis domain and the re-comparison still fails, the candidate space group level full reconstruction is performed.

[0031] If the candidate space geometry in the new version of the candidate space group exceeds the finite analysis domain, the version of the base space data associated with the local space atomic surface cache is inconsistent with the version of the currently input base space data, or the local patch covers the finite analysis domain, determine the final analysis domain containing each candidate space polygon in the new version of the candidate space group, and perform a full reconstruction of the candidate space group at the final analysis domain.

[0032] After full reconstruction, within the union of candidate spatial items formed by directly intersecting paths and full atomic surface aggregation paths with the set of tourism facility combination identifiers, the direct intersection contribution and the full atomic surface aggregation contribution are compared item by item. If all item-by-item comparisons pass and the data versions participating in the full calculation remain consistent during the calculation, the full reconstruction result is submitted; if any item-by-item comparison fails or the data versions are inconsistent, the currently valid data is retained.

[0033] Furthermore, in S1, local characteristic archives are divided into archive fragments, and each archive fragment is recorded with an archive fragment identifier, original location identifier, archive formation time interval, historical time interval related to the archive content, historical location identifier, historical location name, content summary value, and archive version identifier.

[0034] Original location identifiers include archive level identifiers and fragment locations; archive level identifiers use one or more of the following: archival group identifiers, file identifiers, and document identifiers; fragment locations use page numbers, image areas, or audio / video time intervals.

[0035] Establish a reverse index between archival fragments, candidate spatial groups, candidate spatial items, local spatial atomic planes, tourism facilities, and spatially related records of tourism development.

[0036] Furthermore, in S2, the set of archival fragment identifiers in the new version of the local characteristic archives is compared with that in the current valid archives version. Archival fragments that only exist in the new version of the local characteristic archives are identified as newly added archival fragments, and archival fragments that only exist in the current valid archives version are identified as deleted archival fragments.

[0037] Compare the content summary values ​​of archival fragments with the same archival fragment identifier in two archival versions, and identify archival fragments with different content summary values ​​as content-changed archival fragments.

[0038] For deleted and content-changed archive fragments, obtain the associated candidate spatial groups along the currently valid reverse index; for newly added archive fragments, find matching candidate spatial groups based on historical location identifiers and historical time intervals; if no matching candidate spatial groups are found, establish candidate spatial groups based on historical location identifiers and historical time intervals, and establish a reverse index relationship between the newly added archive fragments and candidate spatial groups.

[0039] Furthermore, in S2, historical administrative division spatial data with valid time intervals, historical place name synonym index, administrative affiliation records, and adjacent historical feature records are read.

[0040] Historical time segments are determined based on the historical time intervals associated with the archival content, and historical administrative division spatial records that intersect with the historical time segments are selected from the historical administrative division spatial data.

[0041] Historical place name records are obtained based on historical place names and historical place name synonym indexes. These historical place name records are compared with administrative affiliation records and adjacent historical feature records, respectively. Historical place name records with mismatched administrative affiliation or unmet spatial adjacency conditions are excluded, and the spatial polygons corresponding to the retained historical place name records are determined as candidate spatial polygons.

[0042] For each candidate spatial item, record the candidate spatial identifier, candidate spatial polygon, candidate weight, candidate weight version, archive fragment identifier, and candidate geometry version; generate a new version of the candidate spatial group based on the historical location identifier, historical time slice, and candidate spatial item, and record the candidate spatial group version.

[0043] Furthermore, in S2, candidate spatial items in the same candidate spatial group are recorded as mutually exclusive spatial positioning hypotheses, and the geometric range of each candidate spatial polygon is retained. The overlapping areas between different candidate spatial polygons are not clipped or merged.

[0044] Candidate weights are non-negative, and the sum of the weights of candidate spatial items with candidate spatial polygons is no greater than one; the difference between one and the sum of the weights of candidate spatial items with candidate spatial polygons is recorded as the weight of the unlocated candidate item.

[0045] Compare the new version of the candidate space group with the set of candidate space item identifiers in the current valid candidate space group. For newly added candidate space items, denote the candidate space geometry in the current valid candidate space group as an empty set, the candidate weight as zero, and the overlap contribution between the candidate space item and the tourism facility as zero; for deleted candidate space items, denote the candidate space geometry in the new version of the candidate space group as an empty set and the candidate weight as zero.

[0046] Align the old and new candidate space items according to the candidate space item identifier.

[0047] Furthermore, in S1, a finite analysis domain is generated based on the historical administrative division scope associated with the current valid candidate spatial group and the candidate spatial polygon, and the version of the analysis domain is recorded.

[0048] The candidate spatial polygon, the tourism facility service area polygon intersecting the finite analysis domain, and the boundary of the finite analysis domain are transformed to the same projected coordinate system and mapped to the same fixed-precision grid.

[0049] The mapped candidate space boundary, tourism facility service area boundary, and finite analysis domain boundary are node-based and polygon-based. The resulting minimum connected surface is recorded as a local spatial atomic surface, and the background atomic surface within the finite analysis domain that is not covered by the candidate space polygon or the tourism facility service area polygon is retained.

[0050] Record candidate member vectors, facility member vectors, atomic surface boundary records, and boundary source object identifiers for local space atomic surfaces.

[0051] Candidate space terms With tourist facilities Overlapping contributions between: In the formula, Representing candidate space terms The corresponding candidate space polygon, Indicates tourist facilities The corresponding service area polygon; Overlapping contributions The candidate spatial item identifier, tourism facility identifier, candidate geometric version, and tourism facility service scope version are written into the overlap contribution cache between candidate spatial items and tourism facilities. The tourism facility service scope version, analysis domain version, projected coordinate system version, fixed precision grid version, and overlap contribution calculation rule version are recorded as the base spatial data version. The candidate geometry version of the current valid candidate spatial group is combined with the base spatial data version to generate a cache base key. The cache base key is associated and stored with the local spatial atomic surface cache and the candidate spatial items with the tourism facility overlap contribution cache.

[0052] Furthermore, when only the candidate weights change in the new version of the candidate space group, the archive version, candidate space group version, candidate weight version, candidate geometry version, and basic spatial data version are read at the start of the calculation to generate a snapshot of the weight update input version.

[0053] When the candidate geometry version and the basic spatial data version in the weight update input version snapshot are consistent with the version associated with the current valid cache, the cache contributing to the overlap between the candidate spatial item and the tourism facility is reused; when they are inconsistent, the current valid cache is not reused, and a full reconstruction at the candidate spatial group level is initiated.

[0054] Historic sites With tourist facilities New group-level weighted overlap contributions between: In the formula, This represents the set of candidate space items containing candidate space polygons within a candidate space group. Representing candidate space terms Candidate weights in the new version of the candidate space group. Indicates the candidate space items in the currently valid cache. With tourist facilities The overlapping contributions between them.

[0055] Write the version references from the current cached version, the new group-level weighted overlapping contributions, and the tourism development space association records into the weight update temporary version. Before committing, reread the version fields of the same category as the weight update input version snapshot and generate a weight update commit version snapshot; if the two version snapshots are consistent, determine the weight update temporary version as the current valid version; otherwise, delete the weight update temporary version and retain the current valid version.

[0056] Furthermore, before executing S3, the archive version, candidate space group version, candidate weight version, candidate geometry version, and basic spatial data version are read to generate a snapshot of the local update input version.

[0057] Furthermore, in S3, the candidate space items are... In the new version of the candidate space group, the candidate space polygon is denoted as... , will candidate space items The candidate space polygons in the current valid candidate space group are denoted as follows: .

[0058] The newly added and removed regions corresponding to the candidate spatial items are as follows: The newly added and removed regions corresponding to each candidate spatial item are merged to form a change support domain.

[0059] Select old local space atomic surfaces that intersect with the closure of the changing support domain, and form local patches with the complete surface geometry of each old local space atomic surface.

[0060] Normalized edge keys for local patch outer boundary edges are generated based on a fixed-precision endpoint sequence, a set of boundary source object identifiers, and a directed order.

[0061] When the new candidate space boundary crosses the outer boundary of the local patch, or when the normalized edge keys of the outer boundary of the local patch are inconsistent in the old and new versions, the old local space atomic planes that are adjacent to the outer boundary of the corresponding outer boundary and have not yet been included in the local patch will be added to the local patch.

[0062] Regenerate and compare the normalized edge keys of the old and new outer boundaries of the expanded local patch, and repeat the expansion and comparison process until the local patch forms a closed boundary with consistent old and new outer boundaries or covers the finite analysis domain.

[0063] Furthermore, in S4 and S5, the tourist facility identifiers that intersect with the closure of the union of the newly added and removed regions are recorded as the source geometric tourist facility identifier set. .

[0064] The tourism facility identifiers referenced by the facility membership relationships before or after the local spatial atomic plane reconstruction are recorded as an atomic plane tourism facility identifier set. .

[0065] Candidate space terms The corresponding set of affected tourist facility signs is as follows: For each tourist facility in the set of affected tourist facility identifiers The difference in signed contribution from the source geometry: Atomic plane substitution contribution difference: In the formula, This represents the set of local space atomic planes after reconstruction. This represents the set of local space atomic surfaces before reconstruction. Representing local spatial atomic planes The area of ​​the local space atomic surface; With candidate space terms When considering candidate member relationships, Select 1, otherwise select zero; local space atomic plane With tourist facilities When discussing facility membership relationships, Take 1, otherwise take 0.

[0066] When a tourist facility identifier does not belong to the source geometry tourist facility identifier set, the corresponding source geometry signed contribution difference is recorded as zero; when a tourist facility identifier does not belong to the atomic surface tourist facility identifier set, the corresponding atomic surface substitution contribution difference is recorded as zero.

[0067] Candidate spatial terms are determined based on the area quantization unit corresponding to the fixed-precision grid. With tourist facilities Corresponding non-negative local overlap contribution difference threshold And perform the following comparison: Furthermore, in S6, candidate spatial items are read from the overlap contribution cache between candidate spatial items and tourism facilities. With tourist facilities The current effective overlap contribution between them is denoted as... The difference in signed contributions of source geometry obtained through item-by-item comparison is denoted as .

[0068] Candidate space terms With tourist facilities New overlapping contributions between: Let the union of the new version of the candidate space group and the set of candidate space item identifiers of the currently valid candidate space group be denoted as . And calculate the historical location according to the following formula. With tourist facilities New group-level weighted overlap contributions between: In the formula, Representing candidate space terms Candidate weights in the new version of the candidate space group; corresponding to newly added candidate space items. Record it as zero, and delete the corresponding candidate space item. The candidate space term corresponding to the candidate space whose geometry has not changed is denoted as zero. Record it as zero.

[0069] Write the new version of the candidate space group, the updated local space atomic surface cache, the candidate space item and tourism facility overlap contribution cache, the new group-level weighted overlap contribution, and the tourism development space association record into the local update temporary version.

[0070] Before committing, reread the version field of the same category as the partial update input version snapshot and generate a partial update commit version snapshot.

[0071] When the snapshot of the local update commit version is consistent with the snapshot of the local update input version, the local update temporary version is determined as the current valid version; a new cache base key is generated based on the candidate geometry version and the basic space data version of the new version of the candidate space group, and the new cache base key is associated and stored with the updated local space atomic surface cache and the candidate space item and the tourism facility overlap contribution cache.

[0072] When two version snapshots are inconsistent, delete the temporary version of the partial update and retain the current valid version.

[0073] Furthermore, in S7, after determining the final analysis domain, a full version of the basic spatial data is generated based on the tourism facility service area version, the final analysis domain version, the projected coordinate system version, the fixed-precision grid version, and the overlap contribution calculation rule version.

[0074] Before the full computation begins, the archive version, candidate space group version, candidate weight version, candidate geometry version, and full basic spatial data version are read in the same consistent read transaction to generate a full reconstruction input version snapshot and record the immutable data object version identifier corresponding to each version field.

[0075] Based on the tourism facility service area version recorded in the full reconstruction input version snapshot, load the tourism facility service area polygon that intersects with the final analysis domain. Subsequent full calculations only read the new version of the candidate space group, the candidate space polygon, the tourism facility service area polygon, and the final analysis domain corresponding to the version identifier of each object in the full reconstruction input version snapshot.

[0076] Within the final analysis domain, the boundaries of the candidate space, the service area of ​​tourism facilities, and the final analysis domain are nodeified and polygonized to generate a full atomic surface cache at the candidate space group level.

[0077] The set of candidate space items and tourism facility combination identifiers formed by the direct intersection of the candidate space polygon and the tourism facility service scope polygon is combined with the set of candidate space items and tourism facility combination identifiers formed by the candidate member relationships and facility member relationships in the full atomic surface cache of the candidate space group, and the set of full verification combination identifiers is generated.

[0078] For each candidate space item in the full verification combined identifier set and tourist facilities Directly intersecting contributions: Contribution of full atomic-plane polymerization: In the formula, This represents the set of local space atomic surfaces in the candidate space group-level full atomic surface cache.

[0079] When the candidate spatial item and the tourism facility combination identifier exist only in directly intersecting paths, the corresponding full-atom-plane aggregation contribution is recorded as zero; when they exist only in full-atom-plane aggregation paths, the corresponding direct intersection contribution is recorded as zero.

[0080] The non-negative full overlap contribution threshold is determined based on the area quantization unit corresponding to the fixed-precision grid. And perform the following comparison: The threshold for local overlap contribution difference and the threshold for full overlap contribution are determined using the same fixed-precision area quantization rule, or they are determined separately based on the number of boundaries involved in the calculation in the two calculation processes.

[0081] When all item-by-item comparisons pass, the group-level weighted overlap contribution after full reconstruction is: In the formula, This represents the set of candidate space items with candidate space polygons in the new version of the candidate space group.

[0082] Based on the group-level weighted overlapping contributions after full reconstruction, a tourism development spatial association record is generated. The new version of the candidate spatial group, the full atomic surface cache of the candidate spatial group, the cache of the overlapping contributions of the candidate spatial items formed by direct intersection contributions and tourism facilities, the group-level weighted overlapping contributions, and the tourism development spatial association record are written into the full reconstruction temporary version.

[0083] After the full calculation is completed, the version field of the same category as the input version snapshot of the full reconstruction is reread to generate the full reconstruction commit version snapshot.

[0084] When all item-by-item comparisons pass and the snapshot of the full reconstruction submission version is consistent with the snapshot of the full reconstruction input version, the full reconstruction temporary version is determined as the current valid version; a new cache base key is generated based on the candidate geometry version of the new version of the candidate space group and the full basic space data version, and the new cache base key is associated and stored with the candidate space group-level full atomic surface cache and the candidate space item and tourism facility overlap contribution cache.

[0085] If any item-by-item comparison fails or the two version snapshots are inconsistent, delete the temporary version and retain the current valid version.

[0086] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention determines the changed archival fragments based on the archival fragment identifiers and content summary values ​​in the old and new versions of local characteristic archives, and obtains the new version of the associated candidate spatial group from the changed archival fragments. This enables the changes in the content of local characteristic archives to be further transmitted to the candidate spatial data of historical sites and tourism development spatial data, which helps to reduce the situation where related spatial data is not processed synchronously after the archive version is updated.

[0087] 2. This invention forms a variable support domain based on the geometric differences between candidate spaces in the old and new versions of the candidate space group. The local update range is determined based on the old local space atomic surfaces that intersect with the variable support domain. Within the local update range, the local space atomic surfaces and their member relationships are reconstructed. This helps to reduce the repeated nodeization, polygonization and overlap calculations on the unchanged candidate space boundaries, tourism facility service range boundaries and spatial relationships.

[0088] 3. This invention calculates the overlap contribution difference based on the geometric changes in the source candidate space and the replacement of local spatial atomic surfaces, respectively. It then takes the union of the tourist facility identifiers identified by the two calculation paths and compares the two overlap contribution differences item by item within the union. This helps to discover potential spatial object omissions, inconsistent membership relationships, or overlap contribution calculation deviations that may occur during local processing, thereby reducing the risk of inconsistencies between local processing results and source spatial data.

[0089] 4. When a local item-by-item comparison fails, the present invention retains the current valid data and re-reconstructs the local spatial atomic planes and performs differential comparisons by expanding the local update range; when the local processing termination condition is met, a candidate space group-level full reconstruction is performed, providing a subsequent processing path for situations where the local processing range is insufficient or the local processing result fails verification.

[0090] 5. This invention writes the new version of the candidate space group, the local space atomic surface cache, the candidate space item and tourism facility overlap contribution cache, and the tourism development space association record into the temporary version, and controls whether the temporary version takes effect based on the comparison result of the input version snapshot and the submitted version snapshot, which helps to reduce the risk of different versions of spatial data being mixed and used due to changes in data versions during the calculation. Attached Figure Description

[0091] Figure 1 This is a flowchart illustrating the overall process of a tourism development method based on local characteristic archives integrating culture and tourism, according to the present invention. Figure 2 This is a flowchart illustrating the determination of the local update range and the comparison of overlapping contribution differences in this invention. Figure 3 This is a flowchart of the update result submission and full reconstruction process for this invention. Detailed Implementation

[0092] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0093] Reference Figure 1 This is used to show S1 to S7, as well as four processing branches: no change in spatial computation data, only change in candidate weights, local update of candidate space, and full reconstruction of candidate space group.

[0094] Reference Figure 2 This is used to illustrate the process of forming a variable support domain, selecting local patches, expanding local patches, reconstructing local spatial atomic planes, determining the set of affected tourist facility identifiers, and comparing the differences between the two overlapping contributions item by item.

[0095] Reference Figure 3 This is used to illustrate the process of generating an input version snapshot, writing a temporary version, generating a committed version snapshot, switching the current valid version, and deleting the temporary version while retaining the current valid version when verification fails.

[0096] The following embodiments use Cartesian coordinates to represent spatial objects, with the coordinate length unit being meters and the area unit being square meters. The coordinates, areas, candidate weights, content summary values, and version identifiers in the embodiments are exemplary data set for the purpose of illustrating technical means, and do not represent actual local characteristic archives or tourism facility data, nor do they constitute a limitation on the shape of the candidate space, the range of the analysis domain, the projected coordinate system, or the fixed precision grid values.

[0097] Example 1, referring to Figures 1 to 3This is the first embodiment of the present invention, applied to a scenario where the collation of local characteristic archives leads to a partial adjustment of the candidate spatial boundaries of historical and cultural blocks, providing a tourism development method based on local characteristic archives that integrate culture and tourism.

[0098] Specifically, in this embodiment, the processor invokes the spatial database for execution. The spatial database stores records of local characteristic archival fragments, candidate spatial groups, candidate spatial items, tourism facility service area data, local spatial atomic surface cache, overlap contribution cache between candidate spatial items and tourism facilities, tourism development spatial association records, and corresponding version records.

[0099] The spatial database establishes archival fragment identification indexes, inverted indexes, and spatial indexes. The archival fragment identification index is used to align archival fragments in newer versions of local characteristic archives with those in currently valid versions; the inverted index is used to obtain associated candidate spatial groups based on changed archival fragments and to retrieve local spatial atomic surfaces referencing corresponding candidate spatial items or tourist facilities; the spatial index is used to retrieve spatial objects that intersect with the change support domain, local patch, or analysis domain.

[0100] In one implementation, the spatial index first filters potentially intersecting spatial objects based on the minimum bounding rectangle of the spatial objects, and then performs a precise spatial relationship determination on the filtering results.

[0101] This embodiment includes the following steps: S1, retrieve currently valid data: Retrieve records of local characteristic archive fragments corresponding to the current valid archive version, the current valid candidate spatial groups, the finite analysis domains corresponding to the candidate spatial groups, tourism facility service scope data, local spatial atomic surface cache, candidate spatial item and tourism facility overlap contribution cache, and tourism development spatial association records.

[0102] The temporary version represents a data version that has been written to the spatial database but has not yet been referenced by the current valid version pointer. The current valid version pointer is used to identify the candidate spatial groups currently available for reading, the local spatial atomic surface cache, the candidate spatial item and tourism facility overlap contribution cache, and the tourism development spatial association record. Before the temporary version is determined to be the current valid version, the data in the current valid version will not be replaced.

[0103] When each processing branch generates an input version snapshot, it reads the corresponding version field within the same consistent read transaction and records the version identifier of the immutable data object corresponding to each version field. In addition to recording the version field, the input version snapshot also records the version identifiers of the candidate space group, candidate space polygon, candidate weight, tourism facility service range, analysis domain, local space atomic surface cache, and the object version identifier of the overlap contribution cache between candidate space items and tourism facilities that participated in the corresponding processing.

[0104] Subsequent calculations only read the data objects corresponding to the version identifiers of each object in the input version snapshot, and do not automatically switch to other versions of the same object during the calculation process. When a data object is updated, a new object version is generated, and the data object version already referenced by the input version snapshot remains unchanged during the corresponding calculation.

[0105] If the actual obtained data object version is inconsistent with the object version identifier recorded in the input version snapshot, or if the data object recorded in the input version snapshot cannot be obtained, stop using the corresponding data object for calculation and do not commit the current processing result. If the above situation occurs only in the candidate weight change branch or the partial update branch, enter the candidate space group level full reconstruction; if the above situation occurs in the space calculation equivalent version branch or the full reconstruction branch, roll back the corresponding transaction or delete the corresponding temporary version, and retain the original currently valid version.

[0106] The submission of a version snapshot is used to determine whether the current version pointer or version reference used as the input source has changed after the input version snapshot is formed; the version identifier of the immutable data object in the input version snapshot is used to determine the actual data content used in this calculation.

[0107] Specifically, local characteristic archives include text archives, map archives, image archives, audio archives, and video archives. Based on the scope of content that can independently express historical locations, historical events, or local cultural matters, local characteristic archives are divided into archival fragments.

[0108] Each archival fragment records the fragment identifier, original location identifier, time interval of the archive's formation, historical time interval associated with the archive's content, historical location identifier, historical location name, content summary value, and archive version identifier.

[0109] The content summary value is calculated based on the content of the archive fragments after normalization according to unified rules. When the archive fragment is text content, the normalization process includes unified character encoding, newline character format, and whitespace character handling rules; when the archive fragment is image content, the normalization process includes fixing the image area, image resolution, and pixel encoding format; when the archive fragment is audio or video content, the normalization process includes fixing the start and end times, sampling range or frame range, and data encoding format.

[0110] A deterministic summary calculation is performed on the standardized archival fragments to obtain the content summary value. New versions of local characteristic archives use the same content standardization rules and summary calculation rules as currently valid archival versions. The content standardization rules and summary calculation rules are recorded in their respective versions and associated with the archival version identifier.

[0111] In this embodiment, the archival fragment is identified as FRAG-0172, originating from document DOC-07 in file A-1928-16 under collection F-03, located in the second image area on page 12 of the document. The archive's creation period is from January 1, 1928 to December 31, 1928, the historical time period associated with the archive's content is from 1920 to 1935, the historical location is identified as HP-SOUTH-GATE, the historical location name is "South Gate of the Old City," the current valid content summary value is H1, and the current valid archive version is identified as AV-01.

[0112] Candidate spatial groups were established for the historical site HP-SOUTH-GATE and the historical time slice from 1920 to 1935. The candidate spatial group is identified as CG-SOUTH-GATE, and the currently valid candidate spatial group version is CG-04.

[0113] The candidate space group CG-SOUTH-GATE includes two candidate space items with candidate space polygons and one unlocated candidate item. The two candidate space items with candidate space polygons are denoted as candidate space items. and candidate space items Record the unlocated candidate as .

[0114] Candidate space terms Candidate space items Record the candidate spatial item identifier, candidate spatial polygon, candidate weight, candidate weight version, associated file fragment identifier, and candidate geometry version respectively.

[0115] No candidate was located Record candidate weights and candidate weight versions, but do not record candidate space polygons.

[0116] Candidate spatial items within the same candidate spatial group represent mutually exclusive historical location spatial positioning hypotheses. What is mutually exclusive are the positioning hypotheses expressed by the candidate spatial items, not the geometric extent of the candidate spatial polygons; therefore, overlapping regions are allowed between different candidate spatial polygons.

[0117] Let the set of candidate space items with candidate space polygons be denoted as .

[0118] The candidate weights of each candidate spatial term satisfy: No candidate was located The candidate weights are determined according to the following formula: Positioning candidates are not included in the calculation of spatial overlay and overlap contributions.

[0119] For ease of explanation, this embodiment uses axially parallel rectangles to represent candidate spatial polygons, tourism facility service area polygons, and finite analysis domains.

[0120] mark: Indicates that the x-coordinate is located in the interval The ordinate lies in the interval A closed rectangle, whose four vertices are as follows: , , and .

[0121] Candidate space terms and candidate space items The candidate space polygons in the current effective candidate space group are denoted as follows: and .

[0122] In this embodiment: Candidate space terms Candidate space items and unlocated candidates The current effective candidate weights are denoted as follows: , and The input weights in this embodiment are: The weight of the unlocated candidate is: Let the current effective finite analysis domain corresponding to the candidate space group be denoted as . .

[0123] In this embodiment: The finite analysis domain is determined based on the historical administrative divisions associated with the candidate spatial group and the fixed spatial partitions covering the candidate spatial polygons, and is used to limit the spatial data processing scope corresponding to the candidate spatial group.

[0124] This embodiment obtains data on the service areas of four tourist facilities related to the historical site "Old City South Gate". Among them, tourist facilities... For the interpretation service point and tourist facilities of the South Gate Ruins of the Old City For tourist distribution service areas and tourist facilities in historical and cultural blocks For displaying nodes and tourist facilities of the city wall ruins The historical street and alleyway guide service area records the service scope data of each tourist facility, including the facility's logo, service scope polygon, service scope version, and valid time interval.

[0125] Local characteristic archival fragments are used to represent local cultural content such as historical locations, historical events, folk activities, traditional skills or local products and their historical time information; candidate spatial groups are used to represent the spatial range that the aforementioned local cultural content may be associated with under the corresponding historical time segment; tourism facility service range data are used to represent the spatial service range corresponding to cultural display, guided tours, tourist distribution, study tours or supporting services.

[0126] The tourism development spatial association record is used to record historical location identifiers, historical time slices, candidate spatial group identifiers, candidate spatial group versions, candidate spatial item identifiers, tourism facility identifiers, candidate weights, overlap contributions between candidate spatial items and tourism facilities, group-level weighted overlap contributions, cache base keys, and associated data versions. Through the aforementioned records, a versioned spatial association relationship is established between the historical and cultural resource space reflected in local characteristic archives and the tourism facility service space.

[0127] tourism facilities To tourist facilities The corresponding service range polygons are denoted as follows: , , and In this embodiment: Projected coordinates and fixed precision processing: Before performing spatial operations, the coordinate reference identifiers corresponding to the candidate spatial data, tourism facility service area data, and finite analysis domain data are read. When different coordinate reference systems are used for various types of spatial data, the projection coordinate system applicable to the region where the finite analysis domain is located is selected as the target projection coordinate system, and the candidate spatial polygons, tourism facility service area polygons, and finite analysis domain boundaries are transformed to the target projection coordinate system.

[0128] Let the planar position resolution of the candidate spatial data be... The planar location resolution of the tourism facility service area data is The coordinate precision used in the projection transformation configuration is... Under the condition that all three use the same length unit, one implementation method uses the following result as the initial fixed-precision grid spacing: Coordinates are Spatial points are mapped to integer grid coordinates: In the formula, This indicates the final fixed-precision grid spacing used. This indicates that the integer part is rounded according to the uniform rounding rules.

[0129] The resolution of the candidate spatial data read in this embodiment The data resolution for the service area of ​​tourist facilities is 1 meter. The projection transformation coordinate accuracy is 1 meter. If the value is 0.1 meters, then: After geometric validity check, it was adopted. The integer grid coordinates of the point (45, 30) after mapping are: New intersection points and output vertices formed during polygon difference, intersection, node generation, and polygonization processes are meshed again using the same fixed-precision mesh spacing and rounding rules. The source geometry calculation path and the atomic surface calculation path employ the same mesh mapping, node generation, and area calculation rules, without mixing models of different precision.

[0130] After initial mapping, closure, self-intersection, and face geometry validity checks are performed on candidate spatial polygons and tourist facility service area polygons. If the original valid face objects collapse into lines or points after mapping, the fixed-precision grid spacing is reduced according to the next precision level supported by the spatial data metadata, and the checks are repeated.

[0131] If no finer precision is available, or if collapse still occurs after using the finest precision, terminate the update, delete the intermediate data that has not yet taken effect, retain the current valid version, and record the precision conflict object identifier, the original data precision, the fixed precision grid spacing, and the geometric validity check results.

[0132] For spatial intersections that only result in point or line contact, the overlap area is recorded as zero.

[0133] Area calculation: For any closed loop consisting of integer coordinate points with fixed precision Calculate the area of ​​the closed loop using the following formula: In the formula, Indicates the number of vertices in a closed loop; and They represent the first in the closed loop. Fixed-precision integer coordinates of the nth vertex; One vertex coincides with the first vertex, that is: For sub-polygons with holes Let the outer ring be denoted as Let the set of void rings be denoted as The area of ​​the sub-polygon is calculated according to the following formula: When the subpolygon does not contain holes, the sum of the areas of the hole rings is recorded as zero.

[0134] Spatial polygons When there are multiple independent sub-polygons, add the areas of each sub-polygon together: In the formula, This represents the set of sub-polygons contained in a spatial polygon P.

[0135] In this embodiment, candidate spatial polygons The four vertices are (10, 10), (50, 10), (50, 40), and (10, 40) respectively, with a fixed precision grid spacing. Meters, calculated as follows: The area is equal to the product of the rectangle's horizontal length of 40 meters and its vertical length of 30 meters.

[0136] Local space atomic planes and membership relations: The candidate space boundary, the tourism facility service range boundary, and the finite analysis domain boundary are fully nodeized, and then the nodeized boundaries are polygonized. The resulting minimum connected surface is recorded as a local spatial atomic surface.

[0137] For each local space atomic surface, record the surface geometry, atomic surface area, candidate member vector, facility member vector, boundary record, boundary source object identifier, and corresponding version.

[0138] Local space atomic plane Belongs to candidate space terms season: Local space atomic plane Not a candidate space item season: Local space atomic plane Tourist facilities When specifying the scope of services, let: Local space atomic plane Not a tourist facility When specifying the scope of services, let: Membership is determined by the inclusion relationship between the test point inside the local space atomic plane but not on the boundary and the source polygon.

[0139] Atomic plane boundary records include fixed-precision endpoints, boundary source object identifiers, boundary direction, left-side atomic plane identifiers, and right-side atomic plane identifiers. When two local space atomic planes share a boundary edge with a non-zero length, they are considered adjacent; if they only form point contact, their adjacency is uncertain. Adjacent old local space atomic planes outside the outer boundary of a local patch are obtained from the atomic plane identifiers recorded on the other side of the outer boundary edge.

[0140] The smallest connected surface within the finite analysis domain that does not belong to either the candidate space polygon or the tourism facility service area polygon is retained as the background atomic surface. This ensures that when a new candidate space is added or the candidate space is expanded to the previously uncovered area, the corresponding local patch basis can still be obtained from the old atomic surface cache.

[0141] Calculation of current effective overlap contribution: For any two axially parallel rectangles: The horizontal overlap length and the vertical overlap length are respectively: The overlapping area of ​​the two rectangles is: Candidate space terms With tourist facilities The overlapping contributions between them are: Candidate space terms With tourist facilities between: Candidate space terms With tourist facilities There is no area overlap, therefore: Candidate space terms With tourist facilities between: Candidate space terms With tourist facilities between: Candidate space terms With tourist facilities between: For the remaining candidate spatial items that do not overlap in area, the overlap contribution with tourism facilities is recorded as zero.

[0142] Write the overlapping contribution, candidate spatial item identifier, tourism facility identifier, candidate geometry version, and tourism facility service scope version into the candidate spatial item and tourism facility overlapping contribution cache.

[0143] The tourism facility service scope version, analysis domain version, projected coordinate system version, fixed precision grid version, and overlap contribution calculation rule version are combined into a basic spatial data version.

[0144] A cache base key is generated based on the current valid candidate geometry version and the base spatial data version. The cache base key can be formed by concatenating the aforementioned version identifiers in a fixed field order and calculating the digest value. The cache base key is then associated and stored with the current valid local spatial atomic surface cache and the overlap contribution cache of candidate spatial items and tourism facilities.

[0145] Overlap contribution comparison threshold: When executing two calculation paths using the same fixed-precision integer coordinates and integer areas, the local overlap contribution difference threshold and the full overlap contribution threshold are set to zero.

[0146] When using a floating-point space calculation kernel, the upper limit of error for a single area calculation term is denoted as... The number of area terms involved in the area calculation from the source geometric path is denoted as... The number of area terms involved in the accumulation of atomic surface replacement paths is denoted as... The threshold for the difference in contribution from local overlap is determined according to the following formula: The number of area terms involved in the area calculation for directly intersecting paths is denoted as... The number of area terms involved in the accumulation of all atomic surface aggregation paths is denoted as... The full overlap contribution threshold is determined according to the following formula: Error upper limit, area term counting rules, and threshold calculation rules are recorded as components of the overlapping contribution calculation rule version.

[0147] S2, identify new versions of changed archive fragments and candidate space groups: Receive the new version AV-02 of local characteristic archives and compare the set of archive fragment identifiers in the new version of local characteristic archives with the set of archive fragment identifiers in the currently valid version of archives.

[0148] Archive fragments that only exist in the new version of local characteristic archives will be identified as newly added archive fragments, and archive fragments that only exist in the current valid archive version will be identified as deleted archive fragments.

[0149] For archival fragments with the same archival fragment identifier in two archival versions, compare the content summary values ​​obtained according to the same normalization rules and summary calculation rules, and identify archival fragments with different content summary values ​​as content-changed archival fragments.

[0150] For deleted and altered archival fragments, retrieve associated candidate spatial groups along the currently valid reverse index; for newly added archival fragments, search for matching candidate spatial groups based on the historical location identifier and historical time interval recorded in the newly added archival fragment. If no matching candidate spatial group is found, establish candidate spatial groups based on the historical location identifier and historical time interval, and establish a reverse index relationship between the newly added archival fragment and the corresponding candidate spatial group.

[0151] In this embodiment, the archive fragment FRAG-0172 has the same archive fragment identifier in two archive versions, and its content summary value changes from H1 to H2. Therefore, the archive fragment FRAG-0172 is identified as a content-changed archive fragment, and the candidate spatial group CG-SOUTH-GATE is obtained along the current valid reverse index.

[0152] Read historical administrative division spatial data with valid time intervals, historical place name synonym indexes, administrative affiliation records, and records of adjacent historical features. Determine historical time slices based on the historical time intervals in the archival fragment records, and select historical administrative division spatial records from the historical administrative division spatial data whose valid time intervals intersect with the historical time slices.

[0153] Based on the historical place name "Old City South Gate" and the index of historical place name variants, the corresponding historical place name records are obtained. The administrative affiliation associated with each historical place name record is compared with the historical place attribution information in the archival fragment records. Furthermore, the adjacent historical features associated with each historical place name record are compared with the adjacent historical features recorded in the archival content.

[0154] Historical place name records that do not match administrative affiliation or do not meet spatial adjacency conditions are excluded, and the spatial polygons corresponding to the retained historical place name records are determined as candidate spatial polygons.

[0155] Write the candidate spatial item identifier, candidate spatial polygon, candidate weight, candidate weight version, associated archive fragment identifier, and candidate geometry version for each candidate spatial item, and form a new version CG-05 of the candidate spatial group based on the historical location identifier, historical time slice, and candidate spatial item.

[0156] Candidate space terms and candidate space items In the new version of the candidate space group, the candidate space polygons are denoted as follows: and .

[0157] In this embodiment: The candidate weights in the new version of the candidate space group are: Handling when spatial calculation data remains unchanged: After comparing the old and new versions of the candidate space group, if the candidate space item identifier set, candidate space geometry, and candidate weights have not changed, the new version of the candidate space group and the current valid candidate space group are determined to be spatial computationally equivalent versions.

[0158] Within the same consistent read transaction, the file version, the current valid candidate space group version, the new version of the candidate space group, the candidate weight version, the current valid candidate geometry version, and the basic space data version are read. The version identifier of the immutable data object corresponding to each version field is recorded, and an equivalent version update input version snapshot is generated.

[0159] Update the data objects of the input version snapshot record based on the equivalent version update, update the association between the archive fragment and the candidate space group, the inverted index, the candidate space group version, and the archive version reference in the tourism development space association record, without changing the local space atomic surface cache, the candidate space item and tourism facility overlap contribution cache, and the group-level weighted overlap contribution value.

[0160] In the database transaction, reread the version field of the same category as the equivalent version update input version snapshot, and generate the equivalent version update commit version snapshot.

[0161] When the two version snapshots are consistent, commit the database transaction and end the current space update of the corresponding candidate space group; when the two version snapshots are inconsistent, the actual data object version is inconsistent with the input version snapshot, or the transaction write fails, roll back the database transaction and retain the original current valid version.

[0162] Handling when only candidate weights change: If the candidate space item identifier and candidate space geometry remain unchanged, but only the candidate weight changes, the candidate space geometry update process from S3 to S7 will not be entered.

[0163] Within the same consistent read transaction, the file version, the current valid candidate space group version, the new version of the candidate space group, the candidate weight version, the current valid candidate geometry version, the basic space data version, the cache base key, and the immutable object version identifiers corresponding to the local space atomic surface cache and the candidate space item and tourism facility overlap contribution cache are read to generate a weight update input version snapshot.

[0164] A weighted update structure key is generated based on the current valid candidate geometry version and the base spatial data version in the input version snapshot. The weighted update structure key is consistent with the cache base key, and when the cache object version recorded in the input version snapshot is available, the candidate spatial item of the corresponding immutable version is reused to contribute to the cache along with the overlapping tourism facilities.

[0165] If the weight update structure key is inconsistent with the cache base key, the cache object version is inconsistent with the input version snapshot, or the corresponding cache object cannot be obtained, the old cache is not reused, and a full reconstruction at the candidate space group level is initiated.

[0166] Let the set of candidate space items with candidate space polygons be denoted as The new group-level weighted overlap contribution is calculated according to the following formula: In the formula, This represents the current valid overlap contribution recorded in the immutable cache object referenced by the input version snapshot for weight updates.

[0167] For example, if the current effective overlap contributions between the two candidate spatial items and tourism facility F1 are 8000 square meters and 12000 square meters respectively, and the new candidate weights are 0.40 and 0.50 respectively, then: Write the new version of the candidate space group, the new group-level weighted overlapping contribution, the tourism development space association record, and the cached object version identifier and object reference referenced by the weight update input version snapshot into the weight update temporary version.

[0168] After the calculation is completed, the version field of the same category as the weight update input version snapshot is read again to generate the weight update submission version snapshot.

[0169] When the weight update commit version snapshot matches the weight update input version snapshot, the version of the currently valid candidate space group and the version of the tourism development space associated record are switched within the same database transaction, and the corresponding cached version reference is updated. If any write, version reference update, or switch of the currently valid version pointer is not completed, the database transaction is rolled back, the temporary version for weight update is marked as obsolete and deleted, and the original currently valid version is retained.

[0170] When the snapshot of the version submitted for weight update is inconsistent with the snapshot of the version input for weight update, the current valid version pointer is not switched, the temporary version for weight update is deleted and the original current valid version is retained.

[0171] Entering the partial update branch: This embodiment exhibits geometrical changes in the candidate space, thus entering a local update path.

[0172] Compare the candidate space polygons in the new version of the candidate space group with the finite analysis domain. In this embodiment, all the new candidate space polygons are located within the finite analysis domain. Inside.

[0173] Within the same consistent read transaction, read the current valid candidate space group and its candidate geometry version, the new version of the candidate space group and its new candidate geometry version, the candidate weight version, the tourism facility service range version, the analysis domain version, the projected coordinate system version, the fixed precision mesh version, the overlap contribution calculation rule version, the cache base key, and the immutable object version identifiers corresponding to the current valid local space atomic surface cache and the candidate space item and the tourism facility overlap contribution cache.

[0174] The local update base key is generated based on the current valid candidate geometry version, tourism facility service area version, analysis domain version, projected coordinate system version, fixed precision mesh version, and overlap contribution calculation rule version.

[0175] Generate a snapshot of the local update input version based on the archive version, the current valid candidate space group version, the new version of the candidate space group, the candidate weight version, the current valid candidate geometry version, the new candidate geometry version, the basic spatial data version, the local update base key, and the version identifier of the corresponding immutable data object.

[0176] If the local update base key is consistent with the cache base key, the base space data version recorded in the local update input version snapshot is consistent with the cache associated version, and both the local space atomic surface cache and the overlapping contribution cache object recorded in the input version snapshot are available, then the local patching is performed using the old cache of the corresponding immutable version.

[0177] If the local update base key is inconsistent with the cache base key, the base space data version is inconsistent with the cache associated version, the cache object version is inconsistent with the local update input version snapshot, or the corresponding cache object cannot be obtained, the local patch processing will not be initiated, and the process will proceed to a full reconstruction at the candidate space group level.

[0178] S3, determine the local update range and reconstruct the local spatial atomic plane: The currently valid candidate space polygons used in S3 to S5, the candidate space polygons in the new version of the candidate space group, the tourism facility service area polygons, the finite analysis domain, the old local space atomic surface cache, and the old overlap contribution cache are all read from the immutable data object version recorded in the local update input version snapshot record.

[0179] During partial updates, candidate spaces, tourist facility service areas, or old caches are not reloaded based on the latest version pointer. If any necessary data object cannot be obtained from the object version recorded in the partial update input version snapshot, partial computation is stopped and a full reconstruction at the candidate space group level is initiated.

[0180] Candidate space terms The newly added and removed areas are respectively denoted as and : Candidate space terms The geometry remains unchanged, therefore: The newly added and removed regions corresponding to each candidate spatial item are merged to form a change support domain: In this embodiment: Select the old local space atomic surface that intersects with the closure of the changing support domain by spatial indexing, and form the initial local patch with the complete surface geometry of the selected old local space atomic surface.

[0181] For each edge in the outer boundary of the local patch, compare the x-coordinates of the two fixed-precision endpoints; if the x-coordinates are the same, compare the y-coordinates, and determine the endpoint with the higher coordinate as the normalization start point and the other endpoint as the normalization end point.

[0182] Arrange the boundary source object identifiers in the identifier order, and record the consistent or opposite state of the original source edge direction relative to the direction from the normalization start point to the normalization end point. Generate normalized edge keys based on the normalization start point, normalization end point, the arranged boundary source object identifiers, and the direction state.

[0183] The old outer boundary is extracted based on the geometric union of the old local space atomic surfaces within the current local patch. When generating the new outer boundary to be compared, the candidate space boundaries in the new version of the candidate space group, the tourism facility service range boundaries that have not changed in the version, and the old local patch outer boundary are all loaded into the boundary checking process. The line segments located at the outer boundary of the local patch are nodalized on the fixed-precision mesh, the corresponding new version boundary line segments are extracted, and the new version normalized edge keys are generated.

[0184] When a new candidate space boundary crosses the outer boundary of a local patch, or when the normalized edge keys of the corresponding outer boundary edge are inconsistent in the old and new versions, the old local space atomic planes that are adjacent to the outer boundary of the corresponding outer boundary and have not yet been included in the local patch are added to the local patch.

[0185] After each expansion of the local patch, the new and old outer boundaries and normalized edge keys of the entire local patch are regenerated, and the boundary crossing judgment and the comparison of the new and old edge keys are performed again.

[0186] When a local patch consists of multiple unconnected spatial parts, an outer boundary comparison is performed on each connected part separately; when all connected parts form a closed boundary with consistent new and old normalized edge keys, the local patch is determined to satisfy the closed boundary condition.

[0187] If a local patch does not cover the finite analysis domain and has not yet formed a closed boundary with consistent new and old outer boundaries, continue adding the next expansion layer; if a local patch covers the finite analysis domain, stop local patch processing and enter the candidate space group level full reconstruction in S7.

[0188] In this embodiment, the new candidate space boundary is ultimately located inside the local patch, and the outer boundary of the local patch is composed of unchanged boundaries. The normalized edge keys of the old and new outer boundaries are consistent, forming a closed boundary. Therefore, the local patch is determined as the local update range.

[0189] Within the scope of the local update, the candidate space boundaries, tourism facility service range boundaries, and local update range boundaries in the new version of the candidate space group are re-noded and polygonized to generate new local space atomic surfaces, and the candidate membership relationships and facility membership relationships are recalculated.

[0190] In a local update temporary object, the old local space atomic planes within the local patch are replaced with the new local space atomic planes. The old local space atomic planes outside the local patch remain unchanged.

[0191] S4, Determine the set of signs for affected tourist facilities: Let the set of old local space atomic surfaces located within the local patch before reconstruction be denoted as... Let the set of new local space atomic planes located within the local patch after reconstruction be denoted as .

[0192] For candidate spatial terms that undergo geometric changes The tourist facility identifiers that intersect with the union closure of the newly added and removed regions are recorded as the source geometry tourist facility identifier set: Record the tourist facility identifiers referenced by the facility member vectors before or after the partial patch reconstruction as a set of atomic surface tourist facility identifiers: Let the union of the two sets be denoted as the set of affected tourist facility identifiers: In this embodiment: After retrieving the facility member vectors before and after the partial patch reconstruction, the referenced tourist facilities are: and ,therefore: thus: When a local patch also includes a local space atomic surface that references other tourist facilities, the corresponding tourist facility is also included in the atomic surface tourist facility identifier set; when the corresponding tourist facility does not belong to the source geometry tourist facility identifier set, the corresponding source geometry signed contribution difference is recorded as zero in S5.

[0193] For candidate space items whose candidate space geometry has not changed but have candidate membership relationships before or after local patch reconstruction, the source geometry tourism facility identifier set is denoted as an empty set; the atomic surface tourism facility identifier set is determined based on the tourism facility identifiers referenced by the facility member vectors before and after local patch reconstruction, and the atomic surface tourism facility identifier set is determined as the affected tourism facility identifier set of the corresponding candidate space item.

[0194] S5, Calculate and compare the difference between the two overlapping contributions: The difference in signed contributions from the source geometry is: For candidate space items in S4 whose candidate space geometry has not changed, but which have candidate membership relationships before or after local patch reconstruction, both the newly added and removed regions are empty sets, so the corresponding signed contribution difference of the source geometry is recorded as zero.

[0195] The difference in contribution from atomic plane substitution is: In the formula, Representing local spatial atomic planes The area.

[0196] When a tourist facility identifier does not belong to the source geometry tourist facility identifier set, the corresponding source geometry signed contribution difference is recorded as zero; when a tourist facility identifier does not belong to the atomic surface tourist facility identifier set, the corresponding atomic surface substitution contribution difference is recorded as zero.

[0197] For candidate space terms and tourist facilities : therefore: For candidate space terms and tourist facilities : therefore: Based on the sum of the atomic surface areas and member vectors before and after reconstruction, we obtain: This embodiment uses integer grid area calculation, therefore: Implemented within the set of affected tourist facility signs: In this embodiment: All items were compared and passed.

[0198] Candidate space terms The geometry remains unchanged. If the local space atomic surface before or after local patch reconstruction has candidate space terms... If the candidate membership relationship is determined, the zero value of the signed contribution difference of the source geometry is compared with the contribution difference of the corresponding atomic plane substitution; if the contribution difference of the atomic plane substitution is not zero, the local item-by-item comparison fails.

[0199] S6, Generate and submit the partial update results: The difference in signed contributions of the source geometry, compared item by item, is denoted as: The new overlap contribution between candidate spatial items and tourism facilities is: therefore: The unchanged overlap contribution remains as follows: Let the set of candidate space item identifiers with candidate space polygons in the current valid candidate space group be denoted as . The set of candidate space item identifiers containing candidate space polygons in the new version of the candidate space group is denoted as... The union of two sets is denoted as: Unlocated candidates do not have candidate space polygons and will not be entered. , or It also does not participate in the calculation of the overlap contribution between candidate spatial items and tourism facilities.

[0200] Historic sites With tourist facilities The new group-level weighted overlap contribution between them is: Substituting, we get: Based on the above group-level weighted overlapping contributions, update the tourism development spatial correlation records between the historical site "Old City South Gate" and the Old City South Gate Ruins Interpretation Service Point, the Historical and Cultural Block Tourist Distribution Service Area, the City Wall Relics Display Node, and the Historical Street and Alley Guide Service Area.

[0201] The updated tourism development spatial association record saves the historical location identifier HP-SOUTH-GATE, historical time slices, candidate spatial group identifier CG-SOUTH-GATE, new version of candidate spatial group CG-05, corresponding tourism facility identifier, group-level weighted overlapping contribution, as well as the cache base key and associated data version corresponding to this partial update.

[0202] A new cached base key is generated based on the new candidate geometry version of the new version of the candidate space group and the base space data version in the snapshot of the local update input version.

[0203] Write the new cache base key, the new version of the candidate space group, the reconstructed local space atomic surface cache, the updated candidate space item and tourism facility overlap contribution cache, the new group-level weighted overlap contribution, and the tourism development space association record into the same local update temporary version.

[0204] After the local calculation is completed, the version field of the same category as the local update input version snapshot is read again to generate the local update commit version snapshot.

[0205] When the snapshot of the commit version of a partial update is consistent with the snapshot of the input version of the partial update, the following processes are performed in the same database transaction: the temporary version of the partial update is determined as the current valid version; the pointer to the current valid version is switched; the new cache base key is made effective; and the cache references of the local space atomic plane, the cache references of the overlap contribution of candidate space items and tourism facilities, and the references of tourism development space association records are updated.

[0206] If any data write, cache reference update, cache base key take effect, or current valid version pointer switch is not completed, roll back the database transaction, mark the partial update temporary version as obsolete and delete it, and retain the original current valid version.

[0207] When the snapshot of the commit version of a partial update is inconsistent with the snapshot of the input version of the partial update, the current valid version pointer is not switched, the temporary version of the partial update is deleted and the original current valid version is retained.

[0208] S7 handles branches that fail to pass partial updates and those that require full refactoring: If any item fails the comparison, the result of this partial update will not be submitted. If partial update temporary data has already been generated for this update, the corresponding partial update temporary data will be deleted, and the original currently valid version will be retained.

[0209] Based on the current local patch, the old local space atomic planes that are adjacent to the outer boundary of the local patch and have not yet been included in the local patch are added to the local patch as the next extension layer.

[0210] Using the expanded local patch as the current local patch, regenerate and compare the new and old outer boundary normalized edge keys of the expanded local patch.

[0211] If the expanded local patch does not cover the finite analysis domain and has not yet formed a closed boundary with consistent old and new outer boundaries, the next expansion layer is added.

[0212] When the expanded local patch forms a closed boundary with consistent new and old outer boundaries, the local space atomic surface is reconstructed, membership is calculated, and the differences between the two overlapping contributions are compared item by item from the current valid local space atomic surface cache and the input source space data referenced by the local update input version snapshot. The intermediate results that were not committed in the previous time are not reused.

[0213] The expanded local patch forms a closed boundary, but the re-performed item-by-item comparison still fails, and the local patch has not yet covered the finite analysis domain. Then, the old local space atomic planes of the next expansion layer are added to the local patch, and the outer boundary comparison, local space atomic plane reconstruction, and item-by-item comparison are performed again.

[0214] When a local patch covers the finite analysis domain, or when all the scalable outer boundaries of the local patch coincide with the boundary of the finite analysis domain, or when there are no adjacent old local space atomic planes that can be added to the finite analysis domain, the local patch update is stopped and the candidate space group-level full reconstruction is initiated.

[0215] When the candidate spatial geometry in the new version of the candidate spatial group exceeds the current finite analysis domain, the fixed spatial partition covering the excess part will be incorporated into the current finite analysis domain to form the final analysis domain; when the candidate spatial geometry does not exceed the current finite analysis domain, but the version of the basic spatial data is inconsistent with the version associated with the cache, the current finite analysis domain will be determined as the final analysis domain.

[0216] In this embodiment, all local item-by-item comparisons passed, so no local patches were expanded, and no full reconstruction was performed.

[0217] Example 2, refer to Figures 1 to 3 This is the second embodiment of the present invention, applied to the spatial verification scenario of traditional village sites. The new version of the local characteristic archives adds historical map evidence and deletes previously erroneous associated archives, resulting in the addition and deletion of candidate spatial items for traditional village sites. This necessitates the synchronous updating of spatial association data between historical and cultural resources and tourism service facilities in traditional villages. This embodiment differs from Embodiment 1 in that the new version of the candidate spatial group simultaneously includes both newly added and deleted candidate spatial items.

[0218] S1, retrieve currently valid data: Historic sites The corresponding currently valid candidate space item is the candidate space item. and candidate space items .

[0219] Candidate space terms and candidate space items The current valid candidate space polygons are as follows: The current candidate weights are: In this embodiment, tourism facilities Comprehensive service area and tourist facilities at the entrance of traditional villages The service area polygons for the ancient post road tourist service area are as follows: Following the rectangular overlap area calculation process in Example 1, we obtain: Candidate space terms With tourist facilities There is no area overlap, therefore: S2, determine the new version of the candidate space group: The local gazetteer excerpts and old village distribution maps in the current valid archive versions support candidate spatial items. and candidate space items The new version of the local history archives includes a new historical map marking the relative locations of Shantang, the ancient post road, and the ancestral hall.

[0220] Historical time slices are determined based on the historical time intervals associated with the newly added historical map. Then, the location names in the historical map are compared with the historical place name synonym index, administrative affiliation records, and adjacent historical feature records to obtain new candidate spatial polygons, thus forming new candidate spatial items. .

[0221] Original supporting candidate space items The archival fragment was determined to correspond to another historical location after version verification; therefore, the candidate spatial item was deleted. .

[0222] The new archive fragment supports adding candidate space items. Candidate space items The relevant archival evidence has been removed in the new version of the local characteristic archives.

[0223] Add candidate space items The new candidate spatial polygon is: Before aligning the new and old candidate space groups according to the candidate space item identifier, define the new candidate space item as follows: For deleting candidate space items Definition of "close": Candidate space terms The candidate space geometry remains unchanged, therefore: The candidate weights in the new version of the candidate space group are: The consistent read process described in Example 1 generates the local update base key and local update input version snapshot of this example, and reads the data involved in this calculation from the immutable object version recorded in the local update input version snapshot.

[0224] S3, Determine the scope of the local update: Delete candidate space item The corresponding newly added and removed areas are: Add candidate space items The corresponding newly added and removed areas are: Candidate space terms The corresponding newly added and removed regions are both empty sets.

[0225] Will and The merged domain forms a variable support domain.

[0226] Because background atomic planes are preserved within the finite analysis domain, even when new candidate space terms are added... Even in regions not covered by the old candidate space, local patches can be formed by selecting old local space atomic planes that intersect with the closure of the new region from the background atomic planes.

[0227] The normalized edge bond comparison and patch expansion process described in Example 1 forms a closed boundary, and the local spatial atomic planes and membership relationships are reconstructed within the local patch.

[0228] S4, Determine the set of signs for affected tourist facilities: For deleting candidate space items The set of signs for affected tourist facilities is as follows: For newly added candidate space items The set of signs for affected tourist facilities is as follows: Candidate space terms When candidate membership relationships exist before or after local patch reconstruction, they are processed according to the verification rule in Example 1 where the candidate space geometry remains unchanged. S5, Calculate and compare the difference between the two overlapping contributions: For deleting candidate space items : Add candidate space items With tourist facilities The difference in signed contributions between the source geometry is: Add candidate space items With tourist facilities The difference in signed contributions between the source geometry is: Candidate space terms The candidate space geometry remains unchanged, and both the newly added and removed regions are empty sets. Therefore, the difference in the signed contribution of the source geometry is: Calculated using the local spatial atomic plane replacement path: Candidate space terms The difference in contribution from surface replacement is: The absolute values ​​of the differences between the two overlapping contributions of each candidate spatial item and the tourism facility are all zero, and the local item-by-item comparison is passed.

[0229] S6, generate and submit the partial update results: The new overlap contribution after removing candidate space terms is: The new overlap contribution of the newly added candidate space terms is: Candidate space terms After each item is verified, the source geometric signed contribution difference that passes the verification will be determined as the final update difference: Candidate space terms The new overlapping contribution is: The set of candidate space item identifiers with candidate space polygons in the current valid candidate space group is as follows: The new version of the candidate space group includes the following set of candidate space item identifiers with candidate space polygons: therefore: Delete candidate space item Enter the union from the old set; add new candidate space items. Enter the union of options through the new set; unpositioned candidates are not entered into the union.

[0230] Tourist facilities The group-level weighted overlap contribution is: Tourist facilities The group-level weighted overlap contribution is: Historical locations are generated based on the updated group-level weighted overlap contribution. The record shows the spatial relationship between the traditional village site and the comprehensive service area at the entrance of the traditional village and the ancient post road tourist service area.

[0231] Candidate space terms After the corresponding archival basis is deleted, its new candidate weight is zero; new candidate space items are added. The corresponding overlapping contributions and candidate weights are entered into the new tourism development space association record, so that the association record corresponds with the new version of the local characteristic archive.

[0232] The temporary version, the version snapshot, and the database transaction process described in Example 1 are used to submit the update results.

[0233] S7, handle failed branches: In this embodiment, the local item-by-item comparison passes without expanding the local patch or performing a full reconstruction at the candidate space group level. The remaining structure is the same as in Embodiment 1.

[0234] Example 3, referring to Figures 1 to 3 This is the third embodiment of the present invention, applied to a scenario where the collation of local characteristic archives expands the candidate scope of traditional temple fair activity spaces towards the direction of folk experience service areas, but the first local spatial atomic surface reconstruction result fails the overlap contribution difference verification. This embodiment differs from Embodiment 1 in that the temporary intermediate result formed by the first local reconstruction fails the verification, requiring the local patch to be expanded and recalculated.

[0235] S1, retrieve currently valid data: The finite analysis domain is: Candidate space terms This indicates the candidate areas for traditional temple fair activities recorded in local archives, with each candidate space item representing a specific area. The current valid candidate space polygons are: Tourist facilities This area serves as a folk culture display and visitor service area, and its service area is a polygonal shape: This embodiment uses a 1-meter fixed-precision grid and integer area calculation, and the threshold for local overlap contribution difference is zero.

[0236] S2, determine the new version of the candidate space group: The new version of the archive makes candidate space items The eastern boundary has been adjusted from x-coordinate 30 to x-coordinate 34. Candidate spatial term The new candidate spatial polygon is: After generating a partial update input version snapshot according to the consistency read process described in Example 1, the partial update process is then initiated.

[0237] S3, Determine the scope of the local update: Candidate space terms The newly added areas are: The region to be removed is an empty set: Select the old local space atomic surface that intersects with the closure of the newly added region to form a local patch, and expand the local patch in the manner described in Example 1 until a closed boundary with consistent old and new outer boundaries is formed.

[0238] Re-node-based, polygon-based, and membership calculations are performed within the local patch.

[0239] S4, Determine the set of signs for affected tourist facilities: Tourist facilities It is recognized by both the source geometry path and the atomic surface path, therefore: S5, Calculate and compare the difference between the two overlapping contributions: The overlapping rectangle between the newly added area and the service area of ​​tourism facilities is: The difference in signed contributions from the source geometry is: To illustrate the failure handling branch, in the intermediate results of the first, yet-to-be-effective, partial reconstruction, a space with an area of ​​5 square meters that originally had candidate spatial items is included. Candidate Membership and Tourism Facilities The facility member value of the local space atomic surface of the facility membership relationship is set to zero.

[0240] The first atomic plane replacement path yields: therefore: The item-by-item comparison failed.

[0241] S6, Do not submit results that failed verification: The results of the first local reconstruction are not used to update the current effective local spatial atomic surface cache, the candidate spatial item and tourism facility overlap contribution cache, and the tourism development spatial association record.

[0242] When the first calculation generates intermediate data that has not yet taken effect, delete the corresponding intermediate data and keep the pointer to the current effective version unchanged.

[0243] S7, expand the local patch and re-verify: Based on the current local patch, the old local space atomic planes that are adjacent to the outer boundary and have not yet been included in the local patch are added as the next extension layer to the local patch.

[0244] Regenerate the old and new outer boundaries and normalized edge keys of the expanded local patch. If the expanded local patch does not cover the finite analysis domain and has not yet formed a closed boundary, continue to add the next expansion layer; when a closed boundary is formed, reconstruct the local space atomic planes, calculate membership relationships, and compare the overlap contribution differences from the current valid cache and source space data referenced by the local update input version snapshot.

[0245] The second reconstruction does not reuse the intermediate results that were set as exceptions in the first reconstruction. The recalculated result is: therefore: After the re-verification is approved, based on the candidate space items The updated overlapping contribution records the tourism development space correlation between traditional temple fair activity spaces and folk custom display and visitor service areas.

[0246] Patching expansion does not presuppose that a single expansion will necessarily eliminate inconsistencies in the differential values. If the re-verification after expansion still fails, but there are still adjacent old local space atomic planes within the finite analysis domain that can be added, the local patch is expanded further. If the local patch covers the finite analysis domain or there are no adjacent old local space atomic planes that can be added, a candidate space group-level full reconstruction is performed. If the full verification still fails, the temporary version of the full reconstruction is deleted, and the original currently valid version is retained.

[0247] The rest of the structure is the same as in Example 1.

[0248] Example 4, refer to Figure 1 and Figure 3 This is the fourth embodiment of the present invention, applied to a scenario where newly added local characteristic archives prove that the historical activities of Red Culture sites extend beyond the current limited analysis domain, and involve tourism service facilities outside the current limited analysis domain. This embodiment differs from Embodiment 1 in that it does not perform local patch updates, but directly determines the final analysis domain and performs a full reconstruction at the candidate space group level.

[0249] S1, retrieve currently valid data: The current finite analysis domain is: Candidate space terms Candidate spatial items represent the historical activity areas of Red Culture sites. The current valid candidate space polygons are: Tourist facilities The service area for red culture study tours is defined by the following polygon: S2, determine the new version of the candidate space group: The new version of the archive makes candidate space items The candidate space polygon becomes: Candidate space terms The new candidate weights are: The new candidate spatial polygon extends beyond the right boundary of the current finite analysis domain.

[0250] S3, confirming entry into full reconstruction: Since the candidate space polygons in the new version of the candidate space group are not completely located within the current finite analysis domain, the old local space atomic surface cache within the current finite analysis domain is not used to form local patches, and the full reconstruction process in S7 is directly entered.

[0251] This embodiment does not perform local atomic plane reconstruction, does not generate local source geometry tourist facility identifier sets and local atomic plane tourist facility identifier sets, and does not perform local overlap contribution difference comparison.

[0252] S7, determine the final analysis domain and perform a full reconstruction: The fixed spatial partitions covering the portion of the new candidate spatial polygon that exceeds the current finite analysis domain are incorporated into the current finite analysis domain to form the final analysis domain.

[0253] In this embodiment, the portion of the new candidate spatial polygon that extends beyond the current finite analysis domain is spatially associated with the service area of ​​the Red Culture Study and Research Service Area. To avoid the current finite analysis domain boundary truncating the historical activity area of ​​the Red Culture site and to avoid omitting the service area of ​​tourism facilities outside the analysis domain, the fixed spatial partition covering the extended portion is incorporated into the current finite analysis domain.

[0254] In this embodiment: Let the set of candidate space items containing candidate space polygons in the new version of the candidate space group be denoted as... The final analysis domain satisfies: If the candidate spatial geometry does not exceed the current finite analysis domain, but the version of the basic spatial data is inconsistent with the cached version, the current finite analysis domain will be determined as the final analysis domain.

[0255] Within the same consistent read transaction, read the archive version, the new version of the candidate spatial group, the candidate weight version, the new candidate geometry version, the tourism facility service area version, the final analysis domain version, the projected coordinate system version, the fixed-precision grid version, and the overlap contribution calculation rule version, and record the corresponding immutable data object version identifiers to generate a full reconstruction input version snapshot.

[0256] The final analysis domain is obtained based on the final analysis domain object version recorded in the full reconstruction input version snapshot; the tourism facility service area data version intersecting with the final analysis domain is loaded based on the tourism facility service area data version recorded in the full reconstruction input version snapshot.

[0257] Subsequent full nodeization, polygonization, direct intersection contribution calculation, and full atomic surface aggregation contribution calculation only read the new candidate space group, candidate space polygon, candidate weight, final analysis domain, and tourism facility service range data object recorded in the full reconstruction input version snapshot.

[0258] If any actual data object version is inconsistent with the full reconstruction input version snapshot, or if the data object recorded in the full reconstruction input version snapshot cannot be obtained, the full reconstruction will stop, no committable full reconstruction result will be generated, and the original currently valid version will be retained.

[0259] Within the final analysis domain, all candidate space boundaries in the new version of the candidate space group, the boundaries of tourism facility service areas intersecting with the final analysis domain, and the boundary of the final analysis domain are node-based and polygon-based, generating a candidate space group-level full atomic surface cache. The set of local spatial atomic surfaces in the candidate space group-level full atomic surface cache is denoted as... .

[0260] Candidate spatial items that have a non-empty geometric intersection with the tourism facility service area polygon in directly intersecting paths are orderedly combined with the tourism facilities. Recorded as a set of directly intersecting combined identifiers .

[0261] When the candidate spatial polygon and the tourism facility service area polygon only form point contact or line contact, the corresponding direct intersection contribution is recorded as zero, and the corresponding ordered combination is recorded in the direct intersection combination identifier set. middle.

[0262] The ordered combination corresponding to a local space atomic surface in the full atomic surface path that simultaneously possesses both candidate membership and facility membership is considered. The record is a set of identifiers for all atomic plane combinations: The union of the two sets is used to determine the set of full-verification combination identifiers: For each ordered combination in the full verification combination identifier set The direct intersection contribution is calculated using the following formula: Candidate space terms With tourist facilities The directly intersecting regions are: therefore: The contribution of full-scale atomic-plane polymerization is: In this embodiment, full nodeization and polygonization form an area of ​​2400 square meters, which also has candidate spatial items. Candidate Membership and Tourism Facilities The local spatial atomic plane of facility membership. For this local spatial atomic plane, , In the remaining local spatial atomic planes, .

[0263] therefore: Ordered combinations only exist When this occurs, the corresponding contribution of the full atomic plane aggregation is recorded as zero; ordered combinations only exist in When the time is right, the corresponding direct intersection contribution is recorded as zero.

[0264] This embodiment uses an integer grid for precise area, therefore: Perform the following within the full verification combined identifier set: In this embodiment: The full item-by-item comparison passed.

[0265] Historic sites With tourist facilities The weighted overlap contribution of the full group level between them is: In this embodiment: Based on the weighted overlap contribution of the full group level, a record of the spatial relationship between tourism development between candidate spatial groups of historical activity ranges of Red Culture sites and Red Culture study and research service areas is generated.

[0266] The corresponding tourism development spatial association records preserve historical site identifiers for Red Culture sites, historical time slices, new versions of candidate spatial groups, Red Culture study tour service area identifiers, full group-level weighted overlapping contributions, final analysis domain versions, and new cache base keys.

[0267] Based on the tourism facility service area version, final analysis domain version, projected coordinate system version, fixed precision grid version, and overlap contribution calculation rule version recorded in the full reconstruction input version snapshot, a full basic spatial data version is generated.

[0268] A new cache base key is generated based on the new candidate geometry version of the new candidate space group and the full base space data version.

[0269] Write the full version of the basic spatial data, the new cache base key, the new version of the candidate spatial group, the full atomic surface cache of the candidate spatial group, the cache of the overlap contribution of the candidate spatial items formed by direct intersection contribution and the tourism facility, the full group-level weighted overlap contribution, and the tourism development spatial association record into the same full reconstruction temporary version.

[0270] After the full calculation is completed, the version field of the same category as the input version snapshot of the full reconstruction is read again to generate the full reconstruction commit version snapshot.

[0271] When all full item comparisons pass and the full reconstruction commit version snapshot is consistent with the full reconstruction input version snapshot, the following processes are performed in the same database transaction: the full reconstruction temporary version is determined as the current valid version; the current valid version pointer is switched; the new cache base key is made effective; and the full atomic surface cache reference, the candidate space item and tourism facility overlap contribution cache reference, and the tourism development space association record reference are updated.

[0272] If any data write, cache reference update, cache base key take effect, or current valid version pointer switch is not completed, roll back the database transaction, fully reconstruct the temporary version, mark it as obsolete and delete it, and retain the original current valid version.

[0273] If any full item comparison fails, the snapshot of the full refactoring submission version is inconsistent with the snapshot of the full refactoring input version, or the version of the actual calculated data object is inconsistent with the snapshot of the full refactoring input version, the current valid version pointer will not be switched, the temporary version of the full refactoring will be deleted, and the original current valid version will be retained.

[0274] The rest of the structure is the same as in Example 1.

[0275] Based on embodiments 1-4, the working principle of the present invention is as follows: The present invention first generates the content summary value of the archive fragment according to the unified standardization rules and summary calculation rules, determines the newly added archive fragment, deleted archive fragment, and archive fragment with content changes according to the archive fragment identifier set and the content summary value, and obtains the associated candidate spatial group through reverse index or historical location identifier and historical time interval.

[0276] Based on the historical time intervals associated with the archival content, historical time slices are determined, and valid historical administrative division spatial data are read. Candidate spatial polygons are then selected through historical place name synonym indexes, administrative affiliation records, and records of adjacent historical features to form a new version of the candidate spatial group.

[0277] Each processing branch generates an input version snapshot during a consistent read transaction and binds the input version snapshot to the version of the immutable data object participating in the computation. Subsequent computations only read the data objects recorded in the input version snapshot, avoiding cross-version mixing of candidate space, tourism facility service scope, analysis domain, and cache.

[0278] If the candidate spatial item identifier, candidate spatial geometry, and candidate weights remain unchanged, update the archive association and version references under the condition that the input version snapshot and the submitted version snapshot are consistent, without re-performing spatial calculations.

[0279] When only the candidate weights change, the overlapping contribution cache that is consistent with the current candidate geometric version and the underlying spatial data version is reused to calculate the new group-level weighted overlapping contribution.

[0280] When there are additions, deletions, or geometric changes in candidate space items, a change support domain is formed based on the added and removed regions. The complete old local space atomic surface is selected to form a local patch, and the local patch is expanded layer by layer by comparing the old and new outer boundaries.

[0281] After the local patch forms a closed boundary with consistent new and old outer boundaries, the local spatial atomic planes and membership relationships are reconstructed within the local patch. The overlap contribution difference is calculated through the source candidate space geometric change path and the atomic plane replacement path, and then compared item by item within the affected tourist facility identifier set.

[0282] When there are candidate space terms in the local patch that have not changed the candidate space geometry, the difference between the signed contribution of the zero-value source geometry and the difference between the contribution of the atomic surface substitution are compared to verify whether the local reconstruction has changed the membership relationship of the unchanged candidate space terms.

[0283] When the local item-by-item comparison passes, the new overlapping contribution is calculated based on the difference between the current effective overlapping contribution and the source geometric signed contribution. The new cached base key, local spatial atomic surface cache, overlapping contribution cache, and tourism development spatial association record are written to the same temporary version.

[0284] If a local comparison fails, the intermediate result is not submitted; instead, the expanded local patch is used to continue boundary judgment, atomic plane reconstruction, and differential comparison. If there are still adjacent old local space atomic planes that can be added within the finite analysis domain, the local patch is expanded further; if the local patch covers the finite analysis domain or there are no adjacent old local space atomic planes that can be added, full reconstruction is initiated.

[0285] When the candidate space geometry exceeds the finite analysis domain, the version of the basic space data is inconsistent with the cached version, or the local patch meets the conditions for full reconstruction, a full reconstruction of the candidate space group is performed within the final analysis domain.

[0286] The full reconstruction first generates a full reconstruction input version snapshot, then loads the corresponding spatial objects according to the tourism facility service scope version recorded in the input version snapshot, calculates the overlap contribution through direct intersection path and full atomic surface aggregation path respectively, and orderly combines the candidate spatial items formed by the two paths with the tourism facilities and compares them item by item.

[0287] Partial or full calculation results are first written to a temporary version. When the calculation verification and comparison of the input and committed version snapshots all pass, the current valid version pointer is switched within the same database transaction, the cached base key is made effective, and the corresponding cache reference is updated; if any operation fails, the transaction is rolled back, the corresponding temporary version is deleted, and the original current valid version is retained.

[0288] In this invention, the local characteristic archive data, candidate spatial data, and tourism facility service scope data correspond to local cultural content, the possible spatial scope of local cultural content in a historical time frame, and the spatial service scope corresponding to tourism service activities, respectively.

[0289] By driving the update of candidate spatial groups through changes in local characteristic archives, and by using the overlapping contributions between candidate spatial items and the scope of tourism facility services, as well as the group-level weighted overlapping contributions, a versioned record of tourism development spatial relationships between historical and cultural resource spaces and tourism facility service spaces is formed.

[0290] The spatial correlation record for tourism development is a result of spatial data processing. It is used to preserve and retrieve the spatial correlation between local cultural resources and the service scope of tourism facilities, but does not directly make decisions on tourism investment, operating income, tourist preferences, or tourism route selection.

[0291] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A tourism development method based on local characteristic archives integrating culture and tourism, characterized in that, include: The system acquires records of local characteristic archival fragments, currently valid candidate spatial groups, tourism facility service area data, local spatial atomic surface cache, candidate spatial item and tourism facility overlap contribution cache, and tourism development spatial association records. Candidate spatial groups include multiple candidate spatial items corresponding to the same historical location and the same historical time slice. Local spatial atomic surface cache records the local spatial atomic surfaces formed by candidate spaces and tourism facility service areas, candidate member relationships, and facility member relationships. Tourism development spatial association records the group-level weighted overlap contribution and corresponding version between candidate spatial groups and tourism facilities. Receive new versions of local characteristic archives, obtain new versions of candidate spatial groups based on changes in archive fragments, compare the new versions of candidate spatial groups with the currently valid candidate spatial groups, and determine candidate spatial items that have been added, deleted, or geometrically changed; The local update range is determined based on the geometric differences between the old and new candidate spaces. Within the local update range, the local space atomic planes are reconstructed, and the candidate membership relationships and facility membership relationships are updated. The source geometric tourism facility identifier set is determined based on the geometric changes in the source candidate space. The atomic surface tourism facility identifier set is determined based on the facility member relationships before and after the local spatial atomic surface reconstruction. The union of the source geometric tourism facility identifier set and the atomic surface tourism facility identifier set is determined as the affected tourism facility identifier set. Based on the geometric changes in the source candidate space and the atomic plane replacements before and after the reconstruction of the local space atomic planes, the overlap contribution difference between the candidate space terms and each tourist facility in the affected tourist facility identifier set is calculated. Within the set of affected tourism facility identifiers, the two overlapping contribution differences are compared item by item. When the absolute value of the difference between the two overlapping contribution differences is not greater than the corresponding difference threshold, the reconstructed local space atomic surface is submitted. The overlapping contribution difference between the candidate space items and the tourism facility overlapping contribution cache is updated according to the overlapping contribution difference corresponding to the geometric change of the source candidate space. Tourism development space association records are generated according to the updated overlapping contribution. If the absolute value of the difference between any two overlapping contribution differences is greater than the corresponding difference threshold, the result of this local update will not be submitted, and the currently valid local spatial atomic surface cache, candidate spatial item and tourism facility overlapping contribution cache, and tourism development spatial association record will be retained.

2. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 1, is characterized in that: The establishment of local characteristic archival fragment records and the correlation between archival fragments is carried out through the following process: Local characteristic archives are divided into archive segments, and each archive segment is recorded with an archive segment identifier, original location identifier, archive formation time interval, historical time interval related to the archive content, historical location identifier, historical location name, content summary value, and archive version identifier; Original location identification includes archive level identification and fragment location. Archive level identification uses one or more of the following: archival group identification, file identification, and document identification. Fragment location uses page number, image area, or audio / video time interval. Establish a reverse index between archival fragments, candidate spatial groups, candidate spatial items, local spatial atomic planes, tourism facilities, and spatially related records of tourism development; By comparing the sets of archival fragment identifiers between the old and new archival versions, archival fragments that only exist in the new version of local characteristic archives are identified as newly added archival fragments, and archival fragments that only exist in the currently valid archival version are identified as deleted archival fragments. Compare the content summary values ​​of archival fragments with the same archival fragment identifier in the old and new archival versions, and identify archival fragments with different content summary values ​​as archival fragments with content changes. For deleted file fragments and file fragments with changed content, obtain the associated candidate space groups along the currently valid reverse index; For newly added archival fragments, match candidate spatial groups are found based on historical location identifiers and historical time intervals; If no matching candidate spatial group is found, a candidate spatial group is established based on the historical location identifier and the historical time interval, and a candidate spatial group identifier is generated. Establish an inverse index relationship between newly added file fragments and found or created candidate space groups.

3. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 2, is characterized in that: The new version of the candidate space group is generated according to the following process: Read historical administrative division spatial data with a valid time interval, historical place name synonym index, administrative affiliation records and adjacent historical feature records; Historical time segments are determined based on the historical time intervals associated with the archival content, and historical administrative division spatial records that intersect with the historical time segments are selected from the historical administrative division spatial data. Historical place name records are obtained based on historical place names and historical place name synonym indexes. The historical place name records are compared with administrative affiliation records and adjacent historical feature records respectively. Historical place name records with mismatched administrative affiliation or unmet spatial adjacency conditions are excluded. The spatial polygons corresponding to the retained historical place name records are determined as candidate spatial polygons. Read the candidate weights corresponding to the candidate space polygons, and record the candidate space identifier, candidate space polygon, candidate weight, candidate weight version, file fragment identifier and candidate geometry version for each candidate space item; Generate a new version of the candidate spatial group based on historical location identifiers, historical time slices, and candidate spatial items, and record the candidate spatial group version.

4. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 1, is characterized in that: Candidate space items are recorded and aligned according to the following procedure: Candidate spatial items in the same candidate spatial group are recorded as mutually exclusive spatial positioning hypotheses. The geometric range of each candidate spatial polygon is retained, and the overlapping areas between different candidate spatial polygons are not clipped or merged. Record non-negative candidate weights for candidate spatial items, limit the sum of the weights of candidate spatial items with candidate spatial polygons to no more than one, and record the difference between one and the sum of the weights of candidate spatial items with candidate spatial polygons as the weight of unlocated candidate items. Compare the candidate space item identifier set of the new version of the candidate space group with the current effective candidate space group, identify the candidate space items that only exist in the new version of the candidate space group as new candidate space items, and denote the candidate space geometry of the new candidate space items in the current effective candidate space group as an empty set, the candidate weight as zero, and the overlap contribution between the candidate space items and tourism facilities as zero. Candidate space items that exist only in the current valid candidate space group are identified as deleted candidate space items. The candidate space geometry of the deleted candidate space item in the new version of the candidate space group is denoted as an empty set and the candidate weight is denoted as zero. Align the new version of the candidate space group with the candidate space items in the currently valid candidate space group according to the candidate space item identifier.

5. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 1, is characterized in that: The local space atomic surface cache and the overlap contribution cache between candidate space items and tourism facilities are established according to the following process: A finite analysis domain is generated based on the historical administrative division boundaries associated with the current valid candidate spatial groups and the candidate spatial polygons, and the version of the analysis domain is recorded. Transform the candidate space polygons in the current valid candidate space group, the tourism facility service area polygons that intersect with the finite analysis domain, and the boundary of the finite analysis domain to the same projected coordinate system and map them to the same fixed-precision grid. The mapped candidate space boundary, tourism facility service area boundary and finite analysis domain boundary are nodeified and polygonized. The resulting minimum connected surface is recorded as a local space atomic surface, and the background atomic surface in the finite analysis domain that is not covered by the candidate space polygon or the tourism facility service area polygon is retained. Record candidate member vectors, facility member vectors, atomic surface boundary records, and boundary source object identifiers for local space atomic surfaces; The candidate space terms are calculated according to the following formula. With tourist facilities Overlapping contributions between: In the formula, Representing candidate space terms The corresponding candidate space polygon, Indicates tourist facilities The corresponding service area polygon; Overlapping contributions The candidate spatial item identifier, tourism facility identifier, candidate geometric version, and tourism facility service scope version are written into the overlap contribution cache between candidate spatial items and tourism facilities. The tourism facility service scope version, analysis domain version, projected coordinate system version, fixed precision grid version, and overlap contribution calculation rule version are recorded as the base spatial data version. The candidate geometry version of the current valid candidate spatial group is combined with the base spatial data version to generate a cache base key. The cache base key is associated and stored with the local spatial atomic surface cache and the candidate spatial items with the tourism facility overlap contribution cache.

6. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 5, is characterized in that: The scope of a partial update is determined as follows: Determine the spatial regions added to the candidate spatial items in the new version of the candidate spatial group and the spatial regions removed relative to the current effective candidate spatial group, and merge the added and removed spatial regions corresponding to each candidate spatial item to form a change support domain; Select old local space atomic surfaces that intersect with the closure of the changing support domain, and form local patches with the complete surface geometry of each old local space atomic surface. For each edge in the outer boundary of the local patch, compare the x-coordinates of two fixed-precision endpoints. If the x-coordinates are the same, compare the y-coordinates. Record the endpoint with the higher coordinate as the starting point. Arrange the boundary source object identifiers in the identifier order. Generate normalized edge keys based on the starting point, ending point, and the arranged boundary source object identifiers. When the new candidate space boundary crosses the outer boundary of the local patch, or when the normalized edge keys of the outer boundary of the local patch are inconsistent in the old and new versions, the old local space atomic planes that are adjacent to the outer boundary of the corresponding outer boundary and have not yet been included in the local patch will be added to the local patch. Regenerate and compare the normalized edge keys of the old and new outer boundaries of the expanded local patch, and repeat the expansion and comparison process until the normalized edge keys of the old and new outer boundaries of the local patch are consistent and form a closed boundary, or the local patch covers a finite analysis domain. Local patches that form closed boundaries are defined as local update scopes, and local patches that cover finite analysis domains are defined as full reconstruction scopes.

7. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 1, is characterized in that: The overlap contribution difference is calculated and compared using the following process: Candidate space terms In the new version of the candidate space group, the candidate space polygon is denoted as... , will candidate space items The candidate space polygons in the current valid candidate space group are denoted as follows: The newly added and removed areas are determined according to the following formula: The tourist facility identifiers that intersect with the closure of the union of the newly added and removed areas are recorded as the source geometry tourist facility identifier set. ; The tourism facility identifiers referenced by the facility membership relationships before or after the local spatial atomic plane reconstruction are recorded as an atomic plane tourism facility identifier set. ; The union of the source geometry tourism facility identifier set and the atomic surface tourism facility identifier set is recorded as the affected tourism facility identifier set: For each tourist facility in the set of affected tourist facility identifiers The difference in signed contribution of the source geometry is calculated according to the following formula: The difference in contribution from atomic plane substitution is calculated using the following formula: In the formula, This represents the set of local space atomic planes after reconstruction. This represents the set of local space atomic surfaces before reconstruction. Representing local spatial atomic planes The area of ​​the local space atomic surface; With candidate space terms When considering candidate member relationships, Select 1, otherwise select zero; local space atomic plane With tourist facilities When discussing facility membership relationships, Select 1, otherwise select 0; When a tourist facility identifier does not belong to the source geometry tourist facility identifier set, the corresponding source geometry signed contribution difference is recorded as zero; when a tourist facility identifier does not belong to the atomic surface tourist facility identifier set, the corresponding atomic surface substitution contribution difference is recorded as zero. For each tourist facility in the set of affected tourist facility identifiers Perform the following comparison: In the formula, Representing candidate space terms With tourist facilities The corresponding non-negative overlap area difference threshold.

8. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 7, is characterized in that: The overlap between candidate spatial items and tourism facilities contributes to the cache, and the record of spatial association with tourism development is updated according to the following process: Read candidate spatial items from the overlap contribution cache of candidate spatial items and tourism facilities. With tourist facilities The current effective overlap contribution between them, and denoted as ; When the absolute value of the difference between the two overlapping contribution differences is not greater than the corresponding difference threshold, the source geometric signed contribution difference is denoted as... ; For candidate spatial items whose spatial geometry has not changed, and for tourist facilities that have not entered the corresponding set of affected tourist facility identifiers, Record it as zero; The candidate space terms are calculated according to the following formula. With tourist facilities New overlapping contributions between: Let the union of the new version of the candidate space group and the set of candidate space item identifiers of the currently valid candidate space group be denoted as . And calculate the historical location according to the following formula. With tourist facilities New group-level weighted overlap contributions between: In the formula, Representing candidate space terms Candidate weights in the new version of the candidate space group; The corresponding new candidate space item Record it as zero, and delete the corresponding candidate space item. Record it as zero; Update the candidate spatial items and tourism facility overlap contribution cache based on the new overlap contribution, and update the tourism development spatial association record based on the new group-level weighted overlap contribution.

9. A tourism development method based on local characteristic archives integrating culture and tourism, as described in claim 1, is characterized in that: The results of partial updates and full reconstructions should be submitted according to the following process: Obtain the finite analysis domain corresponding to the candidate space group; Before local computation begins, read the archive version, candidate spatial group version, candidate weight version, candidate geometry version, and basic spatial data version to generate a snapshot of the local update input version; Write the new version of the candidate space group, the reconstructed local space atomic surface cache, the updated candidate space item and tourism facility overlap contribution cache, and the tourism development space association record into the local update temporary version; Before committing, reread the version field of the same category as the partial update input version snapshot and generate a partial update commit version snapshot; When the snapshot of the version to be committed for a partial update is consistent with the snapshot of the version to be input for the partial update, the version to be temporarily stored for the partial update is determined as the current valid version; when the two version snapshots are inconsistent, the version to be temporarily stored for the partial update is deleted and the current valid version is retained. If the absolute value of the difference between any two overlapping contribution differences is greater than the corresponding difference threshold, while retaining the current valid version, the old local space atomic planes that are adjacent to the outside of the local update range and have not yet been included in the local update range are added to the local update range, and the outer boundary comparison, local space atomic plane reconstruction and overlapping contribution difference item-by-item comparison are re-executed. If the re-comparison still fails and there are still adjacent old local space atomic planes that can be added within the finite analysis domain, repeat the above-mentioned process of adding, outer boundary comparison, local space atomic plane reconstruction and item-by-item comparison. If the candidate space geometry in the new version of the candidate space group exceeds the finite analysis domain, the version of the base space data associated with the local space atomic surface cache is inconsistent with the version of the currently input base space data, the expanded local update range covers the finite analysis domain, or there are no adjacent old local space atomic surfaces that can be added in the finite analysis domain and the re-comparison still fails, the final analysis domain containing each candidate space polygon in the new version of the candidate space group is determined. Generate a full version of basic spatial data based on the tourism facility service scope version, final analysis domain version, projected coordinate system version, fixed precision grid version, and overlap contribution calculation rule version. Before the full calculation begins, read the archive version, candidate spatial group version, candidate weight version, candidate geometry version, and full basic spatial data version, generate a full reconstruction input version snapshot, and load the new version of the candidate spatial group, candidate spatial polygon, tourism facility service area polygon, and final analysis domain corresponding to each version field in the full reconstruction input version snapshot. Within the final analysis domain, the candidate space boundary, the tourism facility service range boundary, and the final analysis domain boundary are node-based and polygon-based to generate a candidate space group-level full atomic surface cache. The set of candidate space items and tourism facility combination identifiers formed by the direct intersection of the candidate space polygon and the tourism facility service scope polygon is combined with the set of candidate space items and tourism facility combination identifiers formed by the candidate member relationships and facility member relationships in the full atomic surface cache of the candidate space group level, and the set of full verification combination identifiers is generated by taking the union of the candidate space items and tourism facility combination identifiers formed by the candidate member relationships and facility member relationships in the full atomic surface cache of the candidate space group. For each candidate space item in the full verification combined identifier set and tourist facilities Calculate the direct intersection contribution: Calculate the total atomic-plane polymerization contribution: In the formula, This represents the set of local space atomic surfaces in the candidate space group-level full atomic surface cache; When the candidate spatial item and the tourism facility combination identifier exist only in directly intersecting paths, the corresponding full atomic surface aggregation contribution is recorded as zero; when the candidate spatial item and the tourism facility combination identifier exist only in fully intersecting paths, the corresponding direct intersection contribution is recorded as zero. Compare the direct intersection contribution and the full atomic surface aggregation contribution item by item. When the absolute value of the difference between the two is not greater than the corresponding difference threshold, write the new version of the candidate space group, the candidate space group-level full atomic surface cache, the cache of the overlap contribution between the candidate space item formed by the direct intersection contribution and the tourism facility, and the tourism development space association record into the full reconstruction temporary version. After the full calculation is completed, the version field of the same category as the full reconstruction input version snapshot is reread to generate a full reconstruction commit version snapshot; If the snapshot of the full reconstruction commit version is consistent with the snapshot of the full reconstruction input version, and the absolute value of the difference between all directly intersecting contributions and the corresponding full atomic surface aggregation contribution is not greater than the corresponding difference threshold, the full reconstruction temporary version is determined as the current valid version and the cache base key is updated in the same database transaction; if any item-by-item comparison fails, the two version snapshots are inconsistent, or the transaction write is not completed, the database transaction is rolled back, the full reconstruction temporary version is deleted, and the current valid version is retained.

Citation Information

Patent Citations

  • Graphic space superposition analysis drafting method of complex vector polygon

    CN102902837B

  • A travel place name disambiguation method based on time geography

    CN111797628B

  • Incremental Complex Polygon Update Method Based on Topological Relationships

    CN116028588B

  • Method and system for constructing rural cultural characteristic tourist attractions based on big data fusion

    CN118395376B

  • File decision support and correlation analysis method based on knowledge graph

    CN121071159A