CN102930777A - System and method for representing world map weather based on embedded-type device - Google Patents

System and method for representing world map weather based on embedded-type device Download PDF

Info

Publication number
CN102930777A
CN102930777A CN2012103711152A CN201210371115A CN102930777A CN 102930777 A CN102930777 A CN 102930777A CN 2012103711152 A CN2012103711152 A CN 2012103711152A CN 201210371115 A CN201210371115 A CN 201210371115A CN 102930777 A CN102930777 A CN 102930777A
Authority
CN
China
Prior art keywords
weather
city
information
draw
map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103711152A
Other languages
Chinese (zh)
Other versions
CN102930777B (en
Inventor
陈淮琰
张帅
张庆贺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Besta Xian Co Ltd
Original Assignee
Inventec Besta Xian 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 Inventec Besta Xian Co Ltd filed Critical Inventec Besta Xian Co Ltd
Priority to CN201210371115.2A priority Critical patent/CN102930777B/en
Publication of CN102930777A publication Critical patent/CN102930777A/en
Application granted granted Critical
Publication of CN102930777B publication Critical patent/CN102930777B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a system for representing the world map weather based on an embedded-type device. The system for representing the world map weather based on the embedded-type device comprises an analyzing unit, a drawing unit, a calculating unit, an acquiring unit and a processing unit which are connected in sequence, wherein the analyzing unit analyzes map information; the drawing unit draws information on a map; the calculating unit calculates coordinate points; the acquiring unit acquires the urban information of the coordinate points; and the processing unit is used for representing. According to the system and a method for representing the world map weather based on the embedded-type device, the weather of the embedded-type device on the world map can be represented intuitively and accurately.

Description

A kind of system and method for the performance world map weather based on embedded device
Technical field
The present invention relates to a kind of system and method for the performance world map weather based on embedded device.
Background technology
At present, the weather application on the market is the Weather information that just shows current city behind the selection city, directly the universal geography position in this city of locating and displaying mostly.For map application, also be to show all Weather informations at whole map, for mobile device, be subject to quantity of information with display area in limited time, can not bring good user to experience.As a world weather software of forecasting for the mobile device customization, can show accurately intuitively that all Weather informations that add the city just seem important.
Summary of the invention
In order to solve existing technical matters in the background technology, the present invention proposes a kind of system and method for the performance world map weather based on embedded device, intuitively show accurately the weather of embedded device on world map.
Technical solution of the present invention is: a kind of system of the performance world map weather based on embedded device, it is characterized in that: described system comprise to the analytic unit of map information analysis, map draw drawing unit, the coordinates computed point of information computing unit, obtain the acquiring unit of coordinate points urban information and the processing unit that shows, described analytic unit, drawing unit, computing unit, acquiring unit and processing unit connect successively.
The information that above-mentioned drawing unit is drawn shows with the nine grids form.
Above-mentioned acquiring unit is the concrete Weather information that obtains the city by API.
A kind of method of the performance world map weather based on embedded device may further comprise the steps:
1) drafting indicates the round the clock time dense fog of information;
2) obtain the city list coordinate;
3) obtain city list Weather information and show that weather is detailed.
Above-mentioned steps 1) concrete steps are:
1.1) obtain the current main frame time;
1.2) obtain the X-axis coordinate of screen in the time zone of 0:00;
1.3) calculate (the X-5* time zone is interval) whether less than 0, if then continue step 1.4);
1.4) draw to the left to the screen left-hand end, continue to draw the time dense fog left from the screen right-hand member;
1.5) whether calculate (the X+6* time zone is interval) greater than screen width, if continue step 1.6);
1.6) draw to the right to the screen right-hand end, continue to draw the time dense fog to the right from the screen left end.
Above-mentioned steps 1.3) if (the X-5* time zone is interval) is not less than 0, then draws the time dense fog to the screen left side.
Above-mentioned steps 1.5) if (the X+6* time zone is interval) is not more than screen width, then draws the time dense fog to the screen right side.
Above-mentioned steps 2) concrete steps are:
2.1) obtain the city list that need to show;
2.2) obtain next urban information;
2.3) obtain the longitude and latitude in current city;
2.4) obtain current city the country one belongs to capital coordinate points on map;
2.5) calculate the position skew of current city and capital city according to engineer's scale;
2.6) judge whether there is step 2.5 in the stored record) and (X, Y) coordinate, carry out (X, Y) coordinate offset if having;
2.7) storage city list of coordinates.
Above-mentioned steps 3) concrete steps are:
3.1) obtain the city list that need to show;
3.2) obtain next urban information;
3.3) obtain the weather condition in current city;
3.4) obtain the expression this weather figure coordinate;
3.5) draw the coordinate points in this city at map;
3.6) draw and show the simple frame of this urban weather information of expression.
The invention provides a kind of directly perceived accurately technique of expression of weather on world map based on embedded device, have following characteristics: show selected city coordinate position on the world map; Urban weather information uses the round dot of particular color to represent; Have time dense fog effect and represent round the clock conversion of the earth, utilize the plane world map of an expansion, locate the concrete coordinate of this city on map according to the latitude and longitude information in city, and the difference according to current weather, show the coordinate points of the different colours with particular weather Meaning of Information, and provide one to close on the current real-time Weather information that prompting frame comes the display-object city.
The user experiences in order to provide more intuitively, according to the current time, adds a kind of state of similar time dense fog for whole map, shows the round the clock information in the present whole world, and dark part represents night, and bright part represents daytime, enriches user's experience.
The present invention is mainly for the little characteristics such as network service restriction that are subjected to of embedded device screen, the form of expression of a kind of weather on world map is provided, utilize the plane world map of an expansion, utilize the latitude and longitude information in city to calculate the coordinate of city on screen, convert the coordinate points with weather implication to according to the state of weather and be presented on the screen, show that near this small-sized coordinate points the text box that can shrink expansion represents detailed Weather information.And, according to the temporal information on the subscriber equipment, show round the clock situation at world map intuitively, the required Weather information of understanding that can help the user to prepare fast.In addition, this technique of expression user that also can help sets up intuitively universal geography information, and study is to some geographical knowledges.
Description of drawings
Fig. 1 is structural representation of the present invention;
Fig. 2 is coordinate points skew schematic diagram of the present invention;
Fig. 3 is method flow diagram of the present invention;
Fig. 4 is the round the clock time dense fog drafting process flow diagram of information of the present invention;
Fig. 5 is city of the present invention coordinate points calculation flow chart;
Fig. 6 is urban weather details process flow diagram of the present invention;
Fig. 7 .1-Fig. 7 .4 is the specific embodiment of the present invention schematic diagram;
Embodiment
Referring to Fig. 1, a kind of system of the performance world map weather based on embedded device, comprise analytic unit 1 to the map information analysis, map draw drawing unit 2, the coordinates computed point of information computing unit 3, obtain the acquiring unit 4 of coordinate points urban information and the processing unit 5 that shows, analytic unit 1, drawing unit 2, computing unit 3, acquiring unit 4 and processing unit 5 connect successively; The information that drawing unit 2 is drawn shows with the nine grids form; Acquiring unit 4 is the concrete Weather informations that obtain the city by API.
A kind of method of the performance world map weather based on embedded device may further comprise the steps:
1) drafting indicates the round the clock time dense fog of information;
1.1) obtain the current main frame time;
1.2) obtain the X-axis coordinate of screen in the time zone of 0:00;
1.3) calculate (the X-5* time zone is interval) whether less than 0, if then continue step 1.4); If (the X-5* time zone is interval) is not less than 0, then draw the time dense fog to the screen left side;
1.4) draw to the left to the screen left-hand end, continue to draw the time dense fog left from the screen right-hand member;
1.5) whether calculate (the X+6* time zone is interval) greater than screen width, if continue step 1.6); If (the X+6* time zone is interval) is not more than screen width, then draw the time dense fog to the screen right side;
1.6) draw to the right to the screen right-hand end, continue to draw the time dense fog to the right from the screen left end;
2) obtain the city list coordinate;
2.1) obtain the city list that need to show;
2.2) obtain next urban information;
2.3) obtain the longitude and latitude in current city;
2.4) obtain current city the country one belongs to capital coordinate points on map;
2.5) calculate the position skew of current city and capital city according to engineer's scale;
2.6) judge whether there is step 2.5 in the stored record) and (X, Y) coordinate, carry out (X, Y) coordinate offset if having;
2.7) storage city list of coordinates;
3) obtain city list Weather information and show that weather is detailed.
3.1) obtain the city list that need to show;
3.2) obtain next urban information;
3.3) obtain the weather condition in current city;
3.4) obtain the expression this weather figure coordinate;
3.5) draw the coordinate points in this city at map;
3.6) draw and show the simple frame of this urban weather information of expression.
Implementation of the present invention is specifically referring to Fig. 2-Tu, and 6, at first draw round the clock information at map.Here ignored the revolution impact of the earth, only consider the rotation factor, assert and be round the clock 12 hours, calculate the area of current 0:00 according to main frame time and main frame time zone meter, then with this area as the most black part, respectively draw to the left and right the gradual change black in 6 time zones, then continue to draw from the screen another side such as screen border, represent to concern round the clock with this, the transparent print layer of simply drawing the somber of one deck gradual change hides world map, to represent round the clock conversion.
Then, calculate the coordinate points of selecting the city according to the urban information of user selection and the transformational relation of screen pixels, here need to prove because the restriction of embedded device screen size, may overlap at map owing to the factor of engineer's scale for the city of closing on the map, here need to do according to the mode of nine grids according to the latitude and longitude information in city the skew of certain direction, if two city longitudes and latitudes are identical, then acquiescence is toward upper right skew, referring to Fig. 2.
Obtain at last the concrete Weather information in this city by API, concrete weather representation according to prior agreement, give a kind of graphical information of concrete weather to coordinate points, as shown in table 1, be presented on the world map of the current expansion of screen, and the rendering text frame represents concrete Weather information around point, equally, demonstration according to embedded device, the text box here has the up and down manifestation mode of superposition, to the text box of the weather details pressure that change, text frame has the operation of choosing the automatic integral top set according to the sequencing that calculates, and the while also can be launched zoom operations by the click of city coordinate points.
Table 1
Figure DEST_PATH_GDA00002452653400051
This method to the integration of obtaining data, has the technique of expression that 3 large key steps are finished world weather, referring to Fig. 3 by the analysis to cartographic information; At first, draw at map according to the main frame time and to represent the round the clock time dense fog of information, then obtain the coordinate information in current selected city, obtain at last the Weather information in selected city by API, according to the coordinate information that obtains, show coordinate points and the weather concise message of the current urban weather of expression.
Referring to Fig. 4, at first obtain the current time of main frame, according to the time-zone information of main frame, the time zone when calculating 0:00 obtains x coordinate corresponding to screen.Then, to 5 time zones in 0 time zone left side, namely the time dense fog of gradual change is added in the 19:00-00:00 zone, if left field show not, then continue left to show from the screen low order end.Then, to 6 zones on the right side in this 0 time zone, namely similar time dense fog, the drawing process of deadline dense fog are added in the 0:00-6:00 zone.
Owing to considering that there is error in the map on reduced scale, if simple calculating according to longitude and latitude may cause the location inaccurate, if for each storing coordinate position, city is again a thing that wastes time and energy very much, adopted the method for dwindling orientation range to reduce this error here.At first obtain the latitude and longitude information of target cities, then from database, search the physical location of capital on the map that dwindles of current city the country one belongs to, calculate this target cities with respect to the skew of capital city according to engineer's scale, orient the actual coordinate value in this city.At last, judge whether this coordinate figure follows other city coordinate of queue stores that conflict is arranged, if conflict is arranged, then carry out the realization coordinate offset that the nine grids shifting algorithm is finished target cities, repeat above-mentioned steps until calculate the city coordinate information of storing in all formations.
Referring to Fig. 6, at first obtain the real-time Weather information in current city by API, then search the corresponding table of weather coordinate points (table 1) according to different state of weather and obtain current city map coordinate points, show corresponding map reference point and the simple frame that shows around this urban weather detail at map, if need superposition, then rear one covers previous processing.Until shown the city that all are selected.
Specific embodiments of the invention are referring to Fig. 7 .1-Fig. 7 .4, Fig. 7 .1 is the time dense fog state representation of peacetime state, wherein the details in 2 cities has been carried out shrink process: Fig. 7 .2, Fig. 7 .3 show (non-time dense fog state) for the world map of part weather: Fig. 7 .4 is the processing mode that Weather information overlaps.

Claims (9)

1. system based on the performance world map weather of embedded device, it is characterized in that: described system comprise to the analytic unit of map information analysis, map draw drawing unit, the coordinates computed point of information computing unit, obtain the acquiring unit of coordinate points urban information and the processing unit that shows, described analytic unit, drawing unit, computing unit, acquiring unit and processing unit connect successively.
2. the system of the performance world map weather based on embedded device according to claim 1, it is characterized in that: the information that described drawing unit is drawn shows with the nine grids form.
3. the system of the performance world map weather based on embedded device according to claim 2, it is characterized in that: described acquiring unit is the concrete Weather information that obtains the city by API.
4. method based on the performance world map weather of embedded device is characterized in that: said method comprising the steps of:
1) drafting indicates the round the clock time dense fog of information;
2) obtain the city list coordinate;
3) obtain city list Weather information and show that weather is detailed.
5. the method for the performance world map weather based on embedded device according to claim 4, it is characterized in that: concrete steps described step 1) are:
1.1) obtain the current main frame time;
1.2) obtain the X-axis coordinate of screen in the time zone of 0:00;
1.3) calculate (the X-5* time zone is interval) whether less than 0, if then continue step 1.4);
1.4) draw to the left to the screen left-hand end, continue to draw the time dense fog left from the screen right-hand member;
1.5) whether calculate (the X+6* time zone is interval) greater than screen width, if continue step 1.6);
1.6) draw to the right to the screen right-hand end, continue to draw the time dense fog to the right from the screen left end.
6. the method for the performance world map weather based on embedded device according to claim 5 is characterized in that: described step 1.3) if (the X-5* time zone is interval) is not less than 0, then draw the time dense fog to the screen left side.
7. the method for the performance world map weather based on embedded device according to claim 6 is characterized in that: described step 1.5) if (the X+6* time zone is interval) is not more than screen width, then draw the time dense fog to the screen right side.
8. the method for the performance world map weather based on embedded device according to claim 7, it is characterized in that: concrete steps described step 2) are:
2.1) obtain the city list that need to show;
2.2) obtain next urban information;
2.3) obtain the longitude and latitude in current city;
2.4) obtain current city the country one belongs to capital coordinate points on map;
2.5) calculate the position skew of current city and capital city according to engineer's scale;
2.6) judge whether there is step 2.5 in the stored record) and (X, Y) coordinate, carry out (X, Y) coordinate offset if having;
2.7) storage city list of coordinates.
9. the method for the performance world map weather based on embedded device according to claim 8, it is characterized in that: concrete steps described step 3) are:
3.1) obtain the city list that need to show;
3.2) obtain next urban information;
3.3) obtain the weather condition in current city;
3.4) obtain the expression this weather figure coordinate;
3.5) draw the coordinate points in this city at map;
3.6) draw and show the simple frame of this urban weather information of expression.
CN201210371115.2A 2012-09-28 2012-09-28 System and method for representing world map weather based on embedded-type device Expired - Fee Related CN102930777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210371115.2A CN102930777B (en) 2012-09-28 2012-09-28 System and method for representing world map weather based on embedded-type device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210371115.2A CN102930777B (en) 2012-09-28 2012-09-28 System and method for representing world map weather based on embedded-type device

