CN104239754A - Method and device for processing indoor electronic map - Google Patents
Method and device for processing indoor electronic map Download PDFInfo
- Publication number
- CN104239754A CN104239754A CN201410452804.5A CN201410452804A CN104239754A CN 104239754 A CN104239754 A CN 104239754A CN 201410452804 A CN201410452804 A CN 201410452804A CN 104239754 A CN104239754 A CN 104239754A
- Authority
- CN
- China
- Prior art keywords
- indoor electronic
- electronic map
- map
- key
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 25
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000012937 correction Methods 0.000 claims description 65
- 230000003716 rejuvenation Effects 0.000 claims 4
- 230000008901 benefit Effects 0.000 abstract description 4
- 239000000047 product Substances 0.000 description 61
- 238000013475 authorization Methods 0.000 description 11
- 238000003672 processing method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及无线定位技术领域,特别涉及一种室内电子地图处理方法和装置。The invention relates to the technical field of wireless positioning, in particular to an indoor electronic map processing method and device.
背景技术Background technique
电子地图,是利用计算机技术,以数字方式存储和查阅的地图。用户可以通过在移动终端上安装的电子地图查找各种场所和位置、以及查找一些出行的路线。现在有越来越多的电子地图不仅可以在室外对用户进行定位,也可以在室内(如:大型商场、博物馆)对用户进行定位。An electronic map is a map stored and consulted digitally using computer technology. Users can find various places and locations, and find some travel routes through the electronic map installed on the mobile terminal. Now there are more and more electronic maps that can not only locate users outdoors, but also locate users indoors (such as large shopping malls and museums).
现有的利用室内电子地图对用户进行室内定位的方案,是通过移动终端设置的室内定位模块获取用户的室内位置信息,然后将用户的室内位置信息转换成室内电子地图的坐标,最后将转换形成的坐标显示在室内电子地图上,完成用户在室内电子地图上的定位。The existing solution for indoor positioning of users by using indoor electronic maps is to obtain the user's indoor location information through the indoor positioning module installed on the mobile terminal, and then convert the user's indoor location information into the coordinates of the indoor electronic map, and finally convert the converted into The coordinates are displayed on the indoor electronic map to complete the user's positioning on the indoor electronic map.
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art:
现有的室内电子地图包含复杂的路径、楼层、物品以及关联信息,开发难度大和成本高,所以室内电子地图的制作厂商规定只有购买室内电子地图服务的授权用户才能使用室内电子地图,但是在室内电子地图的使用过程中却没有对用户是否是授权用户进行验证的措施,使得现有室内电子地图的用户绝大部分都在无授权的情况下非法使用室内电子地图,这大大损害了室内电子地图制作厂商和授权用户的利益。Existing indoor electronic maps contain complex routes, floors, items and related information, which are difficult to develop and costly. Therefore, manufacturers of indoor electronic maps stipulate that only authorized users who purchase indoor electronic map services can use indoor electronic maps. However, in indoor In the process of using the electronic map, there is no measure to verify whether the user is an authorized user, so that most of the existing indoor electronic map users illegally use the indoor electronic map without authorization, which greatly damages the indoor electronic map. Benefits of Manufacturers and Authorized Users.
发明内容Contents of the invention
为了解决现有技术的问题,本发明实施例提供了一种室内电子地图处理方法和装置。所述技术方案如下:In order to solve the problems in the prior art, embodiments of the present invention provide a method and device for processing an indoor electronic map. Described technical scheme is as follows:
第一方面,本发明实施例提供了一种室内电子地图处理方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for processing an indoor electronic map, the method comprising:
获取预先存储的用户密钥、服务密钥和地图产品密钥,所述室内电子地图是坐标偏移的室内电子地图;Obtain the pre-stored user key, service key and map product key, the indoor electronic map is an indoor electronic map with offset coordinates;
根据获取的所述用户密钥、所述服务密钥和所述地图产品密钥,对坐标偏移的所述室内电子地图进行坐标纠偏操作;According to the obtained user key, the service key and the map product key, perform a coordinate deviation correction operation on the indoor electronic map whose coordinates are offset;
在完成坐标纠偏操作的所述室内电子地图上显示用户所在位置。The location of the user is displayed on the indoor electronic map after the coordinate deviation correction operation is completed.
优选地,所述根据获取的所述用户密钥、所述服务密钥和所述地图产品密钥,对所述室内电子地图进行坐标纠偏操作步骤,包括:Preferably, the step of correcting the coordinates of the indoor electronic map according to the obtained user key, the service key and the map product key includes:
根据获取的所述用户密钥、所述服务密钥和所述地图产品密钥,对包括所述室内电子地图坐标偏移量的加密数据进行解密操作,得到所述室内电子地图的坐标偏移量;According to the obtained user key, the service key and the map product key, decrypt the encrypted data including the coordinate offset of the indoor electronic map to obtain the coordinate offset of the indoor electronic map quantity;
对解密得到的所述室内电子地图的坐标偏移量进行取负操作,得到坐标纠偏量;Negative operation is performed on the coordinate offset of the indoor electronic map obtained by decryption to obtain the coordinate correction amount;
根据得到的所述坐标纠偏量对坐标偏移的所述室内电子地图进行坐标纠偏操作。A coordinate deviation correction operation is performed on the indoor electronic map whose coordinates have shifted according to the obtained coordinate deviation correction amount.
优选地,所述方法还包括:Preferably, the method also includes:
向用于下发地图更新数据的服务器发送地图更新请求信息,所述地图更新请求信息包括:用于所述服务器对所述室内电子地图进行鉴权的鉴权信息;Send map update request information to a server for issuing map update data, where the map update request information includes: authentication information for the server to authenticate the indoor electronic map;
接收所述服务器在根据接收到的所述鉴权信息确定所述室内电子地图鉴权通过时发送的地图更新数据;receiving the map update data sent by the server when determining that the indoor electronic map has passed the authentication according to the received authentication information;
根据接收到的所述服务器发送的地图更新数据,更新所述室内电子地图。The indoor electronic map is updated according to the received map update data sent by the server.
优选地,所述室内电子地图的鉴权信息包括:所述用户密钥和所述地图产品密钥的绑定信息。Preferably, the authentication information of the indoor electronic map includes: binding information of the user key and the map product key.
第二方面,本发明实施例提供了一种室内电子地图处理装置,所述装置包括:In a second aspect, an embodiment of the present invention provides an indoor electronic map processing device, the device comprising:
获取模块,用于获取预先存储的用户密钥、服务密钥和地图产品密钥,所述室内电子地图是坐标偏移的室内电子地图;An acquisition module, configured to acquire pre-stored user key, service key and map product key, the indoor electronic map is an indoor electronic map with offset coordinates;
处理模块,用于根据获取的所述用户密钥、所述服务密钥和所述地图产品密钥,对坐标偏移的所述室内电子地图进行坐标纠偏操作;A processing module, configured to perform a coordinate deviation correction operation on the indoor electronic map whose coordinates are offset according to the obtained user key, the service key and the map product key;
显示模块,用于在完成坐标纠偏操作的所述室内电子地图上显示用户所在位置。The display module is used to display the location of the user on the indoor electronic map after the coordinate deviation correction operation is completed.
优选地,所述处理模块,用于:Preferably, the processing module is used for:
根据获取的所述用户密钥、所述服务密钥和所述地图产品密钥,对包括所述室内电子地图坐标偏移量的加密数据进行解密操作,得到所述室内电子地图的坐标偏移量;According to the obtained user key, the service key and the map product key, decrypt the encrypted data including the coordinate offset of the indoor electronic map to obtain the coordinate offset of the indoor electronic map quantity;
对解密得到的所述室内电子地图的坐标偏移量进行取负操作,得到坐标纠偏量;Negative operation is performed on the coordinate offset of the indoor electronic map obtained by decryption to obtain the coordinate correction amount;
根据得到的所述坐标纠偏量对坐标偏移的所述室内电子地图进行坐标纠偏操作。A coordinate deviation correction operation is performed on the indoor electronic map whose coordinates have shifted according to the obtained coordinate deviation correction amount.
优选地,所述装置还包括:Preferably, the device also includes:
发送模块,用于向用于下发地图更新数据的服务器发送地图更新请求信息,所述地图更新请求信息包括:用于服务器对所述室内电子地图进行鉴权的鉴权信息;A sending module, configured to send map update request information to a server for issuing map update data, where the map update request information includes: authentication information for the server to authenticate the indoor electronic map;
接收模块,用于接收所述服务器在根据接收到的所述鉴权信息确定所述室内电子地图鉴权通过时发送的地图更新数据;A receiving module, configured to receive map update data sent by the server when it is determined that the indoor electronic map is authenticated according to the received authentication information;
更新模块,用于根据接收到的所述服务器发送的地图更新数据,更新所述室内电子地图。An update module, configured to update the indoor electronic map according to the received map update data sent by the server.
优选地,所述室内电子地图的鉴权信息包括:所述用户密钥和所述地图产品密钥的绑定信息。Preferably, the authentication information of the indoor electronic map includes: binding information of the user key and the map product key.
第三方面,本发明实施例提供了一种室内电子地图处理装置,所述室内电子地图处理装置包括有存储器,处理器以及一个或者一个以上的程序,其中所述一个或者一个以上程序存储于所述存储器中,且经配置以由所述处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In the third aspect, the embodiment of the present invention provides an indoor electronic map processing device, the indoor electronic map processing device includes a memory, a processor and one or more programs, wherein the one or more programs are stored in the The one or more programs configured to be executed by the processor include instructions for:
获取预先存储的用户密钥、服务密钥和地图产品密钥,所述室内电子地图是坐标偏移的室内电子地图;Obtain the pre-stored user key, service key and map product key, the indoor electronic map is an indoor electronic map with offset coordinates;
根据获取的所述用户密钥、所述服务密钥和所述地图产品密钥,对坐标偏移的所述室内电子地图进行坐标纠偏操作;According to the obtained user key, the service key and the map product key, perform a coordinate deviation correction operation on the indoor electronic map whose coordinates are offset;
在完成坐标纠偏操作的所述室内电子地图上显示用户所在位置。The location of the user is displayed on the indoor electronic map after the coordinate deviation correction operation is completed.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:
本发明实施例提供的室内电子地图处理方法和装置,通过预先存储的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作,并在完成纠偏操作的室内电子地图上显示用户所在的位置,通过用户密钥、服务密钥和地图产品密钥对用户是否是授权用户进行验证;在室内电子地图的使用过程中,只有根据正确的用户密钥、服务密钥和地图产品密钥才能消除室内电子地图的坐标偏移,使授权用户使用消除了坐标偏移的室内电子地图进行准确定位;而通过错误的用户密钥、服务密钥和地图产品密钥不能消除室内电子地图的坐标偏移,所以无授权的用户在使用室内电子地图定位时室内电子地图不能对用户进行准确定位,从而尽可能避免了无授权用户对室内电子地图制作厂商和授权用户的利益侵害。The indoor electronic map processing method and device provided by the embodiments of the present invention use the pre-stored user key, service key and map product key to perform coordinate correction operations on indoor electronic maps with offset coordinates, and complete the correction operation The location of the user is displayed on the indoor electronic map, and whether the user is an authorized user is verified through the user key, service key and map product key; during the use of the indoor electronic map, only the correct user key, service key The key and map product key can eliminate the coordinate offset of the indoor electronic map, so that authorized users can use the indoor electronic map that eliminates the coordinate offset for accurate positioning; and through the wrong user key, service key and map product key The coordinate offset of the indoor electronic map cannot be eliminated, so when an unauthorized user uses the indoor electronic map to locate the user, the indoor electronic map cannot accurately locate the user, thus avoiding the interference of the unauthorized user on the indoor electronic map maker and the authorized user as much as possible infringement of interests.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例提供的室内电子地图处理方法所涉及的一种实施环境的结构示意图;FIG. 1 is a schematic structural diagram of an implementation environment involved in an indoor electronic map processing method provided by an embodiment of the present invention;
图2是本发明实施例一提供的室内电子地图处理方法流程图;Fig. 2 is a flowchart of an indoor electronic map processing method provided by Embodiment 1 of the present invention;
图3是本发明实施例二提供的室内电子地图处理方法流程图;Fig. 3 is a flow chart of an indoor electronic map processing method provided by Embodiment 2 of the present invention;
图4是本发明实施例二提供的室内电子地图处理方法中更新地图数据的流程图;Fig. 4 is a flow chart of updating map data in the indoor electronic map processing method provided by Embodiment 2 of the present invention;
图5是本发明实施例二提供的室内电子地图处理方法中更新地图数据时移动终端和服务器之间进行数据交互的示意图;5 is a schematic diagram of data interaction between a mobile terminal and a server when updating map data in the indoor electronic map processing method provided by Embodiment 2 of the present invention;
图6是本发明实施例三提供的室内电子地图处理装置结构示意图;FIG. 6 is a schematic structural diagram of an indoor electronic map processing device provided by Embodiment 3 of the present invention;
图7是本发明实施例四提供的室内电子地图处理装置结构示意图。Fig. 7 is a schematic structural diagram of an indoor electronic map processing device provided by Embodiment 4 of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参见图1,其示出了本发明实施例提供的虚拟机处理方法所涉及的一种实施环境的结构示意图,该环境包括:定位安全芯片100和与定位安全芯片100连接的存储装置110。Referring to FIG. 1 , it shows a schematic structural diagram of an implementation environment related to the virtual machine processing method provided by the embodiment of the present invention, the environment includes: a positioning security chip 100 and a storage device 110 connected to the positioning security chip 100 .
其中,定位安全芯片100可以是移动终端的处理器、也可以是移动终端中可以用于定位用户所在地点的协处理器或者微处理器、存储器或者总线、还可以是其他任意可以实现用户地点定位的装置,用于在将用户所在位置在室内电子地图上显示出来之前,根据移动终端中预先存储的用户密钥、服务密钥和地图产品密钥对加密的坐标偏移量进行解密,然后,根据解密得到的室内电子地图的坐标偏移量,对坐标偏移的室内电子地图进行坐标纠偏操作。Wherein, the positioning security chip 100 may be a processor of a mobile terminal, a coprocessor or a microprocessor, a memory or a bus in the mobile terminal that can be used to locate the user's location, or any other device that can realize the location of the user. The device is used to decrypt the encrypted coordinate offset according to the user key, service key and map product key pre-stored in the mobile terminal before displaying the user's location on the indoor electronic map, and then, According to the coordinate offset of the indoor electronic map obtained by decryption, a coordinate deviation correction operation is performed on the coordinate offset indoor electronic map.
存储装置110可以是移动终端中任意可以存储室内电子地图的装置,如移动终端本身自带的闪存芯片或者扩展存储卡。The storage device 110 can be any device in the mobile terminal that can store the indoor electronic map, such as a flash memory chip or an extended memory card that comes with the mobile terminal itself.
实施例一Embodiment one
参见图2,本发明实施例提供一种室内电子地图处理方法,方法流程包括:Referring to Fig. 2, an embodiment of the present invention provides a method for processing an indoor electronic map, and the method flow includes:
步骤200、获取预先存储的用户密钥、服务密钥和地图产品密钥,室内电子地图是坐标偏移的室内电子地图。Step 200. Acquire pre-stored user key, service key and map product key. The indoor electronic map is an indoor electronic map with offset coordinates.
其中,用户密钥,用于指示移动终端的用户是否获得室内电子地图的使用权限;服务密钥,用于表征下发室内电子地图给授权用户的运营商;地图产品密钥,用于在有更改地图的操作出现时,确定地图的更改者是否具有地图修改的权限。Among them, the user key is used to indicate whether the user of the mobile terminal has obtained the right to use the indoor electronic map; the service key is used to represent the operator who issued the indoor electronic map to the authorized user; the map product key is used to When an operation to change the map occurs, determine whether the changer of the map has permission to modify the map.
进一步地,用户密钥和服务密钥是通过密钥生成器生成的,地图产品密钥是将地图标识和用户密钥进行绑定而形成的。Furthermore, the user key and the service key are generated by a key generator, and the map product key is formed by binding the map identifier and the user key.
其中,坐标偏移的室内电子地图是运营商在授权用户购买室内地图时,根据预先设置的坐标偏移量,对室内电子地图进行坐标整体偏移得到的。Wherein, the coordinate-shifted indoor electronic map is obtained when the operator authorizes the user to purchase the indoor map by offsetting the overall coordinates of the indoor electronic map according to a preset coordinate shift amount.
步骤201、根据获取的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作。Step 201, according to the obtained user key, service key and map product key, perform coordinate deviation correction operation on the indoor electronic map with coordinate deviation.
具体地,为了对坐标偏移的室内电子地图进行纠偏操作,先通过获取的用户密钥、服务密钥和地图产品密钥对预先存储的包括坐标偏移量的加密数据进行解密,然后对解密得到的坐标偏移量取负,得到坐标纠偏量,最后根据得到的坐标纠偏量,对坐标偏移的室内电子地图的坐标系进行移动,完成对坐标偏移的室内电子地图的纠偏操作。Specifically, in order to correct the deviation of the indoor electronic map whose coordinates are offset, firstly, the encrypted data stored in advance including the coordinate offset is decrypted through the obtained user key, service key and map product key, and then the decrypted Negate the obtained coordinate offset to obtain the coordinate correction amount, and finally move the coordinate system of the coordinate-shifted indoor electronic map according to the obtained coordinate correction amount, and complete the correction operation for the coordinate-shifted indoor electronic map.
其中,在本实施例中,并不限制通过三个密钥计算坐标偏移量的方式,而上述的取负计算只是众多通过三个密钥计算坐标偏移量的方式中的一种,也可以采用现有的其他计算方法通过三个密钥计算坐标偏移量,这里不再一一赘述。Wherein, in this embodiment, the method of calculating the coordinate offset by three keys is not limited, and the above-mentioned negative calculation is only one of many ways of calculating the coordinate offset by three keys, and Other existing calculation methods can be used to calculate the coordinate offset through the three keys, which will not be repeated here.
步骤202、在完成坐标纠偏操作的室内电子地图上显示用户所在位置。Step 202, displaying the user's location on the indoor electronic map after the coordinate deviation correction operation has been completed.
具体地,预先获取用户的位置信息,然后将获取到的用户位置信息转换成室内电子地图的坐标信息,在完成坐标纠偏操作的室内电子地图上根据转换后的坐标信息显示用户的所在位置。Specifically, the user's location information is obtained in advance, and then the obtained user location information is converted into the coordinate information of the indoor electronic map, and the user's location is displayed on the indoor electronic map after the coordinate correction operation is completed according to the converted coordinate information.
通过以上描述,在室内电子地图的使用过程中,只有根据正确的用户密钥、服务密钥和地图产品密钥才能消除室内电子地图的坐标偏移,使授权用户使用消除了坐标偏移的室内电子地图进行准确定位;而通过错误的用户密钥、服务密钥和地图产品密钥不能消除室内电子地图的坐标偏移,所以无授权的用户在使用室内电子地图定位时室内电子地图不能对用户进行准确定位。Through the above description, in the process of using the indoor electronic map, only the correct user key, service key and map product key can eliminate the coordinate offset of the indoor electronic map, so that authorized users can use the indoor map without coordinate offset Accurate positioning of the electronic map; and the coordinate offset of the indoor electronic map cannot be eliminated through the wrong user key, service key and map product key, so the indoor electronic map cannot be used by unauthorized users to locate the user. for accurate positioning.
实施例二Embodiment two
参见图3,本发明实施例提供了一种室内电子地图处理方法,方法流程包括:Referring to Fig. 3, an embodiment of the present invention provides a method for processing an indoor electronic map, and the method flow includes:
步骤300、移动终端获取预先存储的用户密钥、服务密钥和地图产品密钥,室内电子地图是坐标偏移的室内电子地图。Step 300, the mobile terminal obtains the pre-stored user key, service key and map product key, and the indoor electronic map is an indoor electronic map with offset coordinates.
具体地,室内电子地图的用户在想要通过室内电子地图知道自己所在的位置时,通过移动终端的输入设备触发室内电子地图显示用户所在位置的指令,移动终端在获取到用户输入的在室内电子地图上显示用户所在位置的指令后,从预先存储用户密钥、服务密钥和地图产品密钥的数据库中获取用户密钥、服务密钥和地图产品密钥。Specifically, when the user of the indoor electronic map wants to know his location through the indoor electronic map, he triggers an instruction to display the user's location on the indoor electronic map through the input device of the mobile terminal. After the instruction to display the user's location on the map, the user key, service key and map product key are obtained from the database that stores the user key, service key and map product key in advance.
其中,移动终端的输入设备包括但不限于:按键、触摸屏和话筒。Wherein, the input device of the mobile terminal includes but not limited to: buttons, touch screen and microphone.
运营商先通过预先设置的坐标偏移量对未下发给用户的室内电子地图进行坐标偏移,在得到坐标偏移的室内电子地图后,利用加密算法通过用户密钥、服务密钥和地图产品密钥对室内电子地图的坐标偏移量进行加密,形成包括室内电子地图坐标偏移量的加密数据,最后将加密数据,以及用户密钥、服务密钥和地图产品密钥,和坐标偏移的室内电子地图发送给用户。用户的移动终端接收运营商发送的加密数据、密钥和室内电子地图,然后将加密数据和室内电子地图存储在存储装置中,将密钥保存在移动终端存储装置预先设置的数据库中。The operator first offsets the coordinates of the indoor electronic map that has not been delivered to the user through the preset coordinate offset. The product key encrypts the coordinate offset of the indoor electronic map to form encrypted data including the coordinate offset of the indoor electronic map. Finally, the encrypted data, as well as the user key, service key and map product key, and the coordinate offset The mobile indoor electronic map is sent to the user. The user's mobile terminal receives the encrypted data, key and indoor electronic map sent by the operator, and then stores the encrypted data and indoor electronic map in the storage device, and saves the key in a database preset in the mobile terminal storage device.
可选地,通过用户密钥、服务密钥和地图产品密钥生成坐标偏移量的方式并不限于上面的描述,运营商也可以采用其他现有的方式通过三个密钥生成坐标偏移量,这里不再一一赘述。Optionally, the method of generating the coordinate offset through the user key, service key and map product key is not limited to the above description, and the operator can also use other existing methods to generate the coordinate offset through the three keys quantity, and will not be repeated here.
步骤301、移动终端根据获取的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作。Step 301, the mobile terminal performs a coordinate deviation correction operation on the indoor electronic map with offset coordinates according to the acquired user key, service key and map product key.
具体地,步骤301的流程由步骤3011-步骤3013具体描述。Specifically, the process of step 301 is specifically described by steps 3011-3013.
步骤3011、移动终端根据获取的用户密钥、服务密钥和地图产品密钥,对被加密的室内电子地图的坐标偏移量进行解密操作,得到室内电子地图的坐标偏移量。Step 3011, the mobile terminal decrypts the encrypted coordinate offset of the indoor electronic map according to the acquired user key, service key and map product key, to obtain the coordinate offset of the indoor electronic map.
具体地,移动终端获取到用户密钥、服务密钥和地图产品密钥后,从自身设置的存储装置中获取包括室内电子地图坐标偏移量的加密数据,然后利用加密算法的逆算法通过用户密钥、服务密钥和地图产品密钥对包括室内电子地图的坐标偏移量的加密数据进行解密操作,得到室内电子地图的坐标偏移量。Specifically, after obtaining the user key, service key and map product key, the mobile terminal obtains the encrypted data including the coordinate offset of the indoor electronic map from its own storage device, and then uses the inverse algorithm of the encryption algorithm to pass the user The secret key, the service key and the map product key decrypt the encrypted data including the coordinate offset of the indoor electronic map to obtain the coordinate offset of the indoor electronic map.
其中,只有通过正确的用户密钥、服务密钥和地图产品密钥才能对加密数据进行解密,得到正确的室内电子地图的坐标偏移量;而通过错误的用户密钥、服务密钥和地图产品密钥对加密数据进行解密的话,是无法得到准确的坐标偏移量进行室内电子地图的纠偏操作的。Among them, only through the correct user key, service key and map product key can the encrypted data be decrypted, and the correct coordinate offset of the indoor electronic map can be obtained; and through the wrong user key, service key and map If the product key decrypts the encrypted data, it is impossible to obtain the accurate coordinate offset to correct the deviation of the indoor electronic map.
步骤3012、移动终端对解密得到的室内电子地图的坐标偏移量进行取负操作,得到坐标纠偏量。Step 3012, the mobile terminal performs a negative operation on the coordinate offset of the decrypted indoor electronic map to obtain the coordinate correction amount.
具体地,室内电子地图采用的坐标系一般是二维坐标系或者三维坐标系,那么坐标偏移量的形式一般是(X,Y)或者(X,Y,Z),那么移动终端取坐标偏移量中坐标值的负数形成坐标纠偏量(-X,-Y)或者(-X,-Y,-Z)。Specifically, the coordinate system used by the indoor electronic map is generally a two-dimensional coordinate system or a three-dimensional coordinate system, then the form of the coordinate offset is generally (X, Y) or (X, Y, Z), then the mobile terminal takes the coordinate offset The negative number of the coordinate value in the offset forms the coordinate correction amount (-X,-Y) or (-X,-Y,-Z).
其中,正确的室内电子地图的坐标偏移量可以得到消除室内电子地图坐标偏移的坐标纠偏量;而错误的室内电子地图的坐标偏移量只能得到不能消除室内电子地图坐标偏移的坐标纠偏量。Among them, the correct coordinate offset of the indoor electronic map can obtain the coordinate correction amount to eliminate the coordinate offset of the indoor electronic map; while the wrong coordinate offset of the indoor electronic map can only obtain the coordinates that cannot eliminate the coordinate offset of the indoor electronic map Correction amount.
步骤3013、移动终端根据得到的坐标纠偏量对坐标偏移的室内电子地图进行坐标纠偏操作。Step 3013, the mobile terminal performs a coordinate deviation correction operation on the indoor electronic map with coordinate deviations according to the obtained coordinate deviation correction amount.
具体地,移动终端在得到室内电子地图的坐标纠偏量后,对坐标偏移的室内电子地图的坐标系中的原点坐标移动坐标纠偏量((-X,-Y)或者(-X,-Y,-Z)),即:以室内电子地图的坐标系为二维直角坐标系为例:将二维直角坐标系原点坐标的横坐标移动-X,将二维直角坐标系原点坐标的纵坐标移动-Y后,就完成了对坐标偏移的室内电子地图的坐标纠偏操作。Specifically, after obtaining the coordinate correction amount of the indoor electronic map, the mobile terminal moves the coordinate correction amount ((-X, -Y) or (-X, -Y ,-Z)), that is, take the coordinate system of the indoor electronic map as a two-dimensional Cartesian coordinate system as an example: move the abscissa of the origin coordinate of the two-dimensional Cartesian coordinate system to -X, and move the vertical coordinate of the origin coordinate of the two-dimensional Cartesian coordinate system After moving -Y, the coordinate correction operation for the coordinate offset indoor electronic map is completed.
其中,对坐标偏移的室内电子地图来说,只有根据正确的坐标纠偏量进行的坐标纠偏操作才能消除室内电子地图的坐标偏移,而通过错误的坐标纠偏量进行的坐标纠偏操作是不能消除室内电子地图的坐标偏移的。Among them, for the indoor electronic map with coordinate deviation, only the coordinate deviation correction operation based on the correct coordinate deviation correction amount can eliminate the coordinate deviation of the indoor electronic map, but the coordinate deviation correction operation through the wrong coordinate deviation correction value cannot be eliminated The coordinates of the indoor electronic map are offset.
步骤302、移动终端在完成坐标纠偏操作的室内电子地图上显示用户所在位置。Step 302, the mobile terminal displays the user's location on the indoor electronic map after the coordinate deviation correction operation has been completed.
具体地,移动终端先通过预先设置的室内定位模块获取用户的位置信息,然后将获取到的用户位置信息转换成室内电子地图的坐标,最后将转换形成的坐标显示在室内电子地图上,完成在室内电子地图上显示用户所在位置的操作。Specifically, the mobile terminal first obtains the user's location information through the preset indoor positioning module, then converts the obtained user location information into the coordinates of the indoor electronic map, and finally displays the transformed coordinates on the indoor electronic map. The operation of displaying the user's location on the indoor electronic map.
其中,对于通过正确的用户密钥、服务密钥和地图产品密钥对室内电子地图进行坐标纠偏操作的授权用户来说,可以通过完成坐标纠偏操作的室内电子地图准确地显示用户自己所在位置;而对于通过不正确的用户密钥、服务密钥和地图产品密钥对室内电子地图进行坐标纠偏操作的用户来说,是不能通过完成坐标纠偏操作的室内电子地图准确地显示用户自己所在位置。Among them, for authorized users who perform coordinate correction operations on the indoor electronic map through the correct user key, service key and map product key, the user's own location can be accurately displayed through the indoor electronic map that has completed the coordinate correction operation; However, for users who perform coordinate correction operations on indoor electronic maps through incorrect user keys, service keys, and map product keys, the indoor electronic map that has completed coordinate correction operations cannot accurately display the user's own location.
在用户使用室内电子地图一段时间后,发现室内电子地图中缺乏一些建筑时间不长的地方的地图数据,使得室内电子地图不能在这些建筑时间不长的建筑中给用户提供室内定位服务或者路线服务。After using the indoor electronic map for a period of time, the user finds that the indoor electronic map lacks the map data of some places where the building has not been built for a long time, so that the indoor electronic map cannot provide users with indoor positioning services or route services in these buildings that have not been built for a long time .
进一步地,在本发明实施例中,参见图4,该室内电子地图处理方法还包括以下步骤:Further, in the embodiment of the present invention, referring to FIG. 4, the indoor electronic map processing method further includes the following steps:
步骤400、移动终端向用于下发地图更新数据的服务器发送地图更新请求信息,地图更新请求信息包括:用于服务器对室内电子地图进行鉴权的鉴权信息。Step 400, the mobile terminal sends map update request information to the server for issuing map update data, and the map update request information includes: authentication information for the server to authenticate the indoor electronic map.
具体地,用户想要对室内电子地图进行更新时,通过移动终端的输入设备触发室内电子地图更新指令,移动终端根据室内电子地图更新指令获取室内电子地图的信息生成室内电子地图鉴权信息,然后将室内电子地图鉴权信息加上更新请求信息的头部数据形成地图更新请求信息,最后将生成的地图更新请求信息发送到用于下发地图更新数据的服务器中。Specifically, when the user wants to update the indoor electronic map, the user triggers an indoor electronic map update instruction through the input device of the mobile terminal, and the mobile terminal obtains the information of the indoor electronic map according to the indoor electronic map update instruction to generate indoor electronic map authentication information, and then The indoor electronic map authentication information is added to the header data of the update request information to form map update request information, and finally the generated map update request information is sent to the server for issuing map update data.
其中,移动终端获取的室内电子地图的信息包括但不限于:地图标识、存储装置标识、用户密钥和地图产品密钥;地图标识预先设置在室内电子地图的统计信息中,存储装置标识预先设置在移动终端的系统信息中;室内电子地图的统计信息和移动终端的系统信息存储在移动终端的存储装置中;所以,移动终端在获取室内电子地图的信息时,从室内电子地图的统计信息中获取地图标识,从移动终端的系统信息中获取存储装置标识,从预先存储用户密钥、服务密钥和地图产品密钥的数据库中获取用户密钥和地图产品密钥。Wherein, the information of the indoor electronic map obtained by the mobile terminal includes but not limited to: map identification, storage device identification, user key and map product key; the map identification is preset in the statistical information of the indoor electronic map, and the storage device identification is preset In the system information of the mobile terminal; the statistical information of the indoor electronic map and the system information of the mobile terminal are stored in the storage device of the mobile terminal; The map identification is obtained, the storage device identification is obtained from the system information of the mobile terminal, and the user key and map product key are obtained from a database that pre-stores the user key, service key and map product key.
进一步地,对于不是第一次进行更新的室内电子地图,移动终端获取的室内电子地图的信息还包括上次更新标识;上次更新标识预先存储在室内电子地图的统计信息中,上次更新标识包括但不限于:上次更新是否成功、上次更新的时间和内容等数据。Further, for an indoor electronic map that is not updated for the first time, the information of the indoor electronic map acquired by the mobile terminal also includes the last update identifier; the last update identifier is pre-stored in the statistical information of the indoor electronic map, and the last update identifier Including but not limited to: whether the last update was successful, the time and content of the last update, and other data.
其中,室内电子地图的统计信息除了包括地图标识和上次更新标识外,还包括地图版本号、地图使用次数等与室内电子地图使用相关的信息。Wherein, the statistical information of the indoor electronic map includes not only the map logo and the last update logo, but also information related to the use of the indoor electronic map, such as the version number of the map and the number of times the map is used.
进一步地,将室内电子地图的信息中所包括的地图标识、存储装置标识、用户密钥、地图产品密钥和上次更新标识中的至少任意两项组成的绑定信息作为室内电子地图的鉴权信息。Further, the binding information composed of at least two items of the map identifier, the storage device identifier, the user key, the map product key and the last update identifier included in the information of the indoor electronic map is used as the authentication of the indoor electronic map. rights information.
可选地,室内电子地图的鉴权信息包括:用户密钥和地图产品密钥的绑定信息。Optionally, the authentication information of the indoor electronic map includes: binding information of the user key and the map product key.
步骤401、移动终端接收服务器在根据接收到的鉴权信息确定室内电子地图鉴权通过时发送的地图更新数据。Step 401, the mobile terminal receives the map update data sent by the server when it is determined that the indoor electronic map is authenticated according to the received authentication information.
具体地,在更新地图数据时,移动终端和服务器之间进行数据交互的示意图如图5所示,从图5中可以看出,移动终端将室内电子地图的鉴权信息发送给下发地图更新数据的服务器后,服务器先判断是否有地图更新,如果有,那么先获取预先存储的鉴权信息列表,查询鉴权信息列表中的各条鉴权信息中是否有与接收到的鉴权信息相一致的鉴权信息条目,如果查询到鉴权信息列表中存在与接收的鉴权信息一致的鉴权信息条目,那么说明发送地图更新请求的室内电子地图通过了服务器的鉴权,是经过授权的室内电子地图,服务器可以向该室内电子地图所在的移动终端发送地图更新数据。如果服务器未在鉴权信息列表中查询到与接收到的鉴权信息相一致的鉴权信息条目,那么向发出该鉴权信息的室内电子地图所在的移动终端返回地图更新失败信息。服务器判断没有地图更新的情况下会向发出地图更新请求信息的室内电子地图所在的移动终端返回地图更新失败信息。Specifically, when updating map data, a schematic diagram of data interaction between the mobile terminal and the server is shown in Figure 5. It can be seen from Figure 5 that the mobile terminal sends the authentication information of the indoor electronic map to the map update server. After uploading the data to the server, the server first judges whether there is a map update, if so, first obtains the pre-stored authentication information list, and checks whether there is any piece of authentication information in the authentication information list that is consistent with the received authentication information. Consistent authentication information entries. If there is an authentication information entry consistent with the received authentication information in the authentication information list, it means that the indoor electronic map that sent the map update request has passed the authentication of the server and is authorized. For the indoor electronic map, the server can send map update data to the mobile terminal where the indoor electronic map is located. If the server does not find an authentication information entry consistent with the received authentication information in the authentication information list, then return map update failure information to the mobile terminal where the indoor electronic map that sent the authentication information is located. If the server judges that there is no map update, it will return map update failure information to the mobile terminal where the indoor electronic map that sent the map update request information is located.
其中,服务器在将加密数据、密钥和室内电子地图下发给授权用户时,将用于鉴权室内电子地图的数据进行绑定,形成该室内电子地图的鉴权信息,然后将绑定后形成的鉴权信息存储在预先设置的鉴权信息列表中。Wherein, when the server sends the encrypted data, key and indoor electronic map to the authorized user, it binds the data used to authenticate the indoor electronic map to form the authentication information of the indoor electronic map, and then sends the bound The formed authentication information is stored in the preset authentication information list.
其中,用于鉴权室内电子地图的数据包括但不限于:地图标识、存储装置标识、用户密钥、地图产品密钥、存储装置标识和上次更新标识;将这些数据中的至少任意两项进行绑定,形成室内电子地图的鉴权信息,存储在服务器中。Among them, the data used to authenticate the indoor electronic map includes but is not limited to: map identification, storage device identification, user key, map product key, storage device identification and last update identification; at least any two of these data Binding is performed to form the authentication information of the indoor electronic map, which is stored in the server.
进一步地,服务器在确定发送地图更新请求的室内电子地图是授权的室内电子地图后,可以继续对该室内电子地图发送的鉴权信息中携带的用户密钥对应用户的授权期限是否到期进行判定,如果确定该用户密钥对应用户的授权期限没有到期,那么服务器向发送该用户密钥的室内电子地图所在的移动终端发送地图更新数据。Further, after the server determines that the indoor electronic map that sends the map update request is an authorized indoor electronic map, it can continue to judge whether the authorization period of the user corresponding to the user key carried in the authentication information sent by the indoor electronic map has expired. , if it is determined that the authorization period of the user corresponding to the user key has not expired, the server sends map update data to the mobile terminal where the indoor electronic map that sends the user key is located.
比如:有些运营商规定,对室内电子地图的更新需要收取费用,收取的费用在室内电子地图更新时从用户的账户余额中进行扣除,那么在对鉴权信息中携带的用户密钥对应用户的授权期限是否到期进行判定时,可以通过用户密钥对应用户的账户余额是否能够满足一次地图更新来判断用户的授权期限是否到期,如果此时用户的账户余额大于地图更新需要扣除的费用,则确定用户密钥对应用户的授权期限仍然有效,没有过期,那么服务器先从用户的账户余额中扣除更新地图所产生的费用,然后将地图更新数据发送到用户密钥对应的室内电子地图所在的移动终端中。如果用户密钥对应用户的账户余额小于地图更新需要扣除的费用,那么服务器向用户密钥对应的室内电子地图所在的移动终端发送充值提示信息,并在用户对账户进行充值后且充值后用户的账户余额大于地图更新需要扣除的费用时,从账户余额中扣除地图更新的费用,并将地图更新数据发送到用户密钥对应的室内电子地图所在的移动终端中;如果用户拒绝给账户充值,则确定用户密钥对应用户的授权期限已经无效,那么向用户密钥对应的室内电子地图所在的移动终端返回地图更新失败信息。For example: Some operators stipulate that the update of the indoor electronic map needs to charge a fee, and the charged fee is deducted from the user's account balance when the indoor electronic map is updated, then the user key carried in the authentication information corresponds to the user's When judging whether the authorization period has expired, it can be judged whether the user's authorization period has expired based on whether the user's account balance corresponding to the user key can satisfy a map update. If the user's account balance at this time is greater than the map update fee, If it is determined that the user’s authorization period corresponding to the user key is still valid and has not expired, the server first deducts the fee for updating the map from the user’s account balance, and then sends the map update data to the indoor electronic map corresponding to the user key. in the mobile terminal. If the user's account balance corresponding to the user key is less than the fee to be deducted for map update, the server sends a recharge prompt message to the mobile terminal where the indoor electronic map corresponding to the user key is located, and after the user recharges the account and the user's When the account balance is greater than the fee to be deducted for map update, the map update fee will be deducted from the account balance, and the map update data will be sent to the mobile terminal where the indoor electronic map corresponding to the user key is located; if the user refuses to recharge the account, then If it is determined that the authorization period of the user corresponding to the user key is invalid, return map update failure information to the mobile terminal where the indoor electronic map corresponding to the user key is located.
当然,服务器还可以通过设定地图更新的有效期限或者更新次数、以及其他的一些现有的判定手段对室内电子地图发送的鉴权信息中携带的用户密钥对应用户的授权期限是否到期进行判定,这里不再一一赘述。Of course, the server can also determine whether the authorization period of the user corresponding to the user key carried in the authentication information sent by the indoor electronic map has expired by setting the validity period or update times of the map update, and other existing determination means. Judgment, I won't repeat them one by one here.
步骤402、移动终端根据接收到的服务器发送的地图更新数据,更新室内电子地图。Step 402, the mobile terminal updates the indoor electronic map according to the received map update data sent by the server.
具体地,移动终端在接收到地图的更新数据后,根据得到的地图的更新数据,将对未更新的地图数据起补充作用的地图更新数据写入室内电子地图的数据中,将对未更新的地图数据起修改作用的地图更新数据替换掉室内电子地图中的现有数据,完成对室内电子地图的更新操作。Specifically, after receiving the update data of the map, the mobile terminal writes the update data of the map that supplements the map data that has not been updated into the data of the indoor electronic map according to the update data of the map obtained, and writes the update data of the map that is not updated The map update data used for modifying the map data replaces the existing data in the indoor electronic map to complete the update operation of the indoor electronic map.
通过步骤400-402的描述,在对室内电子地图进行更新之前,移动终端收集室内电子地图的信息形成室内电子地图的鉴权信息,然后将室内电子地图的鉴权信息发送到服务器,服务器根据移动终端发送过来的室内电子地图鉴权信息对室内电子地图进行鉴权。只有在确定发出更新请求的室内电子地图鉴权通过时,服务器才会将更新内容发送到室内电子地图所在的移动终端中,完成室内电子地图的更新,进一步保护地图制作厂商和授权用户的利益。Through the description of steps 400-402, before updating the indoor electronic map, the mobile terminal collects the information of the indoor electronic map to form the authentication information of the indoor electronic map, and then sends the authentication information of the indoor electronic map to the server. The indoor electronic map authentication information sent by the terminal authenticates the indoor electronic map. Only when it is determined that the indoor electronic map that sent the update request passes the authentication, the server will send the update content to the mobile terminal where the indoor electronic map is located, completing the update of the indoor electronic map, and further protecting the interests of map producers and authorized users.
基于上述描述,本发明实施例提供的室内电子地图处理方法,通过预先存储的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作,并在完成纠偏操作的室内电子地图上显示用户所在的位置,通过用户密钥、服务密钥和地图产品密钥对用户是否是授权用户进行验证;在室内电子地图的使用过程中,只有根据正确的用户密钥、服务密钥和地图产品密钥才能消除室内电子地图的坐标偏移,使授权用户使用消除了坐标偏移的室内电子地图进行准确定位;而通过错误的用户密钥、服务密钥和地图产品密钥不能消除室内电子地图的坐标偏移,所以无授权的用户在使用室内电子地图定位时室内电子地图不能对用户进行准确定位,从而尽可能避免了无授权用户对室内电子地图制作厂商和授权用户的利益侵害。Based on the above description, the indoor electronic map processing method provided by the embodiment of the present invention uses the pre-stored user key, service key, and map product key to perform coordinate correction operations on the indoor electronic map with offset coordinates, and complete the correction The user's location is displayed on the indoor electronic map operated, and whether the user is an authorized user is verified through the user key, service key and map product key; during the use of the indoor electronic map, only the correct user key , service key, and map product key can eliminate the coordinate offset of the indoor electronic map, so that authorized users can use the indoor electronic map that eliminates the coordinate offset for accurate positioning; and through the wrong user key, service key, and map product The key cannot eliminate the coordinate offset of the indoor electronic map, so when an unauthorized user uses the indoor electronic map to locate the user, the indoor electronic map cannot accurately locate the user, thus avoiding unauthorized users to the indoor electronic map manufacturer and authorization as much as possible. Infringement of interests of users.
实施例三Embodiment three
参见图6,本发明实施例提供了一种室内电子地图处理装置,该装置包括:Referring to Fig. 6, an embodiment of the present invention provides an indoor electronic map processing device, which includes:
获取模块500,用于获取预先存储的用户密钥、服务密钥和地图产品密钥,室内电子地图是坐标偏移的室内电子地图;The obtaining module 500 is used to obtain the pre-stored user key, service key and map product key, and the indoor electronic map is an indoor electronic map with offset coordinates;
处理模块501,用于根据获取的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作;The processing module 501 is used to perform coordinate correction operation on the indoor electronic map with offset coordinates according to the obtained user key, service key and map product key;
显示模块502,用于在完成坐标纠偏操作的室内电子地图上显示用户所在位置。The display module 502 is configured to display the user's location on the indoor electronic map that has completed the coordinate deviation correction operation.
具体地,处理模块501,用于:Specifically, the processing module 501 is configured to:
根据获取的用户密钥、服务密钥和地图产品密钥,对包括室内电子地图坐标偏移量的加密数据进行解密操作,得到室内电子地图的坐标偏移量;According to the obtained user key, service key and map product key, the encrypted data including the coordinate offset of the indoor electronic map is decrypted to obtain the coordinate offset of the indoor electronic map;
对解密得到的室内电子地图的坐标偏移量进行取负操作,得到坐标纠偏量;Negative operation is performed on the coordinate offset of the decrypted indoor electronic map to obtain the coordinate correction amount;
根据得到的坐标纠偏量对坐标偏移的室内电子地图进行坐标纠偏操作。A coordinate deviation correction operation is performed on the coordinate offset indoor electronic map according to the obtained coordinate deviation correction amount.
进一步地,室内电子地图处理装置还包括:Further, the indoor electronic map processing device also includes:
发送模块,用于向用于下发地图更新数据的服务器发送地图更新请求信息,地图更新请求信息包括:用于服务器对室内电子地图进行鉴权的鉴权信息;A sending module, configured to send map update request information to a server for issuing map update data, where the map update request information includes: authentication information for the server to authenticate the indoor electronic map;
接收模块,用于接收服务器在根据接收到的鉴权信息确定室内电子地图鉴权通过时发送的地图更新数据;The receiving module is used to receive the map update data sent by the server when the indoor electronic map is determined to pass the authentication according to the received authentication information;
更新模块,用于根据接收到的服务器发送的地图更新数据,更新室内电子地图。The update module is used to update the indoor electronic map according to the received map update data sent by the server.
具体地,室内电子地图的鉴权信息包括:用户密钥和地图产品密钥的绑定信息。Specifically, the authentication information of the indoor electronic map includes: binding information of the user key and the map product key.
基于上述描述,本发明实施例提供的室内电子地图处理装置,通过预先存储的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作,并在完成纠偏操作的室内电子地图上显示用户所在的位置,通过用户密钥、服务密钥和地图产品密钥对用户是否是授权用户进行验证;在室内电子地图的使用过程中,只有根据正确的用户密钥、服务密钥和地图产品密钥才能消除室内电子地图的坐标偏移,使授权用户使用消除了坐标偏移的室内电子地图进行准确定位;而通过错误的用户密钥、服务密钥和地图产品密钥不能消除室内电子地图的坐标偏移,所以无授权的用户在使用室内电子地图定位时室内电子地图不能对用户进行准确定位,从而尽可能避免了无授权用户对室内电子地图制作厂商和授权用户的利益侵害。Based on the above description, the indoor electronic map processing device provided by the embodiment of the present invention uses the pre-stored user key, service key and map product key to correct the coordinates of the indoor electronic map with offset coordinates, and complete the correction The user's location is displayed on the indoor electronic map operated, and whether the user is an authorized user is verified through the user key, service key and map product key; during the use of the indoor electronic map, only the correct user key , service key, and map product key can eliminate the coordinate offset of the indoor electronic map, so that authorized users can use the indoor electronic map that eliminates the coordinate offset for accurate positioning; and through the wrong user key, service key, and map product The key cannot eliminate the coordinate offset of the indoor electronic map, so when an unauthorized user uses the indoor electronic map to locate the user, the indoor electronic map cannot accurately locate the user, thus avoiding the unauthorized user's identification of the indoor electronic map manufacturer and authorization as much as possible. Infringement of interests of users.
实施例四Embodiment four
参见图7,本发明实施例提供一种室内电子地图处理装置,室内电子地图处理装置包括有存储器600,处理器700以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器600中,且经配置以由处理器700执行一个或者一个以上程序包含用于进行以下操作的指令:Referring to FIG. 7 , an embodiment of the present invention provides an indoor electronic map processing device. The indoor electronic map processing device includes a memory 600, a processor 700 and one or more programs, wherein one or more programs are stored in the memory 600, And configured to be executed by the processor 700, one or more programs include instructions for performing the following operations:
获取预先存储的用户密钥、服务密钥和地图产品密钥,室内电子地图是坐标偏移的室内电子地图;Obtain the pre-stored user key, service key and map product key, and the indoor electronic map is an indoor electronic map with offset coordinates;
根据获取的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作;According to the obtained user key, service key and map product key, coordinate deviation correction operation is performed on the indoor electronic map with coordinate offset;
在完成坐标纠偏操作的室内电子地图上显示用户所在位置。Display the user's location on the indoor electronic map that completes the coordinate correction operation.
基于上述描述,本发明实施例提供的室内电子地图处理装置,通过预先存储的用户密钥、服务密钥和地图产品密钥,对坐标偏移的室内电子地图进行坐标纠偏操作,并在完成纠偏操作的室内电子地图上显示用户所在的位置,通过用户密钥、服务密钥和地图产品密钥对用户是否是授权用户进行验证;在室内电子地图的使用过程中,只有根据正确的用户密钥、服务密钥和地图产品密钥才能消除室内电子地图的坐标偏移,使授权用户使用消除了坐标偏移的室内电子地图进行准确定位;而通过错误的用户密钥、服务密钥和地图产品密钥不能消除室内电子地图的坐标偏移,所以无授权的用户在使用室内电子地图定位时室内电子地图不能对用户进行准确定位,从而尽可能避免了无授权用户对室内电子地图制作厂商和授权用户的利益侵害。Based on the above description, the indoor electronic map processing device provided by the embodiment of the present invention uses the pre-stored user key, service key, and map product key to perform coordinate correction operations on indoor electronic maps with offset coordinates, and complete the correction The user's location is displayed on the indoor electronic map operated, and whether the user is an authorized user is verified through the user key, service key and map product key; during the use of the indoor electronic map, only the correct user key , service key, and map product key can eliminate the coordinate offset of the indoor electronic map, so that authorized users can use the indoor electronic map that eliminates the coordinate offset for accurate positioning; and through the wrong user key, service key, and map product The key cannot eliminate the coordinate offset of the indoor electronic map, so when an unauthorized user uses the indoor electronic map to locate the user, the indoor electronic map cannot accurately locate the user, thus avoiding unauthorized users to the indoor electronic map manufacturer and authorization as much as possible. Infringement of interests of users.
需要说明的是:实施例三和实施例四提供的室内电子地图处理装置在对室内电子地图进行处理时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的室内电子地图处理装置与室内电子地图处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the indoor electronic map processing device provided in Embodiment 3 and Embodiment 4 processes the indoor electronic map, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned Function allocation is accomplished by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the indoor electronic map processing device and the indoor electronic map processing method embodiment provided by the above embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410452804.5A CN104239754B (en) | 2014-09-05 | 2014-09-05 | A kind of indoor electronic map treating method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410452804.5A CN104239754B (en) | 2014-09-05 | 2014-09-05 | A kind of indoor electronic map treating method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104239754A true CN104239754A (en) | 2014-12-24 |
CN104239754B CN104239754B (en) | 2017-06-16 |
Family
ID=52227801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410452804.5A Active CN104239754B (en) | 2014-09-05 | 2014-09-05 | A kind of indoor electronic map treating method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104239754B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933831A (en) * | 2015-12-29 | 2017-07-07 | 高德软件有限公司 | The update method and device of a kind of indoor map data |
CN108647514A (en) * | 2018-04-19 | 2018-10-12 | 广州市和声信息技术有限公司 | A kind of virtual leisure right labeling method and system in reality region |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1361410A (en) * | 2000-12-28 | 2002-07-31 | 日本先锋公司 | System for renewing navigation information and equipment for issuing renewed navigation information |
CN101980327A (en) * | 2010-09-30 | 2011-02-23 | 北京灵图软件技术有限公司 | Sending method and device and receiving method and device for spatial position, and terminal |
CN102665204A (en) * | 2012-04-19 | 2012-09-12 | 北京邮电大学 | Safety protection method and safety protection system for positioning service |
CN102857911A (en) * | 2012-06-29 | 2013-01-02 | 北京邮电大学 | Positioning method, terminal and server |
CN103718000A (en) * | 2011-05-19 | 2014-04-09 | Sk普兰尼特有限公司 | Real-time map data updating system and method |
-
2014
- 2014-09-05 CN CN201410452804.5A patent/CN104239754B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1361410A (en) * | 2000-12-28 | 2002-07-31 | 日本先锋公司 | System for renewing navigation information and equipment for issuing renewed navigation information |
CN101980327A (en) * | 2010-09-30 | 2011-02-23 | 北京灵图软件技术有限公司 | Sending method and device and receiving method and device for spatial position, and terminal |
CN103718000A (en) * | 2011-05-19 | 2014-04-09 | Sk普兰尼特有限公司 | Real-time map data updating system and method |
CN102665204A (en) * | 2012-04-19 | 2012-09-12 | 北京邮电大学 | Safety protection method and safety protection system for positioning service |
CN102857911A (en) * | 2012-06-29 | 2013-01-02 | 北京邮电大学 | Positioning method, terminal and server |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933831A (en) * | 2015-12-29 | 2017-07-07 | 高德软件有限公司 | The update method and device of a kind of indoor map data |
CN108647514A (en) * | 2018-04-19 | 2018-10-12 | 广州市和声信息技术有限公司 | A kind of virtual leisure right labeling method and system in reality region |
CN108647514B (en) * | 2018-04-19 | 2020-06-16 | 广州市和声信息技术有限公司 | Virtual rights and interests attribute marking method and system for real area |
Also Published As
Publication number | Publication date |
---|---|
CN104239754B (en) | 2017-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110086608B (en) | User authentication method, device, computer equipment and computer readable storage medium | |
EP2615856B1 (en) | Information distribution method, information distribution system and in-vehicle terminal | |
EP2890046B1 (en) | Information processing device, information storage device, server, information processing system, information processing method, and program | |
CN1918526B (en) | Information management device and information management method | |
US9152773B2 (en) | Communication apparatus and secure module including function for disabling encrypted communication | |
JP6190188B2 (en) | Information distribution system and server, in-vehicle terminal, communication terminal used therefor | |
CN107743067B (en) | Method, system, terminal and storage medium for issuing digital certificate | |
EP2622885A1 (en) | Methods and apparatuses for access credential provisioning | |
JP2015537428A5 (en) | ||
CN115348076A (en) | Equipment security authentication method based on attribute encryption and related device thereof | |
JP6567939B2 (en) | Information processing system, peripheral device, wireless communication chip, application program, and information processing method | |
WO2019010669A1 (en) | Method, apparatus and system for identity validity verification | |
JP2002297548A (en) | Terminal registration system, and device and method for constituting the same | |
WO2019067086A1 (en) | Methods and systems of performing preemptive generation of second factor authentication | |
JP2017073611A (en) | Information processing system, radio communication chip, peripheral equipment, server, application program, and information processing method | |
JP5278495B2 (en) | Device information transmission method, device information transmission device, device information transmission program | |
CN108268755A (en) | The copyright data processing method of original works | |
CN105222877A (en) | Acceleration of gravity modification method and system | |
CN104239754B (en) | A kind of indoor electronic map treating method and apparatus | |
EP3154286A2 (en) | Peripheral device, wireless communication chip,computer-readable non-transitory storage medium having application program stored therein, information processing system, and information processing method | |
CN112583600B (en) | User authentication method, device, electronic equipment and medium | |
JP2018529137A (en) | Method and apparatus for service authentication | |
CN111510421B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
JP2013109544A (en) | Information processing device and program | |
CN106230821B (en) | A kind of recognition methods and equipment of smart card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |