Population and building association method, system and equipment based on spatial analysis and medium

Through the population and building association method based on spatial analysis, standardized processing and spatial mapping address information, the problem of low correlation efficiency between population data and building data in the existing technology is solved, efficient address association matching is achieved, and ambiguity results are avoided .

CN119003669AInactive Publication Date: 2024-11-22WUXI METROPOLITAN AREA BIG DATA IND DEVELOPMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410975418.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the existing methods of building and population association are processed by large amounts of population data, the matching of information by piece leads to slow processing speed and cannot improve the efficiency of information association.

Method used

Using the population and building association method based on spatial analysis, the population and building address information is obtained and standardized, and spatial mapping is performed, the address text is converted into a set of spatial points, and the association relationship between population and building address is generated based on preset rules. Forms to improve data correlation efficiency.

Benefits of technology

It realizes the automatic correlation matching between population and building address, reduces the inability to correlate due to data format mismatch, improves data correlation efficiency, and avoids ambiguity results of permanent population residences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003669A_ABST
    Figure CN119003669A_ABST
Patent Text Reader

Abstract

The invention provides a population and building association method, system and device based on spatial analysis and a medium, and the method comprises the steps: obtaining population data, extracting permanent address information in the population data, carrying out the standardization processing of the permanent address information, and obtaining first address information; obtaining building data, performing address extraction on the building data to obtain building address information, and performing standardization processing on the building address information to obtain second address information; performing spatial mapping on the first address information and the second address information, generating a spatial point set of the population permanent address and the building address under the same spatial coordinate system, associating the population permanent address with the building address according to a preset rule based on the spatial point set, and generating an association relationship form of the population permanent address and the building address, and the association efficiency of the building and population information is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of population data statistical analysis, and in particular to a population and building association method, system, equipment and medium based on spatial analysis. Background Art

[0002] In order to support the informatization application of urban governance, it is necessary to correlate various types of urban data to realize the query and linkage of various types of information. In this process, the correlation and integration of residential building data and permanent population data can be said to be the top priority. In the existing method of associating buildings and population, it is necessary to associate a piece of permanent address information with a designated building and then associate the next piece of permanent address information. After all the permanent address information is processed, statistics are performed to obtain the number of people associated with the building address. However, due to the huge population, the processing speed of associating and matching each piece of information is very slow, and the efficiency of information association cannot be improved. Summary of the invention

[0003] The embodiment of the present invention provides a method, system, device and medium for associating population and buildings based on spatial analysis to solve the problems existing in the related technologies. The technical solution is as follows:

[0004] In a first aspect, an embodiment of the present invention provides a method for associating population and buildings based on spatial analysis, comprising:

[0005] Obtaining population data, extracting permanent address information from the population data, and performing standardization processing on the permanent address information to obtain first address information;

[0006] Acquire building data, extract addresses from the building data to obtain building address information, and perform standardization on the building address information to obtain second address information;

[0007] The first address information and the second address information are spatially mapped to generate a spatial point set of the permanent address of the population and the building address in the same spatial coordinate system, and the permanent address of the population and the building address are associated according to preset rules based on the spatial point set to generate an association relationship form between the permanent address of the population and the building address.

[0008] In one implementation, the normalization process of the permanent address information includes:

[0009] Divide the content of the permanent address information to obtain the address content corresponding to each address element;

[0010] Compare the address content corresponding to each address element with the specified address format, and determine whether there is any abnormality in the permanent address information based on the comparison result;

[0011] When an abnormality exists in the permanent address, the permanent address is modified to obtain standardized first address information, and the address modification includes splicing, completion and correction operations.

[0012] In one implementation, spatially mapping the first address information and the second address information includes:

[0013] Obtain the element level corresponding to each address content in the first address information, mark the spatial range corresponding to each address content in the spatial coordinate system in order from high level to low level, and use the coordinate with the smallest spatial range in the spatial coordinate system as the spatial point corresponding to the first address information.

[0014] In one embodiment, associating the permanent address of the population and the building address according to a preset rule based on the spatial point set includes:

[0015] Based on the proximity principle, the spatial points that meet the constraints and are closest to the permanent residential addresses and building addresses are associated.

[0016] In one embodiment, the method for determining whether the constraint condition is satisfied includes:

[0017] Determine the target object located between the nearest permanent address of the population and the building address, and judge whether the target object belongs to the preset designated obstruction. If the target object does not belong to the designated obstruction, the constraint condition is satisfied;

[0018] And / or, determine whether the nearest permanent address of the population and the nearest building address are in the same administrative region. If the nearest permanent address of the population and the nearest building address are in the same administrative region, the constraint condition is met.

[0019] In one embodiment, it further includes:

[0020] Calculate the confidence of the associated permanent addresses of the population and building addresses;

[0021] According to the confidence level, the key factors affecting the confidence level in the association results of the permanent address of the population and the building address are determined, and the key factors are marked.

[0022] In one implementation, calculating the confidence of the associated permanent addresses of the population and building addresses includes:

[0023] Compare and contrast the address contents corresponding to the same address element in the permanent address of the population and the building address to obtain the similarities and differences corresponding to each address element;

[0024] Calculate the product sum of each difference and similarity value and the preset weight corresponding to each address element to obtain a sum result;

[0025] The confidence between the associated permanent addresses of the population and building addresses is calculated based on the summation results and the multiple-option degradation values ​​of equal distances; the multiple-option degradation values ​​of equal distances are determined based on the number of building addresses that are at the same distance from the permanent addresses of the population.

[0026] In a second aspect, an embodiment of the present invention provides a population and building association system based on spatial analysis, which executes the population and building association method based on spatial analysis as described above.

[0027] In a third aspect, an embodiment of the present invention provides an electronic device, the device comprising: a memory and a processor. The memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and when the processor executes the instructions stored in the memory, the processor executes the method in any one of the above-mentioned embodiments.

[0028] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.

[0029] The advantages or beneficial effects of the above technical solution include at least:

[0030] The present invention proposes a method for automatically associating and matching population and building addresses based on spatial relationships, and can perform standardization on permanent addresses and building addresses to obtain standardized first address information and second address information that can be directly used for data association, thereby reducing the occurrence of situations where association cannot be made due to incorrect data formats; at the same time, spatial mapping technology can be used in batches for permanent addresses and building addresses of the population, address text can be converted into spatial structures for comparison, and similar and identical addresses can be combined into address pairs for output, thereby establishing a logical basis for the association of population data and building data, and improving data association efficiency.

[0031] In the population and building address association matching method proposed in the present invention, population and buildings will form a one-to-many relationship, that is, one piece of population information only corresponds to one piece of building information, and conversely one piece of building information can correspond to multiple pieces of population information, effectively avoiding ambiguous results of the permanent residence of the population.

[0032] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present invention and should not be regarded as limiting the scope of the present invention.

[0034] Figure 1 It is a flow chart of the population and building association method based on spatial analysis of the present invention;

[0035] Figure 2 The structure block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0037] In the application process of urban big data, it is usually necessary to associate various data, including building data, population data and other data types. In order to support the informatization application of urban governance, it is necessary to associate various types of urban data with each other, so as to realize the query and linkage of various types of information. In this process, the association and integration of residential building data and permanent population data can be said to be the top priority.

[0038] In the traditional data processing process, manual information processing is usually used to achieve the association between residential data and permanent population data. However, with the expansion of urban scale and the increasing frequency of population mobility, population information processing can no longer meet the needs of urban big data governance, and the technology of associating residential building information with permanent population information based on computer automation has been proposed accordingly.

[0039] In the existing methods of associating buildings and population through computers, it is first necessary to enter population data and building data, or obtain corresponding data from a designated government system. Usually, in order to ensure the integrity of the data source, data needs to be obtained from multiple systems. However, since the multiple systems for obtaining data are relatively independent systems, the recording formats of population data between different systems may be inconsistent, resulting in the computer being unable to directly perform subsequent association operations on the data, affecting efficiency.

