CN107025232A - The processing method and processing device of address information in logistics system - Google Patents
The processing method and processing device of address information in logistics system Download PDFInfo
- Publication number
- CN107025232A CN107025232A CN201610066632.7A CN201610066632A CN107025232A CN 107025232 A CN107025232 A CN 107025232A CN 201610066632 A CN201610066632 A CN 201610066632A CN 107025232 A CN107025232 A CN 107025232A
- Authority
- CN
- China
- Prior art keywords
- information
- address
- place name
- place
- index
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims description 9
- 238000000034 method Methods 0.000 claims abstract description 39
- 238000013316 zoning Methods 0.000 claims abstract description 34
- 230000004044 response Effects 0.000 claims description 20
- 238000000151 deposition Methods 0.000 claims description 2
- 241000283973 Oryctolagus cuniculus Species 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 235000017166 Bambusa arundinacea Nutrition 0.000 description 3
- 235000017491 Bambusa tulda Nutrition 0.000 description 3
- 241001330002 Bambuseae Species 0.000 description 3
- 235000015334 Phyllostachys viridis Nutrition 0.000 description 3
- 239000011425 bamboo Substances 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000033764 rhythmic process Effects 0.000 description 3
- 239000013535 sea water Substances 0.000 description 3
- 244000269722 Thea sinensis Species 0.000 description 2
- 235000009569 green tea Nutrition 0.000 description 2
- NOQGZXFMHARMLW-UHFFFAOYSA-N Daminozide Chemical compound CN(C)NC(=O)CCC(O)=O NOQGZXFMHARMLW-UHFFFAOYSA-N 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
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/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/232—Orthographic correction, e.g. spell checking or vowelisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Marketing (AREA)
- Data Mining & Analysis (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- General Business, Economics & Management (AREA)
- Operations Research (AREA)
- Human Resources & Organizations (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Remote Sensing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present application discloses the treating method and apparatus of address information in logistics system.This method includes:Inquire about and obtain address data information, address data information includes the address zoning hierarchical relationship chain of place name and place name;For each place name, index mark corresponding with the place name is set up, index mark includes the rank of the place name and the place name in address zoning hierarchical relationship chain;It is the place name on the address zoning hierarchical relationship chain of the place name from highest level untill the place name to set the corresponding index value of index mark;Storage index mark and the corresponding index value of index mark, place name that corresponding index value included is identified as complete address information according to address information to be checked, to obtain the index.The technical scheme provided by the application is capable of the address information of easily offer.
Description
Technical field
The application is related to logistlcs technology field, more particularly in logistics system the processing method of address information and
Device.
Background technology
With developing rapidly for logistic industry, the quantity of logistics parcel is also skyrocketed through, and logistics parcel can be sent to
Address realm it is also increasing.The growth requirement of package quantity and address information is carried out to destination address information
Processing and dispensing promptly and accurately, otherwise will cause substantial amounts of parcel to be detained.It can be seen that, in various processing links
In, the parsing to address is most important.
As a rule, there is administrative division level in address.For example, for province-city-area (county)-small towns
In this hierarchical chains, different ranks include:First-level address is the first order in administrative division hierarchical chains
" province ";Address, second-level is the second level " city " in administrative division hierarchical chains;Third-level address is administrative area
Draw the third level " area (county) " in hierarchical chains;Fourth stage address is the fourth stage " township in administrative division hierarchical chains
Town ".And for example, for address " Hangzhou, Zhejiang province city Yuhang District 5 constant virtues street ", wherein " Zhejiang Province " is " to save
Level ", " Hangzhou " is " city-level ", and " Yuhang District " is " area/at county level ", and " 5 constant virtues street " is " small towns
Level ".
Because the address of parcel is generally inputted by user, in the preceding level Four address of example, the ground of user's input sometimes
Location may lack certain one-level.Also the address of some inputs may include the address information of mistake, Huo Zheyin
The address information of parsing ambiguity is produced for nonstandard input.Such as " 5 constant virtues " is the title in a street,
That is 5 constant virtues street, and under it is also simultaneously linchpin county-level city --- Wuchang City of a province of Heilongjiang Province, Wuchang City
Also one " 5 constant virtues town ".Once user is using " 5 constant virtues " is write a Chinese character in simplified form, it is " Wuchang City " on earth to be difficult to distinguish,
Still " 5 constant virtues town ", even " 5 constant virtues street " in another province.For example, user only input it is " remaining
Hang Wuchang ", actual address should be " Hangzhou, Zhejiang province city Yuhang District 5 constant virtues street ", rather than " Zhejiang
Province Hangzhou Yuhang District 5 constant virtues town ", is less " Harbin, Heilongjiang Province Wuchang City 5 constant virtues town ".If address
Quality it is difficult to ensure that, follow-up logistics system may can not normal work, or even lose parcel.
To improve the correctness of user's input address, method main at present is defeated to user when user inputs
The mailing address entered is formatted.Enter row address during user's input address is needed, generally make
With Js (Java Script) control, the address information level Four address changed is selected by user, without
It is directly to be inputted by user.But this method, interactive complexity is not only considerably increased, also by change
Process is placed on user terminal or customer service front end, and the interaction or waiting process of complexity are born by user, and
It must be selected during input by electronic equipment.
The method of anotherization user's input address needs to use GPS functions, for example, relying on mobile device
The geographical location information of global positioning system (GPS, Global Positioning System) gain-of-function.
If however, user does not have GPS device, or being not turned on GPS functions, then user can not be accurately parsed
Address.
Accordingly, it would be desirable to which a kind of new technical scheme carries out the change of user's input address, that is, reduce the operation of user
Complexity, while the degree of dependence to equipment is reduced, to help logistic industry more accurately to analyze
The address of user, provides the user with and more precisely, efficiently services.
The content of the invention
This application provides a kind of processing method and processing device of address information in logistics system, with regard in logistics basin
The problem of on address, using the teaching of the invention it is possible to provide more accurate, the convenient parsing to user's input address, for based on
The service of address information provides the guarantee of accuracy.
This application provides following scheme:
The processing method of address information in a kind of logistics system, including:
Inquire about and obtain address data information, the address data information includes the address of place name and the place name
Zoning hierarchical relationship chain, the address zoning hierarchical relationship chain includes administrative division membership from high to low;
For each place name, index mark corresponding with the place name is set up, the index mark includes the ground
The rank of name and the place name in the address zoning hierarchical relationship chain;
It is from most on the address zoning hierarchical relationship chain of the place name to set the corresponding index value of the index mark
The senior place name being clipped to untill the place name;
The storage index mark and the corresponding index value of the index mark, to be believed according to address to be checked
Breath, index of the inquiry comprising the address information to be checked is identified, so that it is corresponding to obtain index mark
The place name that index value is included as the address to be checked complete address information.
Present invention also provides a kind of processing unit of address information in logistics system, including:
Data query unit, for inquiring about and obtaining address data information, the address data information includes ground
The address zoning hierarchical relationship chain of name and the place name, the address zoning hierarchical relationship chain is included from high to low
Administrative division membership;
Setting unit is indexed, for for each place name, setting up index mark corresponding with the place name, institute
Stating index mark includes the rank of the place name and the place name in the address zoning hierarchical relationship chain;Set described
The corresponding index value of index mark is from highest level to the ground on the address zoning hierarchical relationship chain of the place name
Place name untill name;
Memory cell, for storing the index mark and the corresponding index value of the index mark, with root
According to address information to be checked, index of the inquiry comprising the address information to be checked is identified, so as to obtain the rope
The place name that the sensible corresponding index value of tendering is included as the address to be checked complete address information.
The specific embodiment provided according to the application, this application discloses following technique effect:
By the application, user's operation can be simplified, shorten the path that user obtains service.I.e. user only needs
Importation Text Address is wanted, is identified using the index containing address information of foundation and index mark correspondence
Index value, that is, result in accurate, the sufficient address information of the corresponding address of input address information.
Using index mark and corresponding index value, can based on context address text message, solve the ground existed
Location information ambiguity.
In some embodiments it is possible to which the address information inputted to user is normalized.For example, by user
The nonstandard place name of input is converted into unique address and represented, so as to be conducive to the accurate fixed of station address
Position.Such as, user's input " Zhejiang Hangzhou Yuhang ", after the complete address information of output is normalization
As a result " Hangzhou, Zhejiang province city Yuhang District ".
In certain embodiments, additionally it is possible to which completion is carried out to the address information that user inputs.Such as user only records
Enter " Hangzhou 5 constant virtues " or " Hangzhou 5 constant virtues street ", the complete address information " Zhejiang of completion can be obtained
Jiang Sheng Hangzhous Yuhang District 5 constant virtues street ".
In certain embodiments, the scheme that the application is provided, can be carried out to the wrong address that user inputs
Correct, the robustness of strengthening system.For example, " the Yu Hangqu 5 constant virtues, Hangzhou " of user's input, can be corrected
For " Hangzhou, Zhejiang province city Yuhang District 5 constant virtues street ", and for example user's input " Hangzhou, Zhejiang province Haidian District 5 constant virtues ",
It can be corrected as automatically in " Hangzhou, Zhejiang province city Yuhang District 5 constant virtues street ".
Meanwhile, the technical scheme that the application is provided, without relying on other services, such as GPS services just can be with
Separately provide service.
By more accurately parsing the address information that user inputs, so as to solve in logistics basin on address
The problem of, the service and guarantee on basis are provided for the work based on address.
Certainly, any product for implementing the application it is not absolutely required to while reaching advantages described above.
Brief description of the drawings
, below will be to implementing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
The accompanying drawing used required in example is briefly described, it should be apparent that, drawings in the following description are only
Some embodiments of the present application, for those of ordinary skill in the art, are not paying creative work
Under the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart for the method that the embodiment of the present application is provided;
Fig. 2 is the flow chart for the another method that the embodiment of the present application is provided;
Fig. 3 is the state transition graph for the address that the embodiment of the present application is provided;
Fig. 4 is the flow chart for the another method that the embodiment of the present application is provided;
Fig. 5 is the schematic diagram for the first device that the embodiment of the present application is provided;
Fig. 6 is the schematic diagram for the second device that the embodiment of the present application is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear
Chu, it is fully described by, it is clear that described embodiment is only some embodiments of the present application, rather than
Whole embodiments.Based on the embodiment in the application, other realities that those of ordinary skill in the art are obtained
Example is applied, the scope of the application protection is belonged to.
Below in an example, zoning level in address is by taking level Four as an example, i.e. province, city, area/county, street
Illustrate, and it is non-limiting.The scheme of the application can apply to more or less address zoning levels.
For example, the more stages address such as province, city, area/county, township/town/street, villagers' committee/community.
Shown in Figure 1, Fig. 1 is the flow chart for the method that the embodiment of the present application is provided.Thing shown in Fig. 1
The processing method of address information includes following operation in streaming system.
S101, inquires about and obtains address data information, and address data information includes the address area of place name and place name
Hierarchical relationship chain is drawn, address zoning hierarchical relationship chain includes administrative division membership from high to low.
It can be inquired about from different information sources and obtain address data information., can be from system by taking China as an example
Meter board web other public informations that live obtain multistage administrative division address date, in the form of a file persistence
Preserved to disk, file format is as follows:
" Beijing, 110000
Beijing, 110000, Beijing, 110100
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Dong Hua Door street, 110101001
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Jingshan mountain street, 110101002
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, dealings mouthful street, 110101003
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Gate of Stability street, 110101004
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, northern new bridge street, 110101005
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, eastern four street, 110101006
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Chaoyang Men street, 110101007
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Jianguomen street, 110101008
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Dongzhimen street, 110101009
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Hepingli street, 110101010
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, front door street, 110101011
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Chongwen street, 110101012 outdoors
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, eastern flower market street, 110101013
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, dragon's pool street, 110101014
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Tiyuguan Lu street, 110101015
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, the Temple of Heaven street, 110101016
Beijing, 110000, Beijing, 110100, Dongcheng District, 110101, Yongding street outdoors, 110101017 "
Wherein, word and numeral are corresponded to respectively:Save, save administrative coding, prefecture-level city, prefecture-level city it is administrative encode,
Area/county, the administrative coding in area/county, small towns, small towns administration coding.
The data being collected into can be pre-processed, for example, it is encoded to carry out administrative division to data above
Filter, only retain Chinese address as place name, and suffix is removed to entry and turn referred to as to handle, such as
It is embroidered with after such as saving and is embroidered with after saving:Province, city (municipality directly under the Central Government), autonomous region, the suffix of local administrative area
Have:It is embroidered with behind city, autonomous prefecture, state, area, area/at county level:County, autonomous county, area, city, small towns
It is embroidered with after level:Township, town, street, subdistrict office, office, neighbourhood committee, do, obtain one
Full name turns the lexicon file of abbreviation.For example, " Zhejiang Province " abbreviation " Zhejiang ", " Hangzhou " abbreviation " Hangzhoupro
State ", " Inner Mongolia Autonomous Region " abbreviation " Inner Mongol ".
So as to obtain the lexicon file containing place name.
By above- mentioned information, the address zoning hierarchical relationship chain of place name and place name can be included with address data information,
Address zoning hierarchical relationship chain includes administrative division membership from high to low.
S102, for each place name, sets up index mark corresponding with the place name, index mark includes should
The rank of place name and the place name in address zoning hierarchical relationship chain.
For example, for above-mentioned each place name per in data line set up " small towns ", " area/county ",
The index of " prefecture-level city ".Specifically, " Beijing, 110000, Beijing, 110100, Dongcheng District, 110101,
Dong Hua Door street, 110101001 ", administrative coding is removed first, be changed into " Beijing, Beijing, Dongcheng District,
Dong Hua Door street ", then sets up three index marks according to place name in the rank of address zoning hierarchical relationship chain
(key):Town_ Dong Hua Doors;District_ Dongcheng;City_ Beijing.Wherein, index mark includes ground
Name (such as Dong Hua Door) and the place name its address zoning hierarchical relationship chain rank (town represents town).
Place name in index mark can use the abbreviation in address dictionary as described above, that is, remove suffix
Place name.Because user's input there may be the situation of specification, the full name of place name will not be frequently even inputted.Than
As user can input in " Hangzhou ", rather than " Hangzhou ", input in " Yuhang ", rather than " Yuhang District ",
Input in " 5 constant virtues ", rather than " 5 constant virtues street " or " 5 constant virtues town ", make between in index mark
With referred to as can more be matched with user's input, so as to increase the recall rate of search.
Prefix in above-mentioned prefix example, the i.e. place name the rank of its address zoning hierarchical relationship chain be in order to
Distinguish administrative grade.For example, " town_ 5 constant virtues " is Hangzhou Yuhang District " 5 constant virtues street ", prefix
It is " town ", but " Wuchang City " is also named by a county-level city under Harbin, Heilongjiang Province, its prefix
For " district ", pass through rank of the setting place name in its address zoning hierarchical relationship chain in index mark
Place name can be more accurately identified to inquire about the corresponding index value of acquisition.If user's input is Heilungkiang five
Normal city, then " Harbin, Heilongjiang Province 5 constant virtues will be found according to index mark " district_ 5 constant virtues "
City " rather than " Hangzhou, Zhejiang province city Yuhang District 5 constant virtues street ".
S103, it is from most on the address zoning hierarchical relationship chain of the place name to set the corresponding index value of index mark
The senior place name being clipped to untill the place name.
Corresponding index value is respectively:
Index mark " town_ Dong Hua Doors " corresponding index value is " Beijing, Beijing, Dongcheng District, Dong Hua Door
Street ".
Index mark " district_ Dongcheng " corresponding index value is " Beijing, Beijing, Dongcheng District ".
Index mark " city_ Beijing " corresponding index value is " Beijing, Beijing ".
More examples such as " index identification index value ":
The Li Bao streets of Li Bao Henan Province of town_ tri-/Kaifeng/Shuwangtai District/tri-
Town_ Lao Ximen Shanghai/Shanghai City/Huangpu District/Lao Ximen streets
District_ Hong'an Hubei Province/Huanggang City/Hong'an County/
Town_ Yanchuans Shaanxi Province/Yan'an/Yanchuan County/Yanchuan town
Town_ Zeng Kou Sichuan Province/Bazhong City/Bazhou District/Zeng Kou towns
Town_ Chen Ming Heilongjiang Province/Yichun/Nancha District/Chen Ming towns
Town_ Chun Gang Hubei Province/Huanggang City/Huangmei County/Chun Gang streets
District_ Wangcangs Sichuan Province/Guangyuan City/Wangcang County/
City_ Shangrao Jiangxi Province/Shangrao City //
Town_ Mu Shi Xinjiang Uygur Autonomous Regions/Kaxgar Prefecture/Shufu County/Mu Shi townshiies
Town_ Guangshuis Hubei Province/Suizhou City/Guangshui City/Guangshui street
Town_ Dao Hu ditches Hebei province/Chengde/Pingquan County/Dao Hugou townshiies
Town_ high-quality green tea mountain Anhui Province/Anqing/Yuexi County/high-quality green tea mountain area
Town_ Siping City economic development zone Jilin Province/Siping City/Tiedong District/Siping City economic development zone
Town_ Xi He Hubei Province/Suizhou City/Zengdu District/Xi He towns
Town_ Le Ying Sichuan Province/Ya'an/Tianquan County/Le Ying townshiies
Town_ oil Village Xinjiang Uygur Autonomous Regions/Urumqi City/Xinshi District/oil Village street
Town_ Ren Gang Jiangsu Province/Nantong City/Chongchuan District/Ren Gang streets
Town_ Tuo Kayi Xinjiang Uygur Autonomous Regions // Alar City/Tuo Kayi townshiies
Town_ Bai Yuan Henan Province/Luoyang City/Yichuan County/Bai Yuan townshiies
Town_ Dong Duerji state farms Inner Mongolia Autonomous Region/Hinggan League/Tuquan County/Dong Duerji is state-run
Farm
Town_ Bai Guan Gansu Province/Longnan City/Li County/Bai Guan townshiies, Hunan Province/Zhuzhou/Lusong District/white pass
Town
S104, storage index mark and the corresponding index value of index mark, with according to address information to be checked,
Index of the inquiry comprising address information to be checked is identified, so that obtaining the index identifies corresponding index value institute
Comprising place name as address to be checked complete address information.
By above-described embodiment, user only needs to importation Text Address, contains address letter using foundation
The index mark and the corresponding index value of index mark of breath, that is, result in input address information correspondingly
Accurate, the sufficient address information of location., can be above and below using index mark and corresponding index value
Literary address text message, solves the address information ambiguity existed.
In one embodiment, in addition to:Identical index mark is recognized whether, with different ropes
Draw value;In response to exist identical index mark have different index values, store one index mark and
The corresponding multiple different index values of index mark.
For example, index mark " town_ is long-lived " has multiple index values, i.e., different administrative regions have
Identical place name:" Hunan Province/Yueyang/Pingjiang County/longevity town, Hubei Province/Jingmen/Zhongxiang City/longevity
Town, Heilongjiang Province/Harbin City/Shangzhi City/longevity township, Hebei province/Shijiazhuang City/Xinyue City/longevity street
Road ".Multiple index values can be merged, that is, store an index and represent, and its is corresponding multiple
Index value or multiple index value lists.
More examples are as follows:
Town_ Wang Ji Gansu Province/Hui Autonomous Prefecture of Linxia/Dongxiang Autonomous County/Wang Ji townshiies, Hubei Province/force
Chinese city/Xinzhou District/Wang Ji streets
Town_ Fan Cheng Henan Province/Luohe City/Linying County/numerous cities and towns, Shanxi Province/Xinzhou City/Fanzhi County/numerous
Cities and towns
Town_ milky way Henan Province/Zhengzhou City/Xinzheng City/milky way street, Jiangxi Province/Pingxiang City/Luxi County/
Milky way town
Town_ white rabbits Sichuan Province/Dazhou City/Qu County/white rabbit township, Jiangsu Province/Zhengjiang City/Jurong City/white rabbit
Town
Town_ longevities Hunan Province/Yueyang/Pingjiang County/longevity town, Hubei Province/Jingmen/Zhongxiang City/length
Shou Zhen, Heilongjiang Province/Harbin City/Shangzhi City/longevity township, Hebei province/Shijiazhuang City/Xinyue City/longevity street
Road
Inverted index constructed by the specific storage above method (is used as rope using low-level addresses rather than higher-level address
Tendering is known) when, index value can be replaced with numeral, then numeral is corresponded in specific index value.Example
Such as:
Town_ longevities 31,32,33
District_ Hong'an 3
Town_ white rabbits 25,26
Wherein, " 31 " corresponding index value is " Hunan Province/Yueyang/Pingjiang County/longevity town ";“32”
Corresponding index value is " Hubei Province/Jingmen/Zhongxiang City/longevity town ";" 33 " corresponding index value is " black
Longjiang province/Harbin City/Shangzhi City/longevity township ";" 3 " corresponding index value for " Hubei Province/Huanggang City/
Hong'an County ";" 25 " corresponding index value is " Sichuan Province/Dazhou City/Qu County/white rabbit township ".
Following examples set forth the progress how identified using the index built and index value is inputted to user
The inquiry of address, so as to obtain complete address information.
Shown in Figure 2, Fig. 2 is the flow chart for the another method that the embodiment of the present application is provided.This method is also
Including following operation.
S201, reads address information to be checked.
Address information can be continuous Chinese character string, generally be probably that no separator is significant each
Minimum semantic primitive is separated.Participle such as is carried out by handling station address string, from " Haidian District, Beijing City "
In, " Beijing ", " Haidian District " they are the minimum units with address semanteme, and " Jing Shi ", " city
Sea ", " shallow lake area ", " north ", " capital ", " city " etc. these be no address semanteme.
In one embodiment, address information to be checked is read, including:Read address information to be checked
In belong to place name lowest level place name.Those skilled in the art can be using different segmenting methods from even
The place name separated is obtained in continuous Chinese character string, such as " Beijing " " Haidian District ".
S202, index of the inquiry comprising address information to be checked is identified.
S203, obtains the index and identifies place name that corresponding index value included as the complete of address to be checked
Whole address information.
For example, user's input address is " Yuhang District bamboo seawater rhythm cell ", pass through above-mentioned S202 and S203
Operation obtains address result, i.e. sufficient address information for " Hangzhou, Zhejiang province city Yuhang District bamboo seawater rhythm is small
Area ".Idiographic flow:
Original state:Province is not filled by, and city is not filled by, and district is not filled by, and town is not filled out
Fill.First, it is " Yuhang District/bamboo seawater rhythm cell " by address participle, is then looked into according to " Yuhang District "
Ask comprising address information " Yuhang District " index mark to be checked, i.e. " district " and " Yuhang District "
Abbreviation " Yuhang " composition index mark " district_ Yuhang ", using index mark fall row rope
Draw middle lookup, then matching obtains the corresponding index value " Zhejiang Province/Hangzhou/Yuhang District " of index mark,
Detection current province, city, district are all in unfilled state, then by index value bag
The place name contained is used as the complete address information of address to be checked, i.e., three item fillings:Province=Zhejiang
Save, city=Hangzhous, district=Yuhang Districts, so that acquisition result.
Complete address information is inquired about, to enter the process of row address, finite automaton can be described as, or
Finite state automata.Finite state automata is made up of limited state, in the feelings of limited input
Under condition, shifted in these states and expect to be finally reached final state.The finite state number for referring to automatic machine
It is limited.Finite state automata can be divided into " determining finite state automata " (DFA according to certainty
- Deterministic finite automaton) and " non-determined finite automaton " (NFA-
Non-deterministic finite automaton).The application can be described as using DFA (it is determined that
Finite state automata or deterministic stresses) to solve address the problem of.
Specifically, address rank " province and district level city, area/county, small towns " is seen as a kind of state respectively,
One address grade of each state representation.As shown in figure 3, one has 6 states, S and E difference
Beginning and end state is represented, 1,2,3,4 represent province and district level city, area/county, four kinds of small towns ground respectively
Location state.The value included in address information to be checked is currency.Included when in address information to be checked
Multiple information of place names, can fill different currencys according to different address ranks.The tool of each state
Body processing method is as follows:
State S:Original state, i.e. province and district level city, area/county, four kinds of small towns field are sky.If to be checked
Comprising the information of place names (currency of province) saved in the address information of inquiry, then into S1:What province=was saved
Currency.If including the information of place names (currency in city) of prefecture-level city in address information to be checked, enter
Enter S2:The currency in city=cities.If (area works as the information of place names in address information to be checked comprising area
Preceding value), then into S3:The currency in district=areas.If including small towns in address information to be checked
Information of place names (currency in small towns), then into S4:The currency in town=small towns.
State 1:Save (province).11:Ignore currency, province does not make an amendment.
State 2:Prefecture-level city (city).12:With the index of the place name of the currency inquiry comprising the city in city
Mark, is searched in row chain, if finding index mark, compares the province in index value
The information of place names place name of city (be higher than) of province whether the province decided in state 1 whether phase
Deng being verified if equal successfully, the currency in city=cities, otherwise, ignore the currency in the city, i.e.,
The city's information included in address information to be checked is wrong.22:Ignore currency, city does not make an amendment.
State 3:Area/county.13:The index for inquiring about the place name comprising the district with district currency is identified,
If finding index mark, compare the province and state 1 in the corresponding index value of index mark
In the province that decides it is whether equal, if equal, the currency in district=districts, together
When due in address information to be checked, the information in Que Shao cities, then city-level address is used as city using on index value
Currency.If unequal, ignore the district information included in currency, i.e., address information to be checked
It is wrong.
23:The index for inquiring about the place name comprising the district with district currency is identified, and goes down in row chain to search,
If finding index mark, province, the city and state 1,2 being respectively compared in index value
In province, city for deciding it is whether equal, verified if equal successfully, district=
The currency in district, otherwise, ignores currency.33:Ignore currency, district does not make an amendment.
State 4:Small towns.14:Identified with the index of the place name of the currency inquiry comprising the small towns in small towns,
If finding index mark, compare the province and state 1 in the corresponding index value of index mark
In the province that decides it is whether equal, verified if equal successfully, the currency in town=small towns,
District=falls the district value (fall row chain i.e. index value) found in row chain, and city=falls and found in row chain
Market value, otherwise, ignore the currency in district.
24:Identified with the index of the place name of the currency inquiry comprising the small towns in small towns, if finding the rope
Tendering is known, if it is found, then comparing province, city and shape in the corresponding index value of index mark
Whether province, the city decided in state 1, state 2 be equal, is verified if equal successfully,
The currency in town=small towns, district=falls the district value found in row chain, otherwise, ignores district
Currency.
34:Identified with the index of the place name of the currency inquiry comprising the small towns in small towns, if finding the rope
Tendering is known, if it is found, then compare the province in the corresponding index value of index mark, city,
District and province, city, district decided in state 1, state 2, state 3
It is whether equal, verified if equal successfully, the currency in town=small towns, otherwise, ignore working as small towns
Preceding value.44:Ignore currency, town does not make an amendment.
State E:Done state.In following state, due to occurring in address information to be checked without ground
Location information or situation about can not match, then address is imperfect:
SE:Level Four address is sky
1E:Province is filled only with level Four address, address is imperfect
2E:Province, city are filled only with level Four address, address is imperfect
3E:Province, city, district are filled only with level Four address, address is imperfect
In 4E states:Province, city, district, town are filled in level Four address, are complete
Address.
Above state description is comprehensive and detailed State Transferring.In the examples below, there can be different tools
Body embodiment, may include state and the state transfer of part, that is, result in complete address information.
In one embodiment, address information to be checked is read, wherein, wrapped in address information to be checked
Containing multiple information of place names, multiple information of place names have the administrative division membership of continuous height different stage;
Recognize the height level order of the place name and each place name in multiple information of place names;Inquiry includes lowest level
The index mark of place name;Recognize the place name higher than lowest level in multiple information of place names whether with being obtained
The information of place names that is included of index value it is consistent;In response to the ground higher than lowest level in multiple information of place names
Name is consistent with the information of place names that the index value obtained is included, using multiple information of place names as to be checked
The complete address information of location.
In the above-described embodiments, it can be identified by the index for the place name for first inquiring about lowest level, due to minimum
The index of the place name of rank identifies corresponding index value and includes higher-level address, so as to be higher than most by comparing
Whether the place name of low level is consistent with the information of place names that the index value obtained is included, with to be checked when consistent
Multiple information of place names in the address information of inquiry as address to be checked complete address information.
In one embodiment, address information to be checked is read, wherein, wrapped in address information to be checked
Containing multiple information of place names, multiple information of place names have the administrative division membership of height different stage;Identification
The height level order of place name and each place name in multiple information of place names;Inquiry includes multiple place names respectively
Index mark;Whether the information of place names that the corresponding index value of the multiple index marks of identification is included is consistent;Response
The information of place names included in the corresponding index value of multiple index marks is consistent;To include lowest level place name
The information of place names that is included of index value as address to be checked complete address information.
In the above-described embodiments, can by first inquire about each place name index identify, so as to by than
Whether more each place name is consistent with the information of place names that the index value obtained is included.When consistent, due to most
The index of the place name of low level identifies corresponding index value and includes higher-level address, then can be to include lowest level
The information of place names that the index value of place name is included as address to be checked complete address information.
In one embodiment, multiple information of place names, multiple information of place names are included in address information to be checked
Administrative division membership with height different stage, this method also includes:Recognize in multiple information of place names
Place name and each place name height level order;Index of the inquiry comprising address information to be checked is identified,
Including:The index mark of place name of the inquiry comprising lowest level;
Obtain the index and identify place name that corresponding index value included as address to be checked intactly
Location information, including:
, to senior order, recognize at least one in multiple information of place names higher than lowest level according to by rudimentary
Place name it is whether consistent with the information of place names that the index value obtained is included;In response in multiple information of place names
At least one higher than lowest level place name it is consistent with the information of place names that the index value obtained is included, with
The place name that the index value is included as address to be checked complete address information.
In the above-described embodiments, it can be identified by first inquiring about the index of the place name comprising lowest level, so that
What the index value that can compare one or more high-level place names higher than lowest level with being obtained was included
Whether information of place names is consistent.When consistent, because the index of the place name of lowest level identifies corresponding index value
Comprising complete higher-level address, then the information of place names that can be included with the index value comprising lowest level place name
It is used as the complete address information of address to be checked.
In one embodiment, multiple information of place names, multiple information of place names are included in address information to be checked
Administrative division membership with height different stage, this method also includes:Recognize in multiple information of place names
Place name and each place name height level order;Index of the inquiry comprising address information to be checked is identified,
Including:The index mark of place name of the inquiry comprising lowest level;
Obtain the index and identify place name that corresponding index value included as address to be checked intactly
Location information, including:Recognize the place name higher than lowest level in multiple information of place names whether with being obtained
The information of place names that index value is included is consistent;In response to the place name higher than lowest level in multiple information of place names
Consistent with the information of place names that the index value obtained is included, the place name included using the index value is as treating
Inquire about the complete address information of address.
In the above-described embodiments, it can be identified by first inquiring about the index of the place name comprising lowest level, so that
The place name included all higher than the high-level place name and the index value that is obtained of lowest level can be compared to believe
Whether breath is consistent.When consistent, height is included because the index of the place name of lowest level identifies corresponding index value
Level address, then the information of place names that can be included using the index value comprising lowest level place name is as to be checked
The complete address information of location.
In one embodiment, when the index mark of the place name comprising lowest level corresponds to multiple different ropes
Draw value;Place name that corresponding index value included is identified as the complete of address to be checked obtaining the index
In the operation of address information, it can specifically include:The target index value in multiple index values is recognized, wherein,
Target index value is higher than the place name of lowest level comprising at least one in multiple information of place names;Indexed with target
The place name that value is included as address to be checked complete address information.
Referring to Fig. 4, Fig. 4 is the schematic flow sheet for the another method that the embodiment of the present application is provided.Pass through inquiry
And ID or domestic data are obtained, level Four address date is obtained, so as to set up dictionary and inverted index (rope
Tendering knowledge and index value).Row address participle entered to the address text that user inputs, is obtained to result as treating
The address information of inquiry, according to above-mentioned DFA State Transferrings, using index mark and index value acquisitionization result,
That is complete address information.
Shown in Figure 5, Fig. 5 is the schematic diagram for the first device that the embodiment of the present application is provided.The present invention is carried
The processing unit of address information in a kind of logistics system supplied, including:
Data query unit 501, for inquiring about and obtaining address data information, address data information includes ground
The address zoning hierarchical relationship chain of name and place name, address zoning hierarchical relationship chain includes administrative area from high to low
Draw membership;
Setting unit 502 is indexed, for for each place name, setting up index mark corresponding with the place name,
Index mark includes the rank of the place name and the place name in address zoning hierarchical relationship chain;Index mark pair is set
The index value answered is the ground on the address zoning hierarchical relationship chain of the place name from highest level untill the place name
Name;
Memory cell 503, for storage index mark and the corresponding index value of index mark, is treated with basis
Address information is inquired about, index of the inquiry comprising address information to be checked is identified, so as to obtain index mark phase
The place name that corresponding index value is included as address to be checked complete address information.
In a kind of device embodiment, the device also includes:
Recognition unit 504, for recognizing whether that identical index mark has different index values;
Memory cell 503, being additionally operable to have different index values in response to there is identical index mark, depositing
One index mark of storage and the corresponding multiple different index values of index mark.
Shown in Figure 6, Fig. 6 is the schematic diagram for the first device that the embodiment of the present application is provided.In one kind dress
Put in embodiment, the device also includes:
Inquire about address reading unit 601, the address information to be checked for reading;
Search index unit 602, is identified for inquiring about the index comprising address information to be checked;
Query Result acquiring unit 603, the ground that corresponding index value is included is identified for obtaining the index
Name as address to be checked complete address information.
Similar with Fig. 6 relative to Fig. 5 in a kind of device embodiment, the device also includes:Look into
Inquiry address reading unit 601, the address information to be checked for reading, wherein, address information to be checked
In include multiple information of place names, the administrative division that multiple information of place names have continuous height different stage is subordinate to
Relation;Recognition unit 504, the place name for being additionally operable to recognize in multiple information of place names and each place name it is high rudimentary
Not not sequentially;Device also includes:
Search index unit 602, the index mark for inquiring about the place name comprising lowest level;
Query Result acquiring unit 603, for recognizing the place name higher than lowest level in multiple information of place names
It is whether consistent with the information of place names that the index value obtained is included;In response to the height in multiple information of place names
It is consistent with the information of place names that the index value obtained is included in the place name of lowest level, believed with multiple place names
Cease the complete address information as address to be checked.
Similar with Fig. 6 relative to Fig. 5 in a kind of device embodiment, the device also includes:
Inquiry address reading unit 601, the address information to be checked for reading, wherein, ground to be checked
Multiple information of place names are included in the information of location, the administrative division that multiple information of place names have height different stage is subordinate to
Relation;Recognition unit 504, the place name for being additionally operable to recognize in multiple information of place names and each place name it is high rudimentary
Not not sequentially;The device also includes:
Search index unit 602, for inquiring about the index mark comprising multiple place names respectively;
Query Result acquiring unit 603, for recognizing the ground that the corresponding index value of multiple index marks is included
Whether name information is consistent;The information of place names included in response to the corresponding index value of multiple index marks is consistent,
Full address of the information of place names included using the index value comprising lowest level place name as address to be checked
Information.
In a kind of device embodiment, wherein, multiple information of place names are included in address information to be checked, it is many
Individual information of place names has the administrative division membership of height different stage;
Recognition unit 504, the place name and the high low level of each place name for being additionally operable to recognize in multiple information of place names
Sequentially;
Search index unit 602, is additionally operable to the index mark of place name of the inquiry comprising lowest level;
Query Result acquiring unit 603, is additionally operable to, to senior order, recognize multiple place names according to by rudimentary
In information at least one higher than lowest level place name whether the place name included with the index value that is obtained
Information is consistent;In response at least one in multiple information of place names is higher than the place name of lowest level and is obtained
The information of place names that index value is included is consistent, and the complete of address to be checked is used as using the place name that the index value is included
Whole address information.
In a kind of device embodiment, multiple information of place names, multiple place names are included in address information to be checked
Information has the administrative division membership of height different stage;
Recognition unit 504, the place name and the high low level of each place name for being additionally operable to recognize in multiple information of place names
Sequentially;
Search index unit 602, is additionally operable to the index mark of place name of the inquiry comprising lowest level;
Query Result acquiring unit 603, is additionally operable to recognize the ground higher than lowest level in multiple information of place names
Whether name is consistent with the information of place names that the index value obtained is included;In response in multiple information of place names
Place name higher than lowest level is consistent with the information of place names that the index value obtained is included, with the index value
Comprising place name as address to be checked complete address information.
In a kind of device embodiment, the index mark of the place name comprising lowest level is corresponding to multiple different
Index value;Query Result acquiring unit 603, is additionally operable to recognize the target index value in multiple index values, its
In, target index value is higher than the place name of lowest level comprising at least one in multiple information of place names;With target
The place name that index value is included as address to be checked complete address information.
In a kind of device embodiment, address reading unit 601, the address letter to be checked for reading are inquired about
Belong to the place name of the lowest level of place name in breath.
The technical scheme provided by the application, can know part accurately in the case of address information,
By the address information completion of missing, the address of typing mistake is corrected, nonstandard inputization, so that
Obtain sufficient address information.Simplify the complexity of address by using the method searched from inverted index chain
Logic flow, the time of address is changed with space, while simplifying the complex operation degree of user.
As seen through the above description of the embodiments, those skilled in the art can be understood that this
Application can add the mode of required general hardware platform to realize by software.Understood based on such, this Shen
The part that technical scheme please substantially contributes to prior art in other words can be with the shape of software product
Formula is embodied, and the computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc,
CD etc., including some instructions to cause a computer equipment (can be personal computer, server,
Or the network equipment etc.) perform method described in some parts of each embodiment of the application or embodiment.
Each embodiment in this specification is described by the way of progressive, identical phase between each embodiment
As part mutually referring to what each embodiment was stressed is the difference with other embodiment.
For system or system embodiment, because it is substantially similar to embodiment of the method, so description
Obtain fairly simple, the relevent part can refer to the partial explaination of embodiments of method.System described above and
System embodiment be only it is schematical, wherein the unit illustrated as separating component can be or
It can not be physically separate, the part shown as unit can be or may not be physical location,
A place can be located at, or can also be distributed on multiple NEs.Can be according to actual need
Some or all of module therein is selected to realize the purpose of this embodiment scheme.Ordinary skill
Personnel are without creative efforts, you can to understand and implement.
Above to the processing method and processing device of address information in logistics system provided herein, carry out in detail
Thin to introduce, specific case used herein is set forth to the principle and embodiment of the application, the above
The explanation of embodiment is only intended to help and understands the present processes and its core concept;Simultaneously for ability
The those skilled in the art in domain, according to the thought of the application, have in specific embodiments and applications
Change part.In summary, this specification content should not be construed as the limitation to the application.
Claims (18)
1. the processing method of address information in a kind of logistics system, it is characterised in that including:
Inquire about and obtain address data information, the address data information includes the address of place name and the place name
Zoning hierarchical relationship chain, the address zoning hierarchical relationship chain includes administrative division membership from high to low;
For each place name, index mark corresponding with the place name is set up, the index mark includes the ground
The rank of name and the place name in the address zoning hierarchical relationship chain;
It is from most on the address zoning hierarchical relationship chain of the place name to set the corresponding index value of the index mark
The senior place name being clipped to untill the place name;
The storage index mark and the corresponding index value of the index mark, to be believed according to address to be checked
Breath, index of the inquiry comprising the address information to be checked is identified, so that it is corresponding to obtain index mark
The place name that index value is included as the address to be checked complete address information.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Identical index mark is recognized whether, with different index values;
In response to exist identical index mark have different index values, storage one it is described index mark with
And the index identifies corresponding multiple different index values.
3. method according to claim 2, it is characterised in that methods described also includes:
Read address information to be checked;
Index of the inquiry comprising the address information to be checked is identified;
Obtain the index and identify place name that corresponding index value included as the complete of the address to be checked
Whole address information.
4. method according to claim 2, it is characterised in that methods described also includes:
Address information to be checked is read, wherein, believe in the address information to be checked comprising multiple place names
Breath, the multiple information of place names has the administrative division membership of continuous height different stage;
Recognize the height level order of the place name and each place name in the multiple information of place names;
The index mark of place name of the inquiry comprising lowest level;
Recognize the place name higher than the lowest level in the multiple information of place names whether with being obtained
The information of place names that index value is included is consistent;
In response to the rope higher than the place name of the lowest level with being obtained in the multiple information of place names
Draw the information of place names that value included consistent, the complete of the address to be checked is used as using the multiple information of place names
Address information.
5. method according to claim 2, it is characterised in that methods described also includes:
Address information to be checked is read, wherein, believe in the address information to be checked comprising multiple place names
Breath, the multiple information of place names has the administrative division membership of height different stage;
Recognize the height level order of the place name and each place name in the multiple information of place names;
Index of the inquiry comprising the multiple place name is identified respectively;
Whether the information of place names that the corresponding index value of the multiple index mark of identification is included is consistent;
The information of place names included in response to the corresponding index value of the multiple index mark is consistent;
The information of place names included using the index value comprising the lowest level place name is as described to be checked
The complete address information of location.
6. method according to claim 3, it is characterised in that wherein, the address to be checked
Multiple information of place names are included in information, the administrative division that the multiple information of place names has height different stage is subordinate to
Category relation, methods described also includes:
Recognize the height level order of the place name and each place name in the multiple information of place names;
The index of the inquiry comprising the address information to be checked is identified, including:Inquiry includes lowermost level
The index mark of other place name;
The place name that the corresponding index value of acquisition index mark is included is as the address to be checked
Complete address information, including:
, to senior order, recognize at least one in the multiple information of place names higher than described according to by rudimentary
Whether the place name of lowest level is consistent with the information of place names that the index value obtained is included;
Place name in response at least one in the multiple information of place names higher than the lowest level is with being obtained
The information of place names that is included of index value it is consistent, the place name included using the index value is as described to be checked
The complete address information of address.
7. method according to claim 3, it is characterised in that wherein, the address to be checked
Multiple information of place names are included in information, the administrative division that the multiple information of place names has height different stage is subordinate to
Category relation, methods described also includes:
Recognize the height level order of the place name and each place name in the multiple information of place names;
The index of the inquiry comprising the address information to be checked is identified, including:Inquiry includes lowermost level
The index mark of other place name;
The place name that the corresponding index value of acquisition index mark is included is as the address to be checked
Complete address information, including:
Recognize the place name higher than the lowest level in the multiple information of place names whether with being obtained
The information of place names that index value is included is consistent;
In response to the rope higher than the place name of the lowest level with being obtained in the multiple information of place names
Draw the information of place names that value included consistent, the address to be checked is used as using the place name that the index value is included
Complete address information.
8. method according to claim 6, it is characterised in that wherein, described to include lowest level
Place name index mark correspond to multiple different index values;
The place name that the corresponding index value of acquisition index mark is included is as the address to be checked
Complete address information, including:
The target index value in multiple index values is recognized, wherein, the target index value is comprising the multiplely
Name information at least one be higher than the lowest level place name;
Complete address information of the place name included using the target index value as the address to be checked.
9. method according to claim 6, it is characterised in that wherein, the reading is to be checked
Address information, including:
Read the place name for the lowest level for belonging to place name in address information to be checked.
10. the processing unit of address information in a kind of logistics system, it is characterised in that including:
Data query unit, for inquiring about and obtaining address data information, the address data information includes ground
The address zoning hierarchical relationship chain of name and the place name, the address zoning hierarchical relationship chain is included from high to low
Administrative division membership;
Setting unit is indexed, for for each place name, setting up index mark corresponding with the place name, institute
Stating index mark includes the rank of the place name and the place name in the address zoning hierarchical relationship chain;Set described
The corresponding index value of index mark is from highest level to the ground on the address zoning hierarchical relationship chain of the place name
Place name untill name;
Memory cell, for storing the index mark and the corresponding index value of the index mark, with root
According to address information to be checked, index of the inquiry comprising the address information to be checked is identified, so as to obtain the rope
The place name that the sensible corresponding index value of tendering is included as the address to be checked complete address information.
11. device according to claim 10, it is characterised in that described device also includes:
Recognition unit, for recognizing whether that identical index mark has different index values;
The memory cell, being additionally operable to have different index values in response to there is identical index mark, depositing
The index mark of storage one and the corresponding multiple different index values of the index mark.
12. device according to claim 11, it is characterised in that described device also includes:
Inquire about address reading unit, the address information to be checked for reading;
Search index unit, is identified for inquiring about the index comprising the address information to be checked;
Query Result acquiring unit, the ground masterpiece that corresponding index value is included is identified for obtaining the index
For the complete address information of the address to be checked.
13. device according to claim 11, it is characterised in that described device also includes:
Inquiry address reading unit, the address information to be checked for reading, wherein, the ground to be checked
Multiple information of place names are included in the information of location, the multiple information of place names has the row of continuous height different stage
Draw membership in administrative division;
The recognition unit, the place name and the height of each place name for being additionally operable to recognize in the multiple information of place names
Level order;
Described device also includes:
Search index unit, the index mark for inquiring about the place name comprising lowest level;
Query Result acquiring unit, for recognize in the multiple information of place names higher than the lowest level
Whether place name is consistent with the information of place names that the index value obtained is included;In response to the multiple place name letter
The place name higher than the lowest level in breath is consistent with the information of place names that the index value obtained is included,
The complete address information of the address to be checked is used as using the multiple information of place names.
14. device according to claim 11, it is characterised in that described device also includes:
Inquiry address reading unit, the address information to be checked for reading, wherein, the ground to be checked
Multiple information of place names are included in the information of location, the multiple information of place names has the administrative division of height different stage
Membership;
The recognition unit, the place name and the height of each place name for being additionally operable to recognize in the multiple information of place names
Level order;
Described device also includes:
Search index unit, for inquiring about the index mark comprising the multiple place name respectively;
Query Result acquiring unit, for recognizing the ground that the corresponding index value of the multiple index mark is included
Whether name information is consistent;The information of place names included in response to the corresponding index value of the multiple index mark is equal
Unanimously, the information of place names included using the index value comprising the lowest level place name is as described to be checked
The complete address information of location.
15. device according to claim 12, it is characterised in that wherein, the ground to be checked
Multiple information of place names are included in the information of location, the multiple information of place names has the administrative division of height different stage
Membership;
The recognition unit, the place name and the height of each place name for being additionally operable to recognize in the multiple information of place names
Level order;
The search index unit, is additionally operable to the index mark of place name of the inquiry comprising lowest level;
The Query Result acquiring unit, is additionally operable to, to senior order, recognize the multiple according to by rudimentary
Whether at least one in information of place names is wrapped higher than the place name of the lowest level with the index value that is obtained
The information of place names contained is consistent;It is higher than the lowest level in response at least one in the multiple information of place names
Place name it is consistent with the information of place names that the index value obtained is included, the ground masterpiece included with the index value
For the complete address information of the address to be checked.
16. device according to claim 12, it is characterised in that wherein, the ground to be checked
Multiple information of place names are included in the information of location, the multiple information of place names has the administrative division of height different stage
Membership;
The recognition unit, the place name and the height of each place name for being additionally operable to recognize in the multiple information of place names
Level order;
The search index unit, is additionally operable to the index mark of place name of the inquiry comprising lowest level;
The Query Result acquiring unit, be additionally operable to recognize in the multiple information of place names higher than described minimum
Whether the place name of rank is consistent with the information of place names that the index value obtained is included;In response to the multiple
The place name that the place name higher than the lowest level in information of place names is included with the index value that is obtained is believed
Breath is consistent, complete address information of the place name included using the index value as the address to be checked.
17. device according to claim 15, it is characterised in that wherein, described to include lowermost level
The index mark of other place name corresponds to multiple different index values;
The Query Result acquiring unit, is additionally operable to recognize the target index value in multiple index values, wherein,
The target index value is higher than the ground of the lowest level comprising at least one in the multiple information of place names
Name;Complete address information of the place name included using the target index value as the address to be checked.
18. device according to claim 15, it is characterised in that wherein, the inquiry address is read
Unit is taken, belongs to the place name of the lowest level of place name in address information to be checked for reading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610066632.7A CN107025232A (en) | 2016-01-29 | 2016-01-29 | The processing method and processing device of address information in logistics system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610066632.7A CN107025232A (en) | 2016-01-29 | 2016-01-29 | The processing method and processing device of address information in logistics system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107025232A true CN107025232A (en) | 2017-08-08 |
Family
ID=59524045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610066632.7A Pending CN107025232A (en) | 2016-01-29 | 2016-01-29 | The processing method and processing device of address information in logistics system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107025232A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108171774A (en) * | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of post card making method and relevant device |
CN109784308A (en) * | 2019-02-01 | 2019-05-21 | 腾讯科技(深圳)有限公司 | A kind of address error correction method, device and storage medium |
CN110245277A (en) * | 2019-06-12 | 2019-09-17 | 杭州数澜科技有限公司 | For determining the method and system of place name string |
CN111198954A (en) * | 2019-11-28 | 2020-05-26 | 深圳市跨越新科技有限公司 | Method and system for structured analysis of order placement address |
CN111324679A (en) * | 2018-12-14 | 2020-06-23 | 阿里巴巴集团控股有限公司 | Method, device and system for processing address information |
CN111723164A (en) * | 2019-03-18 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Address information processing method and device |
CN113157762A (en) * | 2020-12-31 | 2021-07-23 | 南威软件股份有限公司 | Normalization method and system based on fuzzy hierarchy geographical position and data processing terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073724A (en) * | 2011-01-11 | 2011-05-25 | 深圳市络道科技有限公司 | System and method for automatically identifying Chinese address subscribers |
CN103440312A (en) * | 2013-08-27 | 2013-12-11 | 深圳市华傲数据技术有限公司 | System and terminal for inquiring zip code for mailing address |
CN103473289A (en) * | 2013-08-30 | 2013-12-25 | 深圳市华傲数据技术有限公司 | Device and method for completing communication addresses |
CN104375992A (en) * | 2013-08-12 | 2015-02-25 | 中国移动通信集团浙江有限公司 | Address matching method and device |
CN104537062A (en) * | 2014-12-29 | 2015-04-22 | 北京牡丹电子集团有限责任公司数字电视技术中心 | Address information extracting method and system |
CN105069056A (en) * | 2015-07-24 | 2015-11-18 | 湖北文理学院 | Character string matching based method and system for analyzing address information of identification card |
-
2016
- 2016-01-29 CN CN201610066632.7A patent/CN107025232A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073724A (en) * | 2011-01-11 | 2011-05-25 | 深圳市络道科技有限公司 | System and method for automatically identifying Chinese address subscribers |
CN104375992A (en) * | 2013-08-12 | 2015-02-25 | 中国移动通信集团浙江有限公司 | Address matching method and device |
CN103440312A (en) * | 2013-08-27 | 2013-12-11 | 深圳市华傲数据技术有限公司 | System and terminal for inquiring zip code for mailing address |
CN103473289A (en) * | 2013-08-30 | 2013-12-25 | 深圳市华傲数据技术有限公司 | Device and method for completing communication addresses |
CN104537062A (en) * | 2014-12-29 | 2015-04-22 | 北京牡丹电子集团有限责任公司数字电视技术中心 | Address information extracting method and system |
CN105069056A (en) * | 2015-07-24 | 2015-11-18 | 湖北文理学院 | Character string matching based method and system for analyzing address information of identification card |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108171774A (en) * | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of post card making method and relevant device |
CN111324679A (en) * | 2018-12-14 | 2020-06-23 | 阿里巴巴集团控股有限公司 | Method, device and system for processing address information |
CN111324679B (en) * | 2018-12-14 | 2023-04-11 | 阿里巴巴集团控股有限公司 | Method, device and system for processing address information |
CN109784308A (en) * | 2019-02-01 | 2019-05-21 | 腾讯科技(深圳)有限公司 | A kind of address error correction method, device and storage medium |
CN111723164A (en) * | 2019-03-18 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Address information processing method and device |
CN111723164B (en) * | 2019-03-18 | 2023-12-12 | 阿里巴巴集团控股有限公司 | Address information processing method and device |
CN110245277A (en) * | 2019-06-12 | 2019-09-17 | 杭州数澜科技有限公司 | For determining the method and system of place name string |
CN111198954A (en) * | 2019-11-28 | 2020-05-26 | 深圳市跨越新科技有限公司 | Method and system for structured analysis of order placement address |
CN111198954B (en) * | 2019-11-28 | 2023-08-22 | 深圳市跨越新科技有限公司 | Method and system for analyzing ordering address structuring |
CN113157762A (en) * | 2020-12-31 | 2021-07-23 | 南威软件股份有限公司 | Normalization method and system based on fuzzy hierarchy geographical position and data processing terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107025232A (en) | The processing method and processing device of address information in logistics system | |
CN105069056B (en) | Identity certificate address information analytic method and system based on string matching | |
CN102955833B (en) | A kind of address identification, standardized method | |
CN104572645B (en) | Interest point data association method and device | |
CN103123618B (en) | Text similarity acquisition methods and device | |
CN106909611B (en) | Hotel automatic matching method based on text information extraction | |
CN106528526B (en) | A kind of Chinese address semanteme marking method based on Bayes's segmentation methods | |
CN108038090B (en) | A kind for the treatment of method and apparatus of Text Address | |
CN103440311A (en) | Method and system for identifying geographical name entities | |
CN102955832B (en) | A kind of address identification, standardized system | |
CN106202028A (en) | A kind of address information recognition methods and device | |
WO2022100154A1 (en) | Artificial intelligence-based address standardization method and apparatus, device and storage medium | |
CN104679801A (en) | Point of interest searching method and point of interest searching device | |
CN107463711B (en) | Data tag matching method and device | |
CN112528174A (en) | Address finishing and complementing method based on knowledge graph and multiple matching and application | |
CN109359174B (en) | Administrative division belongs to recognition methods, device, storage medium and computer equipment | |
CN106959961A (en) | A kind of Address Recognition method and device | |
CN112256821B (en) | Chinese address completion method, device, equipment and storage medium | |
CN103020038A (en) | Internet public opinion regional relevance computing method | |
CN111190873B (en) | Log mode extraction method and system for log training of cloud native system | |
CN116414824A (en) | Administrative division information identification and standardization processing method, device and storage medium | |
CN115688779A (en) | Address recognition method based on self-supervision deep learning | |
CN103309851B (en) | The rubbish recognition methods of short text and system | |
CN104615782A (en) | Address matching method based on sliding window maximum matching algorithm | |
CN112069824B (en) | Region identification method, device and medium based on context probability and citation |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180411 Address after: Four story 847 mailbox of the capital mansion of Cayman Islands, Cayman Islands, Cayman Applicant after: CAINIAO SMART LOGISTICS HOLDING Ltd. Address before: Cayman Islands Grand Cayman capital building a four storey No. 847 mailbox Applicant before: ALIBABA GROUP HOLDING Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170808 |