CN107450089B - Position determination method and electronic equipment - Google Patents

Position determination method and electronic equipment Download PDF

Info

Publication number
CN107450089B
CN107450089B CN201710703159.3A CN201710703159A CN107450089B CN 107450089 B CN107450089 B CN 107450089B CN 201710703159 A CN201710703159 A CN 201710703159A CN 107450089 B CN107450089 B CN 107450089B
Authority
CN
China
Prior art keywords
time
position data
current
historical
base station
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
CN201710703159.3A
Other languages
Chinese (zh)
Other versions
CN107450089A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710703159.3A priority Critical patent/CN107450089B/en
Publication of CN107450089A publication Critical patent/CN107450089A/en
Application granted granted Critical
Publication of CN107450089B publication Critical patent/CN107450089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/48Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0252Radio frequency fingerprinting

Abstract

The invention discloses a position determining method and electronic equipment, wherein a historical position database is established, and the historical position database comprises the following steps: when the position positioning device is not started, the current base station sequence is obtained, the current base station sequence is matched with the position data in the historical position database to obtain a matching result, and the current position data is determined according to the matching result. According to the scheme, the historical position database is established, and when the position positioning device is not started, the current position corresponding to the current base station sequence is determined according to the historical position data stored in the historical position database, so that the problem that the geographic position of a user cannot be obtained due to the fact that the user does not want to start a GPS sensor for a long time or GPS signals are unstable in the prior art is solved.

Description