Publications (2)

Publication Number Publication Date
CN102930777A true CN102930777A (en) 2013-02-13
CN102930777B CN102930777B (en) 2015-07-08

Family

ID=47645564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210371115.2A Expired - Fee Related CN102930777B (en) 2012-09-28 2012-09-28 System and method for representing world map weather based on embedded-type device

Country Status (1)

Country Link
CN (1) CN102930777B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2196315Y (en) * 1994-04-20 1995-05-03 兰家林 Map clock
CN1366465A (en) * 2000-03-21 2002-08-28 索尼计算机娱乐公司 Entertainment apparatus, storage medium and method of deciding weather
JP2003315071A (en) * 2002-04-25 2003-11-06 Sony Corp Map display system, map display device, and method and program for displaying traffic congestion information
WO2006006450A1 (en) * 2004-07-08 2006-01-19 Sharp Kabushiki Kaisha Information processing device, information processing system, information processing device control method, information processing device control program, and recording medium containing the information processing device control program
CN2807308Y (en) * 2005-02-04 2006-08-16 范者正 Electronic time zone chart displaying apparatus synchronize with sunshine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2196315Y (en) * 1994-04-20 1995-05-03 兰家林 Map clock
CN1366465A (en) * 2000-03-21 2002-08-28 索尼计算机娱乐公司 Entertainment apparatus, storage medium and method of deciding weather
JP2003315071A (en) * 2002-04-25 2003-11-06 Sony Corp Map display system, map display device, and method and program for displaying traffic congestion information
WO2006006450A1 (en) * 2004-07-08 2006-01-19 Sharp Kabushiki Kaisha Information processing device, information processing system, information processing device control method, information processing device control program, and recording medium containing the information processing device control program
CN2807308Y (en) * 2005-02-04 2006-08-16 范者正 Electronic time zone chart displaying apparatus synchronize with sunshine

Also Published As

Publication number Publication date
CN102930777B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN102155949B (en) Method for displaying weather information in navigation and navigation terminal
CN102227611B (en) For providing the method and apparatus of the cursor of context data in instruction drawing application
CN102202134B (en) Display method of weather forecast and mobile terminal
CN104731894A (en) Thermodynamic diagram display method and device
CN103927374B (en) A kind of Web GIS map layer creation method based on SharpMap
CN103986814B (en) Create the method and mobile terminal of message registration
CN103971589A (en) Processing method and device for adding interest point information of map to street scene images
CN101706809A (en) Method, device and system for processing multi-source map data
EP2926089A2 (en) Image processing device, image processing method, program, and terminal device
CN110766317B (en) City index data display method, system, electronic equipment and storage medium
CN104833362A (en) Method for generating positioning and driving path of route fixed vehicle on basis of Baidu map
CN105466413A (en) An augmented-reality real-scene navigation technique based on an intelligent mobile platform and combining GPS
CN107065504A (en) Including the clock object for the visual pattern designator changed with the interactive time
US20120162252A1 (en) Image output apparatus and image output control method
CN115796712B (en) Regional land ecosystem carbon reserve estimation method and device and electronic equipment
CN103500060A (en) Electronic map manufacturing method, electronic map manufacturing device, electronic map displaying method and electronic map displaying device
CN111260749A (en) Method, device and storage medium for generating standard scale map
CN103487059A (en) Positioning and navigation system, device and method
TWI335423B (en) Navigation apparatus using image map and method thereof
CN109857826B (en) Video camera visual field marking system and marking method thereof
CN108375806A (en) The acquisition methods and device of weather-map
Yang et al. A comprehensive and up-to-date web-based interactive 3D emergency response and visualization system using Cesium Digital Earth: taking landslide disaster as an example
CN103647878A (en) Weather information display system based on map and method thereof
CN103292776B (en) The method of intelligent movable equipment, the method obtaining position of sun and forecast sunrise sunset
CN102930777B (en) System and method for representing world map weather based on embedded-type 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150708

Termination date: 20160928