[0040] In addition, when performing the association operation, the computer usually associates a permanent address of a population with a designated building before associating the next permanent address of a population. After all permanent address information is processed, statistics are performed to obtain the number of people associated with the building address. However, due to the huge population, the processing speed of associating and matching each piece of information is very slow, and the efficiency of information association cannot be improved.

[0041] In order to solve the above problems, an embodiment of the present invention provides a population and building association method based on spatial analysis, which can improve data association efficiency and association accuracy. Figure 1 As shown, the method specifically comprises the following steps:

[0042] Step S1: Obtain population data, extract permanent address information from the population data, and perform standardization on the permanent address information to obtain first address information.

[0043] This embodiment selects structured data as the source of population data to be associated. The data source can be a common spreadsheet file or a common relational database table. After selection, these data will be stored uniformly for processing and association in subsequent steps.

[0044] Permanent address information is extracted from the selected population data and standardized. Specifically, the permanent address information is divided into content to obtain the address content corresponding to each address element; the address content corresponding to each address element is compared with the specified address format, and it is determined whether the permanent address information has any abnormality based on the comparison result; if the permanent address has any abnormality, the permanent address is modified to obtain standardized first address information. The address modification operations include splicing, completion and correction.

[0045] It should be understood that address elements refer to the elements of administrative regions, roads, license plates, buildings, units, and rooms at all levels in address information, and each address element has its corresponding element level. The address elements required to be included in the specified address format are fixed, and each address element has a fixed order, which is arranged from high element level to low element level.

[0046] In this embodiment, the specified address format needs to include the address elements of administrative divisions, roads, license plates, buildings, units, and households. The permanent address information is compared with the address elements required to be included in the specified address format to determine whether the permanent address information lacks any address element, or whether the content of the permanent address information contains address elements that are misplaced or repeated. If the above-mentioned abnormalities occur, the permanent address information is spliced, completed, and corrected, and converted into a standard address to obtain standardized first address information.

[0047] For example: Assuming that the permanent address information lacks the entire provincial administrative division data, or has the provincial administrative division name but no "province", or the provincial administrative division data and the municipal administrative division data are reversed, or two or more correct or incorrect provincial administrative division data appear in one address, the above standardized processing methods can be exemplified as follows: query other levels of administrative division data already in the permanent address information, and supplement the entire provincial administrative division data based on other levels of administrative area data; supplement the "province" based on the existing but incomplete provincial administrative division name; adjust the provincial administrative division data and the municipal administrative division data to the correct order; selectively retain one correct provincial administrative division data based on the existing identical and repeated provincial administrative division data or other levels of administrative division data.

[0048] After selecting the population data, if it is detected that the population data has been updated, the update type of the updated population data will be identified, and the added and changed population data entries will be marked according to the identification results. The marking can be divided into four main categories: population addition, population address transfer, population address correction, and population loss. This marking is used for the subsequent automatic real-time update of the relationship between the permanent population address and the building address.

[0049] Step S2: Acquire building data, extract addresses from the building data to obtain building address information, and perform standardization on the building address information to obtain second address information.

[0050] The source of building data can be a common spreadsheet file or a common relational database table. After selection, the building data is uniformly stored for processing and association in subsequent steps. Building data includes building names and building addresses, etc. This embodiment extracts and standardizes the building address, performs necessary splicing, completion and correction on the building address, thereby forming standard address information and storing it for association operations in subsequent steps. The splicing, completion and correction methods of building data are logically the same as those of population data, but the processing object and output data are building data, which will not be repeated here.

[0051] Similarly, if the building data is updated, the changed building data will also be marked.

[0052] In this embodiment, when the user selects a suitable address extraction method according to the structure of population data and building data, the system can integrate data from different sources such as public security organs, housing and construction departments, and building management departments to meet the needs of subsequent standardized address comparison and information association. This method has no mandatory requirements for the format of the acquired data and addresses, has strong universality, and has a low complexity of information processing methods. It can realize the processing of fast updated data and complete the update of the association between building and population information within a limited time.

[0053] Step S3: spatially map the first address information and the second address information to generate a spatial point set containing the permanent address of the population and the building address in the same spatial coordinate system, associate the permanent address of the population and the building address according to preset rules based on the spatial point set, and generate an association relationship form between the permanent address of the population and the building address.

[0054] It should be understood that both the first address information and the second address information are text information, and the spatial mapping is to convert the address information in text form into a spatial coordinate system to analyze the relationship between the addresses from a spatial perspective.

[0055] Taking the first address information as an example, the spatial mapping method is to obtain the element level corresponding to each address content in the first address information, and mark the spatial range corresponding to each address content in the spatial coordinate system in order from high level to low level, that is, after mapping the address content of the previous level to the spatial range, continue to map the address content of the next level on the basis of the spatial range to ensure the accuracy of address conversion during the spatial mapping process, until the spatial mapping operation is completed for the lowest level address content. At this time, the coordinate or coordinate range with the smallest spatial range in the spatial coordinate system is used as the spatial point corresponding to the permanent address of the population.

[0056] The spatial mapping processing method of the second address information is the same as that of the first address information, and the spatial point corresponding to the building address is obtained. Batch spatial mapping conversion of all first address information and second address information can quickly convert text information into spatial position, so as to improve the subsequent association speed.

[0057] In the spatial coordinate system for spatial mapping, objects such as roads, rivers, and mountains can be added in the space according to the actual road conditions to facilitate subsequent address association.

[0058] The spatial points corresponding to all permanent addresses of the population form the first spatial point set, and the spatial points corresponding to all building addresses form the second spatial point set. The spatial points corresponding to all permanent addresses of the population and the spatial points corresponding to all building addresses can also form the same spatial point set, and only the positions in the spatial point set need to be marked with types. The spatial points corresponding to all permanent addresses of the population and the spatial points corresponding to all building addresses are in the same spatial coordinate system to facilitate subsequent address association.

[0059] In another embodiment, the text content of the address can also be directly mapped to the spatial range through the place name address conversion tool. The principle of the place name address conversion is that when mapping the text content to the spatial range, the administrative divisions, roads, license plates, buildings, units, and household information in the text content of the address information will be parsed level by level, and the spatial range corresponding to the above information will be retrieved respectively, and the coordinates corresponding to each level will be calibrated. A correspondence between multiple paragraphs of text and multiple spatial coordinates is established to realize the conversion of text content to spatial range.

[0060] In order to achieve the automatic association between building addresses and permanent addresses based on spatial analysis, the aforementioned place name address conversion tool has optimized the common forms of population data and building data according to their collection sources and historical reasons:

[0061] First, the tool converts multiple historical versions of address information. The tool gives priority to using the latest version of address data for address conversion. If the corresponding range of the conversion result exceeds the preset range or the conversion fails, it can convert historical versions in reverse chronological order or with a custom priority according to the user's selection sequence, and select the successful conversion result from them. The one with the smallest corresponding range is selected and adopted as the final result of the conversion.

[0062] The second is to incorporate multiple aliases of address information into the conversion auxiliary information, such as place names and landmark information. When the address information does not contain roads and license plates, or the roads and license plates of the address information cannot be converted, and the address information contains specific place names or alias information, such as a certain hospital or a certain institution, the conversion result will be further converted to the space within the scope of the specific place name or landmark.

[0063] After the spatial mapping conversion is performed in the above manner, a spatial point set is obtained, and the permanent address of the population and the building address are associated according to the preset rules based on the spatial point set. In this embodiment, the preset rule can be the principle of proximity, and the nearest permanent address of the population and the building address are found for association, that is, the coordinate range corresponding to the permanent address of the population indicated by the spatial point set is calculated with the coordinate range corresponding to the building address. If there is a shortest straight-line distance between a permanent address of the population and a building address, the condition of the closest distance is met.

[0064] At the same time, in addition to meeting the condition of the closest distance, it is also necessary to determine whether the nearest permanent address of the population and the building address meet the constraint conditions. The constraint condition can be that address association can only be performed when there is no physical barrier between the permanent address of the population and the building address.

