Background technology
Along with the development of mobile communications industry, the competition in mobile communication market increasingly sharpens, and the quality of network quality has become Virtual network operator and captured mobile communication market, holds key of success.In view of mobile communications network is a dynamic network; Whether reach designing requirement and network is carried out best planning and when optimizing estimating and weigh network performance; Need collect and provide the network parameter resource data for network optimization engineering by the driver test system of specialty; And, find out and correct the existing problem of network through analyzing, to improve the service quality of network.
A typical driver test system comprises: testing mobile phone, GPS receiver and drive test software.Wherein, testing mobile phone is responsible for signaling and the measurement of the signal of eating dishes without rice or wine; GPS receiver is responsible for the record of longitude and latitude; Drive test software is responsible for the driving of hardware and output result's record, displaying, statistics and analysis.GIS-Geographic Information System module in the drive test software has showed wireless network actual motion quality situation with patterned mode; The route of measuring, the position and the geography information relevant of base station can be on the electronic chart of specific format, shown through the map window function, and the significant data that analyzes by drive test software can be on electronic chart, indicated with measurement data.
Yet because the data in the driver test system come from signaling and unlimited parameter that testing mobile phone reports, the speed that data report is very high; With a testing mobile phone is example, and the signaling that per second reports can reach tens, and these information much can become the some pel in a plurality of figure layers on the map; Be presented in the map window, and the map pel that all has signaling data to change in each figure layer, it is very huge that these pels add up the order of magnitude; Thereby the pattern according to the single interpolation map pel of routine needs the labor time; Take ample resources, thereby cause work efficiency very low, can not satisfy the requirement of drive test big data quantity.In addition, because in existing driver test system, the map primitive information is not preserved after the drive test process finishes; Thereby, in the data importing process, need reduce the pel on the electronic chart again and again through raw data; Thereby the time of labor, reduced work efficiency.
Therefore, be necessary to provide a kind of map data processing method and device thereof to overcome above-mentioned defective.
Summary of the invention
One object of the present invention is to provide a kind of map data processing method and device that can improve map primitive data loading efficiency and save resource.
To achieve these goals, the invention provides map data processing method in a kind of driver test system, comprise the steps: that (1) obtains coordinate data; (2) through the bit stream data that reports from testing mobile phone; Go out the signaling and the wireless parameter of each network according to the various network protocal analysis; And signaling and wireless parameter generated incident according to cover logic rules, thereby obtain signaling, wireless parameter and the incident in the drive test process; (3) coordinate data, signaling, wireless parameter and incident are combined to form geography information; (4) create a empty scale-of-two map file; (5) increase field for the scale-of-two map file according to the signaling that obtains in the drive test process, wireless parameter and incident; (6) field format of scale-of-two map file is set; (7) traversal needs the dot information that the drive test process of interpolation is collected, and will be added to the pel of scale-of-two map file by the point that dot information is confirmed, specifies the pattern of pel, mark font and symbol color; (8) according to the signaling that obtains in the drive test process, wireless parameter and incident each field value is set; (9) judge whether all points all are processed completion, if, then get into step (10), otherwise, step (7) returned; (10) preserve the scale-of-two map file; (11) the scale-of-two map file is loaded as map layer, shows the geography information of drive test process.
Preferably, said step (1) is specially: obtain coordinate data through the collection of GPS equipment or through manual the appointment.When at indoor drive test or the other reasons of carrying out, when not receiving global positioning system signal, can also adopt the mode specified coordinate information of manual appointment, thereby guarantee the reliability that coordinate data is gathered.
Preferably, said step (5) is specially: on map window, load map, and the scale-of-two map file is loaded as the figure layer of map, so that geography information is presented on the map window.
Correspondingly, the present invention also provides map data processing device in a kind of driver test system, comprising: driver test system coordinate acquisition module is used for the coordinate acquisition data; The driver test system analysis module is used to collect the bit stream data that testing mobile phone reports, and from bit stream data, goes out the signaling and the wireless parameter of each network according to the various network protocal analysis, and signaling and wireless parameter are generated the incident of drive test process; The GIS-Geographic Information System module is used for coordinate data, signaling, wireless parameter and incident are combined to form geography information; Geometric object and geographical pel operational module are used for operation and pel, field, the figure layer of encapsulation point, line, polygon and set, the data structure and the operation of data source; Scale-of-two cartographic information general operation module; Be used to call geometric object and geographical pel operational module, create the scale-of-two map file, increase field for the scale-of-two map file according to the signaling that obtains in the drive test process, wireless parameter and incident; The field format of scale-of-two map file is set; The dot information of collecting in the drive test process that traversal need to be added will be added to the pel of scale-of-two map file by the point that dot information is confirmed, pattern, mark font and the symbol color of pel is set; According to the signaling that obtains in the drive test process, wireless parameter and incident field value is set, and preserves the scale-of-two map file; Driver test system ground module is used on map window, loading map, and the scale-of-two map file that generates is loaded as map layer, is presented at map window, so that geography information is presented on the map window.
Compared with prior art; The present invention is through being that signaling, wireless parameter and incident are write direct in the scale-of-two map file with drive test data; By the disposable loading of map components, the result is presented in the map window with drive test then, thereby has saved the troublesome operation of each newly-increased map primitive data; Thereby, improve the loading and the display efficiency of drive test data and saved resource.
Through following description and combine accompanying drawing, it is more clear that the present invention will become, and these accompanying drawings are used to explain embodiments of the invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, the similar elements label is represented similar elements in the accompanying drawing.
As shown in Figure 1, map data processing method of the present invention comprises the steps:
Step S1 is through GPS equipment coordinate acquisition data;
This step also can be: obtain coordinate data through manual specified coordinate.Understandably, when when not receiving global positioning system signal, adopting the mode of manual appointment to obtain coordinate information at indoor drive test or the other reasons of carrying out.
Step S2 obtains signaling, wireless parameter and incident in the drive test process;
At length; This step is through the bit stream data that reports from testing mobile phone; Go out the signaling and the wireless parameter of each network according to the various network protocal analysis; And signaling and wireless parameter generated incident according to cover logic rules, thereby obtain signaling, wireless parameter and the incident in the drive test process.
Step S3 merges the formation geography information with coordinate data, signaling, wireless parameter and incident;
Step S4 is converted into the scale-of-two map file with geography information;
Step S5 is loaded as map layer with the scale-of-two map file, shows the geography information of drive test process.
At length; This step is through using map components on map window, to load map; According to the scale-of-two map file that generates before; Adopt the method in the map components that the scale-of-two map file is loaded as the figure layer of map, be presented on the map window, so that geography information is presented on the map window.
Particularly, as shown in Figure 2, said step S4 comprises:
Step S41 creates a empty scale-of-two map file;
Step S42 increases field for the scale-of-two map file according to the signaling that obtains in the drive test process, wireless parameter and incident;
Step S43 is provided with the field format of scale-of-two map file;
Step S44, traversal needs the dot information of the drive test process collection of interpolation, will be added to the pel of scale-of-two map file by the point that dot information is confirmed, specifies the pattern of pel, mark font and symbol color;
Step S45 is provided with each field value according to the signaling that obtains in the drive test process, wireless parameter and incident;
Step S46 judges whether all points all are processed completion, if, then get into step S47, otherwise, step S44 returned;
Step S47 preserves the scale-of-two map file.
Fig. 3 is the structured flowchart of map data processing device in the driver test system of the present invention.Map data processing device comprises in the said driver test system: driver test system coordinate acquisition module 11, driver test system analysis module 12, GIS-Geographic Information System module 13, geometric object and geographical pel operational module 14, scale-of-two cartographic information general operation module 15 and driver test system ground module 16.
Driver test system coordinate acquisition module 11 is used for the coordinate acquisition data.Particularly, driver test system coordinate acquisition module 11 is connected with GPS equipment 10, automatically coordinate acquisition data from GPS equipment 10.In the drive test process; Testing mobile phone is the reported data code stream ceaselessly, and these code streams are not to be with accurate geographical location information, obtain accurate geographic coordinate; Must use GPS equipment, GPS equipment per second reports coordinate data about once.In addition, if, do not receive global positioning system signal, can adopt the mode specified coordinate information of manual appointment like this under the situation at indoor drive test or the other reasons of carrying out.Step through manual specified coordinate information is specially: on map window, load map, in traveling process, specify current geographic position according to manual on map, the click in current position, to confirm coordinate data.
Driver test system analysis module 12 is used for the bit stream data that the collecting test mobile phone reports, and from bit stream data, goes out the signaling and the wireless parameter of each network according to the various network protocal analysis, and signaling and wireless parameter are generated the incident of drive test process.Driver test system analysis module 12 connects testing mobile phone or other testing apparatuss of bottom; And from the bit stream data that reports; Through to various network; As: the agreement in global system for mobile communications, WCDMA communication system, the CDMA communication system is carried out analyzing and processing, obtains signaling and wireless parameter.Incident is then by signaling and wireless parameter, judges and generates through a cover logical condition.
GIS-Geographic Information System module 13 is used for coordinate data, signaling, wireless parameter and incident are combined to form the GIS-Geographic Information System cartographic information.Drive test data comprises the event data that wireless parameter, signaling and analysis obtain, and itself is not with coordinate these information, so the coordinate information that obtains cooperates these information, is converted into dissimilar map pels according to different rules.For example, can choose some wireless parameter, distinguish these parameters with various colors; Can divide the different scope of same parameter in addition with some threshold value, be equipped with various colors then; The point of these different colours has constituted the some pel of various maps, has formed the difference figure layer of map.
Geometric object and geographical pel operational module 14 are used for operation and pel, field, the figure layer of encapsulation point, line, polygon and set, the data structure and the operation of data source.At length; Geometric object and geographical pel operational module 14 are perfect geometric figure and map graphics primitive object storehouses; Encapsulated the basic structure of most geometric figure general operation and map pel, the form of the said scale-of-two map file of analysis that can be detailed, and then can be perfect input or output the scale-of-two map file; Based on this library of object, can develop more complex spatial and map application.In addition; Define the operation of some general geometric objects in geometric object and the geographical pel operational module 14, comprised the various operations of the line chart meta object set on the various operations of the various operations of the line chart meta object on the disposal route of a pel, the basic operation of curve processing, many summits, the various operations of polygon pel, the collection object of pel and the various operations of set, non-overlapped polygon object set, the various operations of putting the graphics primitive object set and many summits.Moreover, also defined some graphics primitive object operations in geometric object and the geographical pel operational module 14, comprise the data item of pel and the data source of operation, pel and associative operation, figure layer data and associative operation and figure layer.
Scale-of-two cartographic information general operation module 15 is used to call geometric object and geographical pel operational module 14; Create the scale-of-two map file; Increase field for the scale-of-two map file according to the signaling that obtains in the drive test process, wireless parameter and incident, the field format of scale-of-two map file is set, the dot information of collecting in the drive test process that traversal needs to add; To be added to the pel of scale-of-two map file by the point that dot information is confirmed; Pattern, mark font and the symbol color of pel are set, field value are set, and preserve the scale-of-two map file according to the signaling that obtains in the drive test process, wireless parameter and incident.At length; Scale-of-two cartographic information general operation module 15 mainly is made up of the function that several big classes are realized, comprises MapFile class, TABFile class, TABFeature class, TABPoint class, TABView class, TABDATFile class, TABINDFile class, TABRelation class and TABMAPFile class.Wherein, the MapFile class definition the main interface of scale-of-two map file operation, comprise and reading and the operation-interface of down interface, field, the operation-interface of pel.The TABFile class has realized scale-of-two map file interface operable.The TABFeature class is handled the pel associative operation.The TABPoint class has encapsulated the basic operation of some pel.The TABView class has encapsulated the operation that the situation of a plurality of .DAT files connections is carried out.The TABDATFile class is handled the read-write operation of .DAT file, and the .DAT file has comprised the attribute field table.It is literary name segment index file that the TABINDFile class is handled .IND file processing .IND, and this type encapsulated the main entrance that reads with the search list field index.The TABRelation class is safeguarded through a field and is connected two associations that table is such.The TABMAPFile class is handled the read-write operation of .MAP file.
Driver test system ground module 16 is used on map window, loading map, the scale-of-two map file that generates is loaded as the figure layer of map, so that the GIS-Geographic Information System cartographic information is presented on the map window.Particularly; Driver test system ground module 16 uses map components on map window, to load map; According to the scale-of-two map file that generates before; The invocation map assembly method is loaded as the figure layer of map with the scale-of-two map file, is presented on the map window, so that the GIS-Geographic Information System cartographic information is presented on the map window.
By on can know; The present invention is through with drive test data being signaling, wireless parameter and the incident scale-of-two map file that writes direct; By the disposable loading of map components, the result is presented in the map window with drive test then, thereby has saved the troublesome operation of each newly-increased map primitive data; Thereby, improve the loading and the display efficiency of drive test data and saved resource.
Invention has been described more than to combine most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.