CN107645773A - A kind of architecture data stabilization filter algorithm and system - Google Patents

A kind of architecture data stabilization filter algorithm and system Download PDF

Info

Publication number
CN107645773A
CN107645773A CN201710850009.5A CN201710850009A CN107645773A CN 107645773 A CN107645773 A CN 107645773A CN 201710850009 A CN201710850009 A CN 201710850009A CN 107645773 A CN107645773 A CN 107645773A
Authority
CN
China
Prior art keywords
base station
latitude
longitude
module
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710850009.5A
Other languages
Chinese (zh)
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.)
Datang Converged Communications Wuxi Co Ltd
Original Assignee
Datang Converged Communications Wuxi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Converged Communications Wuxi Co Ltd filed Critical Datang Converged Communications Wuxi Co Ltd
Priority to CN201710850009.5A priority Critical patent/CN107645773A/en
Publication of CN107645773A publication Critical patent/CN107645773A/en
Pending legal-status Critical Current

Links

Abstract

The present invention discloses a kind of architecture data stabilization filter algorithm and system.Including GPRS module, base station data library module, management module, GPRS module and base station, base station data library module, management module wireless connection, GPRS module obtains the essential information of base station from base station and is sent to base station data, latitude and longitude information is obtained from base station database according to essential information and is sent to management module, management module obtains longitude and latitude to the latitude and longitude information repeatedly obtained using median digital averaging filtering arithmetic, after the present invention stores the latitude and longitude information repeatedly returned, the maximum and minimum value of more sub-values is removed by filtering algorithm, then after taking average, reuse, it is maximized to improve positioning precision and stability.

Description

