CN106375593B - Method and device for determining a positioning mode - Google Patents

Method and device for determining a positioning mode Download PDF

Info

Publication number
CN106375593B
CN106375593B CN201610872043.8A CN201610872043A CN106375593B CN 106375593 B CN106375593 B CN 106375593B CN 201610872043 A CN201610872043 A CN 201610872043A CN 106375593 B CN106375593 B CN 106375593B
Authority
CN
China
Prior art keywords
positioning
mode
positioning mode
current terminal
information
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.)
Active
Application number
CN201610872043.8A
Other languages
Chinese (zh)
Other versions
CN106375593A (en
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610872043.8A priority Critical patent/CN106375593B/en
Publication of CN106375593A publication Critical patent/CN106375593A/en
Application granted granted Critical
Publication of CN106375593B publication Critical patent/CN106375593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method and a device for determining a positioning mode, wherein the method comprises the following steps: acquiring positioning information of other terminals within a preset range from the current terminal position, wherein the positioning information comprises a positioning mode; and determining the positioning mode of the current terminal according to the positioning information. The embodiment of the invention solves the technical problems that a user subjectively selects a positioning mode, can not accurately and quickly position and increases the power consumption of the intelligent terminal, and realizes the technical effects of accurately and quickly positioning and reducing the power consumption of the terminal.

Description

一种定位模式的确定方法和装置Method and device for determining a positioning mode

技术领域technical field

本发明实施例涉及无线定位技术,尤其涉及一种定位模式的确定方法和装置。Embodiments of the present invention relate to wireless positioning technologies, and in particular to a method and device for determining a positioning mode.

背景技术Background technique

随着智能终端的快速发展,智能终端(例如,平板电脑、智能手机和智能穿戴设备等)已经广泛应用到人们工作、生活的各个领域。With the rapid development of smart terminals, smart terminals (for example, tablet computers, smart phones, smart wearable devices, etc.) have been widely used in various fields of people's work and life.

目前智能终端中都配置有定位系统,支持终端的无线定位功能。一般智能终端的定位模式,包括wifi定位、GPS(Global Positioning System,全球定位系统)定位和基站定位等。而不同的定位模式适用于不同的环境,对智能终端的功耗也不同。At present, all smart terminals are equipped with a positioning system, which supports the wireless positioning function of the terminal. The positioning mode of a general smart terminal includes wifi positioning, GPS (Global Positioning System, Global Positioning System) positioning, base station positioning, and the like. Different positioning modes are suitable for different environments, and the power consumption of smart terminals is also different.

在现有技术中,用户在有定位需求时,一般需要用户主动选择定位模式,而用户经常是凭着自己的主观意志进行选择,这样并不有利于智能终端的精确快速定位,如果选择不当还会增加智能终端的功耗。In the existing technology, when a user has a positioning requirement, the user generally needs to actively select the positioning mode, and the user often chooses according to his own subjective will, which is not conducive to the accurate and fast positioning of the smart terminal. It will increase the power consumption of the smart terminal.

发明内容Contents of the invention

本发明提供一种定位模式的确定方法和装置,能够根据周围的智能终端自动选择定位模式,不仅能够实现精确快速定位,还能减少智能终端的功耗。The present invention provides a positioning mode determination method and device, which can automatically select the positioning mode according to surrounding smart terminals, not only can realize accurate and fast positioning, but also can reduce the power consumption of smart terminals.

第一方面,本发明实施例提供了一种定位模式的确定方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for determining a positioning mode, the method including:

获取距离当前终端位置预设范围内的其它终端的定位信息,所述定位信息中包含定位模式;Acquire positioning information of other terminals within a preset range from the current terminal position, where the positioning information includes a positioning mode;

根据所述定位信息确定当前终端的定位模式。Determine the positioning mode of the current terminal according to the positioning information.

进一步的,根据所述定位信息确定当前终端的定位模式包括:Further, determining the positioning mode of the current terminal according to the positioning information includes:

当获取的定位模式为多个时,将多个定位模式作为候选定位模式;When there are multiple positioning modes acquired, using the multiple positioning modes as candidate positioning modes;

分别获取使用所述候选定位模式进行定位的终端的定位数据;Respectively acquire positioning data of terminals that use the candidate positioning modes for positioning;

根据所述定位数据确定最优定位模式作为所述当前终端的定位模式;determining an optimal positioning mode as the positioning mode of the current terminal according to the positioning data;

进一步的,根据所述定位信息确定当前终端的定位模式包括:Further, determining the positioning mode of the current terminal according to the positioning information includes:

所述定位信息中还包含与所述定位模式有关的定位数据;The positioning information also includes positioning data related to the positioning mode;

根据所述定位数据确定最优定位模式,将所述最优定位模式作为所述当前终端的定位模式。An optimal positioning mode is determined according to the positioning data, and the optimal positioning mode is used as the positioning mode of the current terminal.

进一步的,根据所述定位数据确定最优定位模式包括:Further, determining the optimal positioning mode according to the positioning data includes:

将满足以下至少一项条件的定位数据对应的定位模式作为最优定位模式:Use the positioning mode corresponding to the positioning data that meets at least one of the following conditions as the optimal positioning mode:

定位时间与所述当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。The time difference between the positioning time and the positioning time of the current terminal is less than a preset time, the positioning accuracy is higher than the preset accuracy, and there is no movement exceeding a preset distance within a preset time period after positioning.

进一步的,根据所述定位信息确定当前终端的定位模式之后,还包括:Further, after determining the positioning mode of the current terminal according to the positioning information, it also includes:

自动开启所述当前终端的所述定位模式;automatically enabling the positioning mode of the current terminal;

或,提示用户开启所述当前终端的所述定位模式。Or, prompting the user to enable the positioning mode of the current terminal.

进一步的,所述定位模式为以下任意一种:Further, the positioning mode is any one of the following:

WiFi定位、全球定位系统GPS定位和基站定位。WiFi positioning, GPS positioning and base station positioning.

第二方面,本发明实施例还提供了一种定位模式的确定,该装置包括:In the second aspect, the embodiment of the present invention also provides a determination of a positioning mode, the device includes:

定位信息获取模块,用于获取距离当前终端位置预设范围内的其它终端的定位信息,所述定位信息中包含定位模式;A positioning information acquisition module, configured to acquire positioning information of other terminals within a preset range from the current terminal position, where the positioning information includes a positioning mode;

定位模式确定模块,用于根据所述定位信息确定当前终端的定位模式。A positioning mode determining module, configured to determine the current terminal's positioning mode according to the positioning information.

进一步的,所述定位模式确定模块具体用于:Further, the positioning mode determining module is specifically used for:

当获取的定位模式为多个时,将多个定位模式作为候选定位模式;分别获取使用所述候选定位模式进行定位的终端的定位数据;根据所述定位数据确定最优定位模式,将所述最优定位模式作为所述当前终端的定位模式;When there are multiple positioning modes to be acquired, use the multiple positioning modes as candidate positioning modes; respectively acquire positioning data of terminals using the candidate positioning modes for positioning; determine the optimal positioning mode according to the positioning data, and set the The optimal positioning mode is used as the positioning mode of the current terminal;

进一步的,所述定位模式确定模块具体用于:Further, the positioning mode determining module is specifically used for:

所述定位信息中还包含与所述定位模式有关的定位数据;根据所述定位数据确定最优定位模式,将所述最优定位模式作为所述当前终端的定位模式。The positioning information also includes positioning data related to the positioning mode; an optimal positioning mode is determined according to the positioning data, and the optimal positioning mode is used as the positioning mode of the current terminal.

进一步的,根据所述定位模式确定模块具体用于:Further, according to the positioning mode determination module is specifically used for:

将满足以下至少一项条件的定位数据对应的定位模式作为最优定位模式:Use the positioning mode corresponding to the positioning data that meets at least one of the following conditions as the optimal positioning mode:

定位时间与所述当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。The time difference between the positioning time and the positioning time of the current terminal is less than a preset time, the positioning accuracy is higher than the preset accuracy, and there is no movement exceeding a preset distance within a preset time period after positioning.

进一步的,该装置还包括:Further, the device also includes:

定位模式开启模块,用于在所述定位模式确定模块根据所述定位信息确定当前终端的定位模式之后,自动开启所述当前终端的所述定位模式;或,根据所述定位信息确定当前终端的定位模式之后,提示用户开启所述当前终端的所述定位模式。A positioning mode enabling module, configured to automatically enable the positioning mode of the current terminal after the positioning mode determination module determines the positioning mode of the current terminal according to the positioning information; or, determine the positioning mode of the current terminal according to the positioning information After the positioning mode, the user is prompted to enable the positioning mode of the current terminal.

进一步的,所述定位模式为以下任意一种:Further, the positioning mode is any one of the following:

WiFi定位、全球定位系统GPS定位和基站定位。WiFi positioning, GPS positioning and base station positioning.

本发明实施例通过获取其他终端定位信息中包含的定位模式,确定当前终端的定位模式,解决了用户主观选择定位模式,不能精确快速定位,增加智能终端功耗的技术问题,实现了精确快速定位,减少终端功耗的技术效果。The embodiment of the present invention determines the positioning mode of the current terminal by acquiring the positioning mode included in the positioning information of other terminals, which solves the technical problems of the user subjectively selecting the positioning mode, which cannot be accurately and quickly positioned, and increases the power consumption of the smart terminal, and realizes accurate and fast positioning , the technical effect of reducing terminal power consumption.

附图说明Description of drawings

图1是本发明实施例一提供的定位模式的确定方法的流程图;FIG. 1 is a flow chart of a method for determining a positioning mode provided in Embodiment 1 of the present invention;

图2是本发明实施例二提供的定位模式的确定方法的流程图;FIG. 2 is a flowchart of a method for determining a positioning mode provided in Embodiment 2 of the present invention;

图3是本发明实施例三提供的定位模式的确定方法的流程图;FIG. 3 is a flowchart of a method for determining a positioning mode provided in Embodiment 3 of the present invention;

图4是本发明实施例四提供的定位模式的确定方法的流程图;FIG. 4 is a flowchart of a method for determining a positioning mode provided in Embodiment 4 of the present invention;

图5是本发明实施例四提供的定位模式的确定方法的应用场景示意图;FIG. 5 is a schematic diagram of an application scenario of a method for determining a positioning mode provided in Embodiment 4 of the present invention;

图6是本发明实施例五提供的定位模式的确定装置的结构示意图。FIG. 6 is a schematic structural diagram of an apparatus for determining a positioning mode provided in Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

实施例一Embodiment one

图1为本发明实施例一提供的定位模式的确定方法的流程图,本实施例可适用于在定位之前,选择定位模式的情况,该方法可以由本发明实施例提供的定位模式的确定装置来执行,该装置可以采用软件和/或硬件的方式来实现,该装置可集成于具有定位功能的终端内,例如可以是智能手机、平板电脑或者智能穿戴设备等。该方法具体包括如下步骤:Figure 1 is a flow chart of the method for determining the positioning mode provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the positioning mode is selected before positioning. This method can be implemented by the device for determining the positioning mode provided by the embodiment of the present invention. For execution, the device may be implemented in the form of software and/or hardware, and the device may be integrated into a terminal with a positioning function, such as a smart phone, a tablet computer, or a smart wearable device. The method specifically includes the following steps:

S110、获取距离当前终端位置预设范围内的其它终端的定位信息,定位信息中包含定位模式。S110. Obtain positioning information of other terminals within a preset range from the current terminal location, where the positioning information includes a positioning mode.

其中,预设范围指的是当前终端中设置的范围,数值范围可由用户自定义设置,例如,在本发明实施例提供的定位模式的确定装置中提供编辑界面或设置选项,由用户输入或选择预设范围,例如,500米或300米等。由于该预设范围内的其它终端所处的环境与当前终端一般差别不大,因此,通过获取该预设范围内的所有其他终端的定位信息,能够得到适于该当前终端的定位信息。Wherein, the preset range refers to the range set in the current terminal, and the numerical range can be customized by the user. For example, an editing interface or setting options are provided in the device for determining the positioning mode provided in the embodiment of the present invention, and are input or selected by the user. Preset range, for example, 500 meters or 300 meters, etc. Since the environments of other terminals within the preset range are generally not much different from the current terminal, positioning information suitable for the current terminal can be obtained by acquiring the positioning information of all other terminals within the preset range.

其中,定位信息指的是其他终端在定位时的相关信息,包括但不限于定位模式、定位坐标、定位时间、距离当前终端的距离、及定位后的终端移动距离等。示例性的,当前终端获取其他终端的定位信息的方式可以是:接收预设范围内的其它终端通过蓝牙广播的定位信息、或者从共享服务器上下载预设范围内的终端共享的定位信息,或者主动向预设范围内的终端发送请求消息,获取定位信息。需要说明的是,当通过蓝牙广播方式获取定位信息时,预设范围一般设置为蓝牙的传输范围,例如可以是10m。Wherein, the positioning information refers to relevant information of other terminals during positioning, including but not limited to positioning mode, positioning coordinates, positioning time, distance from the current terminal, and terminal moving distance after positioning. Exemplarily, the way for the current terminal to obtain the positioning information of other terminals may be: receiving the positioning information broadcast by other terminals within the preset range through Bluetooth, or downloading the positioning information shared by the terminals within the preset range from the sharing server, or Actively send request messages to terminals within the preset range to obtain location information. It should be noted that, when the positioning information is obtained through Bluetooth broadcasting, the preset range is generally set to the transmission range of Bluetooth, for example, it may be 10m.

其中,定位模式指的是终端定位时应用的定位方式。可选的定位模式为可为以下任意一种:WiFi定位、GPS(Global Positioning System,全球定位系统)定位和基站定位。Wherein, the positioning mode refers to a positioning mode applied when the terminal is positioned. The optional positioning mode may be any one of the following: WiFi positioning, GPS (Global Positioning System, Global Positioning System) positioning and base station positioning.

其中,WiFi定位是利用现有的无线网络,配合WiFi热点信息和定位算法确定终端用户的位置的一种定位模式。WiFi定位的工作原理为终端打开WiFi,扫描该终端范围内的WiFi热点信息,将扫描结果发送给定位服务器并发送WiFi定位请求;定位服务器根据终端WiFi唯一的MAC(Media Access Control)地址,通过定位算法确定定位信息。需要说明的是,WiFi定位需要消耗终端的数据流量,能够对室内和室外的位置进行定位。Among them, WiFi positioning is a positioning mode that uses existing wireless networks to cooperate with WiFi hotspot information and positioning algorithms to determine the location of end users. The working principle of WiFi positioning is that the terminal opens WiFi, scans the WiFi hotspot information within the range of the terminal, sends the scanning result to the positioning server and sends a WiFi positioning request; the positioning server uses the unique MAC (Media Access Control) address of the terminal WiFi, through positioning Algorithms determine location information. It should be noted that WiFi positioning needs to consume the data traffic of the terminal, and can locate indoor and outdoor locations.

GPS定位是一种通过全球定位系统确定位置信息的一种定位模式,其工作原理为终端中的GPS接收器获取不同卫星的当前位置和时间戳,通过计算可得到终端的位置信息。需要说明的是,GPS定位对终端的功耗大,定位精度高,只能够对室外的位置进行定位,不能对室内的位置定位。GPS positioning is a positioning mode that determines location information through the Global Positioning System. Its working principle is that the GPS receiver in the terminal obtains the current location and time stamp of different satellites, and the location information of the terminal can be obtained through calculation. It should be noted that GPS positioning consumes a lot of power for terminals and has high positioning accuracy. It can only locate outdoor locations, but not indoor locations.

基站定位是一种通过运营商的通信网络获取终端用户的位置信息的一种定位模式,其工作原理为终端通过测量不同基站的下行导频信号,得到不同基站下行导频信号的到达时间或者到达时间差,结合基站的坐标,通过计算可得到终端的位置信息。需要说明的是,基站定位精度较低,可对室内和室外的位置进行定位。Base station positioning is a positioning mode that obtains the location information of the terminal user through the operator's communication network. Its working principle is that the terminal obtains the arrival time or arrival time of the downlink pilot signals of different base stations by measuring the downlink pilot signals of different base stations. The time difference, combined with the coordinates of the base station, can be used to obtain the location information of the terminal through calculation. It should be noted that the positioning accuracy of the base station is relatively low, and the indoor and outdoor positions can be positioned.

本实施例中,通过获取其他终端的定位信息,获取其他终端应用的定位模式。In this embodiment, by acquiring the positioning information of other terminals, the positioning mode applied by other terminals is acquired.

S120、根据定位信息确定当前终端的定位模式。S120. Determine the positioning mode of the current terminal according to the positioning information.

当预设范围内的其它终端只有一个时,则获取的定位信息只有一个,其包含的定位模式也只有一个,那么将该定位模式作为当前终端的定位模式。当预设范围内的其它终端为多个时,则获取的定位信息有多个,多个定位信息对应的定位模式可能只有一个,也可能为多个,当只有一个时,则将该定位模式作为当前终端的定位模式。当为多个时,可根据预设的规则选择一个定位模式作为当前终端的定位模式。一种可实现的方式时,当包含的定位模式为多个时,可统计预设范围内使用每个定位模式的终端的数量,将使用数量最多的定位模式作为当前终端的定位模式。When there is only one other terminal within the preset range, there is only one positioning information acquired, and only one positioning mode is included in it, and this positioning mode is used as the positioning mode of the current terminal. When there are multiple other terminals within the preset range, there are multiple positioning information to be obtained, and there may be only one positioning mode corresponding to the multiple positioning information, or there may be multiple positioning modes. When there is only one positioning mode, the positioning mode As the positioning mode of the current terminal. When there are multiple positioning modes, one positioning mode may be selected as the positioning mode of the current terminal according to preset rules. In an achievable manner, when multiple positioning modes are included, the number of terminals using each positioning mode within a preset range may be counted, and the positioning mode that uses the largest number is used as the positioning mode of the current terminal.

本实施例中,由于不同的定位模式具有不同的优势,适用于不同的环境,对终端的功耗也不同。通过获取预设范围内的其他终端定位信息中包含的定位模式,确定当前终端的定位模式,能够更加快速的选择适于当前终端的定位模式,减少终端的功耗。In this embodiment, since different positioning modes have different advantages and are applicable to different environments, the power consumption of the terminal is also different. The positioning mode of the current terminal can be determined by acquiring the positioning modes included in the positioning information of other terminals within the preset range, so that the positioning mode suitable for the current terminal can be selected more quickly, and the power consumption of the terminal can be reduced.

本实施例的技术方案,通过获取其他终端定位信息中包含的定位模式,确定当前终端的定位模式,解决了用户主观选择定位模式,不能快速精确定位,增加智能终端功耗的技术问题,实现了快速精确定位,减少终端功耗的技术效果。In the technical solution of this embodiment, the positioning mode of the current terminal is determined by obtaining the positioning mode contained in the positioning information of other terminals, which solves the technical problems that the user selects the positioning mode subjectively, cannot quickly and accurately locate, and increases the power consumption of the smart terminal. Fast and precise positioning, the technical effect of reducing terminal power consumption.

在上述实施例的基础上,根据定位信息确定当前终端的定位模式之后,还可以包括:On the basis of the above embodiments, after determining the positioning mode of the current terminal according to the positioning information, it may further include:

自动开启当前终端的所述定位模式;automatically enable the positioning mode of the current terminal;

或,提示用户开启当前终端的定位模式。Or, the user is prompted to enable the positioning mode of the current terminal.

示例性的,当前终端根据其他终端的定位信息中的定位模式,确定当前终端的定位模式后,例如该定位模式可以是基站定位,当前终端可自动开启基站定位模式进行定位并显示定位结果;或者当前终端通过语音方式或在屏幕中显示“请开启基站定位模式”的字样对用户进行定位模式的提示。Exemplarily, after the current terminal determines the positioning mode of the current terminal according to the positioning mode in the positioning information of other terminals, for example, the positioning mode can be base station positioning, the current terminal can automatically turn on the base station positioning mode to perform positioning and display the positioning result; or Currently, the terminal reminds the user of the positioning mode by voice or displaying the words "Please turn on the base station positioning mode" on the screen.

通过对确定的定位模式直接开启,或者提示用户开启,避免了用户主观的选择定位模式,浪费时间与增加终端功耗的问题,实现快速定位。By directly enabling the determined positioning mode, or prompting the user to enable it, the problem of wasting time and increasing terminal power consumption by the user's subjective selection of the positioning mode is avoided, and fast positioning is realized.

实施例二Embodiment two

图2为本发明实施例二提供的定位模式的确定方法的流程图,本实施例在上述实施例一的基础上,将根据定位信息确定当前终端的定位模式进一步优化为:当获取的定位模式为多个时,将多个定位模式作为候选定位模式;分别获取使用候选定位模式进行定位的终端的定位数据;根据定位数据确定最优定位模式作为当前终端的定位模式。相应的,该方法具体包括:Fig. 2 is a flow chart of the method for determining the positioning mode provided by Embodiment 2 of the present invention. On the basis of the above-mentioned Embodiment 1, this embodiment further optimizes the determination of the positioning mode of the current terminal according to the positioning information to: when the acquired positioning mode When there are multiple positioning modes, multiple positioning modes are used as candidate positioning modes; positioning data of terminals using the candidate positioning modes for positioning are obtained respectively; and an optimal positioning mode is determined according to the positioning data as the positioning mode of the current terminal. Accordingly, the method specifically includes:

S210、获取距离当前终端位置预设范围内的其它终端的定位信息,定位信息中包含定位模式。S210. Obtain positioning information of other terminals within a preset range from the current terminal location, where the positioning information includes a positioning mode.

S220、当获取的定位模式为多个时,将多个定位模式作为候选定位模式。S220. When there are multiple positioning modes acquired, use the multiple positioning modes as candidate positioning modes.

其中,示例性的,当从不止一个其他终端的定位信息包括的定位模式互不同时,例如可以是一个其他终端中获取的定位模式为基站定位,从另外两个其他终端中获取的定位模式为GPS定位,则将这不同的定位模式确定为候选定位模式。Wherein, for example, when the positioning modes included in the positioning information of more than one other terminal are different from each other, for example, the positioning mode obtained from one other terminal may be base station positioning, and the positioning mode obtained from two other terminals may be GPS positioning, the different positioning modes are determined as candidate positioning modes.

S230、分别获取使用候选定位模式进行定位的终端的定位数据。S230. Respectively acquire positioning data of terminals that use the candidate positioning modes for positioning.

其中,定位数据指的是终端定位模式的相关数据,具体的,定位数据可以包括定位时间、定位精度或终端定位后的运动轨迹的至少一项信息数据。定位时间指的是终端开启定位模式进行定位的时间点;定位精度指的是定位信息例如定位坐标距离用户实际位置的接近程度;终端定位后的运动轨迹指的是在终端定位后开始记录终端的运动轨迹,根据运动轨迹可识别用户的实际运动轨迹与运动距离。获取每个候选定位模式的定位数据便于进行对比分析。Wherein, the positioning data refers to data related to the positioning mode of the terminal. Specifically, the positioning data may include at least one item of information data such as positioning time, positioning accuracy, or a motion trajectory of the terminal after positioning. The positioning time refers to the time point when the terminal turns on the positioning mode for positioning; the positioning accuracy refers to the proximity of positioning information such as positioning coordinates to the user's actual position; Movement trajectory, according to the movement trajectory, the user's actual movement trajectory and movement distance can be identified. Obtaining positioning data for each candidate positioning mode facilitates comparative analysis.

S240、根据定位数据确定最优定位模式作为当前终端的定位模式。S240. Determine the optimal positioning mode as the positioning mode of the current terminal according to the positioning data.

其中,最优定位模式指的是最优选、最合适的定位模式。Wherein, the optimal positioning mode refers to the most preferred and most suitable positioning mode.

本实施例中,根据获取的定位信息中的定位模式,确定候选定位模式,通过分析并对比每一个定位模式的定位数据之后,在候选定位模式中选择最优选的定位模式作为当前终端的定位模式,避免了用户在主观尝试性的选择定位模式。In this embodiment, the candidate positioning mode is determined according to the positioning mode in the acquired positioning information, and after analyzing and comparing the positioning data of each positioning mode, the most preferred positioning mode is selected as the positioning mode of the current terminal among the candidate positioning modes , to avoid the user's subjective and tentative selection of the positioning mode.

可选的,将满足以下至少一项条件的定位数据对应的定位模式作为最优定位模式:定位时间与当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。Optionally, the positioning mode corresponding to the positioning data that meets at least one of the following conditions is used as the optimal positioning mode: the time difference between the positioning time and the positioning time of the current terminal is less than the preset time, the positioning accuracy is higher than the preset accuracy, and the post-positioning forecast It is assumed that there is no movement exceeding the preset distance within the time period.

其中,定位时间与当前终端的定位时间的时间差小于预设时间指的是当前终端获取的定位数据中的定位时间与当前终端的定位时间例如可以是当前时间之间的时间间隔在预设时间范围内,示例性的,当预设时间为30分钟,当前时间为上午8:30,则满足要求的定位模式的定位时间应在上午8:00到上午8:30之间,其他终端的定位时间与当前终端的定位时间越接近,定位模式的选择准确度越高。Wherein, the time difference between the positioning time and the positioning time of the current terminal is less than the preset time means that the positioning time in the positioning data acquired by the current terminal and the positioning time of the current terminal may be, for example, the time interval between the current time is within the preset time range For example, when the preset time is 30 minutes and the current time is 8:30 am, the positioning time of the positioning mode that meets the requirements should be between 8:00 am and 8:30 am, and the positioning time of other terminals The closer the positioning time is to the current terminal, the higher the selection accuracy of the positioning mode is.

定位精度高于预设精度指的是当前终端在候选定位模式中确定最优定位模式时,可设置一预设精度,当候选定位模式的定位数据中的定位精度高于该预设精度时,可将该候选定位模式继续作为候选定位模式,否则,将该候选定位模式丢弃。The positioning accuracy is higher than the preset accuracy means that when the current terminal determines the optimal positioning mode in the candidate positioning mode, a preset accuracy can be set. When the positioning accuracy in the positioning data of the candidate positioning mode is higher than the preset accuracy, The candidate positioning mode can be continued as the candidate positioning mode, otherwise, the candidate positioning mode is discarded.

定位后预设时间段内无超过预设距离的运动指的是识别当前终端获取的定位数据中的运动轨迹数据,判断其他终端用户在定位后的运动距离。示例性的,当其他终端用户在定位后运动距离超过预设距离,例如该预设距离可以是100m或者200m等,则该定位模式可能会存在不适用当前终端的情况,示例性的,在商城中,当前终端获取的其他终端的定位模式的定位数据显示其他终端用户在定位后的运动轨迹为从室外走到室内,则该定位模式不适用于当前终端。No movement exceeding a preset distance within a preset period of time after positioning refers to identifying motion trajectory data in the positioning data acquired by the current terminal, and judging the moving distance of other terminal users after positioning. Exemplarily, when other terminal users move beyond the preset distance after positioning, for example, the preset distance can be 100m or 200m, etc., the positioning mode may not be applicable to the current terminal, for example, in the mall If the positioning data obtained by the current terminal in the positioning mode of other terminals shows that the movement trajectory of other terminal users after positioning is from outdoors to indoors, then this positioning mode is not applicable to the current terminal.

本实施例的技术方案,根据获取的定位信息中的定位模式,确定候选定位模式,通过分析并对比每一个定位模式的定位数据之后,在候选定位模式中选择最优选的定位模式作为当前中的定位模式,避免了用户在主观尝试性的选择定位模式,实现了快速定位,减少终端功耗的效果。In the technical solution of this embodiment, the candidate positioning mode is determined according to the positioning mode in the acquired positioning information, and after analyzing and comparing the positioning data of each positioning mode, the most preferred positioning mode is selected as the current positioning mode among the candidate positioning modes. The positioning mode avoids the user's subjective and tentative selection of the positioning mode, realizes fast positioning, and reduces the power consumption of the terminal.

实施例三Embodiment three

图3为本发明实施例三提供的定位模式的确定方法的流程图,本实施例在上述实施例的基础上,进一步的将根据定位信息确定当前终端的定位模式优化为定位信息中还包含与定位模式有关的定位数据;根据定位数据确定最优定位模式,将最优定位模式作为当前终端的定位模式。相应的,该方法具体包括:Fig. 3 is a flow chart of the method for determining the positioning mode provided by Embodiment 3 of the present invention. On the basis of the above-mentioned embodiments, this embodiment further optimizes the positioning mode of the current terminal determined according to the positioning information so that the positioning information also includes information related to positioning data related to the positioning mode; determining the optimal positioning mode according to the positioning data, and using the optimal positioning mode as the positioning mode of the current terminal. Accordingly, the method specifically includes:

S310、获取距离当前终端位置预设范围内的其它终端的定位信息,定位信息中包含定位模式和与定位模式有关的定位数据。S310. Obtain positioning information of other terminals within a preset range from the current terminal location, where the positioning information includes a positioning mode and positioning data related to the positioning mode.

示例性的,每一个终端在定位之后,可通过蓝牙广播或者信息共享的方式将本终端的定位信息进行分享,便于其他终端获取定位信息。当前终端在获取定位信息中的定位模式的同时可获取其他终端分享的其他定位数据。Exemplarily, after each terminal is positioned, it can share the positioning information of the terminal through Bluetooth broadcasting or information sharing, so that other terminals can obtain the positioning information. The current terminal may acquire other positioning data shared by other terminals while acquiring the positioning mode in the positioning information.

需要说明的是,若其他终端为授权终端,则共享的定位信息中可包含对应的定位数据,例如定位坐标等;当当前终端也为授权终端时,可直接使用其他终端的定位数据确定定位模式。It should be noted that if other terminals are authorized terminals, the shared positioning information may contain corresponding positioning data, such as positioning coordinates, etc.; when the current terminal is also an authorized terminal, the positioning data of other terminals may be directly used to determine the positioning mode .

例如,当终端被授权时,可在广播信息中加入定位数据,当当前终端搜索到该广播时,发现广播信息中的定位时间近,精度小,且无长距离运动轨迹,则可直接使用该广播中的定位数据确定当前终端的定位模式,这样可在一定程度上减少终端的定位频率。For example, when the terminal is authorized, it can add positioning data to the broadcast information. When the current terminal searches the broadcast and finds that the positioning time in the broadcast information is short, the accuracy is small, and there is no long-distance movement track, it can directly use the broadcast information. The positioning data in the broadcast determines the positioning mode of the current terminal, which can reduce the positioning frequency of the terminal to a certain extent.

S320、根据定位数据确定最优定位模式,将最优定位模式作为当前终端的定位模式。S320. Determine an optimal positioning mode according to the positioning data, and use the optimal positioning mode as a positioning mode of the current terminal.

本实施例中,根据定位信息中同时获取的定位模式和定位数据,确定最优定位模式,并将该最优定位模式作为当前终端的定位模式。In this embodiment, an optimal positioning mode is determined according to the positioning mode and positioning data simultaneously acquired in the positioning information, and the optimal positioning mode is used as the positioning mode of the current terminal.

可选的,将满足以下至少一项条件的定位数据对应的定位模式作为最优定位模式:定位时间与当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。Optionally, the positioning mode corresponding to the positioning data that meets at least one of the following conditions is used as the optimal positioning mode: the time difference between the positioning time and the positioning time of the current terminal is less than the preset time, the positioning accuracy is higher than the preset accuracy, and the post-positioning forecast It is assumed that there is no movement exceeding the preset distance within the time period.

本实施例的技术方案,通过定位信息中同时获取的定位模式和定位数据,根据定位数据确定最优定位模式,并将该最优定位模式作为当前终端的定位模式,避免了用户主观的选择定位模式,浪费时间与增加终端功耗的问题,实现快速定位。In the technical solution of this embodiment, the optimal positioning mode is determined according to the positioning mode and positioning data obtained simultaneously in the positioning information, and the optimal positioning mode is used as the positioning mode of the current terminal, which avoids the subjective selection of positioning by the user. Mode, waste time and increase terminal power consumption, to achieve fast positioning.

实施例四Embodiment Four

图4为本发明实施例四提供的定位模式的确定方法的流程图,本实施例为优选实例。相应的,该方法具体包括:FIG. 4 is a flowchart of a method for determining a positioning mode provided in Embodiment 4 of the present invention, and this embodiment is a preferred example. Accordingly, the method specifically includes:

S410、距离当前终端预设范围内的终端实时或定时广播定位信息,所述定位信息包含定位模式、定位时间、定位精度和定位后的运动轨迹。S410. Terminals within a preset range from the current terminal broadcast positioning information in real time or at regular intervals, where the positioning information includes a positioning mode, positioning time, positioning accuracy, and a motion trajectory after positioning.

S420、通过蓝牙搜索获取预设范围内的终端,获取预设范围内的终端广播的定位信息。S420. Obtain the terminals within the preset range through the Bluetooth search, and obtain the positioning information broadcast by the terminals within the preset range.

S430、当获取的定位模式为多个时,确定最优定位模式作为当前终端的定位模式。S430. When there are multiple positioning modes acquired, determine the optimal positioning mode as the positioning mode of the current terminal.

具体的,将满足以下至少一项条件的定位模式作为最优定位模式:定位时间与所述当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。Specifically, the positioning mode that satisfies at least one of the following conditions is taken as the optimal positioning mode: the time difference between the positioning time and the positioning time of the current terminal is less than the preset time, the positioning accuracy is higher than the preset accuracy, and the preset time period after positioning There is no motion within the preset distance.

S440、采用最优定位模式对当前终端进行定位。具体的,自动开启当前终端的所述定位模式;或,提示用户开启当前终端的定位模式。S440. Position the current terminal by using the optimal positioning mode. Specifically, the positioning mode of the current terminal is automatically enabled; or, the user is prompted to enable the positioning mode of the current terminal.

S450、定位成功之后,对当前终端的定位信息进行分享。S450. After the positioning is successful, share the positioning information of the current terminal.

例如,蓝牙广播当前终端的定位信息。For example, Bluetooth broadcasts the location information of the current terminal.

如图5所示,为本实施例提供的定位模式的确定方法的应用场景示意图,当前终端510通过蓝牙、信息共享或主动获取的方式能够获取其他终端520、530和540的定位信息。当前终端510和其他终端520、530和540为具有定位功能的终端,例如可以是智能手机、平板电脑或者智能穿戴设备等。As shown in FIG. 5 , it is a schematic diagram of the application scenario of the determination method of the positioning mode provided by this embodiment. The current terminal 510 can obtain the positioning information of other terminals 520, 530 and 540 through Bluetooth, information sharing or active acquisition. The current terminal 510 and other terminals 520, 530, and 540 are terminals with a positioning function, such as smart phones, tablet computers, or smart wearable devices.

示例性的,其他终端520、530和540具有将定位信息进行分享的功能,例如可以是具有蓝牙广播或者信息共享的功能。当前终端510用户甲开启终端定位功能,当前终端510获取预设范围内的其他终端520、530和540的定位信息,该定位信息中分别包含定位模式与定位数据,示例性的,终端520的定位模式为WiFi定位,终端530的定位模式为GPS定位,终端540的定位模式为基站定位,将上述三种定位模式确定为候选定位模式。对三种候选定位模式的定位数据进行对比分析,当其中一种候选定位模式满足定位时间与当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动至少一项条件时,将该定位模式确定为最优定位模式,示例性的,该最优定位模式可以是GPS定位。Exemplarily, other terminals 520, 530, and 540 have a function of sharing location information, for example, may have a function of Bluetooth broadcasting or information sharing. User A of the current terminal 510 activates the terminal positioning function, and the current terminal 510 obtains the positioning information of other terminals 520, 530, and 540 within the preset range. The mode is WiFi positioning, the positioning mode of terminal 530 is GPS positioning, the positioning mode of terminal 540 is base station positioning, and the above three positioning modes are determined as candidate positioning modes. The positioning data of the three candidate positioning modes are compared and analyzed. When one of the candidate positioning modes satisfies the time difference between the positioning time and the positioning time of the current terminal is less than the preset time, the positioning accuracy is higher than the preset accuracy and the preset time period after positioning When there is at least one condition of motion exceeding the preset distance, the positioning mode is determined as the optimal positioning mode. Exemplarily, the optimal positioning mode may be GPS positioning.

将最优定位模式即GPS定位最为当前终端510的定位模式,当前终端510自动开启GPS定位对当前终端进行定位;或者当前终端510对当前终端用户甲进行提示,例如可以是在当前终端510的屏幕上显示“请开启GPS定位模式”的提示字样。当前终端510定位成功之后,将本次定位信息通过蓝牙或者信息共享的形式分享。The optimal positioning mode, that is, GPS positioning, is selected as the positioning mode of the current terminal 510, and the current terminal 510 automatically turns on GPS positioning to locate the current terminal; or the current terminal 510 prompts the current terminal user A, for example, on the screen of the current terminal 510 The message "Please turn on the GPS positioning mode" is displayed on the screen. After the current terminal 510 is positioned successfully, the current positioning information is shared through Bluetooth or in the form of information sharing.

本实施例的技术方案,通过在其他终端定位模型中选择最优定位模式,将最优定位模式最为当前终端的定位模式,避免了用户主观的选择定位模式,浪费时间与增加终端功耗的问题,实现快速定位。In the technical solution of this embodiment, by selecting the optimal positioning mode among other terminal positioning models, the optimal positioning mode is selected as the positioning mode of the current terminal, which avoids the problems of wasting time and increasing power consumption of the terminal when the user subjectively selects the positioning mode , to achieve fast positioning.

实施例五Embodiment five

图6为本发明实施例五提供的定位模式的确定装置的结构示意图,该装置适用于执行本发明实施例提供的定位模式的确定方法,该装置具体包括:FIG. 6 is a schematic structural diagram of a device for determining a positioning mode provided in Embodiment 5 of the present invention. The device is suitable for performing the method for determining a positioning mode provided in an embodiment of the present invention. The device specifically includes:

定位信息获取模块610,用于获取距离当前终端位置预设范围内的其它终端的定位信息,定位信息中包含定位模式;A positioning information acquisition module 610, configured to acquire positioning information of other terminals within a preset range from the current terminal position, where the positioning information includes a positioning mode;

定位模式确定模块620,用于根据定位信息确定当前终端的定位模式。The positioning mode determining module 620 is configured to determine the positioning mode of the current terminal according to the positioning information.

可选的,定位模式确定模块620具体用于:Optionally, the positioning mode determining module 620 is specifically used for:

当获取的定位模式为多个时,将多个定位模式作为候选定位模式;分别获取使用候选定位模式进行定位的终端的定位数据;根据定位数据确定最优定位模式,将最优定位模式作为当前终端的定位模式;When there are multiple positioning modes to be acquired, use the multiple positioning modes as candidate positioning modes; respectively acquire the positioning data of terminals using the candidate positioning modes for positioning; determine the optimal positioning mode according to the positioning data, and use the optimal positioning mode as the current The positioning mode of the terminal;

可选的,定位模式确定模块620具体用于:Optionally, the positioning mode determining module 620 is specifically used for:

定位信息中还包含与定位模式有关的定位数据;根据定位数据确定最优定位模式,将最优定位模式作为当前终端的定位模式。The positioning information also includes positioning data related to the positioning mode; the optimal positioning mode is determined according to the positioning data, and the optimal positioning mode is used as the positioning mode of the current terminal.

可选的,定位模式确定模块620具体用于:Optionally, the positioning mode determining module 620 is specifically used for:

将满足以下至少一项条件的定位数据对应的定位模式作为最优定位模式:定位时间与当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。The positioning mode corresponding to the positioning data that meets at least one of the following conditions is regarded as the optimal positioning mode: the time difference between the positioning time and the positioning time of the current terminal is less than the preset time, the positioning accuracy is higher than the preset accuracy, and within the preset time period after positioning No movement beyond a preset distance.

可选的,该装置还包括:Optionally, the device also includes:

定位模式开启模块630,用于在定位模式确定模块620根据定位信息确定当前终端的定位模式之后,自动开启当前终端的定位模式;或,根据定位信息确定当前终端的定位模式之后,提示用户开启当前终端的定位模式。The positioning mode enabling module 630 is configured to automatically enable the positioning mode of the current terminal after the positioning mode determination module 620 determines the positioning mode of the current terminal according to the positioning information; or, after determining the positioning mode of the current terminal according to the positioning information, prompt the user to enable the current terminal The positioning mode of the terminal.

可选的,定位模式为以下任意一种:Optionally, the positioning mode is any of the following:

WiFi定位、全球定位系统GPS定位和基站定位。WiFi positioning, GPS positioning and base station positioning.

本发明实施例提供的定位模式的确定装置可执行本发明任意实施例所提供的定位模式的确定方法,具备执行方法相应的功能模块和有益效果。The device for determining a positioning mode provided in an embodiment of the present invention can execute the method for determining a positioning mode provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (6)

1.一种定位模式的确定方法,其特征在于,包括:1. A method for determining a positioning mode, comprising: 获取距离当前终端位置预设范围内的其它终端的定位信息,所述定位信息中包含定位模式;Acquire positioning information of other terminals within a preset range from the current terminal position, where the positioning information includes a positioning mode; 根据所述定位信息确定当前终端的定位模式;其中,Determine the positioning mode of the current terminal according to the positioning information; wherein, 根据所述定位信息确定当前终端的定位模式包括:Determining the positioning mode of the current terminal according to the positioning information includes: 当获取的定位模式为多个时,将多个定位模式作为候选定位模式;When there are multiple positioning modes acquired, using the multiple positioning modes as candidate positioning modes; 分别获取使用所述候选定位模式进行定位的终端的定位数据;Respectively acquire positioning data of terminals that use the candidate positioning modes for positioning; 根据所述定位数据确定最优定位模式作为所述当前终端的定位模式;或,Determine an optimal positioning mode as the positioning mode of the current terminal according to the positioning data; or, 所述定位信息中还包含与所述定位模式有关的定位数据;The positioning information also includes positioning data related to the positioning mode; 根据所述定位数据确定最优定位模式,将所述最优定位模式作为所述当前终端的定位模式;determining an optimal positioning mode according to the positioning data, and using the optimal positioning mode as the positioning mode of the current terminal; 其中,根据所述定位数据确定最优定位模式包括:Wherein, determining the optimal positioning mode according to the positioning data includes: 将满足以下至少一项条件的定位数据对应的定位模式作为最优定位模式:Use the positioning mode corresponding to the positioning data that meets at least one of the following conditions as the optimal positioning mode: 定位时间与所述当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。The time difference between the positioning time and the positioning time of the current terminal is less than a preset time, the positioning accuracy is higher than the preset accuracy, and there is no movement exceeding a preset distance within a preset time period after positioning. 2.根据权利要求1所述的方法,其特征在于,根据所述定位信息确定当前终端的定位模式之后,还包括:2. The method according to claim 1, characterized in that after determining the positioning mode of the current terminal according to the positioning information, further comprising: 自动开启所述当前终端的所述定位模式;automatically enabling the positioning mode of the current terminal; 或,提示用户开启所述当前终端的所述定位模式。Or, prompting the user to enable the positioning mode of the current terminal. 3.根据权利要求1所述的方法,其特征在于,所述定位模式为以下任意一种:3. The method according to claim 1, wherein the positioning mode is any one of the following: WiFi定位、全球定位系统GPS定位和基站定位。WiFi positioning, GPS positioning and base station positioning. 4.一种定位模式的确定装置,其特征在于,包括:4. A device for determining a positioning mode, comprising: 定位信息获取模块,用于获取距离当前终端位置预设范围内的其它终端的定位信息,所述定位信息中包含定位模式;A positioning information acquisition module, configured to acquire positioning information of other terminals within a preset range from the current terminal position, where the positioning information includes a positioning mode; 定位模式确定模块,用于根据所述定位信息确定当前终端的定位模式;其中,A positioning mode determination module, configured to determine the positioning mode of the current terminal according to the positioning information; wherein, 所述定位模式确定模块具体用于当获取的定位模式为多个时,将多个定位模式作为候选定位模式;The positioning mode determination module is specifically configured to use multiple positioning modes as candidate positioning modes when there are multiple positioning modes acquired; 分别获取使用所述候选定位模式进行定位的终端的定位数据;Respectively acquire positioning data of terminals that use the candidate positioning modes for positioning; 根据所述定位数据确定最优定位模式作为所述当前终端的定位模式;或,Determine an optimal positioning mode as the positioning mode of the current terminal according to the positioning data; or, 所述定位信息中还包含与所述定位模式有关的定位数据;The positioning information also includes positioning data related to the positioning mode; 根据所述定位数据确定最优定位模式,将所述最优定位模式作为所述当前终端的定位模式;determining an optimal positioning mode according to the positioning data, and using the optimal positioning mode as the positioning mode of the current terminal; 其中,所述定位模式确定模块具体用于:Wherein, the positioning mode determining module is specifically used for: 将满足以下至少一项条件的定位数据对应的定位模式作为最优定位模式:Use the positioning mode corresponding to the positioning data that meets at least one of the following conditions as the optimal positioning mode: 定位时间与所述当前终端的定位时间的时间差小于预设时间、定位精度高于预设精度和定位后预设时间段内无超过预设距离的运动。The time difference between the positioning time and the positioning time of the current terminal is less than a preset time, the positioning accuracy is higher than the preset accuracy, and there is no movement exceeding a preset distance within a preset time period after positioning. 5.根据权利要求4所述的装置,其特征在于,该装置还包括:5. The device according to claim 4, characterized in that the device further comprises: 定位模式开启模块,用于在所述定位模式确定模块根据所述定位信息确定当前终端的定位模式之后,自动开启所述当前终端的所述定位模式;或,提示用户开启所述当前终端的所述定位模式。A positioning mode enabling module, configured to automatically enable the positioning mode of the current terminal after the positioning mode determining module determines the positioning mode of the current terminal according to the positioning information; or prompt the user to enable all the positioning modes of the current terminal positioning mode. 6.根据权利要求4所述的装置,其特征在于,所述定位模式为以下任意一种:6. The device according to claim 4, wherein the positioning mode is any one of the following: WiFi定位、全球定位系统GPS定位和基站定位。WiFi positioning, GPS positioning and base station positioning.
CN201610872043.8A 2016-09-29 2016-09-29 Method and device for determining a positioning mode Active CN106375593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610872043.8A CN106375593B (en) 2016-09-29 2016-09-29 Method and device for determining a positioning mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610872043.8A CN106375593B (en) 2016-09-29 2016-09-29 Method and device for determining a positioning mode

Publications (2)

Publication Number Publication Date
CN106375593A CN106375593A (en) 2017-02-01
CN106375593B true CN106375593B (en) 2019-10-22

Family

ID=57898522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610872043.8A Active CN106375593B (en) 2016-09-29 2016-09-29 Method and device for determining a positioning mode

Country Status (1)

Country Link
CN (1) CN106375593B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390245B (en) * 2017-07-13 2020-07-10 广东小天才科技有限公司 Positioning method, device, equipment and storage medium
CN111123337B (en) * 2019-11-15 2022-01-11 泰康保险集团股份有限公司 Position monitoring method and device, electronic equipment and computer readable storage medium
CN113766422A (en) * 2021-09-14 2021-12-07 苏州关安健信息技术科技有限公司 Method and device for optimizing positioning track of mobile terminal and computer storage medium
CN115835373A (en) * 2021-12-20 2023-03-21 中兴通讯股份有限公司 A positioning mode acquisition method, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN104469672A (en) * 2014-10-27 2015-03-25 中国联合网络通信集团有限公司 Positioning method and platform
CN105451168A (en) * 2014-06-27 2016-03-30 联想(北京)有限公司 Positioning method and device
CN105629281A (en) * 2015-11-27 2016-06-01 东莞酷派软件技术有限公司 Auxiliary positioning method and auxiliary positioning device for terminal
CN105764025A (en) * 2014-12-17 2016-07-13 中国电信股份有限公司 Multi-network positioning query method and system
CN105933521A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Method and device for selecting positioning mode by mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9247518B2 (en) * 2013-03-12 2016-01-26 Qualcomm Incorporated Mobile device positioning responsive to externally generated regional candidate position fix mode selection
US9377519B2 (en) * 2013-03-12 2016-06-28 Qualcomm Incorporated Server-based mobile device regional candidate position fix mode selection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN105451168A (en) * 2014-06-27 2016-03-30 联想(北京)有限公司 Positioning method and device
CN104469672A (en) * 2014-10-27 2015-03-25 中国联合网络通信集团有限公司 Positioning method and platform
CN105764025A (en) * 2014-12-17 2016-07-13 中国电信股份有限公司 Multi-network positioning query method and system
CN105629281A (en) * 2015-11-27 2016-06-01 东莞酷派软件技术有限公司 Auxiliary positioning method and auxiliary positioning device for terminal
CN105933521A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Method and device for selecting positioning mode by mobile terminal

Also Published As

Publication number Publication date
CN106375593A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US10278012B2 (en) Location-based reminding method, indication device, reminding device, and mobile terminal
EP2676501B1 (en) Methods, apparatuses and computer program products for providing a private and efficient geolocation system
US9143894B2 (en) Method and system for proximity and context based deduction of position for a GPS enable computing device
US10088599B2 (en) Systems and methods for weather forecasting
CN108111971B (en) Positioning method, device, storage medium and mobile terminal
US9609473B2 (en) Service processing method and apparatus based on location information
KR101895455B1 (en) Method and apparatus for providing semantic location in electronic device
WO2023046012A1 (en) Perception service processing method, terminal, and network side device
EP3329725B1 (en) Power management by powering off unnecessary radios automatically
US20150080014A1 (en) Indoor location determination of access points using mobile device indoor location information
WO2020207096A1 (en) Method for performing positioning in 5g scenarios, positioning platform and user terminal
US11172460B2 (en) User location monitoring in mobile edge environment
CN106375593B (en) Method and device for determining a positioning mode
CN106664296B (en) Seamless peer-to-peer internet connectivity
CN104360307A (en) Positioning method and positioning device
CN105282692A (en) Speed measurement information display method and device
CN106714277A (en) Network connection method and terminal
CN104316946B (en) Base station, GNSS joint positioning method and device
US20170034650A1 (en) Delayed adaptive tile download
CN105472731A (en) Positioning method, auxiliary positioning device and geographical position monitoring device and system
Lu et al. A study of indoor positioning systems using iBeacons with different transmission power levels
CN107995146B (en) Login processing method and device
CN112468952A (en) Positioning method, positioning device, storage medium and electronic equipment
CN106303941A (en) The processing method of terminal positional information and server
CN105530271A (en) Method and device for refreshing information list

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant