CN106375593B - Method and device for determining positioning mode - Google Patents
Method and device for determining positioning mode Download PDFInfo
- 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
- determining
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000033001 locomotion Effects 0.000 claims description 22
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010835 comparative analysis Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- 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)
- 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
Technical Field
The embodiment of the invention relates to a wireless positioning technology, in particular to a method and a device for determining a positioning mode.
Background
With the rapid development of intelligent terminals, intelligent terminals (e.g., tablet computers, smart phones, intelligent wearable devices, etc.) have been widely applied to various fields of work and life of people.
At present, all intelligent terminals are provided with positioning systems to support the wireless positioning function of the terminals. The Positioning modes of a general intelligent terminal include wifi Positioning, GPS (Global Positioning System) Positioning, base station Positioning, and the like. And different positioning modes are suitable for different environments, and the power consumption of the intelligent terminal is different.
In the prior art, when a user has a positioning requirement, the user is generally required to actively select a positioning mode, and the user often selects the positioning mode according to the subjective intention of the user, so that the accurate and fast positioning of the intelligent terminal is not facilitated, and the power consumption of the intelligent terminal is increased if the user improperly selects the positioning mode.
Disclosure of Invention
The invention provides a method and a device for determining a positioning mode, which can automatically select the positioning mode according to surrounding intelligent terminals, not only can realize accurate and rapid positioning, but also can reduce the power consumption of the intelligent terminals.
In a first aspect, an embodiment of the present invention provides a method for determining a positioning mode, where the method includes:
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.
Further, determining the positioning mode of the current terminal according to the positioning information includes:
when the obtained positioning modes are multiple, taking the multiple positioning modes as candidate positioning modes;
respectively acquiring positioning data of the terminal which is positioned by using the candidate positioning mode;
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 comprises positioning data related to the positioning mode;
and determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal.
Further, determining an optimal positioning mode from the positioning data comprises:
taking a positioning mode corresponding to the positioning data meeting at least one of the following conditions as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
Further, after determining the positioning mode of the current terminal according to the positioning information, the method further includes:
automatically starting the positioning mode of the current terminal;
or prompting a user to start the positioning mode of the current terminal.
Further, the positioning mode is any one of the following:
WiFi positioning, global positioning system GPS positioning and base station positioning.
In a second aspect, an embodiment of the present invention further provides a device for determining a positioning mode, where the device includes:
the positioning information acquisition module is used for acquiring positioning information of other terminals within a preset range from the current terminal position, and the positioning information comprises a positioning mode;
and the positioning mode determining module is used for determining the positioning mode of the current terminal according to the positioning information.
Further, the positioning mode determination module is specifically configured to:
when the obtained positioning modes are multiple, taking the multiple positioning modes as candidate positioning modes; respectively acquiring positioning data of the terminal which is positioned by using the candidate positioning mode; determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal;
further, the positioning mode determination module is specifically configured to:
the positioning information also comprises positioning data related to the positioning mode; and determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal.
Further, the determining module is specifically configured to:
taking a positioning mode corresponding to the positioning data meeting at least one of the following conditions as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
Further, the apparatus further comprises:
a positioning mode starting module, configured to automatically start 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 after the positioning mode of the current terminal is determined according to the positioning information, prompting a user to start the positioning mode of the current terminal.
Further, the positioning mode is any one of the following:
WiFi positioning, global positioning system GPS positioning and base station positioning.
According to the embodiment of the invention, the positioning mode of the current terminal is determined by acquiring the positioning modes contained in the positioning information of other terminals, so that the technical problems that a user subjectively selects the positioning mode, the positioning cannot be accurately and quickly performed and the power consumption of the intelligent terminal is increased are solved, the accurate and quick positioning is realized, and the technical effects of reducing the power consumption of the terminal are achieved.
Drawings
Fig. 1 is a flowchart of a method for determining a positioning mode according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining a positioning mode according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for determining a positioning mode according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for determining a positioning mode according to a fourth embodiment of the present invention;
fig. 5 is a schematic application scenario diagram of a method for determining a positioning mode according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for determining a positioning mode according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for determining a positioning mode according to an embodiment of the present invention, where the embodiment is applicable to a case where a positioning mode is selected before positioning, and the method may be executed by a device for determining a positioning mode according to an embodiment of the present invention, where the device may be implemented in a software and/or hardware manner, and the device may be integrated in a terminal having a positioning function, such as a smart phone, a tablet computer, or an intelligent wearable device. The method specifically comprises the following steps:
s110, positioning information of other terminals within a preset range from the current terminal position is obtained, and the positioning information comprises a positioning mode.
The preset range refers to a range set in the current terminal, and the value range can be set by a user in a customized manner, for example, an editing interface or a setting option is provided in the positioning mode determining apparatus provided in the embodiment of the present invention, and the preset range, for example, 500 meters or 300 meters, is input or selected by the user. Since the environment of other terminals within the preset range is generally not much different from the current terminal, the positioning information suitable for the current terminal can be obtained by obtaining the positioning information of all other terminals within the preset range.
The positioning information refers to relevant information of other terminals during positioning, including but not limited to a positioning mode, a positioning coordinate, a positioning time, a distance from a current terminal, a terminal moving distance after positioning, and the like. For example, the current method for acquiring the positioning information of the other terminal by the terminal may be: and receiving the positioning information broadcasted by other terminals in the preset range through Bluetooth, or downloading the positioning information shared by the terminals in the preset range from the sharing server, or actively sending a request message to the terminals in the preset range to acquire the positioning information. It should be noted that, when the positioning information is acquired by the bluetooth broadcast method, the preset range is generally set as the transmission range of bluetooth, and may be 10m, for example.
The positioning mode refers to a positioning mode applied when the terminal is positioned. The selectable positioning mode can be any one of the following modes: WiFi Positioning, GPS (Global Positioning System) Positioning, and base station Positioning.
The WiFi positioning mode is a positioning mode which determines the position of a terminal user by utilizing the existing wireless network and matching with WiFi hotspot information and a positioning algorithm. The working principle of WiFi positioning is that a terminal opens WiFi, scans WiFi hotspot information in the range of the terminal, sends the scanning result to a positioning server and sends a WiFi positioning request; and the positioning server determines positioning information through a positioning algorithm according to the unique MAC (media Access control) address of the WiFi of the terminal. It should be noted that WiFi positioning consumes data traffic of the terminal, and can position indoor and outdoor locations.
The GPS positioning is a positioning mode for determining position information by a global positioning system, and its working principle is that a GPS receiver in a terminal obtains current positions and time stamps of different satellites, and the position information of the terminal can be obtained by calculation. It should be noted that the GPS positioning has large power consumption for the terminal and high positioning accuracy, and can only position an outdoor position and cannot position an indoor position.
The base station positioning is a positioning mode for acquiring the position information of a terminal user through a communication network of an operator, and the working principle of the positioning mode is that a terminal measures downlink pilot signals of different base stations to obtain the arrival time or arrival time difference of the downlink pilot signals of the different base stations, and the position information of the terminal can be obtained through calculation by combining the coordinates of the base stations. It should be noted that the base station has low positioning accuracy, and can position indoor and outdoor locations.
In this embodiment, the positioning mode applied by the other terminal is obtained by obtaining the positioning information of the other terminal.
And S120, determining the positioning mode of the current terminal according to the positioning information.
When only one other terminal is in the preset range, only one positioning information is acquired, and only one positioning mode is included, so that the positioning mode is used as the positioning mode of the current terminal. When there are a plurality of other terminals within the preset range, there are a plurality of positioning information obtained, and there may be only one or a plurality of positioning modes corresponding to the plurality of positioning information, and when there is only one positioning mode, the positioning mode is used as the positioning mode of the current terminal. When there are a plurality of positioning modes, one positioning mode can be selected as the positioning mode of the current terminal according to a preset rule. In an implementation manner, when there are a plurality of positioning modes, the number of terminals using each positioning mode within a preset range may be counted, and the positioning mode with the largest number of terminals may be used as the positioning mode of the current terminal.
In this embodiment, different positioning modes have different advantages, so that the method is suitable for different environments and has different power consumption for the terminal. The positioning mode of the current terminal is determined by acquiring the positioning modes contained in the positioning information of other terminals in 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 is reduced.
According to the technical scheme, the positioning mode of the current terminal is determined by acquiring the positioning modes contained in the positioning information of other terminals, the technical problems that a user subjectively selects the positioning mode, the positioning cannot be rapidly and accurately performed, and the power consumption of the intelligent terminal is increased are solved, the rapid and accurate positioning is realized, and the technical effect of reducing the power consumption of the terminal is achieved.
On the basis of the foregoing embodiment, after determining the positioning mode of the current terminal according to the positioning information, the method may further include:
automatically starting the positioning mode of the current terminal;
or prompting the user to start the positioning mode of the current terminal.
For example, 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 may be base station positioning, and the current terminal may automatically start the base station positioning mode to perform positioning and display the positioning result; or the current terminal carries out the prompt of the positioning mode on the user through a voice mode or a word of 'please start the positioning mode of the base station' displayed on a screen.
The determined positioning mode is directly started or the user is prompted to start, so that the problems that the user subjectively selects the positioning mode, time is wasted, and power consumption of the terminal is increased are solved, and quick positioning is realized.
Example two
Fig. 2 is a flowchart of a method for determining a positioning mode according to a second embodiment of the present invention, where this embodiment further optimizes determining a positioning mode of a current terminal according to positioning information on the basis of the first embodiment of the present invention as follows: when the obtained positioning modes are multiple, taking the multiple positioning modes as candidate positioning modes; respectively acquiring positioning data of a terminal which is positioned by using the candidate positioning mode; and determining an optimal positioning mode as the positioning mode of the current terminal according to the positioning data. Correspondingly, the method specifically comprises the following steps:
s210, positioning information of other terminals within a preset range from the current terminal position is obtained, and the positioning information comprises a positioning mode.
And S220, when the acquired positioning modes are multiple, taking the multiple positioning modes as candidate positioning modes.
For example, when the positioning modes included in the positioning information from more than one other terminal are different from each other, for example, the positioning mode acquired from one other terminal may be base station positioning, and the positioning modes acquired from the other two other terminals may be GPS positioning, and then the different positioning modes are determined as candidate positioning modes.
And S230, respectively acquiring the positioning data of the terminal positioned by using the candidate positioning mode.
The positioning data refers to relevant data of a terminal positioning mode, and specifically, the positioning data may include at least one item of information data of positioning time, positioning accuracy, or a motion trajectory after the terminal is positioned. The positioning time refers to a time point when the terminal starts a positioning mode to perform positioning; positioning accuracy refers to the proximity of positioning information such as positioning coordinates to the actual position of the user; the motion trail after the terminal is positioned refers to the motion trail of the terminal which is recorded after the terminal is positioned, and the actual motion trail and the motion distance of the user can be identified according to the motion trail. Acquiring the positioning data of each candidate positioning mode facilitates comparative analysis.
And S240, determining 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, candidate positioning modes are determined according to positioning modes in the acquired positioning information, and after analyzing and comparing the positioning data of each positioning mode, the most preferable positioning mode is selected from the candidate positioning modes as the positioning mode of the current terminal, thereby avoiding that a user selects a positioning mode in a subjective trial manner.
Optionally, a positioning mode corresponding to the positioning data that meets at least one of the following conditions is taken as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
The time difference between the positioning time and the positioning time of the current terminal is smaller than the preset time, which means that the time interval between the positioning time in the positioning data acquired by the current terminal and the positioning time of the current terminal is within a preset time range, for example, when the preset time is 30 minutes and the current time is 8:30 a.m., the positioning time of the positioning mode meeting the requirement should be between 8:00 a.m. and 8:30 a.m., the closer the positioning time of other terminals is to the positioning time of the current terminal, the higher the selection accuracy of the positioning mode is.
The positioning accuracy higher than the preset accuracy means that when the current terminal determines the optimal positioning mode among the candidate positioning modes, 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 continuously used as the candidate positioning mode, otherwise, the candidate positioning mode is discarded.
And if no movement exceeding the preset distance in the preset time period after positioning refers to identifying the movement track data in the positioning data acquired by the current terminal, and judging the movement distance of other terminal users after positioning. For example, when the movement distance of the other terminal user after positioning exceeds a preset distance, for example, the preset distance may be 100m or 200m, the positioning mode may be not suitable for the current terminal, and for example, in a mall, the positioning data of the positioning mode of the other terminal obtained by the current terminal shows that the movement track of the other terminal user after positioning is from outdoor to indoor, and the positioning mode is not suitable for the current terminal.
According to the technical scheme of the embodiment, the candidate positioning modes are determined according to the positioning modes in the acquired positioning information, and after the positioning data of each positioning mode is analyzed and compared, the most preferable positioning mode is selected from the candidate positioning modes as the current positioning mode, so that the positioning mode is prevented from being selected by a user in a subjective trial manner, the quick positioning is realized, and the terminal power consumption is reduced.
EXAMPLE III
Fig. 3 is a flowchart of a method for determining a positioning mode according to a third embodiment of the present invention, where in this embodiment, the positioning mode that is determined according to the positioning information is further optimized to be that the positioning information further includes positioning data related to the positioning mode; and determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal. Correspondingly, the method specifically comprises the following steps:
s310, positioning information of other terminals within a preset range from the current terminal position is obtained, and the positioning information comprises a positioning mode and positioning data related to the positioning mode.
Illustratively, after each terminal is located, the location information of the terminal can be shared in a bluetooth broadcast or information sharing manner, so that other terminals can obtain the location information conveniently. The current terminal can acquire other positioning data shared by other terminals while acquiring the positioning mode in the positioning information.
It should be noted that, if the other terminals are authorized terminals, the shared positioning information may include corresponding positioning data, such as positioning coordinates; when the current terminal is also an authorized terminal, the positioning data of other terminals can be directly used to determine the positioning mode.
For example, when the terminal is authorized, positioning data may be added to the broadcast information, and when the current terminal searches for the broadcast, it is found that the positioning time in the broadcast information is short, the accuracy is low, and there is no long-distance motion track, and then the positioning data in the broadcast may be directly used to determine the positioning mode of the current terminal, which may reduce the positioning frequency of the terminal to some extent.
S320, determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal.
In this embodiment, an optimal positioning mode is determined according to a positioning mode and positioning data that are simultaneously obtained from the positioning information, and the optimal positioning mode is used as a positioning mode of the current terminal.
Optionally, a positioning mode corresponding to the positioning data that meets at least one of the following conditions is taken as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
According to the technical scheme, the optimal positioning mode is determined according to the positioning data through the positioning mode and the positioning data which are simultaneously acquired from the positioning information, and the optimal positioning mode is used as the positioning mode of the current terminal, so that the problems that a user subjectively selects the positioning mode, time is wasted, power consumption of the terminal is increased, and rapid positioning is realized.
Example four
Fig. 4 is a flowchart of a method for determining a positioning mode according to a fourth embodiment of the present invention, which is a preferred example. Correspondingly, the method specifically comprises the following steps:
s410, broadcasting positioning information in real time or at regular time from a terminal within a preset range of the current terminal, wherein the positioning information comprises a positioning mode, positioning time, positioning precision and a positioned motion track.
S420, searching and acquiring the terminal in the preset range through the Bluetooth, and acquiring the positioning information broadcasted by the terminal in the preset range.
And S430, when the acquired positioning modes are multiple, determining the optimal positioning mode as the positioning mode of the current terminal.
Specifically, a positioning mode satisfying at least one of the following conditions is taken as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
And S440, positioning the current terminal by adopting the optimal positioning mode. Specifically, the positioning mode of the current terminal is automatically started; or prompting the user to start the positioning mode of the current terminal.
S450, after the positioning is successful, the positioning information of the current terminal is shared.
For example, bluetooth broadcasts location information of the current terminal.
As shown in fig. 5, which is an application scenario diagram of the method for determining a positioning mode provided in this embodiment, the current terminal 510 can acquire positioning information of other terminals 520, 530, and 540 through bluetooth, information sharing, or active acquisition. The current terminal 510 and the other terminals 520, 530 and 540 are terminals with positioning functions, and may be, for example, smart phones, tablet computers, smart wearable devices, or the like.
Illustratively, the other terminals 520, 530 and 540 have a function of sharing the positioning information, for example, a function of bluetooth broadcasting or information sharing may be provided. The user A of the current terminal 510 starts a terminal positioning function, the current terminal 510 acquires positioning information of other terminals 520, 530 and 540 within a preset range, the positioning information respectively comprises a positioning mode and positioning data, exemplarily, the positioning mode of the terminal 520 is WiFi positioning, the positioning mode of the terminal 530 is GPS positioning, the positioning mode of the terminal 540 is base station positioning, and the three positioning modes are determined as candidate positioning modes. And comparing and analyzing the positioning data of the three candidate positioning modes, and determining the positioning mode as an optimal positioning mode when one of the candidate positioning modes meets at least one condition that the time difference between the positioning time and the positioning time of the current terminal is less than a preset time, the positioning precision is higher than the preset precision, and no movement exceeding a preset distance exists within a preset time period after positioning, wherein the optimal positioning mode can be GPS positioning.
The optimal positioning mode, namely the GPS positioning, is the positioning mode of the current terminal 510, and the current terminal 510 automatically starts the GPS positioning to position the current terminal; or the current terminal 510 prompts the current terminal user a, for example, a prompt word of "please turn on the GPS positioning mode" may be displayed on the screen of the current terminal 510. After the current terminal 510 is successfully located, the current location information is shared in a bluetooth or information sharing manner.
According to the technical scheme of the embodiment, the optimal positioning mode is selected from other terminal positioning models, the optimal positioning mode is used as the current positioning mode of the terminal, the problems that a user subjectively selects the positioning mode, time is wasted, and power consumption of the terminal is increased are solved, and quick positioning is realized.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a device for determining a positioning mode according to a fifth embodiment of the present invention, where the device is suitable for executing a method for determining a positioning mode according to the fifth embodiment of the present invention, and the device specifically includes:
a positioning information obtaining module 610, configured to obtain positioning information of other terminals within a preset range from a current terminal position, where the positioning information includes a positioning mode;
and a positioning mode determining module 620, configured to determine a positioning mode of the current terminal according to the positioning information.
Optionally, the positioning mode determining module 620 is specifically configured to:
when the obtained positioning modes are multiple, taking the multiple positioning modes as candidate positioning modes; respectively acquiring positioning data of a terminal which is positioned by using the candidate positioning mode; determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal;
optionally, the positioning mode determining module 620 is specifically configured to:
the positioning information also comprises positioning data related to the positioning mode; and determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal.
Optionally, the positioning mode determining module 620 is specifically configured to:
taking a positioning mode corresponding to the positioning data meeting at least one of the following conditions as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
Optionally, the apparatus further comprises:
a positioning mode starting module 630, configured to automatically start the positioning mode of the current terminal after the positioning mode determining module 620 determines the positioning mode of the current terminal according to the positioning information; or after the positioning mode of the current terminal is determined according to the positioning information, prompting a user to start the positioning mode of the current terminal.
Optionally, the positioning mode is any one of the following:
WiFi positioning, global positioning system GPS positioning and base station positioning.
The device for determining the positioning mode provided by the embodiment of the invention can execute the method for determining the positioning mode provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (6)
1. A method for determining a positioning mode, comprising:
acquiring positioning information of other terminals within a preset range from the current terminal position, wherein the positioning information comprises a positioning mode;
determining a 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 comprises:
when the obtained positioning modes are multiple, taking the multiple positioning modes as candidate positioning modes;
respectively acquiring positioning data of the terminal which is positioned by using the candidate positioning mode;
determining an optimal positioning mode as the positioning mode of the current terminal according to the positioning data; or,
the positioning information also comprises positioning data related to the positioning mode;
determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal;
wherein determining an optimal positioning pattern from the positioning data comprises:
taking a positioning mode corresponding to the positioning data meeting at least one of the following conditions as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
2. The method of claim 1, wherein after determining the positioning mode of the current terminal according to the positioning information, further comprising:
automatically starting the positioning mode of the current terminal;
or prompting a user to start the positioning mode of the current terminal.
3. The method according to claim 1, wherein the positioning mode is any one of:
WiFi positioning, global positioning system GPS positioning and base station positioning.
4. An apparatus for determining a positioning mode, comprising:
the positioning information acquisition module is used for acquiring positioning information of other terminals within a preset range from the current terminal position, and the positioning information comprises a positioning mode;
a positioning mode determining module, configured to determine a positioning mode of the current terminal according to the positioning information; wherein,
the positioning mode determining module is specifically configured to, when a plurality of obtained positioning modes are available, take the plurality of positioning modes as candidate positioning modes;
respectively acquiring positioning data of the terminal which is positioned by using the candidate positioning mode;
determining an optimal positioning mode as the positioning mode of the current terminal according to the positioning data; or,
the positioning information also comprises positioning data related to the positioning mode;
determining an optimal positioning mode according to the positioning data, and taking the optimal positioning mode as the positioning mode of the current terminal;
wherein the positioning mode determination module is specifically configured to:
taking a positioning mode corresponding to the positioning data meeting at least one of the following conditions as an 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 precision is higher than the preset precision, and no movement exceeding the preset distance exists in the preset time period after positioning.
5. The apparatus of claim 4, further comprising:
a positioning mode starting module, configured to automatically start 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 prompting a user to start the positioning mode of the current terminal.
6. The apparatus of claim 4, wherein the positioning mode is any one of:
WiFi positioning, global positioning system GPS positioning and base station positioning.
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 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 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 positioning mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375593B (en) |
Families Citing this family (4)
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 | 中兴通讯股份有限公司 | Positioning mode acquisition method, electronic equipment and storage medium |
Citations (6)
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 | 东莞酷派软件技术有限公司 | Assistant positioning method and Assistant 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)
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 |
-
2016
- 2016-09-29 CN CN201610872043.8A patent/CN106375593B/en active Active
Patent Citations (6)
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 | 东莞酷派软件技术有限公司 | Assistant positioning method and Assistant 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 |
---|---|---|
CN108111971B (en) | Positioning method, positioning device, storage medium and mobile terminal | |
US9549309B2 (en) | System and method providing location based wireless resource identification | |
US8040219B2 (en) | System and method for in-building location determination | |
EP2676501B1 (en) | Methods, apparatuses and computer program products for providing a private and efficient geolocation system | |
CN106375593B (en) | Method and device for determining positioning mode | |
EP2668812B1 (en) | Intelligent management of location sensor | |
US8694027B2 (en) | Determining a position of a mobile device | |
US10088599B2 (en) | Systems and methods for weather forecasting | |
US9143894B2 (en) | Method and system for proximity and context based deduction of position for a GPS enable computing device | |
EP3036557B1 (en) | System and method for selecting a wi-fi access point for position determination | |
US20120058782A1 (en) | Method and apparatus for generating and using location information | |
US10194273B2 (en) | Positioning information processing method and apparatus | |
KR20120023777A (en) | Space and time based device customization | |
CN106664296B (en) | Seamless peer-to-peer internet connectivity | |
CN110012435B (en) | Pseudo base station positioning method, terminal and computer readable storage medium | |
CN105530684B (en) | Network access method, device and system | |
US20210258730A1 (en) | Information pushing method and terminal device | |
CN103957514A (en) | Method and device for prompting user | |
CN102932735A (en) | Dynamic inquiry method and system based on location based services | |
CN112752214B (en) | Positioning method, positioning device, storage medium and wireless communication system | |
CN105072169A (en) | Intelligent information display system of culture exhibition hall | |
CN108476487B (en) | Electronic device and server hosting location service | |
CN113242517B (en) | Positioning control method, storage medium and equipment | |
EP1760611A1 (en) | System and method providing location based wireless resource identification | |
WO2013179473A1 (en) | Communication device, communication control program, and communication control method |
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 |