CN106599303A - Address matching method and system - Google Patents
Address matching method and system Download PDFInfo
- Publication number
- CN106599303A CN106599303A CN201611243392.XA CN201611243392A CN106599303A CN 106599303 A CN106599303 A CN 106599303A CN 201611243392 A CN201611243392 A CN 201611243392A CN 106599303 A CN106599303 A CN 106599303A
- Authority
- CN
- China
- Prior art keywords
- address
- matching
- module
- information point
- normal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Abstract
The invention provides an address matching method. The method comprises the following steps: S1, receiving latitude and longitude information of an address; and S2, verifying the data legality, then performing forward matching and reverse matching, and after the forward matching and the reverse matching are completed, performing affiliation matching on administrative jurisdiction. Meanwhile, the invention further provides an address matching system for implementing the above-mentioned method. Compared with the prior art, the method can realize matching according to a name of a service address and a name of a standard address. The system provided by the invention associates the standard address with the highest matching rate with the business address, so that the business address without spatial coordinates can be displayed on a map.
Description
Technical field
The present invention relates to geographic information data process field, more particularly to a kind of method and system of address matching.
Background technology
GIS-Geographic Information System (GIS, Geographic Information System) is a kind of computer based work
Tool, it can carry out into figure and analyze to the thing for existing on earth and the event of generation.GIS technology is this uniqueness of map
Visualization effect and geography-analysis function integrate with general database manipulation (such as inquiry and statistical analysis etc.).
This ability makes GIS distinguish with other information system, so that it is explained in the extensive public and personal, enterprises and institutions
Event, predict the outcome, there is practical value in plan strategy etc..
Therefore, it can using GIS platform in the operation for carrying out the upper figure in miscellaneous service address, generate it is various carry out it is visual
Business map.However, at present the operation system in each institutional unitses system yet suffers from the substantial amounts of services addresses without space, and
Address without space coordinates cannot be realized representing in map dynamic.
Therefore, it is in the urgent need to address how the services addresses without space coordinates to be carried out into intelligent Matching, so as to carry out upper figure
Operation.
The content of the invention
It is an object of the invention to overcome the shortcoming and deficiency of prior art, there is provided a kind of matching process of address, can
So that intelligent Matching will be carried out without space coordinates, with graphic operation on finishing service.
The present invention is realized by following scheme:A kind of matching process of address, comprises the following steps:
S1:Receive address latitude and longitude information;
S2:Checking data validation;If carry out positive matching, execution step S3;If carrying out negative relational matching, execution step
S7;
S3:Judge data type;If the packet when containing information point, execution step S4;If the data possess in detail
Location, then execution step S5;If the data do not possess information point and detailed location, execution step S6;
S4:Execution information Point matching, then execution step S9;
S5:Phrase fractionation is carried out, is obtained and is split phrase list, then perform detailed location matching, then execution step S9;
S6:Administrative division completion and standardization field are processed, then perform the matching without detailed location and information point, are then performed
Step S9;
S7:According to address latitude and longitude coordinates and search radius parameter, information point search is carried out, perform next step;
S8:Judge whether there is information point in radius, if having, the address information of the nearest information point of layback,
Execution step S9;If it is not, it is the result object for not matching proper address then to arrange matching status;
S9:Area under one's jurisdiction ownership matching is managed, the flow process of its matching includes:
S91:Obtain the services addresses coordinate after matching;
S92:Obtain management area under one's jurisdiction space boundary information;
S93:Area under one's jurisdiction and services addresses coordinate relation are managed by spatial analysis.
Further, specifically include in step S4:
S41:According to information point title, data query is carried out by solr;
S42:The normal address of the information point is judged whether, next step is if so, then performed;If it is not, then performing S5;
S43:Obtain information point normal address information;
S44:Administrative division code and title are set;
S45:Matching rate is set, matching result is returned.
Further, specifically include in step S5:
S51:Solve administrative division conflict;
S52:According to address extension object completion phrase list;
S53:Again standardized address, arranges and returns the administrative division normal address of minimal level;Step S53
In, specifically include:
S531:Obtain normal address;
S532:Administrative district address is standardized according to part of speech, and returns to normal address;
S533:If there is no or exist a plurality of result, upper level address is inquired about, until obtaining a result;
S534:Criterion address whether there is and whether match nearest address, if the nearest address of matching, if
It is no, perform next step;
S535:The normal address that return is obtained;
S54:Judge that the normal address for returning whether there is;If so, execution step S55, if it is not, then throw exception is processed;
S55:Judge latitude and longitude coordinates whether all for 0;If it is not, then obtaining normal address data;If so, then look into toward upper level
Normal address is ask, and obtains its normal address data;
S56:Judge whether to only need to one record of matching;If so, the object of matching rate and returning result is then set;If
It is no, inquired about by solr, match a plurality of result;
S57:Administrative division code and title belonging to arranging, and returning result.
Further, administrative division completion described in step S6 and standardization field include the step of process:
S61:Splicing assembling inquiry address;
S62:Split the address of splicing;
S63:Solve administrative division conflict;
S64:Solr address lookups are performed, field completion is carried out, phrase list data are obtained.
Further, the step of matching without detailed location and information point is performed in step S6 specifically includes:
S65:Again standardized address, arranges and returns the administrative division normal address of minimal level;It is concrete in the S65
Including:
S651:Obtain normal address;
S652:Administrative district address is standardized according to part of speech, and returns to normal address;
S653:If there is no or exist a plurality of result, upper level address is inquired about, until obtaining a result;
S654:Criterion address whether there is and whether match nearest address, if so, then match nearest address,
If it is not, then directly performing next step;
S655:The normal address that return is obtained;
S66:Judge that the normal address for returning whether there is, if so, matching rate is then set, obtain minimal level administrative division
Normal address information;If it is not, then throw exception.
Present invention also offers a kind of matching system of address, it includes
Receiver module, for receiving address information data;
Authentication module, for verifying data validation;
Positive matching module, the positive matching module includes:First judge module, the first matching module, the second matching
Module and the 3rd matching module;
First judge module, for judging data type;If the packet when containing information point, going to first
With module;If the data possess detailed location, the second matching module is gone to;If the data do not possess information point and detailed location,
Go to the 3rd matching module;
First matching module, for execution information Point matching;
Second matching module, for carrying out phrase fractionation, obtains and splits phrase list, then performs detailed location matching;
3rd matching module, is processed for administrative division completion and standardization field, then is performed without detailed location and letter
The matching of breath point;
Negative relational matching module, including:Information point search module and information point judge module;
Described information point search module, for according to address latitude and longitude coordinates and search radius parameter, carrying out information point and searching
Rope;
Described information point judge module, for judging whether there is information point in radius, if having, layback is nearest
Information point address information;If it is not, it is the result object for not matching proper address then to arrange matching status.
Management area under one's jurisdiction ownership matching module, for carrying out spatial analysis to services addresses, realizes that services addresses area under one's jurisdiction belongs to
Classification;The management area under one's jurisdiction ownership matching module includes:
Normal address acquisition module, for obtaining the services addresses coordinate after matching;
Boundary information acquisition module, for obtaining management area under one's jurisdiction space boundary information;
Spatial analysis module, for managing area under one's jurisdiction and services addresses coordinate relation by spatial analysis.
Further, specifically include in first matching module:
First enquiry module, for according to information point title, by solr data query being carried out;
Second judge module, for judging whether the normal address of the information point, if so, then goes to the first acquisition mould
Block;If it is not, then going to the second matching module;
First acquisition module, for obtaining information point normal address information;
First administrative area delineates and puts module, for arranging administrative division code and title;
First matching rate setup module, for arranging matching rate, returns matching result.
Further, specifically include in second matching module:
First administrative division conflict-solving module, for solving administrative division conflict;
First completion module, for according to address extension object completion phrase list;
First standardized module again, for standardized address again, arranges and returns the administrative division mark of minimal level
Quasi- address;
3rd judge module, for judging that the normal address for returning whether there is;If so, the 4th judge module is performed, if
No, then throw exception is processed;
4th judge module:Judge latitude and longitude coordinates whether all for 0;If it is not, then obtaining normal address data;If so, then
Toward upper level query criteria address, and obtain its normal address data;
5th judge module, for judging whether to only need to one record of matching;If so, matching rate is then set and knot is returned
The object of fruit;If it is not, inquiring about by solr, a plurality of result is matched;
Second administrative division setup module, for arranging affiliated administrative division code and title, and returning result;
Described first standardized module again, specifically includes:
Second acquisition module, for obtaining normal address;
First returns module, for standardizing administrative district address according to part of speech, and returns to normal address;
6th judge module, if there is no or exist a plurality of result, inquires about upper level address, until obtaining a knot
Really;
First nearest address matching module, for matching nearest address;
Second returns module, returns to the normal address for obtaining.
Further, in the 3rd matching module, including:
Concatenation module, for splicing assembling inquiry address;
Module is split, for splitting the address of splicing;
Second administrative division conflict-solving module, for solving administrative division conflict;
Second completion module, for performing solr address lookups, carries out field completion, obtains phrase list data.
Further, the 3rd matching module also includes:
Second standardized module again, for performing standardized address again, arranges and returns the administrative area of minimal level
Draw normal address;
7th judge module, for judging that the normal address for returning whether there is, if so, then arranges matching rate, obtains most
The normal address information of little rank administrative division;If it is not, then throw exception;
Described second standardized module again, specifically includes:
3rd acquisition module, for obtaining normal address;
3rd returns module, for standardizing administrative district address according to part of speech, and returns to normal address;
8th judge module, if there is no or exist a plurality of result, inquires about upper level address, until obtaining a knot
Really;
Second nearest address matching module, for matching nearest address;
4th returns module, returns to the normal address for obtaining.
Compared to prior art, the present invention can realize being matched with normal address title by services addresses title,
Present system is associated matching rate highest normal address and services addresses, so as to realize the ground of the business without space coordinates
Location can represent on map.
In order to more fully understand and implement, the present invention is described in detail below in conjunction with the accompanying drawings.
Description of the drawings
The step of Fig. 1 is the address matching process of present invention flow chart.
Fig. 2 is concrete steps flow chart in step S4 of the invention.
Fig. 3 is the specific flow chart of steps of this step S5.
Fig. 4 is the concrete steps flow chart in this step S53.
Fig. 5 is the concrete steps flow chart of step S6.
Fig. 6 is the specific flow chart of steps of step S6.
Fig. 7 is the module frame chart of the matching system of the address of the present invention.
Fig. 8 is the inside connection block diagram of the first matching module.
Fig. 9 is the module frame chart of the second matching module.
Figure 10 is the connection block diagram of first standardized module again of the present invention.
Figure 11 is the module connection block diagram of the 3rd matching module.
Figure 12 be second again standardized module inside connection block diagram.
Specific embodiment
Present invention is generally directed to when user using generalized information system when business map is made, the industry in each institutional unitses system
Business system yet suffers from the substantial amounts of services addresses without space.Due to address adopted and off-gauge, therefore cannot be direct
Graphic operation in realization.For such case, the invention provides a kind of method and system that intelligent Matching can be carried out to address.
With reference to embodiments and accompanying drawing the present invention is described in further detail, but embodiments of the present invention are not limited
In this.
The present embodiment illustrates how the intelligent Matching method using the present invention by taking the management system of Urban Dangers as an example,
Complete the matching of address.
Refer to Fig. 1, its be the present invention address matching process the step of flow chart.The invention provides a kind of address
Matching process, comprises the following steps:
S1:Receive address information data.
In the present embodiment, for the address information of dangerous matter sources, the department or unit for needing correlation carries out data acquisition, and
Carry out corresponding data inputting operation.And because the address for gathering all is not the address of standard, it is therefore desirable to carry out following
Matching operation.
Specifically, specification is filled in for data, table 1 below can be referred to.
The data better address filling explanation of table 1
However, in actual application, the combination of address is not fully combined according to address level design,
To ensure the unification of address standard, confirm through the analysis to data and on the spot, risk point risk point, dangerous matter sources better address ginseng
Examine the integrated mode of province's Room existing standard address date, table specific as follows:
The normal address integrated mode of table 2
Below to the illustration of normal address hierarchical structure, such as following table:
The normal address level citing of table 3
Below for the risk point dangerous matter sources address date of the non-standard address of better address, non-standard address field is with text
The manner is described in detail, as shown in table 4 below:
The non-standard address level of table 4 is illustrated
S2:Checking data validation.
The legitimacy of data, the necessary field for checking input data can not be sky, if containing characteristic character etc., for example, mark
The matching of note address date, it is desirable to provincial administrative division title, city-level administrative division title, district administrative division title, detailed location
Four fields must non-NULL, address " the riverine road 20 of Guangdong Province Qingyuan City Qingcheng District new city street new city neighbourhood committee such as in table 3
13 terraced room 502 of blue garden cell ", provincial administrative division title should be filled in " Guangdong Province ", and city-level administrative division title should be filled out
Write " Qingyuan City ", administrative division title in district should be filled in " Qingcheng District ", detailed location should fill in " the blue garden cell 1 in riverine road 20
3 terraced rooms 502 ", such as the entitled sky of district administrative division is then considered as illegal.
S3:Judge data type.
In this step, need to be judged for received data, be respectively processed according to different situations, specifically
It is divided into three kinds of situations:
If the packet when containing information point, execution step S4.For example, the information point data of reception is:" XX villages southern side
Big eye mountain north slope " " Great Wall main road and eastern inner ring road intersection ".
If the data possess detailed location, execution step S5.For example, better address data are received:" Guangdong Province's Qingyuan City is clear
The blue garden in the riverine road of city new city street new city neighbourhood committee 20 13 terraced room 502 of cell ".
If the data do not possess information point and detailed location, execution step S6.For example, address " Qingyuan City of Guangdong Province in table 3
The blue garden in the riverine road of city Qingcheng District new city street new city neighbourhood committee 20 13 terraced room 502 of cell " just possess provincial administrative division
Title, city-level administrative division title, district administrative division title, detailed location;If the data only have " Guangdong Province Qingyuan City Qingcheng District
New city street new city neighbourhood committee ".
S4:Execution information Point matching.
Please refer to Fig. 2, it is concrete steps flow chart in step S4 of the invention.Further, in step S4
Specifically include:
S41:According to information point title, data query is carried out by solr.
S42:The normal address of the information point is judged whether, next step is if so, then performed;If it is not, then performing S5.
S43:Obtain the normal address information of the information point.Here normal address information, refers to normal address combination die
The address of formula, it is affiliated normal address that reality is exactly information point, analogy " the wide Luda tall building XX in the wide garden east in reported in Tianhe district of Guangzhou
Address descriptor as Shi Guang XX offices ", " XX offices " is information point, and its normal address is exactly that " reported in Tianhe district of Guangzhou is wide
The wide Luda tall building XX rooms in garden east ".
S44:Administrative division code and title are set.
S45:Matching rate is set, matching result is returned.Here corresponding information point is looked for when finding, then arranging matching rate is
100%.
S5:Phrase fractionation is carried out, is obtained and is split phrase list, then perform detailed location matching.
Specifically, address " the riverine road 20 of Guangdong Province Qingyuan City Qingcheng District new city street new city neighbourhood committee that for example will be received
Number blue garden 13 terraced room 502 of cell " are split as phrase list, and the phrase list after fractionation is as shown in Table 3 above.
Fig. 3 is further referred to, it is the specific flow chart of steps of this step S5.The step of detailed location matching in step S5
Suddenly specifically include:
S51:Solve administrative division conflict;Administrative division conflict is divided to two classes, and it is to adopt mouth to be primarily due in typing address
Language is input into without complete, and a sequence error suppose reported in Tianhe district of Guangzhou, is write as " Tianhe District Guangzhou ", and two is word
Justice repeats to cause a word to belong to multiple address levels, it is common with small towns street, occupy villagers' committee and repeat with link name, and user
When input, suffix is not write clearly, lead to not judge that it is belonging to that address level from single word, need
The context being input into from it is judging the reasonability of address level.
S52:According to address extension object completion phrase list.For example:If the address for receiving is " Qingyuan City Qingcheng District Lan Yuan
13 terraced room 502 of cell ", then can carry out completion, by its completion for " Guangdong Province Qingyuan City Qingcheng District is new according to address before and after it
The blue garden in the riverine road of city street new city neighbourhood committee 20 13 terraced room 502 of cell ".
S53:Again standardized address, arranges and returns the administrative division normal address of minimal level.Please refer to figure
4, it is the concrete steps flow chart in this step S53.In step S53, specifically include:
S531:Obtain normal address.Conventional address or colloquial style, do not say small towns neighbourhood committee often, occupy the ground such as committee of village
Location level, this refers to obtain the normal address of appropriate address level all completions.
S532:Administrative district address is standardized according to part of speech, and returns to normal address.
S533:If there is no or exist a plurality of result, upper level address is inquired about, until obtaining a result;Here
Inquiry is up inquired about step by step by address level, confirms its ownership.
S534:Criterion address whether there is and whether match nearest address, if the nearest address of matching, if
It is no, perform next step.Specifically, it is, according to longitude and latitude, to calculate distance when nearest address matching is carried out.
S535:The normal address that return is obtained.
S54:Judge that the normal address for returning whether there is;If so, execution step S55, if it is not, then throw exception is processed.
S55:Judge latitude and longitude coordinates whether all for 0;If it is not, then obtaining normal address data;If so, then look into toward upper level
Normal address is ask, and obtains its normal address data.In the present embodiment, because partial data is not due to correctly gathering, so
Coordinate string is 0.
S56:Judge whether to only need to one record of matching;If so, the object of matching rate and returning result is then set;If
It is no, inquired about by solr, match a plurality of result.
S57:Administrative division code and title belonging to arranging, and returning result.
S6:Administrative division completion and standardization field are processed, then perform the matching without detailed location and information point.
Fig. 5 is further referred to, it is the concrete steps flow chart of step S6.Administrative division described in step S6 is mended
Complete and standardization field includes the step of process:
S61:Splicing assembling inquiry address;
S62:Split the address of splicing;
S63:Solve administrative division conflict;
S64:Solr address lookups are performed, field completion is carried out, phrase list data are obtained.
Fig. 6 is further referred to, it is the specific flow chart of steps of step S6.Perform without detailed location in step S6
The step of matching with information point, specifically includes:
S65:Again standardized address, arranges and returns the administrative division normal address of minimal level.Further refer to
Fig. 6, it is the specific flow chart of steps of step S6.Specifically include in the S65:
S651:Obtain normal address;Conventional address or colloquial style, do not say small towns neighbourhood committee often, occupy the ground such as committee of village
Location level, this refers to obtain the normal address of appropriate address level all completions.
S652:Administrative district address is standardized according to part of speech, and returns to normal address;
S653:If there is no or exist a plurality of result, upper level address is inquired about, until obtaining a result;Here
Inquiry is up inquired about step by step by address level, confirms its ownership.
S654:Criterion address whether there is and whether match nearest address, if so, then match nearest address,
If it is not, then directly performing next step.Specifically, it is, according to longitude and latitude, to calculate distance when nearest address matching is carried out.
S655:The normal address that return is obtained.
S66:Judge that the normal address for returning whether there is, if so, matching rate is then set, obtain minimal level administrative division
Normal address information;If it is not, then throw exception.
S7:According to address latitude and longitude coordinates and search radius parameter, information point search is carried out.Specifically, row information is being entered
During point search, the present invention searches for information point closest in buffering area using solr spacing query methods.
S8:Judge whether there is information point in radius, if having, the address information of the nearest information point of layback,
Execution step S9;If it is not, it is the result object for not matching proper address then to arrange matching status.
S9:Area under one's jurisdiction ownership matching is managed, the flow process of its matching includes:
S91:Obtain the services addresses coordinate after matching;
S92:Obtain management area under one's jurisdiction space boundary information;
S93:Area under one's jurisdiction and services addresses coordinate relation are managed by spatial analysis.
In addition, present invention also offers a kind of address corresponding with said method matching system, specifically refers to Fig. 7, its
For the module frame chart of the matching system of the address of the present invention.
Present invention also offers a kind of matching system of address, including receiver module 1, authentication module 2, positive matching module
With negative relational matching module and management area under one's jurisdiction ownership matching module 9.
The positive matching module includes:First judge module 3, the first matching module 4, the second matching module 5 and the 3rd
Matching module 6.
The receiver module 1, for receiving address information data.
The authentication module 2, for verifying data validation.
First judge module 3, for judging data type;If the packet when containing information point, going to first
Matching module;If the data possess detailed location, the second matching module is gone to;If the data do not possess information point and detailed location,
Then go to the 3rd matching module.
First matching module 4, for execution information Point matching.
Second matching module 5, for carrying out phrase fractionation, obtains and splits phrase list, then performs detailed location matching.
3rd matching module 6, is processed for administrative division completion and standardization field, then is performed without detailed location and letter
The matching of breath point.
Further, Fig. 8 is referred to, it is the inside connection block diagram of the first matching module.
Specifically include in first matching module 4:First enquiry module 41, the second judge module 42, first obtain mould
Block 43, the first administrative area delineate puts the matching rate setup module 45 of module 44 and first.
First enquiry module 41, for according to information point title, by solr data query being carried out.
Second judge module 42, for judging whether the normal address of the information point, if so, then goes to first
Acquisition module;If it is not, then going to the second matching module.
First acquisition module 43, for obtaining information point normal address information.
First administrative area delineates and puts module 44, for arranging administrative division code and title;
First matching rate setup module 45, for arranging matching rate, returns matching result.
Further, please refer to Fig. 9, it is the module frame chart of the second matching module.Have in second matching module 5
Body includes:Again standardized module the 53, the 3rd is sentenced for first administrative division conflict-solving module 51, the first completion module 52, first
Disconnected module 54, the 4th judge module 55, the 5th judge module 56 and the second administrative division setup module 57.
The first administrative division conflict-solving module 51, for solving administrative division conflict.
The first completion module 52, for according to address extension object completion phrase list.
Described first standardized module 53 again, for standardized address again, arrange and return the administration of minimal level
Criteria for division address.
3rd judge module 54, for judging that the normal address for returning whether there is;If so, perform the 4th and judge mould
Block, if it is not, then throw exception is processed.
4th judge module 55, for judging latitude and longitude coordinates whether all for 0;If it is not, then obtaining normal address number
According to;If so, then toward upper level query criteria address, and its normal address data is obtained.
5th judge module 56, for judging whether to only need to one record of matching;If so, then arrange matching rate and
The object of returning result;If it is not, inquiring about by solr, a plurality of result is matched.
The second administrative division setup module 57, for arranging affiliated administrative division code and title, and returning result.
Please refer to Figure 10, it is the connection block diagram of first standardized module again of the present invention.Described first again
Standardized module 53, specifically includes:Second acquisition module 531, first returns module 532, the 6th judge module 533, first most
Near-earth location matching module 534 and second returns module 535.
Second acquisition module 531, for obtaining normal address.
Described first returns module 532, for standardizing administrative district address according to part of speech, and returns to normal address.
6th judge module 533, if there is no or exist a plurality of result, inquires about upper level address, until obtaining
One result.
The first nearest address matching module 534, for matching nearest address.
Described second returns module 535, returns to the normal address for obtaining.
Further, Figure 11 is referred to, it is the module connection block diagram of the 3rd matching module.In 3rd matching module 6,
Including:Concatenation module 61, fractionation module 62, the second administrative division conflict-solving module 63, the second completion module 64, second are again
The judge module 66 of standardized module 65 and the 7th.
The concatenation module 61, for splicing assembling inquiry address.
The fractionation module 62, for splitting the address of splicing.
The second administrative division conflict-solving module 63, for solving administrative division conflict.
The second completion module 64, for performing solr address lookups, carries out field completion, obtains phrase list number
According to.
Described second standardized module 65 again, for performing standardized address again, arrange and return minimal level
Administrative division normal address.
7th judge module 66, for judging that the normal address for returning whether there is, if so, then arranges matching rate,
Obtain the normal address information of minimal level administrative division;If it is not, then throw exception.
Further, refer to Figure 12, its be second again standardized module inside connection block diagram.Described second marks again
Standardization module 65, specifically includes:It is nearest that 3rd acquisition module the 651, the 3rd returns module 652, the 8th judge module 653, second
Address matching module 654 and the 4th returns module 655.
3rd acquisition module 651, for obtaining normal address.
Described 3rd returns module 652, for standardizing administrative district address according to part of speech, and returns to normal address.
8th judge module 653, if there is no or exist a plurality of result, inquires about upper level address, until obtaining
One result.
The second nearest address matching module 654, for matching nearest address.
Described 4th returns module 655, returns to the normal address for obtaining.
The negative relational matching module includes:Information point search module 7 and information point judge module 8.
Described information point search module 7, for according to address latitude and longitude coordinates and search radius parameter, carrying out information point and searching
Rope;
Described information point judge module 8, for judging whether there is information point in radius, if having, layback is most
The address information of near information point;If it is not, it is the result object for not matching proper address then to arrange matching status.
The management area under one's jurisdiction belongs to matching module 9, for carrying out spatial analysis to services addresses, realizes services addresses area under one's jurisdiction
Ownership classification;The management area under one's jurisdiction ownership matching module includes:Normal address acquisition module 91, boundary information acquisition module 92 and sky
Between analysis module 93.
The normal address acquisition module 91, for obtaining the services addresses coordinate after matching.
The boundary information acquisition module 92, for obtaining management area under one's jurisdiction space boundary information.
The spatial analysis module 93, for managing area under one's jurisdiction and services addresses coordinate relation by spatial analysis.If through
Analysis, the services addresses then belong to this area under one's jurisdiction in the bounds in management area under one's jurisdiction.
Compared to prior art, the present invention can realize being matched with normal address title by services addresses title,
Present system is associated matching rate highest normal address and services addresses, so as to realize the ground of the business without space coordinates
Location can represent on map.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention not by above-described embodiment
Limit, other any Spirit Essences without departing from the present invention and the change, modification, replacement made under principle, combine, simplification,
Equivalent substitute mode is should be, is included within protection scope of the present invention.
Claims (10)
1. a kind of matching process of address, it is characterised in that comprise the following steps:
S1:Receive address latitude and longitude information;
S2:Checking data validation;If carry out positive matching, execution step S3;If carrying out negative relational matching, execution step S7;
S3:Judge data type;If the packet when containing information point, execution step S4;If the data possess detailed location,
Execution step S5;If the data do not possess information point and detailed location, execution step S6;
S4:Execution information Point matching, then execution step S9;
S5:Phrase fractionation is carried out, is obtained and is split phrase list, then perform detailed location matching, then execution step S9;
S6:Administrative division completion and standardization field are processed, then perform the matching without detailed location and information point, then execution step
S9;
S7:According to address latitude and longitude coordinates and search radius parameter, information point search is carried out, perform next step;
S8:Judge whether there is information point in radius, if having, the address information of the nearest information point of layback is performed
Step S9;If it is not, it is the result object for not matching proper address then to arrange matching status;
S9:Area under one's jurisdiction ownership matching is managed, the flow process of its matching includes:
S91:Obtain the services addresses coordinate after matching;
S92:Obtain management area under one's jurisdiction space boundary information;
S93:Area under one's jurisdiction and services addresses coordinate relation are managed by spatial analysis.
2. the matching process of address according to claim 1, it is characterised in that:Specifically include in step S4:
S41:According to information point title, data query is carried out by solr;
S42:The normal address of the information point is judged whether, next step is if so, then performed;If it is not, then performing S5;
S43:Obtain information point normal address information;
S44:Administrative division code and title are set;
S45:Matching rate is set, matching result is returned.
3. the matching process of address according to claim 1, it is characterised in that:Specifically include in step S5:
S51:Solve administrative division conflict;
S52:According to address extension object completion phrase list;
S53:Again standardized address, arranges and returns the administrative division normal address of minimal level;In step S53, tool
Body includes:
S531:Obtain normal address;
S532:Administrative district address is standardized according to part of speech, and returns to normal address;
S533:If there is no or exist a plurality of result, upper level address is inquired about, until obtaining a result;
S534:Criterion address whether there is and whether match nearest address, if the nearest address of matching, if it is not, holding
Row next step;
S535:The normal address that return is obtained;
S54:Judge that the normal address for returning whether there is;If so, execution step S55, if it is not, then throw exception is processed;
S55:Judge latitude and longitude coordinates whether all for 0;If it is not, then obtaining normal address data;If so, then toward upper level inquiry mark
Quasi- address, and obtain its normal address data;
S56:Judge whether to only need to one record of matching;If so, the object of matching rate and returning result is then set;If it is not, logical
Solr inquiries are crossed, a plurality of result is matched;
S57:Administrative division code and title belonging to arranging, and returning result.
4. the matching process of address according to claim 1, it is characterised in that:Administrative division completion described in step S6
The step of processing with standardization field includes:
S61:Splicing assembling inquiry address;
S62:Split the address of splicing;
S63:Solve administrative division conflict;
S64:Solr address lookups are performed, field completion is carried out, phrase list data are obtained.
5. the matching process of address according to claim 4, it is characterised in that:Perform without detailed location and letter in step S6
The step of matching of breath point, specifically includes:
S65:Again standardized address, arranges and returns the administrative division normal address of minimal level;Specifically wrap in the S65
Include:
S651:Obtain normal address;
S652:Administrative district address is standardized according to part of speech, and returns to normal address;
S653:If there is no or exist a plurality of result, upper level address is inquired about, until obtaining a result;
S654:Criterion address whether there is and whether match nearest address, if so, then match nearest address, if it is not,
Then directly perform next step;
S655:The normal address that return is obtained;
S66:Judge that the normal address for returning whether there is, if so, matching rate is then set, obtain the mark of minimal level administrative division
Quasi- address information;If it is not, then throw exception.
6. a kind of matching system of address, it is characterised in that include
Receiver module, for receiving address information data;
Authentication module, for verifying data validation;
Positive matching module, the positive matching module includes:First judge module, the first matching module, the second matching module
With the 3rd matching module;
First judge module, for judging data type;If the packet when containing information point, the first matching mould is gone to
Block;If the data possess detailed location, the second matching module is gone to;If the data do not possess information point and detailed location, go to
3rd matching module;
First matching module, for execution information Point matching;
Second matching module, for carrying out phrase fractionation, obtains and splits phrase list, then performs detailed location matching;
3rd matching module, is processed for administrative division completion and standardization field, then is performed without detailed location and information point
Matching;
Negative relational matching module, including:Information point search module and information point judge module;
Described information point search module, for according to address latitude and longitude coordinates and search radius parameter, carrying out information point search;
Described information point judge module, for judging whether there is information point in radius, if having, the nearest letter of layback
The address information of breath point;If it is not, it is the result object for not matching proper address then to arrange matching status;
Management area under one's jurisdiction ownership matching module, for carrying out spatial analysis to services addresses, realizes the ownership classification of services addresses area under one's jurisdiction;
The management area under one's jurisdiction ownership matching module includes:
Normal address acquisition module, for obtaining the services addresses coordinate after matching;
Boundary information acquisition module, for obtaining management area under one's jurisdiction space boundary information;
Spatial analysis module, for managing area under one's jurisdiction and services addresses coordinate relation by spatial analysis.
7. the matching system of address according to claim 6, it is characterised in that:Specifically include in first matching module:
First enquiry module, for according to information point title, by solr data query being carried out;
Second judge module, for judging whether the normal address of the information point, if so, then goes to the first acquisition module;
If it is not, then going to the second matching module;
First acquisition module, for obtaining information point normal address information;
First administrative area delineates and puts module, for arranging administrative division code and title;
First matching rate setup module, for arranging matching rate, returns matching result.
8. the matching system of address according to claim 6, it is characterised in that:Specifically include in second matching module:
First administrative division conflict-solving module, for solving administrative division conflict;
First completion module, for according to address extension object completion phrase list;
First standardized module again, for standardized address again, arranges and returns the administrative division study plot of minimal level
Location;
3rd judge module, for judging that the normal address for returning whether there is;If so, the 4th judge module is performed, if it is not, then
Throw exception process;
4th judge module:Judge latitude and longitude coordinates whether all for 0;If it is not, then obtaining normal address data;If so, then up
One-level query criteria address, and obtain its normal address data;
5th judge module, for judging whether to only need to one record of matching;If so, matching rate and returning result be then set
Object;If it is not, inquiring about by solr, a plurality of result is matched;
Second administrative division setup module, for arranging affiliated administrative division code and title, and returning result;
Described first standardized module again, specifically includes:
Second acquisition module, for obtaining normal address;
First returns module, for standardizing administrative district address according to part of speech, and returns to normal address;
6th judge module, if there is no or exist a plurality of result, inquires about upper level address, until obtaining a result;
First nearest address matching module, for matching nearest address;
Second returns module, returns to the normal address for obtaining.
9. the matching system of address according to claim 6, it is characterised in that:In 3rd matching module, including:
Concatenation module, for splicing assembling inquiry address;
Module is split, for splitting the address of splicing;
Second administrative division conflict-solving module, for solving administrative division conflict;
Second completion module, for performing solr address lookups, carries out field completion, obtains phrase list data.
10. the matching system of address according to claim 9, it is characterised in that:3rd matching module also includes:
Second standardized module again, for performing standardized address again, arranges and returns the administrative division mark of minimal level
Quasi- address;
7th judge module, for judging that the normal address for returning whether there is, if so, then arranges matching rate, obtains minimum level
The normal address information of other administrative division;If it is not, then throw exception;
Described second standardized module again, specifically includes:
3rd acquisition module, for obtaining normal address;
3rd returns module, for standardizing administrative district address according to part of speech, and returns to normal address;
8th judge module, if there is no or exist a plurality of result, inquires about upper level address, until obtaining a result;
Second nearest address matching module, for matching nearest address;
4th returns module, returns to the normal address for obtaining.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611243392.XA CN106599303A (en) | 2016-12-29 | 2016-12-29 | Address matching method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611243392.XA CN106599303A (en) | 2016-12-29 | 2016-12-29 | Address matching method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106599303A true CN106599303A (en) | 2017-04-26 |
Family
ID=58604859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611243392.XA Withdrawn CN106599303A (en) | 2016-12-29 | 2016-12-29 | Address matching method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106599303A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109635057A (en) * | 2018-11-16 | 2019-04-16 | 海南电网有限责任公司信息通信分公司 | Electricity consumption method for processing business, device, computer equipment and storage medium |
CN109961324A (en) * | 2019-03-19 | 2019-07-02 | 山东浪潮云信息技术有限公司 | A kind of electric business enterprise stamps the standardization processing method and system of region label |
CN110069591A (en) * | 2019-04-16 | 2019-07-30 | 湖北地信科技集团股份有限公司 | Map label method, user equipment, storage medium and device |
CN111144930A (en) * | 2019-12-10 | 2020-05-12 | 云南电网有限责任公司信息中心 | Structured address analysis application system for regional power grid electricity utilization customer |
CN112241497A (en) * | 2020-12-18 | 2021-01-19 | 盛威时代科技集团有限公司 | Method and device for processing standardized data of site area |
CN113672998A (en) * | 2021-10-25 | 2021-11-19 | 广州智建云信息技术有限公司 | Anti-counterfeiting method and system for data in construction process of constructional engineering |
CN117349451A (en) * | 2023-12-01 | 2024-01-05 | 广东中思拓大数据研究院有限公司 | Data processing method, data processing apparatus, computer device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882163A (en) * | 2010-06-30 | 2010-11-10 | 中国科学院地理科学与资源研究所 | Fuzzy Chinese address geographic evaluation method based on matching rule |
CN102147903A (en) * | 2010-02-05 | 2011-08-10 | 李久进 | Geographic position-based internet information aggregating, pushing and interacting method |
CN102169498A (en) * | 2011-04-14 | 2011-08-31 | 中国测绘科学研究院 | Address model constructing method and address matching method and system |
CN103984716A (en) * | 2014-05-08 | 2014-08-13 | 深圳市天维尔通讯技术有限公司 | Method and system for precisely positioning space address based on geographical information |
CN105005577A (en) * | 2015-05-08 | 2015-10-28 | 裴克铭管理咨询(上海)有限公司 | Address matching method |
CN106021336A (en) * | 2016-05-09 | 2016-10-12 | 厦门四方中信科技有限公司 | A method for automatic administrative district division for mass address information |
CN106033460A (en) * | 2015-03-19 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Address data processing method and apparatus |
-
2016
- 2016-12-29 CN CN201611243392.XA patent/CN106599303A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147903A (en) * | 2010-02-05 | 2011-08-10 | 李久进 | Geographic position-based internet information aggregating, pushing and interacting method |
CN101882163A (en) * | 2010-06-30 | 2010-11-10 | 中国科学院地理科学与资源研究所 | Fuzzy Chinese address geographic evaluation method based on matching rule |
CN102169498A (en) * | 2011-04-14 | 2011-08-31 | 中国测绘科学研究院 | Address model constructing method and address matching method and system |
CN103984716A (en) * | 2014-05-08 | 2014-08-13 | 深圳市天维尔通讯技术有限公司 | Method and system for precisely positioning space address based on geographical information |
CN106033460A (en) * | 2015-03-19 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Address data processing method and apparatus |
CN105005577A (en) * | 2015-05-08 | 2015-10-28 | 裴克铭管理咨询(上海)有限公司 | Address matching method |
CN106021336A (en) * | 2016-05-09 | 2016-10-12 | 厦门四方中信科技有限公司 | A method for automatic administrative district division for mass address information |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109635057A (en) * | 2018-11-16 | 2019-04-16 | 海南电网有限责任公司信息通信分公司 | Electricity consumption method for processing business, device, computer equipment and storage medium |
CN109635057B (en) * | 2018-11-16 | 2021-10-22 | 海南电网有限责任公司信息通信分公司 | Electricity utilization business processing method and device, computer equipment and storage medium |
CN109961324A (en) * | 2019-03-19 | 2019-07-02 | 山东浪潮云信息技术有限公司 | A kind of electric business enterprise stamps the standardization processing method and system of region label |
CN110069591A (en) * | 2019-04-16 | 2019-07-30 | 湖北地信科技集团股份有限公司 | Map label method, user equipment, storage medium and device |
CN111144930A (en) * | 2019-12-10 | 2020-05-12 | 云南电网有限责任公司信息中心 | Structured address analysis application system for regional power grid electricity utilization customer |
CN112241497A (en) * | 2020-12-18 | 2021-01-19 | 盛威时代科技集团有限公司 | Method and device for processing standardized data of site area |
CN113672998A (en) * | 2021-10-25 | 2021-11-19 | 广州智建云信息技术有限公司 | Anti-counterfeiting method and system for data in construction process of constructional engineering |
CN113672998B (en) * | 2021-10-25 | 2022-02-18 | 广州智建云信息技术有限公司 | Anti-counterfeiting method and system for data in construction process of constructional engineering |
CN117349451A (en) * | 2023-12-01 | 2024-01-05 | 广东中思拓大数据研究院有限公司 | Data processing method, data processing apparatus, computer device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106599303A (en) | Address matching method and system | |
CN106649803A (en) | Address matching method and system | |
CN106682175A (en) | Method and system for matching address | |
JP5856618B2 (en) | Geospatial database integration method and device | |
CN104866593B (en) | A kind of database search method of knowledge based collection of illustrative plates | |
Tsai et al. | Inference aggregation detection in database management systems | |
CN104750799A (en) | Method for recognizing construction land type rapidly based on address resolution data | |
CN105224622A (en) | The place name address extraction of Internet and standardized method | |
CN112988788B (en) | Method for checking mutation of spatial data in territorial space planning, application system and cloud platform | |
KR20140097805A (en) | Coordinates (x, y) position value using a systematic block code generated and the address matching service using methods | |
CN103514235B (en) | A kind of method for building up of incremental code library and device | |
CN107122415B (en) | The integrated system of place name address library data fusion | |
CN112988715B (en) | Construction method of global network place name database based on open source mode | |
CN106874384A (en) | A kind of isomery address standard handovers and matching process | |
CN106874287A (en) | A kind of processing method and processing device of point of interest POI geocodings | |
CN109857947A (en) | A kind of broadband installation site selecting method and system based on GIS map | |
Christen et al. | A probabilistic geocoding system based on a national address file | |
KR102150280B1 (en) | Linked platform for urban river management | |
CN112328910A (en) | Method and system covering AOI and POI standard address matching engine | |
CN113065057A (en) | Data information authenticity verification method, device, equipment and storage medium | |
CN114066238B (en) | Forest land protection utilization planning index determination system, cloud platform system and method | |
CN114595302A (en) | Method, device, medium, and apparatus for constructing multi-level spatial relationship of spatial elements | |
CN108021638B (en) | Offline geocoding unstructured address resolution system | |
Haldorson | High demand for local area level statistics–How do National Statistical Institutes respond? | |
CN105912723A (en) | Storage method of custom field |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 603, room 74, 528000 Yongan Road, Chancheng District, Guangdong, Foshan Applicant after: Su Biyun Address before: 510620, Guangdong, Guangzhou Province, Tianhe District dog Road No. 551, No. 905 Applicant before: Su Biyun |
|
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170426 |