CN116600253A - A real-time location sharing method and system - Google Patents
A real-time location sharing method and system Download PDFInfo
- Publication number
- CN116600253A CN116600253A CN202310569138.2A CN202310569138A CN116600253A CN 116600253 A CN116600253 A CN 116600253A CN 202310569138 A CN202310569138 A CN 202310569138A CN 116600253 A CN116600253 A CN 116600253A
- Authority
- CN
- China
- Prior art keywords
- real
- terminal
- user
- time position
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及互联网技术领域,具体涉及一种实时位置共享方法及系统。The invention relates to the technical field of the Internet, in particular to a real-time location sharing method and system.
背景技术Background technique
所谓LBS是指利用定位技术确定移动通信设备的位置,并提供各种与位置相关应用的增值服务。The so-called LBS refers to the use of positioning technology to determine the location of mobile communication devices and provide various value-added services related to location applications.
近年来,移动通信技术和地理信息系统(Geographic InformationSystem,以下简称:GIS)的同步发展促成了各种LBS应用的快速发展。使用者可通过手机、个人数字助理(Personal Digital Assistant,以下简称:PDA)或便携式导航设备(Portable NavigationDevices,以下简称:PND)等移动终端享受到位置应用服务,如提供“我在哪里”、“寻找周边”等位置服务。In recent years, the synchronous development of mobile communication technology and geographic information system (Geographic Information System, GIS for short) has led to the rapid development of various LBS applications. Users can enjoy location application services such as "where am I", Find location services such as "Look around".
现有技术中,位置应用服务通过用户拥有的各种终端如电脑、移动终端为该用户提供该用户本人的定位、导航服务。例如,某一用户的移动终端安装了带电子地图的导航模块,当该用户使用位置应用服务时,人工输入目的地,导航模块根据输入的目的地提供导航服务。导航服务包括为该用户提供其当前所在的位置信息,根据其当前所处的位置进一步查询目的地信息,为该用户提供从当前位置到目的地的路径。用户通过移动终端搜索目的地信息时,网络侧位置应用服务系统根据用户请求截取与目的地相关的地图,通过多媒体短信发送给用户。多媒体短信内容是标识出目的地的电子地图图片。用户借助各类导航终端,能很容易的抵达目的地。In the prior art, the location application service provides the user with the user's own positioning and navigation services through various terminals owned by the user, such as computers and mobile terminals. For example, a user's mobile terminal is equipped with a navigation module with an electronic map. When the user uses a location application service, he manually inputs a destination, and the navigation module provides navigation services according to the input destination. The navigation service includes providing the user with current location information, further querying destination information based on the current location, and providing the user with a route from the current location to the destination. When a user searches for destination information through a mobile terminal, the network-side location application service system intercepts a map related to the destination according to the user's request and sends it to the user through a multimedia message. The content of the multimedia short message is an electronic map picture identifying the destination. With the help of various navigation terminals, users can easily reach their destinations.
现有技术的缺陷在于,用户通过位置应用服务只能知道自己的位置和路径,无法获知其他人的位置信息且共享多个终端的实时位置。The defect of the prior art is that the user can only know his own location and route through the location application service, but cannot know other people's location information and share the real-time locations of multiple terminals.
发明内容Contents of the invention
针对现有技术中的技术缺陷,本发明实施例的目的在于提供一种实时位置共享方法及系统,以在多个终端之间实现位置共享。In view of the technical defects in the prior art, the purpose of the embodiments of the present invention is to provide a real-time location sharing method and system, so as to realize location sharing among multiple terminals.
为实现上述目的,第一方面,本发明实施例提供了一种实时位置共享方法,包括:In order to achieve the above purpose, in the first aspect, the embodiment of the present invention provides a real-time location sharing method, including:
响应于第一用户通过第一预设操作发出的与第二用户建立实时位置共享的实时位置共享指令,生成第一实时位置共享请求,将所述第一实时位置共享请求发送给所述第二用户持有的第二终端;In response to a real-time location sharing instruction for establishing real-time location sharing with a second user issued by the first user through a first preset operation, a first real-time location sharing request is generated, and the first real-time location sharing request is sent to the second user. the second terminal held by the user;
接收所述第二终端基于所述第一实时位置共享请求共享的实时位置信息,并将所述第二终端共享的实时位置信息在电子地图上进行标注显示。receiving the real-time location information shared by the second terminal based on the first real-time location sharing request, and marking and displaying the real-time location information shared by the second terminal on the electronic map.
进一步,接收所述第二终端基于所述第一实时位置共享请求共享的实时位置信息,包括:Further, receiving the real-time location information shared by the second terminal based on the first real-time location sharing request includes:
接收所述第二终端发送的第一验证请求;receiving a first verification request sent by the second terminal;
根据所述第一验证请求进行验证;performing verification according to the first verification request;
若验证通过,获取所述第二终端基于所述第一实时位置共享请求共享的实时位置信息。If the verification passes, the real-time location information shared by the second terminal based on the first real-time location sharing request is acquired.
进一步,所述方法还包括:Further, the method also includes:
接收所述第二终端发送的第二实时位置共享请求;receiving a second real-time location sharing request sent by the second terminal;
向所述第二终端发送基于所述第二实时位置共享请求的实时位置信息。Sending real-time location information based on the second real-time location sharing request to the second terminal.
进一步,在接收到所述第二终端发送的第二实时位置共享请求之后,所述方法还包括:Further, after receiving the second real-time location sharing request sent by the second terminal, the method further includes:
对所述第二终端进行验证并验证通过。Verifying the second terminal and passing the verification.
进一步,所述对所述第二终端进行验证并验证通过,包括:Further, the verifying the second terminal and passing the verification includes:
向所述第二终端发送第二验证请求;sending a second verification request to the second terminal;
接收所述第二终端发送的基于所述第二验证请求的验证信息;receiving verification information based on the second verification request sent by the second terminal;
若验证信息符合预设要求,判定所述第二终端验证通过。If the verification information meets the preset requirements, it is determined that the verification of the second terminal is passed.
进一步,所述方法还包括:Further, the method also includes:
响应于第一用户通过第二预设操作发出的与所述第二用户建立实时通讯的实时通讯指令,生成实时通讯请求;generating a real-time communication request in response to the real-time communication instruction for establishing real-time communication with the second user sent by the first user through the second preset operation;
将所述实时通讯请求发送给所述第二用户持有的第二终端与所述第二终端建立实时通讯。sending the real-time communication request to a second terminal held by the second user to establish real-time communication with the second terminal.
进一步,所述实时通讯包括文字通话、语音通话或视频通话中的一种。Further, the real-time communication includes one of text call, voice call or video call.
进一步,所述方法还包括:Further, the method also includes:
对所述第二终端共享的实时位置信息进行存储。The real-time location information shared by the second terminal is stored.
进一步,所述方法还包括:Further, the method also includes:
根据所述第二终端共享的实时位置判断所述第二用户的移动状态,若判断所述第二用户的移动状态为静止状态,记录并显示处于静止状态的时长。Judging the moving state of the second user according to the real-time location shared by the second terminal, if it is judged that the moving state of the second user is a static state, recording and displaying the duration of the static state.
第二方面,本发明实施例还提供了一种实时位置共享系统,包括:In the second aspect, the embodiment of the present invention also provides a real-time location sharing system, including:
共享请求生成模块,用于响应于第一用户通过第一预设操作发出的与第二用户建立实时位置共享的实时位置共享指令,生成第一实时位置共享请求,将所述第一实时位置共享请求发送给所述第二用户持有的第二终端;A sharing request generating module, configured to generate a first real-time location sharing request in response to a real-time location sharing instruction issued by the first user through a first preset operation to establish real-time location sharing with the second user, and share the first real-time location sending the request to a second terminal held by the second user;
实时位置显示模块,用于接收所述第二终端基于所述第一实时位置共享请求共享的实时位置信息,并将所述第二终端共享的实时位置信息在电子地图上进行标注显示。The real-time location display module is configured to receive the real-time location information shared by the second terminal based on the first real-time location sharing request, and mark and display the real-time location information shared by the second terminal on the electronic map.
实施本发明实施例提供的方法,可以在多个终端之间实现实时位置共享,在电子地图上标注显示用户位置、活动路线和运动状态,简化了用户操作,提升了用户体验,并且,也可采用验证信息对用户进行权限验证,保证了实时位置共享的安全性,避免各终端的实时位置信息在共享过程中发生泄露。By implementing the method provided by the embodiment of the present invention, real-time location sharing can be realized among multiple terminals, and the user location, activity route, and exercise status can be marked and displayed on the electronic map, which simplifies user operations and improves user experience, and can also Verification information is used to verify the authority of the user, which ensures the security of real-time location sharing and avoids the leakage of real-time location information of each terminal during the sharing process.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, the Under the premise, other drawings can also be obtained based on these drawings.
图1是本发明实施例提供的一种实时位置共享方法的流程示意图;FIG. 1 is a schematic flowchart of a real-time location sharing method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种实时位置共享系统的结构示意图。Fig. 2 is a schematic structural diagram of a real-time location sharing system provided by an embodiment of the present invention.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the statement "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element. In addition, different implementations of the present application Components, features, and elements with the same name in the example may have the same meaning, or may have different meanings, and the specific meaning shall be determined based on the explanation in the specific embodiment or further combined with the context in the specific embodiment.
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。本申请使用的术语“或”、“和/或”、“包括以下至少一个”等可被解释为包括性的,或意味着任一个或任何组合。例如,“包括以下至少一个:A、B、C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”,再如,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination". Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not exclude one or more other features, steps, operations, The existence, occurrence or addition of an element, component, item, species, and/or group. The terms "or", "and/or", "comprising at least one of" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C", another example, " A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C". Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart in the embodiment of the present application are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential Instead, it may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" could be interpreted as "when determined" or "in response to the determination" or "when detected (the stated condition or event) )" or "in response to detection of (a stated condition or event)".
需要说明的是,在本文中,采用了诸如S1、S2等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S2后执行S1等,但这些均应在本申请的保护范围之内。It should be noted that, in this article, step codes such as S1 and S2 are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order. Those skilled in the art may, during specific implementation, S2 will be executed first and then S1, etc., but these should be within the protection scope of this application.
图1是本发明实施例提供了一种实时位置共享方法的流程图。如图1所示,该方法可以包括:Fig. 1 is a flowchart of a real-time location sharing method provided by an embodiment of the present invention. As shown in Figure 1, the method may include:
步骤S110:响应于第一用户通过第一预设操作发出的与第二用户建立实时位置共享的实时位置共享指令,生成第一实时位置共享请求,将所述第一实时位置共享请求发送给所述第二用户持有的第二终端。Step S110: In response to the real-time location sharing instruction for establishing real-time location sharing with the second user issued by the first user through the first preset operation, generate a first real-time location sharing request, and send the first real-time location sharing request to all The second terminal held by the second user.
第一用户持有第一终端,第二用户持有第二终端。第一终端和第二终端可以是智能手机、掌上电脑、平板电脑、便携式导航设备等移动终端设备。第一终端和第二终端上均装载有对应的位置共享APP,用户可以在该位置共享APP的菜单栏内进行操作,并通过该位置共享APP查看其他用户的实施位置信息。The first user holds the first terminal, and the second user holds the second terminal. The first terminal and the second terminal may be mobile terminal devices such as smart phones, palmtop computers, tablet computers, and portable navigation devices. Both the first terminal and the second terminal are loaded with a corresponding location-sharing APP, and the user can operate in the menu bar of the location-sharing APP, and view other users' implementation location information through the location-sharing APP.
具体的,第一用户点击菜单栏内的通讯录列表,在通讯录列表内查找到想要请求实时位置共享的第二用户,第二用户的数量可以是一个,也可以是多个。选择好第二用户后,点击菜单栏内的虚拟功能按钮,向第一终端上的位置共享APP发出与第二用户建立实时位置共享的实时位置共享指令。Specifically, the first user clicks the address book list in the menu bar, and finds a second user who wants to request real-time location sharing in the address book list. The number of second users may be one or multiple. After selecting the second user, click the virtual function button in the menu bar to send a real-time location sharing command to establish real-time location sharing with the second user to the location sharing APP on the first terminal.
第一终端上的位置共享APP响应该与第二用户建立实时位置共享的实时位置共享指令,生成第一实时位置共享请求,并将该第一实时位置共享请求发送给所有的第二用户持有的第二终端。The location sharing APP on the first terminal responds to the real-time location sharing instruction for establishing real-time location sharing with the second user, generates a first real-time location sharing request, and sends the first real-time location sharing request to all second users holding of the second terminal.
步骤S120:接收所述第二终端基于所述第一实时位置共享请求共享的实时位置信息,并将所述第二终端共享的实时位置信息在电子地图上进行标注显示。Step S120: Receive the real-time location information shared by the second terminal based on the first real-time location sharing request, and mark and display the real-time location information shared by the second terminal on the electronic map.
第二终端接收到第一终端发送的第一实时位置共享请求之后,若第二用户同意向第一用户分享实时位置,可以通过第二终端上的位置共享APP对第一实时位置共享请求进行响应,第二终端通过携带的定位模块获取第二终端的实时位置数据,并将该实时位置数据通过共享APP发送给第一终端。After the second terminal receives the first real-time location sharing request sent by the first terminal, if the second user agrees to share the real-time location with the first user, the location sharing APP on the second terminal can respond to the first real-time location sharing request , the second terminal obtains the real-time location data of the second terminal through the positioning module carried, and sends the real-time location data to the first terminal through the shared APP.
第一终端接收到第二终端发送的第二终端的实时位置数据后,在电子地图上进行标注显示,即可实时显示第二用户的位置、活动路线和运动状态,第一用户即可实时查看第二用户的位置信息。After the first terminal receives the real-time location data of the second terminal sent by the second terminal, it marks and displays it on the electronic map, and the second user's location, activity route and exercise status can be displayed in real time, and the first user can view it in real time location information of the second user.
为防止泄密,保证第二用户的隐私和安全,第二终端在接收到第一终端发送的第一实时位置共享请求之后,可以先对第一用户的身份进行验证,只有验证通过后才能进行位置共享。In order to prevent leaks and ensure the privacy and security of the second user, after the second terminal receives the first real-time location sharing request sent by the first terminal, it can first verify the identity of the first user, and only after passing the verification can the location be shared. shared.
因此,接收所述第二终端基于所述第一实时位置共享请求共享的实时位置信息,具体包括:Therefore, receiving the real-time location information shared by the second terminal based on the first real-time location sharing request specifically includes:
步骤S121:接收所述第二终端发送的第一验证请求;Step S121: receiving the first verification request sent by the second terminal;
步骤S122:根据所述第一验证请求进行验证;Step S122: Verifying according to the first verification request;
步骤S123:若验证通过,获取所述第二终端基于所述第一实时位置共享请求共享的实时位置信息。Step S123: If the verification is successful, obtain the real-time location information shared by the second terminal based on the first real-time location sharing request.
进一步,所述方法还可以包括:Further, the method may also include:
步骤S130:接收所述第二终端发送的第二实时位置共享请求。Step S130: Receive a second real-time location sharing request sent by the second terminal.
第二用户请求第一用户共享实时位置的方法与第一用户请求第二用户共享实时位置的操作方法相同。即在实际实施过程中,第一用户和第一用户可以角色互换,即在某些应用场景中,第一用户也可能变成第二用户的角色,第二用户也可能变成第一用户的角色。The method for the second user to request the first user to share the real-time location is the same as the operation method for the first user to request the second user to share the real-time location. That is, in the actual implementation process, the roles of the first user and the first user can be exchanged, that is, in some application scenarios, the first user may also become the role of the second user, and the second user may also become the first user character of.
步骤S150:向所述第二终端发送基于所述第二实时位置共享请求的实时位置信息。Step S150: Send the real-time location information based on the second real-time location sharing request to the second terminal.
第一终端和/或第二终端相互分享各自的实时位置后,位置共享APP可以将第一终端和第二终端的实时位置同时标注在电子地图上,这样第一用户和/或第二用户即可以实时查看相互之间的相对位置,也可以实时了解自身位置。After the first terminal and/or the second terminal share their real-time locations with each other, the location sharing APP can mark the real-time locations of the first terminal and the second terminal on the electronic map at the same time, so that the first user and/or the second user can You can view the relative positions of each other in real time, and you can also know your own position in real time.
为防止泄密,保证第一用户的隐私和安全,在接收到所述第二终端发送的第二实时位置共享请求之后,所述方法还包括:In order to prevent leakage and ensure the privacy and security of the first user, after receiving the second real-time location sharing request sent by the second terminal, the method further includes:
步骤S140:对所述第二终端进行验证并验证通过。Step S140: Verifying the second terminal and passing the verification.
具体包括:步骤S141:向所述第二终端发送第二验证请求;It specifically includes: step S141: sending a second verification request to the second terminal;
步骤S142:接收所述第二终端发送的基于所述第二验证请求的验证信息;Step S142: receiving the verification information based on the second verification request sent by the second terminal;
步骤S143:若验证信息符合预设要求,判定所述第二终端验证通过。Step S143: If the verification information meets the preset requirements, it is determined that the verification of the second terminal is passed.
本实施例中,所述第一验证请求和第二验证请求均可以包括生物特征识别验证、字符密码验证和/或验证码验证。In this embodiment, both the first verification request and the second verification request may include biometric verification, character password verification and/or verification code verification.
第一用户和第二用户在建立通讯录关系时,需要先相互进行实名制认证,认证时,需要相互留存验证信息,用于在后续使用位置共享功能时实现身份认证。When establishing an address book relationship, the first user and the second user need to perform real-name authentication on each other. During the authentication, they need to save each other's verification information for subsequent identity authentication when using the location sharing function.
验证信息可以是生物特征、字符密码或者验证码。生物特征和字符密码设置后存储在共享APP的数据库内。生物特征可以是指纹、掌纹、虹膜、人脸特征、声音等。字符密码为用户在相互建立通讯录关系时设定和存储的字符密码。The verification information can be a biometric feature, a character password or a verification code. After the biometric feature and character password are set, they are stored in the database of the shared APP. Biometrics can be fingerprints, palm prints, irises, facial features, voice, etc. The character password is a character password set and stored by users when they establish an address book relationship with each other.
验证码验证属于动态验证,第一用户和第二用户在建立通讯录关系时,先在共享APP服务器系统内留存用于验证的电话号码。以第一用户请求第二用户共享实时位置为例,当第二终端上的共享APP接收到第一终端发送的第一实时位置共享请求之后,第二终端上的共享APP向共享APP服务器系统发送验证码验证请求,该验证码验证请求携带有第一用户的标识信息,共享APP服务器系统根据该第一用户的标识信息在数据库中查询获取与第一用户对应的电话号码,并生成第一验证码,将第一验证码以短信的方式发送给第一终端;第一用户通过第一终端上的共享APP向共享APP服务器系统发送第二验证码,若第二验证码与第一验证码相同,则共享APP服务器系统判定第一终端验证通过,并将验证通过信息发送给第二终端。Verification code verification belongs to dynamic verification. When the first user and the second user establish an address book relationship, they first save the phone number used for verification in the shared APP server system. Taking the first user requesting the second user to share the real-time location as an example, after the sharing APP on the second terminal receives the first real-time location sharing request sent by the first terminal, the sharing APP on the second terminal sends a request to the sharing APP server system A verification code verification request, the verification code verification request carries the identification information of the first user, and the shared APP server system queries the database to obtain the phone number corresponding to the first user according to the identification information of the first user, and generates the first verification code Code, send the first verification code to the first terminal in the form of SMS; the first user sends the second verification code to the shared APP server system through the shared APP on the first terminal, if the second verification code is the same as the first verification code , the shared APP server system determines that the first terminal has passed the verification, and sends the verification passed information to the second terminal.
同理,第二用户请求第一用户共享实时位置时,采用验证码验证的方法与前述第一用户请求第二用户共享实时位置时的验证方法相同。Similarly, when the second user requests the first user to share the real-time location, the verification method using the verification code is the same as the above-mentioned verification method when the first user requests the second user to share the real-time location.
第一用户和第二用户共享实时位置信息之后,本发明的位置共享APP还支持第一用户和第二用户进行实时通讯。因此,本申请的方法还包括:After the first user and the second user share real-time location information, the location sharing APP of the present invention also supports real-time communication between the first user and the second user. Therefore, the method of the present application also includes:
步骤S160:响应于第一用户通过第二预设操作发出的与所述第二用户建立实时通讯的实时通讯指令,生成实时通讯请求。Step S160: Generate an instant communication request in response to the instant communication instruction for establishing instant communication with the second user sent by the first user through the second preset operation.
第一用户点击菜单栏内的通讯录列表,在通讯录列表内查找到想要请求实时位置共享的一个第二用户,选择好第二用户后,点击菜单栏内的虚拟功能按钮,向第一终端上的位置共享APP发出与第二用户建立实时通讯的实时通讯指令。The first user clicks the address book list in the menu bar, finds a second user who wants to request real-time location sharing in the address book list, and after selecting the second user, clicks the virtual function button in the menu bar to send the first The location sharing APP on the terminal issues an instant communication instruction for establishing instant communication with the second user.
第一终端上的位置共享APP响应该与第二用户建立实时通讯的实时通讯指令,生成实时通讯请求。The location sharing APP on the first terminal generates a real-time communication request in response to the real-time communication instruction for establishing real-time communication with the second user.
步骤S170:将所述实时通讯请求发送给所述第二用户持有的第二终端与所述第二终端建立实时通讯。Step S170: Send the real-time communication request to the second terminal held by the second user to establish real-time communication with the second terminal.
第二终端接收到第一终端发送的实时通讯请求之后,若第二用户同意与第一用户进行实时通讯,可以通过第二终端上的位置共享APP与第一终端建立实时通讯连接,进行实时通讯。After the second terminal receives the real-time communication request sent by the first terminal, if the second user agrees to carry out real-time communication with the first user, he can establish a real-time communication connection with the first terminal through the location sharing APP on the second terminal to carry out real-time communication .
具体的,所述实时通讯包括文字通话、语音通话或视频通话中的一种。Specifically, the real-time communication includes one of text call, voice call or video call.
进一步,所述方法还包括:Further, the method also includes:
步骤S180:对所述第二终端共享的实时位置信息进行存储。Step S180: storing the real-time location information shared by the second terminal.
在共享期间,第一终端和/或第二终端所有共享的实时位置信息都会记录存储在共享APP的数据库中,包括路径、轨迹、时间和地点。共享APP可以从数据库中调用存储的第一终端或第二终端的实时位置信息,根据时间进行回放。During the sharing period, all the real-time location information shared by the first terminal and/or the second terminal will be recorded and stored in the database of the shared APP, including route, trajectory, time and location. The sharing APP can call the stored real-time location information of the first terminal or the second terminal from the database, and play it back according to time.
进一步,所述方法还包括:Further, the method also includes:
步骤S190:根据所述第二终端共享的实时位置判断所述第二用户的移动状态,若判断所述第二用户的移动状态为静止状态,记录并显示处于静止状态的时长。Step S190: Judging the moving state of the second user according to the real-time location shared by the second terminal, if it is judged that the moving state of the second user is a stationary state, record and display the duration of the stationary state.
共享APP根据第二终端共享的实时位置判断所述第二用户是处于运动状态还是静止状态,并对第二用户处于静止状态进行计时,并可以在显示界面中显示计时时长。The sharing APP judges whether the second user is in a motion state or a static state according to the real-time location shared by the second terminal, and counts the time when the second user is in a static state, and can display the timing duration on the display interface.
综上所述,实施本发明实施例提供的方法,可以在多个终端之间实现实时位置共享,在电子地图上标注显示用户位置、活动路线和运动状态,简化了用户操作,提升了用户体验,并且,也可采用验证信息对用户进行权限验证,保证了实时位置共享的安全性,避免各终端的实时位置信息在共享过程中发生泄露。In summary, implementing the method provided by the embodiment of the present invention can realize real-time location sharing among multiple terminals, mark and display the user's location, activity route, and exercise status on the electronic map, simplify user operations, and improve user experience , and the verification information can also be used to verify the authority of the user, which ensures the security of real-time location sharing and prevents the real-time location information of each terminal from being leaked during the sharing process.
第二方面,基于相同的发明构思,如图2所示,本发明实施例还提供了一种实时位置共享系统的结构示意图。该系统包括:In the second aspect, based on the same inventive concept, as shown in FIG. 2 , the embodiment of the present invention also provides a schematic structural diagram of a real-time location sharing system. The system includes:
共享请求生成模块201,用于响应于第一用户通过第一预设操作发出的与第二用户建立实时位置共享的实时位置共享指令,生成第一实时位置共享请求,将所述第一实时位置共享请求发送给所述第二用户持有的第二终端;The sharing request generating module 201 is configured to generate a first real-time location sharing request in response to a real-time location sharing instruction for establishing real-time location sharing with a second user issued by the first user through a first preset operation, and send the first real-time location sending the sharing request to a second terminal held by the second user;
实时位置显示模块202,用于接收所述第二终端基于所述第一实时位置共享请求共享的实时位置信息,并将所述第二终端共享的实时位置信息在电子地图上进行标注显示。The real-time location display module 202 is configured to receive the real-time location information shared by the second terminal based on the first real-time location sharing request, and mark and display the real-time location information shared by the second terminal on the electronic map.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
在本申请中,对于相同或相似的术语概念、技术方案和/或应用场景描述,一般只在第一次出现时进行详细描述,后面再重复出现时,为了简洁,一般未再重复阐述,在理解本申请技术方案等内容时,对于在后未详细描述的相同或相似的术语概念、技术方案和/或应用场景描述等,可以参考其之前的相关详细描述。In this application, descriptions of the same or similar terms, concepts, technical solutions and/or application scenarios are generally only described in detail when they appear for the first time, and when they appear repeatedly later, for the sake of brevity, they are generally not repeated. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions and/or application scenario descriptions that are not described in detail later, you can refer to the previous relevant detailed descriptions.
在本申请中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In this application, the description of each embodiment has its own emphasis. For the parts that are not detailed or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
本申请技术方案的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本申请记载的范围。The various technical features of the technical solution of the present application can be combined arbitrarily. For the sake of concise description, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It should be regarded as the scope described in this application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only a specific embodiment of the application, but the scope of protection of the application is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the scope of the technology disclosed in the application. Modifications or replacements, these modifications or replacements shall be covered within the scope of protection of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310569138.2A CN116600253A (en) | 2023-05-19 | 2023-05-19 | A real-time location sharing method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310569138.2A CN116600253A (en) | 2023-05-19 | 2023-05-19 | A real-time location sharing method and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116600253A true CN116600253A (en) | 2023-08-15 |
Family
ID=87598738
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310569138.2A Pending CN116600253A (en) | 2023-05-19 | 2023-05-19 | A real-time location sharing method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116600253A (en) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120265823A1 (en) * | 2011-04-15 | 2012-10-18 | Microsoft Corporation | On demand location sharing |
| US20130305331A1 (en) * | 2010-11-02 | 2013-11-14 | Seong Soo Kim | Authentication and management service system for providing location information and method for providing the same |
| CN103517207A (en) * | 2012-06-27 | 2014-01-15 | 中兴通讯股份有限公司 | Contact person position sharing method and system thereof |
| CN104469684A (en) * | 2014-12-15 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | Terminal location information processing method and system |
| CN104737113A (en) * | 2013-10-17 | 2015-06-24 | 华为技术有限公司 | Content sharing method and terminal device |
| CN105764033A (en) * | 2016-02-19 | 2016-07-13 | 腾讯科技(深圳)有限公司 | Information processing method, first terminal, and second terminal |
| CN105890586A (en) * | 2016-03-30 | 2016-08-24 | 上海河广信息科技有限公司 | User location marking system and method |
| CN106603650A (en) * | 2016-12-08 | 2017-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Position information sharing method and terminal devices |
| CN110121146A (en) * | 2019-05-06 | 2019-08-13 | 腾讯科技(深圳)有限公司 | Information sharing method, device and related equipment |
| CN110139222A (en) * | 2019-05-31 | 2019-08-16 | 中国联合网络通信集团有限公司 | The method, apparatus of target position is obtained in real time |
-
2023
- 2023-05-19 CN CN202310569138.2A patent/CN116600253A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130305331A1 (en) * | 2010-11-02 | 2013-11-14 | Seong Soo Kim | Authentication and management service system for providing location information and method for providing the same |
| US20120265823A1 (en) * | 2011-04-15 | 2012-10-18 | Microsoft Corporation | On demand location sharing |
| CN103517207A (en) * | 2012-06-27 | 2014-01-15 | 中兴通讯股份有限公司 | Contact person position sharing method and system thereof |
| CN104737113A (en) * | 2013-10-17 | 2015-06-24 | 华为技术有限公司 | Content sharing method and terminal device |
| CN104469684A (en) * | 2014-12-15 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | Terminal location information processing method and system |
| CN105764033A (en) * | 2016-02-19 | 2016-07-13 | 腾讯科技(深圳)有限公司 | Information processing method, first terminal, and second terminal |
| CN105890586A (en) * | 2016-03-30 | 2016-08-24 | 上海河广信息科技有限公司 | User location marking system and method |
| CN106603650A (en) * | 2016-12-08 | 2017-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Position information sharing method and terminal devices |
| CN110121146A (en) * | 2019-05-06 | 2019-08-13 | 腾讯科技(深圳)有限公司 | Information sharing method, device and related equipment |
| CN110139222A (en) * | 2019-05-31 | 2019-08-16 | 中国联合网络通信集团有限公司 | The method, apparatus of target position is obtained in real time |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11902287B2 (en) | Geo-fence authorization provisioning | |
| US12088542B2 (en) | Multiple application authentication | |
| US10142351B1 (en) | Retrieving contact information based on image recognition searches | |
| US11233799B1 (en) | Scan to login | |
| US10673680B2 (en) | Electronic device providing dialog contents, server and method thereof | |
| WO2007119138A2 (en) | Apparatus, method and computer program product providing location-enhanced contact list | |
| RU2628480C2 (en) | Method, device, terminal and server for answering to call | |
| US7613448B2 (en) | Web access providing system | |
| US11822631B2 (en) | Phone number based application authentication | |
| EP2885909A1 (en) | Apparatus, method and computer program product for sharing data | |
| US9516468B2 (en) | Mobile terminal, content panel display method, and mobile terminal program | |
| CN113873450A (en) | Short message configuration method and device, computer equipment and storage medium | |
| RU2008120636A (en) | ACCESS TO TELECOMMUNICATION DEVICES USING MOBILE PHONE NUMBERS | |
| US20140215582A1 (en) | Verification system and verification method | |
| CN116600253A (en) | A real-time location sharing method and system | |
| US9532167B2 (en) | Mobile terminal, location information related content providing server, content panel display method, and mobile terminal program | |
| JP5542183B2 (en) | Information sharing system | |
| CN114598774B (en) | Cloud mobile phone communication method and system | |
| CN106712960B (en) | Processing method and device of verification code information | |
| CN113965648B (en) | Information hiding method and device and electronic equipment | |
| JP2006217081A (en) | Telephone set and call originating/terminating history program | |
| WO2016145807A1 (en) | Telephone number processing method and device | |
| KR102720008B1 (en) | Service providing system using secure connection through access point and operating method of the system | |
| CN112242982A (en) | Image-based authentication method, device, apparatus, and computer-readable storage medium | |
| CN108416246A (en) | Quick Response Code barcode scanning method, apparatus and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |