CN114003827A - Weather information display method and device and electronic equipment - Google Patents

Weather information display method and device and electronic equipment Download PDF

Info

Publication number
CN114003827A
CN114003827A CN202010736934.7A CN202010736934A CN114003827A CN 114003827 A CN114003827 A CN 114003827A CN 202010736934 A CN202010736934 A CN 202010736934A CN 114003827 A CN114003827 A CN 114003827A
Authority
CN
China
Prior art keywords
information
user
electronic device
weather
place
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
CN202010736934.7A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010736934.7A priority Critical patent/CN114003827A/en
Priority to PCT/CN2021/107405 priority patent/WO2022022335A1/en
Publication of CN114003827A publication Critical patent/CN114003827A/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

Abstract

The embodiment of the application provides a method and a device for displaying weather information and electronic equipment, wherein in the method for displaying the weather information, after the electronic equipment acquires travel information of a user who uses the electronic equipment and does not travel, the electronic equipment acquires weather information of places included in a travel from a server, the weather information includes the weather information of the places when the user is in the places, and then the weather information of the places included in the travel is displayed according to the travel information of the user and the sequence of dates, so that the weather information of the places included in the travel can be conveniently checked when the user travels across regions, the travel safety of the user is improved, and convenient use experience is brought to the user.

Description

Weather information display method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of intelligent terminals, in particular to a method and a device for displaying weather information and electronic equipment.
Background
At present, the life style of people changes, some users often go out among a plurality of cities at home and abroad, and at the moment, weather information of a trip route point and a trip destination needs to be checked. Because weather information changes frequently, the appeal for checking the timeliness and convenience of the weather information is more prominent, for example, a user plans to start from martian to kunming (12 months and 5 days) in 12 months and 3 days, wherein 12 months and 4 days stay in beijing for 1 day, and in this case, the user needs to check the weather information of a route point and related weather change conditions in real time.
In the prior art, a city is added in a weather application, so that weather information of the added city is displayed on an interface of the weather application, but the above scheme only displays the weather information of the city added by a user, and when the user goes out across regions, the weather information of a passing point cannot be conveniently checked.
Disclosure of Invention
The embodiment of the application provides a method and a device for displaying weather information and electronic equipment, and further provides a computer-readable storage medium, so that when a user travels across regions, the weather information and weather-related early warning information of a route point can be conveniently checked, the travel safety of the user is improved, and convenient use experience is brought to the user.
In a first aspect, the present application provides a method for displaying weather information, including: the electronic equipment acquires travel information of a user who uses the electronic equipment and does not travel, wherein the travel information comprises a place and time when the user is at the place, and the place comprises a place where the user is currently located, a starting place, a passing place and a destination place of a travel of the user. Then, the electronic device acquires weather information of a place included in the travel from a server, wherein the weather information includes the weather information of the place in the time when the user is at the place. And finally, the electronic equipment displays the places included by the itinerary and the weather information of the places according to the itinerary information of the user and the sequence of the dates.
In the method for displaying the weather information, after the electronic equipment acquires the travel information of the user who uses the electronic equipment and does not travel, the weather information of the places included in the travel is acquired from the server, the weather information includes the weather information of the places within the time when the user is in the places, and then the weather information of the places included in the travel is displayed according to the travel information of the user and the sequence of dates, so that the weather information of the places included in the travel can be conveniently checked when the user travels across regions, the travel safety of the user is improved, and convenient use experience is brought to the user.
In one possible implementation manner, the displaying, by the electronic device, the weather information of the location may be: displaying a weather type icon of a place included in the travel; further, the displaying, by the electronic device, the weather information of the location may further include: and displaying the weather index associated with the place or the weather early warning information associated with the place.
In one possible implementation manner, after the electronic device obtains the weather information of the place included in the travel from the server, the electronic device may further determine a weather change condition according to the weather information of the place included in the travel; then, the electronic equipment displays the weather change condition.
In one possible implementation manner, the determining, by the electronic device, the weather change condition according to the weather information of the place included in the trip may be: the electronic equipment acquires the current location and the current time of the user, and acquires the next location of the user and the time for the user to reach the next location according to the current location, the current time and the travel information of the user; then, the electronic device determines weather change conditions between the current location and the next location of the user within the time range from the current time to the time when the user arrives at the next location according to the weather information of the location included in the travel.
In one possible implementation manner, the determining, by the electronic device, the weather change condition according to the weather information of the place included in the trip may be: the electronic equipment acquires the current location and the current time of the user, and acquires the stay time of the user at the current location according to the current location, the current time and the travel information of the user. And then, the electronic equipment determines the weather change condition of the place where the user is currently located in the stay time period according to the weather information of the place included in the travel.
In one possible implementation manner, the step of acquiring, by the electronic device, the trip information of the user who uses the electronic device, may be: the method comprises the steps that the electronic equipment obtains trip information which is set by a user using the electronic equipment and is not going out; or the electronic equipment acquires data to be identified, wherein the data to be identified comprises messages received by the electronic equipment, information recorded in a calendar schedule, information recorded in a memo and/or application data installed by the electronic equipment; identifying the data to be identified; and acquiring the travel information of the user who uses the electronic equipment but does not travel from the identification result.
In one possible implementation manner, before the electronic device obtains the travel information of the user who uses the electronic device and does not go out, after it is detected that the user adds operation information of at least two cities, prompt information is displayed in response to the operation information, and the prompt information is used for prompting the user to use the travel weather function.
In one possible implementation manner, before the electronic device obtains the travel information of the user who uses the electronic device and is not going on the trip, the electronic device may further obtain data to be identified, where the data to be identified includes a message received by the electronic device, information recorded in a calendar schedule, information recorded in a memo, and/or application data installed in the electronic device. And then, the electronic equipment identifies the data to be identified, and displays prompt information according to an identification result, wherein the prompt information is used for prompting the user to use the function of the journey weather.
In one possible implementation manner, after the electronic device displays the prompt message, the electronic device may further obtain confirmation information of the user, and then turn on the function switch of the travel weather according to the confirmation information of the user.
In one possible implementation manner, after displaying the weather information of the place, the electronic device detects operation information of the user for adjusting the travel, and then obtains travel information adjusted by the user, where the adjusted travel information includes an adjusted place and/or an adjusted time; then, the electronic device acquires the weather information of the place in the adjusted travel information from the server according to the time in the adjusted travel information, and displays the place in the adjusted travel information and the weather information of the place according to the time in the adjusted travel information according to the travel information adjusted by the user.
In a second aspect, an embodiment of the present application provides a device for displaying weather information, where the device is included in an electronic device, and the device has a function of implementing the behavior of the electronic device in the first aspect and possible implementation manners of the first aspect. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a receiving module or unit, a processing module or unit, a transmitting module or unit, etc.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; a plurality of application programs; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the electronic device, cause the electronic device to perform the steps of: acquiring travel information of a user who uses the electronic equipment and does not travel, wherein the travel information comprises a place and time when the user is at the place, and the place comprises a place where the user is currently located, a starting place, a passing place and a destination place of a travel of the user; acquiring weather information of a place included in the travel from a server, wherein the weather information includes weather information of the place in the time when the user is at the place; and displaying the places included in the itinerary and the weather information of the places according to the itinerary information of the user and the sequence of dates.
In one possible implementation manner, when the instruction is executed by the electronic device, the step of causing the electronic device to display the weather information of the place may be: displaying a weather type icon of a place included in the travel; when the instruction is executed by the electronic device, the step of displaying the weather information of the place by the electronic device may further include: and displaying the weather index associated with the place or the weather early warning information associated with the place.
In one possible implementation manner, when the instruction is executed by the electronic device, after the electronic device executes the step of obtaining the weather information of the place included in the travel from the server, the following steps are further executed: determining weather change conditions according to weather information of places included in the travel; and displaying the weather change condition.
In one possible implementation manner, when the instruction is executed by the electronic device, the step of causing the electronic device to execute the weather information according to the place included in the trip to determine the weather change condition may be: acquiring the current location and the current time of the user; acquiring a next place of the user and time for the user to reach the next place according to the place where the user is located, the current time and the travel information; and determining the weather change condition between the current place and the next place of the user in the time range from the current time to the time when the user arrives at the next place according to the weather information of the places included in the travel.
In one possible implementation manner, when the instruction is executed by the electronic device, the step of causing the electronic device to execute the weather information according to the place included in the trip to determine the weather change condition may be: acquiring the current location and the current time of the user; acquiring the stay time of the user at the current place according to the current place, the current time and the travel information of the user; and determining the weather change condition of the place where the user is currently located in the stay time period according to the weather information of the place included in the travel.
In one possible implementation manner, when the instruction is executed by the electronic device, the step of causing the electronic device to perform obtaining of the travel information of the user who uses the electronic device and has not traveled may be: acquiring trip information which is set by a user using the electronic equipment and is not going out; or acquiring data to be identified, wherein the data to be identified comprises messages received by the electronic equipment, information recorded in a calendar schedule, information recorded in a memo and/or application data installed by the electronic equipment; identifying the data to be identified; and acquiring the travel information of the user who uses the electronic equipment but does not travel from the identification result.
In one possible implementation manner, when the instruction is executed by the electronic device, before the electronic device performs the step of acquiring the trip information of the user who uses the electronic device, the following steps are further performed: and after detecting that the user adds the operation information of at least two cities, responding to the operation information, and displaying prompt information, wherein the prompt information is used for prompting the user to use the function of the journey weather.
In one possible implementation manner, when the instruction is executed by the electronic device, before the electronic device performs the step of acquiring the trip information of the user who uses the electronic device, the following steps are further performed: acquiring data to be identified, wherein the data to be identified comprises messages received by the electronic equipment, information recorded in a calendar schedule, information recorded in a memo and/or application data installed by the electronic equipment; identifying the data to be identified; and displaying prompt information according to the identification result, wherein the prompt information is used for prompting the user to use the function of the journey weather.
In one possible implementation manner, when the instruction is executed by the electronic device, after the electronic device executes the step of displaying the prompt information, the following step is further executed: acquiring the confirmation information of the user; and starting the function switch of the travel weather according to the confirmation information of the user.
In one possible implementation manner, when the instruction is executed by the electronic device, after the electronic device performs the step of displaying the weather information of the place, the following steps are further performed: detecting the operation information of the user for adjusting the travel; acquiring the journey information adjusted by the user, wherein the adjusted journey information comprises an adjusted place and/or adjusted time; acquiring weather information of a place in the adjusted travel information from the server according to the time in the adjusted travel information; and displaying the place in the adjusted travel information and the weather information of the place according to the travel information adjusted by the user and the time in the adjusted travel information.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method provided in the first aspect.
It should be understood that the second to fourth aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and beneficial effects obtained by the aspects and the corresponding possible implementation manners are similar and will not be described again.
In a fifth aspect, the present application provides a computer program for performing the method provided in the first aspect when the computer program is executed by a computer.
In a possible design, the program of the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
FIG. 1 is a schematic illustration of an interface for a weather application in the prior art;
FIG. 2 is a schematic diagram of a destination card displayed on a negative screen of an electronic device in the related art;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a block diagram of a software structure of the electronic device 100 according to an embodiment of the present application;
fig. 5 is a flowchart of a method for displaying weather information according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an interface for displaying weather information according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for displaying weather information according to another embodiment of the present disclosure;
FIG. 8 is a flowchart of a method for displaying weather information according to yet another embodiment of the present application;
FIG. 9 is a flowchart of a method for displaying weather information according to yet another embodiment of the present application;
FIG. 10 is a flowchart of a method for displaying weather information according to yet another embodiment of the present application;
fig. 11 is a schematic view of an application scenario of a method for displaying weather information according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
In the prior art, a weather application can display weather information of a current place of a user according to positioning information of electronic equipment; the user can add cities in the interface of the weather application, and the weather information of the cities is displayed on the interface of the weather application if the cities are added by the user; in addition, the weather application can also be used for early warning weather abnormity and/or disaster information. When a user goes out, the user can manually add a city passing by on a trip route, at this time, the weather application can display weather information of at least two days of each city added by the user, when the user checks the weather information of the city passing by, the user needs to scroll and turn over the screen, and then according to the own trip information and the time of reaching each city, the corresponding weather information is checked, as shown in fig. 1, fig. 1 is a schematic diagram of an interface of the weather application in the prior art.
Referring to fig. 1, suppose that a user wants to go to lata in beijing at present, and is about wuhan and Chengdu, so the user can add wuhan, Chengdu and lata manually, suppose that the departure date of the user is 12 months and 4 days, the time for the user to reach wuhan is 12 months and 5 days, and the time for the user to reach Chengdu is 12 months and 6 days, then the user needs to search the weather of beijing of 12 months and 4 days in the interface for displaying the weather information of beijing, then scroll and turn the screen, search the weather of wuhan of 12 months and 5 days in the interface for displaying the weather information of wuhan, then scroll and turn the screen, and search the weather of chengdu of 12 months and 6 days in the interface for displaying the weather information of Chengdu. Therefore, the operation of the user is complicated, and the user is inconvenient to check the weather information of the route point of the journey.
Moreover, the technical scheme only provides the query of the weather information of the city added by the user, and the display and the reminding of the weather information related to the region are avoided; the weather information displayed by the weather application has no regionalization difference, and the guiding significance for the trip of the user is weak.
In the prior art, another scheme for displaying weather information is provided, in which a user opens an electronic device, and if a trip is made to a short message received by the electronic device or the user manually adds a trip, a destination card can be displayed in a negative screen to display the weather information of a destination. Fig. 2 is a schematic diagram of a destination card displayed on a negative screen of an electronic device in the related art, and referring to fig. 2, assuming that a user orders an airline ticket through a third party application (App), the electronic device may extract travel information of the user from a received short message, and display weather information of a destination (new area of purdon) in a scene smart card with a negative screen.
However, the technical scheme only displays the weather information of the destination, and the displayed information is single, so that the user is inconvenient to check the weather information of the route point of the trip.
Based on the above problems, the embodiment of the application provides a method for displaying weather information, which can be used for conveniently checking the weather information of a route point and early warning information related to weather when a user travels across regions, so that the travel safety of the user is improved, and convenient use experience is brought to the user.
The method for displaying weather information provided by the embodiment of the application can be applied to electronic equipment, wherein the electronic equipment can be a smart phone, a tablet personal computer, wearable equipment, vehicle-mounted equipment, Augmented Reality (AR)/Virtual Reality (VR) equipment, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a special media player or a Personal Digital Assistant (PDA), and the like; the embodiment of the present application does not set any limit to the specific type of the electronic device.
For example, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 3, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
In the embodiment of the present application, the processor 110 is configured to calculate a causal time, a display time, and a ranking calculation.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (DCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
In the embodiment of the present application, the internal memory 121 is used for storing application data and chat records of the chat application, including but not limited to chat content, cause and effect time, display time, and/or the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 4 is a block diagram of a software structure of the electronic device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 4, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 4, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
For convenience of understanding, in the following embodiments of the present application, an electronic device having a structure shown in fig. 3 and fig. 4 is taken as an example, and a method for displaying weather information provided by the embodiments of the present application is specifically described in conjunction with the drawings and application scenarios.
Fig. 5 is a flowchart of a method for displaying weather information according to an embodiment of the present application, and as shown in fig. 5, the method for displaying weather information may include:
in step 501, the electronic device 100 obtains travel information that a user using the electronic device 100 does not travel.
The travel information includes a location and a time when the user is at the location, and the location includes a current location of the user, a start location, a route location, and a destination location of the user's travel.
In this embodiment, if the user travels from the current location, the current location of the user is the same as the starting location of the trip of the user; if the user does not travel from the current location, the current location of the user is different from the starting location of the user's trip.
Taking the current location of the user is the same as the starting location of the trip of the user as an example, the trip information that the user is not going out may be: the user starts from Beijing (starting point) to Xizang (destination point) in 11 th and 5 th of month, passes through Tangshan, Wuhan, Chengdu and Xining, wherein the time of arriving at the Tangshan is 11 th and 6 th of month, the time of arriving at the Wuhan is 11 th and 7 th of month, the time of arriving at the Chengdu is 11 th and 8 th to 11 th and 10 th of month, the time of arriving at the Xining is 11 th and 12 th of month. It can be seen that the trip information includes a location and a time when the user is at the location.
Specifically, the electronic device 100 may implement the operation of step 501 by the processor 110.
Step 502, obtaining weather information of a place included in the travel from a server, wherein the weather information includes weather information of the place in the time when the user is at the place.
Specifically, the server may be a server corresponding to a weather application, or a server of a third-party data provider, which is not limited in this embodiment.
In this embodiment, after the electronic device 100 obtains the travel information that the user is not traveling, the weather information of the place included in the travel may be obtained from the server, and as an example, the electronic device 100 needs to obtain, from the server, 11-month-5-day beijing weather information, 11-month-6-day down mountain weather information, 11-month-7-day marten weather information, 11-month-8-11-month-10-day-junior weather information, 11-month-11-day-xingning weather information, and 11-month-12-day-tibetan weather information.
Specifically, the electronic device 100 may implement the operation of step 502 through the processor 110, the antenna 1 and the mobile communication module 150, and/or through the processor 110, the antenna 2 and the wireless communication module 160.
Step 503, displaying the places included in the itinerary and the weather information of the places according to the itinerary information of the user and the sequence of the dates.
Specifically, in this embodiment, after obtaining the weather information of the place included in the travel, the place included in the travel and the weather information of the place may be displayed according to the travel information of the user and the order of the dates, as shown in fig. 6, where fig. 6 is an interface schematic diagram for displaying the weather information provided in an embodiment of the present application.
Referring to fig. 6, in the area shown in block 61, according to the travel information of the user, the places included in the travel of the user and the weather information of the places are displayed according to the sequence of the dates and the travel information of the user, including the weather information of beijing on day 11, day 5, day 6, down mountain on day 11, day 7 on day 11, wuhan on day 11, the weather information of junior from day 8 to day 10 on month 11, the weather information of kaning on day 11 on month 11, and the weather information of tibetan on day 12 on month 11.
As can be seen from fig. 6, in this embodiment, the display of the weather information is displayed in the form of a map according to the travel information of the user and the sequence of dates, and in a specific implementation, the map may be reasonably scaled according to the range of the places included in the travel of the user.
Specifically, the weather information of the location displayed by the electronic device 100 may be: the electronic device 100 displays a weather type icon of a place included in the travel; further, the displaying, by the electronic device 100, the weather information of the location may further include: and displaying the weather index associated with the place, and weather early warning information or weather information associated with the place. That is, when the electronic device 100 displays the weather information, only the weather type icon may be displayed, or both the weather type icon and the weather index associated with the location or the weather warning information associated with the location may be displayed.
The weather type icons can include icons corresponding to weather types such as sunny weather, rain weather, snow weather, cloudy weather and/or fog weather; the weather index can comprise a sports index, a car washing index, a dressing index and/or a tourism index and the like; the weather early warning information includes: ultraviolet index, rainstorm, typhoon, gale, haze, summer heat, fog, plum rain, and/or landslide, etc.
Referring to fig. 6, in the area indicated by the block 61, when weather information of the west ning and the tibetan is displayed, because the west ning and the tibetan belong to a plateau area and have strong ultraviolet rays, not only weather type icons (the west ning is fine and the tibetan is cloudy) but also weather warning information (the ultraviolet rays are strong) associated with places are displayed for the weather information of the west ning and the tibetan, so that the weather information related to the places is displayed, and it can be seen from the area indicated by the block 61 that the weather information displayed by the electronic device 100 has regional differences and has a high guiding significance for traveling of a user.
In addition, when the weather information is displayed, the weather information can be displayed according to the sequence of the priority from high to low, and the specific priority sequence can be weather index associated with rainfall condition in weather natural disasters > weather early warning information > weather types > and region > and non-rainfall description in the weather types. Precipitation includes, but is not limited to, precipitation, snowfall, and/or hail, among others.
Specifically, the electronic device 100 may implement the operation of step 503 through the processor 110 and the display screen 194.
In the method for displaying weather information, after the electronic device 100 acquires the travel information of a user who uses the electronic device 100 and does not travel, the weather information of a place included in the travel is acquired from the server, the weather information includes the weather information of the place within the time when the user is in the place, and then the weather information of the place included in the travel is displayed according to the travel information of the user and the sequence of dates, so that the weather information of the place included in the travel can be conveniently checked when the user travels across regions, the travel safety of the user is improved, and convenient use experience is brought to the user.
Fig. 7 is a flowchart of a method for displaying weather information according to another embodiment of the present application, as shown in fig. 7, in the embodiment shown in fig. 5 of the present application, after step 502, the method may further include:
in step 701, the electronic device 100 determines a weather change condition according to the weather information of the location included in the travel.
Wherein, the weather change condition may include: large temperature difference between different cities, change of weather types (such as from sunny to rainy), and/or natural disaster areas (such as landslides).
Specifically, the electronic device 100 may implement the operation of step 701 by the processor 110.
Step 702, displaying the weather change condition.
Specifically, the electronic device 100 may implement the operation of step 702 through the processor 110 and the display screen 194.
In one implementation, the determining, by the electronic device 100, the weather change condition according to the weather information of the place included in the trip may be: the electronic device 100 acquires a current location and a current time of the user, and then acquires a next location of the user and a time when the user arrives at the next location according to the current location, the current time and the travel information of the user; and then, according to the weather information of the places included in the travel, determining the weather change condition between the place where the user is located and the next place in the time range from the current time to the time when the user arrives at the next place.
Still taking fig. 6 as an example, the trip of the user is "beijing-tang mountain-wuhan-chengdu-xining-tibet", the electronic device 100 obtains that the user is currently in tang mountain, and the current time is 11 months and 6 days, then the electronic device 100 may obtain that the next place of the user is wuhan, and the time when the user arrives in wuhan is 11 months and 7 days, and then the electronic device 100 may determine, according to the obtained weather information, a weather change situation between tang mountain and wuhan within a time range of 11 months and 6 days and 11 months and 7 days.
In another implementation manner, the determining, by the electronic device 100, the weather change condition according to the weather information of the place included in the trip may be: the electronic device 100 obtains the current location and the current time of the user, and obtains the staying time length of the user at the current location according to the current location, the current time and the travel information of the user; and then, determining the weather change condition of the place where the user is currently located in the stay time period according to the weather information of the place included in the travel.
Still taking fig. 6 as an example, assuming that the electronic device 100 obtains the current time of the user in the current turn-by-turn and the current time is 11, month and 8 days, according to the trip information, the electronic device 100 may obtain the stay time of the user in the turn-by-turn and the stay time is 11, month and 8 days to 11, month and 10 days, and then, the electronic device 100 may determine the weather change condition of the turn-by-turn in 11, month and 8 days to 11, month and 10 days according to the weather information of the place included in the trip.
In this embodiment, after determining the weather change condition in step 701, the electronic device 100 may display the weather change condition on a desktop or a negative screen of the electronic device 100 in a form of notification, and of course, may also display the weather change condition in an interface shown in fig. 6, where the display form of the weather change condition is not limited in this embodiment.
In addition, besides showing the weather change condition, the electronic device 100 may also remind the user of going out according to the weather change condition, for example: when the weather change condition is large in temperature difference, reminding the user to dress; when weather changes from sunny to rainy, reminding a user to carry rain gear; when the weather change condition is in a natural disaster area, the user is reminded of cautious trip and the like, so that a suggestion can be provided for the trip of the user.
Fig. 8 is a flowchart of a method for displaying weather information according to still another embodiment of the present application, as shown in fig. 8, in the embodiment shown in fig. 5 of the present application, step 501 may be:
in step 801, the electronic device 100 acquires trip information set by a user using the electronic device 100.
That is, in this embodiment, the user may manually add a place and a time when the user arrives at the added place by himself/herself, and the electronic device 100 acquires and saves the place and the time added by the user, thereby acquiring the travel information that the user has not traveled.
Specifically, the electronic device 100 may implement the operation of step 801 by the processor 110.
Fig. 9 is a flowchart of a method for displaying weather information according to still another embodiment of the present application, as shown in fig. 9, in the embodiment shown in fig. 5 of the present application, step 501 may include:
in step 901, the electronic device 100 obtains data to be identified, where the data to be identified includes a message received by the electronic device 100, information recorded in a calendar schedule, information recorded in a memo, and/or application data of an application installed in the electronic device 100.
The message received by the electronic device 100 includes: a short message received by the electronic device 100 and/or a message received by the electronic device 100 through an instant messaging application installed in the electronic device 100; the application data of the application installed by the electronic device 100 includes: application data of the travel-class application and/or the ticket booking-class application installed by the electronic device 100.
Specifically, the electronic device 100 may implement the operation of step 901 through the processor 110.
And step 902, identifying the data to be identified.
Step 903, obtaining the trip information of the user using the electronic device 100 from the identification result.
Specifically, the electronic device 100 may recognize the data to be recognized through intelligent language processing and semantic recognition, and then the electronic device 100 may obtain the travel information of the user not traveling from the recognition result.
Specifically, the electronic device 100 may implement the operations of step 902 and step 903 through the processor 110.
Further, in an implementation manner of the embodiment of the application, before the electronic device 100 acquires the trip information that the user using the electronic device 100 is not going on the trip, the electronic device 100 may further display a prompt message in response to the operation information after detecting that the user adds the operation information of at least two cities, where the prompt message is used for prompting the user to use a function of trip weather.
In a specific implementation, after the electronic device 100 detects that the user adds operation information of at least two cities in a display interface of a weather application installed in the electronic device 100, the electronic device 100 may prompt the user to use a function of travel weather in response to the operation information.
In another implementation manner of the embodiment of the present application, before the electronic device 100 acquires the travel information that the user using the electronic device 100 is not going on a trip, the electronic device 100 may further acquire data to be identified, where the data to be identified includes a message received by the electronic device 100, information recorded in a calendar schedule, information recorded in a memo, and/or application data of an application installed in the electronic device 100; then, the electronic device 100 identifies the data to be identified, and displays a prompt message for prompting the user to use the function of the trip weather according to the identification result.
That is to say, in this implementation manner, the electronic device 100 may identify the message received by the electronic device 100, the information recorded in the calendar schedule, the information recorded in the memo, and/or the application data of the application installed in the electronic device 100, determine whether the user has a travel requirement according to the identification result, and if it is determined that the user has a travel requirement, prompt the user to use a function of travel weather.
Further, in this embodiment of the application, after the prompt message is displayed, the electronic device 100 may further obtain the confirmation message of the user, and turn on the function switch of the travel weather according to the confirmation message of the user.
Specifically, after the electronic device 100 prompts the user to use the function of the trip weather, if the user confirms to use the function of the trip weather, the user may click the "ok" icon, or input confirmation information to the electronic device 100 through other operation forms, and after the electronic device 100 acquires the confirmation information of the user, the function switch of the trip weather may be turned on. After the functional switch of the travel weather is turned on, the electronic device 100 may automatically acquire data to be identified according to the method provided by the embodiment shown in fig. 9 of the present application, identify the data to be identified, and then acquire the travel information that the user is not traveling from the identification result.
Fig. 10 is a flowchart of a method for displaying weather information according to still another embodiment of the present application, as shown in fig. 10, in the embodiment shown in fig. 5 of the present application, after step 503, the method may further include:
in step 1001, the electronic device 100 detects the operation information of the user for adjusting the travel.
Specifically, the electronic device 100 may implement the operation of step 1001 through the processor 110 and the touch sensor 180K.
Step 1002, obtaining the journey information adjusted by the user, where the adjusted journey information includes an adjusted location and/or an adjusted time.
In particular implementations, electronic device 100 may implement the operations of step 1002 by processor 110.
Step 1003, obtaining the weather information of the place in the adjusted journey information from the server according to the time in the adjusted journey information.
Specifically, the electronic device 100 may implement the operation of step 1003 by the processor 110, the antenna 1 and the mobile communication module 150, and/or by the processor 110, the antenna 2 and the wireless communication module 160.
And 1004, displaying the place in the adjusted journey information and the weather information of the place according to the time in the adjusted journey information and according to the journey information adjusted by the user.
Specifically, the electronic device 100 may implement the operation of step 1004 through the processor 110 and the display screen 194.
Specifically, referring to fig. 6, if the travel information displayed in the area indicated by the block 61 is inconsistent with the actual travel information of the user, the user may click the icon indicated by 62 to adjust the corresponding travel information, and the user may adjust the time or the location in the travel information, or may adjust both the time and the location in the travel information, which is not limited in this embodiment. After the user finishes adjusting the travel information, the electronic device 100 obtains the weather information from the server again, and then displays the weather information.
The method for displaying weather information provided in the embodiment of the present application may be applied to the scenario shown in fig. 11, and fig. 11 is an application scenario diagram of the method for displaying weather information provided in an embodiment of the present application.
As shown in fig. 11, the electronic device 100 may intelligently detect the trip, and specifically, the electronic device 100 may acquire the trip data of apps such as "short message", calendar schedule, three-party travel and/or trip through intelligent language processing and semantic recognition.
Then, the electronic device 100 may obtain weather information of a place included in the travel from a server, where the weather information includes weather information of the place during a time when the user is at the place.
Next, the electronic device 100 may present the user's travel route and the related weather information on an interface (e.g., the interface shown in fig. 6).
Specifically, the weather information of the places included in the journey can be displayed according to the following principles:
1) displaying a weather type icon;
2) when weather information is displayed, the weather information can be displayed according to the following priority: weather natural disasters > weather early warning information > precipitation conditions in weather types > region-associated weather indexes > non-precipitation descriptions in weather types.
The weather indexes related to the regions comprise, but are not limited to, ultraviolet indexes in plateau regions, storm typhoons in coastal cities, gales in northern cities, haze in northern cities, summer heat and heat in southern cities, heavy fog in London, plum rain in southern cities, landslides in mountains and/or the like; such precipitation, including but not limited to rainfall, snowfall, and/or hail, among others.
In addition, the electronic device 100 may analyze the weather abnormal condition in the user trip in time according to the weather condition on the path, for example: the method has the advantages that the temperature difference between different cities is large, a user is reminded of wearing clothes and the weather in the journey is changed from sunny to rainy, the user is reminded of carrying rain gears, or areas with natural disasters exist in the journey, the user is reminded of going out cautiously, and the like.
In the embodiment of the application, for the obtaining manner of the travel information of the user not going out, the electronic device 100 may obtain data to be identified, where the data to be identified includes a message received by the electronic device 100, information recorded in a calendar schedule, information recorded in a memo, information provided by minus one screen and/or application data of an application installed in the electronic device 100, identify the data to be identified through intelligent language processing and semantic identification, and then the electronic device 100 may obtain the travel information of the user not going out from the identification result; in addition, the electronic apparatus 100 may also acquire travel information (including location and date information) manually added by the user.
If the user finds that the travel information displayed by the electronic device 100 is inconsistent with the actual travel information of the user, the user may adjust the travel information, including adjusting the location and/or time, on the interface where the electronic device 100 displays the travel weather, and after the user finishes adjusting the travel information, the electronic device 100 acquires the weather information from the server again, and then displays the weather information.
For the weather early warning information, a temperature difference range can be preset, and when the weather information is combined with date data, the temperature difference exceeding range is obtained through analysis, the electronic device 100 can remind a user to dress clothes and the like through a system notification mode. If a weather change-like anomaly is found, for example: in sunny weather, sunny snow, the electronic device 100 may remind the user to carry the travel tool, and the notification frequency may be preset.
And the disaster abnormal data can be displayed by notification or negative one screen.
The method for displaying the weather information can improve the use experience of a user in cross-region traveling, prevent the change of trip climate, maintain the trip safety and have higher reference value for the trip planning of the user. Particularly, when a user is travelling by himself, the weather information of the passing points needs to be known timely and conveniently at a plurality of places.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The exemplary algorithm steps described in connection with the embodiments disclosed herein may be embodied in hardware or in a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the method embodiments, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present application, where each functional module is divided according to a corresponding function, fig. 12 shows a schematic possible composition diagram of the electronic device 1200 according to the foregoing embodiment, and as shown in fig. 12, the electronic device 1200 may include: a receiving unit 1201, a processing unit 1202, and a transmitting unit 1203;
the receiving unit 1201 may be configured to support the electronic device 1200 to perform step 502, step 1003, and the like, and/or other processes of the technical solution described in the embodiment of the present application;
the processing unit 1202 may be configured to support the electronic device 1200 to perform step 501, step 503, step 701, step 702, step 801, step 901, step 902, step 903, step 1001, step 1002, step 1004, and/or other processes used in the technical solutions described in the embodiments of the present application;
the sending unit 1203 may be configured to support the electronic device 1200 to perform step 502, step 1003, and the like, and/or other processes of the technical solutions described in the embodiments of the present application.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device 1200 provided in this embodiment is used for executing the method for displaying weather information, and therefore, the same effect as the method can be achieved.
It should be understood that electronic device 1200 may correspond to electronic device 100 shown in fig. 1. The functions of the receiving unit 1201 and the transmitting unit 1203 may be implemented by the processor 110, the antenna 1 and the mobile communication module 150 in the electronic device 100 shown in fig. 1, and/or by the processor 110, the antenna 2 and the wireless communication module 160; the functions of the processing unit 1202 may be implemented by the processor 110, the touch sensor 180K, and the display screen 194 in the electronic device 100 shown in fig. 1.
Where an integrated unit is employed, the electronic device 1200 may include a processing module, a memory module, and a communication module.
The processing module may be configured to control and manage actions of the electronic device 1200, and for example, may be configured to support the electronic device 1200 to execute steps executed by the receiving unit 1201, the processing unit 1202, and the sending unit 1203. The memory module may be used to support the electronic device 1200 in storing program codes and data, etc. A communication module that may be used to support communication of the electronic device 1200 with other devices.
Among other things, a processing module may be a processor or controller that may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the present disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip and/or a Wi-Fi chip, and the like, which interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 1200 according to this embodiment may be a device having the structure shown in fig. 1.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the method provided by the embodiments shown in fig. 5 to 11 of the present application.
Embodiments of the present application further provide a computer program product, which includes a computer program, when the computer program runs on a computer, causing the computer to execute the method provided by the embodiments shown in fig. 5 to 11 of the present application.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
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, any function, if implemented in the form of a software functional unit and sold or used as a separate 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: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A method for displaying weather information is characterized by comprising the following steps:
the method comprises the steps that the electronic equipment acquires travel information of a user using the electronic equipment, wherein the travel information comprises a place and time when the user is in the place, and the place comprises a place where the user is currently located, a starting place of a travel of the user, a passing place and a destination place;
acquiring weather information of a place included in the travel from a server, wherein the weather information includes the weather information of the place in the time when the user is in the place;
and displaying the places included in the itinerary and the weather information of the places according to the itinerary information of the user and the sequence of dates.
2. The method of claim 1, wherein the presenting weather information for the venue comprises:
displaying a weather type icon of a place included in the travel;
the displaying the weather information of the place further comprises: and displaying the weather index associated with the place or the weather early warning information associated with the place.
3. The method of claim 1, wherein after obtaining weather information of the location included in the travel from the server, the method further comprises:
determining weather change conditions according to weather information of places included in the travel;
and displaying the weather change condition.
4. The method of claim 3, wherein determining weather changes based on weather information for the location included in the trip comprises:
acquiring the current location and the current time of the user;
acquiring the next place of the user and the time when the user arrives at the next place according to the place where the user is located, the current time and the travel information;
and determining the weather change condition between the current place and the next place of the user in the time range from the current time to the time when the user arrives at the next place according to the weather information of the places included in the travel.
5. The method of claim 3, wherein determining weather changes based on weather information for the location included in the trip comprises:
acquiring the current location and the current time of the user;
acquiring the stay time of the user at the current place according to the current place, the current time and the travel information of the user;
and determining the weather change condition of the place where the user is currently located in the stay time period according to the weather information of the place included in the travel.
6. The method according to any one of claims 1-5, wherein the electronic device obtaining the travel information that the user using the electronic device is not traveling comprises:
the electronic equipment acquires trip information which is set by a user using the electronic equipment and is not on a trip; alternatively, the first and second electrodes may be,
the electronic equipment acquires data to be identified, wherein the data to be identified comprises messages received by the electronic equipment, information recorded in a calendar schedule, information recorded in a memo and/or application data installed by the electronic equipment;
identifying the data to be identified;
and acquiring the travel information of the user using the electronic equipment, which is not going out, from the identification result.
7. The method of claim 6, wherein before the electronic device obtains the travel information that the user using the electronic device is not traveling, the method further comprises:
and after detecting that the user adds operation information of at least two cities, the electronic equipment responds to the operation information and displays prompt information, wherein the prompt information is used for prompting the user to use the function of journey weather.
8. The method of claim 6, wherein before the electronic device obtains the travel information that the user using the electronic device is not traveling, the method further comprises:
the electronic equipment acquires data to be identified, wherein the data to be identified comprises messages received by the electronic equipment, information recorded in a calendar schedule, information recorded in a memo and/or application data installed by the electronic equipment;
identifying the data to be identified;
and displaying prompt information according to the identification result, wherein the prompt information is used for prompting the user to use the function of the journey weather.
9. The method according to claim 7 or 8, wherein after presenting the prompt message, further comprising:
acquiring the confirmation information of the user;
and starting the function switch of the travel weather according to the confirmation information of the user.
10. The method according to any one of claims 1 to 5, wherein after the displaying the weather information of the place, the method further comprises:
the electronic equipment detects the operation information of the user for adjusting the travel;
acquiring the journey information adjusted by the user, wherein the adjusted journey information comprises an adjusted place and/or adjusted time;
acquiring weather information of a place in the adjusted travel information from the server according to the time in the adjusted travel information;
and displaying the place in the adjusted travel information and the weather information of the place according to the travel information adjusted by the user and the time in the adjusted travel information.
11. A weather information presentation device for performing the method of any one of claims 1 to 10.
12. An electronic device, comprising:
one or more processors; a memory; a plurality of application programs; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the steps of:
the method comprises the steps of obtaining travel information of a user using the electronic equipment, wherein the travel information comprises a place and time when the user is in the place, and the place comprises a place where the user is located currently, a starting place of a travel of the user, a passing place and a destination place;
acquiring weather information of a place included in the travel from a server, wherein the weather information includes the weather information of the place in the time when the user is in the place;
and displaying the places included in the itinerary and the weather information of the places according to the itinerary information of the user and the sequence of dates.
13. The electronic device of claim 12, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the step of presenting weather information for the venue comprises:
displaying a weather type icon of a place included in the travel;
when executed by the electronic device, the instructions cause the electronic device to perform the step of presenting weather information for the venue further comprising:
and displaying the weather index associated with the place or the weather early warning information associated with the place.
14. The electronic device of claim 12, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the following steps after the step of obtaining weather information for the location included in the itinerary from a server:
determining weather change conditions according to weather information of places included in the travel;
and displaying the weather change condition.
15. The electronic device of claim 14, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the step of determining weather change conditions based on weather information for a location included in the trip comprises:
acquiring the current location and the current time of the user;
acquiring the next place of the user and the time when the user arrives at the next place according to the place where the user is located, the current time and the travel information;
and determining the weather change condition between the current place and the next place of the user in the time range from the current time to the time when the user arrives at the next place according to the weather information of the places included in the travel.
16. The electronic device of claim 14, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the step of determining weather change conditions based on weather information for a location included in the trip comprises:
acquiring the current location and the current time of the user;
acquiring the stay time of the user at the current place according to the current place, the current time and the travel information of the user;
and determining the weather change condition of the place where the user is currently located in the stay time period according to the weather information of the place included in the travel.
17. The electronic device of any one of claims 12-16, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the step of obtaining travel information for a user not traveling using the electronic device comprises:
acquiring trip information which is set by a user using the electronic equipment and is not on a trip; alternatively, the first and second electrodes may be,
acquiring data to be identified, wherein the data to be identified comprises messages received by the electronic equipment, information recorded in a calendar schedule, information recorded in a memo and/or application data installed by the electronic equipment;
identifying the data to be identified;
and acquiring the travel information of the user using the electronic equipment, which is not going out, from the identification result.
18. The electronic device of claim 17, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the following steps prior to the step of obtaining travel information for a user not traveling using the electronic device:
and after detecting that the user adds operation information of at least two cities, responding to the operation information, and displaying prompt information, wherein the prompt information is used for prompting the user to use the function of journey weather.
19. The electronic device of claim 17, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the following steps prior to the step of obtaining travel information for a user not traveling using the electronic device:
acquiring data to be identified, wherein the data to be identified comprises messages received by the electronic equipment, information recorded in a calendar schedule, information recorded in a memo and/or application data installed by the electronic equipment;
identifying the data to be identified;
and displaying prompt information according to the identification result, wherein the prompt information is used for prompting the user to use the function of the journey weather.
20. The electronic device of claim 18 or 19, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the step of presenting the reminder information further comprising:
acquiring the confirmation information of the user;
and starting the function switch of the travel weather according to the confirmation information of the user.
21. The electronic device of any of claims 12-16, wherein the instructions, when executed by the electronic device, cause the electronic device to perform the following steps after the step of presenting weather information for the venue:
detecting operation information of the user for adjusting the travel;
acquiring the journey information adjusted by the user, wherein the adjusted journey information comprises an adjusted place and/or adjusted time;
acquiring weather information of a place in the adjusted travel information from the server according to the time in the adjusted travel information;
and displaying the place in the adjusted travel information and the weather information of the place according to the travel information adjusted by the user and the time in the adjusted travel information.
22. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1-10.
CN202010736934.7A 2020-07-28 2020-07-28 Weather information display method and device and electronic equipment Pending CN114003827A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010736934.7A CN114003827A (en) 2020-07-28 2020-07-28 Weather information display method and device and electronic equipment
PCT/CN2021/107405 WO2022022335A1 (en) 2020-07-28 2021-07-20 Method and apparatus for displaying weather information, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010736934.7A CN114003827A (en) 2020-07-28 2020-07-28 Weather information display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114003827A true CN114003827A (en) 2022-02-01

Family

ID=79920473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010736934.7A Pending CN114003827A (en) 2020-07-28 2020-07-28 Weather information display method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN114003827A (en)
WO (1) WO2022022335A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095227B (en) * 2022-06-20 2023-10-31 荣耀终端有限公司 Information display method of terminal equipment and terminal equipment
CN115016687A (en) * 2022-06-23 2022-09-06 拉扎斯网络科技(上海)有限公司 Weather information display method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218709B (en) * 2013-05-03 2017-10-03 北京百度网讯科技有限公司 intelligent schedule management method, system and cloud server
CN107087052A (en) * 2017-03-02 2017-08-22 深圳市金立通信设备有限公司 A kind of Weather information intelligent display method and terminal
CN110727882B (en) * 2019-09-26 2022-12-02 上海掌门科技有限公司 Information presentation method, electronic device and computer readable medium

Also Published As

Publication number Publication date
WO2022022335A1 (en) 2022-02-03

Similar Documents

Publication Publication Date Title
CN110138959B (en) Method for displaying prompt of human-computer interaction instruction and electronic equipment
CN109584879B (en) Voice control method and electronic equipment
CN109890067B (en) Method and electronic equipment for identifying specific position on specific route
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN110825469A (en) Voice assistant display method and device
CN111316199B (en) Information processing method and electronic equipment
CN110543287A (en) Screen display method and electronic equipment
CN113722581B (en) Information pushing method and electronic equipment
WO2021258814A1 (en) Video synthesis method and apparatus, electronic device, and storage medium
CN113722028B (en) Dynamic card display method and device
CN114115512B (en) Information display method, terminal device, and computer-readable storage medium
CN112130714B (en) Keyword search method capable of learning and electronic equipment
CN111602108A (en) Application icon display method and terminal
CN113949803B (en) Photographing method and electronic equipment
WO2022022335A1 (en) Method and apparatus for displaying weather information, and electronic device
CN111835904A (en) Method for starting application based on context awareness and user portrait and electronic equipment
CN113641271A (en) Application window management method, terminal device and computer readable storage medium
CN113507406B (en) Message management method and related equipment
CN114995715A (en) Control method of floating ball and related device
CN115022807A (en) Express delivery information reminding method and electronic equipment
CN113822643A (en) Method and device for setting travel reminding
CN114911400A (en) Method for sharing pictures and electronic equipment
CN114828098A (en) Data transmission method and electronic equipment
CN111339513A (en) Data sharing method and device
WO2023116669A1 (en) Video generation system and method, and related apparatus

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