CN103279523A - Method and device for processing address information - Google Patents

Method and device for processing address information Download PDF

Info

Publication number
CN103279523A
CN103279523A CN2013102057090A CN201310205709A CN103279523A CN 103279523 A CN103279523 A CN 103279523A CN 2013102057090 A CN2013102057090 A CN 2013102057090A CN 201310205709 A CN201310205709 A CN 201310205709A CN 103279523 A CN103279523 A CN 103279523A
Authority
CN
China
Prior art keywords
address information
administrative area
administrative
title
described address
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
Application number
CN2013102057090A
Other languages
Chinese (zh)
Inventor
崔鹏
朱林浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN2013102057090A priority Critical patent/CN103279523A/en
Publication of CN103279523A publication Critical patent/CN103279523A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and device for processing address information. The method and device for processing the address information can enable a user to provide a shipping address conveniently. The method comprises the steps of confirming the number of administrative division names in received address information; searching the geographic name contained in the address information in a prestored geographic name collection under the condition that the number is zero, and adding the name of the administrative region which the geographic name belongs to the address information and then outputting the name of the administrative region; adding the name of the superior administrative region of the administrative region in the address information to the address information and outputting the name of the superior administrative region.

Description

A kind of method and apparatus of handling address information
Technical field
The present invention relates to a kind of method and apparatus of handling address information.
Background technology
In ecommerce, generally need the buyer that ship-to is provided.Present common way is to be selected the administrative area title more than the two-stage and filled in concrete street, number etc. in the list of the webpage that the server of ecommerce provides by the buyer.Fig. 1 is the synoptic diagram according to a kind of address of the prior art User Interface.As shown in Figure 1, it is a part of address User Interface in the square frame 10, three drop- down lists 11,12,13 are wherein arranged, and wherein are the administrative area title in the drop-down list 11,12, for example in the drop-down list 11 in selecteed " Beijing " and the drop-down list 12 selecteed " Chaoyang District ".Other has a text input frame 14 to be used for filling in concrete street and buildings address.
With upper type in actual applications, bring some inconvenience to the user sometimes.For example need in drop-down list, select the administrative area, need in long tabulation, select one by one user under the many situations in administrative area; And for example which administrative area the position at some user and unclear own place belongs to, particularly some user is that group other places or foreign buyer carry out net purchase, often only know the administrative area title of the residing minimum one-level of this buyer, and do not know upwards one or more levels administrative area.
Summary of the invention
In view of this, the invention provides a kind of method and apparatus of handling address information, can make things convenient for the user that ship-to is provided.
For achieving the above object, according to an aspect of the present invention, provide a kind of method of handling address information.
The method of processing address information of the present invention comprises: the number of the administrative division title in the address information of determining to receive; Be under 0 the situation, to search the place name that is included in the described address information in the place name set that prestores at described number, the administrative area title of adding in described address information under this place name is exported then; Be under 1 the situation, in described address information, to add the higher level administrative area title in the administrative area in this address information and export then at described number.
Alternatively, under described number is situation more than 2, export then according to administrative division title and administrative area title that the preset order of administrative division title is adjusted in the described address information.
Alternatively, be 0 at described number, and there are two above administrative areas to comprise under the situation of the place name in the described address information, described step of adding the administrative area title under this place name in described address information comprises: determine the administrative area at described address information transmit leg place, add this administrative area title in described address information.
Alternatively, be 1 at described number, and the next stage administrative area title that two above administrative areas are arranged is under the situation of the administrative area title in the described address information, the step of adding the higher level administrative area title in the administrative area in this address information in described address information comprises: determine the administrative area at described address information transmit leg place, add this administrative area title in described address information.
Alternatively, determine that the step in the administrative area at described address information transmit leg place comprises: obtain the IP address of described address information transmit leg, with the administrative area as described address information transmit leg place, the administrative area of this IP address correspondence.
Alternatively, described address information is the ship-to of the buyer in the ecommerce.
According to a further aspect in the invention, provide a kind of device of handling address information.
The device of processing address information of the present invention comprises: determination module is used for determining the number of the administrative division title of the address information received; First output module is used for searching the place name that is included in the described address information in the place name set that prestores under described number is 0 situation, and the administrative area title of adding in described address information under this place name is exported then; Second output module is used for adding the higher level administrative area title in the administrative area in this address information and to export then in described address information under described number is 1 situation.
Alternatively, also comprise the 3rd output module, be used under described number is situation more than 2, exporting then according to administrative division title and administrative area title that the preset order of administrative division title is adjusted in the described address information.
Alternatively, also comprise detection module, be used for determining administrative area, described address information transmit leg place; It is 0 that described first output module also is used at described number, and has two above administrative areas to comprise under the situation of the place name in the described address information, adds the administrative area title in administrative area, described address information transmit leg place in described address information; It is 1 that described second output module also is used at described number, and the next stage administrative area title that two above administrative areas are arranged is under the situation of the administrative area title in the described address information, adds the administrative area title in administrative area, described address information transmit leg place in described address information.
Alternatively, described address information is the ship-to of the buyer in the ecommerce.
According to technical scheme of the present invention, comprising less administrative division information in the address information that server is received does not even comprise under the situation of administrative division information, thereby can insert administrative division information automatically and form sufficient address information, need not the user selects in drop-down menu, and under the situation of the not clear administrative division information of user, also can obtain sufficient address information, more convenient concerning the user, also help to reduce user's literal input quantity.Particularly in e-commerce field, when the not clear ship-to of user for example helps the buyer of other places or foreign country to carry out net purchase, use the technical scheme of the embodiment of the invention more to help the user to provide complete ship-to.
Description of drawings
Accompanying drawing is used for understanding the present invention better, does not constitute improper restriction of the present invention.Wherein:
Fig. 1 is the synoptic diagram according to a kind of address of the prior art User Interface;
Fig. 2 is the synoptic diagram according to the basic step of the method for the processing address information of the embodiment of the invention;
Fig. 3 is the basic structure synoptic diagram according to the device of the processing address information of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing one exemplary embodiment of the present invention is explained, to help understanding, they should be thought it only is exemplary comprising the various details of the embodiment of the invention.Therefore, those of ordinary skills will be appreciated that, can make various changes and modification to the embodiments described herein, and can not deviate from scope and spirit of the present invention.Equally, for clarity and conciseness, omitted the description to known function and structure in the following description.
Fig. 2 is the synoptic diagram according to the basic step of the method for the processing address information of the embodiment of the invention.This method can be carried out by the server of ecommerce.
Step S21: receiver address information.In this step, the user directly fills in the list of the webpage that the server of ecommerce provides in the mode of natural language and gets final product.
Step S22: the number of the administrative division title in the address information of determining to receive.The administrative division title of China is as follows:
Provincial administrative division title: province, autonomous region, (being directly under the jurisdiction of) city, special administrative region;
Title is drawn in the local administrative area: area, alliance, autonomous prefecture, (region) city;
Title is drawn by administrative areas at the county level: county, autonomous county, flag, automonous banner, (at county level) city, (city's linchpin) district, forest zone, special zone;
Township level administrative division title: township, national countryside, town, street, bush, national bush, (township level) directorial area, (county's linchpin) district, (county's linchpin) city (Taiwan Province is ad hoc);
At village level administrative division title: village and community district, (at village level) directorial area;
Group level administrative division title: villager group, community resident group.
For example the administrative division title that comprises in " Hangzhou, Zhejiang province city " is " province " and " city ", and the administrative area title that comprises is " Zhejiang " and " Hangzhou ".
The number of the administrative division title of determining in this step is under 2,1,0 the situation, to enter step S231, S241, S251 respectively.The definite of this number can take regular expression to realize.
Step S231: according to administrative division title and the administrative area title in the preset order adjustment address information of administrative division title.This is a kind of preferred mode, namely according to people's custom address information is made adjustment.For example the custom of China is to express the administrative area by order from big to small, and some country is then opposite.
Step S232: the address information after adjusting among the output step S231.
Be 1 situation for above-mentioned number, S241 and step S242 handle set by step.
Step S241: the higher level administrative area title of in address information, adding the administrative area in this address information.In this step, specifically can read a file, this document recorded each administrative area and between subordinate relation, so just can determine the higher level administrative area in the administrative area in the address information.This document can be the administrative area information of a plurality of countries of record.
Step S242: the address information after the administrative division title that adds line among the output step S241.In some cases, can form two address informations.For example the address information of receiving among the step S21 be " Chaoyang District * * street * * number ... ", then can form " Chaoyang District, Beijing City * * street * * number ... " and " Chaoyang District, Changchun * * street * * number ... ", this is because there is the Chaoyang District Beijing and Changchun.In this case, a kind of mode is by the way in this step, two address informations is all exported then selected by the user; Another kind of mode is to determine the position at user place earlier, for example goes up example, determines that according to the terminal equipment IP address that the user uses its city, place is Beijing or Changchun, exports 1 address information accordingly.
Be 0 situation for above-mentioned number, S251 handles to step S253 set by step.
Step S251: in the place name set that prestores, search the place name that is included in the address information.In this step, specifically can read a file, this document has been preserved a plurality of place names, and these place names have constituted a set.According to the analysis to a large amount of addresses natural language, find not comprise the address information of administrative division title, generally used place name vocabulary sanctified by usage and that popularity is higher, for example " Wangfujing ", " Pan Jiayuan " etc.So main in above-mentioned file what preserve is exactly these place names, also preserved these place names one or more levels administrative area title under separately in addition.This document can record the place name of a plurality of countries.
Step S252: the administrative area title under the place name that finds among the step S251 is added in the address information.Like this with regard to completion this address information.
Step S253: the address information of completion among the output step S252.In some cases, same place name may appear in a plurality of cities, is similar to previously described mode this moment, determines administrative area, information sender place, address earlier, and only the address information of this administrative area title has been added in output then.
Fig. 3 is the basic structure synoptic diagram according to the device of the processing address information of the embodiment of the invention.As shown in Figure 3, the device 30 of processing address information mainly comprises determination module 31, first output module 32, second output module 33.
Determination module 31 is for the number of the administrative division title of the address information of determining to receive; First output module 32 is used for searching the place name that is included in the described address information in the place name set that prestores under described number is 0 situation, and the administrative area title of adding in described address information under this place name is exported then; Second output module 33 is used for adding the higher level administrative area title in the administrative area in this address information and export then in described address information under described number is 1 situation.
The device 30 of handling address information also can comprise the 3rd output module (not shown), be used under the number that determination module 31 is determined is situation more than 2, exporting then according to administrative division title and administrative area title that the preset order of administrative division title is adjusted in the address information.
The device 30 of handling address information also can comprise the detection module (not shown), is used for determining administrative area, described address information transmit leg place; Like this, it is 0 that first output module 32 also is used in described number, and has two above administrative areas to comprise under the situation of the place name in the described address information, adds the administrative area title in administrative area, described address information transmit leg place in address information; It is 1 that second output module 33 also is used at number, and the next stage administrative area title in two above administrative areas is arranged is under the situation of the administrative area title in the address information, adds the administrative area title in administrative area, address information transmit leg place in address information.
Technical scheme according to the embodiment of the invention, comprising less administrative division information in the address information that server is received does not even comprise under the situation of administrative division information, thereby can insert administrative division information automatically and form sufficient address information, need not the user selects in drop-down menu, and under the situation of the not clear administrative division information of user, also can obtain sufficient address information, more convenient concerning the user, also help to reduce user's literal input quantity.Particularly in e-commerce field, when the not clear ship-to of user for example helps the buyer of other places or foreign country to carry out net purchase, use the technical scheme of the embodiment of the invention more to help the user to provide complete ship-to.
Ultimate principle of the present invention has below been described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, can understand whole or any steps or the parts of method and apparatus of the present invention, can be in the network of any calculation element (comprising processor, storage medium etc.) or calculation element, realized that with hardware, firmware, software or their combination this is that those of ordinary skills use their basic programming skill just can realize under the situation of having read explanation of the present invention.
Therefore, purpose of the present invention can also be by realizing in any program of calculation element operation or batch processing.Described calculation element can be known fexible unit.Therefore, purpose of the present invention also can be only by providing the program product that comprises the program code of realizing described method or device to realize.That is to say that such program product also constitutes the present invention, and the storage medium that stores such program product also constitutes the present invention.Obviously, described storage medium can be any storage medium of developing in any known storage medium or future.
It is pointed out that also that in apparatus and method of the present invention obviously, each parts or each step can decompose and/or reconfigure.These decomposition and/or reconfigure and to be considered as equivalents of the present invention.And, carry out the step of above-mentioned series of processes and can order following the instructions naturally carry out in chronological order, but do not need necessarily to carry out according to time sequencing.Some step can walk abreast or carry out independently of one another.
Above-mentioned embodiment does not constitute limiting the scope of the invention.Those skilled in the art should be understood that, depend on designing requirement and other factors, and various modifications, combination, sub-portfolio and alternative can take place.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the protection domain of the present invention.

Claims (10)

1. a method of handling address information is characterized in that, comprising:
The number of the administrative division title in the address information of determining to receive;
Be under 0 the situation, to search the place name that is included in the described address information in the place name set that prestores at described number, the administrative area title of adding in described address information under this place name is exported then;
Be under 1 the situation, in described address information, to add the higher level administrative area title in the administrative area in this address information and export then at described number.
2. method according to claim 1 is characterized in that, under described number is situation more than 2, exports then according to administrative division title and administrative area title that the preset order of administrative division title is adjusted in the described address information.
3. method according to claim 1, it is characterized in that, be 0 at described number, and have two above administrative areas to comprise under the situation of the place name in the described address information that described step of adding the administrative area title under this place name in described address information comprises:
Determine the administrative area at described address information transmit leg place, in described address information, add this administrative area title.
4. method according to claim 1, it is characterized in that, be 1 at described number, and the next stage administrative area title that two above administrative areas are arranged is under the situation of the administrative area title in the described address information, and the step of adding the higher level administrative area title in the administrative area in this address information in described address information comprises:
Determine the administrative area at described address information transmit leg place, in described address information, add this administrative area title.
5. according to claim 3 or 4 described methods, it is characterized in that, determine that the step in the administrative area at described address information transmit leg place comprises:
Obtain the IP address of described address information transmit leg, with the administrative area as described address information transmit leg place, the administrative area of this IP address correspondence.
6. according to each described method in the claim 1 to 4, it is characterized in that described address information is the ship-to of the buyer in the ecommerce.
7. a device of handling address information is characterized in that, comprising:
Determination module is used for determining the number of the administrative division title of the address information received;
First output module is used for searching the place name that is included in the described address information in the place name set that prestores under described number is 0 situation, and the administrative area title of adding in described address information under this place name is exported then;
Second output module is used for adding the higher level administrative area title in the administrative area in this address information and to export then in described address information under described number is 1 situation.
8. device according to claim 7 is characterized in that,
Also comprise the 3rd output module, be used under described number is situation more than 2, exporting then according to administrative division title and administrative area title that the preset order of administrative division title is adjusted in the described address information.
9. device according to claim 7 is characterized in that,
Also comprise detection module, be used for determining administrative area, described address information transmit leg place;
It is 0 that described first output module also is used at described number, and has two above administrative areas to comprise under the situation of the place name in the described address information, adds the administrative area title in administrative area, described address information transmit leg place in described address information;
It is 1 that described second output module also is used at described number, and the next stage administrative area title that two above administrative areas are arranged is under the situation of the administrative area title in the described address information, adds the administrative area title in administrative area, described address information transmit leg place in described address information.
10. according to claim 7,8 or 9 described devices, it is characterized in that described address information is the ship-to of the buyer in the ecommerce.
CN2013102057090A 2013-05-29 2013-05-29 Method and device for processing address information Pending CN103279523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102057090A CN103279523A (en) 2013-05-29 2013-05-29 Method and device for processing address information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102057090A CN103279523A (en) 2013-05-29 2013-05-29 Method and device for processing address information

Publications (1)

Publication Number Publication Date
CN103279523A true CN103279523A (en) 2013-09-04

Family

ID=49062042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102057090A Pending CN103279523A (en) 2013-05-29 2013-05-29 Method and device for processing address information

Country Status (1)

Country Link
CN (1) CN103279523A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033460A (en) * 2015-03-19 2016-10-19 阿里巴巴集团控股有限公司 Address data processing method and apparatus
CN106919569A (en) * 2015-12-24 2017-07-04 北京四维图新科技股份有限公司 A kind of method and device of the administrative division information for obtaining point of interest POI
CN107403300A (en) * 2016-05-18 2017-11-28 平安科技(深圳)有限公司 The processing method and system of address date
CN109426415A (en) * 2017-08-31 2019-03-05 北京国双科技有限公司 A kind of method and device generating cascade selector
CN109885788A (en) * 2018-12-14 2019-06-14 平安万家医疗投资管理有限责任公司 The display methods and device and computer equipment of a kind of tandem type selection
CN110334162A (en) * 2019-05-09 2019-10-15 德邦物流股份有限公司 Address Recognition method and device
CN110580270A (en) * 2018-06-07 2019-12-17 北京京东尚科信息技术有限公司 Address output method and system, computer system, and computer-readable storage medium
CN111753035A (en) * 2020-06-16 2020-10-09 福建票付通信息科技有限公司 Scenic spot name matching method based on administrative district division completion
CN112100161A (en) * 2019-09-17 2020-12-18 上海寻梦信息技术有限公司 Data processing method and system, electronic device and storage medium
CN112182324A (en) * 2020-10-09 2021-01-05 浪潮云信息技术股份公司 Method for judging administrative district name subordination relation in address

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1684067A (en) * 2004-04-15 2005-10-19 三菱电机株式会社 Address database and address retrieval system using the same
WO2006135255A1 (en) * 2005-06-16 2006-12-21 Mitac International Corp. Data presentation for navigation system
CN101340332A (en) * 2007-07-02 2009-01-07 郑志豪 Method for preventing website login by illegal user
CN101980208A (en) * 2010-11-10 2011-02-23 百度在线网络技术(北京)有限公司 Address query method and system
CN102289467A (en) * 2011-07-22 2011-12-21 浙江百世技术有限公司 Method and device for determining target site
CN102651013A (en) * 2012-03-23 2012-08-29 上海安捷力信息系统有限公司 Method and system for extracting area information from enterprise name data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1684067A (en) * 2004-04-15 2005-10-19 三菱电机株式会社 Address database and address retrieval system using the same
WO2006135255A1 (en) * 2005-06-16 2006-12-21 Mitac International Corp. Data presentation for navigation system
CN101340332A (en) * 2007-07-02 2009-01-07 郑志豪 Method for preventing website login by illegal user
CN101980208A (en) * 2010-11-10 2011-02-23 百度在线网络技术(北京)有限公司 Address query method and system
CN102289467A (en) * 2011-07-22 2011-12-21 浙江百世技术有限公司 Method and device for determining target site
CN102651013A (en) * 2012-03-23 2012-08-29 上海安捷力信息系统有限公司 Method and system for extracting area information from enterprise name data

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033460A (en) * 2015-03-19 2016-10-19 阿里巴巴集团控股有限公司 Address data processing method and apparatus
CN106919569A (en) * 2015-12-24 2017-07-04 北京四维图新科技股份有限公司 A kind of method and device of the administrative division information for obtaining point of interest POI
CN107403300A (en) * 2016-05-18 2017-11-28 平安科技(深圳)有限公司 The processing method and system of address date
CN109426415A (en) * 2017-08-31 2019-03-05 北京国双科技有限公司 A kind of method and device generating cascade selector
CN110580270A (en) * 2018-06-07 2019-12-17 北京京东尚科信息技术有限公司 Address output method and system, computer system, and computer-readable storage medium
CN109885788A (en) * 2018-12-14 2019-06-14 平安万家医疗投资管理有限责任公司 The display methods and device and computer equipment of a kind of tandem type selection
CN110334162A (en) * 2019-05-09 2019-10-15 德邦物流股份有限公司 Address Recognition method and device
CN110334162B (en) * 2019-05-09 2021-11-09 德邦物流股份有限公司 Address recognition method and device
CN112100161A (en) * 2019-09-17 2020-12-18 上海寻梦信息技术有限公司 Data processing method and system, electronic device and storage medium
CN112100161B (en) * 2019-09-17 2021-05-28 上海寻梦信息技术有限公司 Data processing method and system, electronic device and storage medium
CN111753035A (en) * 2020-06-16 2020-10-09 福建票付通信息科技有限公司 Scenic spot name matching method based on administrative district division completion
CN112182324A (en) * 2020-10-09 2021-01-05 浪潮云信息技术股份公司 Method for judging administrative district name subordination relation in address

Similar Documents

Publication Publication Date Title
CN103279523A (en) Method and device for processing address information
Kim et al. An analysis of corporate environmental responsibility on the global corporate Web sites and their dialogic principles
TWI564738B (en) Method and apparatus for recommending candidate words based on geographic location
JP5276746B1 (en) Information sharing system using maps
Birnik An evidence-based assessment of online carbon calculators
TW201543859A (en) Method, apparatus, and system for determining a location of a terminal
CN106250568A (en) Service area determines that method, logistics service provider recommend method and related device
CN101651634A (en) Method and system for providing regional information
CN102930456A (en) Location-based information intermediary system and information publishing and transmitting method
CN104035947A (en) Method and device for recommending interest points, and method and device for obtaining recommended interest points
CN103473238B (en) Dispense address location system and method
CN103226393A (en) Input method and equipment
CN103596128B (en) A kind of information providing method, device, system and mobile terminal
WO2015043212A1 (en) Address information input method,acquisition method, apparatus,device and system
CN103997505A (en) Method and device for recommending information of self-picking-up sites of business object
CN102541853A (en) Method and device which are capable of obtaining application information by utilizing browser address bar
CN102752336A (en) User generated content (UGC) sharing method and system based on geographical location service
CN106408347A (en) Advertisement recommendation method, advertisement server and terminal device
CN103440260A (en) Method and equipment used for providing representation information
JP2015014859A (en) Poi information provision system, poi information provision device, poi information output device, poi information provision method, and program
CN103631946A (en) Content pushing system based on geographic positions
CN101894109A (en) Database building method and device
CN104281646B (en) Urban waterlogging detection method based on microblog data
CN103544150A (en) Method and system for providing recommendation information for mobile terminal browser
CN102622383B (en) Method for reading network chapter file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130904

RJ01 Rejection of invention patent application after publication