Background technology
Gsm communication is the most widely mobile phone standard of current application, the equipment of GSM standard occupies Present Global cellular mobile communication equipment Market more than 80%, what people more paid close attention under so high popularity rate is the performance of network, coverage rate and capacity, what link directly with these indexs is exactly the distribution situation of base station and the performance of base station, market competition in the face of the mobile operator fierceness, how going intuitively to measure the subregion situation and the signal strength signal intensity that monitor each operator base station when the different location is an indispensable link, in addition, for large and medium-sized enterprise, communal facility, the aspects such as communications and transportation can record that base station strength density has constructive help to addressing and layout in the zone.
Yet, present base station acquisition system has more defective: Serving cell and Neighbor cell that 1. can only certain operator of roving commission, and can not obtain all base station informations, after for example general mobile phone inserts UNICOM's SIM card, just can only search out the base station of UNICOM, and just Serving cell and Neighbor cell are not base stations around all; 2. can not be effectively with GSM and GPS combination.Some professional testing tools do not add the GPS module, can't know accurately current location.Or the GPS module is arranged but can only record longitude and latitude, and do not have the generalized information system support to show particular location; 3. terminal and software application range are inadequate.Some module is only supported GSM two frequently, namely can only use with part other countries at home, and can't learn from base station information automatically which operator certain base station belongs to, so the base station information acquiring system that people need to meet the demands more.
Summary of the invention
The technical problem that the present invention mainly solves provides a kind of all band GSM base station information acquiring system, has accuracy height, the advantage such as real-time, widely market prospects is arranged using and popularize simultaneously.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is:
A kind of all band GSM base station information acquiring system is provided, and its step comprises: in control module, obtain the command information of inquiry or operation; According to command information, to the search the time interval be configured; In data acquisition module, the open mode of global positioning system is set and obtains primary positioning time; Open the frequently radio-frequency (RF) switch of communication module of GSM/GPRS four, carry out all band scanning; Search for and obtain base station signal information and base station information on the frequency; Increase newly or renewal base station signal information and base station information; Base station signal information and base station information are uploaded to mobile sense terminals, and inquire about report; By global positioning system, obtain and record the locating information of the base station when scanning each time; According to locating information, the position in map mark base station, and distribution track and the zone of drafting base station; In data conversion module, base station information and locating information are analyzed classification, and obtain and preserve latitude and longitude information, ownership state's information and the operator's informaiton of base station; In display module, show analyzing the base station information of sorting out.
In a preferred embodiment of the present invention, described in display module, the concrete steps that the base station information of analyzing classification is showed comprise: use block diagram to show the information of base station signal strength; The expression color of each operator is set in block diagram; Use form to enumerate the essential information of all base stations; Show the movement locus of mobile sense terminals and the distribution of base station at the GIS-Geographic Information System map.
In a preferred embodiment of the present invention, the essential information of described base station comprises region code, the network number, Location Area Code, CELLID information and the base station identity code that move.
The invention has the beneficial effects as follows: the invention provides a kind of all band GSM base station information acquiring system, can be faster, more fully information, analysis and the classification of base station are shown that accuracy is high, real-time.
Embodiment
The below will be clearly and completely described the technical scheme in the embodiment of the invention, and obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
See also Fig. 1, Fig. 1 is the schematic flow sheet of all band GSM base station information acquiring of the present invention system one preferred embodiment.
The embodiment of the invention comprises:
A kind of all band GSM base station information acquiring system, its step comprises: in control module, obtain the command information of inquiry or operation; According to command information, to the search the time interval be configured.The Main Function of control module is to allow mobile sense terminals carry out specific operation by the AT order, and physically connect by UART, can come retrieval interval etc. is configured according to the different demands of user like this, and improved the confidentiality of mobile sense terminals, allow mobile sense terminals that systems soft ware is had dependence, in addition, can be set the scouting interval according to user's different demands, if the user only need to test the base station of fixing several location points, amplification search time that just can be an amount of, increase accuracy; And if the wider moving velocity of terminal of test specification is talked about faster, can shorten search time, guaranteed real-time.
In data acquisition module, the open mode of global positioning system is set and obtains primary positioning time; Open the frequently radio-frequency (RF) switch of communication module of GSM/GPRS four, carry out all band scanning; Search for and obtain base station signal information and base station information on the frequency; Increase newly or renewal base station signal information and base station information; Base station signal information and base station information are uploaded to mobile sense terminals, and inquire about report; By global positioning system, obtain and record the locating information of the base station when scanning each time; According to locating information, the position in map mark base station, and distribution track and the zone of drafting base station.
The data acquisition module Main Function is real-time search base station information data and gps data; and data communication device is crossed serial ports give PC; what terminal was used is frequently communication module of GSM/GPRS four; support 85,0/9,00/,180,0/1,900 4 frequency ranges; kernel is ARM9; have the stable characteristics of high-performance; realize obtaining of base station information and GPS locating information by standard AT command and some self-defined AT; for example; by+CFUN=1; 0; + CFUN=4; 0 switches the switch of radio frequency; by obtaining the GPS locating information; can record the current location of base station when scanning each time, finally this a series of location point is aggregated into a track or surrounds a zone at map, behind connection server; all base stations under certain operator can be shown on the map by LBS interface and correction authority, allow the people is open-and-shut to know the institute path of surveying or regional base station density strength distribution.
When radio frequency just starts, whether system can have signal on all frequencies of automatic search, and then judge whether available base station, agreement bottom notice upper strata has newly-increased or upgrades base station information, and the upper strata recorded information is also worked as the AT command queries all information are reported out, aspect GPS, adopt ripe SiRF location solution, after start self-starting GPS was set, TTFF (primary positioning time) is about 40 seconds, and was similar with base station time of complete search.
In data conversion module, base station information and locating information are analyzed classification, and obtain and preserve latitude and longitude information, ownership state's information and the operator's informaiton of base station, for example, in China, can automatically distinguish which base station and be China Mobile which belong to CHINAUNICOM.
Data conversion module is that the data that terminal obtains are processed classification analysis.The main two aspect data of resolving, base station information and gps data, base station information can be distinguished the information data of the special purposes such as MCC, MNC, LAC, Cellid, Arfcn, and gps data is mainly resolved longitude and latitude, and these information datas can be kept in the file with different forms such as xml with txt.
In display module, show analyzing the base station information of sorting out.
Described in display module, the concrete steps that the base station information of analyzing classification is showed comprise: use block diagram to show the information of base station signal strength; The expression color of each operator is set in block diagram; Use form to enumerate the essential information of all base stations; Show the movement locus of mobile sense terminals and the distribution of base station at the GIS-Geographic Information System map, can will show that the result carries out playback before by importing journal file in addition.
The essential information of described base station comprises region code, the network number, Location Area Code, CELLID information, signal strength signal intensity and the base station identity code that move.
The invention has the beneficial effects as follows: the invention provides a kind of all band GSM base station information acquiring system, can be faster, more fully information, analysis and the classification of base station are shown that accuracy is high, real-time.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes description of the present invention to do; or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.