A kind of architecture data stabilization filter algorithm and system
Technical field
The present invention relates to indoor positioning field, especially a kind of architecture data stabilization filter algorithm and system.
Background technology
When environment can not use satellite fix indoors, using indoor positioning technologies as the auxiliary positioning of satellite fix, Solve the problems, such as satellite-signal reach ground when it is weaker, building can not be penetrated.Wherein conventional is architecture, architecture General principles be:Mobile phone measures the down-bound pilot frequency signal of different base station, obtains the TOA of different base station descending pilot frequency (Time of Arrival, due in) or TDOA (Time Difference of Arrival, reaching time-difference), according to The measurement result and the coordinate for combining base station, typically use triangle formula algorithm for estimating, it becomes possible to calculate the position of mobile phone Put.Actual location-estimation algorithm needs to consider the situation of (3 or more than the 3) positioning in more base stations, therefore algorithm wants complexity very It is more.In general, the number of base stations of moving table measuring is more, measurement accuracy is higher, and positioning performance improves more obvious;But precision The distribution of base station and the size of coverage are depended greatly on, error can be more than one kilometer sometimes;Namely positioning be by The situation of base station is determined, therefore the position positioned every time is all variant;
It is typically all that GPRS module directly gets longitude and latitude from base station at present, in this case, GPRS module is general only Data interaction is carried out with a base station;When the base station signal of connection is relatively low, module can disconnect with current base station automatically, connect again A new base station is connect, positioning the data used therewith will change, and longitude and latitude also changes therewith, and discreteness is very big.
The content of the invention
It is an object of the invention to provide a kind of architecture data stabilization filter algorithm and system, can not determined using GPS It is maximized to improve positioning precision and stability using the architecture of operator in the case of position.
To achieve the above object, the invention provides following scheme:
A kind of architecture data stabilization filter algorithm, including step:
(1) initialize, defined parameters i=0, n, wherein n are the threshold value of the execution number more than or equal to 3;
(2) essential information of peripheral base station is obtained;
(3) essential information is sent to third party's base station database platform;
(4) latitude and longitude information is obtained by third party's base station database platform and stored, i=i+1;
(5) judge whether i is equal to n, equal to next step is performed, otherwise perform step (2);
(6) accurate longitude and latitude is obtained using median digital averaging filtering algorithm to the latitude and longitude information of storage.
Optionally, threshold value n span is 3-14 in step (1).
Optionally, in step (2), essential information includes:Country code, network type, cell id, base station number.
Optionally, step (6) 6, the latitude and longitude information of storage is obtained accurately using median digital averaging filtering algorithm Longitude and latitude, remove a maximum and a minimum value, then calculate the arithmetic mean of instantaneous value of n-2 data.
A kind of architecture data stabilization filtration system, including GPRS module, base station data library module, management module, institute State GPRS module and base station, the base station data library module, the management module wireless connection, the GPRS module is from the base Stand and obtain the essential information of base station and be sent to the base station data, obtained according to the essential information from the base station database Latitude and longitude information is simultaneously sent to the management module, and the management module uses middle position to the latitude and longitude information repeatedly obtained Value digital averaging filtering arithmetic obtains longitude and latitude.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
After the present invention stores the latitude and longitude information repeatedly returned, by filtering algorithm by the maximum and minimum value of more sub-values Remove, after then taking average, reuse, it is maximized to improve positioning precision and stability.
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 institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of step schematic flow sheet of architecture data stabilization filter algorithm of the present invention;
Fig. 2 is that a kind of structure of architecture data stabilization filter algorithm of the present invention is intended to;
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.
It is an object of the invention to provide a kind of architecture data stabilization filter algorithm, the latitude and longitude information that will repeatedly return After storage, the maximum and minimum value of more sub-values is removed by filtering algorithm, after then taking average, reuses, maximumlly carries High position precision and stability.
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
Embodiment:
As shown in Figure 1, 2, a kind of architecture data stabilization filter algorithm, including step:
101st, initialize, defined parameters i=0, n, wherein n are the threshold value of the execution number more than or equal to 3;Threshold value n's takes Value scope is 3-14;
102nd, the essential information of peripheral base station is obtained;Essential information includes:Country code, network type, cell id, base station Number
The essential information is sent to third party's base station database platform by 103;
104th, latitude and longitude information is obtained by third party's base station database platform and stored, i=i+1;
105th, judge whether i is equal to n, equal to next step is performed, otherwise perform step 102;
106th, accurate longitude and latitude is obtained using median digital averaging filtering algorithm to the latitude and longitude information of storage, removes one Individual maximum and a minimum value, then calculate the arithmetic mean of instantaneous value of n-2 data.
A kind of architecture data stabilization filtration system, including GPRS module, base station data library module, management module, GPRS module and base station, base station data library module, management module wireless connection, GPRS module obtain the basic letter of base station from base station Cease and be sent to base station data, latitude and longitude information is obtained from base station database according to essential information and is sent to management module, is managed Reason module obtains longitude and latitude to the latitude and longitude information repeatedly obtained using median digital averaging filtering arithmetic.
Because interior can not be positioned using GPS module, the basic letter that GPRS module gets peripheral base station is first passed through Breath, the base station information got is then uploaded into third-party platform by GPRS module, existed in third-party platform substantial amounts of Base station data, by these data, third-party platform can return to the latitude and longitude information where GPRS module;But due to GPRS module When connecting base station, it is the identical base station information used every time to be not, so fluctuation just occurs in the longitude and latitude found And jumping characteristic;Error range is with regard to bigger;So after the latitude and longitude information repeatedly returned can be stored now, calculated by filtering Method removes the maximum and minimum value of more sub-values, after then taking average, reuses.
Terminal gets the essential information of peripheral base station by GPRS module, and wherein essential information includes mcc country codes; Mnc network types 0 move 1 UNICOM;Lac cell ids;Cell base stations number;
Then by the base station information got by uploading to third party's base station database platform;
According to existing base station data in the base station data searching data storehouse of upload in database platform, obtained by analyzing The latitude and longitude information of present terminal, and these information are returned into terminal by GPRS module;
Because GPRS module is when connecting base station, it is the identical base station information used every time to be not, so finding Longitude and latitude just occur fluctuation and jumping characteristic;Error range is with regard to bigger;
Therefore after the latitude and longitude information for needing repeatedly to return stores, error is reduced by filtering algorithm;
The filtering algorithm used in system:Median digital averaging filtering algorithm;
Adopt one to form a team to average after row remove maximum and minimum value, the N number of data of continuous sampling, remove a maximum With the arithmetic mean of instantaneous value of a minimum value, then N-2 data of calculating.The selection of N values:3-14.
It is uploaded to management platform by the longitude and latitude obtained after filtering after algorithm, terminal by GPRS module again, so as to User is facilitated to check.
Specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said It is bright to be only intended to help the method and its core concept for understanding the present invention;Meanwhile for those of ordinary skill in the art, foundation The thought of the present invention, in specific embodiments and applications there will be changes.In summary, this specification content is not It is interpreted as limitation of the present invention.

