CN107450089A - A kind of location determining method and electronic equipment - Google Patents

A kind of location determining method and electronic equipment Download PDF

Info

Publication number
CN107450089A
CN107450089A CN201710703159.3A CN201710703159A CN107450089A CN 107450089 A CN107450089 A CN 107450089A CN 201710703159 A CN201710703159 A CN 201710703159A CN 107450089 A CN107450089 A CN 107450089A
Authority
CN
China
Prior art keywords
position data
location
current
moment
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710703159.3A
Other languages
Chinese (zh)
Other versions
CN107450089B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of location determining method and electronic equipment, and by establishing historical position data storehouse, historical position data storehouse includes:The position data and base station sequence that location position device is positioned, when non-open position positioner, current base station sequence is obtained, current base station sequence is matched with the position data in historical position data storehouse, matching result is obtained, current location data is determined according to matching result.This programme is by establishing historical position data storehouse, and in non-open position positioner, current location corresponding with being presently in base station sequence is determined according to the historical position data stored in historical position data storehouse, solve user in the prior art to be reluctant to open GPS sensor for a long time, or gps signal is unstable, the problem of caused user geographical position can not obtain.

Description

A kind of location determining method and electronic equipment
Technical field
The present invention relates to control field, more particularly to a kind of location determining method and electronic equipment.
Background technology
At present, location-based Information Mobile Service program on electronic equipment, such as:GPS sensor, which can be obtained accurately, holds this Position where the user of electronic equipment.
But many users are unwilling to open GPS sensor for a long time for the reason for the privacy or power saving, or, due to Gps signal is unstable, influences whether the acquisition in user geographical position.
The content of the invention
In view of this, the present invention provides a kind of location determining method and electronic equipment, and to solve in the prior art, user is not It is willing to open GPS sensor for a long time, or because gps signal is unstable, the problem of influencing whether the acquisition in user geographical position, its Concrete scheme is as follows:
A kind of location determining method, applied to electronic equipment, including:
Historical position data storehouse is established, the historical position data storehouse includes:The positional number that location position device is positioned According to the position data includes:Position data and base station sequence;
When not opening the location position device, current base station sequence is obtained;
The current base station sequence is matched with the position data in the historical position data storehouse, obtains matching knot Fruit;
Current location data is determined according to the matching result.
Further, the historical position data storehouse also includes:Temporal information, methods described also include:
Time position recording is drawn according to the historical position data storehouse;
According to the time position recording determine to hold the user of the electronic equipment first the period position it is big In the first position data of predetermined probability;
When not opening the location position device, current time information is obtained;
Based on the time position recording, current first corresponding to the first period where determining the current time information Position data.
Further, current location data is determined according to the matching result, including:
Determine whether position data in the matching result and current first position data are consistent;
If so, the current first position data are defined as current location data;
Otherwise, the position data in the matching result is defined as current location data.
Further, it is determined that holding predetermined instant position of the user of the electronic equipment before current time, Including:
The position data at the first moment and the second moment is determined, first moment is:Before the predetermined instant and with The predetermined instant is adjacent, and at the time of opening the location position device, second moment is:After the predetermined instant And it is adjacent with the predetermined instant, at the time of opening the location position device;
According to first moment, predetermined instant and the time interval at the second moment, and first moment and second The position data at moment, determine the theoretical position data of the predetermined instant.
Further, the location position device includes:Global position system GPS, and/or, wireless network WIFI is specified,
When the location position device includes global position system GPS, the position data includes:GPS labels;
When the location position device includes specifying wireless network WIFI, the position data includes:WIFI position-orders Row.
A kind of electronic equipment, including:Location position device, memory and processor, wherein:
The location position device is used for location position data, and the position data includes:Position data and base station sequence;
The memory is used to store historical position data storehouse, and the historical position data storehouse includes:The position positioning The position data that device is positioned;
The processor is used to establish historical position data storehouse, and is stored in memory, determines when not opening the position During the device of position, current base station sequence is obtained, by the position data in the current base station sequence and the historical position data storehouse Matched, obtain matching result, current location data is determined according to the matching result.
Further, the historical position data storehouse also includes:Temporal information, the processor are additionally operable to:
Time position recording is drawn according to the historical position data storehouse, determines to hold according to the time position recording Have the user of the electronic equipment first the period position be more than the first position data of predetermined probability, it is described when not opening During location position device, current time information is obtained, based on the time position recording, determines the current time information institute In current first position data corresponding to the first period.
Further, the processor determines current location data according to the matching result, including:
The processor determines whether position data in the matching result and current first position data are consistent, if It is that the current first position data are defined as current location data, it is otherwise, the position data in the matching result is true It is set to current location data.
Further, predetermined instant of the user that the processor determines to hold the electronic equipment before current time Position, including:
The processor determines the position data at the first moment and the second moment, and first moment is:The pre- timing Before quarter and adjacent with the predetermined instant, at the time of opening the location position device, second moment is:It is described pre- Timing carve after and it is adjacent with the predetermined instant, at the time of opening the location position device, according to first moment, Predetermined instant and the time interval at the second moment, and the position data at first moment and the second moment, determine described pre- The theoretical position data that timing is carved.
Further, the location position device includes:Global position system GPS, and/or, wireless network WIFI is specified,
When the location position device includes global position system GPS, the position data includes:GPS labels;
When the location position device includes specifying wireless network WIFI, the position data includes:WIFI position-orders Row.
It can be seen from the above technical proposal that location determining method disclosed in the present application and electronic equipment, are gone through by establishing History location database, historical position data storehouse include:The position data and base station sequence that location position device is positioned, when not opening When opening location position device, current base station sequence is obtained, by the position data in current base station sequence and historical position data storehouse Matched, obtain matching result, current location data is determined according to matching result.This programme is by establishing historical position data Storehouse, and in non-open position positioner, determined according to the historical position data stored in historical position data storehouse and current Current location corresponding to residing base station sequence, solve user in the prior art and be reluctant to open GPS sensor for a long time, or GPS Jitter, the problem of caused user geographical position can not obtain.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of location determining method disclosed in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of location determining method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of location determining method disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of electronic equipment disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The invention discloses a kind of location determining method, applied to electronic equipment, its flow chart as shown in figure 1, including:
Step S11, historical position data storehouse is established, historical position data storehouse includes:The position that location position device is positioned Put data and base station sequence;
Historical position data storehouse is used for position data and the base station sequence that storage location positioner is positioned, in order to rear Continuous position data where when determining the non-open position positioner of user according to historical position data.
Wherein, the position that position data is positioned by location position device, such as:When location position device is GPS, position It is GPS labels to put data, i.e. the geographic position data that GPS is positioned, such as:Specific latitude, longitude or place street etc.;Work as position It is that position data is WIFI position sequences when specifying wireless network WIFI to put positioner, is determined by the WIFI position sequences The WIFI positions, so as to clear and definite user position.Preferably, location position device can be:GPS and specify WIFI。
And base station sequence refers to by electronic equipment, such as:Mobile phone, the base station sequence of acquisition can be with by the base station sequence User is determined in which base station location, so that it is determined that user position.
When there is position data determined by GPS and/or WIFI simultaneously in historical position data storehouse, and set by electronics During the base station sequence of standby determination,
Step S12, when non-open position positioner, current base station sequence is obtained;
In actual application, when non-open position positioner, then it can not obtain GPS and/or WIFI is determined Position data.Now, no matter whether location position device is opened, as long as electronic equipment, such as:Mobile phone is opening, then base Sequence of standing can determine.
Step S13, current base station sequence is matched with the position data in historical position data storehouse, obtains matching knot Fruit;
When it is determined that user be currently located base station sequence after, query history location database, historical position data storehouse can be with A specially form, it is position data form corresponding with base station sequence, i.e., some specific position that user has been to Put corresponding base station sequence.
Now, query history location database, the base station sequence that user is currently located is searched in historical position data storehouse Corresponding position data, the position data being as currently located with the position data corresponding to the base station sequence.
And wherein, position data corresponding with base station sequence may be multiple, such as:Under some base station, it is covered The areal extent of lid is wider, then the position data corresponding to it may be multiple, now, will inquire and the base station sequence pair The multiple position datas answered are defined as a position range, and the position range is defined as into present bit corresponding with the base station sequence Put data, i.e. scope where active user.
Step S14, current location data is determined according to matching result.
Location determining method disclosed in the present embodiment, by establishing historical position data storehouse, historical position data storehouse includes: The position data and base station sequence that location position device is positioned, when non-open position positioner, obtain current base station sequence Row, current base station sequence is matched with the position data in historical position data storehouse, obtains matching result, is tied according to matching Fruit determines current location data.This programme is by establishing historical position data storehouse, and in non-open position positioner, according to The historical position data stored in historical position data storehouse determines current location corresponding with being presently in base station sequence, solves User is reluctant to open GPS sensor for a long time in the prior art, or gps signal is unstable, and caused user geographical position can not The problem of acquisition.
Present embodiment discloses a kind of location determining method, applied to electronic equipment, its flow chart as shown in Fig. 2 including:
Step S21, historical position data storehouse is established, historical position data storehouse includes:The position that location position device is positioned Put data, base station sequence and temporal information;
Step S22, time position recording is drawn according to historical position data storehouse;
Temporal information is:Hold the user of the electronic equipment in some particular location, the time where it, such as:Go through In history location database, some particular location where user determines user by location position device, the position is being recorded When putting data, while record time at that time, i.e. time of the user at the position;Can also be:When user is in some base When standing, its time at that time.
Time position recording, it is specially:In units of day, abscissa is the time, and ordinate is position, the curve of drafting Figure, and the positional representation can be:Position data, or:Base station sequence, can also be:Position data and base station sequence Row, in order to obtain the daily movement locus of user, so that it is determined that the characteristics of motion of the user in units of day.Such as:Working Day, 7 points of every morning leaves for unit, 8 points of arrival from family, and 6 pm goes home from unit, 7 points of arrival.According to above-mentioned number According to user each moment position on weekdays can be determined.
Step S23, according to time position recording determine to hold the user of the electronic equipment first period position More than the first position data of predetermined probability;
User first the period position be more than predetermined probability first position data, i.e., according to time location curve Figure, it may be determined that the characteristics of motion of user's greater probability, so as to it is clear and definite at a time, probability of the user in some position It is larger.
Such as:By taking above-mentioned example as an example, at 3 points in afternoon on weekdays, user is larger in the probability of unit;And 8 points at night, The probability that user is in is larger.
And it does not meet the situation of greater probability, Ke Yiwei:User has a holiday, or goes on business, when there are above-mentioned special circumstances, User then will not be in unit at 3 points in the afternoon of go on business day or holiday, therefore, can based on the above-mentioned special circumstances being likely to occur To calculate the probability that above-mentioned special circumstances occurs in user in historical position data storehouse, so that it is determined that predetermined probability, improves position The accuracy of acquisition.
In addition, determining the accuracy of user position and the job specification of user according to time position recording, or use The daily movement track at family is relevant.Such as:User is university student, then its time position recording can in units of week, because May it be differed for daily class period in weekly and classroom, therefore, it is necessary in units of week.
Further, can also be with hour, or the moon, or be within several days unit, its regular phase only with user movement track Close, be not specifically limited herein.
Step S24, when non-open position positioner, current time information is obtained;
Step S25, based on time position recording, current first corresponding to the first period where determining current time information Position data.
Location determining method disclosed in the present embodiment, by establishing historical position data storehouse, historical position data storehouse includes: The position data and base station sequence that location position device is positioned, when non-open position positioner, obtain current base station sequence Row, current base station sequence is matched with the position data in historical position data storehouse, obtains matching result, is tied according to matching Fruit determines current location data.This programme is by establishing historical position data storehouse, and in non-open position positioner, according to The historical position data stored in historical position data storehouse determines current location corresponding with being presently in base station sequence, solves User is reluctant to open GPS sensor for a long time in the prior art, or gps signal is unstable, and caused user geographical position can not The problem of acquisition.
Present embodiment discloses a kind of location determining method, applied to electronic equipment, its flow chart as shown in figure 3, including:
Step S31, historical position data storehouse is established, historical position data storehouse includes:The position that location position device is positioned Put data, base station sequence and temporal information;
Step S32, time position recording is drawn according to historical position data storehouse;
Step S33, according to time position recording determine to hold the user of the electronic equipment first the period position More than the first position data of predetermined probability;
Step S34, when non-open position positioner, current time information and current base station sequence are obtained;
Step S35, based on time position recording, current first corresponding to the first period where determining current time information Position data, meanwhile, current base station sequence is matched with the position data in historical position data storehouse, obtains matching knot Fruit;
Step S36, determine whether position data in matching result and current first position data are consistent;
When simultaneously, passage time information determines current first position data, and is determined by base station sequence in matching result During position data, it is consistent that current first position data have greater probability with the position data in matching result, and both is not With situation may be:It is late or it is early to etc..
Such as:In 15 minutes mornings 8 point, it is some subway station to be currently located base station defined location according to user, and according to when Between position curve map, in the morning 8 points of 15 minutes users generally have arrived at unit, now, there is inconsistent situation in both.
And in this case, the position data in matching result is defined, and the position data criticized in result is determined For current location data.Therefore, the position data in its matching result is obtained by base station sequence, and its base station sequence is User holds the base station sequence for the base station that electronic equipment is presently in, and it has ageing;However, according to time position recording The current first position data determined are obtained according to previous experiences, and it is without ageing.
Further, in these cases, it is necessary to which the corresponding temporal information storage of the base station sequence is entered into history Location database, late probability is likely to occur in order to subsequently calculate user.
Step S37, if so, current first position data are defined as into current location data;
Step S38, otherwise, the position data in matching result is defined as current location data.
Further, can when it needs to be determined that during position where some predetermined instant of user before current time To be specially:
The position data at the first moment and the second moment is determined, the first moment was:Before predetermined instant and and predetermined instant Adjacent, location position device is at the time of have turned on state, and the second moment was:After predetermined instant and with predetermined instant phase Adjacent, location position device is at the time of having turned on state;According between the time at the first moment, predetermined instant and the second moment Every, and the position data at the first moment and the second moment, the theoretical position data of predetermined instant are determined.
The location position device at the first moment and the second moment is opening, such as:First the moment position be (x1,y1), second the moment position be (x2,y2), and it needs to be determined that predetermined instant user position, wherein, pre- timing At the time of quarter between the first moment and the second moment, and before the first moment was predetermined instant and it is adjacent thereto have it is accurate At the time of position data, the second moment was after predetermined instant and adjacent thereto at the time of having accurate position data.
So, the air line distance of point-to-point transmission is determined, i.e. the first moment user position and the second moment user institute are in place Air line distance between putting, meanwhile, the first moment, predetermined instant and the time interval between the second moment are determined, it is determined that interval Ratio, identical ratio is applied according to the space ratio on this line, determine predetermined instant be used for may place position, or Person is:Predetermined instant user is in the certain limit of the position.
Location determining method disclosed in the present embodiment, by establishing historical position data storehouse, historical position data storehouse includes: The position data and base station sequence that location position device is positioned, when non-open position positioner, obtain current base station sequence Row, current base station sequence is matched with the position data in historical position data storehouse, obtains matching result, is tied according to matching Fruit determines current location data.This programme is by establishing historical position data storehouse, and in non-open position positioner, according to The historical position data stored in historical position data storehouse determines current location corresponding with being presently in base station sequence, solves User is reluctant to open GPS sensor for a long time in the prior art, or gps signal is unstable, and caused user geographical position can not The problem of acquisition.
Present embodiment discloses a kind of electronic equipment, its structural representation as shown in figure 4, including:
Location position device 41, memory 42 and processor 43.
Wherein, location position device 41 is used for location position data.
Memory 42 is used to store historical position data storehouse, and historical position data storehouse includes:Location position device 41 is determined The position data and base station sequence of position.
Processor 43 is used to establish historical position data storehouse, and is stored in memory 42, is filled when non-open position positions When putting 41, current base station sequence is obtained, current base station sequence is matched with the position data in historical position data storehouse, obtained To matching result, current location data is determined according to matching result.
Historical position data storehouse is used for position data and the base station sequence that storage location positioner is positioned, in order to rear Continuous position data where when determining the non-open position positioner of user according to historical position data.
Wherein, the position that position data is positioned by location position device, such as:When location position device is GPS, position It is GPS labels to put data, i.e. the geographic position data that GPS is positioned, such as:Specific latitude, longitude or place street etc.;Work as position It is that position data is WIFI position sequences when specifying wireless network WIFI to put positioner, is determined by the WIFI position sequences The WIFI positions, so as to clear and definite user position.Preferably, location position device can be:GPS and specify WIFI。
And base station sequence refers to by electronic equipment, such as:Mobile phone, the base station sequence of acquisition can be with by the base station sequence User is determined in which base station location, so that it is determined that user position.
When there is position data determined by GPS and/or WIFI simultaneously in historical position data storehouse, and set by electronics During the base station sequence of standby determination,
In actual application, when non-open position positioner, then it can not obtain GPS and/or WIFI is determined Position data.Now, no matter whether location position device is opened, as long as electronic equipment, such as:Mobile phone is opening, then base Sequence of standing can determine.
When it is determined that user be currently located base station sequence after, query history location database, historical position data storehouse can be with A specially form, it is position data form corresponding with base station sequence, i.e., some specific position that user has been to Put corresponding base station sequence.
Now, query history location database, the base station sequence that user is currently located is searched in historical position data storehouse Corresponding position data, the position data being as currently located with the position data corresponding to the base station sequence.
And wherein, position data corresponding with base station sequence may be multiple, such as:Under some base station, it is covered The areal extent of lid is wider, then the position data corresponding to it may be multiple, now, will inquire and the base station sequence pair The multiple position datas answered are defined as a position range, and the position range is defined as into present bit corresponding with the base station sequence Put data, i.e. scope where active user.
Further, historical position data storehouse also includes:Temporal information, then processor 43 be additionally operable to:
Time position recording is drawn according to historical position data storehouse, is determined to hold the electronics according to time position recording The user of equipment first the period position be more than predetermined probability first position data, when non-open position positioner When, current time information is obtained, it is current corresponding to the first period where determining current time information based on time position recording First position data.
Temporal information is:Hold the user of the electronic equipment in some particular location, the time where it, such as:Go through In history location database, some particular location where user determines user by location position device, the position is being recorded When putting data, while record time at that time, i.e. time of the user at the position;Can also be:When user is in some base When standing, its time at that time.
Time position recording, it is specially:In units of day, abscissa is the time, and ordinate is position, the curve of drafting Figure, and the positional representation can be:Position data, or:Base station sequence, can also be:Position data and base station sequence Row, in order to obtain the daily movement locus of user, so that it is determined that the characteristics of motion of the user in units of day.Such as:Working Day, 7 points of every morning leaves for unit, 8 points of arrival from family, and 6 pm goes home from unit, 7 points of arrival.According to above-mentioned number According to user each moment position on weekdays can be determined.
User first the period position be more than predetermined probability first position data, i.e., according to time location curve Figure, it may be determined that the characteristics of motion of user's greater probability, so as to it is clear and definite at a time, probability of the user in some position It is larger.
Such as:By taking above-mentioned example as an example, at 3 points in afternoon on weekdays, user is larger in the probability of unit;And 8 points at night, The probability that user is in is larger.
And it does not meet the situation of greater probability, Ke Yiwei:User has a holiday, or goes on business, when there are above-mentioned special circumstances, User then will not be in unit at 3 points in the afternoon of go on business day or holiday, therefore, can based on the above-mentioned special circumstances being likely to occur To calculate the probability that above-mentioned special circumstances occurs in user in historical position data storehouse, so that it is determined that predetermined probability, improves position The accuracy of acquisition.
In addition, determining the accuracy of user position and the job specification of user according to time position recording, or use The daily movement track at family is relevant.Such as:User is university student, then its time position recording can in units of week, because May it be differed for daily class period in weekly and classroom, therefore, it is necessary in units of week.
Further, can also be with hour, or the moon, or be within several days unit, its regular phase only with user movement track Close, be not specifically limited herein.
Further, processor 43 determines current location data according to matching result, including:
Whether the position data and current first position data in the determination matching result of processor 43 are consistent, if so, ought Preceding first position data are defined as current location data, otherwise, the position data in matching result are defined as into current location number According to.
When simultaneously, passage time information determines current first position data, and is determined by base station sequence in matching result During position data, it is consistent that current first position data have greater probability with the position data in matching result, and both is not With situation may be:It is late or it is early to etc..
Such as:In 15 minutes mornings 8 point, it is some subway station to be currently located base station defined location according to user, and according to when Between position curve map, in the morning 8 points of 15 minutes users generally have arrived at unit, now, there is inconsistent situation in both.
And in this case, the position data in matching result is defined, and the position data criticized in result is determined For current location data.Therefore, the position data in its matching result is obtained by base station sequence, and its base station sequence is User holds the base station sequence for the base station that electronic equipment is presently in, and it has ageing;However, according to time position recording The current first position data determined are obtained according to previous experiences, and it is without ageing.
Further, in these cases, it is necessary to which the corresponding temporal information storage of the base station sequence is entered into history Location database, late probability is likely to occur in order to subsequently calculate user.
Further, can when it needs to be determined that during position where some predetermined instant of user before current time To be specially:
The position data at the first moment and the second moment is determined, the first moment was:Before predetermined instant and and predetermined instant Adjacent, location position device is at the time of have turned on state, and the second moment was:After predetermined instant and with predetermined instant phase Adjacent, location position device is at the time of having turned on state;According between the time at the first moment, predetermined instant and the second moment Every, and the position data at the first moment and the second moment, the theoretical position data of predetermined instant are determined.
The location position device at the first moment and the second moment is opening, such as:First moment position be (x1,y1), second the moment position be (x2,y2), and it needs to be determined that predetermined instant user position, wherein, pre- timing At the time of quarter between the first moment and the second moment, and before the first moment was predetermined instant and it is adjacent thereto have it is accurate At the time of position data, the second moment was after predetermined instant and adjacent thereto at the time of having accurate position data.
So, the air line distance of point-to-point transmission is determined, i.e. the first moment user position and the second moment user institute are in place Air line distance between putting, meanwhile, the first moment, predetermined instant and the time interval between the second moment are determined, it is determined that interval Ratio, identical ratio is applied according to the space ratio on this line, determine predetermined instant be used for may place position, or Person is:Predetermined instant user is in the certain limit of the position.
Electronic equipment disclosed in the present embodiment, by establishing historical position data storehouse, historical position data storehouse includes:Position The position data and base station sequence that positioner is positioned, when non-open position positioner, current base station sequence is obtained, will Current base station sequence is matched with the position data in historical position data storehouse, obtains matching result, true according to matching result Determine current location data.This programme is by establishing historical position data storehouse, and in non-open position positioner, according to history The historical position data stored in location database determines current location corresponding with being presently in base station sequence, solves existing User is reluctant to open GPS sensor for a long time in technology, or gps signal is unstable, and caused user geographical position can not obtain The problem of.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

  1. A kind of 1. location determining method, applied to electronic equipment, it is characterised in that including:
    Historical position data storehouse is established, the historical position data storehouse includes:Position data that location position device is positioned and Base station sequence;
    When not opening the location position device, current base station sequence is obtained;
    The current base station sequence is matched with the position data in the historical position data storehouse, obtains matching result;
    Current location data is determined according to the matching result.
  2. 2. according to the method for claim 1, it is characterised in that the historical position data storehouse also includes:Temporal information, institute Stating method also includes:
    Time position recording is drawn according to the historical position data storehouse;
    According to the time position recording determine to hold the user of the electronic equipment first the period position be more than it is pre- Determine the first position data of probability;
    When not opening the location position device, current time information is obtained;
    Based on the time position recording, current first position corresponding to the first period where determining the current time information Data.
  3. 3. according to the method for claim 2, it is characterised in that current location data is determined according to the matching result, wrapped Include:
    Determine whether position data in the matching result and current first position data are consistent;
    If so, the current first position data are defined as current location data;
    Otherwise, the position data in the matching result is defined as current location data.
  4. 4. according to the method for claim 3, it is characterised in that it is determined that holding the user of the electronic equipment at current time Predetermined instant position before, including:
    The position data at the first moment and the second moment is determined, first moment is:Before the predetermined instant and with it is described Predetermined instant is adjacent, and at the time of the location position device is in opening, second moment is:The predetermined instant It is afterwards and adjacent with the predetermined instant, at the time of the location position device is in opening;
    According to first moment, predetermined instant and the time interval at the second moment, and first moment and the second moment Position data, determine the theoretical position data of the predetermined instant.
  5. 5. according to the method for claim 1, it is characterised in that the location position device includes:Global positioning system GPS, and/or, wireless network WIFI is specified,
    When the location position device includes global position system GPS, the position data includes:GPS labels;
    When the location position device includes specifying wireless network WIFI, the position data includes:WIFI position sequences.
  6. 6. a kind of electronic equipment, it is characterised in that including:Location position device, memory and processor, wherein:
    The location position device is used for location position data;
    The memory is used to store historical position data storehouse, and the historical position data storehouse includes:The location position device The position data and base station sequence positioned;
    The processor is used to establish historical position data storehouse, and is stored in memory, is filled when not opening the position positioning When putting, current base station sequence is obtained, the position data in the current base station sequence and the historical position data storehouse is carried out Matching, obtains matching result, current location data is determined according to the matching result.
  7. 7. electronic equipment according to claim 6, it is characterised in that the historical position data storehouse also includes:Time believes Breath, the processor are additionally operable to:
    Time position recording is drawn according to the historical position data storehouse, is determined to hold institute according to the time position recording State the user of electronic equipment first the period position be more than the first position data of predetermined probability, when not opening the position During positioner, current time information is obtained, based on the time position recording, determines where the current time information the Current first position data corresponding to one period.
  8. 8. electronic equipment according to claim 7, it is characterised in that the processor determines to work as according to the matching result Front position data, including:
    The processor determines whether position data in the matching result and current first position data are consistent, if so, will The current first position data are defined as current location data, and otherwise, the position data in the matching result is defined as Current location data.
  9. 9. electronic equipment according to claim 8, it is characterised in that the processor determines to hold the electronic equipment Predetermined instant position of the user before current time, including:
    The processor determines the position data at the first moment and the second moment, and first moment is:The predetermined instant it Preceding and adjacent with the predetermined instant, at the time of the location position device is in opening, second moment is:Institute It is afterwards and adjacent with the predetermined instant to state predetermined instant, at the time of the location position device is in opening, according to First moment, predetermined instant and the time interval at the second moment, and the positional number at first moment and the second moment According to determining the theoretical position data of the predetermined instant.
  10. 10. electronic equipment according to claim 6, it is characterised in that the location position device includes:Global positioning system Unite GPS, and/or, wireless network WIFI is specified,
    When the location position device includes global position system GPS, the position data includes:GPS labels;
    When the location position device includes specifying wireless network WIFI, the position data includes:WIFI position sequences.
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 true CN107450089A (en) 2017-12-08
CN107450089B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660503A (en) * 2018-09-28 2019-04-19 深圳壹账通智能科技有限公司 Analysis user terminal of inter is often used the method, apparatus, equipment and medium of behavior
CN110753298A (en) * 2018-07-05 2020-02-04 中移物联网有限公司 Positioning method and device, equipment and storage medium thereof
CN111624640A (en) * 2020-04-24 2020-09-04 汉海信息技术(上海)有限公司 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

Cited By (6)

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

Also Published As

Publication number Publication date
CN107450089B (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN101799549B (en) Method and mobile terminal for recording geographical position information
US9467810B2 (en) Location based geo-reminders
CN105284144B (en) Significant position is modeled
US7499715B2 (en) Scheduling tasks dynamically depending on the location of a mobile user
CN107450089A (en) A kind of location determining method and electronic equipment
US7256711B2 (en) Method and system for saving and retrieving spatial related information
US8010129B2 (en) Device and method for generating an alert signal
CN106885578A (en) Map updating method and device
CN103369462A (en) Prompting message outputting method and system based on LBS (Location Based Services)
CN103444247A (en) Intelligent management of location sensor
CN103297588A (en) Reminding method of alarm clock and mobile terminal
CN105491529B (en) The memory mapping treatment method and big data platform of mobile terminal locations data
CN106127472A (en) Implementation method, system and the terminal of a kind of nfc card pattern self-starting
CN107291713A (en) Reminding method, terminal and the server of point of interest search keyword
CN101945331A (en) Method, system and mobile terminal for displaying position information of contact person
CN107871400A (en) Road network information update method and device
CN101155358A (en) Automatic path planning method
CN107257383A (en) A kind of information-pushing method, device and storage medium, electronic equipment
TWI496448B (en) Portable device and associated positioning method
CN108933859A (en) Information display method, device, electronic equipment and storage medium on electronic equipment
CN105827809A (en) Method for searching contact number, and terminal
CN110379340A (en) Outdoor positioning tourism guide system based on iBeacon and GPS
CN108320484A (en) Remote transmitting gas meter answer method and remote transmitting gas meter system
CN103076738B (en) The automatic replacing options of a kind of World clock based on mobile terminal device and system thereof
CN108694457A (en) The method and device of information recommendation

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