[go: up one dir, main page]

CN114061599B - Navigation positioning method, electronic equipment and navigation positioning system - Google Patents

Navigation positioning method, electronic equipment and navigation positioning system Download PDF

Info

Publication number
CN114061599B
CN114061599B CN202010761544.5A CN202010761544A CN114061599B CN 114061599 B CN114061599 B CN 114061599B CN 202010761544 A CN202010761544 A CN 202010761544A CN 114061599 B CN114061599 B CN 114061599B
Authority
CN
China
Prior art keywords
map
location
tile
display area
navigation
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.)
Active
Application number
CN202010761544.5A
Other languages
Chinese (zh)
Other versions
CN114061599A (en
Inventor
徐超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010761544.5A priority Critical patent/CN114061599B/en
Publication of CN114061599A publication Critical patent/CN114061599A/en
Application granted granted Critical
Publication of CN114061599B publication Critical patent/CN114061599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)
  • Instructional Devices (AREA)

Abstract

本申请提供了一种导航定位方法、电子设备、导航定位系统以及计算机可读存储介质。导航定位方法包括:第一设备获取第一位置的位置信息;第一设备从第二设备获取与第一位置相关联的第一关联地图块组,第一关联地图块组为支持第一设备当前显示的一个或多个地图块,一个或多个地图块是从以地图块形式组成的数字地图中选择的地图块;第一设备根据第一位置的位置信息以及第一关联地图块组,在用于显示地图的显示区域中,以第一位置的定位标识位于显示区域的设定位置点,且以第一关联地图块组填充显示区域的方式,显示第一位置及第一位置所在地理区域的地图图像。本申请可以在轻量化设备上以地图的形式显示导航定位界面,提高用户体验。

The present application provides a navigation positioning method, an electronic device, a navigation positioning system, and a computer-readable storage medium. The navigation positioning method includes: a first device obtains location information of a first location; the first device obtains a first associated map block group associated with the first location from a second device, the first associated map block group is one or more map blocks currently displayed by the first device, and the one or more map blocks are map blocks selected from a digital map composed of map blocks; the first device displays a map image of the first location and the geographical area where the first location is located in a display area for displaying a map, with the location identifier of the first location located at a set location point in the display area, and the display area is filled with the first associated map block group, based on the location information of the first location and the first associated map block group. The present application can display a navigation positioning interface in the form of a map on a lightweight device to improve the user experience.

Description

导航定位方法、电子设备以及导航定位系统Navigation positioning method, electronic equipment and navigation positioning system

技术领域Technical Field

本申请涉及导航技术领域,尤其涉及一种导航定位方法、电子设备、导航定位系统以及计算机存储介质。The present application relates to the field of navigation technology, and in particular to a navigation and positioning method, an electronic device, a navigation and positioning system, and a computer storage medium.

背景技术Background Art

基于电子地图的导航应用可以为人们的日常出行带来很大便利。例如,在城市环境中,借助智能手机上的导航应用(例如,百度地图、高德地图等),人们可以随时随地获取当前位置的街景地图,以及在街景地图上呈现的导航路线图等,从而可避免在复杂的道路中走失方向。Navigation applications based on electronic maps can bring great convenience to people's daily travel. For example, in an urban environment, with the help of navigation applications on smartphones (such as Baidu Maps, Amap, etc.), people can obtain street view maps of their current location and navigation route maps presented on street view maps anytime and anywhere, thus avoiding getting lost on complex roads.

但是,上述导航应用对电子设备的计算和存储能力有一定的要求(例如,能够运行上述导航应用的智能手机的内存通常在100MB以上)。对于轻量化设备,由于其内存有限,因而难以在运行导航应用时加载该导航应用的全部数据和功能,这使得轻量化设备能够提供的导航定位信息比较有限(例如,仅能显示简单的导向箭头),影响用户体验。However, the above navigation applications have certain requirements on the computing and storage capabilities of electronic devices (for example, the memory of a smartphone that can run the above navigation applications is usually more than 100MB). For lightweight devices, due to their limited memory, it is difficult to load all the data and functions of the navigation application when running the navigation application, which makes the navigation positioning information that lightweight devices can provide relatively limited (for example, only simple directional arrows can be displayed), affecting the user experience.

发明内容Summary of the invention

本申请的一些实施方式提供了一种导航定位方法、电子设备、导航定位系统以及计算机可读存储介质,以下从多个方面介绍本申请,以下多个方面的实施方式和有益效果可互相参考。Some embodiments of the present application provide a navigation and positioning method, an electronic device, a navigation and positioning system, and a computer-readable storage medium. The present application is introduced from multiple aspects below, and the embodiments and beneficial effects of the following aspects can be referenced to each other.

第一方面,本申请实施方式提供了一种导航定位方法,应用于第一设备(作为地图显示设备),方法包括:获取第一位置的位置信息;从第二设备(作为地图提供设备)获取与第一位置相关联的第一关联地图块组,第一关联地图块组为支持第一设备当前显示的一个或多个地图块,一个或多个地图块是从以地图块形式组成的数字地图中选择的地图块;根据第一位置的位置信息以及第一关联地图块组,在用于显示地图的显示区域中,以第一位置的定位标识位于显示区域的设定位置点,且以第一关联地图块组填充显示区域的方式,显示第一位置及第一位置所在地理区域的地图图像。In a first aspect, an embodiment of the present application provides a navigation and positioning method, which is applied to a first device (as a map display device), and the method includes: obtaining location information of a first location; obtaining a first associated map block group associated with the first location from a second device (as a map providing device), the first associated map block group being one or more map blocks currently displayed by the first device, the one or more map blocks being map blocks selected from a digital map composed of map blocks; based on the location information of the first location and the first associated map block group, in a display area for displaying a map, a map image of the first location and the geographical area where the first location is located is displayed in a manner such that the positioning identifier of the first location is located at a set position point in the display area, and the display area is filled with the first associated map block group.

根据本申请的实施方式,第一设备通过从第二设备接收地图块以生成定位界面,因此,第二设备只需在其内存中加载用于当前显示的地图块即可,这样就降低了对第一设备内存容量的需求,从而,本申请可以将第一设备实现为轻量化设备,并在该轻量化设备上以地图的形式呈现定位界面,提高用户体验。According to the implementation mode of the present application, the first device generates a positioning interface by receiving map blocks from the second device. Therefore, the second device only needs to load the map blocks for the current display into its memory, thereby reducing the demand for the memory capacity of the first device. Therefore, the present application can implement the first device as a lightweight device, and present the positioning interface in the form of a map on the lightweight device, thereby improving the user experience.

在一些实施方式中,第二设备为与第一设备通信连接的服务器,其中,服务器中存储有数字地图;或者,第二设备为与第一设备通信连接的终端设备,其中,终端设备存储有数字地图的部分或全部,或者,终端设备用于从服务器中下载第一关联地图块组。In some embodiments, the second device is a server communicatively connected to the first device, wherein the server stores a digital map; or, the second device is a terminal device communicatively connected to the first device, wherein the terminal device stores part or all of the digital map, or, the terminal device is used to download the first associated map block group from the server.

根据本申请的实施方式,第二设备可以从服务器获取地图块,也可以从其他终端设备(例如,手机)获取地图块,可提高地图块获取的灵活程序。According to the implementation manner of the present application, the second device may obtain the map block from the server, or may obtain the map block from other terminal devices (eg, a mobile phone), thereby increasing the flexibility of the map block acquisition procedure.

在一些实施方式中,获取第一位置的位置信息具体为:使用第一设备的定位功能(例如,GPS定位功能)获取第一位置的位置信息;获取第一位置的位置信息之后,方法还包括:将第一位置的位置信息发送给第二设备,从第二设备获取与第一位置相关联的第一关联地图块组。In some embodiments, obtaining the location information of the first location specifically includes: using a positioning function of a first device (e.g., a GPS positioning function) to obtain the location information of the first location; after obtaining the location information of the first location, the method further includes: sending the location information of the first location to a second device, and obtaining a first associated map block group associated with the first location from the second device.

根据本申请的实施方式,第二设备通过自身的定位功能获取第一位置的位置信息,从而可以实现对自身的定位(即显示自身所在位置的定位界面)。According to the implementation manner of the present application, the second device obtains the location information of the first location through its own positioning function, thereby realizing its own positioning (ie, displaying a positioning interface of its own location).

在一些实施方式中,第二设备为与所述第一设备通信连接的终端设备;获取第一位置的位置信息具体为:从第二设备获取第一位置的位置信息。In some implementations, the second device is a terminal device that is communicatively connected to the first device; and obtaining the location information of the first location specifically includes: obtaining the location information of the first location from the second device.

根据本申请的实施方式,第一设备从与其通信连接的终端设备(例如,手机)获取第一位置的位置信息,从而可实现对除第一设备外的其他定位对象的定位(即显示其他定位对象所在位置的定位界面)。According to an implementation of the present application, the first device obtains the location information of the first location from a terminal device (e.g., a mobile phone) to which it is communicatively connected, thereby enabling the positioning of other positioning objects other than the first device (i.e., displaying a positioning interface of the locations of other positioning objects).

例如,该终端设备通过自身的定位功能获取第一位置的位置信息,并将第一位置的位置信息发送给第一设备,以使得第一设备显示该终端设备所在地理区域的地图图像,以实现对该终端设备的定位。另外,在本示例中,当该终端设备与第一设备的位置比较临近时(例如,用户同时携带第一设备和该终端设备时),可以认为该终端设备与第一设备均位于第一位置,此时,第一设备可借助该终端设备的定位功能实现对自身位置的定位,从而可以降低对自身定位功能的要求。For example, the terminal device obtains the location information of the first location through its own positioning function, and sends the location information of the first location to the first device, so that the first device displays a map image of the geographical area where the terminal device is located, so as to locate the terminal device. In addition, in this example, when the terminal device and the first device are relatively close (for example, when the user carries the first device and the terminal device at the same time), it can be considered that the terminal device and the first device are both located at the first location. At this time, the first device can locate its own location with the help of the positioning function of the terminal device, thereby reducing the requirements for its own positioning function.

又如,该终端设备获取来自其他定位设备(例如,儿童随身携带的位置追踪器)的定位信息,并将获取到的定位信息作为第一位置的位置信息发送给第一设备,以使得第一设备显示该定位设备所在地理区域的地图图像,从而实现对该定位设备的定位。For another example, the terminal device obtains positioning information from other positioning devices (for example, a location tracker carried by a child), and sends the obtained positioning information as the location information of the first location to the first device, so that the first device displays a map image of the geographical area where the positioning device is located, thereby achieving the positioning of the positioning device.

另外,本申请实施方式对第一关联地图块组的获取来源不作限定。在一个示例中,第一设备从向其发送第一位置位置信息的终端设备(例如,手机)获取第一关联地图块组;在另一个示例中,第一设备从上述终端设备获取到第一位置的位置信息后,再将第一位置的位置信息发送至服务器或其他终端设备,以从服务器或其他终端设备获取第一关联地图块组。In addition, the implementation of the present application does not limit the source of obtaining the first associated map block group. In one example, the first device obtains the first associated map block group from a terminal device (e.g., a mobile phone) that sends the first location information to it; in another example, after the first device obtains the location information of the first location from the above terminal device, it sends the location information of the first location to a server or other terminal device to obtain the first associated map block group from the server or other terminal device.

在一些实施方式中,方法还包括:从第二设备获取第一关联地图块组中的各地图块的索引信息,各地图块的索引信息与各地图块所表示的地理区域一一对应(例如,当第一关联地图块组包含第一地图块和第二地图块时,第一地图块的索引信息与第一地图块表示的地理区域相对应,第二地图块的索引信息与第二地图块表示的地理区域相对应);根据第一位置的位置信息以及第一关联地图块组,显示第一位置及第一位置所在地理区域的地图图像,具体为:根据第一关联地图块组中各地图块的索引信息,第一位置的位置信息以及第一位置的定位点在显示区域中的位置,确定第一关联地图块中的各地图块与显示区域的相对位置关系;根据相对位置关系,确定第一关联地图块组中的各地图块位于显示区域中的部分,并显示各地图块位于显示区域中的部分,以显示第一位置及第一位置所在地理区域的地图图像。In some embodiments, the method further includes: obtaining index information of each map block in the first associated map block group from the second device, the index information of each map block corresponding one-to-one to the geographical area represented by each map block (for example, when the first associated map block group includes the first map block and the second map block, the index information of the first map block corresponds to the geographical area represented by the first map block, and the index information of the second map block corresponds to the geographical area represented by the second map block); displaying a map image of the first position and the geographical area where the first position is located according to the position information of the first position and the first associated map block group, specifically: determining a relative position relationship between each map block in the first associated map block and the display area according to the index information of each map block in the first associated map block group, the position information of the first position and the position of the positioning point of the first position in the display area; determining a portion of each map block in the first associated map block group located in the display area according to the relative position relationship, and displaying the portion of each map block located in the display area, so as to display a map image of the first position and the geographical area where the first position is located.

根据本申请的实施方式,第一设备从第二设备获取第一关联地图块组中各地图块的索引信息,可方便地根据各地图块的索引信息确定各地图块在第一设备的显示区域中的显示位置,以生成定位界面。According to an implementation of the present application, the first device obtains index information of each map block in the first associated map block group from the second device, and can conveniently determine the display position of each map block in the display area of the first device according to the index information of each map block to generate a positioning interface.

在一些实施方式中,数字地图中的地图块以矩阵的形式排列,地图块的索引信息包括地图块在矩阵中的行号和地图块在矩阵中的列号。In some implementations, the map blocks in the digital map are arranged in the form of a matrix, and the index information of the map block includes the row number of the map block in the matrix and the column number of the map block in the matrix.

在一些实施方式中,方法还包括:获取第二位置的位置信息,第二位置为不同于第一位置的位置;根据第二位置的位置信息,移动在显示区域中显示的地图块,并使得第二位置的定位点位于显示区域的设定位置点,以刷新显示区域中显示的地图图像。In some embodiments, the method also includes: obtaining location information of a second location, the second location being a location different from the first location; moving the map block displayed in the display area according to the location information of the second location, and making the positioning point of the second location be located at a set location point of the display area to refresh the map image displayed in the display area.

根据本申请的实施方式,当定位位置由第一位置更新为第二位置时,第一设备可根据第二位置的位置信息对定位界面进行更新,以显示与第二位置相对应的定位界面。According to an embodiment of the present application, when the positioning position is updated from the first position to the second position, the first device may update the positioning interface according to the position information of the second position to display the positioning interface corresponding to the second position.

在一些实施方式中,方法还包括:从第二设备获取与第二位置相关联的第二关联地图块组,其中,第二关联地图块组是第二设备根据第二位置的位置信息,从数字地图的地图块中选择的用于支持第一设备连续显示地图图像的一块或多块地图块。In some embodiments, the method further includes: obtaining a second associated map block group associated with the second location from the second device, wherein the second associated map block group is one or more map blocks selected by the second device from map blocks of the digital map based on location information of the second location to support the first device to continuously display the map image.

当定位位置由第一位置变更为第二位置,且第一设备根据第二位置的位置信息对定位界面进行更新后,第一设备的显示界面中可能出现显示缺口,用户可能会感觉到地图图像的显示出现断续。为此,本申请实施方式中,第一设备还从第二设备获取用于支持连续显示地图图像的第二关联地图块组,以使得第一设备在其显示区域中连续显示地图图像。When the positioning position is changed from the first position to the second position, and the first device updates the positioning interface according to the position information of the second position, a display gap may appear in the display interface of the first device, and the user may feel that the display of the map image is intermittent. To this end, in the embodiment of the present application, the first device also obtains a second associated map block group for supporting continuous display of the map image from the second device, so that the first device continuously displays the map image in its display area.

在一些实施方式中,第二设备根据第二位置的位置信息,从数字地图的地图块中选择第二关联地图块组的地图块,具体为:第二设备根据第二位置的位置信息,确定位于显示区域中的地图块由于被显示区域的边界分割而产生的几何参数;当位于显示区域中的地图块中的至少一个地图块的几何参数位于设定的阈值区间时,第二设备将与至少一个地图块相邻的地图块确定为第二关联地图块组中的地图块。In some embodiments, the second device selects a map block of the second associated map block group from the map blocks of the digital map based on the location information of the second location. Specifically, the second device determines, based on the location information of the second location, geometric parameters of the map blocks located in the display area due to being divided by the boundary of the display area; when the geometric parameters of at least one map block among the map blocks located in the display area are within a set threshold range, the second device determines a map block adjacent to the at least one map block as a map block in the second associated map block group.

在一些实施方式中,位于显示区域中的地图块被显示区域的边界分割为位于显示区域内的第一区域,以及位于显示区域外的第二区域;其中,几何参数包括下述至少一个:第一区域长度参数;第二区域的长度参数;第一区域的面积;第二区域的面积。In some embodiments, a map block located in a display area is divided by a boundary of the display area into a first area located within the display area and a second area located outside the display area; wherein the geometric parameters include at least one of the following: a length parameter of the first area; a length parameter of the second area; an area of the first area; and an area of the second area.

在一些实施方式中,数字地图的各地图块为图像尺寸相同的正方形地图块,正方形地图块具有沿第一方向延伸的第一侧边以及沿第二方向延伸的第二侧边,其中,第一方向与第二方向相互垂直;其中,第一区域的长度参数包括第一区域沿第一方向的长度,以及第一区域沿第二方向的长度;第二区域的长度参数包括第二区域沿第一方向的长度,以及第二区域沿第二方向的长度。In some embodiments, each map block of the digital map is a square map block with the same image size, and the square map block has a first side extending along a first direction and a second side extending along a second direction, wherein the first direction and the second direction are perpendicular to each other; wherein the length parameter of the first area includes the length of the first area along the first direction and the length of the first area along the second direction; and the length parameter of the second area includes the length of the second area along the first direction and the length of the second area along the second direction.

根据本申请的实施方式,可以简化第二关联地图块组的确定算法。According to the implementation of the present application, the algorithm for determining the second associated map block group can be simplified.

在一些实施方式中,第二设备根据第二位置的位置信息,从数字地图的地图块中选择第二关联地图块组的地图块,具体为:第二设备根据第二位置的位置信息,确定第二位置所在的地图块;第二设备将与第二位置所在的地图块相邻的一块或多块地图块确定为第二关联地图块组。In some embodiments, the second device selects a map block of the second associated map block group from the map blocks of the digital map based on the location information of the second location. Specifically, the second device determines the map block where the second location is located based on the location information of the second location; and the second device determines one or more map blocks adjacent to the map block where the second location is located as the second associated map block group.

根据本申请的实施方式,可以简化第二关联地图块组的确定算法。According to the implementation of the present application, the algorithm for determining the second associated map block group can be simplified.

在一些实施方式中,方法进一步包括:从第一设备的主存储器中删除与第二位置所在的地图块不相邻的地图块,以使得第一设备的主存储器中存储的地图块的数量保持为预设数量。In some embodiments, the method further includes: deleting map tiles that are not adjacent to the map tile where the second position is located from the main memory of the first device, so that the number of map tiles stored in the main memory of the first device remains at a preset number.

根据本申请的实施方式,可以进一步降低对第一设备的存储能力的需求。According to the implementation of the present application, the requirement for the storage capacity of the first device can be further reduced.

在一些实施方式中,显示区域的设定位置点为显示区域的几何中心点。In some embodiments, the set position point of the display area is a geometric center point of the display area.

根据本申请的实施方式,将定位标识点设置在地图显示区域的几何中心,可使得定位界面较为美观,同时也可以简化定位界面的生成算法。According to the implementation mode of the present application, the positioning mark point is set at the geometric center of the map display area, so that the positioning interface is more beautiful and the generation algorithm of the positioning interface can be simplified.

在一些实施方式中,在沿显示区域所在平面延伸的至少一个方向上,显示区域所表示的地理区域的范围与各地图块所表示的地理区域的范围相同。In some embodiments, in at least one direction extending along the plane where the display area is located, the range of the geographical area represented by the display area is the same as the range of the geographical area represented by each map block.

根据本申请的实施方式,第一设备的显示区域基本上正好用于显示一张地图块,这样使得第一设备具有尽可能高的显示清晰度,同时兼顾尽可能少的图像数据量。According to an embodiment of the present application, the display area of the first device is basically used to display a map block, so that the first device has the highest possible display clarity while taking into account the smallest possible amount of image data.

在一些实施方式中,方法还包括:方法还包括:至少从第二设备获取位于第一位置所在地理区域内的导航特征位置点的位置信息,导航特征位置点是第二设备根据导航起始位置的位置信息和导航目的位置的位置信息确定的;根据获取到的导航特征位置点的位置信息生成导航轨迹图像,并基于导航特征位置点的位置信息确定导航轨迹图像与第一关联地图块组的地图图像的位置对应关系,并在显示区域中以位置相对应的方式显示导航轨迹图像和第一位置所在地理区域的地图图像的叠加图像。In some embodiments, the method also includes: the method also includes: obtaining location information of a navigation feature location point located in the geographic area where the first location is located from at least a second device, the navigation feature location point being determined by the second device based on location information of the navigation start location and location information of the navigation destination location; generating a navigation trajectory image based on the acquired location information of the navigation feature location point, and determining a positional correspondence between the navigation trajectory image and a map image of a first associated map block group based on the location information of the navigation feature location point, and displaying an overlay image of the navigation trajectory image and the map image of the geographic area where the first location is located in a display area in a positionally corresponding manner.

根据本申请的实施方式,第一设备以地图的形式呈现导航界面,可以使用户直观的观察导航信息,可以提高用户体验。According to an implementation manner of the present application, the first device presents a navigation interface in the form of a map, which allows the user to intuitively observe the navigation information and improve the user experience.

在一些实施方式中,第一位置的位置点位于第二设备所确定的导航路线上;方法还包括:接收来自第二设备的方向指示信息,方向指示信息是根据第一位置所在位置点的导航方向角确定的,导航方向角是第二设备根据导航特征位置点确定的;确定与方向指示信息相匹配的方向指示图标,并在显示区域中显示方向指示图标。In some embodiments, the location point of the first location is located on the navigation route determined by the second device; the method also includes: receiving direction indication information from the second device, the direction indication information is determined based on the navigation direction angle of the location point where the first location is located, and the navigation direction angle is determined by the second device based on the navigation feature location point; determining a direction indication icon that matches the direction indication information, and displaying the direction indication icon in the display area.

根据本申请的实施方式,用户通过观察第一设备显示的导航界面,可以获取到在地图上显示的导航方向信息,可提高用户体验。According to an implementation manner of the present application, a user can obtain navigation direction information displayed on a map by observing a navigation interface displayed by a first device, thereby improving user experience.

第二方面,本申请实施方式提供了一种导航定位方法,应用与第二设备,方法包括:获取第一位置的位置信息;向第一设备发送与第一位置相关联的第一关联地图块组,以使得第一设备在用于显示地图的显示区域中,以第一位置的定位点位于显示区域的设定位置点,且以第一关联地图块组填充显示区域的方式,显示第一位置及第一位置所在地理区域的地图图像;其中,第一关联地图块组为用于支持第一设备当前显示的一个或多个地图块,一个或多个地图块是从以地图块形式组成的数字地图中选择的地图块。In a second aspect, an embodiment of the present application provides a navigation and positioning method, which is applied to a second device, and the method includes: obtaining location information of a first location; sending a first associated map block group associated with the first location to the first device, so that the first device displays a map image of the first location and the geographical area where the first location is located in a display area for displaying a map, with the positioning point of the first location being located at a set position point in the display area, and the display area is filled with the first associated map block group; wherein the first associated map block group is used to support one or more map blocks currently displayed by the first device, and the one or more map blocks are map blocks selected from a digital map composed of map blocks.

根据本申请的实施方式,第一设备通过从第二设备接收地图块以生成定位界面,因此,第二设备只需在其内存中加载用于当前显示的地图块即可,这样就降低了对第一设备内存容量的需求,从而,本申请可以将第一设备实现为轻量化设备,并在该轻量化设备上以地图的形式呈现定位界面,提高用户体验。According to the implementation mode of the present application, the first device generates a positioning interface by receiving map blocks from the second device. Therefore, the second device only needs to load the map blocks for the current display into its memory, thereby reducing the demand for the memory capacity of the first device. Therefore, the present application can implement the first device as a lightweight device, and present the positioning interface in the form of a map on the lightweight device, thereby improving the user experience.

在一些实施方式中,第二设备为与第一设备通信连接的服务器,其中,服务器中存储有数字地图;或者,第二设备为与第一设备通信连接的终端设备,其中,终端设备存储有数字地图的部分或全部,或者,终端设备用于从服务器中下载第一关联地图块组。In some embodiments, the second device is a server communicatively connected to the first device, wherein the server stores a digital map; or, the second device is a terminal device communicatively connected to the first device, wherein the terminal device stores part or all of the digital map, or, the terminal device is used to download the first associated map block group from the server.

根据本申请的实施方式,第二设备通过自身的定位功能获取第一位置的位置信息,从而可以实现对自身的定位(即显示自身所在位置的定位界面)。According to the implementation manner of the present application, the second device obtains the location information of the first location through its own positioning function, thereby realizing its own positioning (ie, displaying a positioning interface of its own location).

在一些实施方式中,获取第一位置的位置信息,具体为:从第一设备获取第一位置的位置信息,其中,第一位置的位置信息是第一设备使用自身的定位功能获取的位置信息。In some implementations, obtaining the location information of the first location is specifically: obtaining the location information of the first location from the first device, wherein the location information of the first location is location information obtained by the first device using its own positioning function.

在一些实施方式中,第二设备为与第一设备通信连接的终端设备;获取第一位置的位置信息,具体为:第二设备通过自身的定位功能获取第一位置的位置信息;或者,第二设备从与第二设备通信连接的定位终端获取第一位置的位置信息;获取第一位置的位置信息之后,方法还包括:向第一设备发送第一位置的位置信息。In some embodiments, the second device is a terminal device that is communicatively connected to the first device; obtaining the location information of the first location is specifically: the second device obtains the location information of the first location through its own positioning function; or, the second device obtains the location information of the first location from a positioning terminal that is communicatively connected to the second device; after obtaining the location information of the first location, the method also includes: sending the location information of the first location to the first device.

根据本申请的实施方式,第一设备从与其通信连接的终端设备(例如,手机)获取第一位置的位置信息,从而可实现对除第一设备外的其他定位对象的定位(即显示其他定位对象所在位置的定位界面)。According to an implementation of the present application, the first device obtains the location information of the first location from a terminal device (e.g., a mobile phone) to which it is communicatively connected, thereby enabling the positioning of other positioning objects other than the first device (i.e., displaying a positioning interface of the locations of other positioning objects).

例如,该终端设备通过自身的定位功能获取第一位置的位置信息,并将第一位置的位置信息发送给第一设备,以使得第一设备显示该终端设备所在地理区域的地图图像,以实现对该终端设备的定位。另外,在本示例中,当该终端设备与第一设备的位置比较临近时(例如,用户同时携带第一设备和该终端设备时),可以认为该终端设备与第一设备均位于第一位置,此时,第一设备可借助该终端设备的定位功能实现对自身位置的定位,从而可以降低对自身定位功能的要求。For example, the terminal device obtains the location information of the first location through its own positioning function, and sends the location information of the first location to the first device, so that the first device displays a map image of the geographical area where the terminal device is located, so as to locate the terminal device. In addition, in this example, when the terminal device and the first device are relatively close (for example, when the user carries the first device and the terminal device at the same time), it can be considered that the terminal device and the first device are both located at the first location. At this time, the first device can locate its own location with the help of the positioning function of the terminal device, thereby reducing the requirements for its own positioning function.

又如,该终端设备获取来自其他定位设备(例如,儿童随身携带的位置追踪器)的定位信息,并将获取到的定位信息作为第一位置的位置信息发送给第一设备,以使得第一设备显示该定位设备所在地理区域的地图图像,从而实现对该定位设备的定位。For another example, the terminal device obtains positioning information from other positioning devices (for example, a location tracker carried by a child), and sends the obtained positioning information as the location information of the first location to the first device, so that the first device displays a map image of the geographical area where the positioning device is located, thereby achieving the positioning of the positioning device.

另外,本申请实施方式对第一关联地图块组的获取来源不作限定。在一个示例中,第一设备从向其发送第一位置位置信息的终端设备(例如,手机)获取第一关联地图块组;在另一个示例中,第一设备从上述终端设备获取到第一位置的位置信息后,再将第一位置的位置信息发送至服务器或其他终端设备,以从服务器或其他终端设备获取第一关联地图块组。In addition, the implementation of the present application does not limit the source of obtaining the first associated map block group. In one example, the first device obtains the first associated map block group from a terminal device (e.g., a mobile phone) that sends the first location information to the first device; in another example, after the first device obtains the location information of the first location from the above terminal device, it sends the location information of the first location to a server or other terminal device to obtain the first associated map block group from the server or other terminal device.

在一些实施方式中,方法还包括:向第一设备发送第一关联地图块组中的各地图块的索引信息,各地图块的索引信息与各地图块所表示的地理区域一一对应(例如,当第一关联地图块组包含第一地图块和第二地图块时,第一地图块的索引信息与第一地图块表示的地理区域相对应,第二地图块的索引信息与第二地图块表示的地理区域相对应);其中,第一设备根据第一关联地图块组中各地图块的索引信息,确定第一关联地图块组中的各地图块与第一设备的显示区域的相对位置关系,并显示第一关联地图块组中各地图块位于显示区域中的部分,以显示第一位置及第一位置所在地理区域的地图图像。In some embodiments, the method further includes: sending index information of each map block in the first associated map block group to the first device, the index information of each map block corresponding one-to-one to the geographical area represented by each map block (for example, when the first associated map block group includes the first map block and the second map block, the index information of the first map block corresponds to the geographical area represented by the first map block, and the index information of the second map block corresponds to the geographical area represented by the second map block); wherein the first device determines the relative position relationship between each map block in the first associated map block group and the display area of the first device based on the index information of each map block in the first associated map block group, and displays the portion of each map block in the first associated map block group located in the display area, so as to display a map image of the first location and the geographical area where the first location is located.

根据本申请的实施方式,第二设备向第一设备发送第一关联地图块组中各地图块的索引信息,从而,第一设备可方便地根据各地图块的索引信息确定各地图块在第一设备的显示区域中的显示位置,以生成定位界面。According to an implementation of the present application, the second device sends index information of each map block in the first associated map block group to the first device, so that the first device can conveniently determine the display position of each map block in the display area of the first device according to the index information of each map block to generate a positioning interface.

在一些实施方式中,数字地图中的地图块以矩阵的形式排列,地图块的索引信息包括地图块在矩阵中的行号和地图块在矩阵中的列号。In some implementations, the map blocks in the digital map are arranged in the form of a matrix, and the index information of the map block includes the row number of the map block in the matrix and the column number of the map block in the matrix.

在一些实施方式中,方法还包括:获取第二位置的位置信息,第二位置为不同于第一位置的位置;根据第二位置的位置信息,确定与第二位置相关联的第二关联地图块组,其中,第二关联地图块组为用于支持第一设备连续显示地图图像的一块或多块地图块,且第二关联地图块中的各地图块为从数字地图的地图块中选择的地图块;向第一设备发送第二关联地图块组。In some embodiments, the method further includes: obtaining location information of a second location, the second location being a location different from the first location; determining a second associated map block group associated with the second location based on the location information of the second location, wherein the second associated map block group is one or more map blocks used to support the first device to continuously display a map image, and each map block in the second associated map blocks is a map block selected from map blocks of a digital map; and sending the second associated map block group to the first device.

当定位位置由第一位置变更为第二位置,且第一设备根据第二位置的位置信息对定位界面进行更新后,第一设备的显示界面中可能出现显示缺口,用户可能会感觉到地图图像的显示出现断续。为此,本申请实施方式中,第二设备还向第一设备发送用于支持连续显示地图图像的第二关联地图块组,以使得第一设备在其显示区域中连续显示地图图像。When the positioning position is changed from the first position to the second position, and the first device updates the positioning interface according to the position information of the second position, a display gap may appear in the display interface of the first device, and the user may feel that the display of the map image is intermittent. To this end, in an embodiment of the present application, the second device also sends a second associated map block group for supporting continuous display of the map image to the first device, so that the first device continuously displays the map image in its display area.

在一些实施方式中,根据第二位置的位置信息,确定与第二位置相关联的第二关联地图块组,包括:根据第二位置的位置信息,确定位于显示区域中的地图块由于被显示区域的边界分割而产生的几何参数;当位于显示区域中的地图块中的至少一个地图块的几何参数位于设定的阈值区间时,将与至少一个地图块相邻的地图块确定为第二关联地图块组中的地图块。In some embodiments, determining a second associated map block group associated with the second position based on position information of the second position includes: determining geometric parameters of map blocks located in the display area due to being divided by boundaries of the display area based on the position information of the second position; when the geometric parameters of at least one map block among the map blocks located in the display area are within a set threshold range, determining a map block adjacent to the at least one map block as a map block in the second associated map block group.

在一些实施方式中,位于显示区域中的地图块被显示区域的边界分割为位于显示区域内的第一区域,以及位于显示区域外的第二区域;其中,几何参数包括下述至少一个:第一区域长度参数;第二区域的长度参数;第一区域的面积;第二区域的面积。In some embodiments, a map block located in a display area is divided by a boundary of the display area into a first area located within the display area and a second area located outside the display area; wherein the geometric parameters include at least one of the following: a length parameter of the first area; a length parameter of the second area; an area of the first area; and an area of the second area.

在一些实施方式中,数字地图的各地图块为图像尺寸相同的正方形地图块,正方形地图块具有沿第一方向延伸的第一侧边以及沿第二方向延伸的第二侧边,其中,第一方向与第二方向相互垂直;其中,第一区域的长度参数包括第一区域沿第一方向的长度,以及第一区域沿第二方向的长度;第二区域的长度参数包括第二区域沿第一方向的长度,以及第二区域沿第二方向的长度。In some embodiments, each map block of the digital map is a square map block with the same image size, and the square map block has a first side extending along a first direction and a second side extending along a second direction, wherein the first direction and the second direction are perpendicular to each other; wherein the length parameter of the first area includes the length of the first area along the first direction, and the length of the first area along the second direction; and the length parameter of the second area includes the length of the second area along the first direction, and the length of the second area along the second direction.

根据本申请的实施方式,可以简化第二关联地图块组的确定算法。According to the implementation of the present application, the algorithm for determining the second associated map block group can be simplified.

在一些实施方式中,根据第二位置的位置信息,确定与第二位置相关联的第二关联地图块组,包括:根据第二位置的位置信息,确定第二位置所在的地图块;将与第二位置所在的地图块相邻的一块或多块地图块确定为第二关联地图块组中的地图块。In some embodiments, determining a second associated map block group associated with the second position based on position information of the second position includes: determining a map block where the second position is located based on the position information of the second position; and determining one or more map blocks adjacent to the map block where the second position is located as map blocks in the second associated map block group.

根据本申请的实施方式,可以简化第二关联地图块组的确定算法。According to the implementation of the present application, the algorithm for determining the second associated map block group can be simplified.

在一些实施方式中,向第一设备发送第二关联地图块组,包括:根据历史地图块发送记录,确定第二关联地图块组中的未记录在历史地图块发送记录中的地图块,并向第第一设备发送未记录在历史地图块发送记录中的地图块。In some embodiments, sending a second associated map block group to a first device includes: determining, based on historical map block sending records, map blocks in the second associated map block group that are not recorded in the historical map block sending records, and sending the map blocks that are not recorded in the historical map block sending records to the first device.

根据本申请的实施方式,可减少第一设备与第二设备之间的数据传输量。According to the embodiments of the present application, the amount of data transmission between the first device and the second device can be reduced.

在一些实施方式中,显示区域的设定位置点为显示区域的几何中心点。In some embodiments, the set position point of the display area is a geometric center point of the display area.

根据本申请的实施方式,将定位标识点设置在地图显示区域的几何中心,可使得定位界面较为美观,同时也可以简化定位界面的生成算法。According to the implementation mode of the present application, the positioning mark point is set at the geometric center of the map display area, so that the positioning interface is more beautiful and the generation algorithm of the positioning interface can be simplified.

在一些实施方式中,在沿显示区域所在平面延伸的至少一个方向上,显示区域所表示的地理区域的范围与各地图块所表示的地理区域的范围相同。In some embodiments, in at least one direction extending along the plane where the display area is located, the range of the geographical area represented by the display area is the same as the range of the geographical area represented by each map block.

根据本申请的实施方式,第一设备的显示区域基本上正好用于显示一张地图块,这样使得第一设备具有尽可能高的显示清晰度,同时兼顾尽可能少的图像数据量。According to an embodiment of the present application, the display area of the first device is basically used to display a map block, so that the first device has the highest possible display clarity while taking into account the smallest possible amount of image data.

在一些实施方式中,方法还包括:获取导航起始位置的位置信息和导航目的位置的位置信息;根据导航起始位置的位置信息和导航目的位置的位置信息,确定由导航起始位置至导航目的位置的导航路线上的多个导航特征位置点,其中,多个导航特征位置点包括位于第一位置所在地理区域内的导航特征位置点;至少向第一设备发送位于第一位置所在地理区域内的导航特征位置点的位置信息,以使得第一设备根据接收自第二设备的导航特征位置点的位置信息生成导航轨迹图像,并基于导航特征位置点的位置信息确定导航轨迹图像与第一关联地图块组的地图图像的位置对应关系,并在显示区域中以位置相对应的方式显示导航轨迹图像和第一位置所在地理区域的地图图像的叠加图像。In some embodiments, the method also includes: obtaining location information of the navigation starting position and location information of the navigation destination position; determining a plurality of navigation feature location points on the navigation route from the navigation starting position to the navigation destination position based on the location information of the navigation starting position and the location information of the navigation destination position, wherein the plurality of navigation feature location points include a navigation feature location point located in a geographical area where the first position is located; sending location information of the navigation feature location point located in the geographical area where the first position is located to at least the first device, so that the first device generates a navigation track image based on the location information of the navigation feature location point received from the second device, and determines a position correspondence between the navigation track image and a map image of a first associated map block group based on the location information of the navigation feature location point, and displays a superimposed image of the navigation track image and the map image of the geographical area where the first position is located in a positionally corresponding manner in a display area.

根据本申请的实施方式,第一设备以地图的形式呈现导航界面,可以使用户直观的观察导航信息,可以提高用户体验。According to an implementation manner of the present application, the first device presents a navigation interface in the form of a map, which allows the user to intuitively observe the navigation information and improve the user experience.

在一些实施方式中,第一位置的位置点位于第二设备所确定的导航路线上;方法还包括:根据导航路线上的导航特征位置点,确定第一位置所在位置点的导航方向角,并根据所导航方向角确定用于向第一设备发送的方向指示信息;向第一设备发送方向指示信息,以使得第一设备根据方向指示信息确定与方向指示信息相匹配的方向指示图标,并在显示区域中显示方向指示图标。In some embodiments, the location point of the first location is located on a navigation route determined by the second device; the method also includes: determining the navigation direction angle of the location point where the first location is located based on the navigation feature location point on the navigation route, and determining the direction indication information to be sent to the first device based on the navigation direction angle; sending the direction indication information to the first device so that the first device determines a direction indication icon matching the direction indication information based on the direction indication information, and displays the direction indication icon in the display area.

根据本申请的实施方式,用户通过观察第一设备显示的导航界面,可以获取到在地图上显示的导航方向信息,可提高用户体验。According to an implementation manner of the present application, a user can obtain navigation direction information displayed on a map by observing a navigation interface displayed by a first device, thereby improving user experience.

第三方面,本申请实施方式提供了一种电子设备,包括:存储器,用于存储由所述电子设备的一个或多个处理器执行的指令;处理器,当所述处理器执行所述存储器中的所述指令时,可使得所述电子设备执行本申请第一方面任一实施方式提供的导航定位方法。第三方面能达到的有益效果可参考第一方面任一实施方式的有益效果,此处不再赘述。In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device; a processor, when the processor executes the instructions in the memory, the electronic device can execute the navigation and positioning method provided by any embodiment of the first aspect of the present application. The beneficial effects that can be achieved in the third aspect can refer to the beneficial effects of any embodiment of the first aspect, and will not be repeated here.

第四方面,本申请实施方式提供了一种电子设备,包括:存储器,用于存储由所述电子设备的一个或多个处理器执行的指令;处理器,当所述处理器执行所述存储器中的所述指令时,可使得所述电子设备执行本申请第二方面任一实施方式提供的导航定位方法。第四方面能达到的有益效果可参考第二方面任一实施方式的有益效果,此处不再赘述。In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device; a processor, when the processor executes the instructions in the memory, the electronic device can execute the navigation and positioning method provided by any embodiment of the second aspect of the present application. The beneficial effects that can be achieved in the fourth aspect can refer to the beneficial effects of any embodiment of the second aspect, and will not be repeated here.

第五方面,本申请实施方式提供了一种导航定位系统,包括通信连接的第一设备和第二设备,其中,第一设备用于执行本申请第一方面任一实施方式提供的导航定位方法,第二设备用于执行本申请第二方面任一实施方式提供的导航定位方法。第五方面能达到的有益效果可参考本申请第一方面任一实施方式的有益效果或本申请第二方面任一实施方式的有益效果,此处不再赘述。In a fifth aspect, an embodiment of the present application provides a navigation and positioning system, comprising a first device and a second device in communication connection, wherein the first device is used to execute the navigation and positioning method provided by any embodiment of the first aspect of the present application, and the second device is used to execute the navigation and positioning method provided by any embodiment of the second aspect of the present application. The beneficial effects that can be achieved in the fifth aspect can refer to the beneficial effects of any embodiment of the first aspect of the present application or the beneficial effects of any embodiment of the second aspect of the present application, and will not be repeated here.

第六方面,本申请实施方式提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,该指令在计算机上执行时,可使计算机执行本申请第一方面任一实施方式或本申请第二方面任一方式提供的的导航定位方法。第六方面能达到的有益效果可参考本申请第一方面任一实施方式的有益效果或本申请第二方面任一实施方式的有益效果,此处不再赘述。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored, and when the instructions are executed on a computer, the computer can execute the navigation and positioning method provided by any embodiment of the first aspect of the present application or any method of the second aspect of the present application. The beneficial effects that can be achieved in the sixth aspect can refer to the beneficial effects of any embodiment of the first aspect of the present application or the beneficial effects of any embodiment of the second aspect of the present application, and will not be repeated here.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1a为现有技术中一种手表的结构;FIG. 1a shows the structure of a watch in the prior art;

图1b为现有技术中另一种手表的结构;FIG1b shows the structure of another watch in the prior art;

图2为本申请实施例提供的导航定位方法的示例性应用场景;FIG2 is an exemplary application scenario of the navigation and positioning method provided in an embodiment of the present application;

图3a为本申请实施例提供的瓦片地图组织模型示意图;FIG3a is a schematic diagram of a tile map organization model provided in an embodiment of the present application;

图3b为本申请实施例提供的瓦片地图的像素坐标系定义方式示意图;FIG3b is a schematic diagram of a pixel coordinate system definition method of a tile map provided in an embodiment of the present application;

图3c为本申请实施例提供的瓦片地图的存储组织方式示意图;FIG3c is a schematic diagram of a storage organization method of a tile map provided in an embodiment of the present application;

图4为本申请实施例提供的手表的构造示意图;FIG4 is a schematic diagram of the structure of a watch provided in an embodiment of the present application;

图5为本申请实施例提供的手机的构造示意图;FIG5 is a schematic diagram of the structure of a mobile phone provided in an embodiment of the present application;

图6为本申请实施方式提供的手机的软件架构图;FIG6 is a software architecture diagram of a mobile phone provided in an embodiment of the present application;

图7为本申请实施例提供的定位界面示意图;FIG7 is a schematic diagram of a positioning interface provided in an embodiment of the present application;

图8为本申请实施例提供的手表的显示配置示意图一;FIG8 is a first schematic diagram of a display configuration of a watch provided in an embodiment of the present application;

图9为本申请实施例提供的手表的显示配置示意图二;FIG9 is a second schematic diagram of a display configuration of a watch provided in an embodiment of the present application;

图10为本申请实施例提供的定位方法流程图;FIG10 is a flow chart of a positioning method provided in an embodiment of the present application;

图11为本申请实施例提供的初始定位界面生成阶段流程图;FIG11 is a flow chart of the initial positioning interface generation phase provided in an embodiment of the present application;

图12a为本申请实施例提供的第一关联瓦片组示意图一;FIG12a is a schematic diagram 1 of a first associated tile group provided in an embodiment of the present application;

图12b为本申请实施例提供的第一关联瓦片组示意图二;FIG12b is a second schematic diagram of a first associated tile group provided in an embodiment of the present application;

图13为本申请实施例提供的屏幕坐标系、瓦片坐标系定义方式示意图;FIG13 is a schematic diagram of a method for defining a screen coordinate system and a tile coordinate system provided in an embodiment of the present application;

图14为本申请实施例提供的定位界面刷新阶段流程图;FIG14 is a flow chart of the positioning interface refresh phase provided in an embodiment of the present application;

图15为本申请实施例提供的定位界面刷新方法示意图;FIG15 is a schematic diagram of a positioning interface refresh method provided in an embodiment of the present application;

图16为本申请实施例提供的显示缺口的示意图;FIG16 is a schematic diagram of a display notch provided in an embodiment of the present application;

图17a为本申请实施例提供的第二关联瓦片组示意图一;FIG17a is a first schematic diagram of a second associated tile group provided in an embodiment of the present application;

图17b为本申请实施例提供的第二关联瓦片组示意图二;FIG17b is a second schematic diagram of a second associated tile group provided in an embodiment of the present application;

图18为本申请实施例提供的导航界面示意图一;FIG18 is a first schematic diagram of a navigation interface provided in an embodiment of the present application;

图19为本申请实施例提供的导航方法流程图;FIG19 is a flow chart of a navigation method provided in an embodiment of the present application;

图20为本申请实施例提供的绘图图层示意图;FIG20 is a schematic diagram of a drawing layer provided in an embodiment of the present application;

图21为本申请实施例提供的导航界面示意图二;FIG21 is a second schematic diagram of a navigation interface provided in an embodiment of the present application;

图22示出了本申请实施方式提供的电子设备的框图;FIG22 shows a block diagram of an electronic device provided in an embodiment of the present application;

图23示出了本申请实施方式提供的片上系统(SoC,System on Chip)的结构示意图。FIG23 shows a schematic diagram of the structure of a system on chip (SoC) provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

以下将参考附图详细说明本申请的具体实施方式。The specific implementation of the present application will be described in detail below with reference to the accompanying drawings.

为了更好的说明本申请,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本申请同样可以实施。在一些具体实施方式中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便凸显本申请的主旨。In order to better illustrate the present application, numerous specific details are provided in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some specific embodiments, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

本申请中,轻量化设备为程序运行时可用内存较少的设备,例如,可用内存为KB级别的设备。在此基础上,本申请对轻量化设备的具体形式不作限定,例如,智能手环/手表、眼镜、掌上游戏机、对讲机、位置追踪器等。以下将手表作为轻量化设备的示例。轻量化设备由于难以运行基于电子地图的导航应用,因而其能够提供的导航定位信息有限。In this application, a lightweight device is a device with less available memory when the program is running, for example, a device with available memory at the KB level. On this basis, this application does not limit the specific form of lightweight devices, for example, smart bracelets/watches, glasses, handheld game consoles, walkie-talkies, location trackers, etc. The following uses a watch as an example of a lightweight device. Lightweight devices are difficult to run navigation applications based on electronic maps, so the navigation and positioning information they can provide is limited.

图1a示出了现有技术中的一种轻量级手表01(图中仅示出了手表01的表体背面),手表01通过振动马达来提供导向功能。参考图1a,手表01的底盘上设有两个振动马达(分别为马达01a和马达01b),通过控制不同的马达振动,手表01可以发出不同的导向指示信息。例如,控制马达01a和位马达01b先后振动各振动一次,手表01发出左转的导向指示信息。通过该技术方案提供的轻量级手表01,用户仅可以获得简单的导向信息,但用户无法得知当前位置的定位信息以及导航路线信息,易用性差。FIG1a shows a lightweight watch 01 in the prior art (only the back of the watch body 01 is shown in the figure), and the watch 01 provides a guidance function through a vibration motor. Referring to FIG1a, two vibration motors (motor 01a and motor 01b) are provided on the chassis of the watch 01. By controlling the vibrations of different motors, the watch 01 can send out different guidance instructions. For example, the motor 01a and the position motor 01b are controlled to vibrate once each, and the watch 01 sends out guidance instructions for turning left. Through the lightweight watch 01 provided by this technical solution, the user can only obtain simple guidance information, but the user cannot know the positioning information of the current position and the navigation route information, and the usability is poor.

图1b示出了现有技术中的另一种轻量级手表02(图中仅示出了手表02的表体正面),轻量级手表02以图像的形式显示导航定位信息。参考图1b,轻量级手表02的显示屏上显示有方向箭头、道路名称、目的地距离等导航定位信息,从而可以为用户提供一定的导向定位功能。但是,该技术方案中,轻量级手表02显示的内容比较简单,因而提供给用户的信息量有限,且不够美观。FIG1b shows another lightweight watch 02 in the prior art (only the front of the watch body 02 is shown in the figure), and the lightweight watch 02 displays navigation and positioning information in the form of an image. Referring to FIG1b, the display screen of the lightweight watch 02 displays navigation and positioning information such as direction arrows, road names, and destination distances, thereby providing a certain guidance and positioning function for the user. However, in this technical solution, the content displayed by the lightweight watch 02 is relatively simple, so the amount of information provided to the user is limited and not beautiful enough.

为此,本申请实施方式用于提供一种导航定位方法,可以在手表上以地图的形式显示导航定位界面,从而可以丰富手表提供的导航定位信息,提高用户体验。To this end, the implementation mode of the present application is used to provide a navigation and positioning method, which can display a navigation and positioning interface in the form of a map on a watch, thereby enriching the navigation and positioning information provided by the watch and improving the user experience.

图2示出了本申请实施方式的一个示例性应用场景。本场景中,导航定位方法应用于由轻量级手表100(例如,可用内存为KB级别的手表)和手机200组成的导航定位系统。在导航定位状态下,手机200获取定位位置P的位置信息,并根据定位位置P的位置信息确定定位位置P所在地理区域的地图瓦片(下文将对地图瓦片进行详细说明);然后,手机200将定位位置P的位置信息以及确定的地图瓦片发送至手表100,手表100根据接收到的地图瓦片生成导航定位界面。参考图2,手表100上显示的导航定位界面包括定位位置P的地图图像(图中圆球定位标识)、定位位置P所在地理区域的地图图像及导航路线图,从而,用户通过观察手表100显示屏,可以直观地获取到定位信息和行进路线信息,有利于提高用户体验。FIG2 shows an exemplary application scenario of an embodiment of the present application. In this scenario, the navigation positioning method is applied to a navigation positioning system composed of a lightweight watch 100 (for example, a watch with KB-level available memory) and a mobile phone 200. In the navigation positioning state, the mobile phone 200 obtains the location information of the positioning position P, and determines the map tile of the geographical area where the positioning position P is located according to the location information of the positioning position P (the map tile will be described in detail below); then, the mobile phone 200 sends the location information of the positioning position P and the determined map tile to the watch 100, and the watch 100 generates a navigation positioning interface based on the received map tile. Referring to FIG2, the navigation positioning interface displayed on the watch 100 includes a map image of the positioning position P (the spherical positioning mark in the figure), a map image of the geographical area where the positioning position P is located, and a navigation route map, so that the user can intuitively obtain the positioning information and the route information by observing the display screen of the watch 100, which is conducive to improving the user experience.

换句话说,本申请通过一个导航定位系统来实现导航定位功能,导航定位系统包括一个用于发送地图瓦片的设备,本文将之称为“地图提供设备(作为第二设备)”;导航定位系统还包括一个用于显示导航定位界面的设备,本文将之称为“地图显示设备(作为第一设备)”,其中,在导航定位过程中,地图显示设备从地图提供设备接收地图瓦片,并根据接收到的地图瓦片生成导航定位界面,从而,地图显示设备只需在其内存中加载用于支持当前显示的地图瓦片即可,这样就降低了对地图显示设备内存容量的需求,使得本申请提供的导航定位方法可以应用于以非智能手表100为例的轻量化设备。In other words, the present application implements the navigation and positioning function through a navigation and positioning system, which includes a device for sending map tiles, which is referred to as the "map providing device (as the second device)" in this article; the navigation and positioning system also includes a device for displaying a navigation and positioning interface, which is referred to as the "map display device (as the first device)" in this article, wherein, during the navigation and positioning process, the map display device receives map tiles from the map providing device, and generates a navigation and positioning interface based on the received map tiles, thereby, the map display device only needs to load the map tiles used to support the current display into its memory, thereby reducing the demand for the memory capacity of the map display device, so that the navigation and positioning method provided in the present application can be applied to lightweight devices such as non-smart watches 100.

需要说明的是,本申请的应用对象不限于轻量化设备,地图显示设备也可以是智能手机、平板电脑等具有较强计算和存储能力的设备,以节约这些设备的本地计算资源。另外,地图提供设备也可以为除手机200之外的其他设备,例如,笔记本电脑、车载电脑等;又如,地图提供设备还可以是服务器。本文中,服务器可以为分布式服务器,其数据和程序不位于同一个服务器上,而是分散到多个服务器上,通过多个服务器的共同协作完成目标任务(例如,存储瓦片地图,向地图显示设备提供地图瓦片等)。It should be noted that the application objects of the present application are not limited to lightweight devices. The map display device may also be a smart phone, tablet computer, or other device with strong computing and storage capabilities to save local computing resources of these devices. In addition, the map providing device may also be other devices besides the mobile phone 200, such as a laptop computer, a car computer, etc.; for another example, the map providing device may also be a server. In this article, the server may be a distributed server, whose data and programs are not located on the same server, but are distributed to multiple servers, and the target task is completed through the joint collaboration of multiple servers (for example, storing tile maps, providing map tiles to the map display device, etc.).

本申请的一个场景中,地图显示设备通过自身的定位功能获取定位位置P的位置信息,并将定位位置P的位置信息发送至地图提供设备(例如,手机等终端设备或服务器)。地图提供设备在接收到定位位置P的位置信息后,确定用于向地图显示设备提供的瓦片(地图显示设备通过该瓦片生成导航定位界面),并向地图显示设备发送该瓦片。地图显示设备在接收到地图提供设备发送的瓦片后,生成定位位置P的导航定位界面。在本场景中,地图显示设备通过自身的定位功能获取定位位置P的位置信息,因此,定位对象为地图显示设备本身。In one scenario of the present application, the map display device obtains the location information of the positioning position P through its own positioning function, and sends the location information of the positioning position P to the map providing device (for example, a terminal device such as a mobile phone or a server). After receiving the location information of the positioning position P, the map providing device determines the tile to be provided to the map display device (the map display device generates a navigation positioning interface through the tile), and sends the tile to the map display device. After receiving the tile sent by the map providing device, the map display device generates a navigation positioning interface for the positioning position P. In this scenario, the map display device obtains the location information of the positioning position P through its own positioning function, so the positioning object is the map display device itself.

但本申请不限于此,定位对象还可以为地图显示设备之外的其他设备地图显示设备,此时,地图显示设备从其他设备获取定位位置P的位置信息。However, the present application is not limited thereto, and the positioning object may also be a map display device other than the map display device. In this case, the map display device obtains the location information of the positioning position P from the other device.

例如,图2所示场景中,地图显示设备从地图提供设备获取定位位置P的位置信息,具体地,地图提供设备通过自身的定位功能(例如,GPS定位功能)获取定位位置P的位置信息,此时,定位对象为地图提供设备本身。地图提供设备在获取到定位位置P的位置信息后,确定用于向地图显示设备提供的瓦片(地图显示设备通过该瓦片生成导航定位界面),并将该瓦片以及定位位置P的位置信息发送至地图显示设备,地图显示设备根据接收到的瓦片以及定位位置P的位置信息生成导航定位界面(地图提供设备所在位置的导航定位界面)。For example, in the scenario shown in FIG2 , the map display device obtains the location information of the positioning position P from the map providing device. Specifically, the map providing device obtains the location information of the positioning position P through its own positioning function (e.g., GPS positioning function). At this time, the positioning object is the map providing device itself. After obtaining the location information of the positioning position P, the map providing device determines the tile to be provided to the map display device (the map display device generates a navigation positioning interface through the tile), and sends the tile and the location information of the positioning position P to the map display device. The map display device generates a navigation positioning interface (the navigation positioning interface of the location of the map providing device) based on the received tile and the location information of the positioning position P.

需要说明的是,图2所示的场景中,不限定地图提供设备和地图显示设备之间的距离,即地图提供设备和地图显示设备可以位于临近的位置(例如,用户同时携带手机200和手表100时),也可以相距一段距离。其中,当地图提供设备和地图显示设备位于临近的位置时(例如,手表100判断手表100与手机200之间的距离小于设定阈值时),可视为地图提供设备和地图显示设备均位于定位位置P,此时,地图显示设备生成的导航定位界面可视为地图显示设备自身的导航定位界面。因此,该场景下,地图显示设备可以借助地图提供设备的定位功能实现对自身位置的定位,从而降低对地图显示设备自身定位功能的要求。It should be noted that in the scenario shown in FIG. 2 , the distance between the map providing device and the map display device is not limited, that is, the map providing device and the map display device can be located in a nearby position (for example, when the user carries a mobile phone 200 and a watch 100 at the same time), or they can be separated by a certain distance. Among them, when the map providing device and the map display device are located in a nearby position (for example, when the watch 100 determines that the distance between the watch 100 and the mobile phone 200 is less than a set threshold), it can be regarded that the map providing device and the map display device are both located at the positioning position P. At this time, the navigation positioning interface generated by the map display device can be regarded as the navigation positioning interface of the map display device itself. Therefore, in this scenario, the map display device can use the positioning function of the map providing device to realize the positioning of its own position, thereby reducing the requirements for the positioning function of the map display device itself.

又如,在另一个场景中,定位对象还可以是用户期望的其他对象,此时,定位位置P是用户期望了解的其他定位对象的位置。例如,在防止儿童走失时,将儿童作为定位对象;又如,在自动化仓库中,将自动运行小车作为定位对象;再如,在打车业务中,在等待上车时,司机和乘客可以互相将对方作为定位对象,以获取对方的实时位置信息。该场景中,定位对象上携带有定位终端(例如,位置追踪器),定位终端将定位位置P(即定位对象所在位置)的位置信息发送至地图提供设备,地图提供设备在获取到定位位置P的位置信息后,确定用于向地图显示设备提供的瓦片,并将该瓦片以及定位位置P的位置信息发送至地图显示设备,以使得地图显示设备根据接收到的瓦片以及定位位置P的位置信息生成定位对象所在位置的导航定位界面;或者,定位终端也可以将定位位置P(即定位对象所在位置)的位置信息发送至地图显示设备(例如,手机等终端设备或服务器),地图显示设备向地图提供设备发送定位位置P的位置信息,以从地图提供设备获取用于生成导航定位界面的瓦片。For example, in another scenario, the positioning object can also be other objects desired by the user. In this case, the positioning position P is the position of other positioning objects that the user wants to know. For example, when preventing children from getting lost, children are used as positioning objects; in an automated warehouse, an automatically running car is used as a positioning object; in a taxi service, when waiting to get on the car, the driver and the passenger can use each other as positioning objects to obtain each other's real-time location information. In this scenario, the positioning object carries a positioning terminal (for example, a location tracker), and the positioning terminal sends the location information of the positioning position P (i.e., the location of the positioning object) to the map providing device. After obtaining the location information of the positioning position P, the map providing device determines the tile to be provided to the map display device, and sends the tile and the location information of the positioning position P to the map display device, so that the map display device generates a navigation positioning interface for the location of the positioning object according to the received tile and the location information of the positioning position P; alternatively, the positioning terminal may also send the location information of the positioning position P (i.e., the location of the positioning object) to the map display device (for example, a terminal device such as a mobile phone or a server), and the map display device sends the location information of the positioning position P to the map providing device, so as to obtain the tile for generating the navigation positioning interface from the map providing device.

为便于理解本申请的技术方案,以下对瓦片地图(作为以地图块形式组成的数字地图)进行介绍。To facilitate understanding of the technical solution of the present application, a tile map (a digital map composed of map blocks) is introduced below.

地球可以看作一个近似的椭球体,地球上某一点的位置可以通过其经纬度进行表示,经纬度的单位为角度。但平时我们看到的地图大多是二维平面地图,在二维平面地图上用角度表示某一位置的地理位置多有不便,因此,有众多的转换方式用于将经纬度度坐标转换为世界平面坐标(本申请实施方式中世界坐标系C0的定义请参考图3b),转换方式可以为墨卡托转换(也称墨卡托投影)等。The earth can be regarded as an approximate ellipsoid, and the position of a certain point on the earth can be represented by its longitude and latitude, and the unit of longitude and latitude is angle. However, most of the maps we usually see are two-dimensional plane maps. It is inconvenient to use angles to represent the geographical location of a certain position on a two-dimensional plane map. Therefore, there are many conversion methods for converting longitude and latitude coordinates into world plane coordinates (please refer to Figure 3b for the definition of world coordinate system C0 in the implementation mode of this application), and the conversion method can be Mercator transformation (also known as Mercator projection) and the like.

将经纬度度坐标转换为世界平面坐标后,世界地图可以表示为一张矩形的图片。一幅精确到街道的世界地图,其图像尺寸在百万像素以上。由于图像的数据太大,这样的地图难以被电子设备直接利用,例如,电子设备通常难以一次完成该地图的下载,又如,应用程序在调用该地图时电子设备也无法将其一次加载到内存中。After converting the latitude and longitude coordinates into world plane coordinates, the world map can be represented as a rectangular picture. A world map that is accurate to the street level has an image size of more than one million pixels. Since the image data is too large, such a map is difficult to be directly used by electronic devices. For example, it is usually difficult for electronic devices to download the map at one time. For another example, when an application calls the map, the electronic device cannot load it into the memory at one time.

在常见的地图应用(例如,百度地图TM、高德地图TM、谷歌地图TM、Here WeGoTM等),或者内嵌了地图应用的应用(例如,滴滴打车TM、大众点评TM等)中,完整的世界地图通常由许多个小的正方形图片组成,这些正方形图片称为“瓦片”或“地图块”。各瓦片具有相同的图像尺寸,通常为256×256像素(下文以该图像尺寸为例来介绍本申请实施方式的技术方案,但本申请不限于此)。这些瓦片一个挨一个并列放置以组成一张完整的世界地图,以该方式组织的地图称为“瓦片地图”。In common map applications (e.g., Baidu Maps TM , Amap TM , Google Maps TM , Here WeGo TM , etc.), or applications with built-in map applications (e.g., Didi Taxi TM , Dianping TM , etc.), a complete world map is usually composed of many small square images, which are called "tiles" or "map blocks". Each tile has the same image size, usually 256×256 pixels (hereinafter, this image size is used as an example to introduce the technical solution of the implementation method of the present application, but the present application is not limited thereto). These tiles are placed side by side to form a complete world map, and a map organized in this way is called a "tile map".

瓦片地图的组织模型是一种多分辨率层次模型,又称金字塔模型。参考图3a,从金字塔的顶层到底层,各层地图的分辨率越来越高,但表示的地理位置不变。位于顶层(第0层)的瓦片数量为1张,即该层通过一张瓦片表示完整的世界地图图像;第1层将第0层的瓦片进行4分,通过4张瓦片来表示世界地图图像;第2层将第1层的每张瓦片再次4分,通过16张瓦片来表示世界地图图像,……,依次类推,第n层通过4n张瓦片表示世界地图图像。可以理解,层级越高,该层瓦片所表示的地理图像越清晰,对应图像数据量也越大。The organizational model of tile maps is a multi-resolution hierarchical model, also known as a pyramid model. Referring to Figure 3a, from the top to the bottom of the pyramid, the resolution of each layer of maps is getting higher and higher, but the geographical location represented remains unchanged. The number of tiles at the top layer (layer 0) is 1, that is, this layer uses one tile to represent the complete world map image; the first layer divides the tiles of layer 0 into 4, and uses 4 tiles to represent the world map image; the second layer divides each tile of layer 1 into 4 again, and uses 16 tiles to represent the world map image, ..., and so on, the nth layer uses 4n tiles to represent the world map image. It can be understood that the higher the level, the clearer the geographical image represented by the tiles of this layer, and the larger the corresponding image data volume.

