Weather display method and device, electronic equipment and storage medium
By acquiring and analyzing weather, time and location information, the weather micro-live is dynamically displayed, which solves the problem of a single desktop weather display method on the car and computer, and achieves personalized and practical dynamic weather presentation.
Patent Information
- Application Number
- CN202411386043.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-21
AI Technical Summary
The desktop weather display method of the car computer terminal is relatively single, unable to meet practical functions, and lacks dynamic and personalized presentation methods.
By obtaining the weather correlation information of the weather element element that displays the device, including weather information, time information, and location information, and determine the target element component and its element presentation according to this information, the weather is dynamically displayed.
It provides a dynamic presentation method of weather micro-live, expands the usage scenarios of weather micro-live dynamic presentation, and can personalize the weather dynamic presentation content to meet the practical and aesthetic needs of users.
Smart Images

Figure CN119336431A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a weather display method, device, electronic device and storage medium. Background Art
[0002] As smart cockpits become more and more popular, people have higher and higher demands for the emotional experience of car computers. They need car computers to satisfy their aesthetic experience and provide practical life services. To meet users' aesthetic experience and practical needs.
[0003] In the related technologies, there are two common methods for dynamically displaying weather information. One is to preset background animation data of corresponding weather types and call different animation data according to weather information; the other is to control the changing rules of weather elements, such as speed, viewing angle, shape, etc., and combine with user touch operations to give interactive feedback. These technologies are mainly used to solve the presentation of weather elements and corresponding dynamic effects in the weather application interface. These dynamic effects are either animated graphics directly built into the application, or require animation feedback in combination with user interaction.
[0004] In summary, the related technologies have a relatively simple way of presenting desktop themes on the car side, which are mostly static desktop wallpapers or static desktop theme wallpapers. Even the rare dynamic wallpapers only present wallpaper functions and cannot meet practical functions. Summary of the invention
[0005] The present application provides a weather display method, device, electronic device and storage medium to solve the problem that the weather display method on the vehicle desktop is relatively simple and cannot meet practical functions. It can provide a dynamic presentation method of weather micro-live, expand the use scenarios of weather micro-live dynamic presentation, and can flexibly and personalized manage weather dynamic presentation content.
[0006] The first aspect of the present application provides a weather display method, comprising the following steps:
[0007] Acquire weather element associated information of a target display device, wherein the weather element associated information includes: weather information, time information and location information;
[0008] A target element component and an element presentation mode of the target element component are determined according to the weather element association information, and the target element component is displayed on the target display device according to the element presentation mode.
[0009] Optionally, in some embodiments, determining a target element component and an element presentation mode of the target element component according to the weather-related information includes:
[0010] The weather phenomenon elements, pattern elements and background elements to be displayed are determined from an interface element library according to the weather information, the time information and the location information.
[0011] Optionally, in some embodiments, the element presentation method includes: element movement rules, element presentation position and element display color.
[0012] Optionally, in some embodiments, before determining the weather phenomenon element, the pattern element and the background element to be displayed from the interface element library according to the weather information, the time information and the location information, the method further includes:
[0013] Determining whether the target display device receives an update instruction of the interface element library;
[0014] If the target display device receives an update instruction for the interface element library, the interface element library is updated according to the update instruction.
[0015] A second aspect of the present application provides a weather display device, comprising:
[0016] An acquisition module, used to acquire weather element associated information of a target display device, wherein the weather element associated information includes: weather information, time information and location information;
[0017] A display module is used to determine a target element component and an element presentation mode of the target element component according to the weather element association information, and display the target element component on the target display device according to the element presentation mode.
[0018] Optionally, in some embodiments, the display module includes:
[0019] A determination unit is used to determine the weather phenomenon elements, pattern elements and background elements to be displayed from an interface element library according to the weather information, the time information and the location information.
[0020] Optionally, in some embodiments, the element presentation method includes: element movement rules, element presentation position and element display color.
[0021] Optionally, in some embodiments, before determining the weather phenomenon element, the pattern element and the background element to be displayed from the interface element library according to the weather information, the time information and the location information, the determining unit includes:
[0022] A judging subunit, used for judging whether the target display device receives an update instruction of the interface element library;
[0023] The updating subunit is used to update the interface element library according to the updating instruction when the target display device receives the updating instruction of the interface element library.
[0024] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the weather display method as described in the above embodiment.
[0025] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the weather display method as described in the above embodiment.
[0026] Thus, by obtaining the weather element association information of the target display device, wherein the weather element association information includes: weather information, time information and location information, and determining the target element component and the element presentation mode of the target element component according to the weather element association information, the target element component is displayed on the target display device according to the element presentation mode. Thus, the problem that the weather display mode on the desktop of the vehicle is relatively single and cannot meet practical functions is solved, and a dynamic presentation mode of weather micro-live can be provided, which expands the use scenarios of dynamic presentation of weather micro-live, and can personalize the management of dynamic presentation content of weather.
[0027] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0029] Figure 1 A flow chart of a weather display method provided according to an embodiment of the present application;
[0030] Figure 2 A schematic diagram of the principle of a weather display method provided according to an embodiment of the present application;
[0031] Figure 3 A schematic block diagram of a weather display device provided according to an embodiment of the present application;
[0032] Figure 4 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0033] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0034] The weather display method, device, electronic device and storage medium of the embodiments of the present application are described below with reference to the accompanying drawings. In response to the problem mentioned in the above background technology that the weather display method on the desktop of the vehicle terminal is relatively simple and cannot meet practical functions, the present application provides a weather display method, in which the weather element association information of the target display device is obtained, wherein the weather element association information includes: weather information, time information and location information, and the target element component and the element presentation method of the target element component are determined according to the weather element association information, and the target element component is displayed on the target display device according to the element presentation method. In this way, the problem that the weather display method on the desktop of the vehicle terminal is relatively simple and cannot meet practical functions is solved, a dynamic presentation method of weather micro-live can be provided, the use scenarios of the dynamic presentation of weather micro-live can be expanded, and the dynamic presentation content of weather can be personalized.
[0035] Specifically, Figure 1 A flow chart of a weather display method provided in an embodiment of the present application.
[0036] like Figure 1 As shown, the weather display method includes the following steps:
[0037] In step S101, weather element associated information of a target display device is obtained, wherein the weather element associated information includes: weather information, time information and location information.
[0038] Among them, the target display device is the car terminal, and other terminal devices with display functions such as mobile phones and tablets are also applicable.
[0039] The embodiments of the present application are not limited to the weather application interface, but also support a wider range of scene presentations, such as dynamic weather micro-live theme wallpapers, etc. In addition, in special areas or festivals, users can be given some emotional experiences. For example, for countries with religious beliefs, the weather background can be combined with corresponding religious elements, and on special festivals, the weather background can also be combined with the festival elements and scenes to give users emotional care for specific times and specific scenes.
[0040] Specifically, the embodiments of the present application can obtain weather information of the target display device, such as sunny days, rainy days, and snowy days, to display the current weather conditions based on the current weather information; it can also obtain time information, such as early morning, noon, and midnight, to display the weather conditions with time information based on the current time information. In addition, the day's festivals can be determined based on the time information, such as the Dragon Boat Festival, Mid-Autumn Festival, Spring Festival, etc., to enrich the way the weather is presented. Location information can also be obtained, such as Saudi Arabia, etc., to display weather conditions with regional characteristics.
[0041] In step S102, a target element component and an element presentation mode of the target element component are determined according to the weather element association information, and the target element component is displayed on a target display device according to the element presentation mode.
[0042] According to the weather type, the various weather elements of the real-time weather conditions are standardized into replaceable element components, such as weather background images, sun, moon, cloud, rain, snow, lightning and other element components. The weather background image can be standardized according to the seasons, such as spring, summer, autumn, winter, and countries, regions, festivals, etc.
[0043] Further, in some embodiments, the target element component and the element presentation method of the target element component are determined according to the weather-related information, including: determining the weather phenomenon elements, pattern elements and background elements to be displayed from the interface element library according to the weather information, time information and location information.
[0044] Among them, the element presentation method includes: element movement rules, element presentation position and element display color. The interface element library is used to store all element components and is updated, deleted, added, etc. by relevant technical personnel.
[0045] Specifically, the embodiments of the present application can determine the target element component in the element component, the color of the target element component and the presentation position of the target element component according to weather information, time information and location information.
[0046] The embodiments of the present application can classify and manage according to country / region and general weather elements in the cloud, and standardize the elements under each category into manageable element components. For example, according to the major category of country / region, the general weather background of the country, the general weather background of each festival, the personalized elements of each festival, etc. can be standardized into corresponding element components; and according to the major weather category, the default weather background, clouds, rain, snow, lightning, sun, moon and other elements can be standardized into corresponding element components. These element components can all be uniformly managed in the cloud, including updating, deletion, adding, etc.
[0047] The elements in the interface are dynamically changed according to the rules of motion, such as the sun rising and setting according to the time, and the clouds floating randomly.
[0048] A copy of the current country / region and common weather element components is stored on the vehicle. For example, Saudi Arabia is a country that mainly believes in Islam. Therefore, in addition to the common weather elements (clouds, rain, snow, sun, etc.), the built-in weather elements will be personalized based on the characteristics of the religious belief, rather than the default common weather background for all countries and regions.
[0049] During the actual execution process, the vehicle computer obtains the weather conditions of the current country / region by real-time monitoring of the weather interface data, calls the corresponding element components according to the current weather conditions, and presents them in the interface according to the corresponding positions.
[0050] For example, if it is currently monitored that it is cloudy, the cloudy weather background and clouds are displayed in the interface, and the colors of the clouds under the cloudy sky are given according to the weather conditions. Furthermore, different elements are dynamically changed according to the movement rules, such as clouds floating in the wind.
[0051] For another example, if it is currently monitored as a sunny day at noon, the interface will display the sunny weather background, sun, and clouds, and the colors of the clouds under the sunny sky will be assigned according to the weather conditions. The sun will be displayed at the top center according to the time factor. As time goes by, the sun's trajectory will slowly descend to the horizon and disappear, and the weather background will change from noon to sunset and finally to the night background. In addition to random movement and blocking and displaying the sun, the clouds will also be assigned other colors at night to express the meaning of the clouds at night. In addition, at night, the corresponding elements such as the moon and stars will also appear, and the stars will move and flash according to the rules of movement.
[0052] The vehicle computer monitors the current weather conditions at regular intervals, and determines which elements to display or hide based on the current weather conditions. For example, if the vehicle computer initially displays a sunny day, and then monitors a thunderstorm, the sun element in the sunny day is hidden and disappears, and rain, lightning and other elements are displayed. Based on the mapping of the physical world, the size and direction of the rain, the appearance and disappearance of lightning and other dynamic changes are controlled. At the same time, the color of the clouds is given the color of dark clouds to adapt to the current thunderstorm scene. There are many types of weather. Different countries may have four distinct seasons, or they may have the same climate season all year round. These all affect the elements presented in the current display interface. The above two weather examples are only used as illustrations of the embodiments of this application.
[0053] Optionally, in some embodiments, before determining the weather phenomenon elements, pattern elements and background elements to be displayed from the interface element library based on weather information, time information and location information, it includes: judging whether the target display device receives an update instruction of the interface element library; if the target display device receives an update instruction of the interface element library, updating the interface element library according to the update instruction.
[0054] Combination Figure 2 As shown, the element components of the embodiment of the present application support cloud updates, and can perform partition management on the cloud for countries, regions, weather elements, festivals, etc., to achieve differentiated weather real-time dynamics such as personalization of local customs and practices in different countries and personalization of elements of special holiday scenes.
[0055] Specifically, when the network conditions are good, the vehicle computer monitors whether the cloud has sent down update interface data. If so, it can directly update the latest data. The scope of the update includes but is not limited to UI updates of various elements, weather updates for specific scenarios such as special holidays, etc.
[0056] For example, today is the Dragon Boat Festival and it is a sunny day. The cloud will send down the weather elements display content of the Dragon Boat Festival. When the vehicle is started and connected to the network, the vehicle computer will receive the update prompt and directly update the display of weather conditions combined with the characteristic elements of the festival, including but not limited to the Dragon Boat Festival weather background, sun, clouds, dragon boats and other elements. Furthermore, according to the rules of the sport, the position or color of dragon boats, water ripples, clouds, and the sun can be changed.
[0057] After the Dragon Boat Festival, the displayed weather elements will return to the original default weather elements. Specific weather elements will only be displayed on specific festivals and in specific scenarios. This can not only remind users of the current holiday information, but also give users a different emotional experience.
[0058] In summary, the embodiments of the present application display various weather elements in terminals such as car computers according to the actual weather conditions, standardize the various weather elements of the actual weather conditions into replaceable components, and make personalized element processing in combination with scenes such as countries, regions, and festivals to achieve dynamic real-time weather in personalized scenes. This dynamic presentation method of weather micro-live is not only limited to weather applications, but also supports a wider range of scene presentations, such as dynamic weather micro-live theme wallpapers.
[0059] Therefore, the embodiments of the present application have the following beneficial effects: (1) It has many usage scenarios and is not limited to weather applications. It can also be displayed on terminal desktops such as car terminals. It is not necessary to use the weather application to obtain dynamic weather information and it can also serve as a desktop wallpaper. (2) The various weather elements are standardized into replaceable components, and the combination of weather element components is flexible and personalized. For example, the weather and related background or holiday elements can be flexibly combined according to weather information, national customs, holiday information, etc.; (3) The weather element components can be updated in the cloud, can adapt to various scene elements, and can be updated without being noticed.
[0060] According to the weather display method proposed in the embodiment of the present application, the weather element association information of the target display device is obtained, wherein the weather element association information includes: weather information, time information and location information, and the target element component and the element presentation mode of the target element component are determined according to the weather element association information, and the target element component is displayed on the target display device according to the element presentation mode. In this way, the problem that the weather display mode on the desktop of the vehicle is relatively single and cannot meet practical functions is solved, and a dynamic presentation mode of weather micro-live can be provided, which expands the use scenarios of dynamic presentation of weather micro-live, and can personalize the management of dynamic presentation content of weather.
[0061] Next, the weather display device proposed according to the embodiment of the present application is described with reference to the accompanying drawings.
[0062] Figure 3 It is a block diagram of a weather display device according to an embodiment of the present application.
[0063] like Figure 3 As shown, the weather display device 10 includes: an acquisition module 100 and a display module 200 .
[0064] The acquisition module 100 is used to acquire weather element associated information of a target display device, wherein the weather element associated information includes: weather information, time information and location information.
[0065] The display module 200 is used to determine the target element component and the element presentation mode of the target element component according to the weather element association information, and display the target element component on the target display device according to the element presentation mode.
[0066] Optionally, in some embodiments, the display module 200 includes: a determination unit.
[0067] Among them, the determination unit is used to determine the weather phenomenon elements, pattern elements and background elements to be displayed from the interface element library according to the weather information, time information and location information.
[0068] Optionally, in some embodiments, the element presentation method includes: element movement rules, element presentation position and element display color.
[0069] Optionally, in some embodiments, before determining the weather phenomenon elements, pattern elements and background elements to be displayed from the interface element library according to the weather information, time information and location information, the determination unit includes: a judgment subunit and an update subunit.
[0070] The determination subunit is used to determine whether the target display device receives an update instruction of the interface element library.
[0071] The updating subunit is used to update the interface element library according to the updating instruction when the target display device receives the updating instruction of the interface element library.
[0072] It should be noted that the aforementioned explanation of the weather display method embodiment is also applicable to the weather display device of this embodiment, and will not be repeated here.
[0073] According to the weather display device proposed in the embodiment of the present application, by obtaining the weather element association information of the target display device, wherein the weather element association information includes: weather information, time information and location information, and determining the target element component and the element presentation mode of the target element component according to the weather element association information, the target element component is displayed on the target display device according to the element presentation mode. In this way, the problem that the weather display mode on the desktop of the vehicle is relatively single and cannot meet practical functions is solved, and a dynamic presentation mode of weather micro-live can be provided, which expands the use scenarios of dynamic presentation of weather micro-live, and can personalize the management of dynamic presentation content of weather.
[0074] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0075] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0076] When the processor 402 executes the program, the weather display method provided in the above embodiment is implemented.
[0077] Furthermore, the electronic device further comprises:
[0078] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0079] The memory 401 is used to store computer programs that can be executed on the processor 402 .
[0080] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0081] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0082] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0083] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0084] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the weather display method as described above is implemented.
[0085] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0086] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0087] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0088] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0089] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0090] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A weather display method, characterized in that: The steps include: Acquire weather element associated information of a target display device, wherein the weather element associated information includes: weather information, time information and location information; A target element component and an element presentation mode of the target element component are determined according to the weather element association information, and the target element component is displayed on the target display device according to the element presentation mode.
2. The method according to claim 1, characterized in that The determining the target element component and the element presentation mode of the target element component according to the weather-related information includes: The weather phenomenon elements, pattern elements and background elements to be displayed are determined from an interface element library according to the weather information, the time information and the location information.
3. The method according to claim 2, characterized in that The element presentation method includes: element movement rules, element presentation position and element display color.
4. The method according to claim 2, characterized in that: Before determining the weather phenomenon element, the pattern element and the background element to be displayed from the interface element library according to the weather information, the time information and the location information, the method includes: Determining whether the target display device receives an update instruction of the interface element library; If the target display device receives an update instruction for the interface element library, the interface element library is updated according to the update instruction.
5. A weather display device, characterized in that: include; An acquisition module, used to acquire weather element associated information of a target display device, wherein the weather element associated information includes: weather information, time information and location information; A display module is used to determine a target element component and an element presentation mode of the target element component according to the weather element association information, and display the target element component on the target display device according to the element presentation mode.
6. The device according to claim 5, characterized in that The display module comprises: A determination unit is used to determine the weather phenomenon elements, pattern elements and background elements to be displayed from an interface element library according to the weather information, the time information and the location information.
7. The device according to claim 6, characterized in that The element presentation method includes: element movement rules, element presentation position and element display color.
8. The device according to claim 6, characterized in that Before determining the weather phenomenon element, the pattern element and the background element to be displayed from the interface element library according to the weather information, the time information and the location information, the determining unit includes: A judging subunit, used for judging whether the target display device receives an update instruction of the interface element library; The updating subunit is used to update the interface element library according to the updating instruction when the target display device receives the updating instruction of the interface element library.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the weather display method according to any one of claims 1 to 4.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the weather display method as described in any one of claims 1 to 4.
Citation Information
Cited By
Live notification display method and electronic equipment
CN121579109A