CN110062109A - Display method of weather information, device, electronic equipment and medium - Google Patents

Display method of weather information, device, electronic equipment and medium Download PDF

Info

Publication number
CN110062109A
CN110062109A CN201910305190.0A CN201910305190A CN110062109A CN 110062109 A CN110062109 A CN 110062109A CN 201910305190 A CN201910305190 A CN 201910305190A CN 110062109 A CN110062109 A CN 110062109A
Authority
CN
China
Prior art keywords
weather information
clock control
category
time period
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910305190.0A
Other languages
Chinese (zh)
Inventor
嵇坤
党雪杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201910305190.0A priority Critical patent/CN110062109A/en
Publication of CN110062109A publication Critical patent/CN110062109A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Electric Clocks (AREA)

Abstract

The application provides a kind of display method of weather information and device, a kind of electronic equipment and a kind of computer-readable medium.Wherein, the above method includes: the preset clock-controlled component of load, the clock-controlled component includes that time identifier ring and at least one Weather information show ring, wherein, the time identifier is equipped with multiple time segment identifications, and each Weather information shows ring for showing a classification, the Weather information of multiple periods;The Weather information of acquisition at least one classification of target location, multiple period;According to the classification of the Weather information and period, display position of the Weather information in the clock-controlled component is determined;In the preset clock-controlled component, according to the display position, the Weather information is shown.Based on the above method, it can use clock-controlled component while showing the Weather information of multiple periods, while by classification display, the Weather information can be made to be easier to read, so that more more accurately Weather information is presented in user.

Description

Weather information display method and device, electronic equipment and medium
Technical Field
The present application relates to the field of weather information display technologies, and in particular, to a weather information display method and apparatus, an electronic device, and a computer-readable medium.
Background
Weather has great influence on daily travel, outdoor activities, dressing and other behaviors of people, and is one of daily information which is concerned by people. With the rapid development of the internet and the popularization of mobile terminals such as mobile phones, people can more and more conveniently check weather forecast information through the mobile terminals at any time and any place.
Referring to fig. 1, a schematic diagram of a display effect of weather forecast information provided in the prior art is shown, as shown in the figure, a user can view the weather forecast information on a mobile phone at any time through a weather forecast control installed on a desktop of the mobile phone. However, the weather forecast information is obtained by taking the day as a forecast unit, in real life, the weather condition changes in real time, and within a certain period of time of a day, the temperature may suddenly drop, the next thunderstorm may occur, and the like, which all have adverse effects on traveling, dressing, and the like of people, so that the weather forecast display mode cannot meet daily requirements of people.
Disclosure of Invention
The application aims to provide a weather information display method and device, electronic equipment and a computer readable medium.
A first aspect of the present application provides a weather information display method, including:
loading a preset clock control, wherein the clock control comprises a time identification ring and at least one weather information display ring, the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of a category and a plurality of time periods;
acquiring weather information of at least one category and a plurality of time periods of a target place;
determining the display position of the weather information in the clock control according to the category and the time period of the weather information;
and displaying the weather information in the preset clock control according to the display position.
A second aspect of the present application provides a weather information display apparatus, including: the system comprises a clock control loading module, a clock control loading module and a weather information display module, wherein the clock control loading module is used for loading a preset clock control, the clock control comprises a time identification ring and at least one weather information display ring, the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of one category and a plurality of time periods;
the weather information acquisition module is used for acquiring weather information of at least one category and a plurality of time periods of a target place;
the display position determining module is used for determining the display position of the weather information in the clock control according to the category and the time period of the weather information;
and the weather information display module is used for displaying the weather information in the preset clock control according to the display position.
A third aspect of the present application provides an electronic device comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the computer program when executing the computer program to perform the method of the first aspect of the application.
A fourth aspect of the present application provides a computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of the first aspect of the present application.
According to the weather information display method provided by the first aspect of the application, a preset clock control is loaded, the clock control comprises a time identification ring and at least one weather information display ring, wherein the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of one category and a plurality of time periods; acquiring weather information of at least one category and a plurality of time periods of a target place; determining the display position of the weather information in the clock control according to the category and the time period of the weather information; therefore, the weather information can be displayed in the preset clock control according to the display position. Based on the method, the weather information of a plurality of time periods can be displayed simultaneously by utilizing the clock control, and meanwhile, the weather information can be easier to read through classified display, so that more accurate weather information can be presented for a user.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic diagram illustrating the display effect of weather forecast information provided by the prior art;
FIG. 2 illustrates a flow chart of a method of displaying weather information provided by some embodiments of the present application;
FIG. 3 illustrates a schematic diagram of a weather information display effect provided by some embodiments of the present application;
FIG. 4 illustrates a schematic diagram of a clock control editing interface provided by some embodiments of the present application;
FIG. 5 illustrates a schematic diagram of another clock control editing interface provided by some embodiments of the present application;
FIG. 6 illustrates a schematic view of another weather information display effect provided by some embodiments of the present application;
FIG. 7 illustrates a schematic diagram of a weather information display apparatus provided by some embodiments of the present application;
FIG. 8 illustrates a schematic diagram of an electronic device provided by some embodiments of the present application;
FIG. 9 illustrates a schematic diagram of a computer-readable medium provided by some embodiments of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
In addition, the terms "first" and "second", etc. are used to distinguish different objects, rather than to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a weather information display method and device, an electronic device and a computer readable medium, which are described below with reference to the accompanying drawings.
Referring to fig. 2, which shows a flowchart of a weather information display method provided in some embodiments of the present application, for ease of understanding, the following exemplary description may be understood with reference to the schematic diagram of the weather information display effect shown in fig. 3, and as shown in fig. 2, the weather information display method may include the following steps:
step S101: the method comprises the steps of loading a preset clock control, wherein the clock control comprises a time identification ring and at least one weather information display ring, the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of a category and a plurality of time periods.
It should be noted that the weather information display method provided in the embodiment of the present application may be applied to any electronic device with a display screen, including but not limited to a mobile terminal (e.g., a mobile phone, a tablet computer, a notebook computer, etc.), a desktop computer, a wearable device (e.g., a smart watch, a smart bracelet, smart glasses, etc.), a vehicle-mounted terminal (e.g., a vehicle recorder, a vehicle-mounted control terminal, etc.), a smart home device (e.g., a smart door control, a smart home control terminal, a smart sound box, etc.), and the like. Specifically, the weather information display method provided in the embodiment of the present Application may also be implemented by software installed on the electronic device, where the software includes, but is not limited to, a desktop control, a weather forecast APP (Application), a calendar APP, a web page, and the like.
In this embodiment of the present application, a control, that is, a clock control, may be constructed based on a clock, and its shape may be a circle (including a perfect circle or an ellipse), a square (including a square or a rectangle), or any other shape, which is not limited in this embodiment of the present application.
In practical application, the time identification ring and the weather information display ring can be realized by adopting independent controls, or can be different display areas of the same control which are integrated together, and the purpose of realizing the embodiment of the application can be realized by applying the method provided by the application, and the method is within the protection scope of the application.
For example, please refer to fig. 3, the embodiment of the present application may be applied to displaying weather information for 12 hours, correspondingly, the duration of the time period may be 1 hour, the time period identifier may be a number such as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and the like, and by using the time period identifier, the time period identifier may be divided into 12 time periods, and the duration of each time period is 1 hour. In addition, the duration of the time period may also be 5 minutes, 10 minutes, 15 minutes, 30 minutes, 2 hours, 3 hours, and the like, and a person skilled in the art may flexibly set the duration of the time period according to actual requirements, and correspondingly determine the time period identifier on the time identifier ring, which is not limited in the embodiment of the present application.
It is easy to understand that, in the embodiment of the present application, the time period may be an hour-level time period or a minute-level time period, and the display granularity of the weather information is smaller than that in the prior art, which is displayed by day, so that the weather information with higher accuracy, lower granularity and better real-time performance can be presented to the user.
In addition, in the embodiment of the present application, the category of the weather information may include, but is not limited to, at least one of weather (e.g., sunny, cloudy, rainy, etc.), temperature, humidity, wind direction, wind power, air pressure, air pollution index, sun protection index, dressing index, and car washing index. A person skilled in the art may flexibly select a category of the weather information that may be displayed in the clock control based on the embodiment of the present application, which is not limited in the embodiment of the present application.
In addition, in some modification embodiments, the category of the weather information that can be displayed by the clock control can also be edited and set by the user, so as to display the weather information required by the user according to the setting of the user, thereby realizing the functions of freedom and personalized customization, and meeting the diversified requirements of the user.
In addition, each of the weather information display rings may be configured to display weather information for a category and a plurality of time periods, for example, the clock control may include a plurality of weather information display rings, specifically, a weather display ring, a temperature display ring, a humidity display ring, a wind power display ring, a wind direction display ring, an air pressure display ring, an air pollution index display ring, and the like, and each of the weather information display rings may display only one type of weather information, for example, only the temperature display ring displays temperature information, which can be understood with reference to fig. 3.
In some embodiments, the plurality of weather information display rings and the time identification rings are concentric in the clock control and are arranged in sequence along a radial direction, so that a rich hierarchical sense is presented, and the user can conveniently view the rings, which can be understood by referring to fig. 3.
In addition, in some embodiments, the weather information display ring is provided with a plurality of information display bits corresponding to the time periods identified by the time period identifiers, each of the information display bits is used for displaying the weather information of the time period corresponding to the information display bit, it should be noted that the information display bits and the time periods identified by the time period identifiers are in one-to-one correspondence, for example, there are 12 time periods, and accordingly, 12 information display bits need to be provided on one weather information display ring, and in order to be more easily used for reading, the information display bits on each weather information display ring are correspondingly coaxial along the radial direction of the weather information display ring, so as to display different categories (for example, weather, and weather) corresponding to the same time period (for example, 9 o 'clock to 10 o' clock) in the coaxial information display bits, Temperature, wind power, etc.), thereby making the display effect of the weather information clearer, richer in layering, stronger in correspondence, improving reading convenience, and specifically comprehending with reference to fig. 3.
Step S102: and acquiring weather information of at least one category and a plurality of time periods of the target place.
Based on the step S101, in this step, the weather information of at least one category and multiple time periods of the target location may be further obtained according to the time period identified by the time period identifier, for example, the time period identified by the time period identifier is 12, and the duration of each time period is 1 hour, so that the weather information obtained in this step is the weather information of 12 time periods and each time period is 1 hour.
In addition, the category of the obtained weather information may also be determined according to the category of the weather information that has been set or edited in the clock control and can be displayed, for example, the user has set the clock control to display the weather, the temperature, the wind power and the air pollution index.
Step S103: and determining the display position of the weather information in the clock control according to the category and the time period of the weather information.
After the weather information is acquired, the weather information needs to be associated with the clock widget to display the weather information in the clock widget, for example, a display position of the weather information in the clock widget may be determined according to a category and a time period of the weather information.
In some modified embodiments, the weather information display ring is provided with a plurality of information display bits corresponding to the time periods identified by the time period identifiers, and each information display bit is used for displaying the weather information of the corresponding time period;
the determining the display position of the weather information in the clock control according to the category and the time period of the weather information may include:
determining a weather information display ring for displaying the weather information according to the category of the weather information;
and determining an information display position corresponding to the time period on the weather information display ring as the display position of the weather information according to the time period of the weather information.
Through the embodiment, the display position of each piece of weather information in the clock control in the weather information of the at least one category and the plurality of time periods can be determined.
Step S104: and displaying the weather information in the preset clock control according to the display position.
After the display position of the weather information is determined in step S103, the weather information may be displayed in the preset clock control according to the display position.
Specifically, the weather information may be displayed in a display manner corresponding to the category of the weather information, where the display manner includes, but is not limited to, icon representation, text or number representation, color representation, and the like. Those skilled in the art can flexibly set the display modes of various weather information according to actual requirements, and in some embodiments, the user can also select the display modes of various weather information by himself, which is not limited in the embodiments of the present application.
For example, please refer to fig. 3, wherein the weather is displayed by a weather icon in the weather display ring, the temperature is displayed by a number in the temperature display ring, the wind power is displayed by a character in the wind power display ring, and the air pollution index is displayed by a color in the air pollution index display ring (fig. 3 is a gray scale, and the color is not displayed, and can be understood according to the size of the gray scale).
In addition, as shown in fig. 3, the clock control may further include a current time display area, for example, the current time may be displayed in a central area of the clock control. Therefore, the information can be always displayed by being fused with weather information, the information display amount of the unit display area is increased, and particularly, the information display density can be effectively increased and the information display efficiency is improved in electronic equipment with smaller display screens such as a smart watch. In addition, in mobile terminals such as mobile phones, compared with the display effect shown in fig. 1, by adopting the embodiment of the application, time and weather information can be displayed simultaneously only by one clock control, the size of a weather and time information display area can be effectively reduced, the condition that the weather and time space shown in fig. 1 shields desktop wallpaper is avoided, and the user experience is improved.
According to the weather information display method provided by the embodiment of the application, a preset clock control is loaded, and the clock control comprises a time identification ring and at least one weather information display ring, wherein the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of one category and a plurality of time periods; acquiring weather information of at least one category and a plurality of time periods of a target place; determining the display position of the weather information in the clock control according to the category and the time period of the weather information; therefore, the weather information can be displayed in the preset clock control according to the display position. Based on the method, the weather information of a plurality of time periods can be displayed simultaneously by utilizing the clock control, and meanwhile, the weather information can be easier to read through classified display, so that more accurate weather information can be presented for a user.
In addition to any of the foregoing embodiments, in some modified embodiments, the displaying the weather information may include:
and distinguishing and displaying the weather information of the time period corresponding to the current moment and the weather information of other time periods. Referring to fig. 3, if the current time is 22 points and 23 points, the weather information corresponding to the time period of the current time may be displayed in a differentiated manner (for example, the current time is highlighted in the figure, or different colors may be set, an indication arrow may be set, and the like, which is not limited in the present application), so that the user may conveniently and quickly view the weather information at the current time.
In some implementations of embodiments of the present application, the weather information for the plurality of time periods includes at least one of:
weather forecast information for a plurality of time periods after the current time;
actual weather information of a time period corresponding to the current moment;
historical weather information for a plurality of time periods prior to the current time.
For example, the multiple time periods may include multiple time periods after the current time and a time period corresponding to the current time, so as to show weather information of a future time period from the current time, where the weather information in the clock control needs to be refreshed every time period corresponding to the time period, so as to ensure that the clock displays the weather information of the future time period (e.g., 12 hours, 24 hours, etc.).
For another example, the multiple time periods may also include multiple time periods after the current time, a time period corresponding to the current time, and multiple time periods before the current time, for example, taking the example shown in fig. 3 as an example, the weather information may be refreshed every 12 hours, and within the 12 hours, the weather information remains unchanged, and contains the weather information in the above 3 time periods, so that a user can compare the weather information before and after, and can conveniently arrange to wear clothes and the like through comparison of temperature and the like, thereby meeting the user's requirements.
In addition, technicians in the field can flexibly set the displayable weather information of the time periods according to actual requirements, or customize the weather information, and users can set and display the weather information of the time periods by themselves, so that the diversified and customized requirements of the users are met.
In addition, it should be noted that, in the embodiment of the present application, the weather information may include weather forecast information, and may also include actual weather information, for example, for a future time period, the weather forecast information may be displayed, and for a current time period, the actual weather information may be displayed, or the actual weather information and the weather forecast information may be displayed at the same time, so that a user may compare and view the information conveniently. The embodiments of the present application are not limited.
On the basis of any one of the foregoing embodiments, in some modified embodiments, before the obtaining weather information of at least one category and a plurality of time periods of the target location, the method further includes:
determining the current position as a target location; or,
and determining the position set by the user as a target place.
Based on the above embodiments, the present embodiment may automatically determine the current location as the target location according to the positioning information of the electronic device, so as to present the weather information of the current location to the user, where when the user moves and the current location changes, for example, after the user takes an airplane from shanghai to beijing, the current location (beijing) needs to be determined as the target location again, so as to update to display the weather information of beijing.
In addition, the user can also freely set the target location, for example, when the user works in other places, the user needs to note the hometown weather to remind parents of paying attention to the physical health.
As described in the foregoing embodiments, in this embodiment of the present application, the category of weather information that can be displayed by the clock control may also be determined according to a user's free setting, and specifically, in some embodiments, the method may further include:
displaying a clock control editing interface after detecting a first triggering operation of a user for the clock control;
and responding to the editing operation of the user on the clock control editing interface, and adjusting the category of the weather information displayed in the clock control.
The first triggering operation can be operations such as double-click, triple-click, long-press or click on an editing switch on the clock control, so that a clock control editing interface is triggered and displayed, and a user can adjust the category of the weather information displayed in the clock control through the editing operation.
For example, referring to fig. 4, in some variations, the clock control editing interface includes a switch for a category of weather information that may be displayed in the clock control;
the adjusting the category of the weather information displayed in the clock control in response to the editing operation of the user on the clock control editing interface comprises:
and in response to the on operation and/or the off operation of the user for the switch, loading and/or unloading the weather information of the class corresponding to the switch in the clock control.
As shown in fig. 4, when the wind power switch is in the off state and the air quality switch is in the on state, the air quality is displayed in the clock control, and the wind power is not displayed.
For another example, referring to fig. 5, in another modified embodiment, the clock widget editing interface includes an icon of a category of weather information displayable in the clock widget;
the adjusting the category of the weather information displayed in the clock control in response to the editing operation of the user on the clock control editing interface comprises:
and in response to the operation that the user drags the icon to and/or from the clock control, loading and/or unloading the weather information of the category corresponding to the icon in the clock control.
As shown in fig. 5, by dragging the weather icon to the clock control, weather information can be displayed in the clock control.
Fig. 4, fig. 5 and the above exemplary descriptions show exemplary descriptions of the category of the weather information that can be displayed for the user to set by himself according to the embodiment of the present application, and those skilled in the art can flexibly modify the implementation according to the above exemplary descriptions, which all fall within the scope of the present application.
In other embodiments, the method may further comprise:
after detecting a second trigger operation of a user for the clock control, switching the time identification ring from a current first state to a second state, wherein the time lengths of the time periods identified by the time period identifications in the first state and the second state are different; and the number of the first and second groups,
and according to the time period identified by the switched time period identification, re-triggering the step of acquiring the weather information of at least one category and a plurality of time periods of the target place so as to display the weather information according to the switched time period.
By the embodiment, the switching display of the weather information between the time periods with different time lengths can be realized, for example, referring to fig. 3 and 6, fig. 3 shows a weather information display effect on an hour scale, each time period has a duration of 1 hour, fig. 6 shows the weather information display effect on the minute scale, the duration of each time period is 5 minutes, in the embodiment of the present application, the second trigger operation may be an operation of clicking the current time display area in fig. 3 by a user, or an operation of clicking a time length switch, etc., and the embodiment of the present application is not limited, after the second triggering operation is detected, the time period can be switched, and the execution of the step S102 is triggered again according to the switched time period, and through the above steps S103 and S104, the purpose of displaying the weather information according to the switched time period, that is, switching to the display effect of the minute level shown in fig. 6 is achieved.
Through the embodiment, the display effect of switching the weather information among different time lengths can be achieved, and the diversified and customized weather information viewing requirements of users are met.
In the above embodiment, a weather information display method is provided, and correspondingly, the present application also provides a weather information display apparatus. The weather information display device provided by the embodiment of the application can implement the weather information display method, and the weather information display device can be implemented through software, hardware or a combination of software and hardware. For example, the weather information display apparatus may include integrated or separate functional modules or units to perform the corresponding steps of the above-described methods. Please refer to fig. 7, which illustrates a schematic diagram of a weather information display apparatus according to some embodiments of the present disclosure. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 7, the weather information display apparatus 10 may include:
the system comprises a clock control loading module 101, a time display module and a weather information display module, wherein the clock control loading module 101 is used for loading a preset clock control, the clock control comprises a time identification ring and at least one weather information display ring, the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of a category and a plurality of time periods;
the weather information acquisition module 102 is configured to acquire weather information of at least one category and multiple time periods of a target location;
the display position determining module 103 is configured to determine a display position of the weather information in the clock control according to the category and the time period of the weather information;
and a weather information display module 104, configured to display the weather information in the preset clock control according to the display position.
In some modified embodiments of the present application, the weather information display ring is provided with a plurality of information display bits corresponding to the time periods identified by the time period identifiers, and each information display bit is used for displaying the weather information of the corresponding time period;
the display position determination module 103 includes:
the display ring determining unit is used for determining a weather information display ring for displaying the weather information according to the category of the weather information;
and the display position determining unit is used for determining an information display position corresponding to the time period on the weather information display ring as the display position of the weather information according to the time period of the weather information.
In some variations of embodiments of the present application, the weather information for the plurality of time periods includes at least one of:
weather forecast information for a plurality of time periods after the current time;
actual weather information of a time period corresponding to the current moment;
historical weather information for a plurality of time periods prior to the current time.
In some variations of the embodiments of the present application, the weather information display module 104 includes:
and the distinguishing display unit is used for distinguishing and displaying the weather information of the time period corresponding to the current moment and the weather information of other time periods.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
the current position determining module is used for determining the current position as a target location; or,
and the position setting module is used for determining the position set by the user as the target location.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
the editing interface display module is used for displaying the clock control editing interface after detecting first triggering operation of a user for the clock control;
and the clock editing module is used for responding to the editing operation of the user on the clock control editing interface and adjusting the category of the weather information displayed in the clock control.
In some modified embodiments of the present application, the clock widget editing interface includes a switch for a category of weather information that can be displayed in the clock widget;
the clock editing module comprises:
and the switch editing unit is used for responding to the opening operation and/or the closing operation of the user aiming at the switch, and loading and/or unloading the weather information of the category corresponding to the switch in the clock control.
In some variations of embodiments of the present application, the clock widget editing interface includes an icon of a category of weather information that can be displayed in the clock widget;
the clock editing module comprises:
and the icon editing unit is used for responding to the operation that the user drags the icon to and/or away from the clock control, and loading and/or unloading the weather information of the category corresponding to the icon in the clock control.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
the second operation detection module is used for switching the current first state of the time identification ring into a second state after detecting a second trigger operation of a user for the clock control, wherein the time lengths of the time periods identified by the time period identifications in the first state and the second state are different; and the number of the first and second groups,
and the second operation triggering module is used for re-triggering the step of acquiring the weather information of at least one category and a plurality of time periods of the target place according to the time period identified by the switched time period identification so as to display the weather information according to the switched time period.
In some variations of the embodiments of the present application, the category of the weather information includes: at least one of weather, temperature, humidity, wind direction, wind force, air pressure, air pollution index, sun protection index, dressing index, and car wash index.
The weather information display device 10 provided in the embodiment of the present application and the weather information display method provided in the foregoing embodiment of the present application have the same beneficial effects and the same inventive concept.
The embodiment of the present application further provides an electronic device corresponding to the weather information display method provided by the foregoing embodiment, where the electronic device may be any electronic device having a display screen, including but not limited to a mobile terminal (such as a mobile phone, a tablet computer, a notebook computer, etc.), a desktop computer, a wearable device (such as a smart watch, a smart bracelet, smart glasses, etc.), a vehicle-mounted terminal (such as a car recorder, a vehicle-mounted control terminal, etc.), a smart home device (such as a smart door access, a smart home control terminal, a smart sound box, etc.), and the like, so as to execute the weather information display method.
Please refer to fig. 8, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 8, the electronic device 20 includes: the system comprises a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected through the bus 202; the memory 201 stores a computer program that can be executed on the processor 200, and the processor 200 executes the weather information display method provided in any of the foregoing embodiments when executing the computer program.
The memory 201 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 202 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used for storing a program, and the processor 200 executes the program after receiving an execution instruction, and the weather information display method disclosed in any embodiment of the present application may be applied to the processor 200, or implemented by the processor 200.
The processor 200 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 200. The Processor 200 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the weather information display method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 9, a computer-readable storage medium is shown as an optical disc 30, on which a computer program (i.e., a program product) is stored, where the computer program is executed by a processor to perform the weather information display method provided in any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above-mentioned embodiment of the present application and the weather information display method provided by the embodiment of the present application have the same beneficial effects as the method adopted, operated or implemented by the application program stored in the computer-readable storage medium.
It should be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present disclosure, and the present disclosure should be construed as being covered by the claims and the specification.

Claims (13)

1. A weather information display method is characterized by comprising the following steps:
loading a preset clock control, wherein the clock control comprises a time identification ring and at least one weather information display ring, the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of a category and a plurality of time periods;
acquiring weather information of at least one category and a plurality of time periods of a target place;
determining the display position of the weather information in the clock control according to the category and the time period of the weather information;
and displaying the weather information in the preset clock control according to the display position.
2. The method of claim 1, wherein the weather information display ring is provided with a plurality of information display bits corresponding to the time periods identified by the time period identifiers, each information display bit being used for displaying the weather information of the corresponding time period;
the determining the display position of the weather information in the clock control according to the category and the time period of the weather information comprises:
determining a weather information display ring for displaying the weather information according to the category of the weather information;
and determining an information display position corresponding to the time period on the weather information display ring as the display position of the weather information according to the time period of the weather information.
3. The method of claim 1, wherein the weather information for the plurality of time periods comprises at least one of:
weather forecast information for a plurality of time periods after the current time;
actual weather information of a time period corresponding to the current moment;
historical weather information for a plurality of time periods prior to the current time.
4. The method of claim 1, wherein the displaying the weather information comprises:
and distinguishing and displaying the weather information of the time period corresponding to the current moment and the weather information of other time periods.
5. The method of claim 1, wherein prior to obtaining the weather information for the at least one category and the plurality of time periods at the target location, further comprising:
determining the current position as a target location; or,
and determining the position set by the user as a target place.
6. The method of claim 1, further comprising:
displaying a clock control editing interface after detecting a first triggering operation of a user for the clock control;
and responding to the editing operation of the user on the clock control editing interface, and adjusting the category of the weather information displayed in the clock control.
7. The method of claim 6, wherein the clock widget editing interface comprises a switch for a category of weather information displayable in the clock widget;
the adjusting the category of the weather information displayed in the clock control in response to the editing operation of the user on the clock control editing interface comprises:
and in response to the on operation and/or the off operation of the user for the switch, loading and/or unloading the weather information of the class corresponding to the switch in the clock control.
8. The method of claim 6, wherein the clock control editing interface comprises an icon for a category of weather information displayable in the clock control;
the adjusting the category of the weather information displayed in the clock control in response to the editing operation of the user on the clock control editing interface comprises:
and in response to the operation that the user drags the icon to and/or from the clock control, loading and/or unloading the weather information of the category corresponding to the icon in the clock control.
9. The method of claim 1, further comprising:
after detecting a second trigger operation of a user for the clock control, switching the time identification ring from a current first state to a second state, wherein the time lengths of the time periods identified by the time period identifications in the first state and the second state are different; and the number of the first and second groups,
and according to the time period identified by the switched time period identification, re-triggering the step of acquiring the weather information of at least one category and a plurality of time periods of the target place so as to display the weather information according to the switched time period.
10. The method of any of claims 1 to 9, wherein the category of weather information comprises: at least one of weather, temperature, humidity, wind direction, wind force, air pressure, air pollution index, sun protection index, dressing index, and car wash index.
11. A weather information display apparatus, comprising:
the system comprises a clock control loading module, a clock control loading module and a weather information display module, wherein the clock control loading module is used for loading a preset clock control, the clock control comprises a time identification ring and at least one weather information display ring, the time identification ring is provided with a plurality of time period identifications, and each weather information display ring is used for displaying weather information of one category and a plurality of time periods;
the weather information acquisition module is used for acquiring weather information of at least one category and a plurality of time periods of a target place;
the display position determining module is used for determining the display position of the weather information in the clock control according to the category and the time period of the weather information;
and the weather information display module is used for displaying the weather information in the preset clock control according to the display position.
12. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method according to any of claims 1 to 10.
13. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 10.
CN201910305190.0A 2019-04-16 2019-04-16 Display method of weather information, device, electronic equipment and medium Pending CN110062109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910305190.0A CN110062109A (en) 2019-04-16 2019-04-16 Display method of weather information, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910305190.0A CN110062109A (en) 2019-04-16 2019-04-16 Display method of weather information, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN110062109A true CN110062109A (en) 2019-07-26

Family

ID=67319075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910305190.0A Pending CN110062109A (en) 2019-04-16 2019-04-16 Display method of weather information, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN110062109A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177553A (en) * 2019-12-27 2020-05-19 北京天译科技有限公司 Meteorological information processing method based on special group
JP2021068273A (en) * 2019-10-25 2021-04-30 Vesta株式会社 Program, method and information processing device
CN113900553A (en) * 2021-09-14 2022-01-07 维沃移动通信有限公司 Display method and device and electronic equipment
CN113986180A (en) * 2021-10-22 2022-01-28 东风电子科技股份有限公司 System, method and device for realizing weather information display processing of vehicle-mounted intelligent terminal, processor and storage medium thereof
CN114157755A (en) * 2022-02-09 2022-03-08 荣耀终端有限公司 Display method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809984A (en) * 2014-02-27 2014-05-21 联想(北京)有限公司 Data display method and electronic equipment
CN105159530A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application display object switching method and apparatus
CN105744014A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Terminal and protection sleeve
CN107533420A (en) * 2015-04-28 2018-01-02 Lg 电子株式会社 Watch style terminal and its control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809984A (en) * 2014-02-27 2014-05-21 联想(北京)有限公司 Data display method and electronic equipment
CN105744014A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Terminal and protection sleeve
CN107533420A (en) * 2015-04-28 2018-01-02 Lg 电子株式会社 Watch style terminal and its control method
CN105159530A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application display object switching method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021068273A (en) * 2019-10-25 2021-04-30 Vesta株式会社 Program, method and information processing device
CN111177553A (en) * 2019-12-27 2020-05-19 北京天译科技有限公司 Meteorological information processing method based on special group
CN113900553A (en) * 2021-09-14 2022-01-07 维沃移动通信有限公司 Display method and device and electronic equipment
CN113986180A (en) * 2021-10-22 2022-01-28 东风电子科技股份有限公司 System, method and device for realizing weather information display processing of vehicle-mounted intelligent terminal, processor and storage medium thereof
CN114157755A (en) * 2022-02-09 2022-03-08 荣耀终端有限公司 Display method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110062109A (en) Display method of weather information, device, electronic equipment and medium
US11508333B2 (en) Automatically adjusting screen brightness based on screen content
CN107957831B (en) Data processing method, device and processing equipment for displaying interface content
CN108874289B (en) Application history record viewing method and device and electronic equipment
US20130007662A1 (en) Prioritization of urgent tasks on mobile devices
US11774917B2 (en) Apparatus with API for use in indicating time interval durations of particular events
CN106155497B (en) Apparatus and method for providing additional information according to rotational input
CN108762611B (en) Application icon management method and device and readable storage medium
KR20110093099A (en) Method and apparatus for providing history of information associated to time information
CN108829456A (en) Application program preloads method, apparatus, storage medium and terminal
CN107291347B (en) Information display method and device
CN103941964A (en) Information loading method based on desktop components and intelligent terminal
CN104412214A (en) Information processing device, control method therefor, and program
CN112997134A (en) Application icon display method and device, storage medium and electronic equipment
CN108776927A (en) A kind of subscriber's account method for exhibiting data, device and equipment
KR20150040201A (en) Method for data usage management and electronic device thereof
CN108282410A (en) Background traffic control method, device, storage medium and user terminal
CN106060278A (en) Weather information prompting method, device and terminal
CN108595252A (en) A kind of event methods of exhibiting, device, terminal and readable storage medium storing program for executing
TW201918858A (en) Processing method, device, apparatus, and machine-readable medium
CN111459581A (en) Page switching method and device, electronic equipment and computer readable medium
CN105992278B (en) A kind of flow control methods and mobile terminal
US20160170808A1 (en) Contextual utilization management of applications in a pervasive device
CN115543168A (en) Method, device, equipment and medium for switching application
CN112861042B (en) Information display method, device, equipment and readable medium

Legal Events

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

Application publication date: 20190726

RJ01 Rejection of invention patent application after publication