TWI415041B - Electronic apparatus and method for displaying map - Google Patents

Electronic apparatus and method for displaying map Download PDF

Info

Publication number
TWI415041B
TWI415041B TW98133058A TW98133058A TWI415041B TW I415041 B TWI415041 B TW I415041B TW 98133058 A TW98133058 A TW 98133058A TW 98133058 A TW98133058 A TW 98133058A TW I415041 B TWI415041 B TW I415041B
Authority
TW
Taiwan
Prior art keywords
location information
map
display screen
electronic device
current location
Prior art date
Application number
TW98133058A
Other languages
Chinese (zh)
Other versions
TW201112191A (en
Inventor
Hung Yen
Te Hua Lee
Wei Te Lin
Che Chen
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98133058A priority Critical patent/TWI415041B/en
Publication of TW201112191A publication Critical patent/TW201112191A/en
Application granted granted Critical
Publication of TWI415041B publication Critical patent/TWI415041B/en

Links

Landscapes

  • Navigation (AREA)
  • Instructional Devices (AREA)

Abstract

A method for displaying a map includes following steps: receiving satellite signals from satellites, and generating current location information of an electronic apparatus, which receives the satellite signals, according to the satellite signals; obtaining resolution of a display of the electronic apparatus; establishing a mapping relation between the display and the current location information based on the current location information as the center of the display; generating a set of location information corresponding to the edges of the display according to the resolution and the mapping relation; transmitting the set of location information and the current location information to the a map server communicating with the electronic apparatus; receiving a predetermined map information transmitted by the map server base on the set of location information and the current location information; and displaying a map adapted to a size of the display on the display according to the predetermined map information. Moreover, a related electronic apparatus having navigation function is provided.

Description

電子裝置及地圖顯示方法 Electronic device and map display method

本發明涉及導航領域,特別涉及一種電子裝置及地圖顯示方法。 The present invention relates to the field of navigation, and in particular, to an electronic device and a map display method.

全球定位系統(Global Positioning System,簡稱GPS)已廣泛應用於作為個人導航設備的移動電子裝置。根據現有的方法:移動電子裝置預先存儲資料量很大的地圖,在啟動移動電子裝置的導航功能後,移動電子裝置接收來自GPS衛星的訊號並且藉由處理所接收的訊號來產生用於反應移動電子裝置當前位置的當前位置資訊,接著根據產生的當前位置資訊從預存的地圖中選擇對應的地圖顯示,並在顯示的地圖中標示出移動電子裝置的當前位置。 The Global Positioning System (GPS) has been widely used as a mobile electronic device as a personal navigation device. According to the existing method, the mobile electronic device pre-stores a map with a large amount of data, and after starting the navigation function of the mobile electronic device, the mobile electronic device receives the signal from the GPS satellite and generates a reaction for moving by processing the received signal. The current location information of the current location of the electronic device is then selected from the pre-stored map according to the generated current location information, and the current location of the mobile electronic device is indicated in the displayed map.

然而,由於預先存儲在移動電子裝置中的地圖資料量比較龐大(資料量在1G以上),佔用了移動電子裝置的存儲空間,致使移動電子裝置的存儲空間變得不足,移動電子裝置無法及時回應用戶的操作;另外,用戶需要花費時間來更新存儲在移動電子裝置中的地圖,以保證地圖中地理資訊的完整性。如此,給用戶帶來了使用上的不便。 However, since the amount of map data stored in advance in the mobile electronic device is relatively large (the amount of data is above 1 G), the storage space of the mobile electronic device is occupied, so that the storage space of the mobile electronic device becomes insufficient, and the mobile electronic device cannot respond in time. User's operation; in addition, the user needs to spend time updating the map stored in the mobile electronic device to ensure the integrity of the geographic information in the map. In this way, the user is inconvenienced in use.

鑒於此,有必要提供一種方便用戶使用的具有導航功能的電子裝置。 In view of this, it is necessary to provide an electronic device with navigation function that is convenient for the user.

還有必要提供一種地圖顯示方法。 It is also necessary to provide a map display method.

一種電子裝置,用於連接地圖伺服器,該電子裝置包括GPS訊號接收模組、控制模組、通信模組及顯示幕,GPS訊號接收模組用於接收人造衛星發出的定位訊號,並根據接收的定位訊號產生電子裝置的當前位置資訊。該控制模組用於獲取顯示幕的解析度,且以當前位置資訊為顯示幕的中心建立當前位置資訊與顯示幕間的映射關係,並根據獲取的解析度及建立的映射關係產生與顯示幕邊緣像素點對應的座標點相對應的位置資訊組,並藉由通信模組將當前位置資訊及位置資訊組發送給與該電子裝置建立網路連接的地圖伺服器。該控制模組還用於將通信模組接收的由地圖伺服器根據當前位置資訊及位置資訊組傳送的與顯示幕尺寸相適應的地圖資料提供給顯示幕顯示。 An electronic device is configured 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, and the GPS signal receiving module is configured to receive a positioning signal sent by the artificial satellite, and receive the positioning signal according to the receiving The positioning signal generates current location information of the electronic device. The control module is configured to obtain the resolution of the display screen, and establish a mapping relationship between the current location information and the display screen by using the current location information as the center of the display screen, and generate and display the edge of the screen according to the acquired resolution and the established mapping relationship. The location information group corresponding to the coordinate point corresponding to the pixel point, and the current location information and the location information group are sent by the communication module to the map server that establishes a network connection with the electronic device. The control module is further configured to provide the map data that is received by the communication module and adapted by the map server according to the current location information and the location information group to the display screen size, to the display screen display.

一種地圖顯示方法,包括如下步驟:接收衛星發射的衛星訊號,根據接收的衛星訊號產生反應設置有GPS訊號接收模組的電子裝置當前位置的當前位置資訊;獲取電子裝置的顯示幕的解析度;以當前位置資訊為顯示幕的中心,建立當前位置資訊與顯示 幕間的映射關係;根據獲取的解析度及建立的映射關係得到與顯示幕邊緣對應的位置資訊組;發送當前位置資訊及位置資訊組給與電子裝置建立網路連接的地圖伺服器;接收地圖伺服器根據當前位置資訊及位置資訊組傳送的對應的預設地圖資料;根據接收的地圖資料在顯示幕中顯示與顯示幕相適應的地圖。 A map display method includes the steps of: receiving a satellite signal transmitted by a satellite, generating a current position information of a current position of an electronic device configured with a GPS signal receiving module according to the received satellite signal; and acquiring a resolution of the display screen of the electronic device; Establish current location information and display with the current location information as the center of the display The mapping relationship between the screens; obtaining the location information group corresponding to the edge of the display screen according to the obtained resolution and the established mapping relationship; sending the current location information and the location information group to the map server establishing the network connection with the electronic device; receiving the map servo Corresponding preset map data transmitted by the current location information and the location information group; displaying a map adapted to the display screen in the display screen according to the received map data.

藉由上述電子裝置及地圖顯示方法,用戶在開啟電子裝置的導航功能後,電子裝置將產生的當前位置資訊及與顯示幕邊緣對應的位置資訊組發送給與電子裝置建立網路連接的專業地圖伺服器,以從地圖伺服器中獲取與顯示幕尺寸相適應的地圖。如此,用戶無需進行存儲地圖資料到電子裝置及定期更新存儲地圖資料的操作,便可利用電子裝置查找到自己的當前位置及周圍的地理環境。 According to the electronic device and the 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 the professional map that establishes a network connection with the electronic device. The server obtains a map that matches the size of the display screen from the map server. In this way, the user does not need to store the map data to the electronic device and periodically update the stored map data, and the electronic device can be used to find the current location and the surrounding geographical environment.

20‧‧‧網路 20‧‧‧Network

30‧‧‧電子裝置 30‧‧‧Electronic devices

31‧‧‧GPS訊號接收模組 31‧‧‧GPS signal receiving module

32‧‧‧輸入模組 32‧‧‧Input module

33‧‧‧控制模組 33‧‧‧Control Module

34‧‧‧通信模組 34‧‧‧Communication Module

35‧‧‧顯示幕 35‧‧‧ display screen

330‧‧‧中央處理器 330‧‧‧Central Processing Unit

331‧‧‧記憶體 331‧‧‧ memory

333‧‧‧解析度獲取程式 333‧‧‧resolution acquisition program

334‧‧‧座標點轉換程式 334‧‧‧ punctuation conversion program

335‧‧‧邊緣座標點生成程式 335‧‧‧Edge coordinate point generator

332‧‧‧作業系統程式 332‧‧‧ operating system program

336‧‧‧興趣點位置資訊生成程式 336‧‧‧Point of Interest Location Information Generator

337‧‧‧越界判斷程式 337‧‧‧ Cross-border judgment program

40‧‧‧地圖伺服器 40‧‧‧Map Server

S601~S611‧‧‧地圖顯示方法流程 S601~S611‧‧‧Map display method flow

圖1為一較佳實施方式的電子裝置的網路架構示意圖。 FIG. 1 is a schematic diagram of a network architecture of an electronic device according to a preferred embodiment.

圖2為圖1中電子裝置的功能模組圖。 2 is a functional block diagram of the electronic device of FIG. 1.

圖3為圖2的電子裝置中的控制模組的功能模組圖。 3 is a functional block diagram of a control module in the electronic device of FIG. 2.

圖4為另一較佳實施方式的電子裝置的控制模組的功能模組 圖。 4 is a functional module of a control module of an electronic device according to another preferred embodiment Figure.

圖5為一較佳實施方式的地圖顯示方法流程圖。 FIG. 5 is a flow chart of a map display method according to a preferred embodiment.

如圖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 according to a preferred embodiment. The electronic device 30 is connected to the map server 40 via 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 via 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 the map according to the received map data for the user's reference. The electronic device 30 can be a mobile phone with 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 or wired or a combination of wireless and wired. The map server 40 stores various maps and can dynamically update the materials in the map.

請同時參看圖2,電子裝置30包括GPS訊號接收模組31、輸入模組32、控制模組33、通信模組34及顯示幕35。 Referring to FIG. 2 simultaneously, 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 configured to receive the positioning signal 10 sent by the artificial satellite, generate the current position information according to the received positioning signal 10, and provide the current position information to the control module 33. The current location information is a coordinate point in a space rectangular coordinate system, and the current location information includes a longitude value, a latitude value, and a height value.

該輸入模組32用於回應用戶的輸入操作,並產生相應的輸入 資訊。例如,輸入模組32可以為按鍵、觸摸屏等。 The input module 32 is configured to respond to a user input operation and generate a corresponding input. News. For example, the input module 32 can be a button, a touch screen, or 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 can be a liquid crystal display.

該控制模組33用於獲取顯示幕35的解析度,且以當前位置資訊為顯示幕35的中心建立當前位置資訊與顯示幕間的映射關係,並根據獲取的解析度及建立的映射關係產生與顯示幕35邊緣像素點對應的座標點相對應的位置資訊組,並藉由通信模組34將當前位置資訊及位置資訊組發送給與該電子裝置30建立網路連接的地圖伺服器40。其中,上述建立映射關係的方式為:對空間直角坐標系中的當前位置資訊作大地坐標系及高斯坐標系轉換後得到平面直角坐標系下的座標點,將該座標點與顯示幕35的中心像素點對應的座標點相對應。位置資訊組包括多個與顯示幕35的邊緣座標點對應的位置資訊。 The control module 33 is configured to obtain the resolution of the display screen 35, and establish a mapping relationship between the current location information and the display screen by using the current location information as the center of the display screen 35, and generate and match according to the acquired resolution and the established mapping relationship. The location information group corresponding to the coordinate point corresponding to the edge pixel of the screen 35 is displayed, and the current location information and the location information group are transmitted by the communication module 34 to the map server 40 that establishes a network connection with the electronic device 30. The manner of establishing the mapping relationship is as follows: the coordinate information of the geodetic coordinate system and the Gaussian coordinate system of the current position information in the space rectangular coordinate system is obtained, and the coordinate point in the plane rectangular coordinate system is obtained, and the coordinate point and the center of the display screen 35 are obtained. Corresponding coordinate points corresponding to pixels. The location information group includes a plurality of location information corresponding to edge coordinate points of the display screen 35.

該控制模組33還用於將通信模組34接收的由地圖伺服器40根據當前位置資訊及位置資訊組傳送的與顯示幕35尺寸相適應的地圖資料提供給顯示幕35顯示。 The control module 33 is further configured to provide the map data corresponding to the size of the display screen 35 transmitted by the map server 40 according to the current location information and the location information group received by the communication module 34 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 (CPU) 330 and a memory 331. The memory 331 is used to store operating system programs and applications. The application 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 central processing unit 330 running the operating system program 332 can manage and control the GPS signal reception in the electronic device 30. The module 31, the input module 32, the communication module 34, the memory 331 and the display screen 35. For example, the central processing unit 240 executes the application according to an instruction generated by the input module 32 in response to the user's operation to turn on the navigation function of the electronic device 30.

該中央處理器330在運行該應用程式後產生如下功能單元:解析度獲取單元,用於獲取顯示幕35的解析度;座標點轉換單元,用於建立當前位置資訊與顯示幕35間的映射關係,並根據映射關係將顯示幕35上的像素點所對應的座標點轉換為與當前位置資訊相關的位置資訊。 After running the application, the central processing unit 330 generates the following functional unit: a resolution acquiring unit for acquiring the resolution of the display screen 35; and a coordinate point conversion unit for establishing a mapping relationship between the current position information and the display screen 35. And converting the coordinate points corresponding to the pixel points on the display screen 35 to the 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 a coordinate point corresponding to the edge pixel of the display screen 35 according to the obtained resolution of the display screen 35, and provide the generated coordinate point 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 320×240. The coordinate point conversion unit converts the current position information into a coordinate point in the plane rectangular coordinate system (a, b), and corresponds the coordinate point (a, b) to the coordinate point (160, 120) corresponding to the center of the display screen 35. . The edge coordinate point generating unit calculates a coordinate point corresponding to one pixel point at the edge of the display screen 35, such as a coordinate point (160, 240), and supplies the coordinate point (160, 240) to the coordinate point conversion unit. The coordinate point conversion unit converts the coordinate points (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 the present embodiment, the electronic device 30 requests the map server 40 to transmit a map having the same display size as the display screen 35, so that a map larger than the display size of the display screen 35 is not received, and thus, the user uses GPRS (General). In the case where the packet radio service is connected to the map server 40, the amount of data flow 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 further determines whether the current location information generated by the GPS signal receiving module 31 exceeds the boundary of the map currently displayed on the display screen 35, and determines that the current location information exceeds the current display. At the boundary of the map, the map server 40 is re-requested to provide a 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 to generate the location information of the point of interest, and by means of the communication module 34 sends the point of interest location information and the pre-stored interest information to the map server 40. The interest information can be a snack bar, a bus platform, a bank, and the like. The map server 40 provides corresponding information to the electronic device 30 based on the received point of interest 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在運行該應用程式後還產生如下功能單元: Referring to FIG. 4 at the same time, correspondingly, the memory 331 stores the interest information, and the application program includes a sub-program such as the point of interest location information generating program 336 and the out-of-bounds determining program 337. The central processor 330 also generates the following functional units after running the application:

興趣點座標生成單元,用於回應用戶選擇當前顯示的地圖上的興趣點的操作,產生與興趣點所對應的座標點,並提供給座標點轉換單元,以利用座標點轉換單元得到興趣點位置資訊。 a point of interest coordinate generating unit, configured to respond to a user selecting an interest point on the currently displayed map, generating a coordinate point corresponding to the point of interest, and providing the coordinate point conversion unit to obtain the point of interest position by using the coordinate point conversion unit News.

越界判斷單元,用於將由GPS訊號接收模組31所產生的當前位置資訊與位置資訊組中的位置資訊進行比較,以確定電子裝置30的當前位置是否超出顯示的當前地圖的邊界,並在確定電子裝置30的當前位置超出當前顯示的地圖的邊界時,調用座標點轉換單元及邊緣座標點生成單元工作。 The out-of-bounds determining unit is configured to compare the current location information generated by the GPS signal receiving module 31 with the location information in the location information group to determine whether the current location of the electronic device 30 exceeds the boundary of the displayed current map, and is determined When the current position of the electronic 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 operate.

例如,該用戶利用手寫筆點擊觸摸屏顯示的地圖上的一個興趣點時,控制模組33獲取手寫筆與觸摸屏接觸的像素點所對應的座標點,然後並根據映射關係將該座標點轉換為與當前位置資訊相關的興趣點位置資訊;控制模組33還判斷GPS訊號接收模組31產生的當前位置資訊是否超出觸摸屏當前顯示的地圖的邊界,在判斷出GPS訊號接收模組31產生的當前位置資訊沒有超出地圖的邊界時,藉由通信模組34發送興趣點位置資訊及預存的興趣資訊給地圖伺服器40。地圖伺服器40根據接收的興趣點位置資訊及興趣資訊提供相應的資訊給電子裝置30。 For example, when the user clicks on a point of interest on the map displayed by the touch screen by using the stylus, the control module 33 acquires the coordinate point corresponding to the pixel point touched by the stylus and the touch screen, and then converts the coordinate point into and according to the mapping relationship. The location information related to the location information of the current location information; the control module 33 further determines whether the current location information generated by the GPS signal receiving module 31 exceeds the boundary of the map currently displayed on the touch screen, and determines the current location generated by the GPS signal receiving module 31. When the information does not exceed the boundary of the map, the communication node 34 transmits the point of interest location information and the pre-stored interest information to the map server 40. The map server 40 provides corresponding information to the electronic device 30 based on the received point of interest location information and interest information.

如圖5所示,其為一較佳實施方式的地圖顯示方法的流程圖,該方法包括如下步驟: As shown in FIG. 5, it is a flowchart of a map display method according to a preferred embodiment, and the method includes the following steps:

步驟S601,接收衛星發射的衛星訊號,根據接收的衛星訊號產生反應設置有GPS訊號接收模組的電子裝置當前位置的當前位置資訊。其中,當前位置資訊是空間直角坐標系中的座標點,該當前位置資訊包括經度值、緯度值和高度值。 Step S601, receiving a satellite signal transmitted by the satellite, and generating, according to the received satellite signal, current position information of a current location of the electronic device configured with the GPS signal receiving module. The current location information is a coordinate point in a space rectangular coordinate system, and the current location information includes a longitude value, a latitude value, and a height value.

步驟S602,獲取電子裝置的顯示幕的解析度。 Step S602, obtaining the resolution of the display screen of the electronic device.

步驟S603,以當前位置資訊為顯示幕的中心,建立當前位置資訊與顯示幕間的映射關係。上述建立映射關係的方式為:對空間直角坐標系中的當前位置資訊作大地坐標系及高斯坐標系轉換後得到平面直角坐標系下的座標點,將該座標點與顯示幕的中心像素點對應的座標點相對應。 In step S603, the current location information is used as the center of the display screen, and the mapping relationship between the current location information and the display screen is established. The manner of establishing the mapping relationship is as follows: the coordinate information of the geodetic coordinate system and the Gaussian coordinate system of the current position information in the space rectangular coordinate system is converted to obtain a coordinate point in the plane rectangular coordinate system, and the coordinate point corresponds to the central pixel of the display screen. The coordinate points correspond to each other.

步驟S605,根據獲取的解析度及建立的映射關係得到與顯示幕邊緣對應的位置資訊組。 Step S605, obtaining a location information group corresponding to the edge of the display screen according to the obtained resolution and the established mapping relationship.

步驟S607,發送當前位置資訊及位置資訊組給與電子裝置建立網路連接的地圖伺服器。 Step S607: Send the current location information and the location information group to the map server that establishes a 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 adapted to the display screen in the display screen according to the received map data.

在其他實施方式中,該地圖顯示方法還包括以下步驟:判斷由GPS訊號接收模組即時產生的當前位置資訊是否超出顯示幕顯示的當前地圖的邊界;在判斷出當前位置資訊超出當前顯示幕顯示的地圖的邊界時,重新請求地圖伺服器提供相應的地圖。 In other embodiments, the map display method further includes the following steps: determining whether the current location information generated by the GPS signal receiving module exceeds the boundary of the current map displayed by the display screen; determining that the current location information exceeds the current display screen When the border of the map is re-requested, the map server provides the corresponding map.

在其他實施方式中,也可以藉由判斷當前位置資訊是否偏離顯示幕的中心點方式,來更新顯示幕中顯示的地圖。 In other embodiments, the map displayed in the display screen may also be updated by determining whether the current location information deviates from the center point of the display screen.

藉由上述電子裝置及地圖顯示方法,用戶在開啟電子裝置的 導航功能後,電子裝置將產生的當前位置資訊及與顯示幕邊緣對應的位置資訊組發送給與電子裝置建立網路連接的專業地圖伺服器,以從地圖伺服器中獲取與顯示幕尺寸相適應的地圖。如此,用戶無需進行存儲地圖資料到電子裝置及定期更新存儲地圖資料的操作,便可利用電子裝置查找到自己的當前位置及周圍的地理環境。 With the above electronic device and map display method, the user turns on the electronic device After the navigation function, 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, so as to obtain the size of the display screen from the map server. map. In this way, the user does not need to store the map data to the electronic device and periodically update the stored map data, and the electronic device can be used to find the current location and the surrounding geographical environment.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述僅為本發明之較佳實施方式,舉凡熟悉本案技藝之人士,在援依本案創作精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above descriptions are only preferred embodiments of the present invention, and those skilled in the art will be able to include equivalent modifications or variations in the spirit of the present invention.

S601~S611‧‧‧地圖顯示方法流程 S601~S611‧‧‧Map display method flow

Claims (9)

一種電子裝置,用於連接地圖伺服器,該電子裝置包括GPS訊號接收模組、控制模組、通信模組及顯示幕,GPS訊號接收模組用於接收人造衛星發出的定位訊號,並根據接收的定位訊號產生電子裝置的當前位置資訊,其改良在於:該控制模組用於獲取顯示幕的解析度,且以當前位置資訊為顯示幕的中心建立當前位置資訊與顯示幕間的映射關係,並根據獲取的解析度及建立的映射關係產生與顯示幕邊緣像素點對應的座標點相對應的位置資訊組,並藉由通信模組將當前位置資訊及位置資訊組發送給該地圖伺服器,該控制模組還用於將通信模組接收的由地圖伺服器根據當前位置資訊及位置資訊組傳送的與顯示幕尺寸相適應的地圖資料提供給顯示幕顯示。 An electronic device is configured 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, and the GPS signal receiving module is configured to receive a positioning signal sent by the artificial satellite, and receive the positioning signal according to the receiving The positioning signal generates the current location information of the electronic device, and the improvement is that the control module is configured to obtain the resolution of the display screen, and establish a mapping relationship between the current location information and the display screen by using the current location information as a center of the display screen, and And generating, according to the acquired resolution and the established mapping relationship, a location information group corresponding to the coordinate point corresponding to the pixel edge of the display screen, and sending the current location information and the location information group to the map server by using the communication module, where The control module is further configured to provide the map data that is received by the communication module and adapted by the map server according to the current location information and the location information group to the display screen size, to the display screen display. 如申請專利範圍第1項所述之電子裝置,其中建立映射關係的方式為:將當前位置資訊轉換到直角坐標系下的座標點,將該座標點與顯示幕的中心像素點對應的座標點相對應。 The electronic device of claim 1, wherein the mapping relationship is established by converting the current location information to a coordinate point in a Cartesian coordinate system, and the coordinate point corresponding to the central pixel of the display screen. Corresponding. 如申請專利範圍第2項所述之電子裝置,其中控制模組還用於即時判斷由GPS訊號接收模組即時產生的當前位置資訊是否超出顯示幕當前顯示的地圖的邊界,並在判斷出當前位置資訊超出當前顯示的地圖的邊界時,重新請求地圖伺服器提供相應的地圖。 The electronic device of claim 2, wherein the control module is further configured to immediately determine whether the current location information generated by the GPS signal receiving module exceeds the boundary of the map currently displayed on the display screen, and determines the current When the location information exceeds the boundary of the currently displayed map, the map server is re-requested to provide the corresponding map. 如申請專利範圍第3項所述之電子裝置,其中該控制模組還 用於回應用戶選擇顯示的當前地圖上的興趣點的操作,產生興趣點位置資訊,並藉由通信模組發送興趣點位置資訊及預存的興趣資訊給地圖伺服器。 The electronic device of claim 3, wherein the control module further The operation for generating the interest point on the current map in response to the user selection, generating the interest point location information, and transmitting the interest point location information and the pre-stored interest information to the map server by using the communication module. 如申請專利範圍第4項所述之電子裝置,其中該顯示幕為觸摸屏。 The electronic device of claim 4, wherein the display screen is a touch screen. 如申請專利範圍第4項所述之電子裝置,其中該控制模組包括中央處理器及記憶體,記憶體用於存儲一應用程式,中央處理器在運行該應用程式後產生如下功能單元:解析度獲取單元,用於獲取顯示幕的解析度;座標點轉換單元,用於建立當前位置資訊與顯示幕間的映射關係,並根據映射關係將顯示幕上的像素點所對應的座標點轉換為與當前位置資訊相關的位置資訊;邊緣座標點生成單元,用於根據獲取的顯示幕的解析度產生顯示幕的邊緣像素點所對應的座標點,並將產生的座標點提供給座標點轉換單元;越界判斷單元,用於將由GPS訊號接收模組所產生的當前位置資訊與位置資訊組中的位置資訊進行比較,以確定電子裝置的當前位置是否超出顯示的當前地圖的邊界,並在確定電子裝置的當前位置超出當前顯示的地圖的邊界時,調用座標點轉換單元及邊緣座標點生成單元工作;興趣點座標生成單元,用於回應用戶選擇顯示幕顯示的當前地圖上的興趣點的操作,產生與興趣點所對應的座標點,並提供給座標點轉換單元,以利用座標點轉換單元得到興趣點位置資訊。 The electronic device of claim 4, wherein the control module comprises a central processing unit and a memory, wherein the memory is used to store an application, and the central processor generates the following functional unit after running the application: The degree acquisition unit is configured to obtain the resolution of the display screen; the coordinate point conversion unit is configured to establish a mapping relationship between the current location information and the display screen, and convert the coordinate points corresponding to the pixel points on the display screen into and according to the mapping relationship. The position information related to the current location information; the edge coordinate point generating unit is configured to generate a coordinate point corresponding to the edge pixel of the display screen according to the resolution of the acquired display screen, and provide the generated coordinate point to the coordinate point conversion unit; The out-of-bounds determining unit is configured to compare the current location information generated by the GPS signal receiving module with the location information in the location information group to determine whether the current location of the electronic device exceeds a boundary of the displayed current map, and determine the electronic device Calling the coordinate point conversion unit and the current position beyond the boundary of the currently displayed map The edge coordinate point generating unit works; the point of interest coordinate generating unit is configured to respond to the operation of the user to select the point of interest on the current map displayed by the display screen, generate a coordinate point corresponding to the point of interest, and provide the coordinate point conversion unit to The point of interest location information is obtained by the coordinate point conversion unit. 一種地圖顯示方法,包括如下步驟:接收衛星發射的衛星訊號,根據接收的衛星訊號產生反應設置有GPS訊號接收模組的電子裝置當前位置的當前位置資訊;獲取電子裝置的顯示幕的解析度;以當前位置資訊為顯示幕的中心,建立當前位置資訊與顯示幕間的映射關係;根據獲取的解析度及建立的映射關係得到與顯示幕邊緣對應的位置資訊組;發送當前位置資訊及位置資訊組給與電子裝置建立網路連接的地圖伺服器;接收地圖伺服器根據當前位置資訊及位置資訊組傳送的對應的預設地圖資料;根據接收的地圖資料在顯示幕中顯示與顯示幕相適應的地圖。 A map display method includes the steps of: receiving a satellite signal transmitted by a satellite, generating a current position information of a current position of an electronic device configured with a GPS signal receiving module according to the received satellite signal; and acquiring a resolution of the display screen of the electronic device; Using the current location information as the center of the display screen, establishing a mapping relationship between the current location information and the display screen; obtaining a location information group corresponding to the edge of the display screen according to the obtained resolution and the established mapping relationship; transmitting the current location information and the location information group a map server for establishing a network connection with the electronic device; receiving corresponding preset map data transmitted by the map server according to the current location information and the location information group; displaying the display screen according to the received map data according to the received map information map. 如申請專利範圍第7項所述之地圖顯示方法,其中該方法還包括以下步驟:判斷由GPS訊號接收模組即時產生的當前位置資訊是否超出顯示幕當前顯示的地圖的邊界;在判斷出當前位置資訊超出顯示幕當前顯示的地圖的邊界時,重新請求地圖伺服器提供相應的地圖。 The method for displaying a map according to claim 7, wherein the method further comprises the following steps: determining whether the current location information generated by the GPS signal receiving module exceeds the boundary of the map currently displayed on the display screen; When the location information exceeds the boundary of the map currently displayed on the display screen, the map server is requested again to provide the corresponding map. 如申請專利範圍第7項所述之地圖顯示方法,其中建立映射關係的方式為:將當前位置資訊轉換到直角坐標系下的座標點,將該座標點與顯示幕的中心像素點對應的座標點相對應 。 For example, in the map display method described in claim 7, wherein the mapping relationship is established by converting the current location information to a coordinate point in a Cartesian coordinate system, and the coordinate corresponding to the central pixel of the display screen Point corresponding .
TW98133058A 2009-09-30 2009-09-30 Electronic apparatus and method for displaying map TWI415041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98133058A TWI415041B (en) 2009-09-30 2009-09-30 Electronic apparatus and method for displaying map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98133058A TWI415041B (en) 2009-09-30 2009-09-30 Electronic apparatus and method for displaying map

Publications (2)

Publication Number Publication Date
TW201112191A TW201112191A (en) 2011-04-01
TWI415041B true TWI415041B (en) 2013-11-11

Family

ID=44909191

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98133058A TWI415041B (en) 2009-09-30 2009-09-30 Electronic apparatus and method for displaying map

Country Status (1)

Country Link
TW (1) TWI415041B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200823701A (en) * 2006-11-24 2008-06-01 Benq Corp Mobile apparatus and method for downloading of map
TW200930980A (en) * 2007-12-20 2009-07-16 Tomtom Int Bv Method and apparatus for updating a digital map

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200823701A (en) * 2006-11-24 2008-06-01 Benq Corp Mobile apparatus and method for downloading of map
TW200930980A (en) * 2007-12-20 2009-07-16 Tomtom Int Bv Method and apparatus for updating a digital map

Also Published As

Publication number Publication date
TW201112191A (en) 2011-04-01

Similar Documents

Publication Publication Date Title
CN102023289B (en) Electronic device and map display method
JP5009022B2 (en) Portable terminal device, its advanced measurement method, its measurement program, and recording medium storing the measurement program
US7047131B2 (en) Apparatus and method for displaying detailed map of selected area
US20100248745A1 (en) Apparatus and method for providing position information service
US9377316B2 (en) Method and device for providing location services
US20080154494A1 (en) Image-related information displaying system
US20110015858A1 (en) Network system and mobile communication terminal
RU2010138114A (en) DEVICE, SYSTEM AND METHOD OF NAVIGATION WITH THE MODULE OF SEARCH BY AIR
KR101823441B1 (en) Terminal and Method for Forming Video, Apparatus for Forming Image, Driving Method Thereof, and Computer-Readable Recording Medium
GB2358515A (en) Map display device with orientation means.
US8559970B2 (en) Method for providing location-based information services, location-based information services system, and portable electronic device
US8543329B2 (en) Positioning apparatus and positioning method
JP2005106953A (en) Electronic map generating system, electronic map generating method, electronic map generating program, and recording medium with the program recorded thereon
JP5379043B2 (en) Three-dimensional position information generating apparatus, method and program
TWI415041B (en) Electronic apparatus and method for displaying map
EP2889582A1 (en) Information management system
JP2011163845A (en) Navigation system using deformed map, navigation server, navigation device, method of navigation, computer program, and recording medium
JP2008022141A (en) Radio communication terminal and terminal-information server
JPH11184373A (en) Map receiving and display device
KR20110067902A (en) Mobile terminal having function for measuring area
JP5906135B2 (en) Map image generating apparatus and program
US20230213605A1 (en) Information processing device and non-transitory computer-readable storage medium storing program
JP2013250153A (en) Navigation system, device, method and computer program
JP2006086833A (en) Address display system of gps positional information
KR101461544B1 (en) Method for Forming the Area Coordinate Map and Providing Method a Geographic Information and Navigating Information

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees