CN104423815B - Display method of weather information, device and terminal device - Google Patents

Display method of weather information, device and terminal device Download PDF

Info

Publication number
CN104423815B
CN104423815B CN201310364220.8A CN201310364220A CN104423815B CN 104423815 B CN104423815 B CN 104423815B CN 201310364220 A CN201310364220 A CN 201310364220A CN 104423815 B CN104423815 B CN 104423815B
Authority
CN
China
Prior art keywords
weather information
current slot
handover operation
time section
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310364220.8A
Other languages
Chinese (zh)
Other versions
CN104423815A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310364220.8A priority Critical patent/CN104423815B/en
Priority to PCT/CN2014/084024 priority patent/WO2015024463A1/en
Publication of CN104423815A publication Critical patent/CN104423815A/en
Application granted granted Critical
Publication of CN104423815B publication Critical patent/CN104423815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W1/00Meteorology

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Atmospheric Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Ecology (AREA)
  • Environmental Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of display method of weather information, device and terminal devices, belong to field of terminal technology.The described method includes: the Weather information of display current slot;When detecting the handover operation to the Weather information of the current slot, from the Weather information of each period obtained in advance, Weather information corresponding with the target time section of the handover operation is obtained;Show the Weather information of the target time section.The device includes: that display module and Weather information obtain module.The present invention passes through when detecting the handover operation to the Weather information of current slot, the Weather information of each period obtained according to the target time section of the handover operation and in advance, obtain Weather information corresponding with the target time section of the handover operation, and show Weather information corresponding with the target time section, it avoids because frequently jumping the webpage waste plenty of time, improves the efficiency of information inspection and the prompt precision of Weather information.

Description

Display method of weather information, device and terminal device
Technical field
The present invention relates to field of terminal technology, in particular to a kind of display method of weather information, device and terminal device.
Background technique
With the development of network technology, people can obtain more and more information such as Weather information etc. from network.For Convenient for the acquisition of information, people can use the application of weather class and whenever and wherever possible know Weather information all over the world.
Existing weather class application in, usually shown in the main interface of application current time Weather information (including Temperature, weather conditions and wind direction etc.) and these last few days basic Weather information (weather conditions and temperature range).The main interface is only Comprising above-mentioned Weather information, user then needs if it is intended to the acquisition more detailed Weather information of these last few days from current main boundary Face jumps to corresponding webpage and is checked.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
The information that main interface is supplied directly to user is the weather letter of current Weather information and these last few days on the whole Breath, rather than accurately weather forecast at times.The Weather information that user goes for some period also needs to jump to phase The webpage answered, or even what webpage is required to look up, it takes a substantial amount of time, low efficiency.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of display method of weather information, device and Terminal device.The technical solution is as follows:
On the one hand, a kind of display method of weather information is provided, this method comprises:
Show the Weather information of current slot;
When detecting the handover operation to the Weather information of the current slot, from each period obtained in advance In Weather information, Weather information corresponding with the target time section of the handover operation is obtained;
Show the Weather information of the target time section.
On the other hand, a kind of Weather information display device is provided, which includes:
Display module, for showing the Weather information of current slot;
Weather information obtains module, for when detecting the handover operation to the Weather information of the current slot, from In the Weather information of each period obtained in advance, Weather information corresponding with the target time section of the handover operation is obtained;
The display module is also used to show the Weather information of the target time section.
Another aspect additionally provides a kind of terminal device, which includes memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor executes this or more than one program includes the instruction for performing the following operation: showing current slot Weather information;When detecting the handover operation to the Weather information of the current slot, from each period obtained in advance Weather information in, obtain corresponding with the target time section of handover operation Weather information;Show the day of the target time section Gas information.
Technical solution provided in an embodiment of the present invention has the benefit that
By when detecting the handover operation to the Weather information of current slot, when according to the target of the handover operation Between the Weather information of section and each period obtained in advance, obtain corresponding with the target time section of handover operation weather Information, and show Weather information corresponding with the target time section, it avoids because frequently jumping the webpage waste plenty of time, improves The efficiency of information inspection and the prompt precision of Weather information.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of display method of weather information flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of display method of weather information flow chart provided in an embodiment of the present invention;
Fig. 3 is the interface schematic diagram that Weather information provided in an embodiment of the present invention is shown;
Fig. 4 is the schematic diagram that current weather information provided in an embodiment of the present invention shows handoff procedure;
Fig. 5 is the structural schematic diagram of Weather information display device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of Weather information display device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of Weather information display device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of Weather information display device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of terminal device involved in the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of flow chart of display method of weather information provided in an embodiment of the present invention.The execution master of the embodiment Body is terminal device, referring to Fig. 1, this method comprises:
101, the Weather information of current slot is shown.
102, when detecting the handover operation to the Weather information of current slot, from each period obtained in advance Weather information in, obtain corresponding with the target time section of handover operation Weather information.
103, the Weather information of displaying target period.
Method provided in an embodiment of the present invention, by detecting the handover operation to the Weather information of current slot When, the Weather information of each period obtained according to the target time section of the handover operation and in advance obtains and the switching The corresponding Weather information of the target time section of operation, and show Weather information corresponding with the target time section, it avoids because of frequency It is numerous to jump the webpage waste plenty of time, improve the efficiency of information inspection and the prompt precision of Weather information.
Optionally, before showing current slot Weather information, this method further include:
When receiving enabled instruction, the Weather information of current slot is obtained;
It gets Date and the Weather information of each period of target date, the target date and the current date Between be spaced preset number of days.
Optionally, which is the scroll operation of the display area progress of period Weather information in this prior;Or,
The screen sliding that the handover operation can carry out for the display area of the Weather information of period in this prior operates;Or,
When in the display area of the current slot Weather information including clock, which is the finger to the clock The drag operation of needle;
Or,
When in the display area of the current slot Weather information including digital dock, which is to the number The screen sliding of clock operates.
Optionally, each from what is obtained in advance when detecting the handover operation to the Weather information of the current slot In the Weather information of period, obtaining Weather information corresponding with the target time section of the handover operation includes:
When including clock in the display area of the current slot Weather information, when detecting to this, hand of a clock is dragged When dragging operation, the terminal time of the drag operation is obtained;
Period belonging to the terminal time is determined as to the target time section of the handover operation;
From the Weather information of each period obtained in advance, obtain corresponding with the target time section of the handover operation Weather information.
Optionally, each from what is obtained in advance when detecting the handover operation to the Weather information of the current slot In the Weather information of period, obtaining Weather information corresponding with the target time section of the handover operation includes:
When detecting the scroll operation of the display area progress to the current slot Weather information, when the scroll operation When to roll to first direction, be determined as to the target time section of the handover operation next period of the current slot; When the scroll operation is to roll to second direction, a upper period for the current slot was determined as the handover operation Target time section, wherein the first direction is opposite with second direction;
From the Weather information of each period obtained in advance, obtain corresponding with the target time section of the handover operation Weather information.
Optionally, after the Weather information for showing the target time section, this method further include:
When the display time of the Weather information to the target time section being more than preset duration, the target that will currently show The Weather information that the Weather information of period is switched to the current slot is shown;Or,
It is more than preset duration and the control for executing the handover operation when the display time of the Weather information to the target time section When control equipment hovering position changes, the Weather information of the target time section currently shown is switched to the current slot Weather information shown.
Optionally, the Weather information of the target time section currently shown is switched to the Weather information of the current slot Carrying out display includes:
Generate the animation for showing Weather information handoff procedure, which includes the current slot to the object time Weather information corresponding to each period between section;
The animation is played, at the end of the animation play, shows the Weather information of the current slot.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 2 is a kind of flow chart of display method of weather information provided in an embodiment of the present invention.The inventive embodiments are held Row main body is terminal device, referring to fig. 2, this method comprises:
201, when receiving enabled instruction, the Weather information of current slot is obtained.
Wherein, enabled instruction is for starting the weather information display function;Current slot refers to present terminal equipment Period belonging to system time.The Weather information includes at least belonging to temperature, weather conditions, wind direction information and the Weather information Ground title etc..
Specifically, which includes: the system time of terminal device to be obtained, according to this when receiving enabled instruction Period belonging to system time obtains the Weather information of current slot.
In the step 201, the time span of period can be 1 hour, for example, 24 periods were divided by one day, Respectively 00:00~00:59,01:00~01:59 ... ..., 23:00~23:59;Or 24 periods were divided by one day, Respectively 23:30~00:29,00:30~01:29 ... ..., 22:30~23:29, certainly, the time span of period can be with For other durations in addition to 1 hour, such as 2 hours, 3 hours, the embodiment of the present invention does not make the division mode of period It is specific to limit.
Further, when receiving enabled instruction, the Weather information to get Date, the weather letter of the current date Breath is the weather summary information in current date 24 hours.
202, get Date and between target date each period Weather information, the target date with deserve Preset number of days is spaced between the preceding date.
Wherein, preset number of days can be preset by terminal device, can also need to set according to oneself by user.As in advance If number of days be 3 days, and current date be 2013.7.20 days, then obtain 2013.7.20 each period Weather information and 2013.7.21 to the Weather information of 2013.7.23 days each periods.
Further, it when receiving enabled instruction, gets Date and weather daily between target date is believed Breath, the Weather information of the current date are the weather summary information in current date 24 hours.
Acquisition described in above-mentioned steps 201-202 may each be to be obtained from the server for carrying out weather forecast, this hair Bright embodiment is not construed as limiting the detailed process of acquisition.In addition, it will be appreciated by those skilled in the art that the acquisition includes to weather The reception and storage of information, in storage, by period storage corresponding with Weather information.
203, the Weather information of current slot is shown.
Specifically, the Weather information of current slot is shown in period Weather information display area.
Further, when specified display area shows the Weather information of current slot, current date and mesh are shown Mark Weather information daily between the date.
For example, Fig. 3 is a kind of Weather information display schematic diagram provided in an embodiment of the present invention.Referring to Fig. 3, the interface Including for showing the first display area 301 of the Weather information as unit of the period and for showing the day as unit of day Second display area 302 of gas information includes from current date to after a few days ago currently in second display area 302 Daily Weather information in three days.As shown in figure 3, current date is 2013.7.20 days, then shown in the first display area 301 Show the Weather information of 2013.7.20 current time (such as 8 a.m.), and shows 2013.7.20's in the second display area 302 Weather information and in 2013.7.21 to 2013.7.23 days every day Weather information.
It should be noted that in the Fig. 3, only with the first display area 301 and the second display area 302 at same interface It is illustrated for middle display, and in other embodiments provided in an embodiment of the present invention, first display area 301 and second It is shown respectively in the interface that display area 302 can not also show in the same interface, but can switch mutually at two.And And the arrangement mode of first display area 301 and the second display area 302 is to be arranged above and below in the Fig. 3, and in the present invention In the other embodiments that embodiment provides, first display area 301 and the second display area 302 can with left-right situs, or It is otherwise arranged, it is not limited in the embodiment of the present invention.
204, when detecting the handover operation to the Weather information of current slot, from each period obtained in advance Weather information in, obtain corresponding with the target time section of handover operation Weather information.
Wherein, which can carry out following any for the display area of the Weather information of period in this prior Operation:
(1) scroll operation that the handover operation can carry out for the display area of the Weather information of period in this prior.
Specifically, which includes: the handover operation when the display area to the current slot Weather information carries out For scroll operation, and the scroll operation is that when rolling to first direction, next period of the current slot is determined as The target time section of the handover operation;When the scroll operation is to roll to second direction, by upper one of the current slot Period is determined as the target time section of the handover operation, wherein the first direction is opposite with second direction;For example, first party To can be upwards, second direction can be downward.
Optionally, the scroll operation which can carry out for the idler wheel for the mouse device that the terminal device is equipped with, At this point, target time section is incremented by when the mouse device idler wheel is to first direction one lattice of every rolling;When the mouse device idler wheel is to One lattice of the every rolling in two directions, target time section are successively decreased.Such as, the Weather information for being currently is shown at 7 points, then when mouse device idler wheel Scroll down through a lattice, target time section is, when mouse device idler wheel scrolls up a lattice, target time section is at 8 points at 6 points.
(2) screen sliding that the handover operation can carry out for the display area of the Weather information of period in this prior operates.
Specifically, which includes: the handover operation when the display area to the current slot Weather information carries out For screen sliding operation, and when screen sliding operation is to first direction screen sliding, next period of the current slot is determined as The target time section of the handover operation;When screen sliding operation is to second direction screen sliding, by upper one of the current slot Period is determined as the target time section of the handover operation, wherein the first direction is opposite with second direction;For example, first party To can be upwards, second direction can be downward.
At this point, often detecting primary screen sliding operation upwards, target time section is incremented by;Often detect primary screen sliding behaviour downwards Make, target time section is successively decreased.Such as, the Weather information for being currently is shown at 7 points, then when detecting primary screen sliding operation upwards, mesh Marking the period is 8 points, and when detecting primary screen sliding operation downwards, target time section is 6 points.
In addition, being carried out when in the display area of the Weather information of the current slot including clock in the handover operation While, the position of the clock pointer changes, and at the end of the handover operation, the time of the clock display is the object time The integral point time in section.
However, it is desirable to explanation, this when hand of a clock variation not will drive the change of system time, that is to say will not be right Real time impacts.
(3) when in the display area of the current slot Weather information including clock, which can be for this When hand of a clock drag operation.
When including clock in the display area of the current slot Weather information, when detecting to this, hand of a clock is dragged When dragging operation, the terminal time of the drag operation is obtained;Period belonging to the terminal time is determined as the handover operation Target time section.Wherein, obtain the drag operation terminal time include: obtain the drag operation final position, according to when The calibration information of clock calculates the corresponding terminal time in the final position.
Wherein, this when hand of a clock include at least hour hands and minute hand, while the minute hand per revolution, the hour hands to 1/12 circle of direction rotation of minute hand rotation.
(4) when in the display area of the current slot Weather information including digital dock, which is to this The screen sliding of digital dock operates or scroll operation.
When including digital dock in the display area of the current slot Weather information, when detecting to the digital dock When hour is partially or the screen sliding of minute part operates, the terminal of screen sliding operation is obtained;When the terminal was corresponded to belonging to the time Between section be determined as the target time section of the handover operation.
When including digital dock in the display area of the current slot Weather information, when detecting to the digital dock Hour part or minute part scroll operation when, obtain the terminal of the scroll operation;When the terminal was corresponded to belonging to the time Between section be determined as the target time section of the handover operation.
However, it is desirable to explanation, the hour of the digital dock is partially or minute part variation not will drive system time Change, that is to say will not impact the real time.
The terminal device can be the equipment with touch screen, can also be and is externally provided with setting for control equipment such as mouse etc. Standby, for the terminal device with different structure, the handover operation of application can be different, the embodiment of the present invention to this not It limits.
It should be noted that since Weather information is fast changing, it also can be according to weather condition to Weather information on server Therefore carrying out real-time update in order to guarantee more accurate weather forecast, can not only rely on the Weather information of initial acquisition, and It obtains in real time in use.To achieve the goals above, before the step 204, this method can also include: that judgement is whole The current network connection state of end equipment;Correspondingly, which includes: when terminal device has network connection (i.e. online shape State) when, the Weather information of the target time section is reacquired from server according to determining target time section;When terminal device does not have When having network connection (i.e. off-line state), from the Weather information of each period obtained in advance, obtain and the handover operation The corresponding Weather information of target time section.Wherein, it when terminal device has network connection, can be reacquired from server each The Weather information of a period obtains the Weather information of the target time section from the Weather information of reacquisition, can also be only The Weather information of the target time section is reacquired from server.
205, the Weather information of displaying target period.
Above-mentioned steps 204-205 is that the Weather information of current slot is switched to the corresponding weather letter of target time section The process of breath.
In this process, the movement of the corresponding Weather information of target time section is switched to by the Weather information of current slot The Weather information that can be current slot moves up, while the corresponding Weather information of target time section moves up (such as Fig. 4 Shown, in Fig. 4, the region in overstriking frame is the region for showing current slot Weather information) or other transition effects, It is not limited in the embodiment of the present invention.
It should be noted that the target time section can be the corresponding target time section when handover operation stops, due to Multiple handover operation can be used to find the Weather information for needing the period to be shown, therefore, the displaying target time in user Multiple handoff procedures can be undergone before the Weather information of section, it can also be by repeatedly being shown to Weather information in different time periods Show, the embodiment of the present invention is only that one handoff procedure is introduced with step 204-205.
206, it after the Weather information for detecting target time section is shown, generates for showing that Weather information switched The animation of journey, the animation include Weather information corresponding to current slot to each period between target time section.
Specifically, it is determined that Weather information shows that terminate can be by following either type: (1) when to the target time section When the display time of Weather information is more than preset duration, the Weather information of the target time section, which is shown, to be terminated;The preset duration can To be arranged in exploitation by technical staff, can also be configured by user according to use habit.(2) when to the target time section Display time of Weather information be more than preset duration and execute the control equipment hovering position of handover operation when changing, should The Weather information of target time section, which is shown, to be terminated.Preferably, which, which changes, refers to the hovering position of the control equipment Setting mobile is more than presetted pixel or more, which can be 50 pixels.
It carries out in the handoff procedure of step 204-205 it should be noted that the generating process of the animation can be, may be used also Being carried out after switching and showing, the embodiment of the present invention is not construed as limiting this.
207, the animation for showing Weather information handoff procedure is played.
For the vivider inverse process for showing the handoff procedure, can play this includes each time in handoff procedure The animation of the Weather information of section.
It should be noted that the embodiment of the present invention is illustrated by taking playing animation at the end of display as an example, and it is true On, in order to avoid the occupancy to memory, can also be directly displayed after detecting that the Weather information of target time section is shown The Weather information of current slot.
208, at the end of the animation play for showing Weather information handoff procedure, the weather letter of current slot is shown Breath.
At the end of the animation play for showing Weather information handoff procedure, the Weather information of target time section is switched It is shown for the Weather information of current slot, provides accurate Weather information for terminal user.
Method provided in an embodiment of the present invention, by detecting the handover operation to the Weather information of current slot When, the Weather information of each period obtained according to the target time section of the handover operation and in advance obtains and the switching The corresponding Weather information of the target time section of operation, and show Weather information corresponding with the target time section, it avoids because of frequency It is numerous to jump the webpage waste plenty of time, improve the efficiency of information inspection and the prompt precision of Weather information.Further, should The weather forecast more refined may be implemented to the display of the Weather information of target time section, and due to that can know not same date The Weather information of each period, can be inconsistent to avoid the Weather information due to weather summary information and current slot, and Puzzled caused by terminal user, if weather summary information shows that yin today has light rain, but current time segment information is aobvious Show fine, which will lead to terminal user, and when rainy can not know today, and real through the invention Apply switching provided by example, it can show rapidly to the Weather information of refinement, to avoid above-mentioned misunderstanding, it is pre- to improve weather The accuracy of report.
Referring to Fig. 5, the embodiment of the invention provides a kind of Weather information display device, which includes: display module 501 Module 502 is obtained with Weather information;Wherein display module 501 is used to show the Weather information of current slot;Display module 501 It obtains module 502 with Weather information to connect, Weather information obtains module 502 and is used to work as the weather detected to the current slot When the handover operation of information, from the Weather information of each period obtained in advance, when obtaining the target with the handover operation Between the corresponding Weather information of section;Display module 501 is also used to show the Weather information of the target time section.
Optionally, which is the scroll operation of the display area progress of period Weather information in this prior;Or, The screen sliding that the handover operation can carry out for the display area of the Weather information of period in this prior operates;Or, when this is current When including clock in the display area of period Weather information, which is the drag operation to hand of a clock when this;Or, When in the display area of the current slot Weather information including digital dock, which is the cunning to the digital dock Screen operation.
Optionally, the embodiment of the invention also provides a kind of Weather information display devices, referring to Fig. 6, device shown in Fig. 5 On the basis of structure, the device further include: first, which obtains module 503 and second, obtains module 504;Wherein, Weather information obtains Module 502 is connect with the first acquisition module 503, and first, which obtains module 503, is used for when receiving enabled instruction, when obtaining current Between section Weather information;First acquisition module 503 is connect with the second acquisition module 504, and the second acquisition module 504 is worked as obtaining The Weather information of each period of preceding date and target date are spaced default day between the target date and the current date Number.
Optionally, referring to Fig. 7, on the basis of apparatus structure shown in Fig. 6, it includes: terminal that Weather information, which obtains module 502, Time acquisition unit 502A, first object period determination unit 502B and first acquisition unit 502C;Wherein, terminal time obtains Take unit 502A for when the current slot Weather information display area in including clock, when detecting the finger to the clock When the drag operation of needle, the terminal time of the drag operation is obtained;Terminal time acquiring unit 502A and first object period Determination unit 502B connection, first object period determination unit 502B is for the period belonging to the terminal time to be determined as The target time section of the handover operation;The first object period, determination unit 502B was connect with first acquisition unit 502C, and first Acquiring unit 502C connection is for obtaining the target with the handover operation from the Weather information of each period obtained in advance Period corresponding Weather information.
Optionally, referring to Fig. 8, on the basis of apparatus structure shown in Fig. 6, Weather information obtains module 502 further include: the Two target time section determination units 5021 and second acquisition unit 5022;Second target time section determination unit 5021 is used for when inspection When measuring the scroll operation of the display area progress to the current slot Weather information, when the scroll operation is to first direction When rolling, be determined as to the target time section of the handover operation next period of the current slot;When the scroll operation When to roll to second direction, be determined as to the target time section of the handover operation a upper period for the current slot, Wherein, the first direction is opposite with second direction;Second target time section determination unit 5021 connects with second acquisition unit 5022 It connects, second acquisition unit 5022 is used for from the Weather information of each period obtained in advance, is obtained and the handover operation The corresponding Weather information of target time section.
Optionally, which is also used to display module and is also used to when to the Weather information of the target time section When showing that the time is more than preset duration, the Weather information of the target time section currently shown is switched to the current slot Weather information is shown;Or, the display module 501 is also used to surpass when the display time of the Weather information to the target time section When crossing preset duration and executing the control equipment hovering position of the handover operation and change, the object time that will currently show The Weather information that the Weather information of section is switched to the current slot is shown.
Optionally, which is also used to generate the animation for showing Weather information handoff procedure, the animation packet Include Weather information corresponding to the current slot to each period between the target time section;The animation is played, when this At the end of animation play, the Weather information of the current slot is shown.
It should be understood that Weather information display device provided by the above embodiment Weather information show when, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, Weather information display device provided by the above embodiment belongs to display method of weather information embodiment Same design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Fig. 9 is a kind of terminal device structural schematic diagram provided in an embodiment of the present invention.Referring to Fig. 9, which can be with For implementing the display method of weather information provided in above-described embodiment.Specifically:
Terminal device 900 may include the memory 120 for having one or more computer readable storage mediums, display The components such as unit 140, the processor 160 for including one or more than one processing core.Those skilled in the art can manage It solves, terminal device structure shown in Fig. 9 does not constitute the restriction to terminal device, may include more more or fewer than illustrating Component perhaps combines certain components or different component layouts.Wherein:
Memory 120 can be used for storing software program and module, and processor 160 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area can be stored to be created according to using for terminal device 900 Data (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, may be used also To include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.Correspondingly, memory 120 can also include Memory Controller, to provide processor 160 and 130 pairs of input unit storages The access of device 120.
Display unit 140 can be used for showing information input by user or the information and terminal device that are supplied to user 900 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai It constitutes.Display unit 140 may include display panel 141, optionally, can using LCD (Liquid Crystal Display, Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display Panel 141.
Processor 160 is the control centre of terminal device 900, utilizes each of various interfaces and connection whole mobile phone Part by running or execute the software program and/or module that are stored in memory 120, and calls and is stored in memory Data in 120 execute the various functions and processing data of terminal device 900, to carry out integral monitoring to mobile phone.It is optional , processor 160 may include one or more processing cores;Preferably, processor 160 can integrate application processor and modulatedemodulate Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 160.
Although being not shown, terminal device 900 can be with other components, such as wireless communication unit, input unit, camera shooting Head, bluetooth module etc., details are not described herein.Specifically in the present embodiment, the display unit of terminal device is touch-screen display, Terminal device further includes having memory and one perhaps more than one program one of them or more than one program being deposited It is stored in memory, and is configured to execute this by one or more than one processor or more than one program includes Instruction for performing the following operation: the Weather information of current slot is shown;When detecting the weather to the current slot When the handover operation of information, from the Weather information of each period obtained in advance, when obtaining the target with the handover operation Between the corresponding Weather information of section;Show the Weather information of the target time section.
Optionally, which, which is also stored with, executes the following instruction operated:
When receiving enabled instruction, the Weather information of current slot is obtained;
It gets Date and the Weather information of each period of target date, the target date and the current date Between be spaced preset number of days.
Optionally, which is the scroll operation of the display area progress of period Weather information in this prior;Or, The screen sliding that the handover operation can carry out for the display area of the Weather information of period in this prior operates;Or, when this is current When including clock in the display area of period Weather information, which is the drag operation to hand of a clock when this;Or, When in the display area of the current slot Weather information including digital dock, which is the cunning to the digital dock Screen operation.
Optionally, which, which is also stored with, executes the following instruction operated:
When including clock in the display area of the current slot Weather information, when detecting to this, hand of a clock is dragged When dragging operation, the terminal time of the drag operation is obtained;
Period belonging to the terminal time is determined as to the target time section of the handover operation;
From the Weather information of each period obtained in advance, obtain corresponding with the target time section of the handover operation Weather information.
Optionally, which, which is also stored with, executes the following instruction operated:
When detecting the scroll operation of the display area progress to the current slot Weather information, when the scroll operation When to roll to first direction, be determined as to the target time section of the handover operation next period of the current slot; When the scroll operation is to roll to second direction, a upper period for the current slot was determined as the handover operation Target time section, wherein the first direction is opposite with second direction;
From the Weather information of each period obtained in advance, obtain corresponding with the target time section of the handover operation Weather information.
Optionally, which, which is also stored with, executes the following instruction operated:
When the display time of the Weather information to the target time section being more than preset duration, described in currently showing The Weather information that the Weather information of target time section is switched to the current slot is shown;Or,
When the display time of the Weather information to the target time section is more than preset duration and executes the handover operation Control equipment hovering position when changing, the Weather information of the target time section currently shown is switched to described work as The Weather information of preceding period is shown.
Optionally, which, which is also stored with, executes the following instruction operated:
Generate the animation for showing Weather information handoff procedure, the animation includes the current slot to the mesh Mark Weather information corresponding to each period between the period;
The animation is played, at the end of the animation play, shows the Weather information of the current slot.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (11)

1. a kind of display method of weather information, which is characterized in that the described method includes:
Show the Weather information of current slot;
When detecting the handover operation to the Weather information of the current slot, from the day of each period obtained in advance In gas information, Weather information corresponding with the target time section of the handover operation is obtained;
Show the Weather information of the target time section;
When the display time of the Weather information to the target time section being more than preset duration, or, when to the object time The display time of the Weather information of section becomes more than the control equipment hovering position of preset duration and the execution handover operation When change, the animation for showing Weather information handoff procedure is generated, the animation includes the current slot to the target Weather information corresponding to each period between period;The animation is played, at the end of the animation play, display The Weather information of the current slot.
2. the method according to claim 1, wherein display current slot Weather information before, the method Further include:
When receiving enabled instruction, the Weather information of current slot is obtained;
It gets Date and the Weather information of each period of target date, the target date and the current date Between be spaced preset number of days.
3. the method according to claim 1, wherein
The handover operation is the scroll operation carried out in the display area of the current slot Weather information;
Or,
The handover operation is the screen sliding operation carried out in the display area of the Weather information of the current slot;
Or,
When in the display area of the current slot Weather information including clock, the handover operation is to the clock The drag operation of pointer;
Or,
When in the display area of the current slot Weather information including digital dock, the handover operation is to the number The screen sliding of word clock operates.
4. according to the method described in claim 3, it is characterized in that, when detecting to the Weather information of the current slot When handover operation, from the Weather information of each period obtained in advance, the target time section with the handover operation is obtained Corresponding Weather information includes:
When in the display area of the current slot Weather information include clock, when detect to it is described when hand of a clock drag When dragging operation, the terminal time of the drag operation is obtained;
Period belonging to the terminal time is determined as to the target time section of the handover operation;
From the Weather information of each period obtained in advance, day corresponding with the target time section of the handover operation is obtained Gas information.
5. according to the method described in claim 3, it is characterized in that, when detecting to the Weather information of the current slot When handover operation, from the Weather information of each period obtained in advance, the target time section with the handover operation is obtained Corresponding Weather information includes:
When detecting the scroll operation of the display area progress to the current slot Weather information, when the scroll operation When to roll to first direction, be determined as to the object time of the handover operation next period of the current slot Section;When the scroll operation is to roll to second direction, a upper period for the current slot was determined as described The target time section of handover operation, wherein the first direction is opposite with second direction;
From the Weather information of each period obtained in advance, day corresponding with the target time section of the handover operation is obtained Gas information.
6. a kind of Weather information display device, which is characterized in that described device includes:
Display module, for showing the Weather information of current slot;
Weather information obtains module, for when detecting the handover operation to the Weather information of the current slot, from pre- In the Weather information of each period first obtained, Weather information corresponding with the target time section of the handover operation is obtained;
The display module is also used to show the Weather information of the target time section;
The display module is also used to when the display time of the Weather information to the target time section being more than preset duration, Or, when the display time of the Weather information to the target time section is more than preset duration and the control for executing the handover operation When equipment hovering position changes, the animation for showing Weather information handoff procedure is generated, the animation includes described works as Weather information corresponding to the preceding period to each period between the target time section;The animation is played, when described At the end of animation play, the Weather information of the current slot is shown.
7. device according to claim 6, which is characterized in that described device further include:
First obtains module, for when receiving enabled instruction, obtaining the Weather information of current slot;
Second obtains module, for getting Date and the Weather information of each period of target date, the target Preset number of days is spaced between date and the current date.
8. device according to claim 6, which is characterized in that
The handover operation is the scroll operation carried out in the display area of the current slot Weather information;
Or,
The handover operation can operate for the screen sliding carried out in the display area of the Weather information of the current slot;
Or,
When in the display area of the current slot Weather information including clock, the handover operation is to the clock The drag operation of pointer;
Or,
When in the display area of the current slot Weather information including digital dock, the handover operation is to the number The screen sliding of word clock operates.
9. device according to claim 8, which is characterized in that the Weather information obtains module and includes:
Terminal time acquiring unit, for working as detection when including clock in the display area of the current slot Weather information To it is described when hand of a clock drag operation when, obtain the terminal time of the drag operation;
First object period determination unit, for the period belonging to the terminal time to be determined as the handover operation Target time section;
First acquisition unit, for from the Weather information of each period obtained in advance, obtaining and the handover operation The corresponding Weather information of target time section.
10. device according to claim 8, which is characterized in that the Weather information obtains module and includes:
Second target time section determination unit, for working as the display area progress detected to the current slot Weather information Scroll operation when, when the scroll operation be to first direction roll when, by next period of the current slot It is determined as the target time section of the handover operation;When the scroll operation is to roll to second direction, when will be described current Between upper period of section be determined as the target time section of the handover operation, wherein the first direction and second direction On the contrary;
Second acquisition unit, for from the Weather information of each period obtained in advance, obtaining and the handover operation The corresponding Weather information of target time section.
11. a kind of terminal device, which is characterized in that terminal device includes memory and one or more than one journey Sequence, perhaps more than one program is stored in memory and is configured to by one or more than one processor for one of them Executing the one or more programs includes the instruction for performing the following operation: showing the weather letter of current slot Breath;When detecting the handover operation to the Weather information of the current slot, from the day of each period obtained in advance In gas information, Weather information corresponding with the target time section of the handover operation is obtained;Show the day of the target time section Gas information;When the display time of the Weather information to the target time section being more than preset duration, or, when to the target Between display time of Weather information of section be more than preset duration and execute the control equipment hovering position of the handover operation and occur When variation, the animation for showing Weather information handoff procedure is generated, the animation includes the current slot to the mesh Mark Weather information corresponding to each period between the period;The animation is played, at the end of the animation play, is shown Show the Weather information of the current slot.
CN201310364220.8A 2013-08-20 2013-08-20 Display method of weather information, device and terminal device Active CN104423815B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310364220.8A CN104423815B (en) 2013-08-20 2013-08-20 Display method of weather information, device and terminal device
PCT/CN2014/084024 WO2015024463A1 (en) 2013-08-20 2014-08-08 Weather information display method and apparatus and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310364220.8A CN104423815B (en) 2013-08-20 2013-08-20 Display method of weather information, device and terminal device

Publications (2)

Publication Number Publication Date
CN104423815A CN104423815A (en) 2015-03-18
CN104423815B true CN104423815B (en) 2019-01-22

Family

ID=52483065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310364220.8A Active CN104423815B (en) 2013-08-20 2013-08-20 Display method of weather information, device and terminal device

Country Status (2)

Country Link
CN (1) CN104423815B (en)
WO (1) WO2015024463A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804634B (en) * 2018-06-01 2021-10-29 深圳乐信软件技术有限公司 Data rolling method and device, front-end equipment, background server and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150799A (en) * 2006-09-18 2008-03-26 联想(北京)有限公司 A method and system for displaying weather information on mobile terminal
CN101324897A (en) * 2008-07-28 2008-12-17 北京搜狗科技发展有限公司 Method and apparatus for looking up lyric
CN102831155A (en) * 2012-06-29 2012-12-19 北京奇虎科技有限公司 Method and device for displaying micro image of webpage tag

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003189363A (en) * 2001-12-18 2003-07-04 Nec Corp Weather information display device, weather information display system, weather information display method, and program thereof
CN1761335A (en) * 2004-10-11 2006-04-19 英华达(上海)电子有限公司 Method for setting up timed display of information of weather forecast
US7752188B2 (en) * 2007-02-16 2010-07-06 Sony Ericsson Mobile Communications Ab Weather information in a calendar
US20110282511A1 (en) * 2010-03-26 2011-11-17 Smart Power Devices Ltd Prediction, Communication and Control System for Distributed Power Generation and Usage
CN101945173A (en) * 2010-09-17 2011-01-12 宇龙计算机通信科技(深圳)有限公司 Weather information display method and mobile terminal
TW201222405A (en) * 2010-11-16 2012-06-01 Hon Hai Prec Ind Co Ltd Method for configuring view of city in weather forecast application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150799A (en) * 2006-09-18 2008-03-26 联想(北京)有限公司 A method and system for displaying weather information on mobile terminal
CN101324897A (en) * 2008-07-28 2008-12-17 北京搜狗科技发展有限公司 Method and apparatus for looking up lyric
CN102831155A (en) * 2012-06-29 2012-12-19 北京奇虎科技有限公司 Method and device for displaying micro image of webpage tag

Also Published As

Publication number Publication date
CN104423815A (en) 2015-03-18
WO2015024463A1 (en) 2015-02-26

Similar Documents

Publication Publication Date Title
US11531459B2 (en) Control-article-based control of a user interface
CN105718185B (en) Situation particular user interface
CN104850332B (en) Intelligent terminal control method and intelligent terminal
US9727226B2 (en) Methods and apparatuses for providing an enhanced user interface
CN109219788A (en) Specific to the user interface of context
US20160357420A1 (en) Accessing and displaying information corresponding to past times and future times
CN108965608A (en) A kind of alarm clock setting method folds terminal and computer readable storage medium
CN106062679B (en) A kind of method, apparatus and terminal controlling display screen
CN102184164A (en) Method for updating pages and electronic reader
CA2860569A1 (en) User interface for mobile device
CN103197832A (en) Fast cursor location method and system
JP2013054469A (en) Information processor, information processing method, and program
WO2015102512A1 (en) Systems and methods for implementing improved interactive calendar for mobile devices
CN106775093A (en) A kind of contact action control method and device
CN104423815B (en) Display method of weather information, device and terminal device
CN104915087A (en) Information processing method and electronic equipment
CN110209311A (en) Time display method and terminal device
CN113656135A (en) Wallpaper display method and device and electronic equipment
CN103793053B (en) Gesture projection method and device for mobile terminals
CN113296647A (en) Interface display method and device
JP2017078950A (en) Wearable terminal device and control method of wearable terminal device
JP2011059630A5 (en)
JP6574936B2 (en) Display control apparatus, display control method, and program
CN103838479A (en) Electronic device and application software interface adjustment method
CN108958594A (en) A kind of method for page jump and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant