WO2012142890A1 - 一种上报移动终端位置信息的方法和系统 - Google Patents

一种上报移动终端位置信息的方法和系统 Download PDF

Info

Publication number
WO2012142890A1
WO2012142890A1 PCT/CN2012/072394 CN2012072394W WO2012142890A1 WO 2012142890 A1 WO2012142890 A1 WO 2012142890A1 CN 2012072394 W CN2012072394 W CN 2012072394W WO 2012142890 A1 WO2012142890 A1 WO 2012142890A1
Authority
WO
WIPO (PCT)
Prior art keywords
location information
mobile terminal
information
reporting
service server
Prior art date
Application number
PCT/CN2012/072394
Other languages
English (en)
French (fr)
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 WO2012142890A1 publication Critical patent/WO2012142890A1/zh
Priority to US14/051,324 priority Critical patent/US20140068066A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS

Definitions

  • the present invention relates to the field of location based services (LBS) of a mobile communication network, and in particular, to a method and system for reporting location information of a mobile terminal.
  • LBS location based services
  • the location based service is implemented on the browser through the Geolocation API Specification, where the API is Abbreviation for Application Programming Interface.
  • the browser provides the Geolocation API for the JavaScript engine, and the technicians use this set of APIs to develop location-based services.
  • the aforementioned LBS service requires the browser to support the JavaScript engine.
  • the browser running on a mobile terminal such as a mobile phone cannot implement the JavaScript virtual machine due to the limitation of the hardware conditions of the mobile terminal, and thus cannot support the Geolocation API Specification.
  • the mobile terminal cannot rely on JavaScript to report the location information, and thus cannot rely on JavaScript to implement the LBS service. Therefore, there is a need for a method for implementing location information reporting and LBS services of a mobile terminal without relying on JavaScript on a browser of a mobile terminal. Summary of the invention
  • the main object of the present invention is to provide a method and system for reporting location information of a mobile terminal, so as to implement mobile terminal location information reporting and LBS service independent of JavaScript.
  • the technical solution of the present invention is achieved as follows:
  • the present invention provides a method for reporting location information of a mobile terminal, the method comprising: sending, by the service server, page information to a connected mobile terminal, where the page information includes a label that requires reporting location information;
  • the service server receives location information reported by the mobile terminal; the location information is self location information obtained by the mobile terminal after parsing the label from the received page information.
  • the tag includes a Uniform Resource Locator URL that reports the location information, and is used to instruct the mobile terminal to report the obtained location information to the URL specified in the tag.
  • the tag includes a threshold for re-reporting the location change, to indicate that the mobile terminal re-reports its location information to the service server when detecting that the location change of the mobile terminal exceeds the threshold.
  • the method further includes:
  • the location information received by the service server is encoded by the mobile terminal into an extensible markup language XML file and is displayed on the XML file.
  • the location information is at least one of the following:
  • GPS GPS information GPS GPS information, base station information, wireless fidelity WIFI network protocol IP address information.
  • the present invention also provides a method for reporting location information of a mobile terminal, the method comprising: receiving, by the mobile terminal, page information delivered from a service server, where the page information includes a label that requires reporting location information;
  • the mobile terminal obtains the location information of the required location information from the received page information, and obtains the location information of the location information, and reports the obtained location information to the service server.
  • the tag includes a Uniform Resource Locator URL that reports location information, The mobile terminal reports the obtained location information to a URL specified in the tag.
  • the tag includes a threshold for re-reporting the location change
  • the mobile terminal re-reports its own location information to the service server when it detects that its location change exceeds the threshold.
  • the present invention also provides a system for reporting location information of a mobile terminal, the system comprising: a mobile terminal and a service server, where
  • the service server is configured to send page information to the connected mobile terminal, where the page information includes a label that requires reporting location information;
  • the mobile terminal is configured to obtain the location information of the location information from the received page information, and then obtain the location information of the location information, and report the obtained location information to the service server.
  • the mobile terminal is further configured to: encode the obtained location information into an extensible markup language XML file, and report the XML file to the service server.
  • the location information is at least one of the following:
  • GPS GPS information GPS GPS information, base station information, wireless fidelity WIFI network protocol IP address information.
  • the invention also provides a service server, comprising:
  • a page information sending module configured to send a page information to the connected mobile terminal, where the page information includes a label that requires reporting location information
  • the location information receiving module is configured to receive location information reported by the mobile terminal, where the location information is obtained by the mobile terminal after parsing the label from the received page information.
  • the tag includes a Uniform Resource Locator URL that reports location information
  • the page information sending module is further configured to notify the mobile terminal to report the obtained location information to a URL specified in the tag.
  • the tag includes a threshold for re-reporting the location change
  • the page information sending module is further configured to notify the mobile terminal to report its own location information to the service server when detecting that the location change of the mobile terminal exceeds the threshold.
  • the invention also provides a mobile terminal, comprising:
  • a page information receiving module configured to receive page information delivered by the service server, where the page information includes a label that requires reporting location information
  • the location information reporting module is configured to obtain the location information of the location information that is required to be reported from the received page information, and obtain the location information of the location information, and report the obtained location information to the service server.
  • the tag includes a Uniform Resource Locator URL that reports location information
  • the location information reporting module is further configured to report the obtained location information to a URL specified in the tag.
  • the tag includes a threshold for re-reporting the location change
  • the location information reporting module is further configured to: when detecting that the location change of the mobile terminal exceeds the threshold, re-reporting the location information of the mobile terminal to the service server.
  • the service server sends a page information to the connected mobile terminal, where the page information includes a label that requires reporting location information; After the parsing is performed, the location information of the location information is obtained, and the location information is obtained, and the obtained location information is reported to the service server.
  • the location information reporting and the LBS service of the mobile terminal not relying on JavaScript are realized.
  • FIG. 1 is a flowchart of a method for selecting location information of a mobile terminal according to an embodiment of the present invention
  • 2 is a flowchart of a method for implementing an LBS service according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a system for selecting location information of a mobile terminal according to an embodiment of the present invention.
  • a method for reporting location information of a mobile terminal according to an embodiment of the present invention mainly includes the following steps:
  • Step 101 The service server sends the page information to the connected mobile terminal, where the page information includes a label that requires reporting the location information.
  • the service server needs to send the page information to the connected mobile terminal, and the page information may carry a custom label that requires reporting the location information.
  • the custom tag is used to instruct the mobile terminal to report its own location information.
  • Step 102 The service server receives the location information reported by the mobile terminal according to the label.
  • the location information is the location information obtained by the mobile terminal after parsing the label from the received page information.
  • the mobile terminal After the mobile terminal parses the tag that is required to report the location information, the mobile terminal obtains its own location information, and reports the obtained location information to the service server.
  • the tag may include a Uniform Resource Locator (URL) that reports the location information.
  • URL Uniform Resource Locator
  • the mobile terminal needs to report the obtained location information to the URL specified in the tag.
  • the tag may also include a threshold for re-reporting the location change.
  • the mobile terminal when detecting that the location change of the mobile terminal exceeds the threshold, the mobile terminal re-reports its current location information to the service server.
  • the location information may include at least one of the following: Global Positioning System (GPS) information, base station information, and Wireless Fidelity (WIFI) Network Protocol (IP) address information.
  • GPS Global Positioning System
  • WIFI Wireless Fidelity
  • IP Network Protocol
  • the foregoing threshold may be a latitude and longitude range of the geographic location, and correspondingly, when the mobile terminal detects that its current GPS information is not within the latitude and longitude range, the mobile terminal Re-reporting its current location information;
  • the location information is base station information (such as a base station ID)
  • the foregoing threshold may be an event in which the base station ID is changed.
  • the mobile terminal detects its current base station ID When the change occurs, the current location information of the service is re-reported to the service server;
  • the foregoing threshold may be an event that the WIFI IP address information is changed.
  • the service server is sent to the service server. Re-report your current location information.
  • the method for reporting the location information of the mobile terminal is shown in FIG. 1 .
  • the method for implementing the LBS service according to the embodiment of the present invention is described in detail with reference to FIG. 2 .
  • the method mainly includes the following steps:
  • Step 201 The mobile terminal starts its own browser.
  • Step 202 The mobile terminal requests a service from the service server.
  • Step 203 The service server sends the page information to the connected mobile terminal, where the page information includes a custom label that requires the mobile terminal to report the location information.
  • the custom tag is used to instruct the mobile terminal to report its own location information.
  • the page information includes a custom label that requires reporting location information, and the following custom elements are embedded in the page:
  • the action attribute stores the URL of the location information
  • the threshold attribute stores the threshold of the displacement data.
  • the foregoing threshold may be a latitude and longitude range of the geographic location, and correspondingly, when the mobile terminal detects its current GPS When the information is not in the latitude and longitude range, the current location information needs to be reported to the service server again.
  • the foregoing threshold may be an event that the base station ID is changed.
  • the mobile terminal detects that its current base station ID changes, it needs to go to the service server. Re-reporting its current location information;
  • the foregoing threshold may be an event that the WIFI IP address information is changed.
  • the mobile terminal detects that the current WIFI IP address information changes, the service needs to be sent to the service.
  • the server re-reports its current location information.
  • Step 204 The mobile terminal detects, from the received page information, a label that requires reporting location information.
  • Step 205 The mobile terminal acquires current location information of the local device.
  • the location information may include at least one of the following: GPS information, base station information, and WIFI IP address information.
  • the local API is called to obtain the GPS information; if the mobile terminal does not support the GPS or the GPS information is not available, the mobile terminal can query the location server. To obtain the GPS information of the terminal.
  • Step 206 The mobile terminal asks the user whether to allow the location information to be reported.
  • Step 207 After obtaining the user approval, the mobile terminal reports the acquired location information to the service server, and the mobile terminal may encode the obtained location information into an Extensible Markup Language (XML,
  • POST is an operation in the HyperText Transfer Protocol (HTTP), which means mailing, submitting, and HTTP can submit data to the server in this way, such as an XML file.
  • HTTP HyperText Transfer Protocol
  • the mobile terminal After obtaining the GPS information of the mobile terminal, the mobile terminal will use the POST method to GPS.
  • the information is uploaded to the URL specified by the action.
  • Altitude ( altitude) xxx.xxx ⁇ r ⁇ n
  • xxx.xxx indicates specific longitude, latitude and altitude information
  • ⁇ r ⁇ n indicates carriage return and line feed.
  • Steps 208 ⁇ 209 when detecting that the location change of the mobile terminal exceeds the threshold, the mobile terminal re-reports its current location information to the service server, and notifies the service server of the change of the location of the mobile terminal.
  • the mobile terminal needs to re-report the current location information to the service server to maintain the update status of the location information.
  • the mobile terminal re-reports its current location information to the service server when the mobile terminal detects that its current GPS information is not within the latitude and longitude range;
  • the mobile terminal If the threshold is the event that the base station ID is changed, the mobile terminal re-reports its current location information to the service server when it detects that the current base station ID changes.
  • the mobile terminal If the threshold is the event that the WIFI IP address information is changed, the mobile terminal re-reports its current location information to the service server when it detects that the current WIFI IP address information has changed.
  • the service server performs an interaction process of the normal LBS service with the mobile terminal according to the location information reported by the mobile terminal.
  • the present invention further provides a system for reporting location information of a mobile terminal.
  • the system includes: a service server 10 and a mobile terminal 20.
  • the service server 10 is configured to send page information to the connected mobile terminal 20, where the page The message contains a label that asks for 4 locations.
  • the mobile terminal 20 is configured to obtain the location information of the required location information from the received page information, obtain the location information of the location, and report the obtained location information to the service server 10.
  • the tag may include a URL for reporting location information.
  • the mobile terminal 20 is further configured to report the obtained location information to a URL specified in the tag.
  • the label may include a threshold for re-reporting the location change; the mobile terminal 20 is further configured to re-report the location information of the service server 10 when detecting that the location change of the location exceeds the threshold.
  • the mobile terminal 20 is further configured to encode the obtained location information into an XML file, and report the XML file to the service server 10.
  • the location information is at least one of the following: GPS information, base station information, and WIFI IP address information.
  • the service server 10 can convert the corresponding latitude and longitude information according to the base station information or the WIFI IP address information.
  • the service server 10 further includes: a page information sending module 11 and a location information receiving module 12.
  • the page information sending module 11 is configured to send the page information to the connected mobile terminal 20, where the page information includes a label that requires the location information to be reported.
  • the location information receiving module 12 is configured to receive the mobile terminal 20 to report the label according to the label. Location information; the location information is self location information obtained by the mobile terminal 20 after parsing the label from the received page information.
  • the tag includes a URL for reporting location information
  • the page information sending module 11 is further configured to notify the mobile terminal 20 to report the obtained location information to the URL specified in the tag.
  • the label includes a threshold for re-reporting the location change
  • the page information sending module 11 is further configured to notify the mobile terminal 20 to report its own location information to the service server 10 when it detects that the location change of the user exceeds the threshold.
  • the mobile terminal 20 further includes: a page information receiving module 21 and a location information reporting module 22.
  • the page information receiving module 21 is configured to receive the page information that is sent by the service server 10, where the page information includes a label that is required to report the location information, and the location information reporting module 22 is configured to parse the required report location from the received page information. After the label of the information, the location information of the information is obtained, and the obtained location information is reported to the service server 10.
  • the tag includes a Uniform Resource Locator URL that reports the location information.
  • the location information reporting module 22 is further configured to report the obtained location information to the URL specified in the tag.
  • the label includes a threshold for re-reporting the location change
  • the location information reporting module 22 is further configured to re-report the location information of the mobile terminal 20 to the service server 10 when detecting that the location change of the mobile terminal 20 exceeds the threshold.

Abstract

本发明公开了一种上报移动终端位置信息的方法和系统,方法包括:业务服务器向连接的移动终端下发页面信息,该页面信息中包含要求上报位置信息的标签;移动终端从接收的页面信息中解析得到要求上报位置信息的标签后,获取自身的位置信息,并将获取的位置信息上报给业务服务器。通过本发明,实现了不依赖于JavaScript的移动终端位置信息上报和基于位置的业务(LBS)。

Description

一种上报移动终端位置信息的方法和系统 技术领域
本发明涉及移动通信网络的基于位置的业务 (LBS , Location Based Service )领域, 尤其涉及一种上报移动终端位置信息的方法和系统。 背景技术
按照目前万维网联盟 ( W3C, World Wide Web Consortium ) 的规范, 在浏览器上提供基于位置的业务(LBS, Location Based Service )是通过地 理位置 API规范 (Geolocation API Specification )来实现的, 其中, API是 应用程序接口 ( Application Programming Interface ) 的缩写。 具体来说, 就 是在浏览器为 JavaScript引擎提供 Geolocation API , 技术人员使用这组 API 来开发基于位置的业务即可。
前述提到的 LBS业务需要浏览器支持 JavaScript引擎, 而目前运行在 诸如手机等移动终端上的浏览器, 由于受移动终端硬件条件的限制, 无法 实现 JavaScript虚拟机, 因此也就无法支持 Geolocation API Specification 0 由于移动终端的浏览器无法支持 JavaScript, 因此该移动终端也就无法依赖 于 JavaScript进行位置信息的上报,从而无法依赖于 JavaScript实现 LBS业 务。 因此, 需要提出一种在移动终端的浏览器上, 不依赖于 JavaScript实现 移动终端的位置信息上报以及 LBS业务的方法。 发明内容
有鉴于此, 本发明的主要目的在于提供一种上报移动终端位置信息的 方法和系统, 以实现不依赖于 JavaScript的移动终端位置信息上报和 LBS 业务。 为达到上述目的, 本发明的技术方案是这样实现的:
本发明提供了一种上报移动终端位置信息的方法, 该方法包括: 业务服务器向连接的移动终端下发页面信息, 所述页面信息中包含 要求上报位置信息的标签;
所述业务服务器接收移动终端上报的位置信息; 所述位置信息是由 移动终端从接收的页面信息中解析得到所述标签后, 获得的自身位置信 息。
所述标签中包含上报位置信息的统一资源定位符 URL, 用以指示所 述移动终端将获取的位置信息上报到标签中指定的 URL。
所述标签中包含位置改变重新上报的阈值, 用以指示所述移动终端 在检测到自身的位置改变超出所述阈值时, 向所述业务服务器重新上报 自身的位置信息。
该方法进一步包括:
所述业务服务器接收的位置信息, 由所述移动终端编码到可扩展标 记语言 XML文件并以所述 XML文件上才艮。
所述位置信息为以下至少一种:
全球定位系统 GPS信息、 基站信息、 无线保真 WIFI网络协议 IP地 址信息。
本发明还提供了一种上报移动终端位置信息的方法, 该方法包括: 移动终端接收从业务服务器下发的页面信息, 所述页面信息中包含 要求上报位置信息的标签;
所述移动终端从接收的页面信息中解析得到要求上报位置信息的标 签后, 获取自身的位置信息, 并将获取的位置信息上报给所述业务服务 器。
所述标签中包含上报位置信息的统一资源定位符 URL, 所述移动终端将获取的位置信息上报到标签中指定的 URL。
所述标签中包含位置改变重新上报的阈值,
所述移动终端在检测到自身的位置改变超出所述阈值时, 向所述业 务服务器重新上报自身的位置信息。
本发明还提供了一种上报移动终端位置信息的系统, 该系统包括: 移动终端和业务服务器, 其中,
所述业务服务器, 用于向连接的移动终端下发页面信息, 所述页面 信息中包含要求上报位置信息的标签;
所述移动终端, 用于从接收的页面信息中解析得到要求上报位置信 息的标签后, 获取自身的位置信息, 并将获取的位置信息上报给业务服 务器。
所述移动终端进一步用于, 将获取的位置信息编码到可扩展标记语 言 XML文件中, 并将所述 XML文件上报给所述业务服务器。
所述位置信息为以下至少一种:
全球定位系统 GPS信息、 基站信息、 无线保真 WIFI网络协议 IP地 址信息。
本发明还提供了一种业务服务器, 包括:
页面信息下发模块, 用于向连接的移动终端下发页面信息, 所述页 面信息中包含要求上报位置信息的标签;
位置信息接收模块, 用于接收所述移动终端上报的位置信息; 所述 位置信息是由移动终端从接收的页面信息中解析得到所述标签后, 获得 的自身位置信息。
所述标签中包含上报位置信息的统一资源定位符 URL,
所述页面信息下发模块进一步用于, 告知所述移动终端将获取的位 置信息上报到标签中指定的 URL。 所述标签中包含位置改变重新上报的阈值,
所述页面信息下发模块进一步用于, 告知所述移动终端在检测到自 身的位置改变超出所述阈值时, 向所述业务服务器重新上报自身的位置 信息。
本发明还提供了一种移动终端, 包括:
页面信息接收模块, 用于接收业务服务器下发的页面信息, 所述页 面信息中包含要求上报位置信息的标签;
位置信息上报模块, 用于从接收的页面信息中解析得到要求上报位 置信息的标签后, 获取自身的位置信息, 并将获取的位置信息上报给业 务服务器。
所述标签中包含上报位置信息的统一资源定位符 URL,
相应的, 所述位置信息上报模块进一步用于, 将获取的位置信息上 报到标签中指定的 URL。
所述标签中包含位置改变重新上报的阈值,
相应的, 所述位置信息上报模块进一步用于, 在检测到所述移动终端 的位置改变超出所述阈值时, 向所述业务服务器重新上报所述移动终端的 位置信息。
本发明所提供的一种上报移动终端位置信息的方法和系统, 由业务服 务器向连接的移动终端下发页面信息, 所述页面信息中包含要求上报位置 信息的标签; 移动终端从接收的页面信息中解析得到要求上报位置信息的 标签后, 获取自身的位置信息, 并将获取的位置信息上报给业务服务器。 通过本发明, 实现了不依赖于 JavaScript的移动终端位置信息上报和 LBS 业务。 附图说明
图 1为本发明实施例的一种上 4艮移动终端位置信息的方法流程图; 图 2为本发明实施例的一种 LBS业务实现方法的流程图; 图 3为本发明实施例的一种上 4艮移动终端位置信息的系统结构示意图。 具体实施方式
下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。 本发明实施例所提供的一种上报移动终端位置信息的方法, 如图 1 所 示, 主要包括以下步驟:
步驟 101 , 业务服务器向连接的移动终端下发页面信息, 该页面信息中 包含要求上报位置信息的标签。
在移动终端连接到业务服务器后, 业务服务器需要向连接的移动终端 下发页面信息, 该页面信息中可以携带要求上报位置信息的自定义标签。 该自定义标签用于指示移动终端上报其自身的位置信息。
步驟 102 , 业务服务器接收移动终端根据该标签上报的位置信息; 所述 位置信息是由移动终端从接收的页面信息中解析得到所述标签后, 获得的 自身位置信息。
移动终端从接收的页面信息中解析得到要求上报位置信息的标签后, 获取自身的位置信息, 并将获取的位置信息上报给业务服务器。
所述标签中可以包含上报位置信息的统一资源定位符( URL, Universal Resource Locator ), 相应的, 移动终端需要将获取的位置信息上报到标签中 指定的 URL。
所述标签中也可以包含位置改变重新上报的阈值, 相应的, 移动终端 在检测到自身的位置改变超出该阈值时, 向业务服务器重新上报自身当前 的位置信息。
另外, 所述的位置信息可以包括以下至少一种: 全球定位系统(GPS, Global Positioning System )信息、基站信息、无线保真( WIFI )网络协议 ( IP ) 地址信息。 当所述位置信息为 GPS信息(即 GPS经纬度信息 )时, 上述的阈值可 以是地理位置的经纬度范围, 相应的, 当移动终端检测到自身当前的 GPS 信息不在该经纬度范围内时, 向业务服务器重新上报自身当前的位置信息; 当所述位置信息为基站信息 (如基站 ID ) 时, 上述的阈值可以是基站 ID发生改变的这一事件,相应的, 当移动终端检测到自身当前的基站 ID发 生改变时, 向业务服务器重新上报自身当前的位置信息;
当所述位置信息为 WIFI IP地址信息时,上述的阈值可以是 WIFI IP地 址信息发生改变的这一事件, 相应的, 当移动终端检测到自身当前的 WIFI IP地址信息发生改变时, 向业务服务器重新上报自身当前的位置信息。
下面在图 1所示上报移动终端位置信息的方法的基础上, 结合图 2对 本发明实施例的一种 LBS业务实现方法进行详细说明, 如图 2所示, 该方 法主要包括以下步驟:
步驟 201 , 移动终端启动自身的浏览器。
步驟 202, 移动终端向业务服务器请求业务。
步驟 203 , 业务服务器向连接的移动终端下发页面信息, 该页面信息中 包含要求移动终端上报位置信息的自定义标签。 该自定义标签用于指示移 动终端上报其自身的位置信息。
其中, 页面信息中包含要求上报位置信息的自定义标签, 是指在页面 中嵌入如下的自定义元素:
<!—mttlocationdetect action = "http://ServiceIP:Port/path" threshold =
"lkm|newcellid" ~> <! ~/mttlocationdetect~>
其中, action属性中保存的是上报位置信息的 URL, threshold属性中 保存的是位移数据的阈值, 超过此阈值时, 移动终端应重新向业务服务器 上报新的位置信息。
当所述位置信息为 GPS信息(即 GPS经纬度信息 )时, 上述的阈值可 以是地理位置的经纬度范围, 相应的, 当移动终端检测到自身当前的 GPS 信息不在该经纬度范围内时, 需要向业务服务器重新上报自身当前的位置 信息;
当所述位置信息为基站信息 (如基站 ID ) 时, 上述的阈值可以是基站 ID发生改变的这一事件,相应的, 当移动终端检测到自身当前的基站 ID发 生改变时, 需要向业务服务器重新上报自身当前的位置信息;
当所述位置信息为 WIFI IP地址信息时,上述的阈值可以是 WIFI IP地 址信息发生改变的这一事件, 相应的, 当移动终端检测到自身当前的 WIFI IP地址信息发生改变时,需要向业务服务器重新上报自身当前的位置信息。
步驟 204,移动终端从接收的页面信息中检测得到要求上报位置信息的 标签。
步驟 205 , 移动终端获取本机当前的位置信息。
所述的位置信息可以包括以下至少一种: GPS信息、基站信息、 WIFI IP 地址信息。
较佳的, 如果移动终端本机支持 GPS功能并且当前的 GPS信息可用, 则调用本机 API获得 GPS信息; 如果移动终端本机不支持 GPS或 GPS信 息不可用,则移动终端可以通过查询位置服务器来获得本终端的 GPS信息。
步驟 206, 移动终端询问用户是否允许上报位置信息。
步驟 207,得到用户认可后, 移动终端向业务服务器上报获取的位置信 移动终端可以将获取的位置信息编码到可扩展标记语言 (XML ,
Extensible Markup Language )文件中, 并将该 XML文件通过 POST的方式 上传到业务服务器。 POST是超文本传输协议 ( HTTP, HyperText Transfer Protocol ) 中的一种操作, 意为邮寄、 提交, HTTP 中可以通过这种方法向 服务器提交数据, 比如一个 XML文件。
例如: 移动终端在获得自身的 GPS信息后, 通过 POST的方式将 GPS 信息上传到 action指定的 URL, 数据采用 text/plain格式编码, 内容如下: longitude (经度) = xxx.xxx\r\n
latitude (乡韦度) = xxx.xxx\r\n
altitude (海拔高度 ) = xxx.xxx\r\n
其中的 xxx.xxx表示具体的经度、 纬度和海拔高度信息, \r\n表示回车 换行。
步驟 208~209,移动终端在检测到自身的位置改变超出该阈值时, 向业 务服务器重新上报自身当前的位置信息, 通知业务服务器该移动终端位置 的改动。
在包含 mttlocationdetect类型的页面信息中, 如果位置偏移变化超过 threshold属性中规定的阈值, 则移动终端需要重新向业务服务器上报当前 的位置信息, 保持位置信息的更新状态。
如果阈值为地理位置的经纬度范围, 则移动终端检测到自身当前的 GPS信息不在该经纬度范围内时, 向业务服务器重新上报自身当前的位置 信息;
如果阈值为基站 ID发生改变的这一事件, 则移动终端检测到自身当前 的基站 ID发生改变时, 向业务服务器重新上报自身当前的位置信息;
如果阈值为 WIFI IP地址信息发生改变的这一事件,则移动终端检测到 自身当前的 WIFI IP地址信息发生改变时,向业务服务器重新上报自身当前 的位置信息。
随后, 业务服务器根据移动终端上报的位置信息, 执行与移动终端之 间的正常 LBS业务的交互流程。
对应上述上报移动终端位置信息的方法, 本发明还提供了一种上报移 动终端位置信息的系统,如图 3所示, 包括:业务服务器 10和移动终端 20。 其中, 业务服务器 10, 用于向连接的移动终端 20下发页面信息, 所述页面 信息中包含要求上 4艮位置信息的标签。 移动终端 20, 用于从接收的页面信 息中解析得到要求上报位置信息的标签后, 获取自身的位置信息, 并将获 取的位置信息上报给业务服务器 10。
较佳的, 所述标签中可以包含上报位置信息的 URL; 所述移动终端 20 进一步用于, 将获取的位置信息上报到标签中指定的 URL。
较佳的, 所述标签中可以包含位置改变重新上报的阈值; 所述移动终 端 20进一步用于, 在检测到自身的位置改变超出所述阈值时, 向业务服务 器 10重新上报自身的位置信息。
移动终端 20还可用于, 将获取的位置信息编码到 XML文件中, 并将 所述 XML文件上报给业务服务器 10。
所述位置信息为以下至少一种: GPS信息、 基站信息、 WIFI IP地址信 息。 当移动终端 20上报的是基站信息或 WIFI IP地址信息时, 业务服务器 10可以自行根据上述基站信息或 WIFI IP地址信息, 转换为相应的经纬度 信息。
较佳的, 业务服务器 10还包括: 页面信息下发模块 11和位置信息接 收模块 12。 页面信息下发模块 11 , 用于向连接的移动终端 20下发页面信 息, 所述页面信息中包含要求上报位置信息的标签; 位置信息接收模块 12, 用于接收移动终端 20根据所述标签上报的位置信息; 所述位置信息是由移 动终端 20从接收的页面信息中解析得到所述标签后 ,获得的自身位置信息。
进一步的, 所述标签中包含上报位置信息的 URL,
页面信息下发模块 11进一步用于, 告知移动终端 20将获取的位置信 息上报到标签中指定的 URL。
进一步的, 所述标签中包含位置改变重新上报的阈值,
页面信息下发模块 11进一步用于, 告知移动终端 20在检测到自身的 位置改变超出所述阈值时, 向业务服务器 10重新上报自身的位置信息。 较佳的, 移动终端 20还包括: 页面信息接收模块 21和位置信息上 报模块 22。 页面信息接收模块 21 , 用于接收业务服务器 10下发的页面 信息, 所述页面信息中包含要求上报位置信息的标签; 位置信息上报模 块 22, 用于从接收的页面信息中解析得到要求上报位置信息的标签后, 获取自身的位置信息, 并将获取的位置信息上报给业务服务器 10。
进一步的, 所述标签中包含上报位置信息的统一资源定位符 URL, 相应的, 位置信息上报模块 22进一步用于, 将获取的位置信息上报 到标签中指定的 URL。
进一步的, 所述标签中包含位置改变重新上报的阈值,
相应的, 位置信息上报模块 22进一步用于, 在检测到移动终端 20 的位置改变超出所述阈值时, 向业务服务器 10重新上报移动终端 20的 位置信息。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的 保护范围。

Claims

权利要求书
1、 一种上报移动终端位置信息的方法, 其特征在于, 该方法包括: 业务服务器向连接的移动终端下发页面信息, 所述页面信息中包含 要求上报位置信息的标签;
所述业务服务器接收移动终端上报的位置信息; 所述位置信息是由 移动终端从接收的页面信息中解析得到所述标签后, 获得的自身位置信 息。
2、根据权利要求 1所述上报移动终端位置信息的方法,其特征在于, 所述标签中包含上报位置信息的统一资源定位符 URL, 用以指示所述移 动终端将获取的位置信息上报到标签中指定的 URL。
3、根据权利要求 1所述上报移动终端位置信息的方法,其特征在于, 所述标签中包含位置改变重新上报的阈值, 用以指示所述移动终端在检 测到自身的位置改变超出所述阈值时, 向所述业务服务器重新上报自身 的位置信息。
4、 根据权利要求 1、 2或 3所述上报移动终端位置信息的方法, 其 特征在于, 该方法进一步包括:
所述业务服务器接收的位置信息, 由所述移动终端编码到可扩展标 记语言 XML文件并以所述 XML文件上才艮。
5、 根据权利要求 1、 2或 3所述上报移动终端位置信息的方法, 其 特征在于, 所述位置信息为以下至少一种:
全球定位系统 GPS信息、 基站信息、 无线保真 WIFI网络协议 IP地 址信息。
6、 一种上报移动终端位置信息的方法, 其特征在于, 该方法包括: 移动终端接收从业务服务器下发的页面信息, 所述页面信息中包含 要求上报位置信息的标签; 所述移动终端从接收的页面信息中解析得到要求上报位置信息的标 签后, 获取自身的位置信息, 并将获取的位置信息上报给所述业务服务 器。
7、根据权利要求 6所述上报移动终端位置信息的方法,其特征在于, 所述标签中包含上报位置信息的统一资源定位符 URL,
所述移动终端将获取的位置信息上报到标签中指定的 URL。
8、根据权利要求 6所述上报移动终端位置信息的方法,其特征在于, 所述标签中包含位置改变重新上报的阈值,
所述移动终端在检测到自身的位置改变超出所述阈值时, 向所述业 务服务器重新上报自身的位置信息。
9、 一种上报移动终端位置信息的系统, 其特征在于, 该系统包括: 移动终端和业务服务器, 其中,
所述业务服务器, 用于向连接的移动终端下发页面信息, 所述页面 信息中包含要求上报位置信息的标签;
所述移动终端, 用于从接收的页面信息中解析得到要求上报位置信 息的标签后, 获取自身的位置信息, 并将获取的位置信息上报给业务服 务器。
10、 根据权利要求 9 所述上报移动终端位置信息的系统, 其特征在 于, 所述移动终端进一步用于, 将获取的位置信息编码到可扩展标记语 言 XML文件中, 并将所述 XML文件上报给所述业务服务器。
11、 根据权利要求 9或 10所述上报移动终端位置信息的系统, 其特 征在于, 所述位置信息为以下至少一种:
全球定位系统 GPS信息、 基站信息、 无线保真 WIFI网络协议 IP地 址信息。
12、 一种业务服务器, 其特征在于, 包括: 页面信息下发模块, 用于向连接的移动终端下发页面信息, 所述页 面信息中包含要求上报位置信息的标签;
位置信息接收模块, 用于接收所述移动终端上报的位置信息; 所述 位置信息是由移动终端从接收的页面信息中解析得到所述标签后, 获得 的自身位置信息。
13、 根据权利要求 12所述业务服务器, 其特征在于, 所述标签中包 含上报位置信息的统一资源定位符 URL,
所述页面信息下发模块进一步用于, 告知所述移动终端将获取的位 置信息上报到标签中指定的 URL。
14、 根据权利要求 12所述业务服务器, 其特征在于, 所述标签中包 含位置改变重新上报的阈值,
所述页面信息下发模块进一步用于, 告知所述移动终端在检测到自 身的位置改变超出所述阈值时, 向所述业务服务器重新上报自身的位置 信息。
15、 一种移动终端, 其特征在于, 包括:
页面信息接收模块, 用于接收业务服务器下发的页面信息, 所述页 面信息中包含要求上报位置信息的标签;
位置信息上报模块, 用于从接收的页面信息中解析得到要求上报位 置信息的标签后, 获取自身的位置信息, 并将获取的位置信息上报给业 务服务器。
16、 根据权利要求 15所述移动终端, 其特征在于, 所述标签中包含 上报位置信息的统一资源定位符 URL,
相应的, 所述位置信息上报模块进一步用于, 将获取的位置信息上 报到标签中指定的 URL。
17、 根据权利要求 15所述移动终端, 其特征在于, 所述标签中包含 位置改变重新上报的阈值,
相应的, 所述位置信息上报模块进一步用于, 在检测到所述移动终 端的位置改变超出所述阈值时, 向所述业务服务器重新上报所述移动终 端的位置信息。
PCT/CN2012/072394 2011-04-19 2012-03-15 一种上报移动终端位置信息的方法和系统 WO2012142890A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/051,324 US20140068066A1 (en) 2011-04-19 2013-10-10 Method and System for Reporting Location Information of Mobile Terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110097835.X 2011-04-19
CN201110097835.XA CN102752707B (zh) 2011-04-19 2011-04-19 一种上报移动终端位置信息的方法和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/051,324 Continuation US20140068066A1 (en) 2011-04-19 2013-10-10 Method and System for Reporting Location Information of Mobile Terminal

Publications (1)

Publication Number Publication Date
WO2012142890A1 true WO2012142890A1 (zh) 2012-10-26

Family

ID=47032564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072394 WO2012142890A1 (zh) 2011-04-19 2012-03-15 一种上报移动终端位置信息的方法和系统

Country Status (3)

Country Link
US (1) US20140068066A1 (zh)
CN (1) CN102752707B (zh)
WO (1) WO2012142890A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6241036B2 (ja) * 2013-01-08 2017-12-06 株式会社リコー 通信端末、位置管理システム及び通信方法
CN104935495B (zh) * 2014-03-19 2019-04-23 华为技术有限公司 确定用户状态的方法、统一通讯系统以及相关设备
CN104678413A (zh) * 2014-12-12 2015-06-03 广西科技大学 一种在线定位系统
CN104618859A (zh) * 2014-12-29 2015-05-13 北京奇虎科技有限公司 基于地理位置的通讯管理方法和装置
US10574345B2 (en) 2015-07-24 2020-02-25 Qualcomm Incorporated Satellite communication location reporting and paging
CN107046685B (zh) * 2017-05-22 2020-07-31 哈尔滨海能达科技有限公司 一种位置信息上报方法及移动台
US11128736B2 (en) * 2019-09-09 2021-09-21 Google Llc Dynamically configurable client application activity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522085A (zh) * 2003-01-28 2004-08-18 华为技术有限公司 一种位置定位系统及方法
CN1817060A (zh) * 2003-05-06 2006-08-09 诺基亚有限公司 用于将位置数据传送到接收器的方法和设备
CN101489179A (zh) * 2008-01-17 2009-07-22 日电(中国)有限公司 位置报知方法和系统以及主装置和从装置
CN101860788A (zh) * 2010-04-14 2010-10-13 深圳市振华通信设备有限公司 一种利用手机通信实现子母机之间定位的方法及其装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3788765B2 (ja) * 2000-03-31 2006-06-21 株式会社エヌ・ティ・ティ・ドコモ 位置情報通知方法及び移動通信端末
US6968179B1 (en) * 2000-07-27 2005-11-22 Microsoft Corporation Place specific buddy list services
TWI286909B (en) * 2003-09-25 2007-09-11 Nec Corp Position information service providing system, and the method thereof
US8463284B2 (en) * 2006-07-17 2013-06-11 Telecommunication Systems, Inc. Short messaging system (SMS) proxy communications to enable location based services in wireless devices
US7873710B2 (en) * 2007-02-06 2011-01-18 5O9, Inc. Contextual data communication platform
CN101583075B (zh) * 2008-05-14 2012-12-26 高建波 一种无线移动终端定位、查询系统及方法
KR101593664B1 (ko) * 2008-09-04 2016-02-12 한국전자통신연구원 단말의 위치 정보 보고 장치 및 방법

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522085A (zh) * 2003-01-28 2004-08-18 华为技术有限公司 一种位置定位系统及方法
CN1817060A (zh) * 2003-05-06 2006-08-09 诺基亚有限公司 用于将位置数据传送到接收器的方法和设备
CN101489179A (zh) * 2008-01-17 2009-07-22 日电(中国)有限公司 位置报知方法和系统以及主装置和从装置
CN101860788A (zh) * 2010-04-14 2010-10-13 深圳市振华通信设备有限公司 一种利用手机通信实现子母机之间定位的方法及其装置

Also Published As

Publication number Publication date
US20140068066A1 (en) 2014-03-06
CN102752707A (zh) 2012-10-24
CN102752707B (zh) 2014-09-17

Similar Documents

Publication Publication Date Title
WO2012142890A1 (zh) 一种上报移动终端位置信息的方法和系统
US7957753B2 (en) Terminal-based server for location tracking
KR101641682B1 (ko) 통신 디바이스의 물리적 위치를 나타내는 위치 정보를 업데이트하는 방법, 이 방법을 실행하는 컴퓨터 프로그램 물건, 및 위치 정보를 업데이트하는 통신 시스템
WO2010077006A3 (en) Location information tagging method and apparatus for location-based service in wireless communication system
US9509786B2 (en) Enabling mobile applications to acquire a MAC address for obtaining location information
WO2008089635A1 (fr) Procédé et dispositif de synchronisation d&#39;informations de déclenchement de localisation
TW200614841A (en) Integrated method and apparatus to manage mobile devices and services
TWI420946B (zh) 行動通訊裝置、服務網路、以及定位資訊與定位協助資料回報方法
WO2013182120A1 (zh) 一种异构终端环境中的终端信息获取方法及装置
CN101183946A (zh) 一种获取下载文件资源列表的方法及系统
GB2466196B (en) Communications system and method
US20130091198A1 (en) Method of Reducing Message Transmission between DM Client and DM Server and Related Communication Device
CN103108278B (zh) 基于移动定位信息获取附近用户帮助的方法、装置及系统
TW527809B (en) Apparatus and method for serving data
CN101895832A (zh) 配置接入点及应用信息的方法、装置和移动终端
US20040254724A1 (en) Methods, devices and system for handling position-related information of cellular equipment
CN104346759A (zh) 基于云服务的照片自助打印方法及照片自助打印系统
JP2008219797A (ja) 位置情報提供サーバ、位置情報提供システム、位置情報提供方法および移動通信端末
WO2012094938A1 (zh) 发送信息的方法、装置和系统
WO2014161344A1 (zh) 一种下载统计方法、终端和服务器
CN101291467A (zh) 一种多媒体消息中心设备、多媒体消息的转发方法及装置
JP5266923B2 (ja) 位置利用サービス提供装置、アクセス手段通知サービス装置、ユーザ端末装置、サービス提供システム及びサービス提供方法
WO2009026842A1 (fr) Procédé et dispositif de traitement de la messagerie instantanée du protocole d&#39;initiation de session
CN106034284B (zh) 一种通信方法、无线基站、用户终端及通信系统
JP5273489B2 (ja) 移動端末、情報配信サーバ、および情報配信システム

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: 12773768

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/03/2014)

122 Ep: pct application non-entry in european phase

Ref document number: 12773768

Country of ref document: EP

Kind code of ref document: A1