Position determination method and electronic equipment
Technical Field
The present invention relates to the field of control, and in particular, to a position determining method and an electronic device.
Background
Currently, location-based mobile service programs on electronic devices, such as: the GPS sensor can accurately acquire the position of the user holding the electronic equipment.
However, many users do not want to turn on the GPS sensor for a long time for privacy or power saving reasons, or the acquisition of the user's geographical location is affected because the GPS signal is unstable.
Disclosure of Invention
In view of this, the present invention provides a position determining method and an electronic device, so as to solve the problem that in the prior art, a user unwinds to turn on a GPS sensor for a long time or the GPS signal is unstable, which may affect the acquisition of the geographic position of the user, and the specific scheme is as follows:
a position determination method is applied to electronic equipment and comprises the following steps:
establishing a historical location database, the historical location database comprising: position data located by a position locating device, the position data comprising: position data and base station sequences;
when the position positioning device is not started, acquiring a current base station sequence;
matching the current base station sequence with position data in the historical position database to obtain a matching result;
and determining the current position data according to the matching result.
Further, the historical location database further includes: time information, the method further comprising:
drawing a time and position curve graph according to the historical position database;
determining first position data of a user holding the electronic equipment, wherein the position of the user is greater than a preset probability in a first time period according to the time-position curve graph;
when the position positioning device is not started, acquiring current time information;
and determining current first position data corresponding to a first time period in which the current time information is located based on the time-position curve graph.
Further, determining the current position data according to the matching result includes:
determining whether the position data in the matching result is consistent with the current first position data;
if so, determining the current first position data as current position data;
otherwise, determining the position data in the matching result as the current position data.
Further, determining the location of the user holding the electronic device at a predetermined time before the current time includes:
determining position data of a first moment and a second moment, wherein the first moment is as follows: a time, before and adjacent to the predetermined time, at which the position-locating device is turned on, the second time being: a time, after and adjacent to the predetermined time, at which the position-locating device is turned on;
and determining theoretical position data of the preset time according to the time intervals of the first time, the preset time and the second time and the position data of the first time and the second time.
Further, the position locating device includes: global positioning system GPS, and/or, wireless network WIFI,
when the position-locating device comprises a global positioning system, GPS, the position data comprises: a GPS tag;
when the position-locating device includes a specified wireless network WIFI, the position data includes: a sequence of WIFI locations.
An electronic device, comprising: a position location device, a memory, and a processor, wherein:
the position locating device is used for locating position data, and the position data comprises: position data and base station sequences;
the memory is configured to store a historical location database, the historical location database comprising: position data located by the position locating device;
the processor is used for establishing a historical position database, storing the historical position database in a memory, acquiring a current base station sequence when the position positioning device is not started, matching the current base station sequence with position data in the historical position database to obtain a matching result, and determining the current position data according to the matching result.
Further, the historical location database further includes: time information, the processor further configured to:
and drawing a time and position curve graph according to the historical position database, determining first position data of the position of the user holding the electronic equipment in a first time period greater than a preset probability according to the time and position curve graph, acquiring current time information when the position positioning device is not started, and determining current first position data corresponding to the first time period in which the current time information is positioned based on the time and position curve graph.
Further, the determining, by the processor, current location data according to the matching result includes:
and the processor determines whether the position data in the matching result is consistent with the current first position data, if so, determines the current first position data as the current position data, and otherwise, determines the position data in the matching result as the current position data.
Further, the processor determining that the user holding the electronic device is located at a predetermined time before the current time, includes:
the processor determines position data of a first moment and a second moment, wherein the first moment is as follows: a time, before and adjacent to the predetermined time, at which the position-locating device is turned on, the second time being: and determining theoretical position data of the preset time according to the time intervals of the first time, the preset time and the second time and the position data of the first time and the second time.
Further, the position locating device includes: global positioning system GPS, and/or, wireless network WIFI,
when the position-locating device comprises a global positioning system, GPS, the position data comprises: a GPS tag;
when the position-locating device includes a specified wireless network WIFI, the position data includes: a sequence of WIFI locations.
According to the technical scheme, the position determining method and the electronic device disclosed by the application establish a historical position database, wherein the historical position database comprises the following steps: when the position positioning device is not started, the current base station sequence is obtained, the current base station sequence is matched with the position data in the historical position database to obtain a matching result, and the current position data is determined according to the matching result. According to the scheme, the historical position database is established, and when the position positioning device is not started, the current position corresponding to the current base station sequence is determined according to the historical position data stored in the historical position database, so that the problem that the geographic position of a user cannot be obtained due to the fact that the user does not want to start a GPS sensor for a long time or GPS signals are unstable in the prior art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a position determination method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for determining a position according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for determining a position according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a position determining method, which is applied to electronic equipment, and the flow chart is shown in figure 1, and comprises the following steps:
step S11, establishing a historical position database, wherein the historical position database comprises: position data and base station sequences positioned by the position positioning device;
the historical position database is used for storing the position data positioned by the position positioning device and the base station sequence so as to determine the position data of the position positioning device when the user does not open the position positioning device according to the historical position data.
The position data is a position located by the position locating device, for example: when the position-locating device is a GPS, the position data is a GPS tag, i.e. the geographical position data located by the GPS, such as: specific latitude and longitude or street, etc.; when the position positioning device is a designated wireless network WIFI, the position data is a WIFI position sequence, and the position of the WIFI is determined through the WIFI position sequence, so that the position of a user can be determined. Preferably, the position locating device may be: GPS and specified WIFI.
And the base station sequence refers to the sequence of the base station by the electronic device, such as: the mobile phone obtains the base station sequence, and the base station sequence can determine which base station the user is in, so as to determine the position of the user.
When the historical position database has the position data determined by GPS and/or WIFI and the base station sequence determined by the electronic device,
step S12, when the position locating device is not opened, the current base station sequence is obtained;
in the actual application process, when the position positioning device is not started, the position data determined by the GPS and/or the WIFI cannot be acquired. At this time, no matter whether the position locating device is turned on or not, as long as the electronic device, for example: if the handset is in the on state, the base station sequence can be determined.
Step S13, matching the current base station sequence with the position data in the historical position database to obtain a matching result;
after determining the base station sequence where the user is currently located, querying a historical location database, where the historical location database may be a table, which is a table where location data corresponds to the base station sequence, that is, a base station sequence corresponding to a specific location where the user has been through.
At this time, a historical position database is inquired, position data corresponding to the base station sequence where the user is located currently is searched in the historical position database, and the position data corresponding to the base station sequence is the current position data.
The position data corresponding to the base station sequence may be multiple, for example: under a certain base station, the area covered by the base station is wide, and the corresponding position data may be multiple, at this time, the inquired multiple position data corresponding to the base station sequence is determined as a position range, and the position range is determined as the current position data corresponding to the base station sequence, that is, the range where the current user is located.
And step S14, determining the current position data according to the matching result.
In the location determining method disclosed in this embodiment, a historical location database is established, where the historical location database includes: when the position positioning device is not started, the current base station sequence is obtained, the current base station sequence is matched with the position data in the historical position database to obtain a matching result, and the current position data is determined according to the matching result. According to the scheme, the historical position database is established, and when the position positioning device is not started, the current position corresponding to the current base station sequence is determined according to the historical position data stored in the historical position database, so that the problem that the geographic position of a user cannot be obtained due to the fact that the user does not want to start a GPS sensor for a long time or GPS signals are unstable in the prior art is solved.
The embodiment discloses a position determining method applied to an electronic device, and a flowchart of the method is shown in fig. 2, and includes:
step S21, establishing a historical position database, wherein the historical position database comprises: position data, base station sequence and time information positioned by the position positioning device;
step S22, drawing a time and position curve graph according to the historical position database;
the time information is: when the user holding the electronic device is at a specific location, the time of the user is, for example: in the historical position database, when a user determines a specific position where the user is located through a position positioning device, and when the position data is recorded, the time at the moment, namely the time when the user is at the position, is recorded at the same time; the following steps can be also included: when a user is at a base station, the time of that day.
The time-position curve diagram specifically includes: plotted in days, time on the abscissa and position on the ordinate, and the position may represent: the position data may be: the base station sequence may also be: the position data and the base station sequence are used for obtaining the motion trail of the user every day, so that the motion rule of the user in a day unit is determined. For example: on the weekday, the user goes from home to the unit at 7 am and arrives at 8 am, and goes home from the unit at 6 pm and arrives at 7 am every day. And determining the position of the user at each moment in the working day according to the data.
Step S23, determining first position data of the position of the user holding the electronic equipment in the first time period according to the time-position graph, wherein the position data is larger than a preset probability;
the first position data that the position of the user in the first time period is greater than the predetermined probability, that is, the motion rule with the greater probability of the user can be determined according to the time-position graph, so that the probability of the user in a certain position at a certain moment can be determined to be greater.
For example: taking the above example as an example, at 3 pm on a weekday, the probability of the user in a unit is large; and 8 o' clock at night, the probability that the user is at home is higher.
And it does not meet the situation of larger probability, can be: when the special condition occurs, the user is not in the unit at 3 pm on a business trip day or a holiday, so that the probability of the special condition occurring to the user can be calculated in the historical position database based on the possible special condition, thereby determining the predetermined probability and improving the accuracy of position acquisition.
In addition, the accuracy of determining the position of the user according to the time-position graph is related to the working property of the user or the daily action track of the user. For example: if the user is a college student, the time position graph may be in week units, because the class time and the classroom of each day may be different each week, and thus week units are required.
Further, the unit of hour, or month, or several days may also be used, which is only related to the regularity of the user action track, and is not limited herein.
Step S24, when the position positioning device is not opened, current time information is obtained;
step S25, based on the time-position graph, determines current first position data corresponding to the first time period in which the current time information is located.
In the location determining method disclosed in this embodiment, a historical location database is established, where the historical location database includes: when the position positioning device is not started, the current base station sequence is obtained, the current base station sequence is matched with the position data in the historical position database to obtain a matching result, and the current position data is determined according to the matching result. According to the scheme, the historical position database is established, and when the position positioning device is not started, the current position corresponding to the current base station sequence is determined according to the historical position data stored in the historical position database, so that the problem that the geographic position of a user cannot be obtained due to the fact that the user does not want to start a GPS sensor for a long time or GPS signals are unstable in the prior art is solved.
The embodiment discloses a position determining method applied to an electronic device, and a flowchart of the method is shown in fig. 3, and includes:
step S31, establishing a historical position database, wherein the historical position database comprises: position data, base station sequence and time information positioned by the position positioning device;
step S32, drawing a time and position curve graph according to the historical position database;
step S33, determining first position data of the position of the user holding the electronic equipment in the first time period according to the time-position graph, wherein the position data is larger than a preset probability;
step S34, when the position positioning device is not started, obtaining the current time information and the current base station sequence;
step S35, determining current first position data corresponding to a first time period in which current time information is located based on the time-position curve graph, and matching the current base station sequence with the position data in the historical position database to obtain a matching result;
step S36, determining whether the position data in the matching result is consistent with the current first position data;
when the current first location data is determined by the time information and the location data in the matching result is determined by the base station sequence, the current first location data and the location data in the matching result have a high probability of being consistent, and the two different situations may be: late or early, etc.
For example: the position determined by the base station where the user is currently located is a certain subway station at 8 th in the morning and 15 th in the morning, and the user usually reaches the unit at 8 th in the morning and 15 th in the morning according to the time-position curve diagram, and at the moment, the two are inconsistent.
In this case, the position data in the criticizing result is determined as the current position data, subject to the position data in the matching result. Therefore, the position data in the matching result is obtained through the base station sequence, and the base station sequence is the base station sequence of the base station where the electronic equipment held by the user is located currently, and the time effectiveness is achieved; however, the current first position data determined from the time-position graph is obtained from past experience, which is not time-efficient.
Further, in the above case, the base station sequence and the time information corresponding to the base station sequence need to be stored in the historical location database, so as to calculate the probability that the user may be late.
Step S37, if yes, determining the current first position data as the current position data;
and step S38, otherwise, determining the position data in the matching result as the current position data.
Further, when it is required to determine a position of the user at a certain predetermined time before the current time, the method may specifically be:
determining position data of a first moment and a second moment, wherein the first moment is as follows: before and adjacent to the predetermined time, the time at which the position-locating device is in the opened state, the second time being: a time after the predetermined time and adjacent to the predetermined time at which the position locating device is in the opened state; and determining theoretical position data of the preset time according to the time intervals of the first time, the preset time and the second time and the position data of the first time and the second time.
The position positioning device at the first time and the second time is in an open state, for example: the first time is located at (x)1,y1) Second timeThe position of the etching is (x)2,y2) And the position of the user at the preset time needing to be determined, wherein the preset time is a time between a first time and a second time, the first time is a time which is before the preset time and is adjacent to the preset time and has accurate position data, and the second time is a time which is after the preset time and is adjacent to the preset time and has accurate position data.
Then, determining a linear distance between two points, that is, a linear distance between a position of the user at the first time and a position of the user at the second time, and at the same time, determining a time interval between the first time, the predetermined time and the second time, determining an interval proportion, and applying the same proportion to the linear distance according to the interval proportion to determine the position of the predetermined time possibly located, or: the predetermined time is when the user is within a certain range of the location.
In the location determining method disclosed in this embodiment, a historical location database is established, where the historical location database includes: when the position positioning device is not started, the current base station sequence is obtained, the current base station sequence is matched with the position data in the historical position database to obtain a matching result, and the current position data is determined according to the matching result. According to the scheme, the historical position database is established, and when the position positioning device is not started, the current position corresponding to the current base station sequence is determined according to the historical position data stored in the historical position database, so that the problem that the geographic position of a user cannot be obtained due to the fact that the user does not want to start a GPS sensor for a long time or GPS signals are unstable in the prior art is solved.
The embodiment discloses an electronic device, a schematic structural diagram of which is shown in fig. 4, and the electronic device includes:
a position locating device 41, a memory 42 and a processor 43.
The position locating device 41 is used for locating the position data.
The memory 42 is used to store a historical location database, which includes: position data and base station sequence located by the position locating device 41.
The processor 43 is configured to establish a historical position database, store the historical position database in the memory 42, acquire the current base station sequence when the position locating device 41 is not turned on, match the current base station sequence with the position data in the historical position database to obtain a matching result, and determine the current position data according to the matching result.
The historical position database is used for storing the position data positioned by the position positioning device and the base station sequence so as to determine the position data of the position positioning device when the user does not open the position positioning device according to the historical position data.
The position data is a position located by the position locating device, for example: when the position-locating device is a GPS, the position data is a GPS tag, i.e. the geographical position data located by the GPS, such as: specific latitude and longitude or street, etc.; when the position positioning device is a designated wireless network WIFI, the position data is a WIFI position sequence, and the position of the WIFI is determined through the WIFI position sequence, so that the position of a user can be determined. Preferably, the position locating device may be: GPS and specified WIFI.
And the base station sequence refers to the sequence of the base station by the electronic device, such as: the mobile phone obtains the base station sequence, and the base station sequence can determine which base station the user is in, so as to determine the position of the user.
When the historical position database has the position data determined by GPS and/or WIFI and the base station sequence determined by the electronic device,
in the actual application process, when the position positioning device is not started, the position data determined by the GPS and/or the WIFI cannot be acquired. At this time, no matter whether the position locating device is turned on or not, as long as the electronic device, for example: if the handset is in the on state, the base station sequence can be determined.
After determining the base station sequence where the user is currently located, querying a historical location database, where the historical location database may be a table, which is a table where location data corresponds to the base station sequence, that is, a base station sequence corresponding to a specific location where the user has been through.
At this time, a historical position database is inquired, position data corresponding to the base station sequence where the user is located currently is searched in the historical position database, and the position data corresponding to the base station sequence is the current position data.
The position data corresponding to the base station sequence may be multiple, for example: under a certain base station, the area covered by the base station is wide, and the corresponding position data may be multiple, at this time, the inquired multiple position data corresponding to the base station sequence is determined as a position range, and the position range is determined as the current position data corresponding to the base station sequence, that is, the range where the current user is located.
Further, the historical location database further includes: time information, then processor 43 is further configured to:
the method comprises the steps of drawing a time-position curve graph according to a historical position database, determining first position data, with the position of a user holding the electronic equipment in a first time period being greater than a preset probability, according to the time-position curve graph, obtaining current time information when a position positioning device is not started, and determining current first position data corresponding to the first time period in which the current time information is located based on the time-position curve graph.
The time information is: when the user holding the electronic device is at a specific location, the time of the user is, for example: in the historical position database, when a user determines a specific position where the user is located through a position positioning device, and when the position data is recorded, the time at the moment, namely the time when the user is at the position, is recorded at the same time; the following steps can be also included: when a user is at a base station, the time of that day.
The time-position curve diagram specifically includes: plotted in days, time on the abscissa and position on the ordinate, and the position may represent: the position data may be: the base station sequence may also be: the position data and the base station sequence are used for obtaining the motion trail of the user every day, so that the motion rule of the user in a day unit is determined. For example: on the weekday, the user goes from home to the unit at 7 am and arrives at 8 am, and goes home from the unit at 6 pm and arrives at 7 am every day. And determining the position of the user at each moment in the working day according to the data.
The first position data that the position of the user in the first time period is greater than the predetermined probability, that is, the motion rule with the greater probability of the user can be determined according to the time-position graph, so that the probability of the user in a certain position at a certain moment can be determined to be greater.
For example: taking the above example as an example, at 3 pm on a weekday, the probability of the user in a unit is large; and 8 o' clock at night, the probability that the user is at home is higher.
And it does not meet the situation of larger probability, can be: when the special condition occurs, the user is not in the unit at 3 pm on a business trip day or a holiday, so that the probability of the special condition occurring to the user can be calculated in the historical position database based on the possible special condition, thereby determining the predetermined probability and improving the accuracy of position acquisition.
In addition, the accuracy of determining the position of the user according to the time-position graph is related to the working property of the user or the daily action track of the user. For example: if the user is a college student, the time position graph may be in week units, because the class time and the classroom of each day may be different each week, and thus week units are required.
Further, the unit of hour, or month, or several days may also be used, which is only related to the regularity of the user action track, and is not limited herein.
Further, the processor 43 determines the current position data according to the matching result, including:
the processor 43 determines whether the position data in the matching result is consistent with the current first position data, if so, determines the current first position data as the current position data, otherwise, determines the position data in the matching result as the current position data.
When the current first location data is determined by the time information and the location data in the matching result is determined by the base station sequence, the current first location data and the location data in the matching result have a high probability of being consistent, and the two different situations may be: late or early, etc.
For example: the position determined by the base station where the user is currently located is a certain subway station at 8 th in the morning and 15 th in the morning, and the user usually reaches the unit at 8 th in the morning and 15 th in the morning according to the time-position curve diagram, and at the moment, the two are inconsistent.
In this case, the position data in the criticizing result is determined as the current position data, subject to the position data in the matching result. Therefore, the position data in the matching result is obtained through the base station sequence, and the base station sequence is the base station sequence of the base station where the electronic equipment held by the user is located currently, and the time effectiveness is achieved; however, the current first position data determined from the time-position graph is obtained from past experience, which is not time-efficient.
Further, in the above case, the base station sequence and the time information corresponding to the base station sequence need to be stored in the historical location database, so as to calculate the probability that the user may be late.
Further, when it is required to determine a position of the user at a certain predetermined time before the current time, the method may specifically be:
determining position data of a first moment and a second moment, wherein the first moment is as follows: before and adjacent to the predetermined time, the time at which the position-locating device is in the opened state, the second time being: a time after the predetermined time and adjacent to the predetermined time at which the position locating device is in the opened state; and determining theoretical position data of the preset time according to the time intervals of the first time, the preset time and the second time and the position data of the first time and the second time.
The position positioning device at the first time and the second time is in an open state, for example: the first time is located at (x)1,y1) The second time is set to (x)2,y2) And the position of the user at the preset time needing to be determined, wherein the preset time is the time between the first time and the second time, and the first time is before and corresponding to the preset timeThe second time is the time having the accurate position data after the predetermined time and adjacent to the predetermined time.
Then, determining a linear distance between two points, that is, a linear distance between a position of the user at the first time and a position of the user at the second time, and at the same time, determining a time interval between the first time, the predetermined time and the second time, determining an interval proportion, and applying the same proportion to the linear distance according to the interval proportion to determine the position of the predetermined time possibly located, or: the predetermined time is when the user is within a certain range of the location.
In the electronic device disclosed in this embodiment, a historical location database is established, where the historical location database includes: when the position positioning device is not started, the current base station sequence is obtained, the current base station sequence is matched with the position data in the historical position database to obtain a matching result, and the current position data is determined according to the matching result. According to the scheme, the historical position database is established, and when the position positioning device is not started, the current position corresponding to the current base station sequence is determined according to the historical position data stored in the historical position database, so that the problem that the geographic position of a user cannot be obtained due to the fact that the user does not want to start a GPS sensor for a long time or GPS signals are unstable in the prior art is solved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A position determining method applied to electronic equipment is characterized by comprising the following steps:
establishing a historical location database, the historical location database comprising: the position data and base station sequence and time information positioned by the position positioning device;
drawing a time and position curve graph according to the historical position database;
determining first position data of a user holding the electronic equipment, wherein the position of the user is greater than a preset probability in a first time period according to the time-position curve graph;
when the position positioning device is not started, acquiring a current base station sequence and current time information;
matching the current base station sequence with position data in the historical position database to obtain a matching result;
and determining current position data according to the matching result, and determining current first position data corresponding to a first time period in which the current time information is located based on the time-position curve graph, wherein the current first position data determined according to the time-position curve graph is obtained according to historical experience and has no timeliness.
2. The method of claim 1, wherein determining current location data based on the matching results comprises:
determining whether the position data in the matching result is consistent with the current first position data;
if so, determining the current first position data as current position data;
otherwise, determining the position data in the matching result as the current position data.
3. The method of claim 2, wherein determining that the user holding the electronic device is located at a predetermined time before the current time comprises:
determining position data of a first moment and a second moment, wherein the first moment is as follows: a time before and adjacent to the predetermined time at which the position locating device is in the on state, the second time being: a time after the predetermined time and adjacent to the predetermined time at which the position locating device is in an on state;
and determining theoretical position data of the preset time according to the time intervals of the first time, the preset time and the second time and the position data of the first time and the second time.
4. The method of claim 1, wherein the position-locating device comprises: global positioning system GPS, and/or, wireless network WIFI,
when the position-locating device comprises a global positioning system, GPS, the position data comprises: a GPS tag;
when the position-locating device includes a specified wireless network WIFI, the position data includes: a sequence of WIFI locations.
5. An electronic device, comprising: a position location device, a memory, and a processor, wherein:
the position locating device is used for locating position data;
the memory is configured to store a historical location database, the historical location database comprising: the position data positioned by the position positioning device, the base station sequence and the time information;
the processor is used for establishing a historical position database, storing the historical position database in a memory, acquiring a current base station sequence when the position positioning device is not started, matching the current base station sequence with position data in the historical position database to obtain a matching result, and determining the current position data according to the matching result; the processor is further configured to draw a time-position curve graph according to the historical position database, determine, according to the time-position curve graph, first position data in which a position of a user holding the electronic device in a first time period is greater than a predetermined probability, acquire current time information when the position positioning device is not turned on, and determine, based on the time-position curve graph, current first position data corresponding to the first time period in which the current time information is located.
6. The electronic device of claim 5, wherein the processor determines current location data based on the match results, comprising:
and the processor determines whether the position data in the matching result is consistent with the current first position data, if so, determines the current first position data as the current position data, and otherwise, determines the position data in the matching result as the current position data.
7. The electronic device of claim 6, wherein the processor determines that a user holding the electronic device is located at a predetermined time before a current time, comprising:
the processor determines position data of a first moment and a second moment, wherein the first moment is as follows: a time before and adjacent to the predetermined time at which the position locating device is in the on state, the second time being: and determining theoretical position data of the preset time according to the time intervals of the first time, the preset time and the second time and the position data of the first time and the second time at the time when the position positioning device is in the opening state after and adjacent to the preset time.
8. The electronic device of claim 5, wherein the position-locating means comprises: global positioning system GPS, and/or, wireless network WIFI,
when the position-locating device comprises a global positioning system, GPS, the position data comprises: a GPS tag;
when the position-locating device includes a specified wireless network WIFI, the position data includes: a sequence of WIFI locations.
CN201710703159.3A 2017-08-16 2017-08-16 Position determination method and electronic equipment Active CN107450089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710703159.3A CN107450089B (en) 2017-08-16 2017-08-16 Position determination method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710703159.3A CN107450089B (en) 2017-08-16 2017-08-16 Position determination method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107450089A CN107450089A (en) 2017-12-08
CN107450089B true CN107450089B (en) 2020-02-21

Family

ID=60492551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710703159.3A Active CN107450089B (en) 2017-08-16 2017-08-16 Position determination method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107450089B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753298B (en) * 2018-07-05 2022-02-01 中移物联网有限公司 Positioning method and device, equipment and storage medium thereof
CN109660503B (en) * 2018-09-28 2023-04-18 深圳壹账通智能科技有限公司 Method, device, equipment and medium for analyzing abnormal use behavior of user terminal
CN111624640B (en) * 2020-04-24 2023-02-24 汉海信息技术(上海)有限公司 Positioning method, positioning device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101578901A (en) * 2007-01-17 2009-11-11 高通股份有限公司 Method and apparatus for using historic network information for determining approximate position
EP2251748A1 (en) * 1999-10-29 2010-11-17 Qualcomm Incorporated Method and apparatus for position determination using reduced number of gps satellites and synchronized and unsynchronized base stations
CN102802116A (en) * 2011-05-27 2012-11-28 北京百度网讯科技有限公司 Information pushing method and server as well as system
CN104284417A (en) * 2013-07-08 2015-01-14 国际商业机器公司 Method and network element for tracking a trajectory of a mobile device
CN104918265A (en) * 2015-05-11 2015-09-16 上海网罗电子科技有限公司 Indoor beacon management dispensing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2251748A1 (en) * 1999-10-29 2010-11-17 Qualcomm Incorporated Method and apparatus for position determination using reduced number of gps satellites and synchronized and unsynchronized base stations
CN101578901A (en) * 2007-01-17 2009-11-11 高通股份有限公司 Method and apparatus for using historic network information for determining approximate position
CN102802116A (en) * 2011-05-27 2012-11-28 北京百度网讯科技有限公司 Information pushing method and server as well as system
CN104284417A (en) * 2013-07-08 2015-01-14 国际商业机器公司 Method and network element for tracking a trajectory of a mobile device
CN104918265A (en) * 2015-05-11 2015-09-16 上海网罗电子科技有限公司 Indoor beacon management dispensing system and method

