CN111259270A - Weather reminding method, equipment and computer readable medium - Google Patents

Weather reminding method, equipment and computer readable medium Download PDF

Info

Publication number
CN111259270A
CN111259270A CN202010044081.0A CN202010044081A CN111259270A CN 111259270 A CN111259270 A CN 111259270A CN 202010044081 A CN202010044081 A CN 202010044081A CN 111259270 A CN111259270 A CN 111259270A
Authority
CN
China
Prior art keywords
information
weather
reminding
application
reminding information
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
CN202010044081.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 CN202010044081.0A priority Critical patent/CN111259270A/en
Publication of CN111259270A publication Critical patent/CN111259270A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a weather reminding scheme, which can acquire weather information of a plurality of time windows of a target place, such as weather information in a plurality of continuous days and a plurality of continuous hours, then acquire reminding information of weather according to the weather information of the plurality of time windows of the target place, and display the reminding information on an application icon of a weather application. The weather application does not directly show weather information to the user, but shows reminding information obtained based on weather information analysis to the user, such as rain, cooling, continuous high temperature and the like in multiple days, so that the user can obtain more information more intuitively.

Description

Weather reminding method, equipment and computer readable medium
Technical Field
The present application relates to the field of information technology, and in particular, to a weather alert method, a weather alert device, and a computer readable medium.
Background
With the continuous development of information technology and the popularization of network technology, electronic terminal devices such as computers, mobile phones and tablet computers bring great convenience to the life of users, for example, people can use application programs (APP) to obtain a large amount of information. The weather application is one of application programs commonly used by users, and the users can view weather information through the weather application.
At present, the way that the weather application provides information to the user is generally to directly show the weather information in a future period of time to the user, for example, the weather application may obtain the following weather information:
forecast date Weather description Air temperature Wind power
YYYY-MM-AA Cloudy 28 Grade 3
YYYY-MM-BB Light rain 19 Grade 5
YYYY-MM-CC Light rain 20 Grade 5
When the weather application provides information for a user, the data in the table is displayed in a specific interface of the application according to a certain format. Therefore, if a user needs to check the weather information, the user needs to open the weather application and then enter a specific interface, the operation is complicated, the content checked by the user is only the direct display of the weather information, and the information is not rich enough.
Content of application
One object of the present application is to provide a weather alert method, apparatus, and computer readable medium.
To achieve the above object, some embodiments of the present application provide a weather alert method, including:
acquiring weather information about a plurality of time windows of a target place;
acquiring reminding information about weather according to the weather information of a plurality of time windows of the target site;
and displaying the reminding information on an application icon of the weather application.
In addition, the embodiment of the application also provides a weather reminding device, which comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the weather reminding device is triggered to execute the weather reminding method.
Embodiments of the present application also provide a computer readable medium, on which computer program instructions are stored, where the computer readable instructions are executable by a processor to implement the weather alert method.
In the weather alert scheme provided by some embodiments of the present application, first, weather information about a plurality of time windows of a target location, for example, weather information for a plurality of consecutive days and a plurality of consecutive hours, may be obtained, then, alert information about weather is obtained according to the weather information about the plurality of time windows of the target location, and the alert information is displayed on an application icon of a weather application. The weather application does not directly show weather information to the user, but shows reminding information obtained based on weather information analysis to the user, such as rain, cooling, continuous high temperature and the like in multiple days, so that the user can obtain more information more intuitively.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a processing flow chart of a weather alert method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface for displaying brief content of a reminder message on an application icon of a weather application according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another interface for displaying brief content of a reminder message on an application icon of a weather application according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an interface for displaying details of a reminder message in an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a display of a reminder message on a lock screen interface according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a case where a reminder message is displayed in a first screen of a weather application in an embodiment of the present application;
FIG. 7 is a flowchart of a process for implementing a weather alert using the solution provided in the embodiment of the present application;
FIG. 8 is a schematic structural diagram of a computing device for implementing a weather alert according to an embodiment of the present application;
the same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In a typical configuration of the present application, the terminal, the devices serving the network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media 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 memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The embodiment of the application provides a weather reminding method, when relevant weather information is provided for a user, the weather information such as temperature, weather description and wind power is not directly displayed for the user, but the reminding information obtained based on weather information analysis is displayed for the user, for example, the weather information is rainy, cooled and continuously high in days, so that the user can obtain more information more intuitively.
In a practical scenario, the execution subject of the method may be a user equipment, or a device formed by integrating the user equipment and a network device through a network. The user equipment at least comprises a display device, and is used for interacting with a user and displaying reminding information about weather to the user. The part of the scheme related to data processing can be implemented locally in the user equipment, or can be implemented in the network equipment and provides the processing result to the user equipment through the network, and the part related to interactive display is implemented only by the user equipment. The user equipment comprises but is not limited to various terminal equipment such as a computer, a mobile phone and a tablet computer; including but not limited to implementations such as a network host, a single network server, multiple sets of network servers, or a cloud-computing-based collection of computers. Here, the Cloud is made up of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, one virtual computer consisting of a collection of loosely coupled computers.
Fig. 1 shows a processing flow of a weather alert method provided in an embodiment of the present application, which at least includes the following processing steps:
in step S101, weather information about a plurality of time windows of a target site is acquired.
The target location is a location corresponding to the weather reminding information, and the target location may be determined according to a requirement of an actual application scenario, for example, if the user needs to check the weather reminding information of the current location, the target location may be the current location of the user, and the actual scenario may be determined according to positioning information obtained by a positioning module in user equipment executing the method. For example, when the user needs to check the weather reminding information of other places concerned by the user, the target place may be any place set by the user, and if the user needs to check the weather reminding information of the city a, the city a may be set as the target place in advance.
The target location may be a plurality of locations, for example, one target location may be determined according to the positioning information of the user equipment, and the user may add a plurality of additional locations as additional target locations in advance. For each target location, the weather information of a plurality of corresponding time windows can be obtained, and subsequent processing is independently performed to respectively display the reminding information of different target locations.
The time windows are different time intervals, the window length of the time window can be set according to the requirements of an actual scene, if a user pays more attention to information in a longer time span, the longer window length can be set, and otherwise, the shorter window length can be set. For example, for a target site, the time windows may be days in the future, such as 11 months 23 days, 11 months 24 days, 11 months 25 days for 3 consecutive days, or may be hours in the future.
In some embodiments of the present application, the method of weather alert may be triggered by a preset trigger condition, and thus when the weather information about a plurality of time windows of the target location is obtained, the target location may be determined when the preset trigger condition is met, and then the weather information about the plurality of time windows of the target location may be queried. The triggering condition may be that a preset time interval is reached after the method is executed last time or that the current time is a preset time, so that the weather reminding can be realized regularly, for example, the weather reminding is realized once every 1 hour, or the weather reminding is realized at a specific time every day.
In addition, the trigger condition may be that a preset first trigger operation is detected to be performed by the user. For the user equipment, the first trigger operation may be various types of gesture operations, and an actual scene may include, but is not limited to, the following types: a hover operation gesture, a touch operation gesture, a trend of movement of the user device, and the like. The suspension operation gesture of the user may refer to a suspension sliding track of the user within an acquisition range of an image sensor of the user equipment. The image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a Metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment. The suspension sliding track may include, but is not limited to, a straight line or a curve with any shape, which is composed of a plurality of dwell points corresponding to a plurality of consecutive sliding events, and this embodiment is not particularly limited thereto.
The touch operation gesture of the user may refer to a touch sliding track of the user on a preset interface displayed on a display device of the user equipment. Generally, user devices can be classified into two types according to whether a display device has a characteristic of touch input, one type is a touch device, and the other type is a non-touch device. Specifically, a contact operation gesture of a user on a business card display interface displayed on a touch screen of the touch device may be detected. The contact sliding trajectory may include, but is not limited to, a straight line or a curve with an arbitrary shape, which is composed of a plurality of touch points corresponding to a plurality of consecutive touch events, and this embodiment is not particularly limited thereto. For example, a long press operation gesture on an application icon of a weather application implementing a weather alert, or a swipe gesture starting at an application icon location of the weather application, etc. may be for the user.
The movement trend of the user driving the user equipment may refer to a movement track of the user equipment, such as shaking, turning, moving along a specific track, and the like, when the user holds the user equipment by hand and displays a preset interface on a display device of the user equipment, the movement track of the user equipment is driven to move.
It will be understood by those skilled in the art that the specific form of the trigger condition described above is merely exemplary, and other forms based on similar principles now existing or later to appear should be within the scope of the present application if applicable, and are herein incorporated by reference. For example, other gesture operations, a trigger condition triggered based on the current positioning information (triggered when the positioning information corresponds to a preset place), or a trigger condition triggered according to the running state of the weather application (triggered when the weather application is active in the background), and the like.
And step S102, acquiring reminding information about weather according to the weather information of the target site in the plurality of time windows. The weather reminding information refers to an analysis conclusion which needs to be paid attention by the user and is obtained after the weather information is analyzed, for example, if the weather information of the city a for the next several days is as follows:
forecast date Weather description Air temperature Wind power
YYYY-11-23 Cloudy 28 Grade 3
YYYY-11-24 Light rain 19 Grade 5
YYYY-11-25 Light rain 20 Grade 5
After analyzing the above, the following analysis results can be obtained:
1. within 3 days, 2 days, and 11 months, 24 days and 11 months, 25 days.
2. In 11 months and 24 days, the temperature is greatly reduced by 9 ℃.
3. In the future 3 days, 2 days have strong wind, and the wind power of 11 months and 24 days and 11 months and 25 days is more than 5 grades.
Compared with the method that weather information such as weather description, temperature, wind power and the like is directly displayed to a user, the method that the reminding information obtained after analysis is displayed to the user enables the user to know the influence of the weather information on the user more visually, and more information is obtained more efficiently.
In some embodiments of the application, when determining the weather-related reminding information according to the weather information of the multiple time windows of the target location, the weather information of the multiple time windows of the target location may be analyzed based on a preset matching rule set, and if the weather information of the multiple time windows of the target location conforms to any matching rule in the matching rule set, the reminding information corresponding to the matching rule is obtained.
The matching rule set comprises a plurality of preset matching rules, and each matching rule can match the reminding information based on any one or more items of content in the weather information. For example, the matching rule corresponding to the reminder information of "rainy day" may be, for example, a number of days with rain of 3 days or more in 5 days in the future, a number of days with rain of 2 days or more in 3 days in the future, or a number of days with rain of 6 days or more in 10 days in the future, and the matching rule corresponding to the reminder information of "continuous high temperature" may be, for example, an air temperature of more than 30 degrees in 4 consecutive days in the future. Therefore, after the weather information of a plurality of time windows of the target site is matched with the matching rules in the matching rule set one by one, all pieces of reminding information corresponding to the target site can be determined, such as rain, temperature reduction, strong wind, air quality reduction, continuous high temperature and the like in a plurality of days.
And step S103, displaying the reminding information on an application icon of the weather application. Because the application icon is generally displayed on the desktop of the user equipment operating system, the user can check the reminding information about weather without opening the weather application, the operation is simplified, and the user experience is improved.
In an actual scene, since the matching rule set may include a plurality of matching rules, matching may be completed based on different specific contents in the weather information, so as to obtain reminding information in different aspects, such as reminding information related to temperature, reminding information related to wind power, reminding information related to air quality, and the like. The reminding information does not conflict and can exist at the same time, so that a large amount of reminding information can be acquired after the weather information of a plurality of time windows of the target site is analyzed based on a preset matching rule set.
In order to enable the information acquired by the user to be more effective, only a few pieces of reminding information with high importance can be selected for display when the reminding information is more. Therefore, in some embodiments of the application, if N pieces of reminding information corresponding to the matching rule are obtained, according to the importance degree of the reminding information, M pieces of reminding information with higher importance degree are selected, and the M pieces of reminding information are displayed on an application icon of a weather application, wherein N, M is a positive integer greater than 1, and N is greater than M.
For example, the number of the most displayed reminding information may be set as a, and when the matching rule set is set, a score related to the degree of importance may be set in advance for the reminding information corresponding to each matching rule. When the number N of the acquired reminding information is larger than a according to the matching rule set, sorting the N pieces of reminding information according to the scores of the importance degrees, and selecting the first M pieces of reminding information according to the sorting result, namely M pieces of reminding information with higher importance degrees. And M is set to be less than or equal to a, so that excessive reminding information can be prevented from being output to the user at the same time, the user can preferentially acquire more important reminding information, and the user experience is further improved.
Because the display area occupied by the application icon is often small, when the reminding information is displayed on the application icon of the weather application, the brief content of the reminding information can be displayed on the application icon of the weather application. For example, the two pieces of reminding information in the embodiment of the present application are respectively: 1. the wind can be blown in 2 days in the next 3 days, and the temperature can be greatly reduced in 2 days and three days in the future. If the whole contents of the two pieces of reminding information are displayed on the application icon, the two pieces of reminding information may not be normally displayed due to the limited display area, so that the user is difficult to acquire the information. Therefore, the brief content corresponding to each type of reminding information can be configured in advance, and the specific form of the brief content can be characters, graphs and the like. For example, for the two pieces of reminding information, when the two pieces of reminding information are in a text form, the corresponding brief contents may be: 1. strong wind, 2, cooling, whereby the specific interface when displaying the reminder information on the application icon of the weather application may be as shown in fig. 2. In addition, when the graph form is adopted, different graphs can be set to represent the two pieces of reminding information respectively, and the corresponding display interfaces are as shown in fig. 3, where graph 310 is brief content 1, and graph 320 is brief content 2.
Because the brief content can only provide simpler information for the user, for the user needing to obtain more detailed information, the weather prompting method provided by some embodiments of the application can also obtain the trigger operation information input by the user, and display the detailed content of the prompting information according to the trigger operation information, so that the user can obtain more detailed information. For example, for the two pieces of reminding information, the brief content is 1, strong wind, 2, and cooling, and the corresponding detailed content may be: 1. in the future 3 days, 2 days have strong wind, the wind power of 24 days in 11 months and 25 days in 11 months is more than 5 grade, and the temperature is greatly reduced by 9 ℃ in 24 days in 2 and 11 months.
The trigger operation information may be a second trigger operation performed by the user, and the second trigger operation may also be various gesture operations, which are not described herein again. The second trigger operation is different from the first trigger operation in execution timing, the first trigger operation being an operation performed by the user before the reminder information is displayed, and the second trigger operation being an operation performed by the user after the brief content of the reminder information has been displayed.
When the detailed content is displayed, the detailed content may be used instead of the brief content, or the detailed content and the brief content may be displayed simultaneously in the embodiment of the present application. When the brief content is replaced by the detailed content, the detailed content of the reminding information can be displayed on the application icon according to the trigger operation information so as to replace the brief content of the reminding information.
And when the detailed content and the brief content are displayed at the same time, a message box can be generated near the application icon according to the trigger operation information, and the detailed content of the reminding information is displayed in the message box. The message frame may be in a floating layer form, the floating layer is a function provided by an operating system of the user equipment, a function of creating the floating layer may be obtained by obtaining a floating layer authority of the operating system, and after obtaining the floating window authority, the floating layer may be created on an upper layer of a display interface of the user equipment to display specific information. For example, in the embodiment of the present application, the floating layer may be created near the application icon, such as on the left side or the right side, and details of the reminder information are displayed in the floating layer, as shown in fig. 4.
In some embodiments of the application, the weather reminding method may further determine a reminding level of the reminding information, and add a display effect corresponding to the reminding level of the reminding information to the reminding information according to the reminding level, so that a user can intuitively obtain more information. The reminding level can be determined according to the influence degree of weather corresponding to the reminding information on the user, a higher reminding level can be set for weather with larger influence on the user, and a lower reminding level can be set for weather with smaller influence on the user. For example, a heavy rain on consecutive days may have a greater impact on the user than a light rain on consecutive days, and thus the two reminder messages may have different reminder levels.
For each different reminding level, a corresponding display effect can be preset, for example, the display effect can be that frames with different colors are added to an application icon applied to weather according to different reminding levels, and if the reminding level can be set to 1-5 levels according to the requirement of an actual scene, the corresponding display effect can be a red frame, an orange frame, a yellow frame, a blue frame and a green frame. It should be understood by those skilled in the art that the setting manner of the reminding level and the specific form of the display effect are only examples, and other forms based on similar principles, which exist now or later come, should be included in the protection scope of the present application if applicable, and are included by reference. For example, the reminding level can be set in a personalized manner according to the identity information of the user, and the display effect can adopt other forms such as changing the font color and the like.
In other embodiments of the present application, in addition to displaying the reminding information about the weather on the application icon of the weather application, a message box may be generated in the screen locking interface of the user equipment, and the reminding information is displayed in the message box, or the reminding information is displayed in the first screen of the weather application. Therefore, when the current interface of the user equipment is not positioned on the system desktop, the user can quickly view the reminding information about the weather. Fig. 5 shows a schematic diagram of the user equipment when the screen locking interface displays the reminding message, where the message box 510 in the screen locking interface may adopt a notification box default to the system, or may also adopt a floating layer defined by a weather application, so that the reminding message may be displayed when the user equipment is in a screen locking state. Fig. 6 is a schematic diagram illustrating the display of the reminder information in the first screen of the weather application, wherein the reminder information is displayed in the display area 610.
Fig. 7 shows a processing flow when the weather alert is implemented by using the scheme provided in the embodiment of the present application, which includes the following processing steps:
step S701, obtaining weather data from a weather service provider, that is, querying the weather service provider for weather information of a plurality of time windows of a target location.
Step S702, matching the obtained weather data using the rule.
Step S703 is to determine whether weather data corresponding to the rule is matched, if so, step S704 is executed, and if not, step S706 is executed.
Step S704, generating a reminding message corresponding to the rule.
Step S705, determining whether the rule is the last rule, if so, executing step S707, and if not, executing step S706.
And step S706, continuing to match the obtained weather data by using the next rule.
And step S707, summarizing the reminding information.
Step S708, displaying the reminding information on an application icon of the weather application in the user equipment.
Based on the same inventive concept, the embodiment of the application also provides a weather reminding device, the corresponding method of the device is the weather reminding method in the embodiment, and the problem solving principle is similar to that of the method. The apparatus comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform the aforementioned weather alert method.
In an actual scenario, the weather alert device may be a user device, or a device formed by integrating the user device and a network device through a network. The user equipment at least comprises a display device, and is used for interacting with a user and displaying reminding information about weather to the user. The part of the scheme related to data processing can be implemented locally in the user equipment, or can be implemented in the network equipment and provides the processing result to the user equipment through the network, and the part related to interactive display is implemented only by the user equipment. The user equipment comprises but is not limited to various terminal equipment such as a computer, a mobile phone and a tablet computer; including but not limited to implementations such as a network host, a single network server, multiple sets of network servers, or a cloud-computing-based collection of computers. Here, the Cloud is made up of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, one virtual computer consisting of a collection of loosely coupled computers.
The user equipment comprises but is not limited to various terminal equipment such as a computer, a mobile phone and a tablet computer; including but not limited to implementations such as a network host, a single network server, multiple sets of network servers, or a cloud-computing-based collection of computers. Here, the Cloud is made up of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, one virtual computer consisting of a collection of loosely coupled computers.
Fig. 8 shows a structure of a device suitable for implementing the method and/or technical solution in the embodiment of the present application, and the device 800 includes a Central Processing Unit (CPU)801, which can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage portion 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for system operation are also stored. The CPU 801, ROM 802, and RAM803 are connected to each other via a bus 804. An Input/Output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, a touch screen, a microphone, an infrared sensor, and the like; an output section 807 including a Display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), an LED Display, an OLED Display, and the like, and a speaker; a storage portion 808 comprising one or more computer-readable media such as a hard disk, optical disk, magnetic disk, semiconductor memory, or the like; and a communication section 809 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet.
In particular, the methods and/or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart or block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, 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 that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer-readable medium carries one or more computer-readable instructions executable by a processor to implement the methods and/or aspects of the embodiments of the present application as described above.
In summary, in the weather alert scheme provided in some embodiments of the present application, first weather information about multiple time windows of a target location, for example, weather information for multiple consecutive days and multiple consecutive hours, then alert information about weather is obtained according to the weather information about the multiple time windows of the target location, and the alert information is displayed on an application icon of a weather application. The weather application does not directly show weather information to the user, but shows reminding information obtained based on weather information analysis to the user, such as rain, cooling, continuous high temperature and the like in multiple days, so that the user can obtain more information more intuitively.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In some embodiments, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (11)

1. A weather alert method, wherein the method comprises:
acquiring weather information about a plurality of time windows of a target place;
acquiring reminding information about weather according to the weather information of a plurality of time windows of the target site;
and displaying the reminding information on an application icon of the weather application.
2. The method of claim 1, wherein obtaining weather information for a plurality of time windows at a target site comprises:
determining a target location when a preset trigger condition is met;
weather information is queried for multiple time windows about the target site.
3. The method of claim 1, wherein determining weather-related reminder information based on the weather information for the target plurality of time windows comprises:
analyzing the weather information of a plurality of time windows of the target site based on a preset matching rule set;
and if the weather information of the multiple time windows of the target site conforms to any matching rule in the matching rule set, acquiring reminding information corresponding to the matching rule.
4. The method of claim 3, wherein displaying the reminder information on an application icon of a weather application comprises:
if N pieces of reminding information corresponding to the matching rules are obtained, M pieces of reminding information with higher importance degrees are selected according to the importance degrees of the reminding information, wherein N, M is a positive integer larger than 1, and N is larger than M;
and displaying the M pieces of reminding information on an application icon of the weather application.
5. The method of claim 1, wherein displaying the reminder information on an application icon of a weather application comprises:
displaying brief content of the reminding information on an application icon of a weather application;
the method further comprises the following steps:
and acquiring trigger operation information input by a user, and displaying the detailed content of the reminding information according to the trigger operation information.
6. The method of claim 5, wherein displaying the details of the reminder information according to the trigger operation information comprises:
displaying the detailed content of the reminding information on the application icon according to the triggering operation information to replace the brief content of the reminding information; or
And generating a message frame near the application icon according to the trigger operation information, and displaying the detailed content of the reminding information in the message frame.
7. The method of claim 1, wherein the method further comprises:
and determining the reminding level of the reminding information, and adding a display effect corresponding to the reminding level of the reminding information to the reminding information according to the reminding level.
8. The method of claim 1, wherein the method further comprises:
and generating a message frame in a screen locking interface of the user equipment, and displaying the reminding information in the message frame.
9. The method of claim 1, wherein the method further comprises:
and displaying the reminding information in a first screen of the weather application.
10. A weather alerting device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the method of any one of claims 1 to 9.
11. A computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of any one of claims 1 to 9.
CN202010044081.0A 2020-01-15 2020-01-15 Weather reminding method, equipment and computer readable medium Pending CN111259270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010044081.0A CN111259270A (en) 2020-01-15 2020-01-15 Weather reminding method, equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010044081.0A CN111259270A (en) 2020-01-15 2020-01-15 Weather reminding method, equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN111259270A true CN111259270A (en) 2020-06-09

Family

ID=70948968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010044081.0A Pending CN111259270A (en) 2020-01-15 2020-01-15 Weather reminding method, equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN111259270A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148982A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Display method, display device and electronic equipment
CN112991100A (en) * 2021-04-07 2021-06-18 北京有竹居网络技术有限公司 Weather prompting method and device and electronic equipment
CN113947952A (en) * 2020-07-17 2022-01-18 华风爱科气象科技(北京)有限公司 Method and equipment for meteorological information query

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202134A (en) * 2011-04-29 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Display method of weather forecast and mobile terminal
CN105827841A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Icon display method and device
CN106126043A (en) * 2016-06-30 2016-11-16 努比亚技术有限公司 A kind of information processing method and mobile terminal
CN107979528A (en) * 2017-11-17 2018-05-01 广东乐心医疗电子股份有限公司 Weather reminding method and system
CN107977276A (en) * 2017-12-20 2018-05-01 维沃移动通信有限公司 A kind of based reminding method of Changes in weather, device and mobile terminal
CN109100822A (en) * 2018-06-29 2018-12-28 上海掌门科技有限公司 Weather based reminding method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202134A (en) * 2011-04-29 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Display method of weather forecast and mobile terminal
CN105827841A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Icon display method and device
CN106126043A (en) * 2016-06-30 2016-11-16 努比亚技术有限公司 A kind of information processing method and mobile terminal
CN107979528A (en) * 2017-11-17 2018-05-01 广东乐心医疗电子股份有限公司 Weather reminding method and system
CN107977276A (en) * 2017-12-20 2018-05-01 维沃移动通信有限公司 A kind of based reminding method of Changes in weather, device and mobile terminal
CN109100822A (en) * 2018-06-29 2018-12-28 上海掌门科技有限公司 Weather based reminding method and equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113947952A (en) * 2020-07-17 2022-01-18 华风爱科气象科技(北京)有限公司 Method and equipment for meteorological information query
CN112148982A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Display method, display device and electronic equipment
CN112991100A (en) * 2021-04-07 2021-06-18 北京有竹居网络技术有限公司 Weather prompting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US9032309B2 (en) Temporal task-based tab management
WO2019062550A1 (en) Information display method and apparatus, terminal device and computer storage medium
CN111259270A (en) Weather reminding method, equipment and computer readable medium
US9886793B1 (en) Dynamic video visualization
CN111966255B (en) Information display method and device, electronic equipment and computer readable medium
US11894021B2 (en) Data processing method and system, storage medium, and computing device
CN110990090A (en) Dynamic wallpaper display method, device and computer readable medium
CN110619099B (en) Comment content display method, device, equipment and storage medium
CN112272109A (en) Network topological graph generation method, equipment and system
CN108475182A (en) Data processing method and electric terminal
US9507790B2 (en) Providing file indexes and per-file viewing modes within a file management application
CN109116718B (en) Method and device for setting alarm clock
CN114528816A (en) Collaborative editing information display method and device, electronic equipment and readable medium
CN111381819A (en) List creation method and device, electronic equipment and computer-readable storage medium
CN109683726B (en) Character input method, character input device, electronic equipment and storage medium
CN107885807B (en) File saving method and device, intelligent tablet and storage medium
US10890988B2 (en) Hierarchical menu for application transition
CN114461214A (en) Page display method and device, electronic equipment and storage medium
US9361651B2 (en) Displaying quantitative trending of pegged data from cache
CN111723177A (en) Modeling method and device of information extraction model and electronic equipment
CN112308678A (en) Price information processing method, device, equipment and medium based on image recognition
CN107741992B (en) Network storage method and device for conference records, intelligent tablet and storage medium
CN111371674A (en) Interaction method and device for unread message identification and computer readable medium
CN111815340B (en) Popularization information determination method, device, equipment and readable storage medium
US10078424B2 (en) Recognition and display of reading progress

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: 20200609

RJ01 Rejection of invention patent application after publication