CN101742395B - Method for downloading and displaying map data by mobile phone - Google Patents
Method for downloading and displaying map data by mobile phone Download PDFInfo
- Publication number
- CN101742395B CN101742395B CN 200810072211 CN200810072211A CN101742395B CN 101742395 B CN101742395 B CN 101742395B CN 200810072211 CN200810072211 CN 200810072211 CN 200810072211 A CN200810072211 A CN 200810072211A CN 101742395 B CN101742395 B CN 101742395B
- Authority
- CN
- China
- Prior art keywords
- map
- mobile phone
- sheet
- display
- shows
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000003068 static effect Effects 0.000 claims description 33
- 230000015654 memory Effects 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 11
- 238000012163 sequencing technique Methods 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 claims description 7
- 241001269238 Data Species 0.000 claims description 5
- 239000000284 extract Substances 0.000 abstract description 2
- 238000005520 cutting process Methods 0.000 description 6
- 239000004744 fabric Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 201000007094 prostatitis Diseases 0.000 description 1
Images
Landscapes
- Instructional Devices (AREA)
Abstract
The invention provides a method for downloading and displaying map data by a mobile phone, which relates to a method for transmitting and displaying the map data. The invention solves the problem that mobile phones with multiple display screen sizes display the map data with different scales. The method comprises the following steps: a central server respectively segments vector maps in every scale into a plurality of display mapsheets sequentially according to the pixel specifications of the standard display mapsheets, and numbers the display mapsheets in the order of geographical coordinates; the central server respectively stores all the display mapsheets of the vector maps in every scale according to respective serial numbers; the user mobile phone calculates the serial numbers of the display mapsheets which need to be displayed according to the number of the display mapsheets, the current latitude and longitude and the scale of the maps which need to be displayed, and transmits a map display request to the central server; the central server extracts the data of the display mapsheets according to the scale in the request and the serial numbers of the display mapsheets and transmits the data to the mobile phone; and the user mobile phone receives the data of the display mapsheets and displays the data on the display screen in a combination manner.
Description
Technical field
The present invention relates to the method for a kind of transmission and display map data.
Background technology
The mobile phone GPS navigation system mainly is divided into two kinds of mobile phone autonomous navigation system and mobile phone network navigation systems at present, and wherein, the characteristics of self-contained navigation are that whole map vector datas are placed on the mobile phone terminal, and all display operations are accomplished by user mobile phone oneself; And in the mobile phone network navigation system, user mobile phone is not preserved all map vector datas (can buffer memory fraction map vector data), when needs, just downloads map vector data to the central server request.
In the mobile phone network navigation system, the map vector data that central server provided can be interim dynamically to generate, and also can be good and be kept at the static map vector data in the storage medium according to certain format analysis processing in advance; The wherein interim map vector data that dynamically generates is meant according to the cellphone subscriber about the size of display screen, the coordinate of map center position and the demands such as size of map scale; From map vector, dynamically cut out corresponding map vector data and be issued to user mobile phone and show processing; Its advantage is that the map vector data flow-rate ratio that in downloading transmission course, produces is less; Shortcoming is the complex algorithm of central server cutting process map vector, and over-burden for central server when to a plurality of users this service being provided simultaneously.Static map vector data is meant map vector according to the display screen size size, in advance well cutting and be kept in the central server according to certain numbering; When the cellphone subscriber asked to download the map vector data of a certain numbering, the static map vector data that central server is directly transferred corresponding numbering was issued to this user mobile phone and shows.Its advantage is to have reduced central server is done cutting process temporarily to map vector complexity; Shortcoming is that the dimensions of user mobile phone display screen is a lot, and central server is difficult to the dimensions storage corresponding static map vector data according to various user mobile phone display screens, to satisfy the needs that on each mobile phone display screen, show map vector data.When particularly on the user need the mobile phone at oneself, selecting the map vector of different proportion chi; If also according to the dimensions storage corresponding static map vector data of various user mobile phone display screens, the interior cun space that not only takies is big but also time overhead access data is also big for central server.
Summary of the invention
The present invention aims to provide a kind of method by mobile phone-downloaded and display map data, and the mobile phone of multiple screen size specification can use the standard static map vector data of the different proportion chi that central server provides to show needed map datum.
Technical scheme of the present invention is: a kind of method by mobile phone-downloaded and display map data may further comprise the steps:
Step 2, central server is preserved all demonstration map sheets of the map vector of each engineer's scale in the memory of correspondence respectively by numbering separately;
Step 3; User mobile phone shows that according to this display screen matrix specification and standard the ratio of map sheet pixel specification need to confirm the demonstration map sheet number that shows, user mobile phone is according to showing map sheet number, current longitude and latitude and needing the engineer's scale of displayed map to calculate the numbering of each demonstration map sheet that need show; User mobile phone sends to central server and comprises the displayed map request that shows map sheet number, engineer's scale and respectively show sheet designation;
Step 4; Central server respectively shows the memory that map sheet belongs to by what the engineer's scale in the user mobile phone displayed map request that receives confirmed that current institute will download, according to showing respectively in this request that sheet designation respectively shows the static map vector data of map sheet and these static map vector datas are handed down to this user mobile phone from this memory fetch;
Step 5, user mobile phone receive these and show the static map vector data of map sheet and show that respectively the combination of map sheet on display screen shows processing.
In the described step 4; Central server is according to after showing respectively in the displayed map request that sheet designation respectively shows the static map vector data of map sheet from this memory fetch; Each is shown that map sheet according to the sequencing of numbering and according to each sequencing that shows the static map vector data of preserving in the map sheet, is kept in the binary data flow and is handed down to the user mobile phone of filing a request.
A kind of method of the present invention by mobile phone-downloaded and display map data; The pixel specification that central server shows map sheet according to same standard with the map vector of different proportion chi is well cutting and according to the serial number of geographical coordinate in advance, and the map sheet that respectively shows that each engineer's scale map vector cuts out is preserved by numbering.Central server is only preserved the standard static map vector data of different proportion chi map vector, and the storage occupation space is little.When the cellphone subscriber asked displayed map, demonstration map sheet number, current longitude and latitude that need show according to this display screen earlier and the engineer's scale that needs displayed map calculated the numbering of each demonstration map sheet that need show; To comprise again and show map sheet number, engineer's scale and show that respectively the displayed map request of sheet designation sends to central server.Calculate the numbering of each demonstration map sheet that need show and be uploaded to central server by user mobile phone; Can reduce the burden that central server extracts calculated address when showing map sheet; Improve the operational efficiency of central server, simultaneously the more cellphone subscriber of central server receivability.Central server is received the displayed map request, and each static map vector data of directly transferring the corresponding numbering under the designated ratio chi is issued to user mobile phone and makes up demonstration.Form the map on the display screen on the user mobile phone by at least one picture that shows map sheet, can use the standard static map vector data of the different proportion chi that central server provides to show needed map datum so this method can guarantee the mobile phone of multiple screen size specification.Central server settles the standard by line number that is less than or equal to minimum handset display screen matrix array and columns and shows the pixel specification of map sheet, and so the mobile phone of all screen size specifications can use the standard static map vector data of the different proportion chi that central server provides to show needed map datum.Central server is according to after showing respectively in the displayed map request that sheet designation respectively shows the static map vector data of map sheet from this memory fetch; Each is shown that map sheet according to the sequencing of numbering and according to each sequencing that shows the static map vector data of preserving in the map sheet, is kept in the binary data flow and is handed down to the user mobile phone of filing a request.Because each shows that there are corresponding relation in numbering and its geographical coordinate in map vector of map sheet, this just means that the display position order that respectively shows map sheet on the display screen is also corresponding with the order of the numbering of each demonstration map sheet.User mobile phone just can utilize identical using in order, and each shows that map sheet makes up the operation of displayed map, thereby has simplified combination mapping complicated calculations.So method of the present invention has is convenient to operation, applicability is strong, and it is little to take memory space, the advantage that operational efficiency is high.
Description of drawings
Fig. 1 is the process sketch map of the present invention by an embodiment of method of mobile phone-downloaded and display map data.
The sketch map of Fig. 2 in the present embodiment the national map vector of a width of cloth being cut and numbers.
Fig. 3 is the sketch map of displayable partial data type and data object data content in the national map vector of 8 kinds of engineer's scales in the present embodiment demonstration map sheet after cutting.
Embodiment
The present invention is used for a nationwide mobile communication network by embodiment of method of mobile phone-downloaded and display map data.This network is provided with a central server with map vector data storehouse and radio communication apparatus.
Explain below in conjunction with Fig. 1 how cellphone subscriber in this network uses oneself mobile phone-downloaded and display map data.
At first, step 101 and step 102 below central server is carried out, the demonstration map sheet with standard static map vector data of in the map vector data storehouse, preserving the national map vector of various engineer's scales.
Standard shows that the pixel specification of map sheet is definite by line number that is less than or equal to minimum handset display screen matrix array and columns; The present embodiment required standard shows that the pixel specification of map sheet is 80 * 80, and line number promptly high (H) is 80 pixels, and columns promptly wide (W) is 80 pixels.Please referring to Fig. 2; Central server is with in the scope of map vector rectangular area, a certain width of cloth whole nation; Show that according to standard the pixel specification of map sheet is divided into the map sheet of the identical demonstration of a plurality of sizes; And these are shown that map sheets are according to " from top to bottom, geographical coordinate from left to right " is numbered in proper order, and sequence number is since 1.For the map vector of different proportion chi, though the size of the demonstration map sheet that they cut out is fixed, all be that height is 80 pixels, wide is 80 pixels; But the territorial scope that the demonstration map sheet that the map vector of different proportion chi cuts out is comprised is inequality, and engineer's scale is big more, shows that the territorial scope that map sheet comprised is big more.
When the regulation engineer's scale was S, the total number of picture elements of longitudinal was D1, and the total number of picture elements of latitude direction is D2; If the engineer's scale of current demonstration is Q, can obtain then under this engineer's scale that total number of picture elements is on the longitudinal:
M=Q * D1/S (formula 1)
With number of picture elements total on the latitude direction under this engineer's scale be:
P=Q * D2/S (formula 2)
The demonstration sheet designation that cuts out for map vector to each engineer's scale, the latitude and longitude information in the map vector file of this engineer's scale of statistics earlier, calculate between two adjacent pixels of the map vector longitudinal of this engineer's scale across longitude:
A=(Lon_Max-Lon_Min)/M (formula 3)
Wherein Lon_Min is minimum longitude, and Lon_Max is maximum longitude, and M is a pixel count total on the longitudinal.
Calculate the latitude of crossing between two adjacent pixels of the map vector latitude direction of this engineer's scale:
B=(Lat_Max-Lat_Min)/P (formula 4)
Wherein Lat_Min is minimum latitude, and Lat_Max is high latitude, and P is a pixel count total on the latitude direction.
This map vector shows total line number of the demonstration map sheet that the pixel cut of map sheet goes out: C=P/H (formula 5) by standard
This map vector shows total columns of the demonstration map sheet that the pixel cut of map sheet goes out: R=M/W (formula 6) by standard
Total demonstration map sheet number just is: N=R * C (formula 7)
According to each standard show the pixel specification of map sheet calculate the width of cloth that this map vector cuts out show map sheet when prostatitis number:
R_NOW=UP_ROUND [(Lon_NOW-Lon_Min)/(and A * W)] (formula 8)
Wherein Lon_NOW is current longitude, and UP_ROUND is the function that rounds up.With current line number:
C_NOW=UP_ROUND [(Lat_NOW-Lat_Min)/(and B * H)] (formula 9)
Wherein Lat_NOW is current latitude.
The numbering of this demonstration map sheet=(C_NOW-1) * R+R_NOW (formula 10)
Static map vector data type comprises four types of block data, road data, rds data and (point of interest) text datas.Each data object data content in the demonstration map sheet that the national map vector of 1: 1 ten thousand, 1: 2 ten thousand, 1: 5 ten thousand, 1: 10 ten thousand, 1: 20 ten thousand, 1: 50 ten thousand, 1: 100 ten thousand, 1: 500 ten thousand these 8 kinds of engineer's scales cuts out in the present embodiment in displayable block data, road data, rds data and the text data type, as shown in Figure 3.
After this, each cellphone subscriber just can also show according to the needs download map datum of oneself.
For example, certain user mobile phone display screen is 240 * 160 pixels, and the demonstration map sheet number that needs to show is 6; And certain user mobile phone display screen is 210 * 140 pixels, and the demonstration map sheet number that needs to show also is 6, and this user mobile phone will be done and cut out processing when doing the processing of combination displayed map.The GPS of user mobile phone provides current longitude and latitude data; The user has specified after the engineer's scale that needs displayed map; Mobile phone just can use aforesaid formula 1 to calculate the numbering of the demonstration map sheet of a needs demonstration to formula 10; According to relation adjacent on the position, can extrapolate other several numbering that needs the demonstration map sheet of demonstration again.
Step 5, user mobile phone receive these and show the static map vector data of map sheet and show that respectively the combination of map sheet on display screen shows processing.
For example; Certain user mobile phone display screen is 240 * 160 pixels; Receive the demonstration map sheet that 6 needs show, the map sheet that this user mobile phone shows these 6 needs when doing the processing of combination displayed map makes up demonstration by the order of " from top to bottom, from left to right ".And certain user mobile phone display screen is 210 * 140 pixels; Receive the demonstration map sheet that 6 needs show; The map sheet that this user mobile phone shows these 6 needs when doing the processing of combination displayed map by " from top to bottom; order from left to right " makes up, again according to upper left alignment or a left side down alignment or upper right alignment or bottom right alignment or placed in the middle show after cutting out processing.
The above is merely preferred embodiment of the present invention, does not limit the scope that the present invention implements with this, and the equivalence of doing according to technical scheme of the present invention and description changes and modification, all should belong to the scope that the present invention is contained.
Claims (2)
1. method by mobile phone-downloaded and display map data may further comprise the steps:
Step 1; Central server settles the standard by line number that is less than or equal to minimum handset display screen matrix array and columns and shows the pixel specification of map sheet; And the pixel specification that shows map sheet according to standard with the map vector of each engineer's scale respectively order cut into the demonstration map sheet that several have static map vector data, and each is shown that map sheet numbers according to the geographical coordinate order;
Step 2, central server is preserved all demonstration map sheets of the map vector of each engineer's scale in the memory of correspondence respectively by numbering separately;
Step 3; User mobile phone shows that according to this display screen matrix specification and standard the ratio of map sheet pixel specification need to confirm the demonstration map sheet number that shows, user mobile phone is according to showing map sheet number, current longitude and latitude and needing the engineer's scale of displayed map to calculate the numbering of each demonstration map sheet that need show; User mobile phone sends to central server and comprises the displayed map request that shows map sheet number, engineer's scale and respectively show sheet designation;
Step 4; Central server respectively shows the memory that map sheet belongs to by what the engineer's scale in the user mobile phone displayed map request that receives confirmed that current institute will download, according to showing respectively in this request that sheet designation respectively shows the static map vector data of map sheet and these static map vector datas are handed down to this user mobile phone from this memory fetch;
Step 5, user mobile phone receive these and show the static map vector data of map sheet and show that respectively the combination of map sheet on display screen shows processing.
2. a kind of method according to claim 1 by mobile phone-downloaded and display map data; It is characterized in that: in the described step 4; Central server is according to after showing respectively in the displayed map request that sheet designation respectively shows the static map vector data of map sheet from this memory fetch; Each is shown that map sheet according to the sequencing of numbering and according to each sequencing that shows the static map vector data of preserving in the map sheet, is kept in the binary data flow and is handed down to the user mobile phone of filing a request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810072211 CN101742395B (en) | 2008-11-21 | 2008-11-21 | Method for downloading and displaying map data by mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810072211 CN101742395B (en) | 2008-11-21 | 2008-11-21 | Method for downloading and displaying map data by mobile phone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101742395A CN101742395A (en) | 2010-06-16 |
CN101742395B true CN101742395B (en) | 2012-12-05 |
Family
ID=42465147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810072211 Active CN101742395B (en) | 2008-11-21 | 2008-11-21 | Method for downloading and displaying map data by mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101742395B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298873B (en) * | 2010-06-24 | 2014-03-26 | 科菱航睿空间信息技术有限公司 | Navigation electronic map data storage method and display method based on the same |
CN102368259A (en) * | 2011-10-10 | 2012-03-07 | 北京百度网讯科技有限公司 | Electronic map data storage and query method, device and system |
CN102968497B (en) * | 2012-12-04 | 2015-09-23 | 北京世纪高通科技有限公司 | dynamic data processing method and system |
US9201898B2 (en) * | 2013-05-15 | 2015-12-01 | Google Inc. | Efficient fetching of map tile data |
CN103605462A (en) * | 2013-11-21 | 2014-02-26 | 广东威创视讯科技股份有限公司 | Map image displaying method and controller |
CN112214561B (en) * | 2019-07-11 | 2024-04-12 | 奇安信科技集团股份有限公司 | Map data processing method, map data processing device, computer equipment and storage medium |
CN111857626A (en) * | 2020-07-16 | 2020-10-30 | 北京奇虎科技有限公司 | Picture display method, device and equipment based on screen coordinates and storage medium |
CN116736971B (en) * | 2022-10-17 | 2024-07-23 | 荣耀终端有限公司 | Map data processing method, map display method and map display equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4873513A (en) * | 1987-08-26 | 1989-10-10 | Geodisplay Technology Limited Partnership | Automated map display system |
EP0784296A1 (en) * | 1996-01-11 | 1997-07-16 | Sony Corporation | Data providing structure, method, and terminal |
CN1702432A (en) * | 2005-06-08 | 2005-11-30 | 武汉虹信通信技术有限责任公司 | Method for processing dynamic display of grid electronic map |
CN1828586A (en) * | 2005-12-21 | 2006-09-06 | 泰为信息科技(上海)有限公司 | Computer electronic map formation and display method based on Flash technology |
-
2008
- 2008-11-21 CN CN 200810072211 patent/CN101742395B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4873513A (en) * | 1987-08-26 | 1989-10-10 | Geodisplay Technology Limited Partnership | Automated map display system |
EP0784296A1 (en) * | 1996-01-11 | 1997-07-16 | Sony Corporation | Data providing structure, method, and terminal |
CN1702432A (en) * | 2005-06-08 | 2005-11-30 | 武汉虹信通信技术有限责任公司 | Method for processing dynamic display of grid electronic map |
CN1828586A (en) * | 2005-12-21 | 2006-09-06 | 泰为信息科技(上海)有限公司 | Computer electronic map formation and display method based on Flash technology |
Also Published As
Publication number | Publication date |
---|---|
CN101742395A (en) | 2010-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101742395B (en) | Method for downloading and displaying map data by mobile phone | |
CA2619116C (en) | Real-time spherical correction of map data | |
CN101127952B (en) | Method and system for distribution of map content to mobile communication devices | |
US9857180B2 (en) | System and method for displaying address information on a map | |
US6526284B1 (en) | Transmission of geographic information to mobile devices | |
CN101400138B (en) | Map data simplifying method oriented to mobile equipment | |
NO318281B1 (en) | Cell radio communication system adapted to present geographically related information | |
CN1154058C (en) | Map Display terminal and method | |
CN101510008B (en) | Using a shape-changing display as an adaptive lens for selectively magnifying information displayed onscreen | |
CN100587754C (en) | Method and system for displaying road condition information | |
CN104221008A (en) | Prefetching map tile data along a route | |
JPWO2005124280A1 (en) | Communication navigation system, information distribution server, and portable navigation terminal | |
CN101469988B (en) | Cutting method for map vector data in mobile phone network navigation | |
JP2021033021A (en) | Map display device, method, and program | |
CN102023289A (en) | Electronic device and map display method | |
CN101902687A (en) | The use location contextual information carries out the method and apparatus of position informing | |
KR20000019726A (en) | Method for providing traffic information and terminal thereof | |
CN101500021A (en) | Map vector data transmitting method in mobile network navigation | |
JP2001142819A (en) | Method and device for plotting map | |
KR20040083338A (en) | Navigation System Using Mobile And Method Thereof | |
CN111125206A (en) | Air pollutant data processing method and device | |
US9037156B2 (en) | Real-time spherical correction of map data | |
CN102571891A (en) | Interaction method and system for display platform, and message server | |
CN106033451B (en) | A kind of instant rendering method of the density map of cellular traffic and device | |
JP2002108204A (en) | Map data distributing device and terminal device |
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 | ||
CP03 | Change of name, title or address |
Address after: 303-e, Zone C, innovation building, software park, Xiamen Torch hi tech Zone, Xiamen, Fujian, 361000 Patentee after: Xiamen Yaxun Zhilian Technology Co.,Ltd. Country or region after: China Address before: 361000 Fujian province Xiamen city software industrial park two sunrise Road No. 46 Patentee before: XIAMEN YAXON NETWORK Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |