New! View global litigation for patent families

CN102495893A - Using method of map in wireless road test software and equipment - Google Patents

Using method of map in wireless road test software and equipment Download PDF

Info

Publication number
CN102495893A
CN102495893A CN 201110409959 CN201110409959A CN102495893A CN 102495893 A CN102495893 A CN 102495893A CN 201110409959 CN201110409959 CN 201110409959 CN 201110409959 A CN201110409959 A CN 201110409959A CN 102495893 A CN102495893 A CN 102495893A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
map
unit
used
pictures
receiving
Prior art date
Application number
CN 201110409959
Other languages
Chinese (zh)
Inventor
卢俊峰
Original Assignee
北京北方烽火科技有限公司
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

Links

Abstract

The invention discloses a using method of a map in wireless road test software. The method comprises the following steps: saving map pictures downloaded from the internet; receiving a search request of a user; and outputting a map picture matched with the search request from the map pictures. The invention also provides a realization scheme of equipment. The equipment comprises a first storage unit, a receiving unit and an output unit, wherein the first storage unit is used for storing map pictures which are downloaded from the internet; the receiving unit is used for receiving the search request of the user; and the output unit is used for outputting the map picture matched with the search request from the map pictures. According to the technical scheme of the invention, the stored map pictures can be directly used in the road test software, so that the problem that, in the prior art, the map on the internet can be used only by connecting the internet and depending on the interface provided by a service provider can be solved.

Description

