A data spatial query method, apparatus, electronic device, and storage medium

By building and alternately importing spatial fields in Elasticsearch, combined with geographic grid statistics, the problem of slow map point aggregation was solved, enabling fast and accurate data querying and display.

CN115344576BActive Publication Date: 2026-05-26CHINA PING AN PROPERTY INSURANCE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA PING AN PROPERTY INSURANCE CO LTD
Filing Date
2022-08-05
Publication Date
2026-05-26

Smart Images

  • Figure CN115344576B_ABST
    Figure CN115344576B_ABST
Patent Text Reader

Abstract

This invention provides a data spatial query method, apparatus, electronic device, and computer-readable storage medium. The data spatial query method provided by this invention includes: acquiring target business data; constructing a spatial field based on the latitude and longitude data of the target business data; importing the spatial field into a preset index; acquiring the latitude and longitude data of two diagonal vertices within a visualized map area; determining a data query range based on the latitude and longitude data of the two diagonal vertices; acquiring a geographic grid based on the data query range and the shrinkage ratio of the visualized map; and aggregating and statistically analyzing the target business data within the geographic grid area based on the spatial field to obtain query results. The data spatial query method provided by this invention can aggregate points on a large number of maps and respond promptly to the aggregation.
Need to check novelty before this filing date? Find Prior Art