Claims (5)

1. a kind of architecture data stabilization filter algorithm, it is characterised in that including step:
(1) initialize, defined parameters i=0, n, wherein n are the threshold value of the execution number more than or equal to 3;
(2) essential information of peripheral base station is obtained;
(3) essential information is sent to third party's base station database platform;
(4) latitude and longitude information is obtained by third party's base station database platform and stored, i=i+1;
(5) judge whether i is equal to n, equal to next step is performed, otherwise perform step (2);
(6) accurate longitude and latitude is obtained using median digital averaging filtering algorithm to the latitude and longitude information of storage.
A kind of 2. architecture data stabilization filter algorithm according to claim 1, it is characterised in that threshold in the step 1 Value n span is 3-14.
A kind of 3. architecture data stabilization filter algorithm according to claim 1, it is characterised in that in the step 2, institute Stating essential information includes:Country code, network type, cell id, base station number.
4. a kind of architecture data stabilization filter algorithm according to claim 1, it is characterised in that right in the step 6 The latitude and longitude information of storage obtains accurate longitude and latitude using median digital averaging filtering algorithm, removes a maximum and one Minimum value, then calculate the arithmetic mean of instantaneous value of n-2 data.
5. a kind of architecture data stabilization filtration system, it is characterised in that including GPRS module, base station data library module, pipe Manage module, the GPRS module and base station, the base station data library module, the management module wireless connection, the GPRS moulds Block obtains the essential information of base station from the base station and is sent to the base station data, according to the essential information from the base station Database obtains latitude and longitude information and is sent to the management module, and the management module is believed the longitude and latitude repeatedly obtained Breath obtains longitude and latitude using median digital averaging filtering arithmetic.
CN201710850009.5A 2017-09-20 2017-09-20 A kind of architecture data stabilization filter algorithm and system Pending CN107645773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710850009.5A CN107645773A (en) 2017-09-20 2017-09-20 A kind of architecture data stabilization filter algorithm and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710850009.5A CN107645773A (en) 2017-09-20 2017-09-20 A kind of architecture data stabilization filter algorithm and system

Publications (1)

Publication Number Publication Date
CN107645773A true CN107645773A (en) 2018-01-30

Family

ID=61113743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710850009.5A Pending CN107645773A (en) 2017-09-20 2017-09-20 A kind of architecture data stabilization filter algorithm and system

Country Status (1)

Country Link
CN (1) CN107645773A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040157621A1 (en) * 2003-02-07 2004-08-12 Hitachi., Ltd. Positioning system and method based on time difference of arrival
CN101335997A (en) * 2007-06-27 2008-12-31 株式会社Ntt都科摩 Position deduction system
CN101801012A (en) * 2010-01-29 2010-08-11 东南大学 Self-adapting positioning method for mobile nodes of hybrid sensor network
CN103249138A (en) * 2012-02-03 2013-08-14 中国电信股份有限公司 Positioning method and device
CN103517310A (en) * 2013-10-26 2014-01-15 无锡黑盒科技有限公司 Method for automatically correcting positioning wireless base station dataset
CN103561465A (en) * 2013-10-28 2014-02-05 厦门雅迅网络股份有限公司 Multi-base-station positioning method based on probability fingerprints
CN103796307A (en) * 2014-02-20 2014-05-14 无锡林之盛科技有限公司 Accurate locating method based on communication base station
CN103906233A (en) * 2014-03-31 2014-07-02 黄卿 Method and device for collecting and processing positioning data
CN106604297A (en) * 2015-10-20 2017-04-26 中国电信股份有限公司 Method and equipment for optimizing longitude and latitude data in center of sector of base station

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040157621A1 (en) * 2003-02-07 2004-08-12 Hitachi., Ltd. Positioning system and method based on time difference of arrival
CN101335997A (en) * 2007-06-27 2008-12-31 株式会社Ntt都科摩 Position deduction system
CN101801012A (en) * 2010-01-29 2010-08-11 东南大学 Self-adapting positioning method for mobile nodes of hybrid sensor network
CN103249138A (en) * 2012-02-03 2013-08-14 中国电信股份有限公司 Positioning method and device
CN103517310A (en) * 2013-10-26 2014-01-15 无锡黑盒科技有限公司 Method for automatically correcting positioning wireless base station dataset
CN103561465A (en) * 2013-10-28 2014-02-05 厦门雅迅网络股份有限公司 Multi-base-station positioning method based on probability fingerprints
CN103796307A (en) * 2014-02-20 2014-05-14 无锡林之盛科技有限公司 Accurate locating method based on communication base station
CN103906233A (en) * 2014-03-31 2014-07-02 黄卿 Method and device for collecting and processing positioning data
CN106604297A (en) * 2015-10-20 2017-04-26 中国电信股份有限公司 Method and equipment for optimizing longitude and latitude data in center of sector of base station

Similar Documents

Publication Publication Date Title
EP2640116B1 (en) Calibration method and device for coverage database
US9513363B2 (en) System and method for determining antenna probabilities in sub-areas of a geographical area
CN108307301B (en) Indoor positioning method based on RSSI ranging and track similarity
CN103796163A (en) Indoor positioning method for receiving signal strength ordering fingerprint
US20150312876A1 (en) Monitoring a quality of a terrestrial radio based positioning system
CN108061910B (en) Networking method and device based on phase difference and differential positioning system
CN101986757B (en) Positioning method and device for mobile terminal
CN104903681A (en) Access network node based barometric reference pressure network
CN102281566A (en) Wireless base station positioning and data acquisition method with zero offset capability
CN103906228A (en) Mobile terminal base station differential positioning method, positioning device and system
JP2011158459A (en) Estimating whether wireless terminal is indoors using pattern classification
CN111325561A (en) Intelligent complaint processing method and device, electronic equipment and storage medium
CN107197518A (en) A kind of method and device for determining terminal location
CN103888975A (en) Base station latitude and longitude data verification method and system
CN107314757A (en) The floor location system and localization method of a kind of multi-story structure
KR20120005192A (en) Method and apparatus for estimating access point position by using wlan radio wave evnironment map
CN106488555B (en) Indoor positioning method and device
CN109238224B (en) Unmanned aerial vehicle flying height difference eliminating method, device and system and intelligent terminal
CN104837114A (en) Method and device used for determining abnormal positioning information of user
JP6541399B2 (en) MANAGEMENT DEVICE, PORTABLE TERMINAL, AND PROGRAM FOR CALCULATING Atmospheric Pressure Correction Value of Atmospheric Pressure Sensor
Bohanudin et al. Simulation model and location accuracy for observed time difference of arrival (OTDOA) positioning technique in third generation system
Shrestha et al. RSSI channel effects in cellular and WLAN positioning
CN107645773A (en) A kind of architecture data stabilization filter algorithm and system
CN104994580B (en) A kind of indoor orientation method
CN103796158B (en) Method and system for judging whether electronic equipment is used out of scope and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180130