一种在无线路测软件中使用地图的方法及设备技术领域[0001] 本发明涉及路测领域,尤其涉及一种在无线路测软件中使用地图的方法及设备。 For use in a wireless road map software method and apparatus for measuring Technical Field [0001] The present invention relates to road test, and in particular relates to a road map in a wireless method and apparatus for measuring software. 背景技术[0002] 通常在路测软件中都是使用商业地图来呈现路测的轨迹和地图数据。 [0002] usually use a commercial map in drive test software to render road test track and map data. 但商业地图费用昂贵,无线路测的范围遍布整个中国甚至更大的区域,因此购买商业地图的方式对用户来讲成本较高。 But the commercial map costly, road test range wireless throughout China and even larger area, so buy a map of the way business users in terms of higher costs. 而且商业地图提供的地图数据比较粗糙,不够详细,也无法提供三维的地图数据。 And map data business map provided rough, not detailed enough, we can not provide a three-dimensional map data. 现有技术通过使用在线地图解决这一问题。 The prior art to solve this problem by using online maps. 以谷歌地图或卫星图为例,其提供的地图数据详细,而且同时包括三维和二维的地图数据,因此,现有技术通过在线使用谷歌地图或卫星图等在线地图解决使用商业地图带来的问题。 To Google maps or satellite images, for example, map data provides detailed, and include both two-dimensional and three-dimensional map data, therefore, the prior art has brought online by using the online map at Google maps or diagrams to solve using commercial satellite map problem. 但在线使用上述地图必须在每次使用时都连接互联网,通过服务器将地图数据下载下来,在不能连接互联网时无法使用。 But online map must be connected using the Internet each time you use the map data is downloaded from the server can not be used if it can not connect to the Internet. 而且在具体的使用过程中,还必须依赖谷歌等服务商提供的接口使用相应的功能。 And in particular of course, also we must rely on the interface Google and other service providers to use the corresponding function. 这一问题同样存在于百度地图等在线地图中。 This problem also exists in Baidu Maps and other online map. 发明内容[0003] 本发明提供一种在无线路测软件中使用地图的方法及设备,通过保存从互联网上下载的地图图片并在路测软件中使用,解决了现有技术中必须连接互联网并依赖服务商提供的接口使用地图图片的问题。 [0003] The present invention provides a map used in the radio path test method and apparatus in software by storing downloaded from the Internet using the map image and road test software, to solve the prior art and must be connected to the Internet dependence interface map image service providers. [0004] 本发明提供了一种在无线路测软件中使用地图的方法,所述方法包括:[0005] 保存从互联网上下载的地图图片;接收用户的查询请求;[0006] 输出所述地图图片中与所述查询请求相匹配的地图图片。 [0004] The present invention provides a method of using the road map in a wireless test software, the method comprising: [0005] downloaded from the Internet to save a map image; receiving a user's query request; [0006] Output of the map pictures with the query request matches the map image. [0007] 优选的,所述地图图片以分层分块的形式保存;[0008] 所述输出所述地图图片中与所述查询请求相匹配的地图图片包括:[0009] 分析所述查询请求的对应层和对应块;[0010] 输出所述地图图片中与所述对应层和对应块相匹配的地图图片。 [0007] Preferably, the map image stored in a hierarchical block form; [0008] the output of the map image in the query matches the request map images comprises: [0009] analyzing the query request the corresponding layers and a corresponding block; [0010] with the output of the map image and the corresponding block layer corresponding to said matched map image. [0011] 优选的,在输出所述地图图片中与所述查询请求相匹配的地图图片之前,所述方法还包括:[0012] 在预存的偏移量数据中查找与所述地图图片中的地图数据对应的偏移量数据;[0013] 根据所述偏移量数据校正所述地图数据;[0014] 所述输出所述地图图片中与所述查询请求相匹配的地图图片包括:[0015] 输出校正后的地图图片。 [0011] Preferably, prior to outputting the map image in the query request matches the map image, said method further comprising: [0012] Find the offset data stored with the map picture map data corresponding to the offset data; [0013] the map correction data based on the offset data; [0014] the output of the map image in the query matches the request map images comprises: [0015 ] after the output correction map images. [0016] 优选的,所述方法还包括:[0017] 从互联网上获取地图数据的偏移量数据;[0018] 按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件;[0019] 所述在预存的偏移量数据中查找与所述地图数据对应的偏移量数据包括:[0020] 根据所述地图数据的经纬度在所述索引文件中查找与所述地图数据对应的偏移量数据。 [0016] Preferably, the method further comprises: [0017] The data amount of the map data obtaining offset from the Internet; [0018] offset by the latitude and longitude data corresponding to said offset index data file ; [0019] the lookup map data corresponding to the offset data includes pre-stored offset in the data: [0020] Find the map data in the index file in accordance with the latitude and longitude of the map data corresponding to the deviation amount data. [0021] 优选的,所述按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件包括:[0022] 按所述偏移量数据对应的经纬度将所述偏移量数据保存至对应的文件;[0023] 将所述文件的文件名与所述经纬度相关联,建立索引文件;[0024] 所述根据所述地图数据的经纬度在所述索引文件中查找与所述地图数据对应的偏移量数据包括:[0025] 根据所述地图数据的经纬度查找对应的文件名;[0026] 根据所述文件名确定对应的文件并从所述文件中获取所述地图数据对应的偏移量数据。 [0021] Preferably, the offset data by the latitude and longitude corresponding to the offset of the data to establish the index file comprises: [0022] offset by the longitude and latitude data corresponding to the offset of the data save to the corresponding file; [0023] the file name of the file associated with the latitude and longitude, index file; [0024] with the map of the lookup in the index file in accordance with the latitude and longitude of the map data data corresponding to the offset data comprises: [0025] the search for a corresponding file name based on latitude and longitude of the map data; [0026] and determines the corresponding file from the file acquired in accordance with the file name corresponding to the map data offset data. [0027] 本发明还提供了一种设备,所述设备包括:[0028] 第一保存单元,用于保存从互联网上下载的地图图片;[0029] 接收单元,用于接收用户的查询请求;[0030] 输出单元,用于输出所述地图图片中与所述查询请求相匹配的地图图片。 [0027] The present invention further provides an apparatus, the apparatus comprising: [0028] a first storage unit for storing downloaded from the Internet map image; [0029] receiving means for receiving a user's query request; [0030] output means for outputting the map image in the query request matches the map image. [0031] 优选的,所述第一保存单元,还用于以分层分块的形式保存所述地图图片;[0032] 所述输出单元包括:[0033] 分析单元,用于分析所述查询请求的对应层和对应块;[0034] 输出子单元,用于输出所述地图图片中与所述对应层和对应块相匹配的地图图片。 [0031] Preferably, the first storage unit is further configured to store a hierarchical block of said map image; [0032] The output unit comprises: [0033] analysis unit for analyzing the query layer and the corresponding block corresponding to the request; [0034] sub-unit output for outputting said picture map and said corresponding layer and the corresponding block map image matches. [0035] 优选的,所述设备还包括:[0036] 第一获取单元,用于在预存的偏移量数据中获取与所述地图图片中的地图数据对应的偏移量数据;[0037] 校正单元,用于根据所述偏移量数据校正所述地图数据的偏移量;[0038] 所述输出单元,还用于输出校正后的地图图片。 [0035] Preferably, the apparatus further comprises: [0036] a first obtaining unit, for obtaining the offset data of the map image corresponding to map data stored in the offset data; [0037] correcting means for correcting the offset data of the map data based on the offset; [0038] the output unit is further for outputting the corrected map image. [0039] 优选的,所述设备还包括:[0040] 第二获取单元,用于从互联网上获取所述地图数据的偏移量数据;[0041] 第一索引单元,用于按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件;[0042] 所述第一获取单元,还用于根据所述地图数据的经纬度在所述索引文件中获取与所述地图数据对应的偏移量数据。 [0039] Preferably, the apparatus further comprises: [0040] a second obtaining unit, configured to obtain the offset data from the map data on the Internet; [0041] first index means for biasing said press latitude and longitude data corresponding to the shift amount of the index offset data file; [0042] the first obtaining unit is further configured to obtain the latitude and longitude of the index file corresponding to the map data with the map data offset data. [0043] 优选的,所述第一索引单元包括:[0044] 第二保存单元,用于按所述偏移量数据对应的经纬度将所述偏移量数据保存至对应的文件;[0045] 第二索引单元,用于将所述文件的文件名与所述经纬度相关联,建立索引文件;[0046] 所述第一获取单元包括:[0047] 查找单元,用于根据所述地图数据的经纬度查找对应的文件名;[0048] 第三获取单元,用于根据所述文件名确定对应的文件并从所述文件中获取所述地图数据对应的偏移量数据。 [0043] Preferably, the first index unit comprises: [0044] a second storage unit, according to the longitude and latitude offset data corresponding to the stored offset data to the corresponding file; [0045] second index means for the file name of the file associated with latitude and longitude, index file; [0046] the first acquiring unit comprises: [0047] search unit, according to the map data find the latitude and longitude corresponding to the file name; [0048] the third obtaining unit, for determining a corresponding file according to the file name, and acquires the map data corresponding to the offset data from the file. [0049] 与现有技术相比,本发明具有如下有益效果:[0050] 本发明中通过从互联网上下载并保存地图图片,可以在路测软件中直接使用保存后的地图图片,解决了现有技术中必须连接互联网和依赖服务商提供的接口才能使用互联网上的地图的问题。 [0049] Compared with the prior art, the present invention has the following advantages: [0050] The present invention solves the current and saved by downloading map images from the Internet, can be used after storage in the road map image directly test the software, art must rely on an interface to connect to the Internet and service provider using a map on the Internet problems. 附图说明[0051] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 BRIEF DESCRIPTION [0051] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the drawings are briefly introduced as required for use in the embodiments describing the embodiments. Apparently, the drawings described below only some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings. [0052] 图1是本发明方法实施例1流程图;[0053] 图2是本发明方法实施例2中地图图片的存储格式;[0054] 图3是本发明方法实施例3流程图;[0055] 图4是本发明方法实施例4流程图;[0056] 图5是本发明方法实施例5中索引文件的结构图;[0057] 图6是本发明设备实施例6结构图。 [0052] FIG. 1 is a flowchart illustrating an embodiment of a method according to the present invention; [0053] FIG. 2 is a storage format of the present invention a method of map image in Example 2; [0054] FIG. 3 is a flowchart of Example 3 of the present invention; [ 0055] the embodiment of FIG. 4 is a flowchart of a method of the present invention, 4; [0056] FIG 5 is a configuration diagram of the index file 5 in the embodiment of the method of the present invention; [0057] FIG. 6 is an embodiment of the present invention, the structure of the device 6 in FIG. 具体实施方式[0058] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 DETAILED DESCRIPTION [0058] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of the present invention. [0059] 参见图1,本发明实施例1提供了一种在无线路测软件中使用地图的方法,所述方法包括如下步骤:[0060] Si、保存从互联网上下载的地图图片。 [0059] Referring to Figure 1, an embodiment of the present invention provides a method of using the road map in a wireless test software, the method comprising the steps of: [0060] Si, from the Internet to save the downloaded map image. [0061] S2、接收用户的查询请求。 [0061] S2, receiving a user query request. [0062] S3、输出所述地图图片中与所述查询请求相匹配的地图图片。 [0062] S3, and outputs the map image in the query request matches the map image. 具体的在使用时,可以根据用户输入的查询请求,如北京市海淀区的查询请求,通过查找北京市海地区的经纬度范围查找相匹配的地图图片并输出。 Specifically, when used, according to the query request entered by the user, such as queries, Haidian District, Beijing, Beijing by finding latitude and longitude range of sea areas to match the look of the map image and output. [0063] 目前,在互联网上提供在线地图的服务商有多家,如谷歌、百度、搜狗等。 [0063] Currently, the online map on the Internet service provider has a number, such as Google, Baidu, Sogou. 地图以地图图片的形式保存在服务商的服务器上。 Map stored on the service provider's server in the form of a map image. 这些服务商提供的地图不仅包括电子地图还包括卫星图。 These maps service providers include not only electronic map also includes satellite images. 为了保证在路测软件中使用的地图信息详尽,在从互联网上下载地图图片时,应当选择地图数据量大,信息详细的在线地图。 In order to ensure detailed map information for use in drive test software, when downloaded map images from the Internet, you should select the map data is large, detailed information on the online map. 如现在常用的谷歌地图、百度地图和搜狗地图等,不仅地图数据详尽,还同时提供了二维和三维的信息,在使用时,能更准确的反映真实的地理信息。 As it is now commonly used in Google Maps, maps and Baidu Sogou maps, not only detailed map data, while also providing information on two and three dimensions, in use, to more accurately reflect the true geographic information. 当然,用户可以根据自己的需要选择不同服务商提供的在线地图。 Of course, the user can select different maps online service provider according to their needs. 而且用户可以根据自己的需要下载部分地图图片,比如在上海长期居住的用户就可以只下载上海地区的地图图片。 And users can download part of the map image according to their needs, such as long-term residents in Shanghai, the user can download only the Shanghai area of ​​the map image. [0064] 在线地图的下载有多种方式,可以通过运行不同的下载软件实现。 [0064] online maps to download a variety of ways, can be achieved by different operating software downloads. 本发明实施例2提供了一种具体的下载方法,以下载谷歌地图为例,包括以下步骤:[0065] 安装JAVA runtime (爪哇运行库);[0066]下载 TrekBuddy_Atlas_Creator 1. 6. 1 (TB 地图创建器);[0067] 运行Trebuddy Atlas Creator 里的start, cmd ;[0068] 选择需要下载的区域;具体的可以通过鼠标进行选择。 Example 2 of the present invention provides a specific method of downloading to download the Google Maps for example, comprising the steps of: [0065] mounting JAVA runtime (Java runtime); [0066] Download TrekBuddy_Atlas_Creator 1. 6. 1 (TB map Creator); [0067] run Trebuddy Atlas Creator in the start, cmd; [0068] to download the selected area; concrete can be selected with the mouse. [0069] 在左上角的map source (地图资源)里面,选择源为谷歌地图;[0070] 在Atlas Content (地图目录)里面,点击Add selection (增加选择项),在Atlas Setting (地图设置)选择Bigplanet SQLite 格式;[0071] 点击Mve profiles (保存配置)下面的Crea teatlas (创建地图集)按钮,开始下载地图;[0072] 下载完毕后,Trebuddy Atlas Creator目录下的atlases (地图集)里会有一个BigPlanet_maps. sqlitedb,将其存放到指定的目录。 [0069] In the upper left corner of the map source (map resources) inside, select the source for the Google Maps; [0070] in Atlas Content (map directory) inside, click on the Add selection (increase option), (map settings) Select Atlas Setting Bigplanet SQLite format; [0071] click Mve profiles (save configuration) the following Crea teatlas (create atlas) button to start downloading maps; after [0072] the download is complete, atlases (Atlas) under the directory will be Trebuddy Atlas Creator a BigPlanet_maps. sqlitedb, which is stored in the specified directory. [0073] 通过上述下载过程就将在线谷歌地图的图片下载到了指定的地方,如手机的路测软件中。 [0073] Through the above process will be online to download Google Maps images downloaded to the designated place, such as mobile phones drive test software. 之后就可以使用下载后的图片进行路测。 Then you can use the images after downloading the road test. 当然,上述下载过程只是本发明中的一个具体应用实例,不构成对本发明下载过程的限制。 Of course, the above-described download process is only a specific application example of the present invention, the download process is not intended to limit the present invention. [0074] 为了用户使用方便,现在的在线地图都是以分层分块的方式存储地图图片的。 [0074] For user convenience, the online map is now in a hierarchical block of stored map image. 分层即对地图数据进行抽稀处理。 I.e. hierarchical map data thinning process. 其实质是根据需要显示的内容详尽程度对地图数据的纵向划分。 Its essence is the vertical division of the map data according to the level of detail the contents to be displayed. 当用户在小的屏幕上显示一个比较大的区域时,会因数据量太大而看不清。 When a user with a relatively large area on the small screen, due to too much data and not see. 这时只需较粗的数据就可以达到用户的要求。 Then just coarser data can reach the user's requirements. 根据用户的需求可以进行多级分层。 According to the user's needs can be a multi-stage stratified. 对数据抽稀的原则主要是数据要素的重要程度,另外还需要考虑各个层级所需要的数据量。 Principles of data thinning is mainly the importance of data elements, also we need to consider the amount of data required at all levels. 比如对整个北京市的地图数据进行分层,可以抽取所有地图数据中有关各城区的地图数据形成第一层, 抽取所有地图数据中有关各城区和各城区内各大公园及高校的地图数据形成第二层。 For example, the entire map data stratified Beijing, can be extracted form all the map data in the map data about each city forming a first layer, extract all map data in the map data about each city and major parks and universities in each city Second floor. 在具体的应用中,我们可以设置需要的层级数,经过这样的分层处理形成的是一个类似金字塔的数据序列,序列中的每一级都包含了全部空间物体范围中的数据,但在数据量上是逐级变化的。 In a particular application, we can set the number of levels desired, after such a forming process is a hierarchical pyramid-like data sequence, each sequence contains a data object in the entire range of the space, but the data the amount of change is gradual. [0075] 分层后的地图数据包含的数据量仍然很大,如果直接下载,那么不能快速的生成地图。 [0075] the amount of data contained in a hierarchical map data is still large, if the direct download, you can quickly generate a map. 因此需要进一步对地图数据进行分块处理。 Further it is necessary to map the data into blocks. 分块实际是根据空间分布对地图数据进行横向划分。 Block actually spatial distribution map data horizontal partitions. 具体的,可以以一定的地理跨度即经纬度范围作为划分标准。 Specifically, i.e. it may span a certain geographic range of latitude and longitude as the dividing criterion. 经纬度范围的大小根据所述经纬度范围内承载的数据量而定。 Coordinates size range depends on the amount of data carried within the range of latitude and longitude. 经纬度范围大小是和所分块的层级是相关的,不同的层级使用不同的跨度。 Longitude and latitude range and the size of the block level is relevant, different levels use different spans. [0076] 为快速查找对应的地图图片,需要按一定的格式对地图图片进行存储。 [0076] to quickly find the corresponding map images, you need to press a certain format for map images are stored. 在本发明的一个具体实施例中,可以按照图2所示的方式存储。 In one particular embodiment of the present invention may be stored in the manner shown in FIG. 其中字段名χ为地图的X轴编号,字段名y为地图的Y轴编号,字段名ζ为地图的放大级别,字段名image为地图的图片数据格式,如谷歌电子地图为PNG格式、谷歌卫星图为JPG格式。 Zoom level X-axis number which field names χ as maps, field name y is a map of Y-axis number, the field name ζ as maps, field names image for the map image data formats, such as Google Map to PNG format, Google satellite The picture shows the JPG format. 其中字段名χ和字段名y与经纬度范围相关联,用以标识所述地图图片的经纬度范围。 Wherein the field names and field names χ y longitude and latitude associated with a range, for identifying the latitude and longitude of the map image range. 比如一张地图图片的编号为χ = 105,y = 48, ζ = 10,image = PNG,说明这张图的放大级别为10级,地理跨度为χ = 105, y = 48的编号所标识的经纬度范围,图片格式为PNG格式。 Such as a map picture number for χ = 105, y = 48, ζ = 10, image = PNG, an enlarged diagram of this level 10, the geographic span χ = 105, y = 48 number of identified latitude and longitude range, image formats PNG format. [0077] 当地图图片数据按照上述分层分块的形式保存时,在本发明的实施例3中,参见图3,步骤S3具体包括:[0078] S31、分析所述查询请求的对应层和对应块。 When [0077] the map image data stored in the form of the above-described block division, in Example 3 of the present invention, referring to FIG. 3, step S3 comprises: [0078] S31, the corresponding layers and analyzing the query request corresponding block. [0079] 假设当前图片的编号为χ = 105, y = 48, ζ = 10,当用户点击了放大按钮,且点击了当前图片一次时,用户希望查询的是当前图片放大一级后的图片。 [0079] Suppose the current picture number χ = 105, y = 48, ζ = 10, when the user clicks the zoom-in button, and when the current picture is clicked once, the user query is desirable to enlarge the current picture level. 即查询请求的对应层为ζ = 9,对应块为ζ = 9中的图片中包含了当前图片经纬度范围的图片。 I.e., the corresponding layers query request is ζ = 9, the corresponding block is included in a picture ζ = 9 latitude and longitude of the current image range of the image. 如在ζ = 9的图片中χ = 210,y = 96 ;x = 210,y = 97 ;x = 211,y = 96 ;x = 211,y = 97 的四张图片所包含的经纬度范围与当前图片χ = 105,y = 48的经纬度范围相同,那么该查询请求的对应块就为上述四张图片。 As the image ζ = 9 χ = 210, y = 96; x = 210, y = 97; x = 211, y = 96; x = 211, y = 97 range of latitude and longitude of four images included in the current image χ = 105, y = 48, the same range of latitude and longitude, then the query request block corresponding to the above-described four image. [0080] S32、输出所述地图图片中与所述对应层和对应块相匹配的地图图片。 [0080] S32, the map image with the output layer and the corresponding block corresponding to the matched map image. [0081] 具体的,就可以从数据库中获取上述四张图片进行组合,生成一张大的图片进行输出。 [0081] Specifically, the above-mentioned four images can be acquired from the database are combined to generate a large output picture. 因为ζ = 9的图片包含的数据量详尽,因此,输出的图片能显示更为详细的地理信息。 Because ζ = the amount of data included detailed picture 9, therefore, the output of the picture to show more detailed geographic information. [0082] 相同的道理,当接收到用户对当前图片的缩小请求时,会分析缩小请求的对应层和对应块,从对应层的图片中查找经纬度范围相同的图片进行输出。 [0082] the same token, when receiving a user request for a reduction in the current picture, analyzes the corresponding block layer and the corresponding reduction request, look the same latitude and longitude output from the range image corresponding to the image layer. [0083] 由于受到国家一些法律法规限制,所有的电子地图服务提供商都需要在地图数据上加上偏移。 [0083] Due to the limitations of some national laws and regulations, all electronic map service providers need to add offset on the map data. 即运用一个偏移算法对地图数据的经纬度做一个加减偏移量,从而与实际地图不一致。 That offset algorithm using a latitude and longitude map data to make an offset addition and subtraction, which is inconsistent with the actual map. [0084] 因此,直接在路测软件中使用下载的电子地图会有一定的误差。 [0084] Thus, the use downloaded directly drive test software, electronic map there will be some errors. 为更准确的呈现路测轨迹和地理信息,参见图4,在本发明的实施例4中,在输出所述地图图片中与所述查询请求相匹配的地图图片之前,所述方法还包括:[0085] S41、在预存的偏移量数据中查找与所述地图图片中的地图数据对应的偏移量数据;[0086] S42、根据所述偏移量数据校正所述地图数据。 Before presenting a more accurate trajectory and geographic information DT, see FIG. 4, in Example 4 of the present invention, the output of the map image in the query request matches the map image, said method further comprising: [0085] S41, the stored offset to find the data of the offset data in the map image corresponding to map data; [0086] S42, the data based on the offset correction of the map data. [0087] 步骤S3具体为输出校正后的地图图片。 [0087] Step S3 specifically map outputting corrected images. [0088] 偏移量数据的数据量特别大,直接在下载后的偏移量数据中查找对应的数据需要较长的时间,为加快查找速度,可以建立偏移量数据的索引文件,具体的,可以通过如下过程建立:[0089] 从互联网上获取地图数据的偏移量数据。 [0088] The data amount of offset of the data is particularly large, to find the corresponding data takes a long time, to accelerate the search speed and to be indexed file offset in the offset data directly download the data, particularly the It can be established by the following procedure: [0089] offset data acquired from the map data on the Internet. 在获取偏移量数据时,可以根据用户的需求下载部分偏移量数据,如每隔0. 01个经纬度取一次偏移量数据。 When acquiring offset data, offset part can be downloaded data according to the needs of users, taken as 0.01 Coordinates offset data every time. 当然,如果需要较高的精度,可以每隔更小的经纬度甚至将全部的偏移量数据下载下来,也可以每隔较大的经纬度取一次偏移量。 Of course, if a higher accuracy, even all of the data is downloaded every offset less latitude and longitude, latitude and longitude can take a larger offset intervals. 本发明不作具体限制。 The present invention is not particularly limited. [0090] 按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件。 [0090] by the offset data corresponding to the latitude and longitude offsets establishing the index file data. [0091] 步骤S41具体为根据所述地图数据的经纬度在所述索引文件中查找与所述地图数据对应的偏移量数据。 [0091] Step S41 is to find the particular index file latitude and longitude of the map data and the offset data corresponding to the map data. [0092] 在本发明的优选实施例中,可以按所述偏移量数据对应的经纬度将所述偏移量数据保存至对应的文件,将所述文件的文件名与所述经纬度相关联,建立索引文件。 [0092] In a preferred embodiment of the present invention, may be offset by the longitude and latitude data corresponding to the stored offset data to the corresponding file, the file name of the file associated with the latitude and longitude, indexing files. 在查找偏移量数据时,就可以根据所述地图数据的经纬度查找对应的文件名,再根据所述文件名确定对应的文件并从所述文件中获取所述地图数据对应的偏移量数据。 When looking for deviation amount data, you can search for a corresponding file name based on latitude and longitude of the map data, and then determine the corresponding file according to the file name, and acquires the map data corresponding to the offset data from the file . [0093] 本发明实施例5中,以每隔0. 01个经纬度取一次偏移量所获取的全国范围内的近1000万条偏移量数据为例,将近1000万条偏移量数据按照经纬度从小到大的顺序平分为900份,将900份数据存入900个文件中,每个文件中有10000条偏移量数据。 Embodiment [0093] 5 embodiment of the present invention, to nearly 10 million every offset of the data nationwide 0.01 to take time offset latitude acquired, for example, nearly 10 million offset data in accordance with latitude and longitude in ascending order of levels divided into 900 parts, to 900 parts of data file 900 is stored in each file has 10,000 offset data. 将900个文件对应的经纬度和所述文件的文件名关联起来,存入索引文件,供900个索引。 The association file 900 corresponding to the latitude and longitude of the file name and up into the index file, the index for the 900. 其中一个索引的结构如图5所示,其最小经度为7366,最大经度为8366,最小纬度为3932,最大纬度为4932,文件名为offsetdatal. dat。 Wherein an index structure shown in FIG. 5, 7366 which is the minimum longitude, maximum longitude of 8366, 3932 the minimum latitude, maximum latitude 4932, file name offsetdatal. Dat. 若需要获取的偏移量数据对应的经度为7389,纬度为3940,那么就现在索引文件中检索到对应的文件offsetdatal. dat,接着在offsetdatal. dat的中进行检索即可。 If the offset of the data needs to be acquired corresponding to 7389 longitude, latitude 3940, it will retrieve the current index file to the corresponding file offsetdatal. Dat, can then be retrieved in offsetdatal. In the dat. 这样的方式查找次数最多为900+10000 = 10900次,很大程度上提高了检索的效率。 Finding such a way that the highest number of 900 + 10000 = 10900 times, greatly improve the efficiency of retrieval. [0094] 参见图6,本发明实施例6还提供了一种设备,所述设备包括:[0095] 第一保存单元11,用于保存从互联网上下载的地图图片;[0096] 接收单元12,用于接收用户的查询请求;[0097] 输出单元13,用于输出所述地图图片中与所述查询请求相匹配的地图图片。 [0094] Referring to Figure 6, embodiment 6 of the present invention further provides an apparatus, the apparatus comprising: [0095] The first storage unit 11, for storing downloaded from the Internet map image; [0096] The receiving unit 12 , for receiving a user query request; [0097] the output unit 13 for outputting the map image in the query request matches the map image. [0098] 在本发明的优选实施例中,所述第一保存单元11,还用于以分层分块的形式保存所述地图图片。 [0098] In a preferred embodiment of the present invention, the first holding unit 11 is further configured to save a hierarchical block of the map image. [0099] 所述输出单元13包括:[0100] 分析单元,用于分析所述查询请求的对应层和对应块;[0101] 输出子单元,用于输出所述地图图片中与所述对应层和对应块相匹配的地图图片。 [0099] The output unit 13 comprises: [0100] analysis unit for analyzing the layer corresponding to the query request and the corresponding block; [0101] sub-unit output for outputting the map image with the corresponding layers and corresponding block match the map image. [0102] 由于受到国家一些法律法规限制,所有的电子地图服务提供商都需要在地图数据上加上偏移。 [0102] Due to the limitations of some national laws and regulations, all electronic map service providers need to add offset on the map data. 即运用一个偏移算法对地图数据的经纬度做一个加减偏移量,从而与实际地图不一致。 That offset algorithm using a latitude and longitude map data to make an offset addition and subtraction, which is inconsistent with the actual map. [0103] 因此,直接在路测软件中使用下载的电子地图会有一定的误差。 [0103] Thus, the use downloaded directly drive test software, electronic map there will be some errors. 为更准确的呈现路测轨迹和地理信息,所述设备还包括:[0104] 第一获取单元,用于在预存的偏移量数据中获取与所述地图图片中的地图数据对应的偏移量数据;[0105] 校正单元,用于根据所述偏移量数据校正所述地图数据的偏移量;[0106] 所述输出单元13,还用于输出校正后的地图图片。 Presenting a more accurate trajectory and geographic information DT, said apparatus further comprising: [0104] a first acquiring unit for acquiring the map data corresponding to a pre-stored offset data to the offset image map data volume; [0105] correction unit for correcting the offset data of the map data based on the offset; [0106] the output unit 13 is further configured to output the corrected map image. [0107] 偏移量数据的数据量特别大,直接在下载后的偏移量数据中查找对应的数据需要较长的时间,为加快查找速度,可以建立偏移量数据的索引文件,为此,在本发明的优选实施例中,所述设备还包括:[0108] 第二获取单元,用于从互联网上获取所述地图数据的偏移量数据;[0109] 第一索引单元,用于按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件;[0110] 所述第一获取单元,还用于根据所述地图数据的经纬度在所述索引文件中获取与所述地图数据对应的偏移量数据。 The amount of data [0107] offset of the data is particularly large, to find the corresponding data takes a long time to accelerate the search speed, you can create an index file offset data directly in the offset data download, for which in a preferred embodiment of the present invention, the apparatus further comprises: [0108] a second obtaining unit, configured to obtain the offset data from the map data on the Internet; [0109] first index means for by the offset data corresponding to the latitude and longitude data establishing the index file offset; [0110] the first obtaining unit is further configured to obtain the index file in accordance with the latitude and longitude of the map data by the map data corresponding to said offset data. [0111] 具体的,在本发明的另一优选实施例中,所述第一索引单元包括:[0112] 第二保存单元,用于按所述偏移量数据对应的经纬度将所述偏移量数据保存至对应的文件;[0113] 第二索引单元,用于将所述文件的文件名与所述经纬度相关联,建立索引文件;[0114] 所述第一获取单元包括:[0115] 查找单元,用于根据所述地图数据的经纬度查找对应的文件名;[0116] 第三获取单元,用于根据所述文件名确定对应的文件并从所述文件中获取所述地图数据对应的偏移量数据。 [0111] Specifically, in another preferred embodiment of the present invention, the first index unit comprises: [0112] a second storage unit, according to the longitude and latitude offset data corresponding to the offset corresponding to the amount of data stored to a file; [0113] second index means for the file name of the file associated with latitude and longitude, index file; [0114] the first acquiring unit comprises: [0115] searching unit configured to search for a corresponding latitude and longitude of the map data file name; [0116] third obtaining unit, for determining the file according to the file name corresponding to the map data, and acquires the file from the corresponding offset data. [0117] 值得注意的是,本发明的设备与本发明的方法相对应,因此对设备部分不再详述, 相关部分参见方法实施例即可。 [0117] Notably, the method and apparatus of the present invention correspond to the present invention, and therefore not described in detail part of the apparatus, for example, to the relevant part of the method embodiments. [0118] 以上对本发明所提供的一种在无线路测软件中使用地图的方法及设备进行了介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。 [0118] than using a map in a wireless drive test software to one of the present invention provides methods and apparatus have been described herein through specific examples of the principles of the invention and embodiments are set forth in the above embodiment will be described only used to help understand the method and core idea of ​​the present invention; while those of ordinary skill in the art, according to the ideas of the present invention, in the embodiments and application scopes change place. 综上所述,本说明书内容不应理解为对本发明的限制。 Therefore, the specification shall not be construed as limiting the present invention.

Claims (10)

  1. 1. 一种在无线路测软件中使用地图的方法,其特征在于,所述方法包括: 保存从互联网上下载的地图图片;接收用户的查询请求;输出所述地图图片中与所述查询请求相匹配的地图图片。 A map used in a wireless drive test software, characterized in that, the method comprising: downloading from the Internet to save a map image; receiving a user's query request; and outputting the map image in the query request match the map image.
  2. 2.根据权利要求所述的方法,其特征在于,所述地图图片以分层分块的形式保存; 所述输出所述地图图片中与所述查询请求相匹配的地图图片包括:分析所述查询请求的对应层和对应块;输出所述地图图片中与所述对应层和对应块相匹配的地图图片。 2. A method according to claim, wherein the map image stored in a hierarchical block form; the output of the map image in the query matches the request map images comprises: analyzing the layer and the corresponding block corresponding to the query request; an output image with the map layer and the corresponding block corresponding to the matched map image.
  3. 3.根据权利要求1所述的方法,其特征在于,在输出所述地图图片中与所述查询请求相匹配的地图图片之前,所述方法还包括:在预存的偏移量数据中查找与所述地图图片中的地图数据对应的偏移量数据; 根据所述偏移量数据校正所述地图数据;所述输出所述地图图片中与所述查询请求相匹配的地图图片包括: 输出校正后的地图图片。 3. The method according to claim 1, characterized in that, prior to the output of the map image in the query request matches the map image, the method further comprises: pre-stored in a lookup data and offset the map data corresponding to the offset data in the map image; based on the offset correction data of the map data; the output of the map image in the query matches the request map images comprises: a correction output after the map image.
  4. 4.根据权利要求3所述的方法,其特征在于,所述方法还包括: 从互联网上获取地图数据的偏移量数据;按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件;所述在预存的偏移量数据中查找与所述地图数据对应的偏移量数据包括:根据所述地图数据的经纬度在所述索引文件中查找与所述地图数据对应的偏移量数据。 4. The method according to claim 3, characterized in that, said method further comprising: acquiring offset data from the map data on the Internet; by the offset data corresponding to the latitude and longitude data establishing the offset index file; find the map data corresponding to the offset data includes pre-stored offset in the data: Find the map data corresponding to the bias in the index file in accordance with the latitude and longitude of the map data shift the amount of data.
  5. 5.根据权利要求4所述的方法,其特征在于,所述按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件包括:按所述偏移量数据对应的经纬度将所述偏移量数据保存至对应的文件; 将所述文件的文件名与所述经纬度相关联,建立索引文件;所述根据所述地图数据的经纬度在所述索引文件中查找与所述地图数据对应的偏移量数据包括:根据所述地图数据的经纬度查找对应的文件名;根据所述文件名确定对应的文件并从所述文件中获取所述地图数据对应的偏移量数据。 The method according to claim 4, wherein said offset data by the latitude and longitude corresponding to the index offset data file comprises: by the offset data corresponding to the latitude and longitude storing the offset data corresponding to the file; the file name of the file associated with the latitude and longitude, index file; the lookup with the map index file in the latitude and longitude of the map data data corresponding to the offset data comprising: search for a corresponding file name based on latitude and longitude of the map data; determining corresponding file according to the file name, and acquires the map data corresponding to the offset data from the file.
  6. 6. 一种设备,其特征在于,所述设备包括:第一保存单元,用于保存从互联网上下载的地图图片; 接收单元,用于接收用户的查询请求;输出单元,用于输出所述地图图片中与所述查询请求相匹配的地图图片。 6. An apparatus, characterized in that said apparatus comprises: a first storage unit for storing downloaded from the Internet map image; receiving means for receiving a user query request; an output means for outputting said Maps and pictures that match the query request map images.
  7. 7.根据权利要求6所述的设备,其特征在于,所述第一保存单元,还用于以分层分块的形式保存所述地图图片;所述输出单元包括:分析单元,用于分析所述查询请求的对应层和对应块;输出子单元,用于输出所述地图图片中与所述对应层和对应块相匹配的地图图片。 7. The apparatus according to claim 6, wherein said first storage unit is further configured to store a hierarchical block of said map picture; the output unit comprises: an analysis unit for analyzing layer corresponding to the query request and the corresponding block; outputting subunit for outputting the map image and the corresponding block in the layer corresponding to the matched map image.
  8. 8.根据权利要求6所述的设备,其特征在于,所述设备还包括:第一获取单元,用于在预存的偏移量数据中获取与所述地图图片中的地图数据对应的偏移量数据;校正单元,用于根据所述偏移量数据校正所述地图数据的偏移量; 所述输出单元,还用于输出校正后的地图图片。 8. The apparatus according to claim 6, characterized in that said apparatus further comprises: a first acquisition unit for acquiring the map data corresponding to a pre-stored offset data to the offset image map data amount; correcting unit for correcting the offset amount of the offset data of the map data; the output unit is further configured to output the corrected map image.
  9. 9.根据权利要求8所述的设备,其特征在于,所述设备还包括: 第二获取单元,用于从互联网上获取所述地图数据的偏移量数据;第一索引单元,用于按所述偏移量数据对应的经纬度建立所述偏移量数据的索引文件;所述第一获取单元,还用于根据所述地图数据的经纬度在所述索引文件中获取与所述地图数据对应的偏移量数据。 9. The apparatus of claim 8, wherein said apparatus further comprises: a second acquisition unit for acquiring the offset data from the map data on the Internet; a first indexing means configured to press the offset data corresponding to the latitude and longitude index offset data file; the first obtaining unit is further configured to obtain the map data corresponding to the index file in accordance with the latitude and longitude of the map data offset data.
  10. 10.根据权利要求9所述的设备,其特征在于,所述第一索引单元包括:第二保存单元,用于按所述偏移量数据对应的经纬度将所述偏移量数据保存至对应的文件;第二索引单元,用于将所述文件的文件名与所述经纬度相关联,建立索引文件; 所述第一获取单元包括:查找单元,用于根据所述地图数据的经纬度查找对应的文件名; 第三获取单元,用于根据所述文件名确定对应的文件并从所述文件中获取所述地图数据对应的偏移量数据。 10. The apparatus according to claim 9, wherein said first indexing unit comprises: a second storage unit, according to the longitude and latitude offset data corresponding to the stored offset data to the corresponding document; second index unit for file name of the file associated with the latitude and longitude, index file; the first acquiring unit comprises: a searching unit configured to search for a corresponding latitude and longitude of the map data filename; third obtaining unit, for determining a corresponding file according to the file name, and acquires the map data corresponding to the offset data from the file.
CN 201110409959 2011-12-09 2011-12-09 Using method of map in wireless road test software and equipment CN102495893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110409959 CN102495893A (en) 2011-12-09 2011-12-09 Using method of map in wireless road test software and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110409959 CN102495893A (en) 2011-12-09 2011-12-09 Using method of map in wireless road test software and equipment

Publications (1)

Publication Number Publication Date
CN102495893A true true CN102495893A (en) 2012-06-13

Family

ID=46187718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110409959 CN102495893A (en) 2011-12-09 2011-12-09 Using method of map in wireless road test software and equipment

Country Status (1)

Country Link
CN (1) CN102495893A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050129A1 (en) * 2005-08-31 2007-03-01 Microsoft Corporation Location signposting and orientation
CN101169327A (en) * 2006-10-25 2008-04-30 高德软件有限公司 Information searching device
CN101794316A (en) * 2010-03-30 2010-08-04 高翔;厉敬东 Real-scene status consulting system and coordinate offset method based on GPS location and direction identification
CN101877013A (en) * 2005-12-08 2010-11-03 德卡尔塔公司 High accuracy Internet local search
CN102184228A (en) * 2011-05-11 2011-09-14 武汉虹信通信技术有限责任公司 Map data processing method in road test system and device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050129A1 (en) * 2005-08-31 2007-03-01 Microsoft Corporation Location signposting and orientation
CN101877013A (en) * 2005-12-08 2010-11-03 德卡尔塔公司 High accuracy Internet local search
CN101169327A (en) * 2006-10-25 2008-04-30 高德软件有限公司 Information searching device
CN101794316A (en) * 2010-03-30 2010-08-04 高翔;厉敬东 Real-scene status consulting system and coordinate offset method based on GPS location and direction identification
CN102184228A (en) * 2011-05-11 2011-09-14 武汉虹信通信技术有限责任公司 Map data processing method in road test system and device thereof

Similar Documents

Publication Publication Date Title
Haklay et al. Openstreetmap: User-generated street maps
Turner Introduction to neogeography
US7353114B1 (en) Markup language for an interactive geographic information system
US20120194547A1 (en) Method and apparatus for generating a perspective display
US7162470B2 (en) Contextual search interface for business directory services
US20110074811A1 (en) Map Layout for Print Production
US20120221552A1 (en) Method and apparatus for providing an active search user interface element
US20120042036A1 (en) Location and contextual-based mobile application promotion and delivery
US20110292231A1 (en) System for managing privacy of digital images
US20070250477A1 (en) Ranking and Clustering of Geo-Located Objects
US20130232006A1 (en) Filtered Search Query Data for Context and User Intent within a Location-Based Search Engine
US7617246B2 (en) System and method for geo-coding user generated content
US20070173956A1 (en) System and method for presenting geo-located objects
US20120109944A1 (en) Location-based recommendations
JP2008033755A (en) Method and system for retrieving data with position information added thereto
CN101358851A (en) Method for navigating data in local caching, system and customer terminal device
CN102123194A (en) Method for optimizing mobile navigation and man-machine interaction functions by using augmented reality technology
CN101346000A (en) System for providing local mobile geographic information service based on GPS and mobile terminal
US20120271848A1 (en) Dynamic Highlighting of Geographic Entities on Electronic Maps
US20120124125A1 (en) Automatic journal creation
CN102819530A (en) Method and device for displaying electronic map
US20130086077A1 (en) Method and Apparatus for Associating Commenting Information with One or More Objects
CN1556481A (en) Map browsing apparatus realizing method faced large scale space informations
CN101271473A (en) Data query method, device and system
US7840344B2 (en) Accessing content via a geographic map

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C12 Rejection of a patent application after its publication