CN105975266A - Method and device for displaying weather by use of icon - Google Patents
Method and device for displaying weather by use of icon Download PDFInfo
- Publication number
- CN105975266A CN105975266A CN201610285206.2A CN201610285206A CN105975266A CN 105975266 A CN105975266 A CN 105975266A CN 201610285206 A CN201610285206 A CN 201610285206A CN 105975266 A CN105975266 A CN 105975266A
- Authority
- CN
- China
- Prior art keywords
- weather
- icon
- data
- weather data
- new
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a method and a device for displaying weather by use of an icon, relates to the technical field of computers, and mainly aims to quickly view weather data by use of the icon. According to the technical scheme of the invention, the method comprises the steps of: acquiring the weather data provided by a weather update service, wherein the weather update service is provided by a weather application program; generating a weather icon according to the weather data; and displaying the weather icon in a system interface. The method and the device provided by the invention are mainly used for displaying the weather data by use of the icon.
Description
Technical field
The present embodiments relate to field of computer technology, particularly relate to a kind of utilize icon display weather
Method and device.
Background technology
Application program in intelligent operating system is to show with the form of icon in smart machine mostly.
The icon that user by selecting is different just can run different application programs.The icon of application program at present
Being all to be generated by significant picture making, in actual applications, the symbolic effect of icon is bigger,
Therefore, the icon of a application is also changeless.But for as the application of weather class, its content
The mode of more new change has certain regularity, chooses the mode opened to check for employing concrete interior
Holding, people get used to checking that particular content, without too much operation, therefore, is being more intuitively
Weather control is added at system interface and shows that the mode of weather is just arisen at the historic moment.But this mode needs
System carries out real-time maintenance, compares and occupies system processing resources, and the content in system interface
Time too much, its problem taking too much interface shape just seems the most prominent.
Summary of the invention
The embodiment of the present invention provides a kind of method and device utilizing icon display weather, and main purpose is
Icon is utilized quickly to check weather data.
For reaching above-mentioned purpose, present invention generally provides following technical scheme:
On the one hand, the embodiment of the present invention provides a kind of method utilizing icon display weather, and the method includes:
Obtaining weather and update the weather data that service provides, described weather updates service by weather application
There is provided;
Weather icon is generated according to described weather data;
Described weather icon is shown in system interface.
Optionally, the weather data that obtaining weather renewal service provides includes:
Obtaining weather data, described weather data includes weather state information and temperature information.
Optionally, generate weather icon according to described weather data to include:
Judge whether described weather data there are differences with currently displaying weather data;
If existing, then draw new weather icon according to described weather data.
Optionally, in system interface, show that described weather icon includes:
Judge whether new weather icon;
If existing, then updating original weather icon in system interface is described new weather icon.
Optionally, updating original weather icon in system interface is that described new weather icon includes:
When the system interface at weather icon place is current display interface, update weather icon, with display
Weather data after renewal.
On the other hand, the embodiment of the present invention provides a kind of device utilizing icon display weather, this device bag
Include:
Acquiring unit, updates, for obtaining weather, the weather data that service provides, and described weather updates service
Thered is provided by weather application;
Signal generating unit, generates weather icon for the weather data obtained according to described acquiring unit;
Display unit, for showing the weather icon that described signal generating unit generates in system interface.
Optionally, described acquiring unit, it is additionally operable to obtain weather data, described weather data includes weather
Status information and temperature information;
Second acquisition module, obtains weather data for periodically.
Optionally, described signal generating unit includes:
Judge module, for judging whether described weather data there are differences with currently displaying weather data;
When described judge module, drafting module, for judging that weather data is deposited with currently displaying weather data
When difference, draw new weather icon according to described weather data.
Optionally, described display unit includes:
Judge module, for judging whether new weather icon;
More new module, for when described judge module judges to there is new weather icon, updating system circle
In face, original weather icon is described new weather icon.
Optionally, described more new module is additionally operable to, when the system interface at weather icon place is currently displaying
During interface, update weather icon, the weather data after updating with display.
A kind of method and device utilizing icon display weather that the embodiment of the present invention provides, is by weather
Key data in application is directly displayed in system interface by the way of weather icon, it is not necessary to open
Application program is checked.Add compared with weather control with in system interface, icon need not real-time be
System is safeguarded, will not take system processing resources, and owing to weather icon is combined into weather application icon
Integrally, weather icon will not take unnecessary system interface space, therefore, utilizes icon to show weather
Data can also reduce system for comparing weather control while reaching quickly to check weather data
Process the resource taking and saving interface shape of resource.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to make to introduce simply, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of method flow diagram utilizing icon display weather that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 utilizes the method flow diagram of icon display weather for the another kind that the embodiment of the present invention provides;
A kind of apparatus structure composition frame utilizing icon display weather that Fig. 3 provides for the embodiment of the present invention
Figure;
Fig. 4 utilizes the apparatus structure composition frame of icon display weather for the another kind that the embodiment of the present invention provides
Figure.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiments provide a kind of method utilizing icon display weather, as it is shown in figure 1, the party
Method is applied in intelligent terminal, and concrete steps include:
101, obtain weather and update the weather data that service provides.
Weather application in intelligent terminal can provide the user the same day and the weather forecast number of following several days
According to.In weather application, the weather data provided includes: the temperature of weather, humidity, wind-force,
Air quality, and various weather index, as gone out row index, carwash index, ultraviolet index etc..
Obtain and more new capital of these weather datas is by obtaining the basic weather data that weather bureau provides, then warp
Cross weather application and these basis weather datas are carried out statistical computation, draw weather required in application interface
Data.
It is different that different weather application updates the frequency of weather data, and the with good grounds time period updates,
Also have and to be updated in real time.This depends primarily on weather in weather application and updates the facilities of service.
And weather update service arrange in some applications can self-defined setting.The embodiment of the present invention pair
Weather updates the data renewal frequency of service and is not specifically limited, but should ensure that when weather data is shown
Should be up-to-date weather data.
102, weather icon is generated according to weather data.
Application icon as software identification, the most changeless picture.Sky in the embodiment of the present invention
Gas icon is the dynamic weather icon that can show current weather data, needs to carry out the renewal of weather data.
General dynamic icon refers to include certain dynamic material in icon, e.g., the fan that can rotate,
The flag etc. that can wave.And in the embodiment of the present invention, the dynamic weather icon of indication is except containing dynamically element
Outside material, also include that the weather data needs in icon update dynamically.Therefore, the embodiment of the present invention
Generated weather icon is a kind of weather icon that can carry out Dynamic Display weather data.Such as, aobvious
When showing state of weather, it is possible to the Dynamic Announce sun rises, the process of landing, or the mistake dynamically rained
Journey, can also show when temperature shown by needs that being worth change to update temperature in real time according to temperature shows simultaneously
Indicating value.
Just can be real for weather icon exists the part use Dynamic Announce material of Dynamic Announce content
Existing, and need the data updated to be to have the new sky of data content after renewal by generation for display content
Gas icon changes what former weather icon realized.
103, in system interface, weather icon is shown.
Icon is the computer graphical having and clearly referring to implication, and the many conducts of icon in system interface should
By the mark of software.Owing to the icon in interface requires have same display specification, therefore, application icon
Display limited area.And weather to update the weather data that provided of service numerous, it is impossible to by all of
Weather data is shown in a weather icon.So, the embodiment of the present invention is used for generating weather icon
Weather data be weather update service provide part weather data content.
The weather data that weather icon is shown can carry out self-defined setting in weather application.Weather should
Can be displayed in the selection interface of weather data in icon with middle offer, user freely can be selected by this interface
The weather data that selecting oneself needs directly is illustrated in the weather icon of system interface, certainly, selected
The item number of weather data should ensure that icon the most clearly shows concrete data content.Exceeding the item number of display
Time, the weather data content that initiative alarming is pointed out user to select by application surpasses item.Such as, can in icon
The weather data of display is 3, when user selects to show temperature in icon in weather application, then
The weather icon of system interface directly displays the temperature of current weather, when user selects in weather application
When showing gas epidemic disaster in icon, the weather icon of system interface by display current weather temperature and
Humidity, but the data content of each display will diminish, and when user selects in icon in weather application
Display gas epidemic disaster, wind-force and during air quality, arrange interface by cannot in alarm user's icon
Show too much weather data.
It should be noted that show in weather icon the mode of weather data except above-mentioned by selected number
Outside according to all display modes in icon, it is also possible to the weather data of display will be needed according to time certain
Between be spaced showing in icon one by one, so, for display item number will not restriction, but meeting
Increasing the duration checked, when the content item of display is more, user needs to wait that the regular hour can
See the weather data of needs.
In conjunction with above-mentioned implementation it can be seen that the one that the embodiment of the present invention is used utilizes icon to show
The method showing weather, is the key data in weather application to be directly displayed at by the way of weather icon
In system interface, it is not necessary to open application program and check.Compared with adding weather control with in system interface,
Icon need not real-time system maintenance, will not take system processing resources, and due to weather icon with
Weather application icon is integrated, and weather icon will not take unnecessary system interface space, therefore, profit
Can also while reaching quickly to check weather data for comparing weather control with icon display weather data
Enough reduce the resource taking and saving interface shape of system processing resources.
In order to the method that utilize icon display weather that the embodiment of the present invention proposed is explained in more detail,
We's embodiment additionally provides a kind of method utilizing icon display weather, as in figure 2 it is shown, the method institute
Including concretely comprise the following steps:
201, display weather data in weather icon is obtained.
The weather data that weather updates service and provides is all weather datas required in weather application, and this
Weather data acquired in inventive embodiments is only intended to display weather data in weather icon.This portion
Although a point weather data is taken from weather renewal and services, but a part the most therein, and not all weather
Data.
In weather icon, the weather data of display is to update service according to weather to update sky equally when updating
The cycle of destiny evidence is carried out.It is to say, the update cycle of the weather data of display in weather icon
Shortest time depends on the weather the renewal service update cycle.
202, weather icon is drawn according to weather data.
In the embodiment of the present invention, weather icon is to generate by the way of drawing icon.Concrete drafting can
Realized by existing mapping software, it is also possible to by setting up material database by the element corresponding to weather data
Material is combined splicing and generates corresponding weather icon.Existing icon is drawn in implementation, has deposited
In a lot of ripe schemes, so, the drafting generating mode of icon is not done concrete limit by the embodiment of the present invention
Fixed.
The drafting of weather icon is to carry out the update cycle according to weather data, when weather data carries out one
Just a new weather icon should be drawn for the weather data updated after secondary renewal.But, at weather
In the case of update cycle of data is the shortest, the weather data after renewal be likely to update before sky destiny
According to identical.Therefore, in order to avoid repeating to draw identical weather icon, save and draw the place that icon causes
Reason resource occupation, before drawing icon, the weather data obtained after should first judging to update is with currently displayed
Weather data whether there are differences, only when weather data changes, just start weather icon draw
Flow process.
203, the weather icon in system interface is updated.
Weather icon in system interface can show simple weather data, such as temperature, the air of weather
Quality condition or PM2.5 (fine particle) index.When shown weather data exists and updates,
Corresponding weather icon is also required to be updated.Therefore, when updating weather icon, should first judge whether to deposit
At the new weather icon drawn, according to its time drawn, weather icon can judge whether it is new drafting
Weather icon.When there is the new weather icon drawn, former weather icon is replaced by new weather icon.
Additionally, in order to reduce the system processing resources changed shared by weather icon, it is also possible to according to weather
Whether the system interface at icon place is current display interface, determines whether new weather map the most again
Mark, is updated if there is new weather icon again.It is to say, delineating new weather icon
Time, it is not necessary to current weather icon is updated, but first judges system circle at weather icon place
Whether face is in current display interface.In the case of being not current display interface, i.e. smart machine is worked as
Front display interface is likely to be interfaces of other application or is currently in breath screen state, and user does not has
Have a mind to watch weather icon.In this case, even if there are new weather icon, without more
New weather icon.Only when the interface at weather icon place is current display interface, just by up-to-date sky
Gas icon is updated, to show current up-to-date weather data.
Further, as the realization to said method, embodiments provide one and utilize icon
The device of display weather, as it is shown on figure 3, this device includes:
Acquiring unit 31, updates, for obtaining weather, the weather data that service provides, and described weather updates clothes
Business is provided by weather application;
Signal generating unit 32, generates weather icon for the weather data according to described acquiring unit 31;
Display unit 33, for showing the weather icon of described signal generating unit 32 in system interface.
Further, as shown in Figure 4, described acquiring unit 31, it is additionally operable to obtain weather data, described
Weather data includes weather state information and temperature information.
Further, as shown in Figure 4, described signal generating unit 32 includes:
Judge module 321, for judging whether described weather data exists with currently displaying weather data
Difference;
Drafting module 322, for when described judge module 321 destiny evidence and currently displaying weather data
When there are differences, draw new weather icon according to described weather data.
Further, as shown in Figure 4, described display unit 33 includes:
Judge module 331, for judging whether new weather icon;
More new module 332, for when described judge module 331 is at new weather icon, updates system
In interface, original weather icon is described new weather icon.
Further, described more new module 332 is additionally operable to, when the system interface at weather icon place is for working as
During front display interface, update weather icon, the weather data after updating with display.
In sum, a kind of method and device utilizing icon display weather that the embodiment of the present invention is used,
It is that the key data in weather application is directly displayed in system interface by the way of weather icon, nothing
Application program need to be opened check.Compared with adding weather control with in system interface, icon need not in real time
System maintenance, will not take system processing resources, and owing to weather icon closes with weather application icon
Being integrated, weather icon will not take unnecessary system interface space, therefore, utilizes icon to show weather
Data can also reduce system while reaching quickly to check weather data and process for comparing weather control
The resource taking and saving interface shape of resource.
Device embodiment described above is only schematically, wherein said illustrates as separating component
Unit can be or may not be physically separate, the parts shown as unit can be or
Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network
On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment
The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible
Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality
The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly
Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words
Dividing and can embody with the form of software product, this computer software product can be stored in computer can
Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one
Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it
Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area
Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or
Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill
The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. the method utilizing icon display weather, it is characterised in that described method includes:
Obtaining weather and update the weather data that service provides, described weather updates service by weather application
There is provided;
Weather icon is generated according to described weather data;
Described weather icon is shown in system interface.
Method the most according to claim 1, it is characterised in that obtain weather and update what service provided
Weather data includes:
Obtaining weather data, described weather data includes weather state information and temperature information.
Method the most according to claim 2, it is characterised in that generate sky according to described weather data
Gas icon includes:
Judge whether described weather data there are differences with currently displaying weather data;
If existing, then draw new weather icon according to described weather data.
4. according to the method according to any one of claim 1-3, it is characterised in that in system interface
Show that described weather icon includes:
Judge whether new weather icon;
If existing, then updating original weather icon in system interface is described new weather icon.
Method the most according to claim 4, it is characterised in that update original sky in system interface
Gas icon is that described new weather icon includes:
When the system interface at weather icon place is current display interface, update weather icon, with display
Weather data after renewal.
6. the device utilizing icon display weather, it is characterised in that described device includes:
Acquiring unit, updates, for obtaining weather, the weather data that service provides, and described weather updates service
Thered is provided by weather application;
Signal generating unit, generates weather icon for the weather data obtained according to described acquiring unit;
Display unit, for showing the weather icon that described signal generating unit generates in system interface.
Device the most according to claim 6, it is characterised in that described acquiring unit is additionally operable to obtain
Weather data, described weather data includes weather state information and temperature information.
Device the most according to claim 7, it is characterised in that described signal generating unit includes:
Judge module, for judging whether described weather data there are differences with currently displaying weather data;
When described judge module, drafting module, for judging that weather data is deposited with currently displaying weather data
When difference, draw new weather icon according to described weather data.
9. according to the device according to any one of claim 6-8, it is characterised in that described display unit
Including:
Judge module, for judging whether new weather icon;
More new module, for when described judge module judges to there is new weather icon, updating system circle
In face, original weather icon is described new weather icon.
Device the most according to claim 9, it is characterised in that described more new module is additionally operable to,
When the system interface at weather icon place is current display interface, update weather icon, to show renewal
After weather data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610285206.2A CN105975266A (en) | 2016-04-29 | 2016-04-29 | Method and device for displaying weather by use of icon |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610285206.2A CN105975266A (en) | 2016-04-29 | 2016-04-29 | Method and device for displaying weather by use of icon |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975266A true CN105975266A (en) | 2016-09-28 |
Family
ID=56993565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610285206.2A Pending CN105975266A (en) | 2016-04-29 | 2016-04-29 | Method and device for displaying weather by use of icon |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975266A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928708A (en) * | 2019-11-20 | 2020-03-27 | 维沃移动通信有限公司 | Icon display method and device, electronic equipment and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033860A (en) * | 2010-12-15 | 2011-04-27 | 东莞宇龙通信科技有限公司 | Method and terminal for displaying weather application icon |
CN102202134A (en) * | 2011-04-29 | 2011-09-28 | 宇龙计算机通信科技(深圳)有限公司 | Display method of weather forecast and mobile terminal |
CN103873686A (en) * | 2014-03-10 | 2014-06-18 | 小米科技有限责任公司 | Method, device and terminal equipment for processing icon, |
-
2016
- 2016-04-29 CN CN201610285206.2A patent/CN105975266A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033860A (en) * | 2010-12-15 | 2011-04-27 | 东莞宇龙通信科技有限公司 | Method and terminal for displaying weather application icon |
CN102202134A (en) * | 2011-04-29 | 2011-09-28 | 宇龙计算机通信科技(深圳)有限公司 | Display method of weather forecast and mobile terminal |
CN103873686A (en) * | 2014-03-10 | 2014-06-18 | 小米科技有限责任公司 | Method, device and terminal equipment for processing icon, |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928708A (en) * | 2019-11-20 | 2020-03-27 | 维沃移动通信有限公司 | Icon display method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11030556B1 (en) | Digital processing systems and methods for dynamic object display of tabular information in collaborative work systems | |
US20210157978A1 (en) | Digital processing systems and methods for autofill actions in collaborative work systems | |
US7827499B2 (en) | Hierarchical dataset dashboard view | |
US6853375B2 (en) | Method for preemptive screen rendering | |
US9519692B2 (en) | Visualizing related events within a timeline | |
US10684610B2 (en) | Method and system for use in connection with an industrial control system | |
WO2001055968A2 (en) | Virtual trading floor system and method | |
US20230048298A1 (en) | Systems and Method for a Customizable Layered Map for Visualizing and Analyzing Geospatial Data | |
US20130106906A1 (en) | Reflecting values for a metric in a display | |
US10956293B2 (en) | Automated process performance determination | |
US20140222538A1 (en) | Customer experience management for an organization | |
US20200286022A1 (en) | Platform for In-Memory Analysis of Network Data Applied to Site Selection with Current Market Information, Demand Estimates, and Competitor Information | |
US8103948B2 (en) | Method for providing both automated and on demand project performance measurements | |
CN107506499A (en) | The method, apparatus and server of logical relation are established between point of interest and building | |
EP2605115A1 (en) | Display device, display method and program | |
US9449406B2 (en) | Manipulating timelines | |
CN105550373A (en) | Method, device and system for displaying data | |
US11493905B2 (en) | System and method for supporting production management | |
US20200051181A1 (en) | System and method for supporting production management | |
CN105975266A (en) | Method and device for displaying weather by use of icon | |
US11367032B2 (en) | System and method for supporting production management | |
JP2003067188A (en) | Project management method, device and program | |
CN113689113A (en) | Method and device for recommending process information, storage medium and processor | |
US9235424B1 (en) | Managing the performance of a data processing system through visualization of performance metrics data via a cognitive map | |
CN110471730A (en) | Methods of exhibiting, system, big screen system and medium based on Echarts |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160928 |