WO2010063189A1 - Method, client and server for providing position information - Google Patents

Method, client and server for providing position information Download PDF

Info

Publication number
WO2010063189A1
WO2010063189A1 PCT/CN2009/073786 CN2009073786W WO2010063189A1 WO 2010063189 A1 WO2010063189 A1 WO 2010063189A1 CN 2009073786 W CN2009073786 W CN 2009073786W WO 2010063189 A1 WO2010063189 A1 WO 2010063189A1
Authority
WO
WIPO (PCT)
Prior art keywords
location
translation
location information
coordinates
city
Prior art date
Application number
PCT/CN2009/073786
Other languages
French (fr)
Chinese (zh)
Inventor
孙谦
鲍洪庆
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010063189A1 publication Critical patent/WO2010063189A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present invention relates to the field of location services, and more particularly to a method, client and server for providing location translation. Background technique
  • any point on the earth has its corresponding spatial coordinates.
  • spatial coordinates There are two kinds of spatial coordinates, one is the earth coordinate (also called geographic coordinate), and the latitude and longitude coordinates are used for positioning; the second is the projected coordinate, that is, the rectangular coordinate after the point on the earth surface is projected to the plane.
  • the Delivery Address is a formatted text location information, as described in RFC 5139 for the format of city location information.
  • City addresses can include location-related information fields such as countries, provinces (states), cities, administrative districts, streets, house numbers, landmarks, and zip codes.
  • the embodiment of the present invention provides a method for providing location information, so that a user can obtain location information through a location translation service.
  • the embodiment of the invention also proposes a client, by which the user can obtain location information through the location translation service.
  • the embodiment of the invention also proposes a server, which can provide a location translation service to a user.
  • the technical solution proposed by the embodiment of the present invention is as follows:
  • a method of providing location information comprising:
  • a location translation response is returned to the client, the location translation response including translated location information corresponding to the location coordinates or the city address.
  • a method of providing location information including:
  • the client sends a location translation request, where the location translation request includes location information, and receives a location translation response returned by the server, where the location translation response includes location information corresponding to location coordinates or a city address, the location coordinate or city
  • the location information corresponding to the address is obtained by the server by querying the corresponding relationship data of the stored location coordinates and the city address according to the location information in the location translation request.
  • a client that includes:
  • a location information translation requesting module configured to send a location translation request, where the location translation request includes location information
  • a location information receiving module configured to receive a location translation response returned by the server, where the location translation response includes location information corresponding to location coordinates or a city address, and the location coordinates Or the location information corresponding to the city address is obtained by the server by querying the corresponding relationship data of the stored location coordinates and the city address according to the location information in the location translation request.
  • a server comprising:
  • a message sending and receiving module configured to receive a location translation request, and send a location translation response according to the location translation request, where the location translation request includes location information, where the location translation response includes location information corresponding to the location coordinate or the city address;
  • the location information translation processing module is configured to query the correspondence relationship data between the stored location coordinates and the city address according to the location information in the location translation request, and perform translation processing of the location information.
  • the client pre-stores the correspondence data between the location coordinates and the city address, and the client obtains the location translation result from the server by sending a location translation request through a hypertext transfer protocol (HTTP), so that the user or the application can Get the location information of the required type.
  • HTTP hypertext transfer protocol
  • the client does not have to store and update a large number of correspondence data between location coordinates and city addresses, and complex location translation processing is also performed by the server, which is especially suitable for computing power and limited power.
  • Mobile terminal use DRAWINGS
  • FIG. 1 is a basic flowchart of providing location information according to an embodiment of the present invention
  • 2 is a flow chart of translating position coordinates into a city address according to an embodiment of the present invention
  • 3 is a flowchart of a process for a server to translate a latitude and longitude coordinate of a location information type as a point according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a server performing translation processing on a latitude and longitude coordinate of a location information type as an area according to an embodiment of the present invention
  • FIG. 5 is a flow chart of translating from a city address to a location coordinate according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a process of translating a city address whose location information type is formatted by a server according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a client according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a client according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a system for providing location information according to an embodiment of the present invention. detailed description
  • FIG. 1 is a basic flowchart of providing location information by a location translation service according to an embodiment of the present invention, including the following steps:
  • Step 101 The server receives a location translation request sent by the client, where the location translation request includes location information, and may further include a location type to which the location information belongs.
  • the location translation request may be based on a hypertext transfer protocol such as an HTTP POST or GET request message, the request line or message body of the request message containing location information and location type.
  • the correspondence data between the location coordinates and the city address may be stored in advance, may be stored in the server, or may be stored in other places as long as the server can obtain it.
  • the position coordinates in the stored data may be latitude and longitude coordinates or planes, projected coordinates, and the present invention suggests using latitude and longitude coordinates, which is highly versatile.
  • the coordinate values can be in degrees and minutes or decimal values.
  • Position In the correspondence data table between the target and the city address each city address corresponds to a coordinate value of a point, or a coordinate description information of a region.
  • the coordinates of the point are relatively simple, such as the latitude and longitude coordinates can be
  • the description of the shape such as a circle, an ellipse or a polygon may be in the format of the Geography Markup Language (GML) specified in the standards developed by the Open Geospatial Consortium (OGC).
  • GML Geography Markup Language
  • OGC Open Geospatial Consortium
  • a circular area can be expressed by the latitude and longitude ⁇ pos> of the center and the radius ⁇ radius> of the circle as follows:
  • the correspondence data between the location coordinates and the city address is as follows:
  • the data table can also contain other fields such as street, house number and other fields.
  • the coordinates are generally stored in GML format, or directly include longitude and latitude fields, which are used to represent a point, or the center of the area (or any point in the area).
  • longitude and latitude fields facilitates geographic location and retrieval queries.
  • the location type indicates whether the location information included is a location coordinate or a city address. More specifically, the shape type of the position coordinates, such as a point, a circle, or a polygon, is also indicated.
  • the city address type can also use a text description of a single field, such as "B1, Putian Huawei Base, Longgang District, Shenzhen.” This kind of text description is a kind of readable information, basically a description of natural language. Of course, although it is convenient for users to provide location information, it is for translation processing. The server needs to process the text description, extract the location information elements, and generate standardized location information fields in the GML format, such as country, province, city, etc., so as to be able to accurately perform translation processing.
  • the address cannot be uniquely determined according to the information in the text description, such as "Huawei" in the text description, when the translation process is performed, multiple matching addresses can be retrieved first. If the number of matches is too large, only the pre-fetch can be taken. Set the number of matching addresses. These matching city addresses are then translated, and the translated multiple location coordinates are returned to the client along with the corresponding city address. This allows users and applications to get more comprehensive and accurate location information, and choose one or more of the translation results as needed.
  • Step 102 The server returns a location translation response to the client, where the location translation response includes the translated location information.
  • the server determines the translation result based on the stored correspondence data. If the location type in the request message is location coordinates, the location information in the translation result is a city address; if the location type is a city address, the location information in the translation result is location coordinates.
  • the translated location information is returned in the HTTP 200 OK response message.
  • Another embodiment of the present invention specifically describes translating location coordinates into city addresses. Referring to Figure 2, the following steps are included:
  • Step 201 The client sends a location translation request message by using an HTTP/HTTPS POST request method.
  • the location translation request includes location information whose location type is location coordinates.
  • the specific request message is as follows:
  • Xmlns urn: ietf: params: xml: ns: geopriv: ltp ⁇
  • the request ⁇ locationTranslation> contains latitude and longitude position information of a point, wherein
  • the attribute "profile” of the ⁇ location> element indicates that the position information is a two-dimensional position coordinate type, and the element 0 1 ⁇ > further indicates that the position information is a shape type of a point.
  • the type of the coordinate system is also specified in its property "srsName".
  • the type of the message body is the location translation message format such as "application/ltp+xml".
  • the server performs translation processing, it is also possible to retrieve only the correspondence record data of the city address having the landmark information.
  • You can also explicitly specify the type of location translation in the ⁇ locationTranslation> element with a translation type attribute such as "type”.
  • the server that receives the location translation request can perform translation processing according to the translation type attribute therein and generate a corresponding translation result. This allows for more types of translations in addition to mutual translation between location coordinates and city addresses. For example, from an IP address to a city address, here are some translation types:
  • Geocoding Translate from city address to latitude and longitude coordinates.
  • lampPostcodeToGeocode Translate from lamppost number to latitude and longitude coordinates. It actually belongs to a subtype that translates from city address to latitude and longitude coordinates. Only the position translation request must contain the lamp post number. When the server processes the translation, it can ignore the address fields except the lamp post number, country and city.
  • geocodeToPostcode Translate from latitude and longitude coordinates to zip code. It actually belongs to a subtype that translates from latitude and longitude coordinates to a city address, except that the translation result returned by the server can contain only the zip code.
  • geocodeToLandmark Translate from latitude and longitude coordinates to a landmark. It actually belongs to a subtype that translates from latitude and longitude coordinates to a city address, except that the translation result returned by the server must contain landmark information. Common landmarks are some of the more famous attractions and iconic buildings.
  • Step 202 After receiving the location translation request, the server translates the location coordinate information therein. Since the server's database cannot store the location information of each point on the earth, it only records the correspondence between the latitude and longitude coordinates of some points and the city address. Therefore, when the server performs translation processing, it is first determined that the coordinate information in the location translation request is closer to the matching coordinates in the database. Then the city address corresponding to the matched coordinates is used as the translation result.
  • the server obtains the city address stored in the database closest to the point (named point A) by retrieval and calculation.
  • the city address stored in the database corresponds to the coordinate information stored. By calculating the distance between these coordinates and the coordinates of the point A in the position translation request, the database can be found closest.
  • One or more city addresses Some city addresses have position coordinates of the corresponding points, and the distance between the two points can be calculated. If the city address has a coordinate description of the corresponding area, it is judged whether the point A in the request falls within the area.
  • the server will use the city address with the smallest distance from point A as the translation result.
  • FIG. 3 The specific steps of the server for translating the latitude and longitude coordinates of the location information type into points are shown in FIG. 3, which mainly includes the following steps:
  • the obtained city address and its corresponding accurate coordinate information are included in the translation result.
  • the server acquires, from the database, a city address corresponding to the point coordinates in the region, or a city address overlapping the region. For example, if the latitude and longitude coordinates of a city address in the database "China/Guangdong/Shenzhen/Longgang/Putian/Huawei Base/B1" have a correspondence (22.215, 114.1325), if calculated If the point falls into the area in the location translation request, the corresponding city address can be included in the translation result.
  • a city address in the database "China/Guangdong/Shenzhen/Longgang District" has a corresponding regional coordinate description, and it is calculated that the region overlaps with the region in the location translation request, it may also be included in the translation result. But the server is best to avoid turning In the translated result, two city addresses with inclusion relationships appear at the same time. If they appear, you can return the city address with the smaller area. Or, the city address that has the largest overlap ratio with the area in the location translation request may be returned. For example, if the point corresponding to the city address falls into the area in the location translation request, the overlap ratio is 100%, and the external is zero.
  • the area of the overlapping portion is divided by the area of the corresponding area of the city address to obtain an overlapping ratio. This will try to ensure that the closest city address information is returned more accurately.
  • FIG. 4 The specific steps of the server for translating the latitude and longitude coordinates of the location information type into the region are shown in FIG. 4, which mainly includes the following steps:
  • the obtained city address and its corresponding accurate coordinate description information are included in the translation result.
  • Step 203 The client receives a 200 0K response message returned by the server.
  • the response message contains the translated city address. It may include one or more city addresses. When multiple city addresses are included, it is preferable to include accurate coordinate information corresponding to each city address.
  • the response message is as follows. For the sake of brevity, the message examples in this article omit some of the well-known content:
  • the location translation response ⁇ locationTranslationRespo contains a city address ⁇ civicAddress>, which includes field information such as country ⁇ country>, province ⁇ A1>.
  • the name of the country, province or city in the field information can be a full name or an abbreviation.
  • the response message may also include precise latitude and longitude coordinate information corresponding to the city address, so that the client can calculate and display the relative positional relationship between the point in the request and the returned translated city address, such as distance, orientation, and the like.
  • Yet another embodiment of the present invention describes translating from a city address to a location coordinate. Referring to Figure 5, the following steps are specifically included:
  • Step 301 The client sends a location translation request message by using an HTTP/HTTPS POST request method.
  • the location translation request includes location information whose location type is a city address.
  • the specific request message is as follows:
  • Xmlns urn: ietf: params: xml: ns: geopriv: ltp
  • the request ⁇ locationTransl£ition> includes city address information ⁇ civicAddress>, which includes address information such as country ⁇ country>, province 1>.
  • Xmlns urn: ietf: params: xml: ns: geopriv: ltp
  • the address information is usually described in text, such as "No. 3 Shangdi Information Road, Haidian District, Beijing”.
  • the client can obtain the specific geographical location coordinates corresponding to the enterprise through the location translation service, and then can display or label on the map according to the location coordinates.
  • the Administration for Industry and Commerce may provide the public with the location inquiry of the enterprise by itself or through cooperation, and use the registration information such as the company name, business scope and address registered by the enterprise, translate the address into coordinates, and then display it on the map for public.
  • the application server searches for the matching record in the registration information according to the keyword provided by the user client, and translates the address matching the enterprise record into the position coordinate, and then adds the map of the area where the position coordinate is located and the enterprise name label in the corresponding position.
  • the client that is returned to the user.
  • the translation method may be that the application server sends a location translation request to the translation server to obtain the location coordinates of the text address.
  • the application server may store the location coordinates corresponding to the translation of the enterprise address and use it locally.
  • this text address can also be input by the user. For example, only the simple unit name "Huawei" is input. Such address information may not be complete and accurate, and finally the translation result cannot be uniquely determined, and multiple translation results may be obtained.
  • Step 302 After receiving the location translation request, the server translates the city address information therein. Generally, if a city address information is relatively complete, the location coordinate information corresponding to the city address, including the coordinates of the point or region, can be uniquely determined. If the city address in the request is incomplete, it may match multiple corresponding position coordinate information during translation processing.
  • the corresponding matching city address is directly retrieved in the database, and the location coordinate corresponding to the city address with the highest matching degree is used as the translation result.
  • the matching degree can be judged according to the number of the same formatted address field value, and the more the same address field value, the higher the matching degree.
  • different values can be assigned to different fields to calculate the matching degree, for example, the country ⁇ country ⁇ contribution is smaller than the city ⁇ A3>, and the general level is more The lower the address information, the more accurate the contribution.
  • the matching value is added to 0.5. If the city 3> field matches, the matching value is increased by 1.
  • the total matching degree is obtained by accumulating the matching value corresponding to all the matching fields. In this way, it is possible to ensure that the position coordinate information with higher precision is returned as much as possible, instead of returning a large area range information.
  • the embodiment of the present invention is also not limited to using other methods to calculate the matching degree.
  • some fields can be ignored.
  • the city address contains the lamp post number
  • the country and the city can uniquely determine an accurate latitude and longitude coordinate
  • other fields can be ignored when matching.
  • the lamppost numbers are deployed in many cities in China.
  • the lampposts or utility poles on both sides of the street are painted with the word "110" and are vertically painted with a number such as "1020004".
  • this number is unique and is used for accurate positioning by this number during an alarm.
  • this number can also be used in other various location business applications.
  • the obtained city address and its corresponding coordinate description information are included in the translation result.
  • the coordinate description information of the corresponding point may include the latitude and longitude coordinates of the point
  • the coordinate description information of the corresponding area such as a circle may include the latitude and longitude coordinates of the center of the circle and the radius value.
  • the city address of a general building can correspond to the coordinates of the point. Geographic elements such as larger buildings, buildings, or parks can be described by the coordinates of the area. For example, the Forbidden City in Beijing can be described by polygonal areas.
  • the server can also return the corresponding data in the database when returning the translated coordinates.
  • Completely and accurately formatted city address If the city address in the location translation request is a text address, the server may first extract the address elements in the text address, such as comparing with the stored formatted address field one by one, formatting the text address, and then using the formatted The obtained city address retrieves the location coordinate information of the city address with the highest matching degree from the database. Or directly use the text address to match the formatted address information in each record in the database to calculate the matching degree. Specifically, if 3 fields in a record are included in the text address, the cumulative matching degree can be counted as 3. Different fields can also use different matching values.
  • the text address can also contain only the zip code such as "518129", and the server returns the position coordinate description information of the corresponding area of the zip code.
  • Step 303 The client receives a 200 0K response message including a position coordinate returned by the server.
  • the message body of the response contains the translated position coordinates. Can contain one or more position coordinates.
  • An example of the response message is as follows:
  • Xmlns urn : ietf: params: xml: ns: geopriv : ltp ⁇
  • the response message may further include a map link, and the browser of the user client may obtain the map where the location information is located through the map link.
  • a response message containing a map link such as ⁇ mapURL> is as follows:
  • Xmlns urn : ietf: params: xml: ns: geopriv : ltp ⁇
  • the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the client may include: a location information translation request module 701, a location information receiving module 702, and an interface interface module 704.
  • the location information translation requesting module 701 is configured to send a location translation request message by using an HTTP/HTTPS protocol, such as a POST request method.
  • the location information receiving module 702 is configured to receive the 200 OK response message that is returned by the server and includes the translation result, and may further display the response message to the user.
  • the interface interface module 704 is configured to receive an indication for performing location information translation, and input location information to be translated, and transmit the location information translation request module to the location information translation request module. 701.
  • the client may further include a location information storage module 703, and the location information storage module 703 stores the translation result obtained by the location information receiving module 702.
  • the interface interface module 704 can also display corresponding maps on the interface, such as a browser or a satellite map browsing program, according to location information stored in the location information storage module 703, such as a city address and location coordinates, and corresponding coordinates can be marked on the map. City address information.
  • the interface module 704 of the client may further include a browser module 705, which includes a location object 706, and the location object 706 provides a corresponding application programming interface (API) for obtaining the ear.
  • the location information of the client such as latitude and longitude coordinates, is provided to the web application.
  • the web application can obtain the location information of the desired location type through the location information translation request module 701 after obtaining the location information of the user by calling the application interface of the location object 706. It is also possible to translate the obtained location information into a desired type by the server side of the web application through the location translation service, and then the server side of the web application uses the translated location information for processing.
  • the browser module 705 can also include an authentication module for controlling access to client location information.
  • the user can configure which web applications can access the location information even with the location object 706 and the accuracy of the location information provided. For example, users can configure all web applications to obtain location-accurate location information, while a specific social application can obtain administrative-level accuracy location information.
  • the authentication module performs authentication according to the foregoing configuration to determine whether the web application can obtain the location information and the location information of which precision can be obtained, so that some webs can be made through the authentication control.
  • the application can only know the user's city, and can't get more accurate location information, which effectively protects the user's privacy.
  • EXIF Exchangeable Image Fi le Format
  • Web applications can use this location information, such as when a web page is displayed, when a mouse is detected to move to the image.
  • extract the latitude and longitude coordinates in the picture and then display the map corresponding to the coordinates at the same time, or through the location translation service
  • the service location translation request is obtained in the form of floating text after obtaining the city address corresponding to the coordinate.
  • the browser module 705 can also include an image object, which includes an EXIF information extraction interface corresponding to the provided application interface, so that the web application extracts the EXIF information of the image object in a script of the webpage, such as a JavaScript language script.
  • the interface obtains the location information of the image and displays the floating text of the map or the translated city address.
  • the server may include: a messaging module 901, a location information translation processing module 902, and a location information correspondence data storage module 903.
  • the messaging module 901 is configured to receive and send location translation requests, such as receiving and transmitting location translation requests and response messages based on the HTTP/HTTPS protocol.
  • the location information translation processing module 902 is configured to perform location information translation processing according to the location translation request message obtained by the message transceiver module 901, obtain matching information from the location information correspondence data storage module 903, and include the translation result by the message transceiver module 901. Returned in the response message.
  • the location information correspondence data storage module 903 is for storing correspondence data of the location information.
  • the specific translation processing performed by the location information translation processing module 902 can be referred to the above embodiment, and details are not described herein again.
  • the server may also include an interconnect interface module.
  • the location information translation processing module 902 can send a location translation request to the other interconnected servers through the interconnection interface module, and the interconnection interface module obtains the translation result from the interconnected server, and then is included by the messaging module 901. Returned to the client in the response message.
  • the list of interconnected servers can be pre-configured in the server. For example, in a national location translation server, the location information of an area such as Shenzhen may not be recorded, and the translation request may be forwarded to a regional location translation server such as Shenzhen, usually in a regional location translation server. A more detailed location information record is stored.
  • the request may be forwarded to the location translation server of Shenzhen.
  • the server may pre-configure the correspondence list of the interconnection server address and the area, and accordingly, the location translation server of the corresponding area is selected to forward the location translation request.
  • the joint interface can make the corresponding relationship data between the position coordinates and the city address distributed and distributed according to the area, and the translation processing distributed computing.
  • the system for providing location information may include a client 1001 and a server 1002, where: the client 1001 is configured to send a location translation request to the server 1002, and receive a location returned by the server 1002.
  • the server 1002 is configured to store correspondence data of a location coordinate and a city address, receive the location translation request, and send a location translation response according to the location translation request, and query the location information correspondence according to the location translation request.
  • the corresponding relationship data stored by the storage module is stored, and the translation processing of the location information is performed.
  • the related structure of the client 1001 and the server 1002 in this embodiment may be specifically referred to the related structure of the client and the server, and details are not described herein.

