WO2017166612A1 - 一种终端间共享地理位置的方法、装置和电子设备 - Google Patents

一种终端间共享地理位置的方法、装置和电子设备 Download PDF

Info

Publication number
WO2017166612A1
WO2017166612A1 PCT/CN2016/096523 CN2016096523W WO2017166612A1 WO 2017166612 A1 WO2017166612 A1 WO 2017166612A1 CN 2016096523 W CN2016096523 W CN 2016096523W WO 2017166612 A1 WO2017166612 A1 WO 2017166612A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
location information
geographical location
information
status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/096523
Other languages
English (en)
French (fr)
Inventor
李志成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
Lemobile Information Technology (Beijing) Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Lemobile Information Technology (Beijing) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, Lemobile Information Technology (Beijing) Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017166612A1 publication Critical patent/WO2017166612A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/402Support for services or applications wherein the services involve a main real-time session and one or more additional parallel non-real time sessions, e.g. downloading a file in a parallel FTP session, initiating an email or combinational services
    • H04L65/4025Support for services or applications wherein the services involve a main real-time session and one or more additional parallel non-real time sessions, e.g. downloading a file in a parallel FTP session, initiating an email or combinational services where none of the additional parallel sessions is real time or time sensitive, e.g. downloading a file in a parallel FTP session, initiating an email or combinational services
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • 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/025Services making use of location information using location based information parameters
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, and an electronic device for sharing a geographic location between terminals.
  • the mobile terminal can accurately locate its own geographical location by using global positioning system or base station technology, so that various application servers can acquire the geographical location of the mobile terminal through the wireless network, and based on the acquired geographic location of the mobile terminal for each mobile.
  • the terminal provides location-based services.
  • LBS Location Based Services, which includes two meanings: first, to determine the geographic location of the mobile terminal or user; secondly, to provide various types of information services related to the location. Therefore, it can be said that "LBS” is to use the Internet or wireless network to complete the two functions of positioning and service, and realize mutual sharing and public release of mobile terminal location information.
  • the invention provides a method, a device and an electronic device for sharing a geographical location between terminals, so as to solve at least the problem of geographical location information sharing between terminals in the process of talking between two terminals in the prior art.
  • a method for sharing a geographic location between terminals including: in a process of a first terminal talking to a second terminal, acquiring the first terminal by using a map application embedded in the first terminal a location information of the first terminal when the first terminal is in a call with the second terminal; triggering an identifier displayed in the call interface for indicating shared location information; The geographical location information of the first terminal is sent to the second terminal.
  • acquiring the geographic location information of the first terminal by using the map application embedded in the first terminal includes: receiving a status release message sent by the first terminal, and from a location field of the status release message Extracting the geographic location information.
  • sending the geographic location information of the first terminal to the second terminal includes: adding the geographic location information to a status notification message, and sending the status notification message To the second terminal.
  • the geographical location information is expressed in at least one of the following: a short message, a positioning picture.
  • the geographic location information includes longitude information and latitude information of the first terminal.
  • an apparatus for sharing a geographical location between terminals including: a first acquiring module, configured to be embedded in the first terminal by the first terminal during a call with the second terminal
  • the map application acquires the geographic location information of the first terminal;
  • the second obtaining module is configured to acquire a call interface of the first terminal when the first terminal and the second terminal are in a call;
  • a sending module configured to send the geographic location information of the first terminal to the second terminal by using a background.
  • the first obtaining module is further configured to receive a status release message sent by the first terminal, and extract the geographic location information from a location field of the status release message.
  • the sending module is further configured to add the geographic location information to a status notification message, and send the status notification message to the second terminal.
  • the geographical location information is expressed in at least one of the following: a short message, a positioning picture.
  • the geographic location information includes longitude information and latitude information of the first terminal.
  • Embodiments of the present invention also provide an electronic device including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to: acquire, by the map application embedded in the first terminal, the first terminal during a call with the second terminal a location information of the terminal; the call interface of the first terminal when the first terminal and the second terminal are in a call; triggering an identifier displayed in the call interface for indicating shared location information; Transmitting geographic location information of the first terminal to the second terminal.
  • acquiring the geographical location information of the first terminal by using a map application embedded in the first terminal includes: receiving a status release message sent by the first terminal, and publishing a message from the status The location information is extracted from the location field.
  • transmitting the geographical location information of the first terminal to the second terminal comprises: adding the geographical location information to a status notification message, and sending the status notification message to the The second terminal.
  • the geographical location information is expressed in at least one of the following: a short message, a positioning picture.
  • the geographical location information includes longitude information and latitude information of the first terminal.
  • Embodiments of the present invention also provide a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: at the first terminal During the process of talking to the second terminal, by embedding into The map application of the first terminal acquires the geographic location information of the first terminal; acquires a call interface of the first terminal when the first terminal and the second terminal make a call; triggers display in the call interface And an identifier for indicating the shared location information; sending the geographical location information of the first terminal to the second terminal by using a background.
  • the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: at the first terminal During the process of talking to the second terminal, by embedding into The map application of the first terminal acquires the geographic location information of the first terminal; acquires a call interface of the first terminal when the first terminal and the second terminal make a call; triggers display in the call interface And an identifier for indicating the shared location
  • the non-volatile computer storage medium wherein acquiring, by the map application embedded in the first terminal, the geographic location information of the first terminal comprises: receiving a status release message sent by the first terminal, and The geographical location information is extracted from a location field of the status release message.
  • the non-volatile computer storage medium wherein the transmitting the geographical location information of the first terminal to the second terminal comprises: adding the geographical location information to a status notification message, and notifying the status A message is sent to the second terminal.
  • the non-volatile computer storage medium wherein the geographical location information is expressed in at least one of the following: a short message, a positioning picture.
  • the non-volatile computer storage medium wherein the geographical location information comprises longitude information and latitude information of the first terminal.
  • the geographic location information of the first terminal is obtained by the map application embedded in the first terminal; when the first terminal and the second terminal are in a call, the first terminal is obtained.
  • the call interface is configured to trigger the identifier of the shared location information displayed in the call interface; and the geographical location information of the first terminal is sent to the second terminal in the background, which solves the problem in the prior art in the two terminals
  • the problem of geographic location information sharing between terminals cannot be realized, thereby realizing location sharing between terminals at any time and anywhere.
  • FIG. 1 is a flow chart of a method for sharing a geographic location between terminals according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for sharing a geographical location between terminals according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present invention.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • FIG. 1 is a flowchart of a method for sharing a geographic location between terminals according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 in the process of the first terminal talking to the second terminal, acquiring the geographical location information of the first terminal by using the map application embedded in the first terminal;
  • Step S104 Acquire a call interface of the first terminal when the first terminal and the second terminal make a call
  • Step S106 triggering an identifier displayed in the call interface for indicating shared location information
  • Step S108 Send the geographic location information of the first terminal to the second terminal by using a background.
  • the identifier for indicating the shared location information is displayed in the call interface of the first terminal.
  • the identifier is triggered to be the first terminal.
  • the geographic location information of the terminal is sent to the second terminal.
  • the geographic location information cannot be shared.
  • the foregoing steps solve the problem in the prior art that the two terminals talk. In the process, the problem of geographical location information sharing between terminals cannot be realized, thereby realizing location sharing between terminals at any time and anywhere.
  • the foregoing step S102 involves obtaining the geographical location information of the first terminal by using the map application embedded in the first terminal.
  • the geographical location information of the first terminal can be obtained in multiple manners. Description.
  • the status release message sent by the first terminal is received, and the geographic location information is extracted from the location field of the status release message.
  • the status release message may include a lot of information, such as an avatar, a status description, and the like, and may also include geographic location information.
  • the geographic location information can be transferred by extending the added field, and the extended added fields can be as follows:
  • the geoinfo in this field represents geographic location information, longitude represents longitude, dd.ddddd represents longitude, latitude represents latitude, and dd.ddddd represents latitude.
  • dd.ddddd represents the latitude value.
  • the geographic location information of the first terminal is sent to the second terminal.
  • the geographical location information of the first terminal can be sent to the second terminal in multiple manners, which will be exemplified below.
  • the geographic location information is added to the status notification message and the status notification message is sent to the second terminal. Therefore, the second terminal can obtain the updated geographical location information of the mobile terminal, which is very convenient for the mobile terminal, and saves a lot of manpower and financial resources.
  • the geographical location information is expressed in at least one of the following: a short message, a positioning picture.
  • the geographical location information of the other terminal can be known by reading the short message, and the positioning image can display the geographical location of the opposite terminal more intuitively.
  • the geographical location information includes longitude information and latitude information of the first terminal, so as to facilitate positioning of the first terminal.
  • a device for sharing a geographic location between the terminals is also provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: a first obtaining module 22, in a process for a first terminal to talk with a second terminal, Obtaining the geographic location information of the first terminal by using the map application embedded in the first terminal; the second obtaining module 24 is configured to obtain a call interface of the first terminal when the first terminal and the second terminal are in a call; a triggering module 26, configured to trigger the display used in the call interface An identifier indicating the shared location information; the sending module 28 is configured to send the geographic location information of the first terminal to the second terminal by using a background.
  • the identifier of the first terminal is displayed in the call interface of the first terminal, and the location information of the first terminal is sent to the first terminal during the call between the first terminal and the second terminal.
  • the second terminal can not share the geographic location information in the case that the terminal is not connected to the network, and the device solves the problem that the terminal cannot be implemented in the process of the two terminals in the prior art.
  • the problem of geographical location information sharing enables location sharing between terminals at any time and any place.
  • the first obtaining module 22 is further configured to receive a status release message sent by the first terminal, and extract the geographic location information from a location field of the status release message.
  • the sending module 28 is further configured to add the geographic location information to the status notification message, and send the status notification message to the second terminal.
  • the geographical location information is expressed in at least one of the following: a short message, a positioning image.
  • the geographic location information includes: longitude information and latitude information of the first terminal.
  • the method and device for sharing a geographic location between terminals provided by the present invention solve the problem that the location between the terminals cannot be realized in the process of talking between two terminals in the prior art.
  • the problem of information sharing enables location sharing between terminals at any time and any place.
  • an embodiment of the present invention further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored An instruction executed by the at least one processor 810, the instruction being executed by the at least one processor 810 to enable the at least one processor 810 to: pass during a call between the first terminal and the second terminal
  • the map application embedded in the first terminal acquires the geographic location information of the first terminal; acquires the call interface of the first terminal when the first terminal and the second terminal make a call; triggers the call interface An identifier for indicating shared location information is displayed; the geographic location information of the first terminal is sent to the second terminal by a background.
  • the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
  • the electronic device of the present embodiment preferably, obtaining, by the map application embedded in the first terminal, the geographic location information of the first terminal includes: receiving a status release message sent by the first terminal, and from the status The geographical location information is extracted from the location field of the published message.
  • sending the geographical location information of the first terminal to the second terminal comprises: adding the geographical location information to a status notification message, and sending the status notification message To the second terminal.
  • the geographical location information is expressed in at least one of the following: a short message, a positioning picture.
  • the geographical location information includes: the first terminal The longitude information and latitude information of the end.
  • Embodiments of the present invention also disclose a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: Obtaining, by the map application embedded in the first terminal, the geographic location information of the first terminal, and acquiring the first terminal and the second terminal, when the terminal is in a call a call interface of the terminal; triggering an identifier displayed in the call interface for indicating shared location information; and transmitting, by the background, geographic location information of the first terminal to the second terminal.
  • the non-volatile computer storage medium of the present embodiment preferably, obtaining, by the map application embedded in the first terminal, the geographic location information of the first terminal includes: receiving a status release message sent by the first terminal, And extracting the geographical location information from a location field of the status release message.
  • sending the geographical location information of the first terminal to the second terminal comprises: adding the geographical location information to a status notification message, and The status notification message is sent to the second terminal.
  • the geographical location information is expressed in at least one of the following: a short message, a positioning picture.
  • the geographical location information includes longitude information and latitude information of the first terminal.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供了一种终端间共享地理位置的方法、装置和电子设备,其中,该方法包括:第一终端与第二终端通话的过程中,通过嵌入至第一终端的地图应用获取第一终端的地理位置信息;获取第一终端与第二终端进行通话时,第一终端的通话界面;触发该通话界面中显示的用于指示共享位置信息的标识;通过后台将第一终端的地理位置信息发送至第二终端。通过本发明解决了现有技术中在两个终端通话的过程中,不能实现终端之间地理位置信息共享的问题,从而实现了终端之间可以随时随地进行位置共享。

Description

一种终端间共享地理位置的方法、装置和电子设备
交叉引用
本申请要求在2016年03月28日提交中国专利局、申请号为201610182062.8、发明名称为“一种终端间共享地理位置的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,具体涉及一种终端间共享地理位置的方法、装置和电子设备。
背景技术
目前,移动终端能够利用全球定位系统或基站技术准确定位自身的地理位置,从而使得各种应用服务器能够通过无线网络获取到移动终端的地理位置,并基于所获取的移动终端的地理位置为各移动终端提供基于位置的服务。
从Facebook、twitter、Youtube等社交网站的广受欢迎,反映了人们在朋友之间进行信息共享的迫切需求。
“LBS”英文全称为Location Based Services,它包括两层含义:首先是确定移动终端或用户所在的地理位置;其次是提供与位置相关的各类信息服务。因此可以说“LBS”就是要借助互联网或无线网络,完成定位和服务两大功能,实现移动终端位置信息的相互共享和公共发布。
但是,对于现有的PC机等固定终端而言,由于其内部未置备有全球定位模块,或者处于没有基站覆盖的范围内时,无法与基站进行通信,因此难以确定自身的地理位置,进而使得各种应用服务器无法为终端提供基于位置的服务。
针对现有技术中,在两个终端通话的过程中,不能实现终端之间地理位置信息共享的问题,还未提出有效的解决方案。
发明内容
本发明提供了一种终端间共享地理位置的方法、装置和电子设备,以至少解决现有技术中在两个终端通话的过程中,不能实现终端之间地理位置信息共享的问题。
根据本发明的一个方面,提供了一种终端间共享地理位置的方法,包括:第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;获取所述第一终端与所述第二终端进行通话时,所述第一终端的通话界面;触发所述通话界面中显示的用于指示共享位置信息的标识;通过后台将所述第一终端的地理位置信息发送至所述第二终端。
可选地,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
可选地,将所述第一终端的地理位置信息发送至所述第二终端包括:将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送 至所述第二终端。
可选地,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
可选地,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
根据本发明的另一个方面,还提供了一种终端间共享地理位置的装置,包括:第一获取模块,用于第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;第二获取模块,用于获取所述第一终端与所述第二终端进行通话时,所述第一终端的通话界面;触发模块,用于触发所述通话界面中显示的用于指示共享位置信息的标识;发送模块,用于通过后台将所述第一终端的地理位置信息发送至所述第二终端。
可选地,所述第一获取模块还用于接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
可选地,所述发送模块还用于将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
可选地,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
可选地,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
本发明实施例还提供一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:在第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;获取所述第一终端与所述第二终端进行通话时所述第一终端的通话界面;触发所述通话界面中显示的用于指示共享位置信息的标识;通过后台将所述第一终端的地理位置信息发送至所述第二终端。
上述的电子设备,其中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
上述的电子设备,其中,将所述第一终端的地理位置信息发送至所述第二终端包括:将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
上述的电子设备,其中,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
上述的电子设备,其中,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
本发明实施例还提供一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:在第一终端与第二终端通话的过程中,通过嵌入至 所述第一终端的地图应用获取所述第一终端的地理位置信息;获取所述第一终端与所述第二终端进行通话时所述第一终端的通话界面;触发所述通话界面中显示的用于指示共享位置信息的标识;通过后台将所述第一终端的地理位置信息发送至所述第二终端。
上述的非易失性计算机存储介质,其中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
上述的非易失性计算机存储介质,其中,将所述第一终端的地理位置信息发送至所述第二终端包括:将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
上述的非易失性计算机存储介质,其中,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
上述的非易失性计算机存储介质,其中,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
通过本发明,采用第一终端与第二终端通话的过程中,通过嵌入至第一终端的地图应用获取第一终端的地理位置信息;获取第一终端与第二终端进行通话时,第一终端的通话界面;触发该通话界面中显示的用于指示共享位置信息的标识;通过后台将第一终端的地理位置信息发送至第二终端,解决了现有技术中在两个终端通话的过程中,不能实现终端之间地理位置信息共享的问题,从而实现了终端之间可以随时随地进行位置共享。
附图说明
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据本发明实施例的终端间共享地理位置的方法的流程图;
图2是根据本发明实施例的终端间共享地理位置的装置的结构框图;
图3是本发明实施例的电子设备的硬件结构示意图。
具体实施方式
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
在本实施例中提供了一种终端间共享地理位置的方法,图1是根据本发明实施例的终端间共享地理位置的方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,第一终端与第二终端通话的过程中,通过嵌入至第一终端的地图应用获取第一终端的地理位置信息;
步骤S104,获取第一终端与第二终端进行通话时,第一终端的通话界面;
步骤S106,触发该通话界面中显示的用于指示共享位置信息的标识;
步骤S108,通过后台将第一终端的地理位置信息发送至第二终端。
通过上述步骤,在第一终端的通话界面中显示用于指示共享位置信息的标识,在第一终端与第二终端通话的过程中,触发该标识即可将第一终 端的地理位置信息发送至第二终端,相比于现有技术中,在终端没有连接至网络的情况下,无法进行地理位置信息的共享,上述步骤解决了现有技术中在两个终端通话的过程中,不能实现终端之间地理位置信息共享的问题,从而实现了终端之间可以随时随地进行位置共享。
上述步骤S102中涉及到通过嵌入至第一终端的地图应用获取第一终端的地理位置信息,需要说明的是,可以通过多种方式获取到第一终端的地理位置信息,下面对此进行举例说明。在一个可选实施例中,接收第一终端发送的状态发布消息,并从该状态发布消息的位置字段中提取该地理位置信息。相应地,状态发布消息中可以包含很多信息,例如头像、状态说明等信息,还可以包括地理位置信息。该地理位置信息可以通过扩展添加的字段来传送该地理位置信息,扩展添加的字段可以如下所示:
<op:geoinfo>
<op:basic>longitude:dd.ddddd;latitude:dd.ddddd</op:basic>
</op:geoinfo>
该字段中的geoinfo代表地理位置信息,longitude代表经度,dd.ddddd代表经度值,latitude代表纬度,dd.ddddd代表纬度值。还可以通过添加参数的形式在状态发布消息中加入地理位置信息,例如加入参数longitude:dd.ddddd;latitude:dd.ddddd,该参数中的longitude代表经度,dd.ddddd代表经度值,latitude代表纬度,dd.ddddd代表纬度值。
上述步骤S108中涉及到将第一终端的地理位置信息发送至第二终端, 需要说明的是,可以通过多种方式将第一终端的地理位置信息发送至第二终端,下面对此进行举例说明。在一个可选实施例中,将该地理位置信息添加到状态通知消息中,并将该状态通知消息发送至第二终端。从而第二终端就可以获取到该移动终端更新后的地理位置信息,对于移动终端非常便利,节省了大量的人力和财力。
在一个可选实施例中,上述地理位置信息的表现形式为以下至少之一:短信、定位图片。其中,可以通过阅读短信得知对方终端的地理位置信息,定位图片可以更直观的显示对方终端的地理位置。
在一个可选实施例中,上述地理位置信息包括:第一终端所处的经度信息和纬度信息,以便于对第一终端进行定位。
实施例2
在本实施例中还提供了一种终端间共享地理位置的装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的终端间共享地理位置的装置的结构框图,如图2所示,该装置包括:第一获取模块22,用于第一终端与第二终端通话的过程中,通过嵌入至该第一终端的地图应用获取该第一终端的地理位置信息;第二获取模块24,用于获取该第一终端与该第二终端进行通话时,该第一终端的通话界面;触发模块26,用于触发该通话界面中显示的用于 指示共享位置信息的标识;发送模块28,用于通过后台将该第一终端的地理位置信息发送至该第二终端。
通过上述装置,在第一终端的通话界面中显示用于指示共享位置信息的标识,在第一终端与第二终端通话的过程中,触发该标识即可将第一终端的地理位置信息发送至第二终端,相比于现有技术中,在终端没有连接至网络的情况下,无法进行地理位置信息的共享,上述装置解决了现有技术中在两个终端通话的过程中,不能实现终端之间地理位置信息共享的问题,从而实现了终端之间可以随时随地进行位置共享。
可选地,第一获取模块22还用于接收该第一终端发送的状态发布消息,并从该状态发布消息的位置字段中提取该地理位置信息。
可选地,发送模块28还用于将该地理位置信息添加到状态通知消息中,并将该状态通知消息发送至该第二终端。
可选地,该地理位置信息的表现形式为以下至少之一:短信、定位图片。
可选地,该地理位置信息包括:该第一终端所处的经度信息和纬度信息。
上述各个模块的更进一步的功能描述与上述对应实施例相同,在此不再赘述。
综上所述,通过本发明提供的一种终端间共享地理位置的方法及装置,解决了现有技术中在两个终端通话的过程中,不能实现终端之间地理位置 信息共享的问题,从而实现了终端之间可以随时随地进行位置共享。
实施例3
如图3所示,本发明实施例又公开了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:在第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;获取所述第一终端与所述第二终端进行通话时所述第一终端的通话界面;触发所述通话界面中显示的用于指示共享位置信息的标识;通过后台将所述第一终端的地理位置信息发送至所述第二终端。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。
本实施例的电子设备,优选地,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
本实施例的电子设备,优选地,将所述第一终端的地理位置信息发送至所述第二终端包括:将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
本实施例的电子设备,优选地,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
本实施例的电子设备,优选地,所述地理位置信息包括:所述第一终 端所处的经度信息和纬度信息。
实施例4
本发明实施例还公开了一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:在第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;获取所述第一终端与所述第二终端进行通话时所述第一终端的通话界面;触发所述通话界面中显示的用于指示共享位置信息的标识;通过后台将所述第一终端的地理位置信息发送至所述第二终端。
本实施例的非易失性计算机存储介质,优选地,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
本实施例的非易失性计算机存储介质,优选地,将所述第一终端的地理位置信息发送至所述第二终端包括:将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
本实施例的非易失性计算机存储介质,优选地,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
本实施例的非易失性计算机存储介质,优选地,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。

Claims (20)

  1. 一种终端间共享地理位置的方法,其特征在于,包括:
    第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;
    获取所述第一终端与所述第二终端进行通话时,所述第一终端的通话界面;
    触发所述通话界面中显示的用于指示共享位置信息的标识;
    通过后台将所述第一终端的地理位置信息发送至所述第二终端。
  2. 根据权利要求1所述的方法,其特征在于,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:
    接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
  3. 根据权利要求1所述的方法,其特征在于,将所述第一终端的地理位置信息发送至所述第二终端包括:
    将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
  4. 根据权利要求1所述的方法,其特征在于,所述地理位置信息的表现形式为以下至少之一:
    短信、定位图片。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
  6. 一种终端间共享地理位置的装置,其特征在于,包括:
    第一获取模块,用于第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;
    第二获取模块,用于获取所述第一终端与所述第二终端进行通话时,所述第一终端的通话界面;
    触发模块,用于触发所述通话界面中显示的用于指示共享位置信息的标识;
    发送模块,用于通过后台将所述第一终端的地理位置信息发送至所述第二终端。
  7. 根据权利要求6所述的装置,其特征在于,所述第一获取模块还用于接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
  8. 根据权利要求6所述的装置,其特征在于,所述发送模块还用于将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
  9. 根据权利要求6所述的装置,其特征在于,所述地理位置信息的表现 形式为以下至少之一:
    短信、定位图片。
  10. 根据权利要求6至9中任一项所述的装置,其特征在于,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
  11. 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    在第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;
    获取所述第一终端与所述第二终端进行通话时所述第一终端的通话界面;
    触发所述通话界面中显示的用于指示共享位置信息的标识;
    通过后台将所述第一终端的地理位置信息发送至所述第二终端。
  12. 根据权利要求11所述的电子设备,其特征在于,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
  13. 根据权利要求11所述的电子设备,其特征在于,将所述第一终端 的地理位置信息发送至所述第二终端包括:将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
  14. 根据权利要求11所述的电子设备,其特征在于,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
  15. 根据权利要求11至14中任一项所述的电子设备,其特征在于,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
  16. 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:
    在第一终端与第二终端通话的过程中,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息;
    获取所述第一终端与所述第二终端进行通话时所述第一终端的通话界面;
    触发所述通话界面中显示的用于指示共享位置信息的标识;
    通过后台将所述第一终端的地理位置信息发送至所述第二终端。
  17. 根据权利要求16所述的非易失性计算机存储介质,其特征在于,通过嵌入至所述第一终端的地图应用获取所述第一终端的地理位置信息包括:接收所述第一终端发送的状态发布消息,并从所述状态发布消息的位置字段中提取所述地理位置信息。
  18. 根据权利要求16所述的非易失性计算机存储介质,其特征在于,将所述第一终端的地理位置信息发送至所述第二终端包括:将所述地理位置信息添加到状态通知消息中,并将所述状态通知消息发送至所述第二终端。
  19. 根据权利要求16所述的非易失性计算机存储介质,其特征在于,所述地理位置信息的表现形式为以下至少之一:短信、定位图片。
  20. 根据权利要求16至19中任一项所述的非易失性计算机存储介质,其特征在于,所述地理位置信息包括:所述第一终端所处的经度信息和纬度信息。