[0065] Specifically, after determining the nearest permanent address and building address, determine whether there is a target object between the nearest permanent address and building address, identify the type of the target object between the nearest permanent address and building address, and compare the target object with a preset designated obstacle, wherein the designated obstacles include physical obstacles such as roads, rivers, and mountains; if the target object between the nearest permanent address and building address is a designated obstacle, it means that there will be no flow of people between the permanent address and building address. At this time, the blocked building is excluded from the screening range of the proximity principle, and the nearest permanent address and building address are re-determined, and the re-determined permanent address and building address are associated.

[0066] If there is no object between the nearest permanent address of the population and the building address, or the type of the target object that exists is not a specified barrier, the constraint condition is met. If there is a physical barrier between the permanent address of the population and all existing building address data, it is judged as a failure to attach. The reasons for the failure may be incorrect address data, missing building data, failure of data processing in the previous steps, or incorrect configuration of related parameters.

[0067] In addition, the constraint condition can also be that the address association can only be performed when the permanent address of the population and the building address are in the same administrative division.

[0068] Specifically, it is determined whether the nearest permanent address of the population and the address of the building are in the same administrative region. If the nearest permanent address of the population and the address of the building are in the same administrative region, the constraint condition is met. If the permanent address of the population and the address of the building are in different provinces, cities, districts, counties, towns, or villages, the buildings in different administrative divisions will be excluded from the screening range of the proximity principle, and the association between the permanent residence mechanism of the population and the remaining buildings will continue to be tried.

[0069] After executing the above constraint judgment, if multiple building addresses are at the same distance from the permanent address of the population, in principle, the first building address in the default order of the data is associated with the permanent address of the population, and the degradation value of the multiple options of the same distance corresponding to this association is adjusted. It is normal for a building address to be at the same distance from multiple permanent addresses of the population. The building address can be linked to multiple permanent addresses of the population. At this time, an association form of the permanent address of the population and the building address can be generated for output (the form generation steps refer to the subsequent steps S5 and S6).

[0070] The method of automatically associating and matching the permanent addresses of the population and the building addresses based on the spatial relationship in this embodiment can, after the user makes a small amount of settings in advance, batch-convert the permanent addresses of the population and the building addresses into spatial structures for comparison, and output the similar and identical addresses as address pairs, which can greatly improve the speed of address association, thereby establishing a logical basis for the association of population data and building data. In the population and building address associating and matching method proposed by the present invention, the population and the building will form a one-to-many relationship, that is, one piece of population information corresponds to only one piece of building information, and vice versa, one piece of building information can correspond to multiple pieces of population information, effectively avoiding the ambiguity of the permanent residence of the population.

[0071] For the population data items marked as changed in step S1, the corresponding update mechanisms will be triggered in this step:

[0072] For the population data change type of population supplement, a new association between the permanent address of the population and the building address is performed according to the implementation method of this method. For the address transfer of the existing population, the address before the transfer is compared with the address after the transfer, and the limited area where the two groups of addresses are located is determined based on the difference between the two groups of addresses, and the update of the association relationship between the permanent address of the population and the building address is controlled within the limited area. For the address correction of the existing population, the comparison operation of the address before the correction and the address after the correction is also performed, and the limited area where the two groups of addresses are located is determined based on the difference between the two groups of addresses, and the update of the association relationship between the permanent address of the population and the building address is controlled within the limited area. For the loss of population, the association relationship between the corresponding population data and the building data is deleted. Finally, the data in the association form can be updated.

[0073] Similarly, for the building data changed in step S2, the same association relationship update operation as above is performed according to the annotation of the changed building data, which will not be repeated here.

[0074] To further evaluate whether the association results are accurate and effective, perform the following steps:

[0075] Step S4: Calculate the confidence of the associated permanent addresses of the population and building addresses, determine the key factors that affect the confidence in the association results of the permanent addresses of the population and building addresses based on the confidence, and mark the key factors to facilitate users to screen the accuracy of the association results according to their own needs.

[0076] The calculation of confidence includes:

[0077] Compare and contrast the address contents corresponding to the same address element in the permanent address of the population and the building address, obtain the similarity and difference values ​​corresponding to each address element, perform weighted summation on each similarity and difference value, and obtain the summation result;