Abstract

A method for providing position information, comprises: receiving the position translation request from the client, wherein the position translation request includes position information; querying stored correspondence data between position coordinates and civic addresses according to the position translation request, and translating the position information included in the translation request into the position information corresponding to the position coordinate or civic address; and returning a position translation response to the client, wherein the position translation response includes the translated position information corresponding to the position coordinate or the civic address. By providing position translation service, the embodiments of the present invention enable that the client need not store and update large amounts of correspondence data between position coordinates and civic addresses, and in addition, the complex position translation processes are all performed by the server as well. This manner is especially applicable to the mobile terminal which has limited computation ability and battery power.

Description

提供位置信息的方法、 客户端和服务器 本申请要求 2008年 11月 19日递交的申请号为 200810217378.1、 发明 名称为 "提供位置信息的方法、 客户端和服务器" 的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。 技术领域  The present invention claims the priority of the Chinese Patent Application No. 200810217378.1, entitled "Method of Providing Location Information, Client and Server", which is filed on November 19, 2008. The entire contents are incorporated herein by reference. Technical field
本发明涉及位置业务领域, 尤其涉及提供位置翻译的方法、 客户端和服 务器。 背景技术  The present invention relates to the field of location services, and more particularly to a method, client and server for providing location translation. Background technique
随着具有定位能力终端的逐渐普及, 目前位置业务发展迅速。 在一些标 准组织如互联网工程任务组 ( Internet Engineering Task Force , IETF ) 和开放移动联盟 (Open Mobi le Al l iance , OMA ) 制定的位置相关的标准协 议中, 主要使用两种类型的位置信息: 空间坐标和城市地址。  With the gradual popularization of terminals with positioning capabilities, the current location business is developing rapidly. In some standard organizations such as the Internet Engineering Task Force (IETF) and the Open Mobi le Al l iance (OMA), two types of location information are mainly used: Coordinates and city address.
地球上的任何一点都有其相应的空间坐标。 空间坐标有两种, 一是大地 坐标 (也称地理坐标) , 用经纬度坐标进行定位; 二是投影坐标, 即地球表 面上的点投影到平面后的直角坐标。  Any point on the earth has its corresponding spatial coordinates. There are two kinds of spatial coordinates, one is the earth coordinate (also called geographic coordinate), and the latitude and longitude coordinates are used for positioning; the second is the projected coordinate, that is, the rectangular coordinate after the point on the earth surface is projected to the plane.
城市地址 (Civic Address ) 是一种格式化的文本位置信息, 如在 RFC5139 中描述了城市位置信息的格式。 城市地址可以包括国家、 省 (州) 、 城市、 行政区、 街道、 门牌号、 地标和邮编等与位置相关的信息字 段。 另外也可以用单字段的文本描述来表示城市地址, 如 "中国广东省深圳 市南山区高新科技园南威新软件园 3号楼" 。 这类似于邮政地址, 可读性较 好。  The Civic Address is a formatted text location information, as described in RFC 5139 for the format of city location information. City addresses can include location-related information fields such as countries, provinces (states), cities, administrative districts, streets, house numbers, landmarks, and zip codes. Alternatively, you can use a single-field text description to represent the city address, such as "Building 3, Nanwei New Software Park, High-tech Park, Nanshan District, Shenzhen, Guangdong, China." This is similar to a postal address and is more readable.
发明人在实现本发明的过程中发现: 现有技术中只能提供单一的位置信 息, 即或者只提供位置坐标, 或者只提供城市地址, 用户体验很差。 发明内容 The inventor found in the process of implementing the present invention that only a single location information can be provided in the prior art, that is, only location coordinates are provided, or only city addresses are provided, and the user experience is poor. Summary of the invention
有鉴于此, 本发明实施例提出了一种提供位置信息的方法, 使用户可以 通过位置翻译服务获得位置信息。  In view of this, the embodiment of the present invention provides a method for providing location information, so that a user can obtain location information through a location translation service.
本发明实施例还提出了一种客户端, 用户使用该客户端可以通过位置翻 译服务获得位置信息。  The embodiment of the invention also proposes a client, by which the user can obtain location information through the location translation service.
本发明实施例还提出了一种服务器, 可以向用户提供位置翻译服务。 本发明实施例提出的技术方案如下:  The embodiment of the invention also proposes a server, which can provide a location translation service to a user. The technical solution proposed by the embodiment of the present invention is as follows:
一种提供位置信息的方法, 该方法包括歩骤:  A method of providing location information, the method comprising:
接收客户端发送的位置翻译请求, 所述位置翻译请求包括位置信息; 根据所述位置翻译请求查询已存储的位置坐标与城市地址的对应关系数 据, 将所述翻译请求中的位置信息翻译为与位置坐标或城市地址对应的位置 Receiving a location translation request sent by the client, where the location translation request includes location information; querying the corresponding relationship data between the stored location coordinates and the city address according to the location translation request, and translating the location information in the translation request into Location coordinates or locations corresponding to city addresses
^ I 自、 .; ^ I 自, .;
向所述客户端返回位置翻译响应, 所述位置翻译响应包括翻译后的与位 置坐标或城市地址对应的位置信息。  A location translation response is returned to the client, the location translation response including translated location information corresponding to the location coordinates or the city address.
一种提供位置信息的方法, 包括:  A method of providing location information, including:
客户端发送位置翻译请求, 所述位置翻译请求包括位置信息, 接收服务器返回的位置翻译响应, 其中, 所述位置翻译响应包括与位置 坐标或城市地址对应的位置信息, 所述与位置坐标或城市地址对应的位置信 息由所述服务器根据所述位置翻译请求中的位置信息查询已存储的位置坐标 与城市地址的对应关系数据并进行翻译得到的。  The client sends a location translation request, where the location translation request includes location information, and receives a location translation response returned by the server, where the location translation response includes location information corresponding to location coordinates or a city address, the location coordinate or city The location information corresponding to the address is obtained by the server by querying the corresponding relationship data of the stored location coordinates and the city address according to the location information in the location translation request.
一种客户端, 包括:  A client that includes:
位置信息翻译请求模块, 用于发送位置翻译请求, 所述位置翻译请求包 括位置信息;  a location information translation requesting module, configured to send a location translation request, where the location translation request includes location information;
位置信息接收模块, 用于接收服务器返回的位置翻译响应, 其中, 所述 位置翻译响应包括与位置坐标或城市地址对应的位置信息, 所述与位置坐标 或城市地址对应的位置信息由所述服务器根据所述位置翻译请求中的位置信 息查询已存储的位置坐标与城市地址的对应关系数据并进行翻译得到的。 a location information receiving module, configured to receive a location translation response returned by the server, where the location translation response includes location information corresponding to location coordinates or a city address, and the location coordinates Or the location information corresponding to the city address is obtained by the server by querying the corresponding relationship data of the stored location coordinates and the city address according to the location information in the location translation request.
一种服务器, 包括:  A server, comprising:
消息收发模块, 用于接收位置翻译请求, 并根据位置翻译请求发送位置 翻译响应, 所述位置翻译请求包括位置信息, 所述位置翻译响应包括与位置 坐标或城市地址对应的位置信息;  a message sending and receiving module, configured to receive a location translation request, and send a location translation response according to the location translation request, where the location translation request includes location information, where the location translation response includes location information corresponding to the location coordinate or the city address;
位置信息翻译处理模块, 用于根据所述位置翻译请求中的位置信息查询 存储的位置坐标与城市地址的对应关系数据, 并进行所述位置信息的翻译处 理。  The location information translation processing module is configured to query the correspondence relationship data between the stored location coordinates and the city address according to the location information in the location translation request, and perform translation processing of the location information.
本发明实施例通过在服务器预先存储位置坐标和城市地址之间对应关系 数据, 客户端通过超文本传输协议 ( Hypertext Transfer Protocol , HTTP) 发送位置翻译请求从服务器获得位置翻译结果, 使用户或应用可以得 到所需类型的位置信息。 通过提供位置翻译服务, 使客户端不必存储和更新 大量的位置坐标和城市地址之间对应关系数据, 另外复杂的位置翻译处理也 都由服务器来进行, 这种方式尤其适合运算能力和电量有限的移动终端使 用。 附图说明  In the embodiment of the present invention, the client pre-stores the correspondence data between the location coordinates and the city address, and the client obtains the location translation result from the server by sending a location translation request through a hypertext transfer protocol (HTTP), so that the user or the application can Get the location information of the required type. By providing a location translation service, the client does not have to store and update a large number of correspondence data between location coordinates and city addresses, and complex location translation processing is also performed by the server, which is especially suitable for computing power and limited power. Mobile terminal use. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 在 附图中:  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor. In the drawing:
图 1为本发明实施例提供位置信息的基本流程图;  FIG. 1 is a basic flowchart of providing location information according to an embodiment of the present invention;
图 2为本发明实施例将位置坐标翻译为城市地址的流程图; 图 3为本发明实施例服务器对位置信息类型为点的经纬度坐标进行翻译 处理的流程图; 2 is a flow chart of translating position coordinates into a city address according to an embodiment of the present invention; 3 is a flowchart of a process for a server to translate a latitude and longitude coordinate of a location information type as a point according to an embodiment of the present invention;
图 4为本发明实施例服务器对位置信息类型为区域的经纬度坐标进行翻 译处理的流程图;  4 is a flowchart of a server performing translation processing on a latitude and longitude coordinate of a location information type as an area according to an embodiment of the present invention;
图 5为本发明实施例从城市地址翻译为位置坐标的流程图;  5 is a flow chart of translating from a city address to a location coordinate according to an embodiment of the present invention;
图 6为本发明实施例服务器对位置信息类型为格式化的城市地址进行翻 译处理的流程图;  6 is a flowchart of a process of translating a city address whose location information type is formatted by a server according to an embodiment of the present invention;
图 7为本发明实施例客户端的结构示意图;  7 is a schematic structural diagram of a client according to an embodiment of the present invention;
图 8为本发明实施例客户端的结构示意图;  8 is a schematic structural diagram of a client according to an embodiment of the present invention;
图 9为本发明实施例服务器的结构示意图;  9 is a schematic structural diagram of a server according to an embodiment of the present invention;
图 10为本发明实施例提供位置信息的系统结构示意图。 具体实施方式  FIG. 10 is a schematic structural diagram of a system for providing location information according to an embodiment of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚明白, 下面结合附 图对本发明实施例做进一歩详细说明。 在此, 本发明的示意性实施例及其说 明用于解释本发明, 但并不作为对本发明的限定。  In order to make the objects, the technical solutions and the advantages of the embodiments of the present invention more clearly, the embodiments of the present invention will be described in detail below. The illustrative embodiments of the present invention and the description thereof are intended to be illustrative of the invention, and are not intended to limit the invention.
参照图 1, 该图是本发明实施例通过位置翻译服务提供位置信息的基本 流程图, 包括如下歩骤:  Referring to FIG. 1, the figure is a basic flowchart of providing location information by a location translation service according to an embodiment of the present invention, including the following steps:
歩骤 101、 服务器接收客户端发送的位置翻译请求, 所述的位置翻译请 求中包含位置信息, 也可以进一歩包括所述位置信息所属的位置类型。 位置 翻译请求可以基于超文本传输协议如 HTTP POST或 GET请求消息, 该请求消 息的请求行或者消息体中包含位置信息和位置类型。  Step 101: The server receives a location translation request sent by the client, where the location translation request includes location information, and may further include a location type to which the location information belongs. The location translation request may be based on a hypertext transfer protocol such as an HTTP POST or GET request message, the request line or message body of the request message containing location information and location type.
当然, 位置坐标和城市地址之间的对应关系数据可以预先存储, 可以存 储在服务器, 也可以存储在其他的地方只要服务器能够获取到就可以。 所存 储数据中的位置坐标可以是经纬度坐标或平面、 投影坐标, 本发明建议采用 经纬度坐标, 通用性较高。 坐标值可以为度分秒格式或十进制数值。 位置坐 标和城市地址之间对应关系数据表中, 每个城市地址对应一个点的坐标值, 或者一个区域的坐标描述信息。 点的坐标比较简单, 如经纬度坐标可以是Of course, the correspondence data between the location coordinates and the city address may be stored in advance, may be stored in the server, or may be stored in other places as long as the server can obtain it. The position coordinates in the stored data may be latitude and longitude coordinates or planes, projected coordinates, and the present invention suggests using latitude and longitude coordinates, which is highly versatile. The coordinate values can be in degrees and minutes or decimal values. Position In the correspondence data table between the target and the city address, each city address corresponds to a coordinate value of a point, or a coordinate description information of a region. The coordinates of the point are relatively simple, such as the latitude and longitude coordinates can be
( 22. 54423, 114. 057795 ) 。 对于区域的坐标描述, 如圆、 椭圆或多边形等 形状的描述可以采用开放地理信息系统联盟 ( Open Geospatial Consortium , OGC ) 的所制定标准中所规定的地理标记语言 (Geography Markup Language , GML ) 的格式。 如一个圆形区域可以用圆心的经纬度 〈pos〉以及圆的半径〈radius〉来如下表示: ( 22. 54423, 114. 057795 ). For the description of the coordinates of the region, the description of the shape such as a circle, an ellipse or a polygon may be in the format of the Geography Markup Language (GML) specified in the standards developed by the Open Geospatial Consortium (OGC). . For example, a circular area can be expressed by the latitude and longitude <pos> of the center and the radius <radius> of the circle as follows:
<Circle sr sName= urn: ogc: def: cr s: EPSG: : 4326"〉 <Circle sr sName = urn: ogc: def: cr s: EPSG: : 4326"〉
<pos>36. 58085 116. 255361</pos>  <pos>36. 58085 116. 255361</pos>
〈: radius uom= urn: ogc: def: uom: EPSG: : 9001"〉 <: radius uom = urn: ogc: def: uom: EPSG: : 9001"〉
1000  1000
位置坐标和城市地址之间的对应关系数据举例如下: The correspondence data between the location coordinates and the city address is as follows:
Figure imgf000007_0001
Figure imgf000007_0001
以上仅供示例, 数据表中还可以包含其他字段如街道、 门牌号等字段。 其中坐标一般采用 GML格式存储, 也可以直接包含经度和纬度两个字段, 用 来表示一个点, 或者区域的中心 (或者区域中的任意一点) 。 直接包含经度 和纬度两个字段可以方便进行地理位置的索弓 I和检索查询。  The above is for example only, the data table can also contain other fields such as street, house number and other fields. The coordinates are generally stored in GML format, or directly include longitude and latitude fields, which are used to represent a point, or the center of the area (or any point in the area). The direct inclusion of longitude and latitude fields facilitates geographic location and retrieval queries.
位置类型指明所包含的位置信息是位置坐标还是城市地址。 更具体的还 指明位置坐标的形状类型, 如点、 圆或多边形等。 城市地址类型除了可以使 用 GML格式的信息外, 还可以使用单字段的文本描述, 如 "深圳市龙岗区坂 田华为基地 B1 " 。 这种文本描述是一种可读性较好的信息, 基本是自然语 言的描述, 当然这样虽然方便了用户提供位置信息, 但是对于进行翻译处理 的服务器, 则需要对这种文本描述进行处理, 提取其中的位置信息元素, 生 成 GML格式的标准化位置信息字段, 如国家、 省、 城市等字段, 以便能够准 确的进行翻译处理。 对于信息缺失的情况, 如上述举例的 "深圳市龙岗区坂 田华为基地 B1 " , 缺少国家和省这些信息, 服务器在收到这样的位置信息 时, 则可以根据文本描述中的信息检索确定对应缺失的信息, 如根据 "深圳 市"这个信息即可唯一确定并检索到对应的国家和省的信息, 即 "中国广东 省" 。 The location type indicates whether the location information included is a location coordinate or a city address. More specifically, the shape type of the position coordinates, such as a point, a circle, or a polygon, is also indicated. In addition to the information in the GML format, the city address type can also use a text description of a single field, such as "B1, Putian Huawei Base, Longgang District, Shenzhen." This kind of text description is a kind of readable information, basically a description of natural language. Of course, although it is convenient for users to provide location information, it is for translation processing. The server needs to process the text description, extract the location information elements, and generate standardized location information fields in the GML format, such as country, province, city, etc., so as to be able to accurately perform translation processing. In the case of missing information, such as the above-mentioned example "Shenzhen Huawei Base B1" in Longgang District, Shenzhen, the lack of national and provincial information, when the server receives such location information, it can retrieve the corresponding missing information according to the information in the text description. The information, such as the information based on "Shenzhen City", can uniquely identify and retrieve the corresponding country and province information, namely "China Guangdong Province".
如果根据文本描述中的信息无法唯一确定一个地址, 如文本描述中只有 "华为" , 这样在翻译处理时, 可以先检索出匹配的多个地址, 如果匹配的 数量太多, 则可以只取预设数量的匹配地址。 然后对这些匹配的城市地址进 行翻译处理, 将翻译得到的多个位置坐标和对应的城市地址一起返回给客户 端。 这样用户和应用可以得到更加全面准确的位置信息, 根据需要选择使用 其中一个或多个翻译结果。  If the address cannot be uniquely determined according to the information in the text description, such as "Huawei" in the text description, when the translation process is performed, multiple matching addresses can be retrieved first. If the number of matches is too large, only the pre-fetch can be taken. Set the number of matching addresses. These matching city addresses are then translated, and the translated multiple location coordinates are returned to the client along with the corresponding city address. This allows users and applications to get more comprehensive and accurate location information, and choose one or more of the translation results as needed.
歩骤 102、 服务器向客户端返回位置翻译响应, 所述的位置翻译响应中 包含翻译后的位置信息。 服务器根据存储的对应关系数据确定翻译结果。 如 果请求消息中的位置类型为位置坐标, 则翻译结果中的位置信息为城市地 址; 如果位置类型为城市地址, 则翻译结果中的位置信息为位置坐标。 并在 HTTP 200 OK响应消息中返回翻译后的位置信息。  Step 102: The server returns a location translation response to the client, where the location translation response includes the translated location information. The server determines the translation result based on the stored correspondence data. If the location type in the request message is location coordinates, the location information in the translation result is a city address; if the location type is a city address, the location information in the translation result is location coordinates. The translated location information is returned in the HTTP 200 OK response message.
本发明另一实施例具体描述了将位置坐标翻译为城市地址。 参照图 2, 包括以下歩骤:  Another embodiment of the present invention specifically describes translating location coordinates into city addresses. Referring to Figure 2, the following steps are included:
歩骤 201、 客户端使用 HTTP/HTTPS POST请求方法发送位置翻译请求消 息。 该位置翻译请求中包含位置类型为位置坐标的位置信息。 具体请求消息 举例如下:  Step 201: The client sends a location translation request message by using an HTTP/HTTPS POST request method. The location translation request includes location information whose location type is location coordinates. The specific request message is as follows:
POST https : //lts. example, com: 32328/location HTTP/1. 1  POST https : //lts. example, com: 32328/location HTTP/1. 1
Accept: appl ication/ltp+xml, appl ication/xml; q=0. 8, text/xml; q=0. 7 Accept-Charset: UTF_8, Accept: appl ication/ltp+xml, appl ication/xml; q=0. 8, text/xml; q=0. 7 Accept-Charset: UTF_8,
Content-Type: appl i cat i on/1 tp+xml  Content-Type: appl i cat i on/1 tp+xml
Content-Length: XXX  Content-Length: XXX
<?xml version 1.0"?> <?xml version 1.0"?>
<locationTranslation  <locationTranslation
xmlns= urn: ietf: params: xml: ns: geopriv: ltp〃〉 Xmlns = urn: ietf: params: xml: ns: geopriv: ltp〃
〈 location prof ile= geodetic-2d >  < location prof ile= geodetic-2d >
<Point srsName= urn: ogc: def: crs: EPSG:: 4326 <pos>22.265 114.1925</pos> <Point srsName = urn: ogc: def: crs: EPSG:: 4326 <pos>22.265 114.1925</pos>
该请求〈locationTranslation〉中包含一个点的经纬度位置信息, 其中The request <locationTranslation> contains latitude and longitude position information of a point, wherein
〈location〉元素的属性 "profile"指示该位置信息为二维位置坐标类型, 而元素 01^〉更进一歩指出该位置信息为点的形状类型。 其属性 "srsName" 中还指定了坐标系统的类型。 The attribute "profile" of the <location> element indicates that the position information is a two-dimensional position coordinate type, and the element 0 1^> further indicates that the position information is a shape type of a point. The type of the coordinate system is also specified in its property "srsName".
在 POST请求方法的消息的内容类型 "Content-Type"头字段中包含消 息体的类型为位置翻译消息格式如 "application/ltp+xml" 。  In the content type "Content-Type" header field of the message of the POST request method, the type of the message body is the location translation message format such as "application/ltp+xml".
对用户来说, 一些地标信息非常有用, 因此用户在提交的位置翻译请求 中可以包含地标获取指示, 要求服务器翻译的城市地址信息中必须包含地标 信息字段。 如可以在〈locationTranslation〉元素中用地标属性 landMark= "true"来作为指示, 这样服务器返回的响应中的城市地址必须包含〈LMK > 字段。 服务器在翻译处理时, 也可以只检索具有地标信息的城市地址的对应 关系记录数据。 另外还可以在〈locationTranslation〉元素中用翻译类型属性如 " type " 明确指定位置翻译的类型。 接到位置翻译请求的服务器可以根据其 中的翻译类型属性进行翻译处理并生成相应的翻译结果。 这样除了从位置坐 标与城市地址之间的互相翻译外, 还可以允许有更多类型的翻译。 如从 IP 地址翻译为城市地址, 下面列举一些翻译类型: Some landmark information is very useful for the user, so the user may include a landmark acquisition instruction in the submitted location translation request, and the city address information required for the server translation must include the landmark information field. If the landmark attribute landMark= "true" can be used as an indication in the <locationTranslation> element, then the city address in the response returned by the server must contain the <LMK> field. When the server performs translation processing, it is also possible to retrieve only the correspondence record data of the city address having the landmark information. You can also explicitly specify the type of location translation in the <locationTranslation> element with a translation type attribute such as "type". The server that receives the location translation request can perform translation processing according to the translation type attribute therein and generate a corresponding translation result. This allows for more types of translations in addition to mutual translation between location coordinates and city addresses. For example, from an IP address to a city address, here are some translation types:
geocoding: 从城市地址翻译为经纬度坐标。  Geocoding: Translate from city address to latitude and longitude coordinates.
reverseGeocoding: 从经纬度坐标翻译为城市地址。  reverseGeocoding: Translate from latitude and longitude coordinates to city address.
lampPostcodeToGeocode : 从灯柱编号翻译为经纬度坐标。 实际上属于 从城市地址翻译为经纬度坐标的一种子类型, 只是位置翻译请求中必须包含 灯柱编号, 服务器在翻译处理时, 可以忽略除灯柱编号、 国家和城市之外的 其他地址字段。  lampPostcodeToGeocode : Translate from lamppost number to latitude and longitude coordinates. It actually belongs to a subtype that translates from city address to latitude and longitude coordinates. Only the position translation request must contain the lamp post number. When the server processes the translation, it can ignore the address fields except the lamp post number, country and city.
geocodeToPostcode: 从经纬度坐标翻译为邮政编码。 实际上属于从经 纬度坐标翻译为城市地址的一种子类型, 只是服务器返回的翻译结果中可以 只包含邮政编码即可。  geocodeToPostcode: Translate from latitude and longitude coordinates to zip code. It actually belongs to a subtype that translates from latitude and longitude coordinates to a city address, except that the translation result returned by the server can contain only the zip code.
geocodeToLandmark: 从经纬度坐标翻译为地标。 实际上属于从经纬度 坐标翻译为城市地址的一种子类型, 只是服务器返回的翻译结果中必须包含 地标信息。 通常地标都是一些比较著名的景点和标志性的建筑物等。  geocodeToLandmark: Translate from latitude and longitude coordinates to a landmark. It actually belongs to a subtype that translates from latitude and longitude coordinates to a city address, except that the translation result returned by the server must contain landmark information. Common landmarks are some of the more famous attractions and iconic buildings.
歩骤 202、 服务器接收到该位置翻译请求后, 对其中的位置坐标信息进 行翻译处理。 由于服务器的数据库中不能存储地球上每一个点的位置信息, 只是记录某些点的经纬度坐标和城市地址的对应关系。 因此服务器进行翻译 处理时, 首先要确定位置翻译请求中的坐标信息与数据库中比较接近的所匹 配的坐标。 然后将所匹配的坐标对应的城市地址作为翻译结果。  Step 202: After receiving the location translation request, the server translates the location coordinate information therein. Since the server's database cannot store the location information of each point on the earth, it only records the correspondence between the latitude and longitude coordinates of some points and the city address. Therefore, when the server performs translation processing, it is first determined that the coordinate information in the location translation request is closer to the matching coordinates in the database. Then the city address corresponding to the matched coordinates is used as the translation result.
如果位置翻译请求中的位置信息的类型为点的经纬度坐标, 则服务器通 过检索和计算获得与该点 (命名为点 A) 最为接近的数据库中所存储的城市 地址。 如数据库中所存储的城市地址都对应存储有坐标信息, 通过计算这些 坐标和位置翻译请求中点 A的坐标之间的距离, 可以在数据库找到最为接近 的一个或多个城市地址。 有的城市地址有对应的点的位置坐标, 则通过计算 两点间的距离即可。 有的城市地址有对应的区域的坐标描述, 则判断该请求 中的点 A是否落入区域内, 如果落入区域内或其边界上则距离计为零, 否则 计算点 A 与区域边界的最短距离, 将此最短距离作为点 A 与城市地址的距 离。 服务器将与点 A距离最小的城市地址作为翻译结果。 服务器对位置信息 类型为点的经纬度坐标进行翻译处理的具体歩骤参见图 3所示, 主要包括歩 骤: If the type of the location information in the location translation request is the latitude and longitude coordinates of the point, the server obtains the city address stored in the database closest to the point (named point A) by retrieval and calculation. For example, the city address stored in the database corresponds to the coordinate information stored. By calculating the distance between these coordinates and the coordinates of the point A in the position translation request, the database can be found closest. One or more city addresses. Some city addresses have position coordinates of the corresponding points, and the distance between the two points can be calculated. If the city address has a coordinate description of the corresponding area, it is judged whether the point A in the request falls within the area. If it falls within the area or its boundary, the distance is counted as zero, otherwise the calculation point A and the area boundary are the shortest. Distance, this shortest distance is used as the distance between point A and the city address. The server will use the city address with the smallest distance from point A as the translation result. The specific steps of the server for translating the latitude and longitude coordinates of the location information type into points are shown in FIG. 3, which mainly includes the following steps:
202-01、 获取位置翻译请求中的点的经纬度坐标。  202-01. Obtain latitude and longitude coordinates of a point in the location translation request.
202-02、 通过检索和计算获得与该点距离最为接近的城市地址。 如果位 置翻译请求中要求返回地标信息, 则只在具有地标的城市地址对应的点中选 择距离最近的。 当然为了不使偏差过大, 即有可能最近的地标离请求中的点 很远, 返回这样的地标意义也不大, 则可以预设一个范围值如 1000 米以 内, 如果数据库内在该点 1000 米以内没有含地标的城市地址, 则不必返回 地标信息。 还可以在返回的响应中包含没有返回地标信息的原因说明。 另外 在位置翻译请求中也可以给定一个范围值, 只返回该范围值以内的最近地标 的信息。  202-02. Obtain the city address closest to the point by searching and calculating. If the landmark information is required to be returned in the location translation request, only the closest distance is selected among the points corresponding to the city address with the landmark. Of course, in order not to make the deviation too large, it is possible that the nearest landmark is far away from the point in the request, and returning such a landmark is of little significance, it is possible to preset a range value such as 1000 meters, if the database is at the point 1000 meters There is no city address with a landmark, and there is no need to return landmark information. You can also include a description of the reason for not returning landmark information in the returned response. In addition, a range value can also be given in the location translation request, and only the information of the nearest landmark within the range value is returned.
202-03、 将获得的城市地址和其对应的精确的坐标信息一起包含在翻译 结果中。  202-03. The obtained city address and its corresponding accurate coordinate information are included in the translation result.
如果位置翻译请求中的位置信息的类型为区域的经纬度坐标描述, 则服 务器从数据库中获取该区域内的点坐标对应的城市地址, 或者与该区域有重 叠的城市地址。 举例说明, 如数据库中一个城市地址 "中国 /广东省 /深圳市 /龙岗区 /坂田 /华为基地 /B1 "有对应关系的点的经纬度坐标为 (22. 215, 114. 1325 ) , 如果经计算该点落入了位置翻译请求中的区域, 则可以将对应 的城市地址包含在翻译结果中。 如果数据库中一个城市地址 "中国 /广东省 / 深圳市 /龙岗区 "有对应关系的区域坐标描述, 并且经计算该区域和位置翻 译请求中的区域有重叠, 则也可以包含在翻译结果中。 但服务器最好避免翻 译结果中同时出现两个具有包含关系的城市地址, 如果出现, 则可以取其中 区域较小的那个城市地址返回。 或者可以将与位置翻译请求中的区域重叠比 例最大的那个城市地址返回, 举例说明, 如果城市地址对应的点落入了位置 翻译请求中的区域, 则重叠比例为 100%, 在外部则为零; 如果城市地址对 应区域, 则用重叠部分的面积除以该城市地址对应区域的面积得到重叠比 例。 这样可以尽量保证比较准确的返回最为接近的城市地址信息。 服务器对 位置信息类型为区域的经纬度坐标进行翻译处理的具体歩骤参见图 4所示, 主要包括歩骤: If the type of the location information in the location translation request is the latitude and longitude coordinate description of the region, the server acquires, from the database, a city address corresponding to the point coordinates in the region, or a city address overlapping the region. For example, if the latitude and longitude coordinates of a city address in the database "China/Guangdong/Shenzhen/Longgang/Putian/Huawei Base/B1" have a correspondence (22.215, 114.1325), if calculated If the point falls into the area in the location translation request, the corresponding city address can be included in the translation result. If a city address in the database "China/Guangdong/Shenzhen/Longgang District" has a corresponding regional coordinate description, and it is calculated that the region overlaps with the region in the location translation request, it may also be included in the translation result. But the server is best to avoid turning In the translated result, two city addresses with inclusion relationships appear at the same time. If they appear, you can return the city address with the smaller area. Or, the city address that has the largest overlap ratio with the area in the location translation request may be returned. For example, if the point corresponding to the city address falls into the area in the location translation request, the overlap ratio is 100%, and the external is zero. If the city address corresponds to the area, the area of the overlapping portion is divided by the area of the corresponding area of the city address to obtain an overlapping ratio. This will try to ensure that the closest city address information is returned more accurately. The specific steps of the server for translating the latitude and longitude coordinates of the location information type into the region are shown in FIG. 4, which mainly includes the following steps:
202-11、 获取位置翻译请求中的区域的经纬度坐标描述信息。  202-11. Obtain latitude and longitude coordinate description information of the area in the location translation request.
202-12、 通过检索和计算从数据库中获得与该区域重叠比例最大的城市 地址。  202-12. Obtain the city address with the largest overlap ratio with the region from the database by searching and calculating.
202-13、 将获得的城市地址和其对应的精确的坐标描述信息一起包含在 翻译结果中。  202-13. The obtained city address and its corresponding accurate coordinate description information are included in the translation result.
歩骤 203、 客户端接收服务器返回的 200 0K 响应消息。 该响应消息中 包含翻译后的城市地址。 可以包含一个或多个城市地址, 当包括多个城市地 址时, 最好同时包括各个城市地址对应的精确的坐标信息。 响应消息举例如 下, 为简明起见, 本文中的消息例子都省略了部分熟知的内容:  Step 203: The client receives a 200 0K response message returned by the server. The response message contains the translated city address. It may include one or more city addresses. When multiple city addresses are included, it is preferable to include accurate coordinate information corresponding to each city address. The response message is as follows. For the sake of brevity, the message examples in this article omit some of the well-known content:
HTTP/1. 1 200 0K  HTTP/1. 1 200 0K
Server : Example LTS  Server : Example LTS
Content-Type: appl i cat i on/1 tp+xml  Content-Type: appl i cat i on/1 tp+xml
<?xml version= l. 0"?> <?xml version = l. 0"?>
)nse  Nse
xmlns= urn : ietf: params: xml: ns: geopriv : ltp Xmlns = urn : ietf: params: xml: ns: geopriv : ltp
<civicAddress> A1 GD /A1 <civicAddress> A1 GD /A1
<A3>Shenzhen</A3>  <A3>Shenzhen</A3>
<A4>Longgang</A4>  <A4>Longgang</A4>
<NAM>Huawei Base</NAM> <NAM>Huawei Base</NAM>
PC 518129 /PC
Figure imgf000013_0001
该位置翻译响应〈locationTranslationRespo 中包含一个城市地址 <civicAddress> , 其中包括国家〈country〉, 省〈A1〉等字段信息。 字段信息 中国家、 省或城市的名字可以用全称或缩写等。
PC 518129 / PC
Figure imgf000013_0001
The location translation response <locationTranslationRespo contains a city address <civicAddress>, which includes field information such as country <country>, province <A1>. The name of the country, province or city in the field information can be a full name or an abbreviation.
响应消息中还可以包含城市地址对应的精确的经纬度坐标信息, 这样客 户端可以据此计算和显示请求中的点与返回的翻译后的城市地址之间的相对 位置关系, 如距离, 方位等。  The response message may also include precise latitude and longitude coordinate information corresponding to the city address, so that the client can calculate and display the relative positional relationship between the point in the request and the returned translated city address, such as distance, orientation, and the like.
本发明再一实施例描述了从城市地址翻译为位置坐标。 参见图 5, 具体 包括以下歩骤:  Yet another embodiment of the present invention describes translating from a city address to a location coordinate. Referring to Figure 5, the following steps are specifically included:
歩骤 301、 客户端使用 HTTP/HTTPS POST请求方法发送位置翻译请求消 息。 该位置翻译请求中包含位置类型为城市地址的位置信息。 具体请求消息 举例如下:  Step 301: The client sends a location translation request message by using an HTTP/HTTPS POST request method. The location translation request includes location information whose location type is a city address. The specific request message is as follows:
POST http : //lts. example, com: 32328/location HTTP/1. 1  POST http : //lts. example, com: 32328/location HTTP/1. 1
Accept: appl ication/ltp+xml, appl ication/xml; q=0. 8, text/xml; q=0. 7  Accept: appl ication/ltp+xml, appl ication/xml; q=0. 8, text/xml; q=0. 7
Content-Type: appl ication/ltp+xml <?xml version=// l. 0"?> <locationTranslation Content-Type: appl ication/ltp+xml <?xml version =// l. 0"?> <locationTranslation
xmlns= urn: ietf: params: xml: ns: geopriv: ltp Xmlns = urn: ietf: params: xml: ns: geopriv: ltp
<civicAddress> <civicAddress>
Figure imgf000014_0001
Figure imgf000014_0001
〈A1〉GD〈/A1〉  <A1>GD</A1>
<A3>Shenzhen</A3>  <A3>Shenzhen</A3>
<A4>Longgang</A4>  <A4>Longgang</A4>
<NAM>Huawei Base</NAM>  <NAM>Huawei Base</NAM>
</civicAddress> </civicAddress>
Figure imgf000014_0002
该请求〈locationTransl£ition〉中包含城市地址信息〈civicAddress〉, 其中包括国家〈country〉, 省 1〉等地址信息。
Figure imgf000014_0002
The request <locationTransl£ition> includes city address information <civicAddress>, which includes address information such as country <country>, province 1>.
除了使用格式化的城市地址外, 还可以使用文本描述的城市地址, 位置 翻译请求消息体的内容举例如下:  In addition to using the formatted city address, you can also use the city address described by the text. The contents of the location translation request message body are as follows:
<locationTranslation  <locationTranslation
xmlns= urn: ietf: params: xml: ns: geopriv: ltp Xmlns = urn: ietf: params: xml: ns: geopriv: ltp
〈textAddress〉北京市海淀区上地信息路 3号〈/textAddress〉
Figure imgf000014_0003
如在工商行政管理局等网站可以查询获取企业信息, 其中包括企业的地 址信息, 该地址信息通常为文本描述, 如 "北京市海淀区上地信息路 3 号" 。 客户端在获得这样的文本地址后, 可以通过位置翻译服务获取该企业 对应的具体地理位置坐标, 然后可以根据位置坐标在地图上进行显示或标注 等。 工商行政管理局可以自己或者通过合作方式向公众提供企业的位置查 询, 利用企业登记注册的企业名称、 经营范围和地址等注册信息, 将地址翻 译为坐标, 然后显示在地图上提供给公众。 如应用服务器根据用户客户端提 供的关键词在注册信息中检索匹配的记录, 并将匹配企业记录的地址翻译为 位置坐标, 然后将位置坐标所在区域的地图以及在相应位置添加上企业名称 标注后返回给用户的客户端。 其中的翻译方式可以是应用服务器向翻译服务 器发送位置翻译请求来获得文本地址的位置坐标。 也可以由应用服务器将企 业地址翻译后对应的位置坐标存储在本地直接使用即可。
<textAddress> No. 3, Shangdi Information Road, Haidian District, Beijing </textAddress>
Figure imgf000014_0003
For example, you can check the company information on the website of the Administration for Industry and Commerce, including the address information of the company. The address information is usually described in text, such as "No. 3 Shangdi Information Road, Haidian District, Beijing". After obtaining the text address, the client can obtain the specific geographical location coordinates corresponding to the enterprise through the location translation service, and then can display or label on the map according to the location coordinates. The Administration for Industry and Commerce may provide the public with the location inquiry of the enterprise by itself or through cooperation, and use the registration information such as the company name, business scope and address registered by the enterprise, translate the address into coordinates, and then display it on the map for public. For example, the application server searches for the matching record in the registration information according to the keyword provided by the user client, and translates the address matching the enterprise record into the position coordinate, and then adds the map of the area where the position coordinate is located and the enterprise name label in the corresponding position. The client that is returned to the user. The translation method may be that the application server sends a location translation request to the translation server to obtain the location coordinates of the text address. Alternatively, the application server may store the location coordinates corresponding to the translation of the enterprise address and use it locally.
由于工商行政管理局存储的企业注册信息非常准确、 全面, 以此为基础 利用位置翻译和地图服务, 将会为公众提供生活、 娱乐或商业等各方面的便 利。 业务运营者可以购买企业注册信息, 来快速构建相应的服务, 而不必自 己去搜集和录入企业信息。  Since the business registration information stored by the Administration for Industry and Commerce is very accurate and comprehensive, using location translation and map services as a basis will provide the public with convenience in all aspects of life, entertainment or business. Business operators can purchase enterprise registration information to quickly build the corresponding services without having to collect and enter corporate information.
另外这种文本地址也可以由用户输入, 如只输入简单的单位名称 "华 为" , 这样的地址信息可能不够完整准确, 最终无法唯一确定翻译结果, 可 能会得出多个翻译结果。  In addition, this text address can also be input by the user. For example, only the simple unit name "Huawei" is input. Such address information may not be complete and accurate, and finally the translation result cannot be uniquely determined, and multiple translation results may be obtained.
歩骤 302、 服务器接收到该位置翻译请求后, 对其中的城市地址信息进 行翻译处理。 一般如果一个城市地址信息比较完整, 可以唯一确定该城市地 址对应的位置坐标信息, 包括点或者区域的坐标。 如果请求中的城市地址不 完整, 则可能在翻译处理时会匹配到多个对应的位置坐标信息。  Step 302: After receiving the location translation request, the server translates the city address information therein. Generally, if a city address information is relatively complete, the location coordinate information corresponding to the city address, including the coordinates of the point or region, can be uniquely determined. If the city address in the request is incomplete, it may match multiple corresponding position coordinate information during translation processing.
如果位置翻译请求中的城市地址为格式化的地址信息, 则在数据库中直 接检索对应匹配的城市地址, 将匹配度最高的城市地址对应的位置坐标作为 翻译结果。 所说的匹配度可以根据具有相同格式化地址字段值的数量来判 断, 相同的地址字段值的数量越多, 则匹配度越高。 另外为了提高匹配的精 确度, 由于不同地址字段对确定地理位置的贡献性不同, 可以对不同的字段 赋予不同的值来计算匹配度, 如国家〈country^ 贡献小于城市〈A3〉, 一般 层级越低的地址信息越精确贡献越大。 具体举例说明, 如果国家 0皿^ 〉 字段匹配则匹配度值加 0. 5, 如果城市 3〉字段匹配则匹配度值加 1。 如此 累加所有匹配字段对应的匹配度值后得到最终的匹配度。 这样可以尽量保证 优先返回精度较高的位置坐标信息, 而不是返回一个较大的区域范围信息。 本发明实施例也不限定采用其他的方法来计算匹配度。 If the city address in the location translation request is formatted address information, the corresponding matching city address is directly retrieved in the database, and the location coordinate corresponding to the city address with the highest matching degree is used as the translation result. The matching degree can be judged according to the number of the same formatted address field value, and the more the same address field value, the higher the matching degree. In addition, in order to improve the accuracy of the matching, since different address fields have different contributions to the determined geographic location, different values can be assigned to different fields to calculate the matching degree, for example, the country <country^ contribution is smaller than the city <A3>, and the general level is more The lower the address information, the more accurate the contribution. Specific examples, if the country 0 dish ^ 〉 If the field matches, the matching value is added to 0.5. If the city 3> field matches, the matching value is increased by 1. The total matching degree is obtained by accumulating the matching value corresponding to all the matching fields. In this way, it is possible to ensure that the position coordinate information with higher precision is returned as much as possible, instead of returning a large area range information. The embodiment of the present invention is also not limited to using other methods to calculate the matching degree.
在匹配时有些情况还可以忽略一些字段, 如当城市地址中包含灯柱编号 时, 结合国家、 城市即可唯一确定一个精确的经纬度坐标, 其他字段都可以 在匹配时进行忽略。 所述的灯柱编号在中国很多城市都有部署, 在街道两旁 的灯柱或电线杆上涂有 " 110 " 字样, 并竖向喷涂有一个号码, 如 " 1020004 " 。 在一个城市内, 该编号唯一, 在报警时用于通过这个号码进行 精确的定位。 当然这种号码也可以用于其他各种位置业务应用中。 通过位置 翻译服务, 可以得到灯柱编号对应的经纬度坐标, 这样可以使用户使用很多 无法直接用灯柱编号的位置业务应用。  In some cases, some fields can be ignored. For example, when the city address contains the lamp post number, the country and the city can uniquely determine an accurate latitude and longitude coordinate, and other fields can be ignored when matching. The lamppost numbers are deployed in many cities in China. The lampposts or utility poles on both sides of the street are painted with the word "110" and are vertically painted with a number such as "1020004". In a city, this number is unique and is used for accurate positioning by this number during an alarm. Of course, this number can also be used in other various location business applications. Through the location translation service, you can get the latitude and longitude coordinates corresponding to the lamp post number, which allows the user to use many location business applications that cannot be directly numbered with the lamp post.
服务器对位置信息类型为格式化的城市地址进行翻译处理的具体歩骤参 见图 6所示, 主要包括歩骤:  The specific steps for the server to translate the location information type to the formatted city address are shown in Figure 6, which mainly includes the following steps:
302-01、 获取位置翻译请求中的格式化的城市地址信息。  302-01. Obtain the formatted city address information in the location translation request.
302-02、 通过检索和计算从数据库中获得与该城市地址匹配度最高的城 市地址。  302-02. Obtain the city address with the highest matching degree from the database from the database by searching and calculating.
302-03、 将获得的城市地址和其对应的坐标描述信息一起包含在翻译结 果中。 对应点的坐标描述信息可以包含点的经纬度坐标, 对应区域的坐标描 述信息如圆可以包括圆心的经纬度坐标以及半径值。 一般普通建筑物的城市 地址, 可以对应点的坐标即可。 而较大的建筑物、 建筑群或园区等地理元素 可以用区域的坐标描述信息, 如北京故宫可以用多边形区域来描述。  302-03. The obtained city address and its corresponding coordinate description information are included in the translation result. The coordinate description information of the corresponding point may include the latitude and longitude coordinates of the point, and the coordinate description information of the corresponding area such as a circle may include the latitude and longitude coordinates of the center of the circle and the radius value. The city address of a general building can correspond to the coordinates of the point. Geographic elements such as larger buildings, buildings, or parks can be described by the coordinates of the area. For example, the Forbidden City in Beijing can be described by polygonal areas.
另外如果位置翻译请求中的格式化的城市地址不完整 (如缺少邮编) , 或者不精确 (如可能拼写错误或错别字等) , 则服务器还可以在返回翻译后 的坐标时同时返回数据库中对应的完整精确的格式化的城市地址。 如果位置翻译请求中的城市地址为文本地址, 则服务器可以先提取该文 本地址中地址元素, 如逐一与存储的格式化地址字段比较, 将该文字地址进 行格式化处理后, 再使用格式化后得到的城市地址从数据库中检索匹配度最 高的城市地址的位置坐标信息。 或者直接用该文本地址与数据库中的每条记 录中的格式化地址信息进行匹配计算匹配度。 具体的, 如果一条记录中有 3 个字段都包含在该文本地址中则累积的匹配度可以计为 3。 不同的字段也可 以采用不同的匹配值。 In addition, if the formatted city address in the location translation request is incomplete (such as missing zip code), or inaccurate (such as possible misspellings or typos, etc.), the server can also return the corresponding data in the database when returning the translated coordinates. Completely and accurately formatted city address. If the city address in the location translation request is a text address, the server may first extract the address elements in the text address, such as comparing with the stored formatted address field one by one, formatting the text address, and then using the formatted The obtained city address retrieves the location coordinate information of the city address with the highest matching degree from the database. Or directly use the text address to match the formatted address information in each record in the database to calculate the matching degree. Specifically, if 3 fields in a record are included in the text address, the cumulative matching degree can be counted as 3. Different fields can also use different matching values.
另外文本地址中也可以只包含邮编如 " 518129 " , 服务器则将邮编对应 区域的位置坐标描述信息返回。  In addition, the text address can also contain only the zip code such as "518129", and the server returns the position coordinate description information of the corresponding area of the zip code.
歩骤 303、 客户端接收服务器返回的包含位置坐标的 200 0K 响应消 息。 该响应的消息体中包含翻译后的位置坐标。 可以包含一个或多个位置坐 标。 响应消息举例如下:  Step 303: The client receives a 200 0K response message including a position coordinate returned by the server. The message body of the response contains the translated position coordinates. Can contain one or more position coordinates. An example of the response message is as follows:
HTTP/1. 1 200 0K  HTTP/1. 1 200 0K
Server : Example LTS  Server : Example LTS
Content-Type: appl i cat i on/1 tp+xml  Content-Type: appl i cat i on/1 tp+xml
<?xml version= l. 0"?> <?xml version = l. 0"?>
)nse  Nse
xmlns= urn : ietf: params: xml: ns: geopriv : ltp〃〉 Xmlns = urn : ietf: params: xml: ns: geopriv : ltp〃
〈 location prof i le= geodetic-2d >  < location prof i le= geodetic-2d >
<Point sr sName= urn: ogc: def: cr s: EPSG: : 4326' <pos>22. 215 114. 2925</pos> 对于城市地址为文本地址, 最好返回位置坐标的同时也返回坐标对应的 格式化的城市地址信息。 因为格式化的城市地址更适合用户客户端或应用等 计算机系统进行进一歩的处理。 <Point sr sName = urn: ogc: def: cr s: EPSG: : 4326'<pos>22. 215 114. 2925</pos> For the city address as a text address, it is better to return the position coordinates and also return the formatted city address information corresponding to the coordinates. Because the formatted city address is more suitable for computer systems such as user clients or applications for further processing.
另外在响应消息中还可以包括地图链接, 用户客户端的浏览器可以通过 该地图链接获取位置信息所在的地图。 包含地图链接如〈mapURL〉的响应消息 举例如下: In addition, the response message may further include a map link, and the browser of the user client may obtain the map where the location information is located through the map link. A response message containing a map link such as <mapURL> is as follows:
Figure imgf000018_0001
Figure imgf000018_0001
xmlns= urn : ietf: params: xml: ns: geopriv : ltp〃〉 Xmlns = urn : ietf: params: xml: ns: geopriv : ltp〃
〈 location prof i le= geodetic-2d >  < location prof i le= geodetic-2d >
<Point sr sName= urn: ogc: def: cr s: EPSG:: 4326 <pos>22. 215 114. 2925</pos> <Point sr sName = urn: ogc: def: cr s: EPSG:: 4326 <pos>22. 215 114. 2925</pos>
<mapURL>http : example, com/ a40 j5hjsa3qian</mapURL> <mapURL>http : example, com/ a40 j5hjsa3qian</mapURL>
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分歩骤 是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机 可读存储介质中, 该程序在运行时, 执行上述实施例方法中的全部或部分歩 骤。 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, and the program is running. At the time, all or part of the steps of the above embodiment methods are performed. The above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
如图 7所示, 客户端可以包括: 位置信息翻译请求模块 701, 位置信息 接收模块 702和界面接口模块 704。 其中位置信息翻译请求模块 701用于通 过 HTTP/HTTPS协议如 POST请求方法发送位置翻译请求消息。 位置信息接收 模块 702用于接收服务器返回的包含翻译结果的 200 0K响应消息, 也可以 进一歩将响应消息显示给用户。 界面接口模块 704用于接收进行位置信息翻 译的指示, 以及输入的待翻译的位置信息, 并传送给位置信息翻译请求模块 701。 当然, 所述客户端也可以进一歩包括位置信息存储模块 703, 所述位 置信息存储模块 703用户存储位置信息接收模块 702获得的翻译结果。 界面 接口模块 704还可以根据位置信息存储模块 703中存储的位置信息如城市地 址和位置坐标在界面如浏览器或者卫星地图浏览程序上显示相应的地图, 在 地图上的相应坐标处可以标注有对应的城市地址信息。 As shown in FIG. 7, the client may include: a location information translation request module 701, a location information receiving module 702, and an interface interface module 704. The location information translation requesting module 701 is configured to send a location translation request message by using an HTTP/HTTPS protocol, such as a POST request method. The location information receiving module 702 is configured to receive the 200 OK response message that is returned by the server and includes the translation result, and may further display the response message to the user. The interface interface module 704 is configured to receive an indication for performing location information translation, and input location information to be translated, and transmit the location information translation request module to the location information translation request module. 701. Of course, the client may further include a location information storage module 703, and the location information storage module 703 stores the translation result obtained by the location information receiving module 702. The interface interface module 704 can also display corresponding maps on the interface, such as a browser or a satellite map browsing program, according to location information stored in the location information storage module 703, such as a city address and location coordinates, and corresponding coordinates can be marked on the map. City address information.
如图 8所示, 客户端的界面接口模块 704还可以包括浏览器模块 705, 其中包含一个位置对象 706, 所述位置对象 706 提供相应的应用程序接口 (Appl ication Programming Interface , API ) 用于获耳又客户端的位置信息 如经纬度坐标, 并提供给 Web应用。 Web应用在通过调用位置对象 706的应 用程序接口得到用户的位置信息后还可以通过位置信息翻译请求模块 701获 得所需位置类型的位置信息。 也可以由 Web应用的服务器侧通过位置翻译服 务将得到的位置信息翻译为所需的类型, 然后 Web应用的服务器侧使用翻译 后的位置信息进行处理。  As shown in FIG. 8, the interface module 704 of the client may further include a browser module 705, which includes a location object 706, and the location object 706 provides a corresponding application programming interface (API) for obtaining the ear. The location information of the client, such as latitude and longitude coordinates, is provided to the web application. The web application can obtain the location information of the desired location type through the location information translation request module 701 after obtaining the location information of the user by calling the application interface of the location object 706. It is also possible to translate the obtained location information into a desired type by the server side of the web application through the location translation service, and then the server side of the web application uses the translated location information for processing.
浏览器模块 705还可以包括鉴权模块, 用于对客户端位置信息的访问进 行控制。 用户可以通过鉴权模块来配置哪些 Web应用可以访问位置信息即使 用位置对象 706, 以及所提供位置信息的精确度。 如用户可以配置默认所有 的 Web应用都可以获得城市级别精度的位置信息, 而某个具体的社交应用则 可以获得行政区级别精度的位置信息。 在 Web应用调用位置对象 706访问位 置信息时, 鉴权模块根据上述配置进行鉴权确定该 Web应用是否可以获取位 置信息以及可以获取何种精度的位置信息, 这样通过鉴权控制可以使某些 Web 应用只能获知用户所在城市, 而无法获得更精确的位置信息, 有效保护 了用户的隐私。  The browser module 705 can also include an authentication module for controlling access to client location information. The user can configure which web applications can access the location information even with the location object 706 and the accuracy of the location information provided. For example, users can configure all web applications to obtain location-accurate location information, while a specific social application can obtain administrative-level accuracy location information. When the web application invokes the location object 706 to access the location information, the authentication module performs authentication according to the foregoing configuration to determine whether the web application can obtain the location information and the location information of which precision can be obtained, so that some webs can be made through the authentication control. The application can only know the user's city, and can't get more accurate location information, which effectively protects the user's privacy.
现在很多图片如 JPG 格式图片在 EXIF ( Exchangeable Image Fi le Format ) 信息中都包含有位置信息如经纬度坐标, Web 应用可以利用这个位 置信息, 如在网页显示图片时, 当检测到鼠标移动到该图片上时, 提取该图 片中的经纬度坐标, 然后同时显示该坐标对应的地图, 或者通过位置翻译服 务发送位置翻译请求获得该坐标对应的城市地址后以浮动文本的形式显示。 浏览器模块 705 还可以包括一个图像 (Image) 对象, 该图像对象对应提供 的应用程序接口中包括 EXIF信息提取接口, 这样 Web应用在网页的脚本如 JavaScript语言脚本中利用该图像对象的 EXIF信息提取接口获取图片的位 置信息并显示地图或翻译后的城市地址的浮动文本。 Many images, such as JPG format images, contain location information such as latitude and longitude coordinates in EXIF (Exchangeable Image Fi le Format) information. Web applications can use this location information, such as when a web page is displayed, when a mouse is detected to move to the image. On the top, extract the latitude and longitude coordinates in the picture, and then display the map corresponding to the coordinates at the same time, or through the location translation service The service location translation request is obtained in the form of floating text after obtaining the city address corresponding to the coordinate. The browser module 705 can also include an image object, which includes an EXIF information extraction interface corresponding to the provided application interface, so that the web application extracts the EXIF information of the image object in a script of the webpage, such as a JavaScript language script. The interface obtains the location information of the image and displays the floating text of the map or the translated city address.
如图 9所示, 服务器可以包括: 消息收发模块 901, 位置信息翻译处理 模块 902和位置信息对应关系数据存储模块 903。 其中消息收发模块 901用 于接收和发送位置翻译请求, 如接收和发送基于 HTTP/HTTPS 协议的位置翻 译请求和响应消息。 位置信息翻译处理模块 902用于根据消息收发模块 901 获得的位置翻译请求消息进行位置信息翻译处理, 从位置信息对应关系数据 存储模块 903中获取匹配的信息, 并将翻译结果由消息收发模块 901包含在 响应消息中返回。 位置信息对应关系数据存储模块 903用于存储位置信息的 对应关系数据。 位置信息翻译处理模块 902进行的具体翻译处理可以参见上 面的实施例, 此处不再赘述。  As shown in FIG. 9, the server may include: a messaging module 901, a location information translation processing module 902, and a location information correspondence data storage module 903. The messaging module 901 is configured to receive and send location translation requests, such as receiving and transmitting location translation requests and response messages based on the HTTP/HTTPS protocol. The location information translation processing module 902 is configured to perform location information translation processing according to the location translation request message obtained by the message transceiver module 901, obtain matching information from the location information correspondence data storage module 903, and include the translation result by the message transceiver module 901. Returned in the response message. The location information correspondence data storage module 903 is for storing correspondence data of the location information. The specific translation processing performed by the location information translation processing module 902 can be referred to the above embodiment, and details are not described herein again.
服务器还可以包括互联接口模块。 当一个服务器在本地无法得到翻译结 果时, 位置信息翻译处理模块 902可以通过互联接口模块向其他互联的服务 器发送位置翻译请求, 互联接口模块从互联的服务器获得翻译结果, 然后由 消息收发模块 901包含在响应消息中返回给客户端。 互联服务器的列表可以 预先配置在服务器中。 如在一个全国性的位置翻译服务器中, 可能对某个区 域如深圳市的位置信息没有记录, 则可以将翻译请求转发给区域性如深圳市 的位置翻译服务器, 通常区域性的位置翻译服务器中存储有更为详细的位置 信息记录。 或者接收位置翻译请求的是北京市的位置翻译服务器, 而用户请 求翻译的位置信息是属于深圳区域的, 则可以将该请求转发给深圳市的位置 翻译服务器。 服务器中可以预先配置互联服务器地址和区域的对应关系列 表, 据此选择相应区域的位置翻译服务器进行位置翻译请求的转发。 通过互 联接口可以使位置坐标和城市地址之间的对应关系数据按区域进行分布式的 存储, 以及翻译处理分布式计算。 The server may also include an interconnect interface module. When a server cannot obtain the translation result locally, the location information translation processing module 902 can send a location translation request to the other interconnected servers through the interconnection interface module, and the interconnection interface module obtains the translation result from the interconnected server, and then is included by the messaging module 901. Returned to the client in the response message. The list of interconnected servers can be pre-configured in the server. For example, in a national location translation server, the location information of an area such as Shenzhen may not be recorded, and the translation request may be forwarded to a regional location translation server such as Shenzhen, usually in a regional location translation server. A more detailed location information record is stored. Alternatively, if the location translation request is received by the location translation server in Beijing, and the location information requested by the user belongs to the Shenzhen area, the request may be forwarded to the location translation server of Shenzhen. The server may pre-configure the correspondence list of the interconnection server address and the area, and accordingly, the location translation server of the corresponding area is selected to forward the location translation request. Through each other The joint interface can make the corresponding relationship data between the position coordinates and the city address distributed and distributed according to the area, and the translation processing distributed computing.
如图 10 所示, 本发明实施例的提供位置信息的系统可以包括, 客户端 1001和服务器 1002, 其中: 所述客户端 1001用于向服务器 1002发送位置 翻译请求, 并接收服务器 1002 返回的位置翻译响应, 所述位置翻译请求包 括位置信息及所述位置信息的位置类型, 所述位置翻译响应包括翻译后的位 置信息;  As shown in FIG. 10, the system for providing location information according to an embodiment of the present invention may include a client 1001 and a server 1002, where: the client 1001 is configured to send a location translation request to the server 1002, and receive a location returned by the server 1002. Translating the response, the location translation request includes location information and a location type of the location information, and the location translation response includes translated location information;
所述服务器 1002 用于存储位置坐标与城市地址的对应关系数据, 接收 所述位置翻译请求, 并根据所述位置翻译请求发送位置翻译响应, 并根据所 述位置翻译请求查询所述位置信息对应关系存储模块存储的对应关系数据, 并进行所述位置信息的翻译处理。 其中本实施例的客户端 1001 和服务器 1002 的相关结构可以具体参见上述的客户端和服务器的相关结构, 此处不 再赘述。  The server 1002 is configured to store correspondence data of a location coordinate and a city address, receive the location translation request, and send a location translation response according to the location translation request, and query the location information correspondence according to the location translation request. The corresponding relationship data stored by the storage module is stored, and the translation processing of the location information is performed. The related structure of the client 1001 and the server 1002 in this embodiment may be specifically referred to the related structure of the client and the server, and details are not described herein.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分歩骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的歩骤; 而前述 的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, when executed, The steps of the foregoing method embodiments are performed; and the foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, disk or optical disk.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions

Claims

权利要求书 Claim
1、 一种提供位置信息的方法, 该方法包括歩骤:  1. A method of providing location information, the method comprising:
接收客户端发送的位置翻译请求, 所述位置翻译请求包括位置信息; 根据所述位置翻译请求查询已存储的位置坐标与城市地址的对应关系数 据, 将所述翻译请求中的位置信息翻译为与位置坐标或城市地址对应的位置 Receiving a location translation request sent by the client, where the location translation request includes location information; querying the corresponding relationship data between the stored location coordinates and the city address according to the location translation request, and translating the location information in the translation request into Location coordinates or locations corresponding to city addresses
^ I 自、 .; ^ I 自, .;
向所述客户端返回位置翻译响应, 所述位置翻译响应包括翻译后的与位 置坐标或城市地址对应的位置信息。  A location translation response is returned to the client, the location translation response including translated location information corresponding to the location coordinates or the city address.
2、 根据权利要求 1所述的方法, 其特征在于,  2. The method of claim 1 wherein
所述位置翻译请求包括的位置信息为与所述位置类型对应的经纬度坐 标、 平面坐标或投影坐标, 其中:  The location information included in the location translation request is a latitude and longitude coordinate, a plane coordinate, or a projected coordinate corresponding to the location type, where:
将所述翻译请求中的位置信息翻译为与位置坐标或城市地址对应的位置 信息包括:  Translating the location information in the translation request into location information corresponding to the location coordinates or the city address includes:
根据所述位置坐标将所述经纬度坐标、 平面坐标或投影坐标翻译为与所 述位置坐标对应的城市地址。  The latitude and longitude coordinates, plane coordinates, or projected coordinates are translated into city addresses corresponding to the position coordinates based on the position coordinates.
3、 根据权利要求 1或 2所述的方法, 其特征在于,  3. A method according to claim 1 or 2, characterized in that
所述位置翻译请求中位置信息为某个点的经纬度坐标, 其中: 根据所述位置翻译请求查询已存储的位置坐标与城市地址的对应关系数 据, 将所述翻译请求中的位置信息翻译为与位置坐标或城市地址对应的位置 信息, 具体包括:  The location information in the location translation request is a latitude and longitude coordinate of a certain point, where: querying the corresponding relationship data between the stored location coordinates and the city address according to the location translation request, and translating the location information in the translation request into Location information corresponding to the location coordinates or the city address, including:
查询已存储的位置坐标与城市地址的对应关系数据获得与所述点距离最 接近的城市地址。  The correspondence data of the stored location coordinates and the city address is queried to obtain the city address closest to the point distance.
4、 根据权利要求 1或 2所述的方法, 其特征在于,  4. The method according to claim 1 or 2, characterized in that
所述位置翻译请求中的位置信息为某个区域的经纬度坐标, 其中: 根据所述位置翻译请求查询已存储的位置坐标与城市地址的对应关系数 据, 将所述翻译请求中的位置信息翻译为与位置坐标或城市地址对应的位置 信息, 具体包括: The location information in the location translation request is a latitude and longitude coordinate of a certain region, where: Transmitting the corresponding relationship data of the stored location coordinates and the city address according to the location translation request, and translating the location information in the translation request into the location information corresponding to the location coordinates or the city address, specifically:
查询已存储的位置坐标与城市地址的对应关系数据获得与所述区域重叠 比例最大的城市地址。  Querying the correspondence data between the stored location coordinates and the city address obtains the city address with the largest overlap with the region.
5、 根据权利要求 3或 4所述的方法, 其特征在于,  5. A method according to claim 3 or 4, characterized in that
所述翻译后的位置信息具体包括所述获得的所述城市地址和 /或与城市 地址对应的坐标信息。  The translated location information specifically includes the obtained city address and/or coordinate information corresponding to the city address.
6、 根据权利要求 1所述的方法, 其特征在于,  6. The method of claim 1 wherein:
所述位置翻译请求中的位置信息为城市地址, 所述位置翻译请求包括的 位置信息为与所述位置类型对应的城市地址信息, 其中:  The location information in the location translation request is a city address, and the location information included in the location translation request is city address information corresponding to the location type, where:
将所述翻译请求中的位置信息翻译为与位置坐标或城市地址对应的位置 信息包括:  Translating the location information in the translation request into location information corresponding to the location coordinates or the city address includes:
根据所述城市地址将所述城市地址信息翻译为与所述城市地址对应的经 纬度坐标、 平面坐标或投影坐标。  The city address information is translated into latitude and longitude coordinates, plane coordinates, or projected coordinates corresponding to the city address based on the city address.
7、 根据权利要求 2所述的方法, 其特征在于,  7. The method of claim 2, wherein
所述翻译请求中包括地标获取指示, 所述城市地址包括所述地标信息字 段。  The translation request includes a landmark acquisition indication, and the city address includes the landmark information field.
8、 根据权利要求 1或 6所述的方法, 其特征在于,  8. Method according to claim 1 or 6, characterized in that
所述城市地址信息为格式化的城市地址信息, 其中:  The city address information is formatted city address information, where:
根据所述位置翻译请求查询已存储的位置坐标与城市地址的对应关系数 据, 将所述翻译请求中的位置信息翻译为与位置坐标或城市地址对应的位置 信息, 具体包括:  And the location information in the translation request is translated into the location information corresponding to the location coordinate or the city address, and the method includes:
查询已存储的位置坐标与城市地址的对应关系数据获得与所述城市地址 匹配度最高的城市地址。  The correspondence data of the stored location coordinates and the city address is queried to obtain the city address with the highest matching degree with the city address.
9、 根据权利要求 8所述的方法, 其特征在于, 所述翻译后的位置信息具体包括所述获得的所述城市地址和 /或与城市 地址对应的坐标信息。 9. The method of claim 8 wherein: The translated location information specifically includes the obtained city address and/or coordinate information corresponding to the city address.
10、 根据权利要求 1或 2所述的方法, 其特征在于,  10. The method of claim 1 or 2, wherein
所述位置翻译请求包括位置翻译的类型, 位置翻译的类型包括从城市地 址翻译为经纬度坐标、 从经纬度坐标翻译为城市地址和从灯柱编号翻译为经 纬度坐标, 其中:  The location translation request includes a type of location translation, and the type of location translation includes translation from a city address to a latitude and longitude coordinate, a translation from a latitude and longitude coordinate to a city address, and a translation from a lamp post number to a latitude and longitude coordinate, wherein:
根据所述位置类型将所述位置信息翻译为与所述位置类型与位置坐标或 城市地址对应的位置信息具体包括: 根据所述位置翻译的类型将所述位置信 息翻译为与所述位置翻译类型对应的位置信息。  Translating the location information into the location information corresponding to the location type and the location coordinate or the city address according to the location type specifically includes: translating the location information into the location translation type according to the type of the location translation Corresponding location information.
11、 一种提供位置信息的方法, 包括:  11. A method of providing location information, comprising:
客户端发送位置翻译请求, 所述位置翻译请求包括位置信息, 接收服务器返回的位置翻译响应, 其中, 所述位置翻译响应包括与位置 坐标或城市地址对应的位置信息, 所述与位置坐标或城市地址对应的位置信 息由所述服务器根据所述位置翻译请求中的位置信息查询已存储的位置坐标 与城市地址的对应关系数据并进行翻译得到的。  The client sends a location translation request, where the location translation request includes location information, and receives a location translation response returned by the server, where the location translation response includes location information corresponding to location coordinates or a city address, the location coordinate or city The location information corresponding to the address is obtained by the server by querying the corresponding relationship data of the stored location coordinates and the city address according to the location information in the location translation request.
12、 一种客户端, 包括:  12. A client, including:
位置信息翻译请求模块, 用于发送位置翻译请求, 所述位置翻译请求包 括位置信息;  a location information translation requesting module, configured to send a location translation request, where the location translation request includes location information;
位置信息接收模块, 用于接收服务器返回的位置翻译响应, 其中, 所述 位置翻译响应包括与位置坐标或城市地址对应的位置信息, 所述与位置坐标 或城市地址对应的位置信息由所述服务器根据所述位置翻译请求中的位置信 息查询已存储的位置坐标与城市地址的对应关系数据并进行翻译得到的。  a location information receiving module, configured to receive a location translation response returned by the server, where the location translation response includes location information corresponding to a location coordinate or a city address, where the location information corresponding to the location coordinate or the city address is used by the server Corresponding relationship data of the stored location coordinates and the city address is queried according to the location information in the location translation request and translated.
13、 根据权利要求 12所述的客户端, 其特征在于, 进一歩包括: 界面接口模块, 用于接收进行位置翻译的指示及待翻译的位置信息, 并 传送给所述位置翻译请求模块。  The client according to claim 12, further comprising: an interface interface module, configured to receive an indication of location translation and location information to be translated, and transmit the location information to the location translation request module.
14、 一种服务器, 包括: 消息收发模块, 用于接收位置翻译请求, 并根据位置翻译请求发送位置 翻译响应, 所述位置翻译请求包括位置信息, 所述位置翻译响应包括与位置 坐标或城市地址对应的位置信息; 14. A server, comprising: a message sending and receiving module, configured to receive a location translation request, and send a location translation response according to the location translation request, where the location translation request includes location information, where the location translation response includes location information corresponding to the location coordinate or the city address;
位置信息翻译处理模块, 用于根据所述位置翻译请求中的位置信息查询 存储的位置坐标与城市地址的对应关系数据, 并进行所述位置信息的翻译处 理。  The location information translation processing module is configured to query the correspondence relationship data between the stored location coordinates and the city address according to the location information in the location translation request, and perform translation processing of the location information.
PCT/CN2009/073786 2008-11-19 2009-09-07 Method, client and server for providing position information WO2010063189A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810217378.1 2008-11-19
CN200810217378A CN101742638A (en) 2008-11-19 2008-11-19 Method, client and server for providing position information

Publications (1)

Publication Number Publication Date
WO2010063189A1 true WO2010063189A1 (en) 2010-06-10

Family

ID=42232879

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073786 WO2010063189A1 (en) 2008-11-19 2009-09-07 Method, client and server for providing position information

Country Status (2)

Country Link
CN (1) CN101742638A (en)
WO (1) WO2010063189A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184598A1 (en) * 2018-03-29 2019-10-03 阿里巴巴集团控股有限公司 Cross-language processing method and apparatus for use during use of vehicle
CN112052407A (en) * 2020-08-28 2020-12-08 深圳市彬讯科技有限公司 Service area query method and device, computer equipment and readable storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469122A (en) * 2010-11-05 2012-05-23 联想(北京)有限公司 Electronic equipment and method for transmitting position information by using same
CN102654848B (en) * 2011-03-03 2018-03-23 中兴通讯股份有限公司 A kind of method and device realized mobile terminal and kept a diary automatically
CN103530288B (en) * 2012-07-02 2018-05-11 腾讯科技(深圳)有限公司 A kind of test method and device of point of interest distribution
CN103634740A (en) * 2012-08-29 2014-03-12 深圳市智慧宇宙科技有限公司 Method and device for inputting geographical location information, and terminal device
CN108694394A (en) * 2018-07-02 2018-10-23 北京分音塔科技有限公司 Translator, method, apparatus and the storage medium of recognition of face
CN116761137A (en) * 2023-06-19 2023-09-15 湖南省健缘医疗科技有限公司 Anti-channel conflict management method and device for treatment equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010007968A1 (en) * 2000-01-12 2001-07-12 Nec Corporation Route guiding explanation device and route guiding explanation system
US20020019820A1 (en) * 1998-11-30 2002-02-14 Marcus Kevin R. Method and apparatus for converting a geographic location to a direct marketing area for a querry
CN1731394A (en) * 2005-08-18 2006-02-08 上海交通大学 Method for implementing electronic urban map system having intelligent query function
CN2921854Y (en) * 2006-04-20 2007-07-11 张智勇 Apparatus for positioning information service and control
CN101271545A (en) * 2008-04-28 2008-09-24 陈俊林 City grid coordinates locating and numbering alarm method and its locating identification facilities

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020019820A1 (en) * 1998-11-30 2002-02-14 Marcus Kevin R. Method and apparatus for converting a geographic location to a direct marketing area for a querry
US20010007968A1 (en) * 2000-01-12 2001-07-12 Nec Corporation Route guiding explanation device and route guiding explanation system
CN1731394A (en) * 2005-08-18 2006-02-08 上海交通大学 Method for implementing electronic urban map system having intelligent query function
CN2921854Y (en) * 2006-04-20 2007-07-11 张智勇 Apparatus for positioning information service and control
CN101271545A (en) * 2008-04-28 2008-09-24 陈俊林 City grid coordinates locating and numbering alarm method and its locating identification facilities

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184598A1 (en) * 2018-03-29 2019-10-03 阿里巴巴集团控股有限公司 Cross-language processing method and apparatus for use during use of vehicle
CN112052407A (en) * 2020-08-28 2020-12-08 深圳市彬讯科技有限公司 Service area query method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN101742638A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
WO2010063189A1 (en) Method, client and server for providing position information
US11314715B2 (en) Refining location estimates and reverse geocoding based on a user profile
US7299256B2 (en) Creating a virtual link between a physical location and its web representation
CN101198149B (en) Positional information determining method, resource uploading management method and applied server
US9729381B2 (en) Unified geograhic database and methods of creating, maintaining and using the same
US7940171B2 (en) Machine-readable representation of geographic information
US8489746B2 (en) Systems for suggesting domain names from a geographic location data
US9002926B2 (en) Methods for suggesting domain names from a geographic location data
WO2016029727A1 (en) Geographic information acquisition method and geographic information acquisition system
US20020143462A1 (en) Method and apparatus for providing location based data services
JP5849155B2 (en) User content acquisition method and acquisition system
CN102033934A (en) Method and device for forming question and server end of knowledge question-answering system
WO2012097760A1 (en) Method for acquiring picture of geographic location and mobile terminal
CN107357939B (en) Key interface design method of mobile three-dimensional virtual earth system
Mabrouk et al. Opengis location services (openls): Core services
CN101331485A (en) Improving location-based searches by measuring location-based clickthrough measurements using implicit location
WO2014079295A1 (en) Method, system and computer memory medium for searching based on geography position
US20090248529A1 (en) System and method for providing value added services via wireless access points
Wilde et al. The locative web
WO2002063853A2 (en) Unified geographic database and metod of creating, maintaining and using the same
Kim et al. Ubiquitous location based service
Pannevis et al. Using web-sources for location based systems on mobile phones
Zhao et al. Design and implementation of a location-based service platform
Bychowski et al. OpenGIS® Location Services (OpenLS): Core Services
KR20110083828A (en) Local wireless communication based mobile augmented reality service system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09829973

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09829973

Country of ref document: EP

Kind code of ref document: A1