PCT/CN2016/096523 2016-03-28 2016-08-24 一种终端间共享地理位置的方法、装置和电子设备 Ceased WO2017166612A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610182062.8 2016-03-28
CN201610182062.8A CN105871826A (zh) 2016-03-28 2016-03-28 一种终端间共享地理位置的方法及装置

Publications (1)

Publication Number Publication Date
WO2017166612A1 true WO2017166612A1 (zh) 2017-10-05

Family

ID=56626087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096523 Ceased WO2017166612A1 (zh) 2016-03-28 2016-08-24 一种终端间共享地理位置的方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN105871826A (zh)
WO (1) WO2017166612A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117354717A (zh) * 2023-12-04 2024-01-05 宁波菊风系统软件有限公司 实时位置共享方法、装置、设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871826A (zh) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 一种终端间共享地理位置的方法及装置
CN106255063A (zh) * 2016-08-22 2016-12-21 北京小米移动软件有限公司 地址发送方法及设备
CN107135147A (zh) * 2017-04-27 2017-09-05 北京小米移动软件有限公司 共享位置信息的方法、装置及计算机可读存储介质
CN108966123A (zh) * 2018-07-02 2018-12-07 中国联合网络通信集团有限公司 位置共享方法、系统、第一终端设备和第二终端设备
CN114650505A (zh) * 2020-12-21 2022-06-21 哈尔滨海能达科技有限公司 一种基于地理信息的终端管理方法、装置及终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003071825A1 (en) * 2002-02-25 2003-08-28 Jerome Spaargaren Geographical location information exchange between mobile terminals
US20060142027A1 (en) * 2004-12-29 2006-06-29 Nokia Corporation Methods, apparatus and computer program product providing enhanced location-based services for mobile users
CN102564434A (zh) * 2010-11-29 2012-07-11 Lg伊诺特有限公司 用于给予位置信息的方法和位置信息提供系统
CN105162982A (zh) * 2015-09-17 2015-12-16 小米科技有限责任公司 接听扩展功能显示方法及装置
CN105871826A (zh) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 一种终端间共享地理位置的方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9066199B2 (en) * 2007-06-28 2015-06-23 Apple Inc. Location-aware mobile device
CN101765055A (zh) * 2009-12-23 2010-06-30 深圳市戴文科技有限公司 一种ptt通信的方法、系统和终端设备
CN102355625B (zh) * 2011-08-01 2015-01-07 惠州Tcl移动通信有限公司 位置信息的发送、接收方法及其移动通信终端
CN102595310A (zh) * 2012-01-19 2012-07-18 中国联合网络通信集团有限公司 移动终端间共享地理位置的方法、呈现服务器及移动终端
CN103905981B (zh) * 2012-12-28 2019-12-27 腾讯科技(深圳)有限公司 一种位置信息的分享方法及系统
CN104468679B (zh) * 2013-09-24 2018-03-02 腾讯科技(深圳)有限公司 分享地理位置的方法、终端及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003071825A1 (en) * 2002-02-25 2003-08-28 Jerome Spaargaren Geographical location information exchange between mobile terminals
US20060142027A1 (en) * 2004-12-29 2006-06-29 Nokia Corporation Methods, apparatus and computer program product providing enhanced location-based services for mobile users
CN102564434A (zh) * 2010-11-29 2012-07-11 Lg伊诺特有限公司 用于给予位置信息的方法和位置信息提供系统
CN105162982A (zh) * 2015-09-17 2015-12-16 小米科技有限责任公司 接听扩展功能显示方法及装置
CN105871826A (zh) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 一种终端间共享地理位置的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117354717A (zh) * 2023-12-04 2024-01-05 宁波菊风系统软件有限公司 实时位置共享方法、装置、设备及存储介质
CN117354717B (zh) * 2023-12-04 2024-03-19 宁波菊风系统软件有限公司 实时位置共享方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN105871826A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017166612A1 (zh) 一种终端间共享地理位置的方法、装置和电子设备
US10510193B2 (en) Method and system for geofencing of vehicle impound yards
CN102137105B (zh) 机器通信的私密性保护方法、系统和机器通信业务管理实体及相关设备
JP5855924B2 (ja) サーバ装置、通信システム、制御方法およびプログラム
CN104244174B (zh) 终端的地理位置信息的获取方法和服务器
JP5929501B2 (ja) 情報処理装置、情報処理方法およびプログラム
WO2012109826A1 (zh) 一种社交网络的实现方法及系统
JP2016157440A (ja) モバイル・アドホック・ネットワーキング
EP2819416A1 (en) Media sharing
CN110191440A (zh) 一种d2d通信的发现方法、装置及系统
WO2014114144A1 (en) Method, server and terminal for information interaction
JP6077231B2 (ja) 通信システムにおけるユーザ端末の情報取得方法および装置
WO2017063499A1 (zh) 文件发送、传输方法及装置
US9516468B2 (en) Mobile terminal, content panel display method, and mobile terminal program
EP2842356B1 (en) Updating subscription information
KR101457100B1 (ko) 사진 공유를 추천하는 서버 및 방법 그리고, 사진 공유 인터페이스 영역을 표시하는 디바이스
CN103220566A (zh) 智能电视终端的定位方法、智能电视及系统
WO2017177636A1 (zh) 手机的漫游搜网方法、装置和电子设备
CN104754737A (zh) 智能终端、基于其的定位方法和定位装置
Sedlar et al. Next Generation Emergency Services Based on the Pan‐European Mobile Emergency Application (PEMEA) Protocol: Leveraging Mobile Positioning and Context Information
CN104093137B (zh) 一种终端互发现方法及装置
US10348841B1 (en) System and method for event based communications between a mobile application and a server
CN110430525B (zh) 一种定位方法、服务器与移动终端
CN103826198A (zh) 一种联系人地理位置信息的预定和通知方法及装置
US9313612B2 (en) Mobile wireless access point geolocation services proxy for mobile devices

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896384

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896384

Country of ref document: EP

Kind code of ref document: A1