[0078] The confidence between the associated permanent addresses of the population and building addresses is calculated based on the summation results and the multiple-option degradation values ​​of equal distances; the multiple-option degradation values ​​of equal distances are determined based on the number of building addresses that are at the same distance from the permanent addresses of the population.

[0079] The confidence calculation formula is as follows:

[0080] Confidence = (district and county level address difference and similarity value * district and county level address weight + town level address difference and similarity value * town level address weight + village level address difference and similarity value * village level address weight + road difference and similarity value * road weight + house number difference and similarity value * house number weight) * degradation value of multiple options of equal distance.

[0081] In the algorithm, the difference and similarity values ​​of district and county level addresses are determined by the following rules: if the district and county information in the permanent address of the population is the same as that in the building address, the value is 1; if the district and county information in the permanent address of the population or the building address is the same but one or more is missing, the value is 0.2; if the district and county information in the permanent address of the population is different from that in the building address, the value is 0. The remaining difference and similarity values ​​of street and town level addresses, village and community level addresses, roads, and house numbers are all calculated according to this rule.

[0082] In the algorithm, the district and county-level address weights, street and town-level address weights, village-level address weights, road weights, and house number weights are all set to 0.2 in principle, and can be adjusted according to actual conditions. The specific values ​​of these weights are not limited.

[0083] In the algorithm, the degradation value of multiple options with equal distances needs to be determined based on the number of building addresses at the same distance from the permanent address of the population in step 3. In principle, the degradation value of multiple options with equal distances = sqrt2(1 / number of buildings), where sqrt2 is the square root of the value in the brackets.

[0084] In the above algorithm, various parameters that affect the confidence will be put into the control data as notes to provide a reference for the association results.

[0085] In the process of associating the permanent address of the population with the building address, this embodiment uses a method of calculating the confidence of the association result through spatial analysis, so as to evaluate whether the association result is accurate and effective. Based on this confidence index, the user can control the strictness of the address information comparison process. In the case where the permanent address of the population and the building address are non-standard structures, this method can effectively avoid the association failure caused by differences in address structure rather than content, and can adapt to more non-standard address situations.

[0086] Step S5: Count and display the overall association results. Based on the population data selected by the user in step 1, count the number of building data included in the association results and the number of people associated with each building. At the same time, calculate the ratio of the number of population data associated with the building data and the number of population data not associated with the building data, and calculate the average confidence of the population data associated with the building data.

[0087] Similarly, based on the building data selected in step 1, count the number of buildings that have an associated relationship with the population data (i.e., the number of buildings whose associated population is greater than 1), and calculate the ratio of the number of building data associated with the population data to the number of building data not associated with the population, and finally calculate the average number of population data associated with each piece of building data.

[0088] Step S6: Display and output the association results of the permanent population and buildings. When outputting the association results, the two dimensions of population form and building form are used to completely save the population data and building data selected by the user in step 1, and the association relationship between population and buildings is attached to the population form and the building form to realize two-way joint query, and stored in the form of a common relational database table.

[0089] After the population and buildings are matched based on address information, this embodiment uses a spatial visualization method to intuitively display the associated matching results to the user. Through this method, the user can view the macro results of matching a large amount of population and building data, and can also view the buildings and population associated with any population information or any building information, and can save all the associated results and specified partial results. The saved results can be viewed, retrieved and edited later.

[0090] Another embodiment of the present invention further provides a population and building association system based on spatial analysis, which implements the population and building association method based on spatial analysis as described above. The functions of each module in the system can be found in the corresponding description of the above method, which will not be repeated here.

[0091] Another embodiment of the present invention further provides an electronic device, Figure 2 FIG. 2 shows a structural block diagram of an electronic device according to an embodiment of the present invention. Figure 2 As shown, the electronic device includes: a memory 100 and a processor 200, wherein the memory 100 stores a computer program that can be run on the processor 200. When the processor 200 executes the computer program, the population and building association method based on spatial analysis in the above embodiment is implemented. The number of the memory 100 and the processor 200 can be one or more.

[0092] The electronic device also includes:

[0093] The communication interface 300 is used to communicate with external devices and perform data exchange transmission.

[0094] If the memory 100, the processor 200 and the communication interface 300 are implemented independently, the memory 100, the processor 200 and the communication interface 300 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0095] Optionally, in a specific implementation, if the memory 100, the processor 200 and the communication interface 300 are integrated on a chip, the memory 100, the processor 200 and the communication interface 300 can communicate with each other through an internal interface.

[0096] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present invention when the program is executed by a processor.

[0097] An embodiment of the present invention further provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present invention.

[0098] An embodiment of the present invention also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided by the embodiment of the invention.

[0099] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0100] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0101] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0102] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0103] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0104] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A population and building association method based on spatial analysis, characterized in that: include: Acquiring population data, extracting permanent address information from the population data, and performing standardization processing on the permanent address information to obtain first address information; Acquire building data, perform address extraction on the building data to obtain building address information, and perform standardization processing on the building address information to obtain second address information; The first address information and the second address information are spatially mapped to generate a spatial point set of the permanent address of the population and the building address in the same spatial coordinate system; based on the spatial point set, the permanent address of the population and the building address are associated according to preset rules to generate an association relationship form between the permanent address of the population and the building address.

2. The population and building association method based on spatial analysis according to claim 1 is characterized in that: The standardization of the permanent address information includes: Dividing the content of the permanent address information to obtain address content corresponding to each address element; Compare the address content corresponding to each of the address elements with the specified address format, and determine whether the permanent address information is abnormal based on the comparison result; When there is an abnormality in the permanent address, the permanent address is modified to obtain standardized first address information, and the address modification includes splicing, completion and correction.

3. The population and building association method based on spatial analysis according to claim 2 is characterized in that: The spatially mapping the first address information and the second address information includes: Obtain the element level corresponding to each address content in the first address information, mark the spatial range corresponding to each address content in the spatial coordinate system in order from high level to low level, and take the coordinate with the smallest spatial range in the spatial coordinate system as the spatial point corresponding to the first address information.

4. The population and building association method based on spatial analysis according to claim 1, characterized in that: The associating the permanent address of the population and the building address according to a preset rule based on the spatial point set includes: Based on the principle of proximity, the spatial points that meet the constraint conditions and are closest to the permanent residential addresses of the population and the building addresses are associated.

5. The population and building association method based on spatial analysis according to claim 4 is characterized in that: The method for determining whether the constraint condition is satisfied includes: Determine a target object located between the nearest permanent address of the population and the building address, and judge whether the target object belongs to a preset designated obstacle. If the target object does not belong to the designated obstacle, the constraint condition is satisfied; and / or, It is determined whether the nearest permanent address of the population and the nearest building address are in the same administrative region. If the nearest permanent address of the population and the nearest building address are in the same administrative region, the constraint condition is satisfied.

6. The population and building association method based on spatial analysis according to claim 1, characterized in that: Also includes: Calculating the confidence of the associated permanent address of the population and the building address; According to the confidence level, key factors affecting the confidence level in the association results between the permanent address of the population and the building address are determined, and the key factors are marked.

7. The population and building association method based on spatial analysis according to claim 6, characterized in that: The calculating of the confidence of the associated permanent address of the population and the building address comprises: Compare and contrast the address contents corresponding to the same address element in the permanent address of the population and the building address to obtain the similarity and difference values ​​corresponding to each of the address elements, and perform weighted summation processing on each of the similarity and difference values ​​to obtain a summation result; The confidence between the associated permanent population address and the building address is calculated based on the summation result and the equal-distance multiple-option degradation value; the equal-distance multiple-option degradation value is determined based on the number of building addresses that are at the same distance from the permanent population address.

8. A population and building association system based on spatial analysis, characterized in that: Execute the population and building association method based on spatial analysis as described in any one of claims 1 to 7.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the population and building association method based on spatial analysis as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for associating population and buildings based on spatial analysis according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Real population data multi-scale spatialization method

    CN112925784A

  • Population density monitoring method and system based on MR residence and building contour

    CN114363823A

  • Human and address association method and device based on space grid and electronic equipment

    CN116257559A

  • Address information visualization system

    KR101768015B1