参考图3b,在每一层瓦片上,各瓦片以矩阵的形式规则地排列。各瓦片在Y方向的序号为该瓦片的行号,在X方向的序号为该瓦片的列号。以图示阴影瓦片为例,该瓦片的行号为2,列号为3。Referring to FIG3b , on each layer of tiles, the tiles are regularly arranged in a matrix. The serial number of each tile in the Y direction is the row number of the tile, and the serial number in the X direction is the column number of the tile. Taking the shaded tile shown in the figure as an example, the row number of the tile is 2 and the column number is 3.

为建立各瓦片像素与代表的地理区域之间的对应关系,在每一层瓦片上建立有与该层瓦片相对应的像素坐标系C1。在像素坐标系C1下,各像素的像素坐标用其在该层瓦片上的位置进行表示。换句话说,如果某个像素为X方向上的第i个、y方向上的第j个像素,那么该像素在像素坐标系C1下的像素坐标为(i,j)。以图示A点为例(A点为图示阴影瓦片的顶点),由于每个瓦片的像素数量为256×256,因此,A点的像素坐标为(768,512)。本示例中,各像素的x坐标为该像素所在的列号i,y坐标为该像素的所在行号j,因此,各像素的像素坐标为(i,j)。但本申请不限于此,例如,在另一个示例中,各像素的x坐标为该像素所在的行号j,y坐标为该像素所在的列号i,相应地,在该示例中,各像素的像素坐标为(j,i)。In order to establish the correspondence between each tile pixel and the represented geographical area, a pixel coordinate system C1 corresponding to the layer of tiles is established on each layer of tiles. In the pixel coordinate system C1, the pixel coordinates of each pixel are represented by its position on the layer of tiles. In other words, if a pixel is the i-th pixel in the x-direction and the j-th pixel in the y-direction, then the pixel coordinates of the pixel in the pixel coordinate system C1 are (i, j). Taking point A in the figure as an example (point A is the vertex of the shaded tile in the figure), since the number of pixels of each tile is 256×256, the pixel coordinates of point A are (768, 512). In this example, the x coordinate of each pixel is the column number i where the pixel is located, and the y coordinate is the row number j where the pixel is located, so the pixel coordinates of each pixel are (i, j). However, the present application is not limited to this. For example, in another example, the x coordinate of each pixel is the row number j where the pixel is located, and the y coordinate is the column number i where the pixel is located. Correspondingly, in this example, the pixel coordinates of each pixel are (j, i).

通过建立像素坐标系C1,可以建立各像素的像素坐标与其代表的地理区域之间的关系。图3b示出了像素坐标系C1与世界平面坐标系C0之间的对应关系。在世界平面坐标系C0下,世界范围地理区域的总长度为L,总宽度为W,那么,对于第n层瓦片,每一个瓦片像素所表示的地理区域的长度的L/2n/256,宽度为W/2n/256。因此,在像素坐标系C1中,坐标值为(i,j)的像素对应于世界平面坐标系C0中坐标范围为([L/2n/256*(i-1),L/2n/256*i],[W/2n/256*(j-1),W/2n/256*j])的地理区域。另外,还可确定第n层瓦片上,每个瓦片所表示的地理区域的长度为L/2n,宽度为W/2nBy establishing the pixel coordinate system C1, the relationship between the pixel coordinates of each pixel and the geographical area it represents can be established. FIG. 3 b shows the corresponding relationship between the pixel coordinate system C1 and the world plane coordinate system C0. Under the world plane coordinate system C0, the total length of the world-wide geographical area is L, and the total width is W. Then, for the n-th layer of tiles, the length of the geographical area represented by each tile pixel is L/2 n /256, and the width is W/2 n /256. Therefore, in the pixel coordinate system C1, the pixel with the coordinate value (i, j) corresponds to the geographical area with the coordinate range of ([L/2 n /256*(i-1), L/2 n /256*i], [W/2 n /256*(j-1), W/2 n /256*j]) in the world plane coordinate system C0. In addition, it can also be determined that the length of the geographical area represented by each tile on the n-th layer of tiles is L/2 n , and the width is W/2 n .

在瓦片地图中,通过层级数、行号、列号这三个参数可以定位到一张具体的瓦片,本申请实施方式中,瓦片地图根据这三个参数来组织瓦片的存储。参考图3c,用于存放瓦片地图的一级目录“\map”下包括多个二级目录,分别为:\6,\7,……,\19,二级目录目录名中的数字表示该二级目录下存储的瓦片的层级;接下来,各二级目录下设有三级目录,例如,二级目录\17下设有三级目录:\23657,\23658,……,\23670等,三级目录目录名中的数字表示该三级目录下存储的瓦片的行号,可以理解,位于同一个三级目录下的各瓦片具有相同的纬度;最后,在每个三级目录下存储有多张瓦片,示例性的,在三级目录名为23657的三级目录下,各瓦片的瓦片名分别为7893,7894,……,7901等,瓦片的瓦片名为该瓦片的列号,可以理解,瓦片的列号对应于瓦片所在的经度。因此,图3c中,文件名为7895的瓦片为第17层级,行号为23657,列号为7895的瓦片。In a tile map, a specific tile can be located through three parameters: level number, row number, and column number. In the implementation of the present application, the tile map organizes the storage of tiles according to these three parameters. Referring to Figure 3c, the first-level directory "\map" for storing tile maps includes multiple second-level directories, namely: \6, \7, ..., \19, and the numbers in the second-level directory names represent the levels of the tiles stored in the second-level directory; next, each second-level directory is provided with a third-level directory, for example, the second-level directory \17 is provided with three-level directories: \23657, \23658, ..., \23670, etc., and the numbers in the third-level directory names represent the row numbers of the tiles stored in the third-level directory. It can be understood that the tiles located in the same third-level directory have the same latitude; finally, multiple tiles are stored in each third-level directory. For example, in the third-level directory named 23657, the tile names of each tile are 7893, 7894, ..., 7901, etc., and the tile name of the tile is the column number of the tile. It can be understood that the column number of the tile corresponds to the longitude of the tile. Therefore, in FIG3 c , the tile with the file name 7895 is the tile with the 17th level, the row number 23657, and the column number 7895.

以上为瓦片地图组织方式的示例性说明,本申请不限于此。例如,在其他示例中,可以建立经纬度坐标系与像素坐标系之间的对应关系,各瓦片的行号用其所在地理位置的经度表示,各瓦片的列号用其所在地理位置的纬度表示。The above is an exemplary description of the tile map organization method, and the present application is not limited thereto. For example, in other examples, a correspondence between a longitude and latitude coordinate system and a pixel coordinate system can be established, and the row number of each tile is represented by the longitude of its geographical location, and the column number of each tile is represented by the latitude of its geographical location.

另外,为便于理解,本文中,各坐标系(例如,世界平面坐标系C0,像素坐标系C1以及下文将提及的屏幕坐标系C2、瓦片坐标系C3等)的原点均位于其所表示的对象的左上角,但本申请不限于此。例如,在其他示例中,世界平面坐标系C0的原点为赤道与本初子午线的交点(0°经线与0°纬线的交点)。In addition, for ease of understanding, in this document, the origin of each coordinate system (for example, the world plane coordinate system C0, the pixel coordinate system C1, and the screen coordinate system C2 and the tile coordinate system C3 mentioned below) is located at the upper left corner of the object represented by it, but the present application is not limited thereto. For example, in other examples, the origin of the world plane coordinate system C0 is the intersection of the equator and the prime meridian (the intersection of the 0° longitude and the 0° latitude).

下面介绍本申请实施方式提供的瓦片地图的使用方法。通过GPS等定位方式,获取到某一点(例如,定位位置P)的经纬度坐标;将定位位置P的经纬度坐标向世界平面坐标系C0进行投影(例如,墨卡托投影)后,得到其在世界平面坐标系C0中的坐标;进而,参照图3b中的变换方法,确定定位位置P在像素坐标系C1中的像素坐标,并确定定位位置P所在瓦片的行列号;最后,根据瓦片行列号确定该瓦片的存储索引,并找到定位位置P所在的瓦片。The following describes the method for using the tile map provided by the embodiment of the present application. The longitude and latitude coordinates of a certain point (e.g., location P) are obtained through positioning methods such as GPS; the longitude and latitude coordinates of location P are projected to the world plane coordinate system C0 (e.g., Mercator projection) to obtain its coordinates in the world plane coordinate system C0; then, with reference to the transformation method in FIG3b, the pixel coordinates of location P in the pixel coordinate system C1 are determined, and the row and column numbers of the tile where location P is located are determined; finally, the storage index of the tile is determined according to the tile row and column numbers, and the tile where location P is located is found.

由于瓦片地图的坐标系定义简单,用户可以很方便地找到定位位置P所对应的瓦片。瓦片地图的下载也非常灵活,用户在使用瓦片地图时,不必要获取所有的地图数据,而是可以根据需要,获取指定地理范围和/或指定层级上的瓦片即可。Since the coordinate system of the tile map is simply defined, users can easily find the tile corresponding to the location P. The download of the tile map is also very flexible. When using the tile map, users do not need to obtain all the map data, but can obtain tiles in a specified geographic range and/or at a specified level as needed.

本申请基于瓦片地图的上述优点,提供了一种导航定位方法,可以在手表100上以地图的形式显示导航定位界面,以提高用户体验。以下结合图2的场景对本申请的具体实施例进行说明。Based on the above advantages of tile maps, the present application provides a navigation and positioning method, which can display a navigation and positioning interface in the form of a map on the watch 100 to improve the user experience. The specific embodiment of the present application is described below in conjunction with the scenario of FIG.

图4示出了本申请实施例提供的手表100的结构图。手表100包括处理器110、存储器120、通信模块130以及显示屏140。FIG4 shows a structural diagram of a watch 100 provided in an embodiment of the present application. The watch 100 includes a processor 110 , a memory 120 , a communication module 130 , and a display screen 140 .

处理器110可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI)、通用输入输出(general-purpose input/output,GPIO)接口等。The processor 110 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions. In some embodiments, the processor 110 may include one or more interfaces. The interface may include a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, etc.

UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与通信模块130。例如:处理器110通过UART接口与通信模块130中的蓝牙模块通信,实现蓝牙功能。The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the communication module 130. For example, the processor 110 communicates with the Bluetooth module in the communication module 130 through the UART interface to implement the Bluetooth function.

MIPI接口可以被用于连接处理器110与显示屏140等器件。MIPI接口包括显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和显示屏140通过DSI接口通信,实现手表100的显示功能。The MIPI interface can be used to connect the processor 110 and the display screen 140 and other devices. The MIPI interface includes a display serial interface (DSI) and the like. In some embodiments, the processor 110 and the display screen 140 communicate via the DSI interface to implement the display function of the watch 100.

GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与显示屏140,通信模块130等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the display screen 140, the communication module 130, etc.

通信模块130可以提供应用在手表100上的包括无线局域网(wireless localarea networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequencymodulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。The communication module 130 can provide wireless communication solutions for application on the watch 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

显示屏140用于显示图像,视频等。显示屏140包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。The display screen 140 is used to display images, videos, etc. The display screen 140 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc.

存储器120可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在存储器120的指令,和/或存储在设置于处理器中的存储器的指令,执行手表100的各种功能应用以及数据处理。存储器120中存储的指令可以包括:由处理器中的至少一个执行时导致手表100实施本申请实施例提供的导航定位方法中由手表实施的步骤的指令。The memory 120 may be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the watch 100 by running the instructions stored in the memory 120 and/or the instructions stored in the memory provided in the processor. The instructions stored in the memory 120 may include: instructions that, when executed by at least one of the processors, cause the watch 100 to implement the steps implemented by the watch in the navigation and positioning method provided in the embodiment of the present application.

图5示出了本申请实施例提供的手机200的结构示意图。FIG5 shows a schematic structural diagram of a mobile phone 200 provided in an embodiment of the present application.

手机200可以包括处理器210,外部存储器接口220,内部存储器221,通用串行总线(universal serial bus,USB)接头230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中传感器模块280可以包括压力传感器280A,陀螺仪传感器280B,气压传感器280C,磁传感器280D,加速度传感器280E,距离传感器280F,接近光传感器280G,指纹传感器280H,温度传感器280J,触摸传感器280K,环境光传感器280L,骨传导传感器280M等。The mobile phone 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) connector 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

可以理解的是,本发明实施例示意的结构并不构成对手机200的具体限定。在本申请另一些实施例中,手机200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 200. In other embodiments of the present application, the mobile phone 200 may include more or fewer components than those shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

处理器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.

处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口。In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, and a subscriber identity module (SIM) interface.

I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器210可以包含多组I2C总线。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may include multiple I2C buses.

I2S接口可以用于音频通信。在一些实施例中,处理器210可以包含多组I2S总线。在一些实施例中,音频模块270可以通过I2S接口向无线通信模块260传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 210 can include multiple I2S buses. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the I2S interface to implement the function of answering calls via a Bluetooth headset.

UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器210与无线通信模块260。例如:处理器210通过UART接口与无线通信模块260中的蓝牙模块通信,实现蓝牙功能。The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 through the UART interface to implement the Bluetooth function.

MIPI接口可以被用于连接处理器210与显示屏294等器件。MIPI接口包括显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器210和显示屏294通过DSI接口通信,实现手机200的显示功能。The MIPI interface can be used to connect the processor 210 and the display screen 294 and other devices. The MIPI interface includes a display serial interface (DSI) and the like. In some embodiments, the processor 210 and the display screen 294 communicate via the DSI interface to implement the display function of the mobile phone 200.

GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器210与显示屏294,无线通信模块260等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 with the display screen 294, the wireless communication module 260, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机200的结构限定。在本申请另一些实施例中,手机200也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the mobile phone 200. In other embodiments of the present application, the mobile phone 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

手机200的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone 200 can be realized through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.

天线1和天线2用于发射和接收电磁波信号。手机200中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization rate of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

移动通信模块250可以提供应用在手机200上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(lownoise amplifier,LNA)等。移动通信模块250可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块250还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。The mobile communication module 250 can provide solutions for wireless communications including 2G/3G/4G/5G applied to the mobile phone 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过显示屏294显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器210,与移动通信模块250或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor displays an image or video through the display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.

无线通信模块260可以提供应用在手机200上的包括无线局域网(wireless localarea networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequencymodulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the mobile phone 200. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

在一些实施例中,手机200的天线1和移动通信模块150耦合,天线2和无线通信模块260耦合,使得手机200可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code divisionmultiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(globalnavigation satellite system,GLONASS),北斗卫星导航系统(beidou navigationsatellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone 200 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 260, so that the mobile phone 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).

手机200通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The mobile phone 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.

显示屏294用于显示图像,视频等。显示屏294包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,手机200可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone 200 may include 1 or N display screens 194, where N is a positive integer greater than 1.

外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机200的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机200使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器210通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行手机200的各种功能应用以及数据处理。存储器404中存储的指令可以包括:由处理器中的至少一个执行时导致手机200实施本申请实施例提供的导航定位方法中由手机实施的步骤的指令。The internal memory 221 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the mobile phone 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (universal flash storage, UFS), etc. The processor 210 executes various functional applications and data processing of the mobile phone 200 by running instructions stored in the internal memory 121, and/or instructions stored in a memory provided in the processor. The instructions stored in the memory 404 may include: instructions that cause the mobile phone 200 to implement the steps implemented by the mobile phone in the navigation and positioning method provided in the embodiment of the present application when executed by at least one of the processors.

手机200的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明手机200的软件结构。The software system of the mobile phone 200 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to exemplify the software structure of the mobile phone 200.

图6是本发明实施例的手机200的软件结构框图。FIG. 6 is a software structure block diagram of the mobile phone 200 according to an embodiment of the present invention.

分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.

如图6所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in FIG. 6 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

其中,地图应用可以对瓦片地图的存储进行管理,还可以确定向手表100发送的地图瓦片;导航应用可以生成起始地址至目的地址的导航路径;WLAN和蓝牙应用可以实现手机200与手表100之间的通信。Among them, the map application can manage the storage of tile maps and determine the map tiles to be sent to the watch 100; the navigation application can generate a navigation path from the starting address to the destination address; and the WLAN and Bluetooth applications can realize communication between the mobile phone 200 and the watch 100.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

如图6所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in FIG. 6 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

电话管理器用于提供手机200的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the mobile phone 200, such as management of call status (including answering, hanging up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

2D图形引擎是2D绘图的绘图引擎。A 2D graphics engine is a drawing engine for 2D drawings.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

以下结合图2示出的场景,介绍本申请的具体实施例。其中,实施例一为本申请提供的定位方法,实施例二为本申请提供的导航方法。但可以理解,本申请也可以应用在除图2所示场景之外的其他场景,例如,本文上文中所述的场景。The following describes a specific embodiment of the present application in conjunction with the scenario shown in FIG2. Among them, Embodiment 1 is a positioning method provided by the present application, and Embodiment 2 is a navigation method provided by the present application. However, it can be understood that the present application can also be applied to other scenarios besides the scenario shown in FIG2, for example, the scenario described above in this article.

【实施例一】[Example 1]

本实施例对本申请提供的定位方法进行介绍。图7示出了本实施例提供的用于在手表100上显示的定位界面。具体地,手表100在用于显示定位界面的显示区域D(作为用于显示地图的显示区域)显示有定位位置P的地图图像(图示圆球定位标识701),以及定位位置P所在地理区域的地图图像702。用户可以从定位界面直观地获取到定位位置P的定位信息,从而提高用户体验。This embodiment introduces the positioning method provided by the present application. FIG7 shows a positioning interface provided by the present embodiment for display on the watch 100. Specifically, the watch 100 displays a map image of the positioning position P (shown as a spherical positioning mark 701) and a map image 702 of the geographical area where the positioning position P is located in the display area D (as a display area for displaying a map) for displaying the positioning interface. The user can intuitively obtain the positioning information of the positioning position P from the positioning interface, thereby improving the user experience.

为便于表述本实施例的技术方案,首先介绍本实施例中手表100的显示配置。在瓦片地图中,各瓦片均具有相同的图像尺寸(本实施例为256×256像素)。为具有尽可能高的显示清晰度,同时兼顾尽可能少的图像数据量,本实施例中,手表100用于显示导航定位界面的显示区域D中正好可以显示一张瓦片。具体而言,在沿显示区域D所在平面延伸的至少一个方向上,瓦片图像的长度与显示区域D的长度相同,这样,在该方向上,瓦片所表示的地理区域的范围与显示区域D所表示的地理区域的范围相同。本实施例中,显示区域D可以是手表100显示屏的全部显示区域,也可以是手表100全部显示区域中的设定部分。To facilitate the description of the technical solution of the present embodiment, the display configuration of the watch 100 in the present embodiment is first introduced. In the tile map, each tile has the same image size (256×256 pixels in the present embodiment). In order to have the highest possible display clarity while taking into account the smallest possible amount of image data, in the present embodiment, the display area D of the watch 100 used to display the navigation and positioning interface can display exactly one tile. Specifically, in at least one direction extending along the plane where the display area D is located, the length of the tile image is the same as the length of the display area D, so that in this direction, the range of the geographical area represented by the tile is the same as the range of the geographical area represented by the display area D. In the present embodiment, the display area D can be the entire display area of the display screen of the watch 100, or it can be a set part of the entire display area of the watch 100.

图8示出了本实施例中手表100显示配置的具体示例,其中,实线为手表100的显示区域D的边界线,虚线为瓦片的边界线。参考图8(a),当手表100的显示区域D为圆形时,显示区域D边界线为瓦片边界线的内切圆,显示区域D的直径与瓦片图像的边长相同;参考图8(b),当手表100的显示区域D为正方形时,显示区域D边界线与瓦片边界线重合,显示区域D的边长与瓦片图像的边长相同;参考图8(c)和图8(d),当手表100的显示区域D为矩形时,显示区域D的宽度与瓦片的边长相同(图8(c)),或者,显示区域D的长度与瓦片的边长相同(8(d))。FIG8 shows a specific example of the display configuration of the watch 100 in this embodiment, wherein the solid line is the boundary line of the display area D of the watch 100, and the dotted line is the boundary line of the tile. Referring to FIG8(a), when the display area D of the watch 100 is circular, the boundary line of the display area D is the inscribed circle of the tile boundary line, and the diameter of the display area D is the same as the side length of the tile image; referring to FIG8(b), when the display area D of the watch 100 is square, the boundary line of the display area D coincides with the tile boundary line, and the side length of the display area D is the same as the side length of the tile image; referring to FIG8(c) and FIG8(d), when the display area D of the watch 100 is rectangular, the width of the display area D is the same as the side length of the tile (FIG8(c)), or the length of the display area D is the same as the side length of the tile (FIG8(d)).

但本申请不限于此,在其他实施例中,手表100的显示区域D可以显示其他数量的瓦片,例如,参考图9,在手表100的显示区域D中可以同时显示4张完整的瓦片。However, the present application is not limited to this. In other embodiments, the display area D of the watch 100 can display other numbers of tiles. For example, referring to FIG. 9 , four complete tiles can be displayed simultaneously in the display area D of the watch 100 .

需要说明的是,手表100可以显示的瓦片的张数与显示区域D的分辨率没有直接关联。也就是说,通过调整手表100的显示配置,即便手表100显示区域D的显示像素不同于瓦片的像素(例如,手表100显示区域D的显示像素为128×128像素),也可以像图8(b)那样显示图像尺寸为256×256像素的瓦片。It should be noted that the number of tiles that the watch 100 can display is not directly related to the resolution of the display area D. That is, by adjusting the display configuration of the watch 100, even if the display pixels of the display area D of the watch 100 are different from the pixels of the tiles (for example, the display pixels of the display area D of the watch 100 are 128×128 pixels), it is possible to display tiles with an image size of 256×256 pixels as shown in FIG8(b).

为统一各尺寸参数的衡量标准,下文中,涉及尺寸的参数均以瓦片像素作为衡量尺度,例如,某侧边的边长为a表示该侧边具有a个瓦片像素。In order to unify the measurement standards of various size parameters, in the following, the parameters related to the size are all measured in tile pixels. For example, if the length of a side is a, it means that the side has a tile pixels.

可以理解,在手表的显示配置确定后,可以确定手表100显示区域D所表示的地理区域的范围(该范围等于瓦片所表示的地理区域的范围)。例如,当手表100显示的瓦片的层级为10时,图8(b)中,手表100显示区域D表示长度为L/1024,宽度为W/1024的地理区域。It can be understood that after the display configuration of the watch is determined, the range of the geographical area represented by the display area D of the watch 100 can be determined (the range is equal to the range of the geographical area represented by the tile). For example, when the level of the tile displayed by the watch 100 is 10, in FIG8(b), the display area D of the watch 100 represents a geographical area with a length of L/1024 and a width of W/1024.

另外,参考图7,本实施例中,定位位置P的定位点位于显示区域D的几何中心点(即本实施例中,显示区域D的设定位置点为显示区域D的几何中心点),该设置可使得定位界面较为美观,同时也可以简化定位界面的生成算法。但本申请不限于此,其他实施例中,定位位置P的定位点可位于其他位置,例如,沿显示区域D的高度方向(图7所示上下方向),定位位置P的定位点位于显示区域D的黄金分割点(即该实施例中,显示区域D的设定位置点为显示区域D沿高度方向的黄金分割点)。In addition, referring to FIG. 7 , in this embodiment, the positioning point of the positioning position P is located at the geometric center point of the display area D (i.e., in this embodiment, the set position point of the display area D is the geometric center point of the display area D). This setting can make the positioning interface more beautiful and can also simplify the generation algorithm of the positioning interface. However, the present application is not limited to this. In other embodiments, the positioning point of the positioning position P can be located at other positions, for example, along the height direction of the display area D (the up and down direction shown in FIG. 7 ), the positioning point of the positioning position P is located at the golden section point of the display area D (i.e., in this embodiment, the set position point of the display area D is the golden section point of the display area D along the height direction).

本实施例中,手表100在显示区域D中,以定位位置P的定位点(即圆球定位标识701所在的位置点)位于显示区域D的设定位置点(即显示区域D的几何中心点),且以地图瓦片填充显示区域D的方式,显示定位位置P的地图图像(图示圆球定位标识701),以及定位位置P所在地理区域的地图图像702。从而,用户可以通过观察手表100的显示界面直观地获取到定位位置P的定位信息,从而提高用户体验。In this embodiment, the watch 100 displays a map image of the positioning position P (shown as the spherical positioning mark 701) and a map image 702 of the geographical area where the positioning position P is located in the display area D, with the positioning point of the positioning position P (i.e., the position point where the spherical positioning mark 701 is located) being located at the set position point of the display area D (i.e., the geometric center point of the display area D), and filling the display area D with map tiles. Thus, the user can intuitively obtain the positioning information of the positioning position P by observing the display interface of the watch 100, thereby improving the user experience.

本申请实施例中,导航定位方法基于手表100向手机200发送导航定位请求而启动。用户通过选择手表100上的导航应用图标,或按压手表100上的导航按钮等,启动手表100上的导航应用。手表100上的导航应用启动后,向手机200发送瓦片获取请求,手机200在收到手表100发送的瓦片获取请求后,获取定位位置P的位置信息,并向手表100发送定位位置P所在地理区域的瓦片,此时,手表100-手机200组成的导航定位系统进入导航定位状态。In the embodiment of the present application, the navigation positioning method is started based on the watch 100 sending a navigation positioning request to the mobile phone 200. The user starts the navigation application on the watch 100 by selecting the navigation application icon on the watch 100 or pressing the navigation button on the watch 100. After the navigation application on the watch 100 is started, it sends a tile acquisition request to the mobile phone 200. After receiving the tile acquisition request sent by the watch 100, the mobile phone 200 obtains the location information of the positioning position P and sends the tile of the geographical area where the positioning position P is located to the watch 100. At this time, the navigation positioning system composed of the watch 100-mobile phone 200 enters the navigation positioning state.

另外,手表100在向手机200发送瓦片获取请求时,将其显示配置信息(包括显示区域D显示的瓦片图像的图像尺寸,定位标识点在显示区域D中的位置等)发送至手机100;或者,手机200在初次与手表100进行配对绑定时,读取手表100的显示配置信息,并将手表100的显示配置信息存储在手机200中。In addition, when the watch 100 sends a tile acquisition request to the mobile phone 200, it sends its display configuration information (including the image size of the tile image displayed in the display area D, the position of the positioning mark point in the display area D, etc.) to the mobile phone 100; or, when the mobile phone 200 is paired and bound with the watch 100 for the first time, it reads the display configuration information of the watch 100 and stores the display configuration information of the watch 100 in the mobile phone 200.

在其他实施中,导航定位方法也可以由手机200侧启动。具体地,手机200开启地图应用后,获取定位位置P的位置信息,并向手表100推送定位位置P所在地理区域的瓦片;手表100在接收到手机100推送的瓦片后,利用接收到的瓦片生成定位界面,此时,手表100-手机200组成的导航定位系统进入导航定位状态。In other implementations, the navigation positioning method can also be started by the mobile phone 200. Specifically, after the mobile phone 200 starts the map application, it obtains the location information of the positioning position P and pushes the tiles of the geographical area where the positioning position P is located to the watch 100; after receiving the tiles pushed by the mobile phone 100, the watch 100 generates a positioning interface using the received tiles. At this time, the navigation positioning system composed of the watch 100 and the mobile phone 200 enters the navigation positioning state.

参考图10,本实施例提供的定位方法包括初始定位界面生成阶段S100和定位界面刷新阶段S200。初始定位界面生成阶段用于生成定位位置P为初始定位位置P1(作为第一位置)时的定位界面,即,在该界面中,图7中圆球定位标识701所在的位置点为初始定位位置P1的定位点;定位界面刷新阶段用于生成定位位置P为变更后的定位位置P2(作为第二位置)的定位界面,即,在该界面中,图7中圆球定位标识701所在的位置点为变更后的定位位置P2的定位点。With reference to Figure 10, the positioning method provided in this embodiment includes an initial positioning interface generation stage S100 and a positioning interface refresh stage S200. The initial positioning interface generation stage is used to generate a positioning interface when the positioning position P is the initial positioning position P1 (as the first position), that is, in this interface, the position point where the spherical positioning mark 701 in Figure 7 is located is the positioning point of the initial positioning position P1; the positioning interface refresh stage is used to generate a positioning interface when the positioning position P is the changed positioning position P2 (as the second position), that is, in this interface, the position point where the spherical positioning mark 701 in Figure 7 is located is the positioning point of the changed positioning position P2.

参考图11,初始定位界面生成阶段S100包括以下步骤:Referring to FIG. 11 , the initial positioning interface generation stage S100 includes the following steps:

S101:手机200获取初始定位位置P1(作为第一位置)的位置信息。S101: The mobile phone 200 obtains the location information of the initial positioning position P1 (as the first position).

本实施例中,初始定位位置P1的位置信息为手机200在接收到手表100发送的瓦片获取请求后,通过内置的GPS定位模块获取到的其当前位置的位置信息,其中,初始定位位置P1的位置信息具体可以为初始定位位置P1的经纬度坐标。在其他实现方式中,手机200还可以通过IP定位、无线网络基站定位等方式获取其当前位置的位置信息,初始定位位置P1的位置信息具体可以为初始定位位置P1的在世界平面坐标系C0(例如,WGS-84坐标系)中的位置坐标。In this embodiment, the location information of the initial positioning position P1 is the location information of the current position obtained by the mobile phone 200 through the built-in GPS positioning module after receiving the tile acquisition request sent by the watch 100, wherein the location information of the initial positioning position P1 may specifically be the latitude and longitude coordinates of the initial positioning position P1. In other implementations, the mobile phone 200 may also obtain the location information of its current position through IP positioning, wireless network base station positioning, etc., and the location information of the initial positioning position P1 may specifically be the location coordinates of the initial positioning position P1 in the world plane coordinate system C0 (for example, the WGS-84 coordinate system).

本实施例中,手机200通过自身的定位功能获取定位位置P的位置信息,即,定位位置P为手机200自身的位置。但本申请不限于此,在其他实施例中,定位位置P可以不是手机200的位置,而是其他被定位对象的位置,此时,手机200从设于其他定位对象上的定位终端中获取定位位置P的位置信息。例如,在自动化仓库中,自动运行小车通过其内置的定位装置将自动运行小车的当前位置信息发送至手机200,手机200将该位置信息作为定位位置P的位置信息;又如,在防止儿童走失时,儿童随身携带的位置追踪装置将其当前位置的位置信息发送至手机200,手机200将该位置信息作为定位位置P的位置信息。In this embodiment, the mobile phone 200 obtains the location information of the positioning position P through its own positioning function, that is, the positioning position P is the position of the mobile phone 200 itself. However, the present application is not limited to this. In other embodiments, the positioning position P may not be the position of the mobile phone 200, but the position of other positioned objects. In this case, the mobile phone 200 obtains the location information of the positioning position P from the positioning terminal provided on the other positioned objects. For example, in an automated warehouse, the automatic running car sends the current location information of the automatic running car to the mobile phone 200 through its built-in positioning device, and the mobile phone 200 uses the location information as the location information of the positioning position P; for another example, when preventing children from getting lost, the location tracking device carried by the children sends the location information of their current location to the mobile phone 200, and the mobile phone 200 uses the location information as the location information of the positioning position P.

另外,本实施例不限定手机200与手表100之间的距离,手机200和手表100可以位于临近的位置(例如,用户同时随身携带手机200和手表100时),也可以相距一段距离。其中,当手机200与手表100位于临近的位置时,可视为手机200和手表100均位于定位位置P,此时,手表100可以通过自身的定位装置(例如,GPS装置)获取定位位置P的位置信息,而非从手机200接收定位信息。In addition, the present embodiment does not limit the distance between the mobile phone 200 and the watch 100. The mobile phone 200 and the watch 100 may be located in close proximity (for example, when the user carries the mobile phone 200 and the watch 100 at the same time), or they may be separated by a certain distance. When the mobile phone 200 and the watch 100 are located in close proximity, it can be considered that the mobile phone 200 and the watch 100 are both located at the positioning position P. At this time, the watch 100 can obtain the position information of the positioning position P through its own positioning device (for example, a GPS device) instead of receiving the positioning information from the mobile phone 200.

S102:手机200根据初始定位位置P1的位置信息确定用于生成初始定位界面的第一关联瓦片组(作为第一关联地图块组)。第一关联瓦片组为支持手表100当前显示的一个或多个瓦片,换句话说,第一关联瓦片组应能够足以填充满手表100的显示区域D,并且应包含初始定位位置P1所在的瓦片。以下给出第一关联瓦片组的具体示例。S102: The mobile phone 200 determines the first associated tile group (as the first associated map block group) for generating the initial positioning interface according to the position information of the initial positioning position P1. The first associated tile group is one or more tiles currently displayed by the watch 100. In other words, the first associated tile group should be sufficient to fill the display area D of the watch 100 and should include the tile where the initial positioning position P1 is located. A specific example of the first associated tile group is given below.

图12a示出了本实施例中第一关联瓦片组的组成方式。第一关联瓦片组包括初始定位位置P1所在的瓦片B0,以及环绕瓦片B0的其他8张瓦片B1~B8。Fig. 12a shows the composition of the first associated tile group in this embodiment. The first associated tile group includes the tile B0 where the initial positioning position P1 is located, and the other 8 tiles B1-B8 surrounding the tile B0.

结合参考图3b,确定瓦片B0~B8的方法可以为:根据初始定位位置P1的位置信息,确定像素坐标下C1下初始定位位置P1所对应的像素坐标;根据初始定位位置P1所对应的像素坐标确定瓦片B0的行号Row0和列号Col0,从而确定初始定位位置P1所在的瓦片B0。之后,根据与行号Row0相邻的行号,以及与列号Col0相邻的列号,确定与瓦片B0相邻的瓦片B1~B8。With reference to FIG3b, the method for determining tiles B0-B8 may be: according to the position information of the initial positioning position P1, determine the pixel coordinates corresponding to the initial positioning position P1 under the pixel coordinates C1; according to the pixel coordinates corresponding to the initial positioning position P1, determine the row number Row0 and the column number Col0 of the tile B0, thereby determining the tile B0 where the initial positioning position P1 is located. Afterwards, according to the row number adjacent to the row number Row0 and the column number adjacent to the column number Col0, determine the tiles B1-B8 adjacent to the tile B0.

根据手表100的显示配置(显示区域D正好显示一张瓦片),可知瓦片B0~B8必然可以填充满手表100的显示区域D。因此,本实施例可以用简单的方式确定第一关联瓦片组。另外,本实施例中,瓦片B0~B8形成的地图图像的边界与显示区域D的边界之间的距离至少为128像素,有利于保证地图显示的连续性(地图显示连续性的含义请参考下文步骤S204中的叙述)。According to the display configuration of the watch 100 (the display area D displays exactly one tile), it can be known that the tiles B0-B8 can certainly fill the display area D of the watch 100. Therefore, this embodiment can determine the first associated tile group in a simple manner. In addition, in this embodiment, the distance between the boundary of the map image formed by the tiles B0-B8 and the boundary of the display area D is at least 128 pixels, which is conducive to ensuring the continuity of the map display (the meaning of the continuity of the map display is referred to the description in step S204 below).

在其他实施例中,第一关联瓦片组可以为其他组成方式。例如,图12b示出了第一关联瓦片组的另一种组成方式。该示例中,第一关联瓦片组由用于覆盖手表100的显示区域D的必要瓦片B0~B3组成。In other embodiments, the first associated tile group may be composed in other ways. For example, FIG. 12 b shows another way of composing the first associated tile group. In this example, the first associated tile group is composed of necessary tiles B0 to B3 for covering the display area D of the watch 100 .

确定瓦片B0~B3的过程可以为:根据初始定位位置P1的位置信息,以及显示区域D所对应的地理区域的区域范围,并确定显示区域D的外接正方形(该正方形在图12b中以点划线示出)的4个顶点A0~A3所对应的地理位置;根据顶点A0~A3所对应的地理位置的位置信息,确定像素坐标下C1下与顶点A0~A3相对应的像素坐标,进而根据顶点A0~A3的像素坐标确定瓦片B0~B3的行列号。The process of determining tiles B0~B3 can be: based on the position information of the initial positioning position P1 and the area range of the geographical area corresponding to the display area D, determine the geographical locations corresponding to the four vertices A0~A3 of the circumscribed square of the display area D (the square is shown as dotted lines in Figure 12b); based on the position information of the geographical locations corresponding to the vertices A0~A3, determine the pixel coordinates corresponding to the vertices A0~A3 under the pixel coordinates C1, and then determine the row and column numbers of tiles B0~B3 according to the pixel coordinates of the vertices A0~A3.

本实施例中,手机200中预存有瓦片地图(例如,通过百度地图等地图应用下载的地图瓦片,或者,在Web地图上下载的地图瓦片)。具体而言,手机200中可以预存瓦片地图中的全部瓦片或部分瓦片(例如,常用地理区域的地图瓦片),这样,手机200可以在离线状态下向手表100提供地图瓦片,实现离线定位导航功能。在其他实施例中,手机200也可以从服务器上实时下载所需的瓦片,并将下载的瓦片提供给手表100。In this embodiment, the mobile phone 200 has pre-stored tile maps (for example, map tiles downloaded through map applications such as Baidu Maps, or map tiles downloaded from a Web map). Specifically, the mobile phone 200 may pre-store all or part of the tiles in the tile map (for example, map tiles of commonly used geographical areas), so that the mobile phone 200 can provide map tiles to the watch 100 in an offline state to implement an offline positioning and navigation function. In other embodiments, the mobile phone 200 may also download the required tiles from the server in real time and provide the downloaded tiles to the watch 100.

S103:手机200向手表100发送初始定位位置P1的位置信息,第一关联瓦片组的图像数据,以及第一关联瓦片组中各瓦片的存储索引信息。本申请实施例中,瓦片的存储索引信息中包括瓦片的行列号。S103: The mobile phone 200 sends the position information of the initial positioning position P1, the image data of the first associated tile group, and the storage index information of each tile in the first associated tile group to the watch 100. In the embodiment of the present application, the storage index information of the tile includes the row and column number of the tile.

手机200可以通过蓝牙、wifi等无线通信方式,或者USB数据线连接、网线连接等有线通信方式向手表100发送上述信息,本申请不进行限定。The mobile phone 200 can send the above information to the watch 100 through wireless communication methods such as Bluetooth, WiFi, or wired communication methods such as USB data cable connection, network cable connection, etc., which is not limited in this application.

S104:手表100接收来自于手机200的初始定位位置P1的位置信息,第一关联瓦片组的图像数据,以及第一关联瓦片组中各瓦片的存储索引信息,并基于上述数据生成如图7所示的定位界面。S104: The watch 100 receives the location information of the initial positioning position P1 from the mobile phone 200, the image data of the first associated tile group, and the storage index information of each tile in the first associated tile group, and generates a positioning interface as shown in FIG. 7 based on the above data.

参考图13,手表100在显示区域D的左上角建立屏幕坐标系C2,根据初始定位位置P1的位置信息,以及手表100的显示配置(包括显示区域D对应的地理区域范围,以及定位标识在显示区域D中的位置),确定屏幕坐标系C2原点的地理位置,并确定屏幕坐标系C2原点在像素坐标系C1中的像素坐标。Referring to Figure 13, the watch 100 establishes a screen coordinate system C2 in the upper left corner of the display area D, and determines the geographical location of the origin of the screen coordinate system C2 based on the position information of the initial positioning position P1 and the display configuration of the watch 100 (including the geographical area range corresponding to the display area D, and the position of the positioning identifier in the display area D), and determines the pixel coordinates of the origin of the screen coordinate system C2 in the pixel coordinate system C1.

在建立屏幕坐标系C2后,确定位于显示区域D中的各瓦片相对于屏幕坐标系C2的偏移量,根据该偏移量设定各瓦片的显示参数,即可生成定位界面中的地图图像。下面以瓦片B0为例进行介绍。After the screen coordinate system C2 is established, the offset of each tile in the display area D relative to the screen coordinate system C2 is determined, and the display parameters of each tile are set according to the offset to generate a map image in the positioning interface. The following is an introduction taking tile B0 as an example.

继续参考图13,手表100在瓦片B0的左上角建立瓦片坐标系C3,可以理解,瓦片坐标系C3中,瓦片B0中各图像像素的x坐标位于1~256之间,y坐标位于1~256之间。Continuing to refer to FIG. 13 , the watch 100 establishes a tile coordinate system C3 at the upper left corner of the tile B0 . It can be understood that in the tile coordinate system C3 , the x coordinate of each image pixel in the tile B0 is between 1 and 256, and the y coordinate is between 1 and 256.

手表100根据接收到的瓦片B0存储索引信息,确定瓦片B0的行列号;根据瓦片B0的行列号,确定瓦片坐标系C3原点的像素坐标;之后,计算屏幕坐标系C2原点的像素坐标与瓦片坐标系C3原点的像素坐标之间的差值,得到瓦片坐标系C1相对于屏幕坐标系C2的偏移量Δx和Δy;最后,根据偏移量Δx和Δy,显示瓦片B0的位于显示区域D中的部分。Watch 100 determines the row and column numbers of tile B0 based on the received tile B0 storage index information; determines the pixel coordinates of the origin of tile coordinate system C3 based on the row and column numbers of tile B0; then, calculates the difference between the pixel coordinates of the origin of screen coordinate system C2 and the pixel coordinates of the origin of tile coordinate system C3 to obtain the offsets Δx and Δy of tile coordinate system C1 relative to screen coordinate system C2; finally, based on the offsets Δx and Δy, displays the portion of tile B0 located in display area D.

对位于显示区域D中的瓦片(瓦片B0、B2、B3和B5)逐个重复上述过程,并在显示区域D的几何中心点添加圆球定位标识701之后,即可形成如图7所示的定位界面。The above process is repeated one by one for the tiles (tiles B0, B2, B3 and B5) in the display area D, and after a spherical positioning mark 701 is added to the geometric center point of the display area D, a positioning interface as shown in FIG. 7 can be formed.

本实施例的初始定位界面生成阶段S100中,手表100在显示区域D中,以初始定位位置P1的定位点(即圆球定位标识701所在的位置点)位于显示区域D的设定位置点(即显示区域D的几何中心点),且以第一关联瓦片组填充显示区域D的方式,显示定位位置P的地图图像(图示圆球定位标识701),以及定位位置P1所在地理区域的地图图像702。In the initial positioning interface generation stage S100 of the present embodiment, the watch 100 is located in the display area D with the positioning point of the initial positioning position P1 (i.e. the position point where the spherical positioning mark 701 is located) at the set position point of the display area D (i.e. the geometric center point of the display area D), and the display area D is filled with the first associated tile group, thereby displaying a map image of the positioning position P (shown as the spherical positioning mark 701) and a map image 702 of the geographical area where the positioning position P1 is located.

以上仅为定位界面形成过程的示例性介绍,本领域技术人员可以进行其他变形,例如,在其他实施例中,省去判断位于显示区域D中的瓦片的步骤,而是对所有瓦片(瓦片B0~B8)均重复图13示出的过程,以形成定位界面。The above is only an exemplary introduction to the process of forming the positioning interface. Those skilled in the art may make other modifications. For example, in other embodiments, the step of determining the tiles located in the display area D is omitted, and the process shown in FIG. 13 is repeated for all tiles (tiles B0 to B8) to form a positioning interface.

下面介绍本实施例中定位界面刷新阶段的相关步骤。参考图14,定位界面刷新阶段包括以下步骤:The following describes the steps of the positioning interface refresh phase in this embodiment. Referring to FIG14 , the positioning interface refresh phase includes the following steps:

S201:手机200获取变更后的定位位置P2(作为第二位置)的位置信息。例如,手机200的GPS模块以设定的刷新频率获取手机200的当前位置的位置信息。当手机200位置发生变化时(例如,当在用户的行进过程中,随身携带的手机200的位置发生变化),手机200获取到变更后的定位位置P2的位置信息。S201: The mobile phone 200 obtains the location information of the changed positioning position P2 (as the second position). For example, the GPS module of the mobile phone 200 obtains the location information of the current position of the mobile phone 200 at a set refresh frequency. When the position of the mobile phone 200 changes (for example, when the position of the mobile phone 200 carried by the user changes during the user's travel), the mobile phone 200 obtains the location information of the changed positioning position P2.

S202:手机200向手表100发送变更后的定位位置P2的位置信息。手机200可以通过蓝牙、wifi等无线通信方式,或者USB数据线连接、网线连接等有线通信方式向手表100发送上述信息,本申请不进行限定。S202: The mobile phone 200 sends the location information of the changed positioning position P2 to the watch 100. The mobile phone 200 can send the above information to the watch 100 via wireless communication methods such as Bluetooth and WiFi, or wired communication methods such as USB data cable connection and network cable connection, which is not limited in this application.

S203:手表100显示刷新后的定位界面。在刷新后的定位界面中,圆球定位标识所对应的位置为变更后的定位位置P2。S203: The watch 100 displays the updated positioning interface. In the updated positioning interface, the position corresponding to the spherical positioning mark is the changed positioning position P2.

手表100生成刷新后的定位界面的过程与生成初始定位界面的过程实质相同,不同之处在于,参考图15,由于定位位置P由初始定位位置P1变更为定位位置P2(图15右侧的图中,虚线圆圈为定位位置P1,虚线带箭头线条为定位位置P1至P2的移动轨迹),因此,瓦片坐标系C1相对于屏幕坐标系C2的偏移量有所变化,例如,瓦片B0的瓦片坐标系C1相对于屏幕坐标系C1的偏移量从(Δx,Δy)变更为(Δx’,Δy’),手表100根据变更后的偏移量(Δx’,Δy’),重新确定各瓦片(例如,第一关联瓦片组中的全部瓦片B0~B8,或者,位于显示区域D中的瓦片B0、B2、B3和B5)位于显示区域D中的部分(相当于移动在显示区域D中显示的瓦片),即可生成刷新后的定位界面,刷新后的定位界面中,定位位置P2的定位点位于显示区域D的几何中心点。The process of generating the refreshed positioning interface by the watch 100 is substantially the same as the process of generating the initial positioning interface. The difference is that, referring to FIG15 , since the positioning position P is changed from the initial positioning position P1 to the positioning position P2 (in the figure on the right side of FIG15 , the dotted circle is the positioning position P1, and the dotted line with an arrow is the moving trajectory from the positioning position P1 to P2), the offset of the tile coordinate system C1 relative to the screen coordinate system C2 changes. For example, the offset of the tile coordinate system C1 of the tile B0 relative to the screen coordinate system C1 changes from (Δx, Δy) is changed to (Δx’, Δy’), and the watch 100 redetermines the part of each tile (for example, all tiles B0~B8 in the first associated tile group, or tiles B0, B2, B3 and B5 located in the display area D) located in the display area D according to the changed offset (Δx’, Δy’) (equivalent to moving the tiles displayed in the display area D), and thus generates a refreshed positioning interface. In the refreshed positioning interface, the positioning point of the positioning position P2 is located at the geometric center point of the display area D.

S204:手机200确定第二关联瓦片组(作为第二关联地图块组),并向手表100发送第二关联瓦片组。参考图15,当定位位置由P1变更为P2之后,显示区域D的边界会更为接近瓦片B3、瓦片B5的右侧边界,此时,参考图16,如果下一个定位位置刷新周期中,手机200获取到的定位位置为P2’(图16右侧的图中,虚线圆圈为定位位置P2,虚线带箭头线条为定位位置P2至P2’的移动轨迹),显示区域D中将会出现显示缺口(图16中阴影区域,该缺口中没有可以显示的地图图像),用户会感觉到地图图像的显示出现断续。S204: The mobile phone 200 determines the second associated tile group (as the second associated map block group), and sends the second associated tile group to the watch 100. Referring to FIG15, when the positioning position is changed from P1 to P2, the boundary of the display area D will be closer to the right boundary of the tile B3 and the tile B5. At this time, referring to FIG16, if the positioning position obtained by the mobile phone 200 in the next positioning position refresh cycle is P2' (in the figure on the right side of FIG16, the dotted circle is the positioning position P2, and the dotted line with an arrow is the moving track from the positioning position P2 to P2'), a display gap will appear in the display area D (the shaded area in FIG16, there is no map image that can be displayed in the gap), and the user will feel that the display of the map image is intermittent.

为使得地图的显示连续不间断,手机200在获取到变更后的定位位置P2的位置信息后,会判断是否需要向手表100补充发送瓦片,以使得在下一个定位位置刷新周期中,手表100的显示区域D不会出现显示缺口(即,补充发送的瓦片可用于填充图16中的显示缺口)。本实施例中,将向手表100补充发送的,用于支持手表100连续显示地图图像的瓦片称为第二关联瓦片组。以下介绍确定第二关联瓦片组的具体过程。In order to make the map display continuous and uninterrupted, after obtaining the location information of the changed positioning position P2, the mobile phone 200 will determine whether it is necessary to send additional tiles to the watch 100, so that in the next positioning position refresh cycle, there will be no display gap in the display area D of the watch 100 (that is, the additionally sent tiles can be used to fill the display gap in Figure 16). In this embodiment, the tiles that are additionally sent to the watch 100 to support the watch 100 to continuously display the map image are called the second associated tile group. The specific process of determining the second associated tile group is described below.

由于显示区域D的边界的分割,位于显示区域D中的瓦片被划分为位于显示区域D中的部分(本文称为“瓦片内部区域B-In”或“第一区域”)以及位于显示区域D外的部分(本文称为“瓦片外部区域B-Out”或“第二区域”)。Due to the division of the boundary of the display area D, the tile located in the display area D is divided into a part located in the display area D (referred to herein as the "tile internal area B-In" or the "first area") and a part located outside the display area D (referred to herein as the "tile external area B-Out" or the "second area").

参考图17a,在本实施例的第一个示例中,手机200根据瓦片内部区域B-In的长度参数,或根据瓦片内部区域B-In在设定方向上包含的瓦片像素的个数来确第二关联瓦片组。可以理解,瓦片内部区域B-In在某方向上的长度参数与其在该方向上包含的瓦片像素的个数一一对应。以下以根据瓦片内部区域B-In的长度参数确定第二关联瓦片组为例进行说明。Referring to FIG. 17a, in the first example of this embodiment, the mobile phone 200 determines the second associated tile group according to the length parameter of the tile internal area B-In, or according to the number of tile pixels contained in the tile internal area B-In in a set direction. It can be understood that the length parameter of the tile internal area B-In in a certain direction corresponds to the number of tile pixels contained in the direction. The following is an example of determining the second associated tile group according to the length parameter of the tile internal area B-In.

如果某个瓦片的内部区域B-In沿X方向的长度L1(即第一区域沿第一方向的长度),以及沿Y方向的长度参数L2(即第一区域沿第二方向的长度)均超过设定阈值(本示例中,长度参数的设定阈值均为瓦片边长的一半,即128像素),则将与该瓦片(下文称“目标瓦片”)相邻的瓦片确定为第二关联瓦片组。本申请实施例中,如果两个瓦片具有共同的侧边或顶点,则称两个瓦片为相邻的瓦片。可以理解,当两个瓦片相邻时,其具有相邻的行号和/或列号,或具有共同的顶点。因此,本实施例中,根据瓦片的行列号及顶点来确定与目标瓦片相邻的瓦片,例如,当目标瓦片的行号为i,列号为j时,行号为i+1,列号为j的瓦片即为与目标瓦片具有共同侧边的瓦片;又如,当目标瓦片的行号为i,列号为j时,行号为i+1,列号为j+1的瓦片为与目标瓦片具有共同顶点的瓦片。If the length L1 of the internal area B-In of a tile along the X direction (i.e., the length of the first area along the first direction) and the length parameter L2 along the Y direction (i.e., the length of the first area along the second direction) both exceed the set threshold (in this example, the set threshold of the length parameter is half of the side length of the tile, i.e., 128 pixels), then the tile adjacent to the tile (hereinafter referred to as the "target tile") is determined as the second associated tile group. In an embodiment of the present application, if two tiles have a common side or vertex, the two tiles are called adjacent tiles. It can be understood that when two tiles are adjacent, they have adjacent row numbers and/or column numbers, or have a common vertex. Therefore, in this embodiment, the tiles adjacent to the target tile are determined based on the row and column numbers and vertices of the tiles. For example, when the row number of the target tile is i and the column number is j, the tile with the row number i+1 and the column number j is the tile that has a common side with the target tile. For another example, when the row number of the target tile is i and the column number is j, the tile with the row number i+1 and the column number j+1 is the tile that has a common vertex with the target tile.

本示例对计算瓦片内部区域B-In的长度参数的方法不作限定。例如,可在瓦片坐标系C3下,计算瓦片内部区域B-In各像素的最大x坐标xmax以及最小x坐标xmin,并将xmax与xmin的差值作为该瓦片在X方向上的长度L1。This example does not limit the method for calculating the length parameter of the tile internal area B-In. For example, the maximum x coordinate xmax and the minimum x coordinate xmin of each pixel in the tile internal area B-In can be calculated in the tile coordinate system C3, and the difference between xmax and xmin is used as the length L1 of the tile in the X direction.

参考表1,对位于显示区域D中的瓦片B0、B2、B3、B5,逐个计算其在X方向上的长度L1和其在Y方向上的长度L2,由于瓦片B3的长度L1(212像素)和长度L2(180像素)超过设定阈值128像素,因此将瓦片B3确定为目标瓦片,并将与瓦片B3相邻的瓦片(瓦片B0、B2、B5、B9~B13)确定为第二关联瓦片组中包含的瓦片。Referring to Table 1, for tiles B0, B2, B3, and B5 located in the display area D, their lengths L1 in the X direction and their lengths L2 in the Y direction are calculated one by one. Since the length L1 (212 pixels) and the length L2 (180 pixels) of tile B3 exceed the set threshold of 128 pixels, tile B3 is determined as the target tile, and the tiles adjacent to tile B3 (tiles B0, B2, B5, B9 to B13) are determined as tiles included in the second associated tile group.

表1Table 1

B0B0 B2B2 B3B3 B5B5 X方向长度L1X-direction length L1 3232 4343 212212 201201 Y方向长度L2Y-direction length L2 4343 148148 180180 7676

表1所示的方法为确定第二关联瓦片组的方法的示例性说明,本领域技术人员可以进行其他变形。例如,在符合一定条件时,可以不用遍历位于显示区域D内的所有瓦片。例如,当确定瓦片B0的长度L1小于设定阈值时,可以确定其不是目标瓦片,则不再计算其长度L2;又如,当确定瓦片B3的长度L2大于128像素时,可以确定瓦片B5的长度L2必然小于128像素,因此不必对瓦片B5的长度参数进行计算。The method shown in Table 1 is an exemplary description of the method for determining the second associated tile group, and those skilled in the art may make other variations. For example, when certain conditions are met, it is not necessary to traverse all tiles located in the display area D. For example, when it is determined that the length L1 of tile B0 is less than a set threshold, it can be determined that it is not a target tile, and its length L2 is no longer calculated; for another example, when it is determined that the length L2 of tile B3 is greater than 128 pixels, it can be determined that the length L2 of tile B5 must be less than 128 pixels, so it is not necessary to calculate the length parameter of tile B5.

另外,本示例中,手机200在向手表100发送第二关联瓦片组之前,先判断由图17a确定的瓦片中是否包括已经向手表100发送过该瓦片,如果已经发送过,则不再发送该瓦片,而是发送除该瓦片之外的其他瓦片。因此,本示例中,手机200最终向手表100发送的第二关联瓦片组为瓦片B9~B13。但本申请不限于此,在另一个示例中,手机200也可向手表100发出查询请求,以查询手表100中存储的瓦片,对于手表100中已经存储的瓦片,手机200不再向手表100重复发送;在又一个示例中,手机200将根据表1确定的第二关联瓦片组中的所有瓦片(即瓦片B0、B2、B5、B9~B13)均发送至手表100。In addition, in this example, before sending the second associated tile group to the watch 100, the mobile phone 200 first determines whether the tile determined by Figure 17a includes the tile that has been sent to the watch 100. If it has been sent, the tile will no longer be sent, but other tiles except the tile will be sent. Therefore, in this example, the second associated tile group finally sent by the mobile phone 200 to the watch 100 is tiles B9~B13. However, the present application is not limited to this. In another example, the mobile phone 200 can also send a query request to the watch 100 to query the tiles stored in the watch 100. For the tiles that have been stored in the watch 100, the mobile phone 200 will no longer send them to the watch 100 repeatedly; in another example, the mobile phone 200 sends all tiles (i.e. tiles B0, B2, B5, B9~B13) in the second associated tile group determined according to Table 1 to the watch 100.

图17a示出了长度参数的设定阈值为瓦片长度一半的情况,本申请不限于此。在本示例的一个变形示例中,长度参数的设定阈值小于瓦片长度的一半(例如,瓦片长度的1/4,即64像素),该示例会更加有利于保证地图显示的连续性。结合表1,该示例中,瓦片B3和B5均会被确定为目标瓦片。因此,参考图17b,本示例将与瓦片B3相邻的瓦片(瓦片B0、B2、B5、B9~B13)、以及与瓦片B5相邻的瓦片(B2、B3、B12、B0、B13、B7、B8、B14)均确定为第二关联瓦片组中包含的瓦片。手机200确定已经向手表100发送过的瓦片后,最终向手表100发送的第二关联瓦片组为瓦片B9~B14。另外,在其他变形示例中,X方向的长度参数L1和Y方向的长度参数L2的设定阈值可以不相同。Figure 17a shows the case where the setting threshold of the length parameter is half the length of the tile, but the present application is not limited thereto. In a variant example of this example, the setting threshold of the length parameter is less than half the length of the tile (for example, 1/4 of the length of the tile, i.e., 64 pixels), and this example will be more conducive to ensuring the continuity of the map display. In conjunction with Table 1, in this example, tiles B3 and B5 will both be determined as target tiles. Therefore, referring to Figure 17b, this example determines the tiles adjacent to tile B3 (tiles B0, B2, B5, B9-B13) and the tiles adjacent to tile B5 (B2, B3, B12, B0, B13, B7, B8, B14) as tiles included in the second associated tile group. After the mobile phone 200 determines the tiles that have been sent to the watch 100, the second associated tile group finally sent to the watch 100 is tiles B9-B14. In addition, in other modified examples, the setting thresholds of the length parameter L1 in the X direction and the length parameter L2 in the Y direction may be different.

在本示例的另一个变形示例中,根据瓦片外部区域B-Out的长度参数来确第二关联瓦片组。如果某个瓦片的外部区域B-Out沿X方向的长度L1’(即第二区域沿第一方向的长度),以及沿Y方向的长度L2’(即第二区域沿第二方向的长度)均小于设定阈值时,将该瓦片确定为目标瓦片,并将与该瓦片相邻的瓦片确定为第二关联瓦片组。In another variation of this example, the second associated tile group is determined according to the length parameter of the tile external area B-Out. If the length L1' of the external area B-Out of a tile along the X direction (i.e., the length of the second area along the first direction) and the length L2' along the Y direction (i.e., the length of the second area along the second direction) are both less than the set threshold, the tile is determined as the target tile, and the tiles adjacent to the tile are determined as the second associated tile group.

继续参考图17a,在实施例的第二个变形示例中,手机100根据瓦片内部区域B-In的面积参数来确第二关联瓦片组。其中,某区域的面积参数可以为该区域中图像像素的数量,例如,显示区域D的面积为其包含的像素数量51472像素。如果某个瓦片的内部区域B-In的面积超过设定阈值(本示例中,面积参数的设定阈值均为显示区域D的面积的1/4,即12868像素),则将与该瓦片确定为目标瓦片,并将与该瓦片相邻的瓦片确定为第二关联瓦片组中的瓦片。Continuing to refer to Figure 17a, in the second variant example of the embodiment, the mobile phone 100 determines the second associated tile group based on the area parameter of the internal area B-In of the tile. Among them, the area parameter of a certain area can be the number of image pixels in the area. For example, the area of the display area D is the number of pixels it contains, 51472 pixels. If the area of the internal area B-In of a tile exceeds the set threshold (in this example, the set threshold of the area parameter is 1/4 of the area of the display area D, that is, 12868 pixels), the tile is determined as the target tile, and the tiles adjacent to the tile are determined as tiles in the second associated tile group.

参考表2,对位于显示区域D中的瓦片B0、B2、B3、B5,逐个计算其内部区域B-In的面积,由于瓦片B3的面积(33856像素)超过设定阈值,因此将瓦片B3确定为目标瓦片,并将与瓦片B3相邻的瓦片(瓦片B0、B2、B5、B9~B13)确定为第二关联瓦片组中包含的瓦片。Referring to Table 2, for tiles B0, B2, B3, and B5 located in the display area D, the areas of their internal areas B-In are calculated one by one. Since the area of tile B3 (33856 pixels) exceeds the set threshold, tile B3 is determined as the target tile, and the tiles adjacent to tile B3 (tiles B0, B2, B5, B9~B13) are determined as tiles included in the second associated tile group.

表2Table 2

B0B0 B2B2 B3B3 B5B5 内部区域B-In的面积The area of the inner area B-In 793793 49414941 3385633856 1188211882

本示例的其他过程可以参考上一示例。例如,手机200在确定第二关联瓦片组后,首先确定已经向手表100发送过的瓦片,并根据确定结果向手表100发送未发送过的瓦片(瓦片B9~B13)。For other processes of this example, reference can be made to the previous example. For example, after determining the second associated tile group, the mobile phone 200 first determines the tiles that have been sent to the watch 100, and sends the tiles that have not been sent (tiles B9 to B13) to the watch 100 according to the determination result.

本示例的变形示例也可以参考上一示例的变形思路。例如,在某些情况下(例如,面积参数的设定阈值比较小时,目标位置P的移动方向为瓦片的对角线方向时),可能会有两个或两个以上的瓦片被确定为目标瓦片,此时,可以将与该两个或多个目标瓦片相邻的瓦片均确定为第二关联瓦片组中的瓦片。又如,手机200根据瓦片外部区域B-Out的面积参数来确第二关联瓦片组。The variation example of this example can also refer to the variation idea of the previous example. For example, in some cases (for example, when the setting threshold of the area parameter is relatively small, and the moving direction of the target position P is the diagonal direction of the tile), two or more tiles may be determined as target tiles. At this time, the tiles adjacent to the two or more target tiles can be determined as tiles in the second associated tile group. For another example, the mobile phone 200 determines the second associated tile group based on the area parameter of the tile external area B-Out.

继续参考图17a,在本实施例的第三个示例中,将定位位置P2所在的瓦片确定为目标瓦片,并将与该瓦片相邻的瓦片确定为第二关联瓦片组。Continuing to refer to FIG. 17 a , in the third example of this embodiment, the tile where the positioning position P2 is located is determined as the target tile, and the tiles adjacent to the tile are determined as the second associated tile group.

本示例中,根据定位位置P2的位置信息确定定位位置P2所在的瓦片为瓦片B3(确定过程可以参照上文的描述,不再赘述),因此将瓦片B3确定为目标瓦片,并将与瓦片B3相邻的瓦片(瓦片B0、B2、B5、B9~B13)确定为第二关联瓦片组。本示例可以用简单的方式确定第二关联瓦片组。In this example, the tile where the positioning position P2 is located is determined to be tile B3 according to the position information of the positioning position P2 (the determination process can refer to the above description and will not be repeated here), so tile B3 is determined as the target tile, and the tiles adjacent to tile B3 (tiles B0, B2, B5, B9-B13) are determined as the second associated tile group. In this example, the second associated tile group can be determined in a simple manner.

与上一示例相同,手机200在向手表100发送第二关联瓦片组之前,先判断由图17a确定的瓦片中是否包括已经向手表100发送过该瓦片,如果已经发送过,则不再发送该瓦片。因此,本示例中,手机200最终向手表100发送的第二关联瓦片组为瓦片B9~B13。Similar to the previous example, before sending the second associated tile group to the watch 100, the mobile phone 200 first determines whether the tile determined by FIG. 17a includes the tile that has been sent to the watch 100. If it has been sent, the tile is no longer sent. Therefore, in this example, the second associated tile group that the mobile phone 200 finally sends to the watch 100 is tiles B9 to B13.

以上对本实施例提供的初始定位界面生成方法和界面刷新方法进行了介绍。随着定位位置P的更新,手机200和手表100重复步骤S201~204,即可实时刷新手表100上显示的定位界面。The above describes the initial positioning interface generation method and interface refresh method provided by this embodiment. As the positioning position P is updated, the mobile phone 200 and the watch 100 repeat steps S201 to 204 to refresh the positioning interface displayed on the watch 100 in real time.

以上为对本申请技术方案的示例性说明,本领域技术人员可以进行其他补充或变形。The above is an exemplary description of the technical solution of the present application, and those skilled in the art may make other supplements or modifications.

例如,在一些实施例中,对于在地理上远离定位位置P的瓦片,手表100可以将其从内存中释放。例如,参考图17a,手表100将与目标瓦片(瓦片B3)不相邻的瓦片(瓦片B1、B4、B6~B8)从内存中释放,以使得手表内存中始终存储9张瓦片(目标瓦片以及与目标瓦片相邻的其他8张瓦片)。For example, in some embodiments, the watch 100 may release tiles that are geographically far from the positioning location P from the memory. For example, referring to FIG. 17 a , the watch 100 releases tiles (tiles B1, B4, B6 to B8) that are not adjacent to the target tile (tile B3) from the memory, so that 9 tiles (the target tile and the other 8 tiles adjacent to the target tile) are always stored in the watch memory.

再如,在一些实施例中,手机200可以同步显示定位界面。需要说明的是,手机200定位界面的地理范围、缩放比例可以与手表100显示的界面不相同。For another example, in some embodiments, the mobile phone 200 may simultaneously display a positioning interface. It should be noted that the geographical range and zoom ratio of the positioning interface of the mobile phone 200 may be different from those of the interface displayed by the watch 100.

需要说明的是,本申请实施例中,各步骤的序号并非用于限定各步骤的实施次序。在满足发明目的的前提下,各步骤的实施次序可以互换。例如,可以互换步骤S202和步骤S204的次序。It should be noted that in the embodiments of the present application, the serial numbers of the steps are not used to limit the order of implementation of the steps. Under the premise of meeting the purpose of the invention, the order of implementation of the steps can be interchanged. For example, the order of step S202 and step S204 can be interchanged.

【实施例二】[Example 2]

本实施例对本申请的导航方法进行介绍。本实施例在实施例一的基础上,在定位界面上增加导航轨迹,以形成导航界面,从而为用户提供导航功能。图18示出了本实施例提供的导航界面的效果图。This embodiment introduces the navigation method of the present application. Based on the first embodiment, this embodiment adds a navigation track to the positioning interface to form a navigation interface, thereby providing a navigation function for the user. FIG18 shows an effect diagram of the navigation interface provided by this embodiment.

参考图19,本实施例中,本实施例提供的导航方法包括:Referring to FIG. 19 , in this embodiment, the navigation method provided in this embodiment includes:

S301:手机200获取起始地址信息和目的地址信息。当手机200-手表100组成的导航定位系统进入导航定位状态后,手机200首先获取初始定位地址P1的位置信息,并向手表100发送第一关联瓦片组,以便手表100生成并显示如图7所示的定位界面。S301: The mobile phone 200 obtains the starting address information and the destination address information. When the navigation and positioning system composed of the mobile phone 200 and the watch 100 enters the navigation and positioning state, the mobile phone 200 first obtains the location information of the initial positioning address P1 and sends the first associated tile group to the watch 100 so that the watch 100 generates and displays the positioning interface shown in FIG7 .

在手表100显示定位界面后,用户通过手机200上的地图应用在手机200中输入起始地址信息(作为导航起始位置的位置信息的示例)和目的地址信息(作为导航目的位置的位置信息的示例),以使得手机200获取到起始地址信息和目的地址信息。After the watch 100 displays the positioning interface, the user enters the starting address information (as an example of the location information of the navigation starting position) and the destination address information (as an example of the location information of the navigation destination position) in the mobile phone 200 through the map application on the mobile phone 200, so that the mobile phone 200 obtains the starting address information and the destination address information.

但本申请不限于此,在其他实施例中,手机200可以在获取起始地址信息和目的地址信息之后,再向手表100发送用于手表100显示的地图瓦片。However, the present application is not limited thereto. In other embodiments, the mobile phone 200 may send a map tile for display on the watch 100 to the watch 100 after acquiring the starting address information and the destination address information.

S302:手机200确定从起始地址至目的地址的导航轨迹。例如,手机200通过其安装的地图应用生成导航轨迹。S302: The mobile phone 200 determines a navigation track from the starting address to the destination address. For example, the mobile phone 200 generates the navigation track through a map application installed therein.

手机200根据起始地址信息、目的地址信息以及存储在手机200中的道路信息,确定从起始地址至目的地址的导航路线(可以通过道路名称描述的行进路线);之后,通过从导航数据库中检索信息,手机确定分布于导航路线上的多个特征点(又称“导航特征位置点”),将多个特征点用直线依次相连即形成导航轨迹。Mobile phone 200 determines a navigation route from the starting address to the destination address (a travel route that can be described by road names) based on the starting address information, the destination address information and the road information stored in mobile phone 200; thereafter, by retrieving information from the navigation database, the mobile phone determines a plurality of feature points (also called "navigation feature location points") distributed on the navigation route, and connects the plurality of feature points in sequence with straight lines to form a navigation track.

特征点分布于道路交叉、道路折弯以及弯曲道路(例如,环岛道路)上,通常来说,导航方向变化频繁的区域分布有较多的特征点。Feature points are distributed at road intersections, road bends, and curved roads (eg, roundabouts). Generally speaking, areas where the navigation direction changes frequently have more feature points.

S303:手机200向手表发送导航轨迹的轨迹数据,轨迹数据为特征点所在地理位置的位置信息。本实施例中,手机200向手表100发送导航轨迹上所有特征点的位置信息;在其他实施例中,手机200也可仅向手表100发送手表100当前显示的地理区域中的特征点的位置信息。S303: The mobile phone 200 sends the track data of the navigation track to the watch, and the track data is the location information of the geographical location where the feature point is located. In this embodiment, the mobile phone 200 sends the location information of all feature points on the navigation track to the watch 100; in other embodiments, the mobile phone 200 may also send the location information of the feature points in the geographical area currently displayed by the watch 100 to the watch 100.

S304:手表100接收来自于手机200的轨迹数据,并在轨迹图层上绘制导航轨迹图像。具体地,手表100用直线依次连接各个特征点,以形成导航轨迹图像。其中,参考图20,轨迹图层为不同于地图图层(用于绘制地图图像的图层)的绘图图层。S304: The watch 100 receives the track data from the mobile phone 200 and draws the navigation track image on the track layer. Specifically, the watch 100 connects each feature point in sequence with a straight line to form a navigation track image. In particular, referring to FIG. 20 , the track layer is a drawing layer different from the map layer (a layer used to draw a map image).

S305:手表100将轨迹图像图层和地图图像图层进行叠加,以形成导航界面图像。手表100在其显示屏上显示导航界面后,用户通过观察手表100显示屏可直观地获取到导航信息,从而可提高用户体验。本实施例中,手机200可以同步显示导航界面(如图2所示),手机200导航界面的地理范围、缩放比例可以与手表100显示的界面不相同。S305: The watch 100 superimposes the track image layer and the map image layer to form a navigation interface image. After the watch 100 displays the navigation interface on its display screen, the user can intuitively obtain navigation information by observing the display screen of the watch 100, thereby improving the user experience. In this embodiment, the mobile phone 200 can synchronously display the navigation interface (as shown in FIG. 2 ), and the geographical range and zoom ratio of the navigation interface of the mobile phone 200 can be different from those of the interface displayed by the watch 100.

另外,参考图21,在一些实施例中,定位位置P点位于手机200确定的导航路线上,导航界面上还显示有方向指示图标(图21中的方向箭头),该实施例中,方向指示图标与定位标识合二为一,但本申请不限于此。该实施例中,生成方向指示图标的方法为:手机200根据导航路线上的特征点的位置信息,确定定位位置P点的导航方向角(0°~360°范围之内的方向角);手机200根据导航方向角确定方向枚举值(作为方向指示信息),并向手表100发送该方向枚举值,其中,方向枚举值为与导航方向角的角度范围相对应的数值。表3示出了方向枚举值的一个示例。In addition, referring to FIG. 21 , in some embodiments, the positioning position point P is located on the navigation route determined by the mobile phone 200, and a direction indication icon (the direction arrow in FIG. 21 ) is also displayed on the navigation interface. In this embodiment, the direction indication icon and the positioning mark are combined into one, but the present application is not limited thereto. In this embodiment, the method for generating the direction indication icon is as follows: the mobile phone 200 determines the navigation direction angle (the direction angle within the range of 0° to 360°) of the positioning position point P according to the position information of the feature point on the navigation route; the mobile phone 200 determines the direction enumeration value (as the direction indication information) according to the navigation direction angle, and sends the direction enumeration value to the watch 100, wherein the direction enumeration value is a numerical value corresponding to the angle range of the navigation direction angle. Table 3 shows an example of the direction enumeration value.

表3Table 3

导航方向角范围Navigation direction angle range 345°~15°345°~15° 15°~45°15°~45° 45°~75°45°~75° …… 315°~345°315°~345° 方向枚举值Direction enumeration value 00 11 22 …… 1111

手表100在接收到手机200发送的方向枚举值后,确定方向指示图标的转角(即方向指示箭头的朝向),并在导航界面上显示方向指示图标。该实施例中,用户通过观察方向指示图标,可以直观地了解到当前的导航方向,从而提高用户体验。另外,该实施例通过方向枚举值确定方向指示箭头的朝向,可以避免方向指示箭头频繁地更改方向。After receiving the direction enumeration value sent by the mobile phone 200, the watch 100 determines the turning angle of the direction indicator icon (i.e., the direction of the direction indicator arrow) and displays the direction indicator icon on the navigation interface. In this embodiment, the user can intuitively understand the current navigation direction by observing the direction indicator icon, thereby improving the user experience. In addition, this embodiment determines the direction of the direction indicator arrow by the direction enumeration value, which can avoid the direction indicator arrow from changing frequently.

【实施例三】[Example 3]

本实施例是在第一实施例的基础上的变形。本实施例与实施例一的主要区别在于,本实施例中,通过手表100自身实现定位功能,而非通过手表100-手机200组成的系统。也就是说,本实施例将实施例一中由手机200实现的功能集成至手表100上,从而实现手表100的单终端定位功能。This embodiment is a variation of the first embodiment. The main difference between this embodiment and the first embodiment is that in this embodiment, the positioning function is realized by the watch 100 itself, rather than by the system composed of the watch 100 and the mobile phone 200. In other words, this embodiment integrates the functions realized by the mobile phone 200 in the first embodiment into the watch 100, thereby realizing the single-terminal positioning function of the watch 100.

具体地,在初始定位界面生成阶段,手表100获取初始定位位置P1的位置信息,并根据定位位置P1的位置信息确定第一关联瓦片组;之后,手表100从服务器下载第一关联瓦片组中的瓦片,以生成初始定位界面。其中,手表100确定第一关联瓦片组的过程与实施例一步骤S102中手机200确定第一关联瓦片组的过程实质相同,因此可参考实施例一中的叙述,不再赘述;Specifically, in the initial positioning interface generation stage, the watch 100 obtains the location information of the initial positioning position P1, and determines the first associated tile group according to the location information of the positioning position P1; thereafter, the watch 100 downloads the tiles in the first associated tile group from the server to generate the initial positioning interface. The process of the watch 100 determining the first associated tile group is substantially the same as the process of the mobile phone 200 determining the first associated tile group in step S102 of the first embodiment, so the description in the first embodiment can be referred to and will not be repeated;

在定位界面刷新阶段,手表100获取更新后的定位位置P2的位置信息,并根据定位位置P2的位置信息生成刷新后的定位界面。另外,手表100还根据定位位置P2的位置信息确定第二关联瓦片组,并从服务器上下载第二关联瓦片组中的瓦片,以保证地图显示的连续性。其中,手表100确定第二关联瓦片组的过程与实施例一步骤S204中手机200确定第二关联瓦片组的过程实质相同,因此可参考实施例一中的叙述,不再赘述。During the positioning interface refresh phase, the watch 100 obtains the location information of the updated positioning position P2, and generates a refreshed positioning interface based on the location information of the positioning position P2. In addition, the watch 100 also determines the second associated tile group based on the location information of the positioning position P2, and downloads the tiles in the second associated tile group from the server to ensure the continuity of the map display. Among them, the process of the watch 100 determining the second associated tile group is substantially the same as the process of the mobile phone 200 determining the second associated tile group in step S204 of the first embodiment, so the description in the first embodiment can be referred to and will not be repeated.

另外,本实施例中,定位位置可以是手表100所在的位置,此时,手表100可以通过自身的定位功能获取定位位置的位置信息;定位位置也可以是其他定位对象的位置,此时,手表100可以从设于其他定位对象的定位终端上获取定位位置的位置信息。In addition, in this embodiment, the positioning position can be the location of the watch 100. In this case, the watch 100 can obtain the location information of the positioning position through its own positioning function; the positioning position can also be the location of other positioning objects. In this case, the watch 100 can obtain the location information of the positioning position from the positioning terminal set on the other positioning object.

现在参考图22,所示为根据本申请的一个实施例的电子设备400的框图。电子设备400可以包括耦合到控制器中枢403的一个或多个处理器401。对于至少一个实施例,控制器中枢403经由诸如前端总线(FSB,Front Side Bus)之类的多分支总线、诸如快速通道连(QPI,QuickPath Interconnect)之类的点对点接口、或者类似的连接406与处理器401进行通信。处理器401执行控制一般类型的数据处理操作的指令。在一实施例中,控制器中枢403包括,但不局限于,图形存储器控制器中枢(GMCH,Graphics&Memory Controller Hub)(未示出)和输入/输出中枢(IOH,Input Output Hub)(其可以在分开的芯片上)(未示出),其中GMCH包括存储器和图形控制器并与IOH耦合。Referring now to FIG. 22 , a block diagram of an electronic device 400 according to one embodiment of the present application is shown. The electronic device 400 may include one or more processors 401 coupled to a controller hub 403. For at least one embodiment, the controller hub 403 communicates with the processor 401 via a multi-drop bus such as a front side bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or a similar connection 406. The processor 401 executes instructions that control general types of data processing operations. In one embodiment, the controller hub 403 includes, but is not limited to, a graphics memory controller hub (GMCH) (not shown) and an input/output hub (IOH) (which may be on a separate chip) (not shown), wherein the GMCH includes a memory and a graphics controller and is coupled to the IOH.

电子设备400还可包括耦合到控制器中枢403的协处理器402和存储器404。或者,存储器和GMCH中的一个或两者可以被集成在处理器内(如本申请中所描述的),存储器404和协处理器402直接耦合到处理器401以及控制器中枢403,控制器中枢403与IOH处于单个芯片中。The electronic device 400 may also include a coprocessor 402 and a memory 404 coupled to a controller hub 403. Alternatively, one or both of the memory and the GMCH may be integrated within the processor (as described in this application), with the memory 404 and the coprocessor 402 being directly coupled to the processor 401 and the controller hub 403, with the controller hub 403 being in a single chip with the IOH.

存储器404可以是例如动态随机存取存储器(DRAM,Dynamic Random AccessMemory)、相变存储器(PCM,Phase Change Memory)或这两者的组合。存储器404中可以包括用于存储数据和/或指令的一个或多个有形的、非暂时性计算机可读介质。计算机可读存储介质中存储有指令,具体而言,存储有该指令的暂时和永久副本。The memory 404 may be, for example, a dynamic random access memory (DRAM), a phase change memory (PCM), or a combination of the two. The memory 404 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. The computer-readable storage medium stores instructions, specifically, temporary and permanent copies of the instructions.

如图22所示的电子设备400可以被分别被实现为地图提供设备和地图显示设备。当电子设备400被实现为地图提供设备时,存储器404中存储的指令可以包括:由处理器中的至少一个执行时导致地图提供设备实施如图10、图11、图14、图19所示的方法中由手机实施的步骤的指令。当电子设备400被实现为地图显示设备时,存储器404中存储的指令可以包括:由处理器中的至少一个执行时致使地图显示设备实施如图10、图11、图14、图19所示的方法中由手表实施的步骤的指令。The electronic device 400 shown in FIG. 22 may be implemented as a map providing device and a map display device, respectively. When the electronic device 400 is implemented as a map providing device, the instructions stored in the memory 404 may include: instructions that, when executed by at least one of the processors, cause the map providing device to implement the steps implemented by the mobile phone in the method shown in FIG. 10, FIG. 11, FIG. 14, and FIG. 19. When the electronic device 400 is implemented as a map display device, the instructions stored in the memory 404 may include: instructions that, when executed by at least one of the processors, cause the map display device to implement the steps implemented by the watch in the method shown in FIG. 10, FIG. 11, FIG. 14, and FIG. 19.

在一个实施例中,协处理器402是专用处理器,诸如例如高吞吐量MIC(ManyIntegrated Core,集成众核)处理器、网络或通信处理器、压缩引擎、图形处理器、GPGPU(General-purpose computing on graphics processing units,图形处理单元上的通用计算)、或嵌入式处理器等等。协处理器402的任选性质用虚线表示在图22中。In one embodiment, the coprocessor 402 is a special-purpose processor, such as, for example, a high-throughput MIC (Many Integrated Core) processor, a network or communication processor, a compression engine, a graphics processor, a GPGPU (General-purpose computing on graphics processing units), or an embedded processor, etc. The optional nature of the coprocessor 402 is indicated by a dashed line in FIG. 22 .

在一个实施例中,电子设备400可以进一步包括网络接口(NIC,NetworkInterface Controller)406。网络接口406可以包括收发器,用于为电子设备400提供无线电接口,进而与任何其他合适的设备(如前端模块,天线等)进行通信。在各种实施例中,网络接口406可以与电子设备400的其他组件集成。网络接口406可以实现上述实施例中的通信单元的功能。In one embodiment, the electronic device 400 may further include a network interface (NIC, Network Interface Controller) 406. The network interface 406 may include a transceiver for providing a radio interface for the electronic device 400, and then communicating with any other suitable device (such as a front-end module, an antenna, etc.). In various embodiments, the network interface 406 may be integrated with other components of the electronic device 400. The network interface 406 may implement the functions of the communication unit in the above-mentioned embodiments.

电子设备400可以进一步包括输入/输出(I/O,Input/Output)设备405。I/O405可以包括:用户界面,该设计使得用户能够与电子设备400进行交互;外围组件接口的设计使得外围组件也能够与电子设备400交互;和/或传感器设计用于确定与电子设备400相关的环境条件和/或位置信息。The electronic device 400 may further include an input/output (I/O) device 405. The I/O 405 may include: a user interface designed to enable a user to interact with the electronic device 400; a peripheral component interface designed to enable peripheral components to interact with the electronic device 400; and/or a sensor designed to determine environmental conditions and/or location information related to the electronic device 400.

值得注意的是,图22仅是示例性的。即虽然图22中示出了电子设备400包括处理器401、控制器中枢403、存储器404等多个器件,但是,在实际的应用中,使用本申请各方法的设备,可以仅包括电子设备400各器件中的一部分器件,例如,可以仅包含处理器401和网络接口406。图22中可选器件的性质用虚线示出。It is worth noting that FIG. 22 is only exemplary. That is, although FIG. 22 shows that the electronic device 400 includes multiple devices such as a processor 401, a controller hub 403, and a memory 404, in actual applications, the device using the methods of the present application may only include a portion of the devices of the electronic device 400, for example, it may only include the processor 401 and the network interface 406. The properties of the optional devices in FIG. 22 are shown by dotted lines.

现在参考图23,所示为根据本申请的一实施例的SoC(System on Chip,片上系统)500的框图。在图23中,相似的部件具有同样的附图标记。另外,虚线框是更先进的SoC的可选特征。在图23中,SoC500包括:互连单元550,其被耦合至处理器510;系统代理单元580;总线控制器单元590;集成存储器控制器单元540;一组或一个或多个协处理器520,其可包括集成图形逻辑、图像处理器、音频处理器和视频处理器;静态随机存取存储器(SRAM,StaticRandom-Access Memory)单元530;直接存储器存取(DMA,Direct Memory Access)单元560。在一个实施例中,协处理器520包括专用处理器,诸如例如网络或通信处理器、压缩引擎、GPGPU(General-purpose computing on graphics processing units,图形处理单元上的通用计算)、高吞吐量MIC处理器、或嵌入式处理器等。Now refer to Figure 23, which is a block diagram of a SoC (System on Chip) 500 according to an embodiment of the present application. In Figure 23, similar components have the same reference numerals. In addition, the dashed box is an optional feature of a more advanced SoC. In Figure 23, the SoC 500 includes: an interconnect unit 550, which is coupled to the processor 510; a system agent unit 580; a bus controller unit 590; an integrated memory controller unit 540; a group or one or more coprocessors 520, which may include integrated graphics logic, image processors, audio processors, and video processors; a static random access memory (SRAM) unit 530; and a direct memory access (DMA) unit 560. In one embodiment, the coprocessor 520 includes a dedicated processor, such as, for example, a network or communication processor, a compression engine, a GPGPU (General-purpose computing on graphics processing units), a high-throughput MIC processor, or an embedded processor.

静态随机存取存储器(SRAM)单元530可以包括用于存储数据和/或指令的一个或多个有形的、非暂时性计算机可读介质。计算机可读存储介质中存储有指令,具体而言,存储有该指令的暂时和永久副本。Static random access memory (SRAM) unit 530 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. The computer-readable storage medium stores instructions, and more specifically, stores temporary and permanent copies of the instructions.

如图23所示的SoC可以被分别设置在地图提供设备和地图显示设备中。当SoC被设置在地图提供设备中时,静态随机存取存储器(SRAM)单元530中存储有指令,该指令可以包括:由处理器中的至少一个执行时导致地图提供设备实施如图10、图11、图14、图19所示的方法中由手机实施的步骤的指令。当SoC被设置在地图显示设备中时,静态随机存取存储器(SRAM)单元530中存储有指令,该指令可以包括:由处理器中的至少一个执行时致使地图显示设备实施如图10、图11、图14、图19所示的方法中由手表实施的步骤的指令。The SoC shown in FIG23 may be provided in a map providing device and a map display device, respectively. When the SoC is provided in the map providing device, the static random access memory (SRAM) unit 530 stores instructions, which may include instructions that, when executed by at least one of the processors, cause the map providing device to implement the steps implemented by the mobile phone in the method shown in FIG10, FIG11, FIG14, and FIG19. When the SoC is provided in the map display device, the static random access memory (SRAM) unit 530 stores instructions, which may include instructions that, when executed by at least one of the processors, cause the map display device to implement the steps implemented by the watch in the method shown in FIG10, FIG11, FIG14, and FIG19.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

本申请的各方法实施方式均可以以软件、磁件、固件等方式实现。Each method implementation mode of the present application can be implemented in the form of software, magnetic components, firmware, etc.

可将程序代码应用于输入指令,以执行本文描述的各功能并生成输出信息。可以按已知方式将输出信息应用于一个或多个输出设备。为了本申请的目的,处理系统包括具有诸如例如数字信号处理器(DSP,Digital Signal Processor)、微控制器、专用集成电路(ASIC)或微处理器之类的处理器的任何系统。Program code can be applied to input instructions to perform each function described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For the purpose of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

程序代码可以用高级程序化语言或面向对象的编程语言来实现,以便与处理系统通信。在需要时,也可用汇编语言或机器语言来实现程序代码。事实上,本文中描述的机制不限于任何特定编程语言的范围。在任一情形下,该语言可以是编译语言或解释语言。Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described herein is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

至少一个实施例的一个或多个方面可以由存储在计算机可读存储介质上的表示性指令来实现,指令表示处理器中的各种逻辑,指令在被机器读取时使得该机器制作用于执行本文所述的技术的逻辑。被称为“IP(Intellectual Property,知识产权)核”的这些表示可以被存储在有形的计算机可读存储介质上,并被提供给多个客户或生产设施以加载到实际制造该逻辑或处理器的制造机器中。One or more aspects of at least one embodiment may be implemented by representative instructions stored on a computer-readable storage medium, which represent various logics in a processor, and when the instructions are read by a machine, the machine makes logic for performing the techniques described herein. These representations, known as "IP (Intellectual Property, Intellectual Property) cores", may be stored on a tangible computer-readable storage medium and provided to multiple customers or production facilities to be loaded into a manufacturing machine that actually manufactures the logic or processor.

在一些情况下,指令转换器可用来将指令从源指令集转换至目标指令集。例如,指令转换器可以变换(例如使用静态二进制变换、包括动态编译的动态二进制变换)、变形、仿真或以其它方式将指令转换成将由核来处理的一个或多个其它指令。指令转换器可以用软件、硬件、固件、或其组合实现。指令转换器可以在处理器上、在处理器外、或者部分在处理器上且部分在处理器外。In some cases, the instruction converter can be used to convert instructions from a source instruction set to a target instruction set. For example, the instruction converter can transform (e.g., using static binary transformation, dynamic binary transformation including dynamic compilation), deform, simulate, or otherwise convert instructions into one or more other instructions to be processed by the core. The instruction converter can be implemented in software, hardware, firmware, or a combination thereof. The instruction converter can be on the processor, outside the processor, or partially on the processor and partially outside the processor.

Claims (32)

1. A navigation positioning method, applied to a first device, the first device being a lightweight device, the method comprising:
acquiring position information of a first position;
obtaining, from a second device, a first associated map tile group associated with the first location, the first associated map tile group being one or more map tiles supporting a current display of the first device, the one or more map tiles being map tiles selected from a digital map composed in the form of map tiles; the second device is a terminal device in communication connection with the first device, and the terminal device is used for providing a pre-stored map tile for the first device in an offline state or downloading a required tile from a server in real time and providing the tile for the first device;
According to the position information of the first position and the first associated map block group, in a display area for displaying a map, displaying the first position and a map image of the geographical area where the first position is located in a mode that a positioning point of the first position is located at a set position point of the display area and the first associated map block group fills the display area;
acquiring position information of a second position, wherein the second position is different from the first position;
Obtaining a second associated map tile group associated with the second location from the second device, wherein the second associated map tile group is one or more map tiles selected by the second device from map tiles of the digital map according to the location information of the second location and used for supporting the first device to continuously display map images;
moving the map block displayed in the display area according to the position information of the second position, and enabling a positioning point of the second position to be positioned at the set position point of the display area so as to refresh a map image displayed in the display area;
the second device selects a map block of the second associated map block group from map blocks of the digital map according to the position information of the second position, specifically:
The second device determines geometric parameters of map blocks located in the display area due to the segmentation by the boundary of the display area according to the position information of the second position;
When the geometric parameter of at least one map block of map blocks located in the display area is located in a set threshold interval, the second device determines a map block adjacent to the at least one map block as a map block of the second associated map block group.
2. The method of claim 1, wherein the method comprises the steps of,
The second device is a server in communication connection with the first device, wherein the digital map is stored in the server; or alternatively
The second device is a terminal device in communication connection with the first device, wherein the terminal device stores part or all of the digital map, or the terminal device is used for downloading the first associated map block group from a server.
3. The method according to claim 1 or 2, wherein the obtaining the location information of the first location is specifically:
acquiring position information of the first position by using a positioning function of the first device;
After the obtaining the position information of the first position, the method further includes:
the location information of the first location is sent to the second device, and the first associated map tile group associated with the first location is acquired from the second device.
4. The method of claim 1, wherein the second device is a terminal device communicatively connected to the first device, and the obtaining the location information of the first location specifically includes:
Position information of the first position is acquired from the second device.
5. The method according to claim 1, wherein the method further comprises:
Obtaining index information of each map block in the first associated map block group from the second equipment, wherein the index information of each map block corresponds to a geographic area represented by each map block one by one;
The displaying the map image of the first location and the geographic area where the first location is located according to the location information of the first location and the first associated map block group specifically includes:
Determining the relative position relation between each map block in the first associated map block group and the display area according to the index information of each map block in the first associated map block group, the position information of the first position and the position of the positioning point of the first position in the display area;
And determining the part of each map block in the first associated map block group in the display area according to the relative position relation, and displaying the part of each map block in the display area so as to display the first position and the map image of the geographical area where the first position is.
6. The method of claim 5, wherein the map tiles in the digital map are arranged in a matrix, and the index information for the map tiles includes a row number of the map tiles in the matrix and a column number of the map tiles in the matrix.
7. The method of claim 1, wherein a map tile located in the display area is divided by a boundary of the display area into a first area located within the display area and a second area located outside the display area;
Wherein the geometric parameters include at least one of: the first region length parameter; a length parameter of the second region; the area of the first region; the area of the second region.
8. The method of claim 7, wherein each map tile of the digital map is a square map tile of the same image size, the square map tile having a first side extending in a first direction and a second side extending in a second direction, wherein the first direction and the second direction are perpendicular to each other; wherein,
The length parameter of the first region includes a length of the first region along the first direction and a length of the first region along the second direction;
the length parameter of the second region includes a length of the second region along the first direction and a length of the second region along the second direction.
9. The method according to claim 1, wherein the second device selects a map tile of the second associated map tile group from map tiles of the digital map based on the location information of the second location, in particular:
The second equipment determines a map block where the second position is located according to the position information of the second position;
the second device determines one or more map tiles adjacent to the map tile at the second location as map tiles in the second associated map tile group.
10. The method according to any one of claims 7 to 9, wherein the method further comprises:
Map blocks which are not adjacent to the map blocks where the second position is located are deleted from the main memory of the first device, so that the number of map blocks stored in the main memory of the first device is kept to be a preset number.
11. The method of claim 1, wherein the set location point of the display area is a geometric center point of the display area.
12. The method of claim 1, wherein the extent of the geographic area represented by the display area is the same as the extent of the geographic area represented by each of the map tiles in at least one direction extending along the plane in which the display area lies.
13. The method according to claim 1, wherein the method further comprises:
Acquiring position information of navigation feature position points positioned in a geographical area where the first position is positioned from at least the second equipment, wherein the navigation feature position points are determined by the second equipment according to the position information of a navigation starting position and the position information of a navigation destination position;
Generating a navigation track image according to the acquired position information of the navigation feature position points, determining the position corresponding relation between the navigation track image and the map image of the first associated map block group based on the position information of the navigation feature position points, and displaying the superimposed image of the navigation track image and the map image of the geographic area where the first position is located in a position corresponding mode in the display area.
14. The method of claim 13, wherein the location point of the first location is located on a navigation route determined by the second device; the method further comprises the steps of:
Receiving direction indication information from the second equipment, wherein the direction indication information is determined according to a navigation direction angle of a position point where the first position is located, and the navigation direction angle is determined by the second equipment according to the navigation feature position point;
and determining a direction indication icon matched with the direction indication information, and displaying the direction indication icon in the display area.
15. A method of navigational positioning, wherein an application and a second device, the method comprising:
acquiring position information of a first position;
transmitting a first associated map block group associated with a first position to a first device, so that the first device displays the first position and a map image of a geographical area where the first position is located in a display area for displaying a map in a manner that a positioning point of the first position is located at a set position point of the display area and the display area is filled with the first associated map block group, wherein the first device is a lightweight device; the second device is a terminal device in communication connection with the first device, and the terminal device is used for providing a pre-stored map tile for the first device in an offline state or downloading a required tile from a server in real time and providing the tile for the first device;
acquiring position information of a second position, wherein the second position is different from the first position;
determining a second associated map tile group associated with the second location according to the location information of the second location, wherein the second associated map tile group is one or more map tiles for supporting the first device to continuously display map images, and each map tile in the second associated map tile is a map tile selected from map tiles of a digital map;
Transmitting the second associated map tile group to the first device;
The determining a second associated map tile group associated with the second location according to the location information of the second location includes:
Determining geometric parameters of map blocks located in the display area due to the segmentation of the boundaries of the display area according to the position information of the second position;
Determining a map block adjacent to at least one map block in a map block located in the display area as a map block in the second associated map block group when the geometric parameter of the at least one map block is located in a set threshold interval;
Wherein the first associated map tile group is one or more map tiles for supporting a current display of the first device, the one or more map tiles being selected from the digital map composed in map block form.
16. The method of claim 15, wherein the step of determining the position of the probe is performed,
The second device is a server in communication connection with the first device, wherein the digital map is stored in the server; or alternatively
The second device is a terminal device in communication connection with the first device, wherein the terminal device stores part or all of the digital map, or the terminal device is used for downloading the first associated map block group from a server.
17. The method according to claim 15 or 16, wherein the obtaining the location information of the first location is specifically:
and acquiring the position information of the first position from the first device, wherein the position information of the first position is the position information acquired by the first device by using a positioning function of the first device.
18. The method of claim 15, wherein the second device is a terminal device communicatively coupled to the first device; the obtaining the position information of the first position specifically includes:
the second equipment acquires the position information of the first position through the self positioning function; or the second equipment acquires the position information of the first position from a positioning terminal in communication connection with the second equipment;
After the obtaining the position information of the first position, the method further includes:
and sending the position information of the first position to the first equipment.
19. The method of claim 15, wherein the method further comprises:
transmitting index information of each map block in the first associated map block group to the first equipment, wherein the index information of each map block corresponds to a geographic area represented by each map block one by one;
The first device determines the relative position relation between each map block in the first associated map block group and the display area of the first device according to index information of each map block in the first associated map block group, and displays the part of each map block in the first associated map block group in the display area so as to display the first position and the map image of the geographical area where the first position is located.
20. The method of claim 19, wherein the map tiles in the digital map are arranged in a matrix, and the index information for the map tiles includes a row number of the map tiles in the matrix and a column number of the map tiles in the matrix.
21. The method of claim 15, wherein a map tile located in the display area is divided by a boundary of the display area into a first area located within the display area and a second area located outside the display area;
Wherein the geometric parameters include at least one of: the first region length parameter; a length parameter of the second region; the area of the first region; the area of the second region.
22. The method of claim 21, wherein each map tile of the digital map is a square map tile of the same image size, the square map tile having a first side extending in a first direction and a second side extending in a second direction, wherein the first direction and the second direction are perpendicular to each other; wherein,
The length parameter of the first region includes a length of the first region along the first direction and a length of the first region along the second direction;
the length parameter of the second region includes a length of the second region along the first direction and a length of the second region along the second direction.
23. The method of claim 19, wherein the determining a second associated map tile group associated with the second location based on the location information of the second location comprises:
Determining a map block where the second position is located according to the position information of the second position;
One or more map tiles adjacent to the map tile at the second location are determined to be map tiles in the second associated map tile group.
24. The method of any of claims 19 to 23, wherein the sending a second associated map tile group to the first device comprises:
And determining the map blocks which are not recorded in the history map block sending record in the second associated map block group according to the history map block sending record, and sending the map blocks which are not recorded in the history map block sending record to the first device.
25. The method of claim 15, wherein the set point of the display area is a geometric center point of the display area.
26. The method of claim 15, wherein the extent of the geographic area represented by the display area is the same as the extent of the geographic area represented by each of the map tiles in at least one direction extending along the plane in which the display area lies.
27. The method of claim 15, wherein the method further comprises:
Acquiring position information of a navigation starting position and position information of a navigation destination position;
Determining a plurality of navigation feature position points on a navigation route from the navigation starting position to the navigation destination position according to the position information of the navigation starting position and the position information of the navigation destination position, wherein the plurality of navigation feature position points comprise navigation feature position points positioned in a geographic area where the first position is positioned;
And sending the position information of the navigation feature position point positioned in the geographical area where the first position is positioned to the first equipment at least, so that the first equipment generates a navigation track image according to the position information of the navigation feature position point received from the second equipment, determines the position corresponding relation between the navigation track image and the map image of the first associated map block group based on the position information of the navigation feature position point, and displays the superimposed image of the navigation track image and the map image of the geographical area where the first position is positioned in a position corresponding mode in the display area.
28. The method of claim 27, wherein the location point of the first location is located on the navigation route determined by the second device; the method further comprises the steps of:
determining a navigation direction angle of a position point where the first position is located according to the navigation feature position point, and determining direction indication information for sending to the first device according to the navigation direction angle;
And sending the direction indication information to the first device, so that the first device determines a direction indication icon matched with the direction indication information according to the direction indication information, and displaying the direction indication icon in the display area.
29. An electronic device, comprising:
A memory for storing instructions for execution by one or more processors of the electronic device;
a processor, which when executing the instructions in the memory, causes the electronic device to perform the navigation positioning method of any one of claims 1 to 14.
30. An electronic device, comprising:
A memory for storing instructions for execution by one or more processors of the electronic device;
A processor, which when executing the instructions in the memory, causes the electronic device to perform the navigation positioning method of any one of claims 15 to 28.
31. A navigational positioning system comprising a first device and a second device in communication, wherein the first device is adapted to perform the navigational positioning method according to any of the claims 1-14 and the second device is adapted to perform the navigational positioning method according to any of the claims 15-28.
32. A computer readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the navigation positioning method of any of claims 1 to 28.
CN202010761544.5A 2020-07-31 2020-07-31 Navigation positioning method, electronic equipment and navigation positioning system Active CN114061599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010761544.5A CN114061599B (en) 2020-07-31 2020-07-31 Navigation positioning method, electronic equipment and navigation positioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010761544.5A CN114061599B (en) 2020-07-31 2020-07-31 Navigation positioning method, electronic equipment and navigation positioning system

Publications (2)

Publication Number Publication Date
CN114061599A CN114061599A (en) 2022-02-18
CN114061599B true CN114061599B (en) 2024-09-17

Family

ID=80227968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010761544.5A Active CN114061599B (en) 2020-07-31 2020-07-31 Navigation positioning method, electronic equipment and navigation positioning system

Country Status (1)

Country Link
CN (1) CN114061599B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114238544A (en) * 2022-02-24 2022-03-25 深圳市普渡科技有限公司 Map loading method, map loading device and storage medium
CN114896525B (en) * 2022-06-09 2025-08-15 北京声智科技有限公司 Information display method and device and electronic equipment
CN115657973B (en) * 2022-12-28 2023-03-14 江苏龙威中科技术有限公司 Navigation data display method and device
CN118015236A (en) * 2024-04-07 2024-05-10 湖州丽天智能科技有限公司 Map display processing method, device, system, robot and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699439A (en) * 2013-12-30 2014-04-02 北京奇虎科技有限公司 Device and method for calculating tiles in electronic map visual area
CN106471488A (en) * 2013-09-05 2017-03-01 脸谱公司 Tiling technology for location-based server control
CN109597861A (en) * 2018-10-31 2019-04-09 百度在线网络技术(北京)有限公司 Processing method, device and the readable storage medium storing program for executing of map datum

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060089793A1 (en) * 2004-10-22 2006-04-27 Richard Rudow Systems, methods and devices for trip management functions
US8280414B1 (en) * 2011-09-26 2012-10-02 Google Inc. Map tile data pre-fetching based on mobile device generated event analysis
CN102819671B (en) * 2012-07-25 2016-02-17 深圳市网信联动通信技术股份有限公司 A kind of method of carrying out data analysis in conjunction with map
US9396508B2 (en) * 2013-05-15 2016-07-19 Google Inc. Use of map data difference tiles to iteratively provide map data to a client device
US9201898B2 (en) * 2013-05-15 2015-12-01 Google Inc. Efficient fetching of map tile data
CN105589891A (en) * 2014-11-05 2016-05-18 高德软件有限公司 Link data production and updating method and device in electronic map
CN104461436B (en) * 2014-12-22 2017-11-10 广东威创视讯科技股份有限公司 A kind of display methods of multiple terminals based on different resolution
CN104834723A (en) * 2015-05-12 2015-08-12 天脉聚源(北京)教育科技有限公司 Display processing method and device of map
JP2017116469A (en) * 2015-12-25 2017-06-29 株式会社ゼンリンデータコム Map display device, map display method, and computer program
JP6642415B2 (en) * 2016-12-28 2020-02-05 カシオ計算機株式会社 Map display device, program and map display method
CN108038249B (en) * 2017-12-28 2020-05-19 北京星球时空科技有限公司 Global map data storage organization method and call method
CN110567466B (en) * 2019-08-20 2022-11-25 广州力挚网络科技有限公司 Map generation method and device, electronic equipment and readable storage medium
CN110704057B (en) * 2019-10-09 2021-04-27 腾讯科技(深圳)有限公司 Service processing method based on map service and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106471488A (en) * 2013-09-05 2017-03-01 脸谱公司 Tiling technology for location-based server control
CN103699439A (en) * 2013-12-30 2014-04-02 北京奇虎科技有限公司 Device and method for calculating tiles in electronic map visual area
CN109597861A (en) * 2018-10-31 2019-04-09 百度在线网络技术(北京)有限公司 Processing method, device and the readable storage medium storing program for executing of map datum

Also Published As

Publication number Publication date
CN114061599A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN114061599B (en) Navigation positioning method, electronic equipment and navigation positioning system
USRE46737E1 (en) Method and apparatus for an augmented reality user interface
CN101957209B (en) Navigation device map data increment updating method
US20180301111A1 (en) Electronic device and method for displaying electronic map in electronic device
US20120042036A1 (en) Location and contextual-based mobile application promotion and delivery
US20110279453A1 (en) Method and apparatus for rendering a location-based user interface
CN114428618A (en) A cross-device application interaction method, electronic device and server
WO2021089006A1 (en) Digital space management method, apparatus, and device
CN107656961B (en) Information display method and device
CN108319709A (en) Position information processing method, device, electronic equipment and storage medium
CN109191373A (en) Navigation coordinate converts gauss projection and sits calibration method, system, equipment and medium
US20250097352A1 (en) Method for calibrating satellite short message communication charging and device
CN103647878A (en) Weather information display system based on map and method thereof
CN113790732A (en) Method and device for generating location information
TW201305985A (en) Method of providing contents for mobile computing device
CN105450763B (en) Car networking processing system
CN118945815B (en) Service scene identification method, electronic equipment and storage medium
TWI478612B (en) Portable device with passing trace module and method of the same
CN116056002B (en) A data collection method and electronic device
CN202471084U (en) Android platform-based navigator
CN103575266A (en) Method and system of mobile navigation as well as GIS (geographic information system) server
CN109976884B (en) Intelligent terminal and switching method between application programs
EP2712212A2 (en) Communication terminal, system and method for location-based service
CN114721020A (en) Railway position information processing method, recorder and server
CN113790733B (en) Navigation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant