[go: up one dir, main page]

CN102023289A - Electronic device and map display method - Google Patents

Electronic device and map display method Download PDF

Info

Publication number
CN102023289A
CN102023289A CN2009103069012A CN200910306901A CN102023289A CN 102023289 A CN102023289 A CN 102023289A CN 2009103069012 A CN2009103069012 A CN 2009103069012A CN 200910306901 A CN200910306901 A CN 200910306901A CN 102023289 A CN102023289 A CN 102023289A
Authority
CN
China
Prior art keywords
display screen
map
position information
electronic device
location information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2009103069012A
Other languages
Chinese (zh)
Other versions
CN102023289B (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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN200910306901A priority Critical patent/CN102023289B/en
Publication of CN102023289A publication Critical patent/CN102023289A/en
Application granted granted Critical
Publication of CN102023289B publication Critical patent/CN102023289B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)
  • Instructional Devices (AREA)

Abstract

The invention relates to a map display method, which comprises the following steps of: receiving a satellite signal transmitted by a satellite, and generating the current position information for reflecting the current position of an electronic device provided with a global positioning system (GPS) signal receiving module according to the received satellite signal; acquiring the resolution of a display screen of the electronic device; establishing a mapping relationship between the current position information and the display screen by taking the current position information as the center of the display screen; acquiring a position information group corresponding to the edge of the display screen according to the acquired resolution and the established mapping relationship; transmitting the current position information and the position information group to a map server in network connection with the electronic device; receiving corresponding preset map data transmitted by the map server according to the current position information and the position information group; and displaying a map matched with the display screen in the display screen according to the received map data. The invention also provides the electronic device with navigation function.

Description

电子装置及地图显示方法 Electronic device and map display method

技术领域technical field

本发明涉及导航领域,特别涉及一种电子装置及地图显示方法。The invention relates to the field of navigation, in particular to an electronic device and a map display method.

背景技术Background technique

全球定位系统(GPS,Global Positioning System)已广泛应用于作为个人导航设备的移动电子装置。根据现有的方法:移动电子装置预先存储数据量很大的地图,在启动移动电子装置的导航功能后,移动电子装置接收来自GPS卫星的信号并且通过处理所接收的信号来产生用于反应移动电子装置当前位置的当前位置信息,接着根据产生的当前位置信息从预存的地图中选择对应的地图显示,并在显示的地图中标示出移动电子装置的当前位置。Global Positioning System (GPS, Global Positioning System) has been widely used in mobile electronic devices as personal navigation devices. According to the existing method: the mobile electronic device pre-stores a map with a large amount of data. After the navigation function of the mobile electronic device is activated, the mobile electronic device receives signals from GPS satellites and generates signals for responding to movement by processing the received signals. The current location information of the current location of the electronic device, and then select the corresponding map from the pre-stored maps to display according to the generated current location information, and mark the current location of the mobile electronic device in the displayed map.

然而,由于预先存储在移动电子装置中的地图数据量比较庞大(数据量在1G以上),占用了移动电子装置的存储空间,致使移动电子装置的存储空间变得不足,移动电子装置无法及时响应用户的操作;另外,用户需要花费时间来更新存储在移动电子装置中的地图,以保证地图中地理信息的完整性。如此,给用户带来了使用上的不便。However, due to the relatively large amount of map data pre-stored in the mobile electronic device (the data volume is above 1G), the storage space of the mobile electronic device is occupied, and the storage space of the mobile electronic device becomes insufficient, and the mobile electronic device cannot respond in time. In addition, the user needs to spend time updating the map stored in the mobile electronic device to ensure the integrity of the geographical information in the map. In this way, the user is inconvenienced in use.

发明内容Contents of the invention

鉴于此,有必要提供一种方便用户使用的具有导航功能的电子装置。In view of this, it is necessary to provide an electronic device with a navigation function that is convenient for users to use.

还有必要提供一种地图显示方法。It is also necessary to provide a map display method.

一种电子装置,用于连接地图服务器,该电子装置包括GPS信号接收模块、控制模块、通信模块及显示屏幕,GPS信号接收模块用于接收人造卫星发出的定位信号,并根据接收的定位信号产生电子装置的当前位置信息。该控制模块用于获取显示屏幕的分辨率,且以当前位置信息为显示屏幕的中心建立当前位置信息与显示屏幕间的映射关系,并根据获取的分辨率及建立的映射关系产生与显示屏幕边缘像素点对应的坐标点相对应的位置信息组,并通过通信模块将当前位置信息及位置信息组发送给与该电子装置建立网络连接的地图服务器。该控制模块还用于将通信模块接收的由地图服务器根据当前位置信息及位置信息组传送的与显示屏幕尺寸相适应的地图数据提供给显示屏幕显示。An electronic device for connecting to a map server, the electronic device includes a GPS signal receiving module, a control module, a communication module and a display screen, the GPS signal receiving module is used to receive positioning signals sent by artificial satellites, and generate The current location information of the electronic device. The control module is used to obtain the resolution of the display screen, and use the current position information as the center of the display screen to establish a mapping relationship between the current position information and the display screen, and generate a A location information group corresponding to a coordinate point corresponding to a pixel point, and sending the current location information and the location information group to a map server establishing a network connection with the electronic device through the communication module. The control module is also used to provide the map data received by the communication module and transmitted by the map server according to the current location information and the location information group and adapted to the size of the display screen for display on the display screen.

一种地图显示方法,包括如下步骤:A method for displaying a map, comprising the steps of:

接收卫星发射的卫星信号,根据接收的卫星信号产生反应设置有GPS信号接收模块的电子装置当前位置的当前位置信息;Receive the satellite signal transmitted by the satellite, and generate the current position information corresponding to the current position of the electronic device equipped with the GPS signal receiving module according to the received satellite signal;

获取电子装置的显示屏幕的分辨率;Acquiring the resolution of the display screen of the electronic device;

以当前位置信息为显示屏幕的中心,建立当前位置信息与显示屏幕间的映射关系;Taking the current location information as the center of the display screen, establishing a mapping relationship between the current location information and the display screen;

根据获取的分辨率及建立的映射关系得到与显示屏幕边缘对应的位置信息组;Obtain the position information group corresponding to the edge of the display screen according to the obtained resolution and the established mapping relationship;

发送当前位置信息及位置信息组给与电子装置建立网络连接的地图服务器;Send the current location information and the location information group to the map server that establishes a network connection with the electronic device;

接收地图服务器根据当前位置信息及位置信息组传送的对应的预设地图数据;receiving the corresponding preset map data sent by the map server according to the current location information and the location information group;

根据接收的地图数据在显示屏幕中显示与显示屏幕相适应的地图。A map suitable for the display screen is displayed on the display screen according to the received map data.

通过上述电子装置及地图显示方法,用户在开启电子装置的导航功能后,电子装置将产生的当前位置信息及与显示屏幕边缘对应的位置信息组发送给与电子装置建立网络连接的专业地图服务器,以从地图服务器中获取与显示屏幕尺寸相适应的地图。如此,用户无需进行存储地图数据到电子装置及定期更新存储地图数据的操作,便可利用电子装置查找到自己的当前位置及周围的地理环境。Through the above electronic device and map display method, after the user turns on the navigation function of the electronic device, the electronic device sends the generated current location information and the location information group corresponding to the edge of the display screen to a professional map server that establishes a network connection with the electronic device, to obtain a map that fits the size of the display screen from the map server. In this way, the user can use the electronic device to find his current location and the surrounding geographical environment without the need of storing map data in the electronic device and regularly updating the stored map data.

附图说明Description of drawings

图1为一较佳实施方式的电子装置的网络架构示意图。FIG. 1 is a schematic diagram of a network architecture of an electronic device in a preferred embodiment.

图2为图1中电子装置的功能模块图。FIG. 2 is a functional block diagram of the electronic device in FIG. 1 .

图3为图2的电子装置中的控制模块的功能模块图。FIG. 3 is a functional block diagram of a control module in the electronic device of FIG. 2 .

图4为另一较佳实施方式的电子装置的控制模块的功能模块图。FIG. 4 is a functional block diagram of a control module of an electronic device in another preferred embodiment.

图5为一较佳实施方式的地图显示方法流程图。Fig. 5 is a flowchart of a map display method in a preferred embodiment.

具体实施方式Detailed ways

如图1所示,其为一较佳实施方式的电子装置30的网络架构示意图。电子装置30通过网络20与地图服务器40相连接。电子装置30接收人造卫星发出的定位信号10,并根据接收的定位信号10产生当前位置信息。电子装置30通过网络20将当前位置信息提供给地图服务器40,并接收地图服务器40根据接收的当前位置信息提供的地图数据。电子装置30根据接收的地图数据显示出地图,以供用户参考。电子装置30可为具有导航功能的手机、个人数字助理、掌上游戏机等。电子装置30及地图服务器40建立的网络连接方式可以为无线方式或有线方式或无线和有线的组合。地图服务器40中存储了各种地图,且可以动态更新地图中的数据。As shown in FIG. 1 , it is a schematic diagram of a network architecture of an electronic device 30 in a preferred embodiment. The electronic device 30 is connected to the map server 40 through the network 20 . The electronic device 30 receives the positioning signal 10 sent by the artificial satellite, and generates current position information according to the received positioning signal 10 . The electronic device 30 provides the current location information to the map server 40 through the network 20, and receives the map data provided by the map server 40 according to the received current location information. The electronic device 30 displays a map according to the received map data for user's reference. The electronic device 30 can be a mobile phone with a navigation function, a personal digital assistant, a handheld game console, and the like. The network connection established by the electronic device 30 and the map server 40 may be wireless, wired, or a combination of wireless and wired. Various maps are stored in the map server 40, and the data in the maps can be updated dynamically.

请同时参看图2,电子装置30包括GPS信号接收模块31、输入模块32、控制模块33、通信模块34及显示屏幕35。Please also refer to FIG. 2 , the electronic device 30 includes a GPS signal receiving module 31 , an input module 32 , a control module 33 , a communication module 34 and a display screen 35 .

该GPS信号接收模块31用于接收人造卫星发出的定位信号10,并根据接收的定位信号10产生当前位置信息,并将当前位置信息提供给控制模块33。其中,当前位置信息是空间直角坐标系中的坐标点,该当前位置信息包括经度值、纬度值和高度值。The GPS signal receiving module 31 is used for receiving positioning signals 10 sent by artificial satellites, and generating current position information according to the received positioning signals 10 , and providing the current position information to the control module 33 . Wherein, the current location information is a coordinate point in a space Cartesian coordinate system, and the current location information includes a longitude value, a latitude value and an altitude value.

该输入模块32用于响应用户的输入操作,并产生相应的输入信息。例如,输入模块32可以为按键、触摸屏等。The input module 32 is used to respond to the user's input operation and generate corresponding input information. For example, the input module 32 may be a button, a touch screen, and the like.

该显示屏幕35用于显示控制模块33提供的数据。例如,显示屏幕35可以为液晶显示屏。The display screen 35 is used to display the data provided by the control module 33 . For example, the display screen 35 may be a liquid crystal display.

该控制模块33用于获取显示屏幕35的分辨率,且以当前位置信息为显示屏幕35的中心建立当前位置信息与显示屏幕间的映射关系,并根据获取的分辨率及建立的映射关系产生与显示屏幕35边缘像素点对应的坐标点相对应的位置信息组,并通过通信模块33将当前位置信息及位置信息组发送给与该电子装置30建立网络连接的地图服务器40。其中,上述建立映射关系的方式为:对空间直角坐标系中的当前位置信息作大地坐标系及高斯坐标系转换后得到平面直角坐标系下的坐标点,将该坐标点与显示屏幕35的中心像素点对应的坐标点相对应。位置信息组包括多个与显示屏幕35的边缘坐标点对应的位置信息。The control module 33 is used to obtain the resolution of the display screen 35, and take the current position information as the center of the display screen 35 to establish a mapping relationship between the current position information and the display screen, and generate and Display the position information group corresponding to the coordinate point corresponding to the edge pixel point of the display screen 35 , and send the current position information and the position information group to the map server 40 which establishes a network connection with the electronic device 30 through the communication module 33 . Wherein, the above-mentioned mode of establishing the mapping relationship is as follows: the current position information in the spatial rectangular coordinate system is transformed into the earth coordinate system and the Gaussian coordinate system to obtain a coordinate point under the plane rectangular coordinate system, and the coordinate point is aligned with the center of the display screen 35 The coordinate points corresponding to the pixel points correspond to each other. The position information group includes a plurality of position information corresponding to edge coordinate points of the display screen 35 .

该控制模块33还用于将通信模块34接收的由地图服务器40根据当前位置信息及位置信息组传送的与显示屏幕35尺寸相适应的地图数据提供给显示屏幕35显示。The control module 33 is also used to provide the map data adapted to the size of the display screen 35 received by the communication module 34 and transmitted by the map server 40 according to the current location information and the location information group to the display screen 35 for display.

请参阅图3,控制模块33包括中央处理器(Central Processing Unit,CPU)330及存储器331。该存储器331用于存储操作系统程序及应用程序。其中,该应用程序中包括分辨率获取程序333、坐标点转换程序334、边缘坐标点生成程序335、及操作系统程序332。运行了操作系统程序332的中央处理器330可以管理及控制电子装置30中的GPS信号接收模块31、输入模块32、通信模块34、存储器331及显示屏幕35。例如,中央处理器240根据输入模块32因响应用户开启电子装置30导航功能的操作而产生的指令,执行该应用程序。Referring to FIG. 3 , the control module 33 includes a central processing unit (Central Processing Unit, CPU) 330 and a memory 331. The memory 331 is used to store operating system programs and application programs. Wherein, the application program includes a resolution acquisition program 333 , a coordinate point conversion program 334 , an edge coordinate point generation program 335 , and an operating system program 332 . The CPU 330 running the operating system program 332 can manage and control the GPS signal receiving module 31 , the input module 32 , the communication module 34 , the memory 331 and the display screen 35 in the electronic device 30 . For example, the central processing unit 240 executes the application program according to an instruction generated by the input module 32 in response to the user's operation of enabling the navigation function of the electronic device 30 .

该中央处理器330在运行该应用程序后产生如下功能单元:The central processing unit 330 generates the following functional units after running the application program:

分辨率获取单元,用于获取显示屏幕35的分辨率;A resolution acquisition unit, configured to acquire the resolution of the display screen 35;

坐标点转换单元,用于建立当前位置信息与显示屏幕35间的映射关系,并根据映射关系将显示屏幕35上的像素点所对应的坐标点转换为与当前位置信息相关的位置信息。The coordinate point conversion unit is used to establish a mapping relationship between the current position information and the display screen 35, and convert the coordinate points corresponding to the pixels on the display screen 35 into position information related to the current position information according to the mapping relationship.

边缘坐标点生成单元,用于根据获取的显示屏幕35的分辨率产生显示屏幕35的边缘像素点所对应的坐标点,并将产生的坐标点提供给坐标点转换单元。The edge coordinate point generating unit is configured to generate coordinate points corresponding to edge pixels of the display screen 35 according to the acquired resolution of the display screen 35, and provide the generated coordinate points to the coordinate point conversion unit.

例如,分辨率获取单元获取的显示屏幕35的分辨率为320x240。坐标点转换单元将当前位置信息转换为平面直角坐标系下的坐标点为(a,b),并将坐标点(a,b)与显示屏幕35中心对应的坐标点(160,120)相对应。边缘坐标点生成单元计算得到与显示屏幕35边缘的一个像素点对应的坐标点,如坐标点(160,240),并将坐标点(160,240)提供给坐标点转换单元。坐标点转换单元将坐标点(160,240)转换为(a,b+120),并将(a,b+120)转换成位置信息。For example, the resolution of the display screen 35 acquired by the resolution acquisition unit is 320x240. The coordinate point conversion unit converts the current position information into the coordinate point under the plane Cartesian coordinate system as (a, b), and the coordinate point (a, b) corresponds to the coordinate point (160, 120) corresponding to the center of the display screen 35 . The edge coordinate point generation unit calculates a coordinate point corresponding to a pixel point on the edge of the display screen 35, such as coordinate point (160, 240), and provides the coordinate point (160, 240) to the coordinate point conversion unit. The coordinate point conversion unit converts the coordinate point (160, 240) into (a, b+120), and converts (a, b+120) into position information.

在本实施方式中,电子装置30要求地图服务器40传送与显示屏幕35的显示尺寸相同的地图,故而不会接收到大于显示屏幕35的显示尺寸的地图,如此,在用户通过GPRS(General Packet Radio Service)网络连接到地图服务器40的情况下,可以降低电子装置30与地图服务器40之间的数据流量。In this embodiment, the electronic device 30 requires the map server 40 to transmit the same map as the display size of the display screen 35, so it will not receive a map larger than the display size of the display screen 35. Service) network connected to the map server 40, the data traffic between the electronic device 30 and the map server 40 can be reduced.

在另一较佳实施方式中,控制模块33还判断由GPS信号接收模块31实时产生的当前位置信息是否超出显示屏幕35当前显示的地图的边界,并在判断出当前位置信息超出当前显示的地图的边界时,重新请求地图服务器40提供相应的地图;控制模块33还响应用户选择显示屏幕35显示的地图上的兴趣点的操作,产生兴趣点位置信息,并通过通信模块34发送兴趣点位置信息及预存的兴趣信息给地图服务器40。该兴趣信息可以为小吃店、公交站台、银行等。地图服务器40根据接收的兴趣点位置信息及兴趣信息提供相应的信息给电子装置30。另外,电子装置30中的输入模块32及显示屏幕35可以由触摸屏代替。In another preferred embodiment, the control module 33 also judges whether the current location information generated in real time by the GPS signal receiving module 31 exceeds the boundary of the map currently displayed on the display screen 35, and when it is judged that the current location information exceeds the currently displayed map When the boundary of the map server 40 is re-requested to provide the corresponding map; the control module 33 also responds to the user's operation of selecting the point of interest on the map displayed on the display screen 35, generates the point of interest position information, and sends the point of interest position information by the communication module 34 And pre-stored interest information to the map server 40. The interest information may be a snack bar, a bus stop, a bank, and the like. The map server 40 provides corresponding information to the electronic device 30 according to the received POI location information and interest information. In addition, the input module 32 and the display screen 35 in the electronic device 30 can be replaced by a touch screen.

请同时参看图4,相应的,在存储器331中存储有兴趣信息、应用程序中还包括兴趣点位置信息生成程序336及越界判断程序337等子程序。该中央处理器330在运行该应用程序后还产生如下功能单元:Please refer to FIG. 4 at the same time. Correspondingly, the interest information is stored in the memory 331 , and the application program also includes subroutines such as the interest point position information generation program 336 and the cross-border judgment program 337 . The central processing unit 330 also produces the following functional units after running the application program:

兴趣点坐标生成单元,用于响应用户选择当前显示的地图上的兴趣点的操作,产生与兴趣点所对应的坐标点,并提供给坐标点转换单元,以利用坐标点转换单元得到兴趣点位置信息。A point of interest coordinate generation unit, used to respond to the user's operation of selecting a point of interest on the currently displayed map, generate a coordinate point corresponding to the point of interest, and provide it to the coordinate point conversion unit, so as to obtain the position of the point of interest by using the coordinate point conversion unit information.

越界判断单元,用于将由GPS信号接收模块31所产生的当前位置信息与位置信息组中的位置信息进行比较,以确定电子装置30的当前位置是否超出显示的当前地图的边界,并在确定电子装置30的当前位置超出当前显示的地图的边界时,调用坐标点转换单元及边缘坐标点生成单元工作。A border-crossing judging unit, used to compare the current position information generated by the GPS signal receiving module 31 with the position information in the position information group, to determine whether the current position of the electronic device 30 exceeds the boundary of the displayed current map, and determine whether the electronic When the current position of the device 30 exceeds the boundary of the currently displayed map, the coordinate point conversion unit and the edge coordinate point generation unit are called to work.

例如,该用户利用手写笔点击触摸屏显示的地图上的一个兴趣点时,控制模块33获取手写笔与触摸屏接触的像素点所对应的坐标点,然后并根据映射关系将该坐标点转换为与当前位置信息相关的兴趣点位置信息;控制模块33还判断GPS信号接收模块31产生的当前位置信息是否超出触摸屏当前显示的地图的边界,在判断出GPS信号接收模块31产生的当前位置信息没有超出地图的边界时,通过通信模块34发送兴趣点位置信息及预存的兴趣信息给地图服务器40。地图服务器40根据接收的兴趣点位置信息及兴趣信息提供相应的信息给电子装置30。For example, when the user clicks a point of interest on the map displayed on the touch screen with a stylus, the control module 33 acquires the coordinate point corresponding to the pixel point that the stylus touches with the touch screen, and then converts the coordinate point into a current map according to the mapping relationship. Point of interest position information related to the position information; the control module 33 also judges whether the current position information produced by the GPS signal receiving module 31 exceeds the boundary of the map currently displayed on the touch screen, and judges that the current position information produced by the GPS signal receiving module 31 does not exceed the map When the boundary of the point of interest is reached, the communication module 34 sends the location information of the point of interest and the pre-stored interest information to the map server 40 . The map server 40 provides corresponding information to the electronic device 30 according to the received POI location information and interest information.

如图5所示,其为一较佳实施方式的地图显示方法的流程图,该方法包括如下步骤:As shown in Figure 5, it is a flowchart of a map display method in a preferred embodiment, the method includes the following steps:

步骤S601,接收卫星发射的卫星信号,根据接收的卫星信号产生反应设置有GPS信号接收模块的电子装置当前位置的当前位置信息。其中,当前位置信息是空间直角坐标系中的坐标点,该当前位置信息包括经度值、纬度值和高度值。Step S601, receiving a satellite signal transmitted by a satellite, and generating current location information reflecting the current location of an electronic device equipped with a GPS signal receiving module according to the received satellite signal. Wherein, the current location information is a coordinate point in a space Cartesian coordinate system, and the current location information includes a longitude value, a latitude value and an altitude value.

步骤S602,获取电子装置的显示屏幕的分辨率。Step S602, acquiring the resolution of the display screen of the electronic device.

步骤S603,以当前位置信息为显示屏幕的中心,建立当前位置信息与显示屏幕间的映射关系。上述建立映射关系的方式为:对空间直角坐标系中的当前位置信息作大地坐标系及高斯坐标系转换后得到平面直角坐标系下的坐标点,将该坐标点与显示屏幕的中心像素点对应的坐标点相对应。Step S603, taking the current location information as the center of the display screen, and establishing a mapping relationship between the current location information and the display screen. The above method of establishing the mapping relationship is as follows: convert the current position information in the spatial rectangular coordinate system into the earth coordinate system and the Gaussian coordinate system to obtain a coordinate point in the plane rectangular coordinate system, and correspond the coordinate point to the central pixel point of the display screen correspond to the coordinate points.

步骤S605,根据获取的分辨率及建立的映射关系得到与显示屏幕边缘对应的位置信息组。Step S605, according to the obtained resolution and the established mapping relationship, the position information group corresponding to the edge of the display screen is obtained.

步骤S607,发送当前位置信息及位置信息组给与电子装置建立网络连接的地图服务器。Step S607, sending the current location information and the location information group to the map server establishing network connection with the electronic device.

步骤S609,接收地图服务器根据当前位置信息及位置信息组传送的对应的预设地图数据。Step S609, receiving corresponding preset map data transmitted by the map server according to the current location information and the location information group.

步骤S611,根据接收的地图数据在显示屏幕中显示与显示屏幕相适应的地图。Step S611, displaying a map suitable for the display screen on the display screen according to the received map data.

在其他实施方式中,该地图显示方法还包括以下步骤:In other embodiments, the map display method also includes the following steps:

判断由GPS信号接收模块实时产生的当前位置信息是否超出显示屏幕显示的当前地图的边界;Judging whether the current position information generated in real time by the GPS signal receiving module exceeds the boundary of the current map displayed on the display screen;

在判断出当前位置信息超出当前显示屏幕显示的地图的边界时,重新请求地图服务器提供相应的地图。When it is determined that the current location information exceeds the boundary of the map currently displayed on the display screen, the map server is re-requested to provide the corresponding map.

在其他实施方式中,也可以通过判断当前位置信息是否偏离显示屏幕的中心点方式,来更新显示屏幕中显示的地图。In other embodiments, the map displayed on the display screen may also be updated by judging whether the current location information deviates from the center point of the display screen.

通过上述电子装置及地图显示方法,用户在开启电子装置的导航功能后,电子装置将产生的当前位置信息及与显示屏幕边缘对应的位置信息组发送给与电子装置建立网络连接的专业地图服务器,以从地图服务器中获取与显示屏幕尺寸相适应的地图。如此,用户无需进行存储地图数据到电子装置及定期更新存储地图数据的操作,便可利用电子装置查找到自己的当前位置及周围的地理环境。Through the above electronic device and map display method, after the user turns on the navigation function of the electronic device, the electronic device sends the generated current location information and the location information group corresponding to the edge of the display screen to a professional map server that establishes a network connection with the electronic device, to obtain a map that fits the size of the display screen from the map server. In this way, the user can use the electronic device to find his current location and the surrounding geographical environment without the need of storing map data in the electronic device and regularly updating the stored map data.

Claims (9)

1.一种电子装置,用于连接地图服务器,该电子装置包括GPS信号接收模块、控制模块、通信模块及显示屏幕,GPS信号接收模块用于接收人造卫星发出的定位信号,并根据接收的定位信号产生电子装置的当前位置信息,其特征在于:该控制模块用于获取显示屏幕的分辨率,且以当前位置信息为显示屏幕的中心建立当前位置信息与显示屏幕间的映射关系,并根据获取的分辨率及建立的映射关系产生与显示屏幕边缘像素点对应的坐标点相对应的位置信息组,并通过通信模块将当前位置信息及位置信息组发送给该地图服务器,该控制模块还用于将通信模块接收的由地图服务器根据当前位置信息及位置信息组传送的与显示屏幕尺寸相适应的地图数据提供给显示屏幕显示。1. An electronic device is used to connect to a map server. The electronic device includes a GPS signal receiving module, a control module, a communication module and a display screen. The GPS signal receiving module is used to receive positioning signals sent by artificial satellites, and according to the received positioning The current location information of the signal generating electronic device is characterized in that: the control module is used to obtain the resolution of the display screen, and the current location information is used as the center of the display screen to establish a mapping relationship between the current location information and the display screen, and according to the acquired The resolution and the established mapping relationship generate the position information group corresponding to the coordinate point corresponding to the pixel point on the edge of the display screen, and send the current position information and the position information group to the map server through the communication module, and the control module is also used for The map data received by the communication module and transmitted by the map server according to the current location information and the location information group and adapted to the size of the display screen is provided to the display screen for display. 2.如权利要求1所述的电子装置,其特征在于:建立映射关系的方式为:将当前位置信息转换到直角坐标系下的坐标点,将该坐标点与显示屏幕的中心像素点对应的坐标点相对应。2. The electronic device according to claim 1, characterized in that: the way of establishing the mapping relationship is: converting the current position information to a coordinate point in the Cartesian coordinate system, and corresponding the coordinate point to the central pixel point of the display screen corresponding to the coordinate points. 3.如权利要求2所述的电子装置,其特征在于:控制模块还用于实时判断由GPS信号接收模块实时产生的当前位置信息是否超出显示屏幕当前显示的地图的边界,并在判断出当前位置信息超出当前显示的地图的边界时,重新请求地图服务器提供相应的地图。3. The electronic device according to claim 2, wherein the control module is also used for judging in real time whether the current location information generated by the GPS signal receiving module in real time exceeds the boundary of the map currently displayed on the display screen, and when judging the current When the location information exceeds the boundary of the currently displayed map, re-request the map server to provide the corresponding map. 4.如权利要求3所述的电子装置,其特征在于:控制模块还用于响应用户选择显示的当前地图上的兴趣点的操作,产生兴趣点位置信息,并通过通信模块发送兴趣点位置信息及预存的兴趣信息给地图服务器。4. The electronic device according to claim 3, wherein the control module is further configured to respond to the user's operation of selecting and displaying a point of interest on the current map to generate position information of the point of interest, and send the position information of the point of interest through the communication module and pre-stored interest information to the map server. 5.如权利要求4所述的电子装置,其特征在于:该显示屏幕为触摸屏。5. The electronic device as claimed in claim 4, wherein the display screen is a touch screen. 6.如权利要求4所述的电子装置,其特征在于:该控制模块包括中央处理器及存储器,存储器用于存储一应用程序,中央处理器在运行该应用程序后产生如下功能单元:6. The electronic device according to claim 4, wherein the control module comprises a central processing unit and a memory, the memory is used to store an application program, and the central processing unit generates the following functional units after running the application program: 分辨率获取单元,用于获取显示屏幕的分辨率;a resolution acquisition unit, configured to acquire the resolution of the display screen; 坐标点转换单元,用于建立当前位置信息与显示屏幕间的映射关系,并根据映射关系将显示屏幕上的像素点所对应的坐标点转换为与当前位置信息相关的位置信息;The coordinate point conversion unit is used to establish a mapping relationship between the current position information and the display screen, and convert the coordinate points corresponding to the pixels on the display screen into position information related to the current position information according to the mapping relationship; 边缘坐标点生成单元,用于根据获取的显示屏幕的分辨率产生显示屏幕的边缘像素点所对应的坐标点,并将产生的坐标点提供给坐标点转换单元;An edge coordinate point generating unit, configured to generate coordinate points corresponding to edge pixels of the display screen according to the acquired resolution of the display screen, and provide the generated coordinate points to the coordinate point conversion unit; 越界判断单元,用于将由GPS信号接收模块31所产生的当前位置信息与位置信息组中的位置信息进行比较,以确定电子装置30的当前位置是否超出显示的当前地图的边界,并在确定电子装置30的当前位置超出当前显示的地图的边界时,调用坐标点转换单元及边缘坐标点生成单元工作;A border-crossing judging unit, used to compare the current position information generated by the GPS signal receiving module 31 with the position information in the position information group, to determine whether the current position of the electronic device 30 exceeds the boundary of the displayed current map, and determine whether the electronic When the current position of the device 30 exceeds the boundary of the currently displayed map, the coordinate point conversion unit and the edge coordinate point generation unit are called to work; 兴趣点坐标生成单元,用于响应用户选择显示屏幕显示的当前地图上的兴趣点的操作,产生与兴趣点所对应的坐标点,并提供给坐标点转换单元,以利用坐标点转换单元得到兴趣点位置信息。A point of interest coordinate generation unit, used to respond to the user's operation of selecting a point of interest on the current map displayed on the display screen, generate a coordinate point corresponding to the point of interest, and provide it to the coordinate point conversion unit, so as to use the coordinate point conversion unit to obtain the point of interest Click Location Information. 7.一种地图显示方法,包括如下步骤:7. A method for displaying a map, comprising the steps of: 接收卫星发射的卫星信号,根据接收的卫星信号产生反应设置有GPS信号接收模块的电子装置当前位置的当前位置信息;Receive the satellite signal transmitted by the satellite, and generate the current position information corresponding to the current position of the electronic device equipped with the GPS signal receiving module according to the received satellite signal; 获取电子装置的显示屏幕的分辨率;Acquiring the resolution of the display screen of the electronic device; 以当前位置信息为显示屏幕的中心,建立当前位置信息与显示屏幕间的映射关系;Taking the current location information as the center of the display screen, establishing a mapping relationship between the current location information and the display screen; 根据获取的分辨率及建立的映射关系得到与显示屏幕边缘对应的位置信息组;Obtain the position information group corresponding to the edge of the display screen according to the obtained resolution and the established mapping relationship; 发送当前位置信息及位置信息组给与电子装置建立网络连接的地图服务器;Send the current location information and the location information group to the map server that establishes a network connection with the electronic device; 接收地图服务器根据当前位置信息及位置信息组传送的对应的预设地图数据;receiving the corresponding preset map data sent by the map server according to the current location information and the location information group; 根据接收的地图数据在显示屏幕中显示与显示屏幕相适应的地图。A map suitable for the display screen is displayed on the display screen according to the received map data. 8.如权利要求7所述的地图显示方法,其特征在于:该方法还包括以下步骤:8. The map display method according to claim 7, characterized in that: the method further comprises the following steps: 判断由GPS信号接收模块实时产生的当前位置信息是否超出显示屏幕当前显示的地图的边界;Judging whether the current position information generated in real time by the GPS signal receiving module exceeds the boundary of the map currently displayed on the display screen; 在判断出当前位置信息超出显示屏幕当前显示的地图的边界时,重新请求地图服务器提供相应的地图。When it is determined that the current location information exceeds the boundary of the map currently displayed on the display screen, the map server is re-requested to provide the corresponding map. 9.如权利要求7所述的地图显示方法,其特征在于:建立映射关系的方式为:将当前位置信息转换到直角坐标系下的坐标点,将该坐标点与显示屏幕的中心像素点对应的坐标点相对应。9. The map display method according to claim 7, characterized in that: the way of establishing the mapping relationship is: converting the current position information to a coordinate point under the Cartesian coordinate system, and corresponding the coordinate point to the central pixel point of the display screen correspond to the coordinate points.
CN200910306901A 2009-09-11 2009-09-11 Electronic device and map display method Expired - Fee Related CN102023289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910306901A CN102023289B (en) 2009-09-11 2009-09-11 Electronic device and map display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910306901A CN102023289B (en) 2009-09-11 2009-09-11 Electronic device and map display method