Also Published As

Publication number Publication date
CN107450089A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
US8391176B2 (en) System and method for benchmarking location determining systems
US8010129B2 (en) Device and method for generating an alert signal
JP6027180B2 (en) Environment recognition based on sound
US9344414B2 (en) User similarity provision method
CN107450089B (en) Position determination method and electronic equipment
US20110285591A1 (en) Correlating contextual data and position data to improve location based services
CN101883318A (en) Method and mobile terminal for updating region related information according to geographical position changes
CN102224757A (en) Using wireless characteristic to trigger generation of position fix
WO2010126412A1 (en) Predicting presence of a mobile user equipment
CN102098618A (en) Method and terminal for automatically determining help-seeking contact
EP2883368A2 (en) Labeling visited locations based on contact information
CN103297588A (en) Reminding method of alarm clock and mobile terminal
CN106885578A (en) Map updating method and device
CN102883019A (en) Communication device, communication system, and program
CN106936887A (en) A kind of geographic position locating method and device
CN101867867A (en) System time automatic updating system and method
CN102368844A (en) Processing method for incoming call of mobile terminal and apparatus thereof
CN101661577A (en) Calendar time interval prompt method and device as well as computer program product thereof
JPWO2017168651A1 (en) Population estimation device, program and population estimation method
CN105320709A (en) Information reminding method and device on terminal equipment
CN111522045A (en) GPS module cold start method and device of terminal, terminal and storage medium
CN112653748A (en) Information pushing method and device, electronic equipment and readable storage medium
CN103220646A (en) Method and system for finding mobile terminal device based on short message
US20050136904A1 (en) Usage of cellular phones to announce/notify timings of muslim prayers
US8712438B1 (en) Method and system for associating a cell-sector with time-dependent location parameters

Legal Events

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