CN103915033A - Method and apparatus for rendering map, and mobile terminal - Google Patents

Method and apparatus for rendering map, and mobile terminal Download PDF

Info

Publication number
CN103915033A
CN103915033A CN201210592728.9A CN201210592728A CN103915033A CN 103915033 A CN103915033 A CN 103915033A CN 201210592728 A CN201210592728 A CN 201210592728A CN 103915033 A CN103915033 A CN 103915033A
Authority
CN
China
Prior art keywords
segment
map
mobile terminal
vector data
map segment
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.)
Pending
Application number
CN201210592728.9A
Other languages
Chinese (zh)
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.)
Autonavi Software Co Ltd
Original Assignee
Autonavi Software 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 Autonavi Software Co Ltd filed Critical Autonavi Software Co Ltd
Priority to CN201210592728.9A priority Critical patent/CN103915033A/en
Publication of CN103915033A publication Critical patent/CN103915033A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and apparatus for rendering a map and a mobile terminal, and aims to provide a rendering way by combining the advantages of conventional raster rendering and vector rendering so that low system resources are occupied by the mobile terminal to quickly and efficiently display a map on a screen of the mobile terminal. The method includes obtaining a segment number, contained in a displayed portion on the screen of the mobile terminal, of a map segment in an electronic map; obtaining the map segment corresponding to the segment number from the mobile terminal; If the map segment is obtained, then drawing the map segment on the screen of the mobile terminal; and otherwise, obtaining vector data corresponding to the segment number, rendering a map segment according to the vector data, and drawing the rendered map segment on the screen of the mobile terminal.

Description

A kind of method that map is played up and device thereof, mobile terminal
Technical field
The present invention relates to map and play up field, relate in particular to a kind of method that map plays up and device thereof, mobile terminal.
Background technology
Along with the rise of the smart mobile phone based on the platform such as Android and IOS, LBS(Location Based Service, location-based service) service presented fulminant growth, at present, how to have become each LBS terminal software business urgent problem at upper quick, efficient, the graceful map that represents of mobile terminal (as smart mobile phone).
At present, on mobile terminal, realize playing up of map, mainly comprise following two kinds of modes:
Mode 1, grid are played up.Grid is played up mode and is adopted the mode of playing up in advance, stores at server end the segment number corresponding map segment (being grille picture) that electronic chart comprises in advance; Mobile terminal is determined the segment number that the part (being region to be shown) that need to show on mobile terminal screen in electronic chart comprises, to server end request segment number corresponding grille picture; Again the grille picture getting from server end is plotted to respectively mobile terminal display screen.Grid is played up mode, although map making segment on screen rapidly, but can there is following technological deficiency: because needs are stored a large amount of map pictures at server end in advance, data volume is very large, therefore the system resource that takies server end is more, and, all needs to obtain a large amount of grille pictures to server end while drawing electronic chart due to each, therefore speed is slower, thereby it is slower to cause drawing the speed of electronic chart.
Mode 2, vector are played up.It is real-time rendering that vector is played up mode, the segment number that mobile terminal comprises according to current region to be shown, obtain from server end all segments number corresponding vector data bag (this vector data handbag is containing the vector data of the pels such as point, line, surface) that this region to be shown comprises, and this vector data bag is resolved, obtain the vector data that comprises the pels such as point, line, surface, then become map according to the different pels mode of drawing at region to be shown real-time rendering.This kind of vector played up mode and had following technological deficiency: due to need mobile terminal real-time obtain vector data from server end, and carry out real-time rendering according to the vector data obtaining, take the internal memory that mobile terminal is larger; In the time of mobile electronic map, needing to shield enterprising row vector at mobile terminal in real time plays up, in the time that user's mobile electronic map is comparatively frequent, may operate that pauses, mapping speed are slow, the poor problem of drafting effect because terminal Out of Memory causes user.
Summary of the invention
The embodiment of the present invention provides a kind of method that map plays up and device thereof, mobile terminal, shows to solve the problem that the existing speed of map is slow, occupying system resources is larger in prior art on mobile terminal screen.
The method that map is played up, is applied to mobile terminal, and method comprises:
Obtain the segment number of the map segment in electronic chart, the part showing at mobile terminal screen being comprised;
From number corresponding map segment of segment described in described acquisition for mobile terminal;
If can get, on described mobile terminal screen, draw described map segment;
If can not get, obtain described segment number corresponding vector data, play up map segment according to described vector data, and draw and play up the map segment obtaining on described mobile terminal screen.
Preferably, from number corresponding map segment of segment described in described acquisition for mobile terminal, specifically comprise: the grid preset from mobile terminal shows the grille picture buffer area that thread is corresponding, obtains described segment number corresponding map segment;
On described mobile terminal screen, draw described map segment, comprising: start described grid and show thread, adopt grid Rendering that described map segment is plotted to the relevant position on described mobile terminal screen.
Preferably, obtain described segment number corresponding vector data, and play up segment according to described vector data, comprising:
Play up the vector data buffer area that thread is corresponding from the preset vector of mobile terminal, obtain the vector data of the map segment that described segment is number corresponding;
If can get, start vector and play up thread and adopt vector Rendering that the vector data obtaining is played up to map segment, and be stored in described grille picture buffer area playing up the map segment obtaining;
If can not get, obtain described segment number corresponding vector data from service end, startup vector is played up thread and is adopted vector Rendering that the vector data obtaining is played up to map segment, and is stored in described grille picture buffer area playing up the map segment obtaining.
Preferably, described method also comprises:
From described grille picture buffer area, determine expired map segment, and expired map segment is deleted from described grille picture buffer area, expired map segment refers to that the duration of storing in described grille picture buffer area exceedes the map segment of preset duration threshold value.
The method of playing up based on aforementioned map, the device that the embodiment of the present invention also provides a kind of map to play up, is applied to mobile terminal, and device comprises:
Segment acquiring unit, for obtaining electronic chart by the segment number of the segment comprising in mobile terminal screen display section;
Map segment acquiring unit, for from acquisition for mobile terminal segment number corresponding map segment;
The first display unit in the time that described map segment acquiring unit can get map segment, is drawn described map segment on described mobile terminal screen;
Vector data acquiring unit, in the time that described map segment acquiring unit can not get map segment, obtains described segment number corresponding vector data;
Rendering unit, plays up map segment for the vector data obtaining according to described vector data acquiring unit;
The second display unit, plays up for draw described rendering unit on described mobile terminal screen the map segment obtaining.
Preferably, described map segment acquiring unit, specifically for, the grid preset from mobile terminal shows the grille picture buffer area that thread is corresponding, obtains described segment number corresponding map segment;
Described the first display unit, specifically for, start described grid and show thread, adopt grid Rendering that described map segment is plotted to the relevant position on described mobile terminal screen.
Preferably, described vector data acquiring unit, specifically for:
The first vector data obtains subelement, for playing up from the preset vector of mobile terminal the vector data buffer area that thread is corresponding, obtains the vector data of the map segment that described segment is number corresponding;
Judging unit, for judging that can described the first vector data obtain subelement and get described vector data, if trigger rendering unit, obtains subelement otherwise trigger the second vector data;
The second vector data obtains subelement, for obtain the vector data of the map segment that described segment is number corresponding from service end, and triggers rendering unit.
Preferably, described device also comprises:
Expired Map block delete unit, for determining expired map segment from described grille picture buffer area, and expired map segment is deleted from described grille picture buffer area, expired map segment refers to that the duration of storing in described grille picture buffer area exceedes the map segment of preset duration threshold value.
The embodiment of the present invention also provides a kind of mobile terminal, and this mobile terminal comprises aforementioned means.
In the embodiment of the present invention, on the one hand, can get number corresponding map segment of segment during in mobile terminal this locality, directly the map segment obtaining is plotted on mobile terminal screen, in the time can not directly getting number corresponding map segment of segment, obtain segment number corresponding vector data, and after being played up to map segment, vector data is plotted to again on mobile terminal screen, therefore need to be at the pre-stored a large amount of map segment of server end, can reduce the system resource that takies server end, and obtain the speed of map segment in mobile terminal this locality, therefore can improve the speed that shows electronic chart at mobile terminal screen, on the other hand, in the time getting number corresponding vector data of segment, show and obtain map segment map making segment on the screen of mobile terminal again by playing up, instead of directly play up at the enterprising row vector of mobile terminal screen, therefore, in the time of mobile electronic map, do not need real-time carry out vector at mobile terminal screen and play up, therefore, even mobile electronic map frequently, also can draw out faster electronic chart, not exist user to operate pause, the poor problem of mapping effect.
Brief description of the drawings
Fig. 1 is one of method flow diagram that in the embodiment of the present invention, map is played up;
Fig. 2 is two of method flow diagram that in the embodiment of the present invention, map is played up;
Fig. 3 is the method flow diagram that in the instantiation of enumerating in the embodiment of the present invention, map is played up;
Fig. 4 is one of structural representation of the device that in the embodiment of the present invention, map is played up;
Fig. 5 is the structural representation of vector data acquiring unit in the embodiment of the present invention;
Fig. 6 be the device that in the embodiment of the present invention, map is played up structural representation two.
Embodiment
The technical matters existing for prior art, the embodiment of the present invention provides a kind of method that map plays up and device thereof, mobile terminal, there is to solve the mode that adopts pure vector to play up in the existing mode of playing up map the problem that Installed System Memory is large, efficiency is lower that takies, and adopt the mode that pure grid plays up need to be at the pre-stored a large amount of grille picture of server end, thereby cause the problem that data volume is larger.The present invention plays up the method for map, specifically comprises: first, obtain the segment number of the map segment in electronic chart, the part showing at mobile terminal screen being comprised; Obtain again described segment number corresponding map segment; If can get, on described mobile terminal screen, show described map segment; If can not get, obtain described segment number corresponding vector data, and play up and play up map segment according to described vector data, on described mobile terminal screen, show and play up the map segment obtaining.
Understand the technical program for ease of technician, below in conjunction with Figure of description, technical solution of the present invention is described in detail.
Referring to Fig. 1, for the method flow diagram that map in the embodiment of the present invention is played up, be applied to mobile terminal, the method comprises:
The render engine of step 101, mobile terminal obtains the segment number in electronic chart, the part showing at mobile terminal screen being comprised.
Step 102, render engine, from number corresponding map segment of segment described in acquisition for mobile terminal, if can get map segment, perform step 103, otherwise execution step 104;
Step 103, render engine are drawn described map segment on described mobile terminal screen;
Step 104, render engine obtain described segment number corresponding vector data, and play up map segment according to described vector data, on described mobile terminal screen, draw and play up the map segment obtaining.
Map segment in the embodiment of the present invention is grille picture.
In the embodiment of the present invention, can in the render engine of mobile terminal, set in advance that vector is played up thread and grid is played up thread, and be respectively vector and play up thread and grid and play up thread and distribute buffer area, obtain playing up the grille picture buffer area that thread is corresponding and playing up with vector the vector data buffer area that thread is corresponding with described grid.At the pre-stored all segments number that have electronic chart to comprise under different scale of mobile terminal.At the pre-stored all segments number corresponding vector data that has electronic chart to comprise of server end.
In the embodiment of the present invention, for the segment number of playing up grille picture, in grille picture buffer area, store the corresponding relation of this segment number and grille picture thereof.When render engine is drawn electronic chart on the screen of mobile terminal, can first from grille picture buffer area, search the segment number corresponding grille picture that whether stores this electronic chart, if exist, this segment number corresponding grille picture is drawn directly on the relevant position of mobile terminal screen, if do not exist, request server end feeds back the segment number corresponding vector data of this electronic chart, play up and obtain grille picture according to the vector data of feedback, then this grille picture is rendered on the relevant position of mobile terminal screen.
Abovementioned steps 101, can specifically realize in the following manner: according to the part showing at mobile terminal screen is (simple for describing in electronic chart, can part be called region to be shown) the current displaying ratio chi of size, central point latitude and longitude coordinates and electronic chart, determine the segment number that described region to be shown comprises, concrete:
According to the size in described region to be shown, central point, determine the regional extent that described region to be shown covers in described electronic chart, and choose the segment number corresponding with described regional extent under different displaying ratios from preset segment number; The segment number corresponding with described displaying ratio in the segment of choosing number is defined as to the segment number that described region to be shown comprises.
Therefore, in the step 102 of preceding method flow process, specific implementation can be as follows: render engine shows the grille picture buffer area that thread is corresponding from grid, obtains described segment number corresponding map segment.Step 103, is implemented as follows: render engine starts preset grid and shows thread, and the map segment that adopts grid Rendering that step 102 is got is plotted to the relevant position of described mobile terminal screen.
Abovementioned steps 104, be implemented as follows: vector engine is obtained described segment number corresponding vector data from vector data buffer area, start preset vector if can get and play up thread and adopt vector Rendering that the vector data obtaining is played up to map segment, and be stored in described grille picture buffer area playing up the map segment obtaining; Restart preset grid and play up the relevant position that thread is played up described vector thread and played up the map segment obtaining and be rendered into mobile terminal screen; If can not get, obtain described segment number corresponding vector data from service end, startup vector is played up thread and is adopted vector Rendering that the vector data obtaining is played up to map segment, and is stored in described grille picture buffer area playing up the map segment obtaining.Obtaining segment number corresponding vector data from vector data buffer area or from server end, can be that render engine starts vector and plays up thread and go to obtain.
Preferably, vector engine is obtained segment number corresponding vector data from server end, is implemented as follows: vector engine sends vector data to server end and obtains request, and this vector data obtains and in request, carries segment number; Server end obtains after request receiving this vector data, from the corresponding relation of the segment of its storage number and vector data, obtains described vector data and obtains the segment number corresponding vector data carrying in request, and feed back to described vector engine.
Preferably, for improving the utilization factor of grille picture buffer area, in the embodiment of the present invention, also can before or after the arbitrary steps of the method flow shown in earlier figures 1, also comprise step 105, as shown in Figure 2, after the step 104 of the method flow shown in Fig. 1, also comprise step 105:
Step 105, render engine are determined expired map segment from described grille picture buffer area, and expired map segment is deleted from described grille picture buffer area, expired map segment refers to that the duration of storing in described grille picture buffer area exceedes the map segment of preset duration threshold value.Duration threshold value in the embodiment of the present invention can arrange flexibly according to practical application, and as being set to 1 day, 2 days, a week or one month etc., this is not restricted.
Based on aforementioned description, can adopt following paragraph to be described in detail the specific implementation of whole technical scheme: first, render engine can be according to the size in region to be shown, central point and electronic chart displaying ratio chi, determine the segment number that region to be shown comprises, and feed back to preset grid and play up thread determining segment number; Secondly, play up thread by grid and from grid buffer area, obtain the grille picture number corresponding with this segment, if can get, adopt grid Rendering that the grille picture getting is plotted to the relevant position in region to be shown, if can not get, segment number is transmitted to vector and plays up thread; Then, play up thread by vector and from vector data buffer area, obtain the vector data number corresponding with this segment, and adopt vector Rendering that the vector data getting is played up to grille picture, and be cached in grid buffer area playing up the grille picture obtaining, and indicate grid to play up thread this grille picture is plotted to the relevant position in region to be shown.Preferably, the speed of obtaining for improving vector data, vector is played up thread and can be preferentially searched whether store the vector data number corresponding with segment from vector data buffer area, the in the situation that of storage, then obtains this segment number corresponding vector data to server end.
According to the technical scheme of aforementioned description, be described in detail below in conjunction with a concrete example, in this example, region to be shown is of a size of 320 × 240, central point latitude and longitude coordinates is (116.4,39.8), and the rank that electronic chart displaying ratio chi is corresponding is 13; 4 segments number of district inclusion to be shown, are respectively A1, A2, A3 and A4.This method of playing up picture specifically comprises the following steps, as shown in Figure 3:
Step 301, render engine are according to the rank of the size in region to be shown, central point longitude and latitude and electronic chart displaying ratio chi, the segment number that calculates district inclusion to be shown is respectively A1, A2, A3 and A4, and the segment calculating number is fed back to grid plays up thread.
Step 302, grid are played up thread and from grid buffer area, are obtained respectively aforementioned four segments number corresponding grille picture, and can get grille picture that segment A1 is corresponding but can not get segment A2, A3, grille picture that A4 is corresponding, execution step 303 and step 304.
Step 303, grid are played up thread and are adopted grid to play up mode corresponding segment A1 grille picture is plotted to the relevant position in region to be shown.
Step 304, grid are played up thread and segment A2, A3, A4 are fed back to vector are played up thread.
Step 305, vector are played up thread and from vector data buffer area, are obtained segment A2, A3, vector data that A4 is corresponding, and can get the vector data that segment A2 is corresponding and still can not get the vector data that segment A3, A4 are corresponding, execution step 306 and step 307.
Step 306, vector are played up thread and are adopted vector Rendering that corresponding segment A2 vector data is played up to grille picture, and this grille picture is cached in grille picture buffer area, instruction grid is played up thread this grille picture is plotted to the relevant position in described region to be shown.
Step 307, vector are played up thread and are obtained from server end the vector data that segment A3, A4 are corresponding, and adopt respectively vector Rendering to play up two grille pictures to segment A3, vector data that segment A4 is corresponding, and these two grille pictures are buffered in grille picture buffer area, instruction grid is played up the relevant position of thread in described region to be shown and is drawn respectively this two grille pictures.
Step 308, process ends.
In the embodiment of the present invention, both can be that the grille picture that often obtains the segment number in region to be shown is plotted in region to be shown timely, also can be after the grille picture of all segments number that obtains region to be shown, unified being plotted in region to be shown, does not limit at this.
Based on preceding method flow process, the device that the embodiment of the present invention also provides a kind of map to play up, the structure of this device can as shown in Figure 4, comprise:
Segment acquiring unit 41, for obtaining electronic chart by the segment number of the segment comprising in mobile terminal screen display section;
Map segment acquiring unit 42, for from acquisition for mobile terminal segment number corresponding map segment;
The first display unit 43 in the time that described map segment acquiring unit 42 can get map segment, is drawn described map segment on described mobile terminal screen;
Vector data acquiring unit 44, in the time that described map segment acquiring unit 42 can not get map segment, obtains described segment number corresponding vector data;
Rendering unit 45, plays up map segment for the vector data obtaining according to described vector data acquiring unit 44;
The second display unit 46, plays up for draw described rendering unit 45 on described mobile terminal screen the map segment obtaining.
Preferably, described map segment acquiring unit 42, specifically for, the grid preset from mobile terminal shows the grille picture buffer area that thread is corresponding, obtains described segment number corresponding map segment;
Described the first display unit 43, specifically for, start described grid and show thread, adopt grid Rendering that described map segment is plotted to the relevant position on described mobile terminal screen.
Preferably, the structure of described vector data acquiring unit 44 as shown in Figure 5, comprising:
The first vector data obtains subelement 441, for playing up from the preset vector of mobile terminal the vector data buffer area that thread is corresponding, obtains the vector data of the map segment that described segment is number corresponding;
Judging unit 442, for judging that can described the first vector data obtain subelement 441 and get described vector data, if trigger rendering unit 45, obtains subelement 443 otherwise trigger the second vector data;
The second vector data obtains subelement 443, for obtain the vector data of the map segment that described segment is number corresponding from service end, and triggers rendering unit 45.
Preferably, the aforementioned means in the embodiment of the present invention except the structure of Fig. 4, also can also be provided with expired Map block delete unit 47 on the basis of Fig. 4, as shown in Figure 6:
Expired Map block delete unit 47, for determining expired map segment from described grille picture buffer area, and expired map segment is deleted from described grille picture buffer area, expired map segment refers to that the duration of storing in described grille picture buffer area exceedes the map segment of preset duration threshold value.
The embodiment of the present invention also provides a kind of mobile terminal, and this mobile terminal comprises the device shown in earlier figures 4 or Fig. 5.
In the embodiment of the present invention, obtain the segment number of the map segment in electronic chart, the part showing at mobile terminal screen being comprised; Obtain described segment number corresponding map segment; If can get, on described mobile terminal screen, show described map segment; If can not get, obtain described segment number corresponding vector data, and play up map segment according to described vector data, on described mobile terminal screen, show and play up the map segment obtaining.Adopt technical solution of the present invention, on the one hand, can get number corresponding map segment of segment during in mobile terminal this locality, directly the map segment obtaining is plotted on mobile terminal screen, in the time can not directly getting number corresponding map segment of segment, obtain segment number corresponding vector data, and after being played up to map segment, vector data is plotted to again on mobile terminal screen, therefore need to be at the pre-stored a large amount of map segment of server end, can reduce the system resource that takies server end, and obtain the speed of map segment in mobile terminal this locality, therefore can improve the speed that shows electronic chart at mobile terminal screen, on the other hand, in the time getting number corresponding vector data of segment, show and obtain map segment map making segment on the screen of mobile terminal again by playing up, instead of directly play up at the enterprising row vector of mobile terminal screen, therefore, in the time of mobile electronic map, do not need real-time carry out vector at mobile terminal screen and play up, therefore, even mobile electronic map frequently, also can draw out faster electronic chart, not exist user to operate pause, the poor problem of mapping effect.Again on the one hand, the embodiment of the present invention is also to Map block delete expired in grille picture buffer area, thereby improved the utilization factor of grille picture buffer area.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The present invention can describe in the general context of computer executable instructions, for example program module.Usually, program module comprises and carries out particular task or realize routine, program, object, assembly, data structure of particular abstract data type etc.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, be executed the task by the teleprocessing equipment being connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium including memory device.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if to these amendments of the present invention with within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (9)

1. the method that map is played up, is characterized in that, is applied to mobile terminal, and method comprises:
Obtain the segment number of the map segment in electronic chart, the part showing at mobile terminal screen being comprised;
From number corresponding map segment of segment described in described acquisition for mobile terminal;
If can get, on described mobile terminal screen, draw described map segment;
If can not get, obtain described segment number corresponding vector data, play up map segment according to described vector data, and draw and play up the map segment obtaining on described mobile terminal screen.
2. method according to claim 1, it is characterized in that, from number corresponding map segment of segment described in described acquisition for mobile terminal, specifically comprise: the grid preset from mobile terminal shows the grille picture buffer area that thread is corresponding, obtains described segment number corresponding map segment;
On described mobile terminal screen, draw described map segment, comprising: start described grid and show thread, adopt grid Rendering that described map segment is plotted to the relevant position on described mobile terminal screen.
3. method according to claim 2, is characterized in that, obtains described segment number corresponding vector data, and plays up segment according to described vector data, comprising:
Play up the vector data buffer area that thread is corresponding from the preset vector of mobile terminal, obtain the vector data of the map segment that described segment is number corresponding;
If can get, start vector and play up thread and adopt vector Rendering that the vector data obtaining is played up to map segment, and be stored in described grille picture buffer area playing up the map segment obtaining;
If can not get, obtain described segment number corresponding vector data from service end, startup vector is played up thread and is adopted vector Rendering that the vector data obtaining is played up to map segment, and is stored in described grille picture buffer area playing up the map segment obtaining.
4. according to the method in claim 2 or 3, it is characterized in that, described method also comprises:
From described grille picture buffer area, determine expired map segment, and expired map segment is deleted from described grille picture buffer area, expired map segment refers to that the duration of storing in described grille picture buffer area exceedes the map segment of preset duration threshold value.
5. the device that map is played up, is characterized in that, is applied to mobile terminal, and device comprises:
Segment acquiring unit, for obtaining electronic chart by the segment number of the segment comprising in mobile terminal screen display section;
Map segment acquiring unit, for from acquisition for mobile terminal segment number corresponding map segment;
The first display unit in the time that described map segment acquiring unit can get map segment, is drawn described map segment on described mobile terminal screen;
Vector data acquiring unit, in the time that described map segment acquiring unit can not get map segment, obtains described segment number corresponding vector data;
Rendering unit, plays up map segment for the vector data obtaining according to described vector data acquiring unit;
The second display unit, plays up for draw described rendering unit on described mobile terminal screen the map segment obtaining.
6. device according to claim 5, is characterized in that, described map segment acquiring unit, specifically for, the grid preset from mobile terminal shows the grille picture buffer area that thread is corresponding, obtains described segment number corresponding map segment;
Described the first display unit, specifically for, start described grid and show thread, adopt grid Rendering that described map segment is plotted to the relevant position on described mobile terminal screen.
7. device according to claim 6, is characterized in that, described vector data acquiring unit, specifically for:
The first vector data obtains subelement, for playing up from the preset vector of mobile terminal the vector data buffer area that thread is corresponding, obtains the vector data of the map segment that described segment is number corresponding;
Judging unit, for judging that can described the first vector data obtain subelement and get described vector data, if trigger rendering unit, obtains subelement otherwise trigger the second vector data;
The second vector data obtains subelement, for obtain the vector data of the map segment that described segment is number corresponding from service end, and triggers rendering unit.
8. according to the device described in claim 6 or 7, it is characterized in that, also comprise:
Expired Map block delete unit, for determining expired map segment from described grille picture buffer area, and expired map segment is deleted from described grille picture buffer area, expired map segment refers to that the duration of storing in described grille picture buffer area exceedes the map segment of preset duration threshold value.
9. a mobile terminal, is characterized in that, comprises the device described in aforementioned claim 5 ~ 8 any one.
CN201210592728.9A 2012-12-29 2012-12-29 Method and apparatus for rendering map, and mobile terminal Pending CN103915033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210592728.9A CN103915033A (en) 2012-12-29 2012-12-29 Method and apparatus for rendering map, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210592728.9A CN103915033A (en) 2012-12-29 2012-12-29 Method and apparatus for rendering map, and mobile terminal

Publications (1)

Publication Number Publication Date
CN103915033A true CN103915033A (en) 2014-07-09

Family

ID=51040676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210592728.9A Pending CN103915033A (en) 2012-12-29 2012-12-29 Method and apparatus for rendering map, and mobile terminal

Country Status (1)

Country Link
CN (1) CN103915033A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240273A (en) * 2014-09-18 2014-12-24 百度在线网络技术(北京)有限公司 Raster image processing method and device
CN105575254A (en) * 2014-11-11 2016-05-11 高德信息技术有限公司 Electronic map road rendering method and apparatus
CN105719335A (en) * 2016-02-23 2016-06-29 腾讯科技(深圳)有限公司 Map image rendering method and device, and vehicle-mounted terminal
CN107491289A (en) * 2016-06-12 2017-12-19 高德信息技术有限公司 A kind of window rendering intent and device
CN108182717A (en) * 2017-12-15 2018-06-19 北京金风科创风电设备有限公司 Geographic information image generation method and device
CN109260708A (en) * 2018-08-24 2019-01-25 腾讯科技(深圳)有限公司 Map rendering method, device and computer equipment
CN109871418A (en) * 2019-01-04 2019-06-11 广州市城市规划勘测设计研究院 A kind of space index method and system of space-time data
WO2019136589A1 (en) * 2018-01-09 2019-07-18 深圳市小猫信息技术有限公司 Map label information display method and device, terminal, and readable storage medium
CN112948439A (en) * 2021-03-05 2021-06-11 北京北大千方科技有限公司 Method, device, medium and equipment for processing GIS data query request in real time

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000275050A (en) * 1999-03-23 2000-10-06 Clarion Co Ltd Navigator and method and recording medium recording software for navigation
CN1475773A (en) * 2002-08-09 2004-02-18 ���Ű�����ʽ���� Map display device and program for map display
CN101459901A (en) * 2008-12-30 2009-06-17 中国人民解放军国防科学技术大学 Vector map data transmission method based on multi-stage slicing mode
CN102023836A (en) * 2010-11-26 2011-04-20 北京腾瑞万里科技有限公司 Display method of mobile terminal vector map and mobile terminal
CN102368259A (en) * 2011-10-10 2012-03-07 北京百度网讯科技有限公司 Electronic map data storage and query method, device and system
CN102801797A (en) * 2012-08-03 2012-11-28 北京世纪高通科技有限公司 Method and device for processing traffic information of mobile internet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000275050A (en) * 1999-03-23 2000-10-06 Clarion Co Ltd Navigator and method and recording medium recording software for navigation
CN1475773A (en) * 2002-08-09 2004-02-18 ���Ű�����ʽ���� Map display device and program for map display
CN101459901A (en) * 2008-12-30 2009-06-17 中国人民解放军国防科学技术大学 Vector map data transmission method based on multi-stage slicing mode
CN102023836A (en) * 2010-11-26 2011-04-20 北京腾瑞万里科技有限公司 Display method of mobile terminal vector map and mobile terminal
CN102368259A (en) * 2011-10-10 2012-03-07 北京百度网讯科技有限公司 Electronic map data storage and query method, device and system
CN102801797A (en) * 2012-08-03 2012-11-28 北京世纪高通科技有限公司 Method and device for processing traffic information of mobile internet

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240273A (en) * 2014-09-18 2014-12-24 百度在线网络技术(北京)有限公司 Raster image processing method and device
CN105575254B (en) * 2014-11-11 2019-10-22 高德信息技术有限公司 Electronic map road rendering method and device
CN105575254A (en) * 2014-11-11 2016-05-11 高德信息技术有限公司 Electronic map road rendering method and apparatus
CN105719335A (en) * 2016-02-23 2016-06-29 腾讯科技(深圳)有限公司 Map image rendering method and device, and vehicle-mounted terminal
CN107491289A (en) * 2016-06-12 2017-12-19 高德信息技术有限公司 A kind of window rendering intent and device
CN108182717A (en) * 2017-12-15 2018-06-19 北京金风科创风电设备有限公司 Geographic information image generation method and device
CN108182717B (en) * 2017-12-15 2021-10-29 北京金风科创风电设备有限公司 Geographic information image generation method and device
WO2019136589A1 (en) * 2018-01-09 2019-07-18 深圳市小猫信息技术有限公司 Map label information display method and device, terminal, and readable storage medium
CN109260708B (en) * 2018-08-24 2020-01-10 腾讯科技(深圳)有限公司 Map rendering method and device and computer equipment
CN109260708A (en) * 2018-08-24 2019-01-25 腾讯科技(深圳)有限公司 Map rendering method, device and computer equipment
US11852499B2 (en) 2018-08-24 2023-12-26 Tencent Technology (Shenzhen) Company Limited Map rendering method and apparatus, computer device, and storage medium
CN109871418A (en) * 2019-01-04 2019-06-11 广州市城市规划勘测设计研究院 A kind of space index method and system of space-time data
CN112948439A (en) * 2021-03-05 2021-06-11 北京北大千方科技有限公司 Method, device, medium and equipment for processing GIS data query request in real time

Similar Documents

Publication Publication Date Title
CN103915033A (en) Method and apparatus for rendering map, and mobile terminal
CN101290228B (en) Map data processing method, system and mobile terminal based on mobile terminal
US9977765B2 (en) Information processing device, information processing method, information processing program, display control device, and display control program
CN109144649A (en) Display methods, device, terminal and the storage medium of icon
CN107025059B (en) Thumbnail viewing method and device
CN103514241A (en) Image loading method and system
CN109240833A (en) Resource allocation method, device, terminal and storage medium
CN107451150B (en) Geographic data presentation method and device
CN104135693A (en) A video playing method, smart TV and server
CN110222288B (en) Page display method, device and storage medium
CN112689170B (en) Content playing method of display terminal, display terminal and readable storage medium
CN105808277A (en) Card type desktop realization method, device and system
CN105824517A (en) Implementation method and apparatus of desktop
CN112836086B (en) Video processing method and device and electronic equipment
CN104731897B (en) A kind of implementation method that information shows and device
CN104010223A (en) Method and system for taking over terminal system for video playing
CN113495933A (en) Vector tile display method and system
CN105701107A (en) Character rendering method of electronic map and character rendering device of electronic map
CN103647878A (en) Weather information display system based on map and method thereof
CN110110022B (en) Multi-time-state panoramic data display interaction system
CN110134905B (en) Page update display method, device, equipment and storage medium
US11265594B2 (en) Data processing method and device, storage medium, electronic device
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN116975170A (en) Map display method, map data generation method, map display device and electronic equipment
CN108494951B (en) Unread data acquisition method, unread data acquisition device, unread data acquisition equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140709