Publications (2)

Publication Number Publication Date
CN102023289A true CN102023289A (en) 2011-04-20
CN102023289B CN102023289B (en) 2012-10-10

Family

ID=43864823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910306901A Expired - Fee Related CN102023289B (en) 2009-09-11 2009-09-11 Electronic device and map display method

Country Status (1)

Country Link
CN (1) CN102023289B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395104A (en) * 2011-10-25 2012-03-28 桂林理工大学 Method for regulating map scale automatically and dynamically for mobile terminal
CN103344974A (en) * 2013-06-19 2013-10-09 上海旅游网旅行服务有限公司 Method and system for locating through scenic region guide map
CN104065708A (en) * 2014-06-13 2014-09-24 可牛网络技术(北京)有限公司 Map display method and relevant device
CN104613967A (en) * 2015-01-23 2015-05-13 中国民航大学 Chart management method for portable airborne navigation system
CN105021181A (en) * 2014-04-28 2015-11-04 高德信息技术有限公司 Method and device for determining electronic map drawing area and navigation device
CN105074495A (en) * 2013-03-06 2015-11-18 高通股份有限公司 Adaptive assistance data for tiered service and efficiency in indoor positioning
CN106705973A (en) * 2016-12-22 2017-05-24 深圳市智汇机器人科技有限公司 Indoor navigation turning calculating method and system
CN109686226A (en) * 2019-01-03 2019-04-26 淮南矿业(集团)有限责任公司 A kind of update method and device of topographical map of mining area
CN109760066A (en) * 2018-11-30 2019-05-17 南京熊猫电子股份有限公司 A kind of service robot Orientation on map scaling method
CN110690591A (en) * 2019-10-12 2020-01-14 广东电网有限责任公司 Grounding rod positioning management system for transformer substation

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395104A (en) * 2011-10-25 2012-03-28 桂林理工大学 Method for regulating map scale automatically and dynamically for mobile terminal
CN107462866A (en) * 2013-03-06 2017-12-12 高通股份有限公司 For the hierarchical service in indoor positioning and the adaptive assistance data of efficiency
CN105074495A (en) * 2013-03-06 2015-11-18 高通股份有限公司 Adaptive assistance data for tiered service and efficiency in indoor positioning
CN107462866B (en) * 2013-03-06 2020-07-31 高通股份有限公司 Adaptive assistance data for layered services and efficiency in indoor positioning
CN103344974A (en) * 2013-06-19 2013-10-09 上海旅游网旅行服务有限公司 Method and system for locating through scenic region guide map
CN105021181A (en) * 2014-04-28 2015-11-04 高德信息技术有限公司 Method and device for determining electronic map drawing area and navigation device
CN105021181B (en) * 2014-04-28 2018-03-30 高德信息技术有限公司 A kind of drawing electronic map area determination method, device and navigation equipment
CN104065708A (en) * 2014-06-13 2014-09-24 可牛网络技术(北京)有限公司 Map display method and relevant device
CN104613967A (en) * 2015-01-23 2015-05-13 中国民航大学 Chart management method for portable airborne navigation system
CN104613967B (en) * 2015-01-23 2017-03-29 中国民航大学 The chart management method of portable airborne navigation system
CN106705973A (en) * 2016-12-22 2017-05-24 深圳市智汇机器人科技有限公司 Indoor navigation turning calculating method and system
CN109760066A (en) * 2018-11-30 2019-05-17 南京熊猫电子股份有限公司 A kind of service robot Orientation on map scaling method
CN109760066B (en) * 2018-11-30 2021-02-26 南京熊猫电子股份有限公司 Service robot map positioning and calibrating method
CN109686226A (en) * 2019-01-03 2019-04-26 淮南矿业(集团)有限责任公司 A kind of update method and device of topographical map of mining area
CN110690591A (en) * 2019-10-12 2020-01-14 广东电网有限责任公司 Grounding rod positioning management system for transformer substation

Also Published As

Publication number Publication date
CN102023289B (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN102023289A (en) Electronic device and map display method
US8169505B2 (en) Image management apparatus for displaying images based on geographical environment
JP5250902B2 (en) Network system, mobile communication terminal, and communication method
US9074898B2 (en) Apparatus and method for providing position information service
JP5009022B2 (en) Portable terminal device, its advanced measurement method, its measurement program, and recording medium storing the measurement program
TWI374255B (en) Method and system for synchronizing mark on electronic map and computer program product using the same
JP2017146749A (en) Control program, control method, and computer
JP6684226B2 (en) Location error radius judgment
US20150002539A1 (en) Methods and apparatuses for displaying perspective street view map
EP2290322A1 (en) Method and Device for Generating and Communicating Geographic Route Information between Wireless Communication Devices
CN109191373A (en) Navigation coordinate converts gauss projection and sits calibration method, system, equipment and medium
US8463299B1 (en) Displaying a digital version of a paper map and a location of a mobile device on the digital version of the map
JPH10197277A (en) Direction indicating device, direction indicating method, road guidance system, and road guidance method
KR100879663B1 (en) Video call service system of mobile communication terminal and method thereof
US8326528B2 (en) Showing realistic horizons on mobile computing devices
CN102455186A (en) Mobile tourism navigation and guidance device and navigation and guidance method
CN106997052B (en) Position information processing method and device and computer equipment
KR20100083234A (en) Apparatus and method for providing map information via short message service in a mobile terminal
TWI415041B (en) Electronic apparatus and method for displaying map
WO2014206076A1 (en) Methods and apparatuses for displaying perspective street view map
CN102565829A (en) External mobile tourism navigation and navigation device and navigation method thereof
KR20110067902A (en) Mobile communication terminal with area measurement function
KR101072181B1 (en) Vehicle navigation system and method using mobile terminal equipped gps
CN201156355Y (en) An electronic map system that can provide real-time information
US20100145613A1 (en) Apparatus for generating location information based on web map and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121010

Termination date: 20150911

EXPY Termination of patent right or utility model