Method and device for displaying terminal dynamic wallpaper in real time based on local weather and terminal
By obtaining and updating dynamic weather wallpapers matching the user's current location in real time in the smart terminal, the problem that wallpapers cannot be effectively combined with the user environment in the existing technology is solved, and convenient and intuitive weather information display is achieved, improving the user experience.
Patent Information
- Application Number
- CN202510046776.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-25
AI Technical Summary
The wallpaper of existing smart terminals such as smart TVs cannot be effectively combined with the user's current environment, and cannot remind users of the current weather conditions in real time.
By detecting the start window wallpaper function of the smart terminal, we can obtain the weather information of the current location of the terminal in real time, and retrieve the matching dynamic weather pictures or videos based on this information, set it as wallpaper to achieve real-time updates.
It realizes the real-time combination of the smart terminal with the user's current location weather information in the wallpaper function, provides a convenient and intuitive way to display the current outdoor weather conditions, and improves the user's user experience.
Smart Images

Figure CN119893197A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart terminal technology, and in particular to a method, device, smart terminal and storage medium for displaying terminal dynamic wallpaper in real time based on local weather. Background Art
[0002] With the development of terminal technology and the continuous improvement of people's living standards, the use of various smart terminals such as smart TVs is becoming more and more popular.
[0003] There is a branch in the current TV wallpaper level, which is similar to virtualizing the TV into a window and the wallpaper into the scenery outside the window. This scenery can be a forest, snow-capped mountains, seaside, etc., so that users can feel as if they are looking at the scenery outside the window whenever they watch TV, giving them the illusion of traveling around the world, which helps to improve users' sense of happiness.
[0004] However, wallpapers in existing smart terminals such as smart TVs currently only randomly switch between different scenes, and are not well integrated with the user's current environment, which is not conducive to reminding the user of the current weather.
[0005] Therefore, the existing technology still needs to be improved and developed. Summary of the invention
[0006] The technical problem to be solved by the present invention is that, in view of the problems and defects of the above-mentioned prior art, a method, device, intelligent terminal and storage medium are provided to display terminal dynamic wallpaper in real time based on local weather. The present invention adds a new function to the intelligent terminal: a dynamic wallpaper function that displays real weather pictures or videos in real time according to the current location, and displays the current outdoor weather conditions in a more convenient and intuitive manner, which is convenient for users to check in time, providing convenience for users.
[0007] The technical solution adopted by the present invention to solve the problem is as follows:
[0008] A method for displaying a terminal dynamic wallpaper in real time based on local weather, comprising:
[0009] When it is detected that the smart terminal starts the window wallpaper function, the current location of the smart terminal is obtained in real time;
[0010] Based on the acquired current location of the smart terminal, obtaining weather information of the current location at predetermined intervals;
[0011] According to the acquired weather information of the current location, a dynamic weather picture or video matching the weather information of the current location is retrieved;
[0012] A dynamic weather picture or video matching the weather information of the current location is used as the window wallpaper of the smart terminal and is displayed when the wallpaper is started.
[0013] The method for displaying terminal dynamic wallpaper in real time based on local weather, wherein the step of obtaining the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function comprises:
[0014] Pre-create window scenery wallpapers and corresponding dynamic weather videos or dynamic weather pictures;
[0015] A correspondence is established between the created window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture.
[0016] The method for displaying terminal dynamic wallpaper in real time based on local weather, wherein the step of obtaining the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function comprises:
[0017] The intelligent terminal receives the user's operation instruction to set the window landscape wallpaper.
[0018] The method for displaying terminal dynamic wallpaper in real time based on local weather, wherein when the smart terminal is detected to start the window wallpaper function, the step of obtaining the current location of the smart terminal in real time includes:
[0019] When it is detected that the smart terminal starts the window wallpaper function, the GPS position of the smart terminal is read in real time, which is the current position of the smart terminal.
[0020] The method for displaying a terminal dynamic wallpaper in real time based on local weather, wherein the step of retrieving a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location comprises:
[0021] According to the weather information of the current location obtained, the outdoor camera at the current location is controlled through networking to take dynamic weather pictures or videos of the current sky in real time;
[0022] The dynamic weather picture or video of the current sky captured in real time by the outdoor camera at the current location is used as the dynamic weather picture or video matching the weather information at the current location.
[0023] The method for displaying terminal dynamic wallpaper in real time based on local weather, wherein the step of displaying a dynamic weather picture or video matching the weather information of the current location as the window wallpaper of the smart terminal when the wallpaper is started includes:
[0024] When the window wallpaper is dynamically displayed and a new change in the weather at the current location is detected, the current wallpaper is automatically updated to the window wallpaper corresponding to the new weather change.
[0025] The method for displaying a terminal dynamic wallpaper in real time based on local weather, wherein the step of retrieving a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location also includes:
[0026] When no dynamic weather picture or video matching the weather information of the current location is found, the default wallpaper is displayed.
[0027] A device for displaying a terminal dynamic wallpaper in real time based on local weather, wherein the device comprises:
[0028] A pre-setting module is used to pre-create a window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture; establish a corresponding relationship between the created window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture;
[0029] A location information acquisition module, used to obtain the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function;
[0030] A weather information acquisition module, used to acquire weather information of the current location at predetermined intervals based on the acquired current location of the smart terminal;
[0031] A dynamic wallpaper retrieval module, used to retrieve a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location;
[0032] The wallpaper display control module is used to display a dynamic weather picture or video matching the weather information of the current location as the window wallpaper of the smart terminal when the wallpaper is started;
[0033] The dynamic wallpaper real-time shooting module is used to control the outdoor camera at the current location to shoot the dynamic weather picture or video of the current sky in real time according to the weather information of the current location obtained; and use the dynamic weather picture or video of the current sky shot in real time by the outdoor camera at the current location as the dynamic weather picture or video matching the weather information of the current location;
[0034] The dynamic wallpaper real-time update module is used to control the automatic update of the current wallpaper to the window wallpaper corresponding to the current new weather change when a new weather change is detected at the current location during the dynamic display of the window wallpaper.
[0035] An intelligent terminal includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, including the method for executing any one of the methods described above.
[0036] A computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the methods described above.
[0037] Beneficial effects of the present invention: The present invention provides a method, device, intelligent terminal and storage medium for real-time display of terminal dynamic wallpaper based on local weather. On the basis of the original static landscape wallpaper, the present invention adds a judgment based on the user's geographical location, thereby displaying a weather landscape wallpaper that conforms to the user's scene, which appears more realistic than before and helps to improve the user's sense of immersion; the present invention adds a new function to the intelligent terminal: a dynamic wallpaper function that displays real weather pictures or videos in real time according to the current location, and displays the current outdoor weather conditions in a more convenient and intuitive manner, which is convenient for users to check in time, providing convenience for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 It is a flowchart of a method for displaying terminal dynamic wallpaper in real time based on local weather provided in Example 1 of the present invention.
[0040] Figure 2 It is a flowchart of a method for displaying terminal dynamic wallpaper in real time based on local weather provided in Embodiment 2 of the present invention.
[0041] Figure 3 A principle block diagram of an embodiment of a device for displaying terminal dynamic wallpaper in real time based on local weather provided by the present invention.
[0042] Figure 4 It is a block diagram of the internal structure principle of the intelligent terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0044] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0045] In view of the fact that wallpapers for smart terminals such as smart TVs in the prior art currently only randomly switch between different scenes, they are not well integrated with the user's current environment and do not remind the user of the current weather. The present invention provides a method for displaying terminal dynamic wallpapers in real time based on local weather.
[0046] like Figure 1 As shown, a method for displaying a terminal dynamic wallpaper in real time based on local weather in Embodiment 1 of the present invention includes the following steps:
[0047] Step S100: when it is detected that the smart terminal starts the window wallpaper function, the current location of the smart terminal is obtained in real time;
[0048] In the embodiment of the present invention, the smart terminal takes a smart TV as an example. When the wallpaper function is started intelligently in the embodiment of the present invention, the current location of the smart terminal is obtained in real time through the positioning module of the smart terminal, such as the smart TV.
[0049] Step S200: based on the acquired current location of the smart terminal, obtaining weather information of the current location at predetermined intervals;
[0050] In an embodiment of the present invention, based on the acquired current location of the smart TV, the weather information of the current location is acquired through the Internet at predetermined intervals; wherein the weather information includes:
[0051] Temperature: current temperature (e.g. 25℃);
[0052] Weather conditions: sunny, cloudy, rainy, snowy, etc. (e.g., cloudy);
[0053] Humidity: The percentage of humidity in the air (for example: 60%);
[0054] Wind speed: wind speed and direction (e.g. east wind 10 km / h);
[0055] Air quality: PM2.5, PM10 and other indexes (e.g. good / AQI 50);
[0056] Forecast: Weather trends for the next few days (e.g., light rain is expected in the next three days).
[0057] Step S300: according to the acquired weather information of the current location, retrieve a dynamic weather picture or video matching the weather information of the current location;
[0058] In this step embodiment, after obtaining the weather information of the current location, relevant dynamic weather pictures or videos can be retrieved through the Internet or application programs. The specific implementation includes:
[0059] In the previous steps, the smart TV can use the weather forecast API (such as OpenWeatherMap, Weather.com, etc.) to obtain the current weather information, including temperature, humidity, weather conditions, etc.
[0060] Determine the weather type: According to the acquired weather data, judge the current weather condition (such as sunny, rainy, snowy, etc.). Then, in the embodiment of the present invention, dynamic weather pictures or videos matching the current weather condition can be searched in the preset data.
[0061] The dynamic weather pictures or videos matching the current weather conditions in the preset database described in the embodiment of the present invention can be pre-made window scenery wallpapers and each corresponding dynamic weather video or dynamic weather picture; a correspondence is established between the created window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture, so that it is faster and more efficient to find dynamic weather pictures or videos matching the weather information of the current location.
[0062] In order to quickly find a dynamic weather picture or video that matches the weather information of the current location from a preset database in the embodiment of the present invention, the following steps can be performed:
[0063] Use the weather API or other data sources to obtain weather data for the user's current location through the previous steps, including weather conditions (such as sunny, cloudy, rainy, etc.), temperature, and humidity. Then parse the weather data, extract key weather conditions, and confirm the specific weather conditions the user is in. For example, if the returned data indicates that "the current weather is cloudy", this status needs to be used for subsequent searches.
[0064] Query database: Design a query system in the preset database. According to the analyzed weather conditions, use the corresponding keywords to query the database and find the dynamic weather media that matches it.
[0065] For example:
[0066] Sunny: Query all dynamic videos and pictures with the tag "Sunny".
[0067] Raining: Query all dynamic videos and pictures tagged with "rainy day".
[0068] Then return the result: the present invention will return all dynamic media that meet the conditions, and then display these dynamic weather pictures or videos according to the requirements of the user interface.
[0069] For example, the weather information of the current location: through the API query, the weather information obtained is: "Location: Beijing; Weather: Cloudy; Temperature: 15℃".
[0070] Analyze weather conditions: Extract "cloudy" as the key parameter from the preset data.
[0071] Query database: In the database, there are preset dynamic weather media:
[0072] ID 1: Cloudy city video;
[0073] ID 2: Sunny Park Video;
[0074] ID 3: Rainy street video;
[0075] ID 4: cloudy field video;
[0076] Using "cloudy" for query, the system returns ID 1 and ID 4; combined with whether the current location is in the city or the wild, if it is in the city, the embodiment of the present invention selects and confirms that the dynamic weather picture or video that matches the weather information "cloudy" of the current location is the video of ID 1.
[0077] As can be seen from the above, in this step embodiment, keyword query is used to make the retrieval of dynamic weather media efficient and accurate, and users do not need to search manually, which greatly saves time and achieves efficient search and matching. In addition, the present invention enables users to quickly obtain visual content that matches the weather conditions, thereby improving user satisfaction. Moreover, if real-time weather data is used, users will always obtain the latest information and media, which enhances interactivity and accuracy.
[0078] Of course, in other embodiments, the present invention can also search for relevant dynamic pictures or videos according to the current weather conditions on picture libraries and video platforms (such as Unsplash, Pexels, and YouTube) by searching the media resource library through the Internet. For example, if the current weather is "raining", you can search for "dynamic videos of raining".
[0079] The retrieved or matched dynamic pictures or videos are then displayed to the user to enhance the user's understanding and perception of the weather conditions.
[0080] For example, when the weather information of the current location of the intelligent terminal is detected as follows: Location: Shanghai; Weather conditions: cloudy and rainy, temperature 14°C, humidity 80%;
[0081] An example of dynamic weather picture or video retrieval is: weather type: rainy day; search content: enter the keyword "rainy weather" in the video platform or gallery, and you may get some dynamic videos, such as a close-up of raindrops falling, a person walking in the rain, a video or dynamic picture of a city street in the rain, etc.
[0082] The advantage of this is that dynamic pictures and videos can provide users with a more vivid experience than static pictures, allowing users to more intuitively feel the current weather conditions. In addition, the present invention combines weather information with related visual content, so that users can more easily understand weather conditions. For example, watching a video of a thunderstorm can make you more aware of the need to bring an umbrella. It can be seen that in this way, the present invention allows users to not only obtain weather information, but also enhance their perception of the current climate status through visual content.
[0083] Of course, in a further embodiment of the present invention, the dynamic weather picture or video matching the current weather status in the preset database may also be a dynamic weather picture or video of the sky taken in real time at the current location, which can more realistically reflect the current weather conditions and give users a more intuitive experience.
[0084] Step S400: Using a dynamic weather picture or video that matches the weather information of the current location as the window wallpaper of the smart terminal, and displaying it when the wallpaper is started.
[0085] In the embodiment of the present invention, by setting a dynamic weather picture or video matching the current weather information as a window wallpaper of a smart terminal (such as a mobile phone, tablet or computer), real-time updating of visual content is achieved. This dynamic display not only increases the aesthetics of the interface, but also can subconsciously remind the user of the current weather conditions.
[0086] Specifically, this step retrieves and determines a suitable dynamic weather picture or video based on the weather information of the current location of the smart terminal obtained in the previous step. Then, in the embodiment of the present invention, the selected dynamic media is set as the wallpaper of the smart terminal. Specifically, you can access the wallpaper setting function of the operating system and make sure to select the "dynamic wallpaper" option, so that every time you start or unlock the device, the wallpaper will automatically display the latest weather media dynamic wallpaper.
[0087] In the embodiment of the present invention, with respect to the wallpaper display logic, corresponding software or scripts can be written to ensure that when the smart device is started or unlocked, a dynamic wallpaper matching the weather conditions at the current location is automatically loaded. For example, when a user unlocks the phone on a rainy day, a dynamic video related to rainy weather is displayed, such as a scene of drizzle falling on a window.
[0088] For example, the current weather information is "rainy" in Shanghai. The present invention automatically retrieves dynamic media matching the rainy weather, such as "a video of a rainy street". Then the wallpaper is automatically set, and the wallpaper of the user's smartphone is set to the video of the rainy street. When the user unlocks the phone, the user will see this dynamic scene.
[0089] In this way, the present invention allows users to instantly perceive current weather changes when using the device in daily life through dynamic wallpapers without the need for additional searching.
[0090] In addition, in the specific implementation of the present invention, the step S100 includes:
[0091] S101, pre-creating window landscape wallpaper and each corresponding dynamic weather video or dynamic weather picture;
[0092] That is, in the embodiment of the present invention, with regard to the production of window scenery wallpapers, corresponding scenery wallpapers can be produced according to different weather conditions (such as sunny days, rainy days, snowy days, etc.). These wallpapers can be natural scenery, urban landscapes, or abstract art, etc., showing beautiful scenes under different weather conditions.
[0093] Then, dynamic weather media collection is performed, and dynamic weather videos or dynamic pictures can be collected or produced, such as blue sky and white clouds video on a sunny day, raindrops falling video on a rainy day, snowflakes falling video on a snowy day, etc. These dynamic media should match the wallpaper produced previously.
[0094] S102: Establish a correspondence between the created window landscape wallpaper and each corresponding dynamic weather video or dynamic weather picture.
[0095] In this step, each window scenery wallpaper is paired with its corresponding dynamic weather video or picture. For example: the window scenery wallpaper is
[0096]
[0097] In the embodiment of the present invention, all wallpapers and dynamic media are stored in a database or made into an application program, so as to facilitate quick search through weather information. For example, when the user obtains the weather information of "rainy and cloudy", the system can quickly recommend the corresponding cloudy scenery wallpaper and dynamic video.
[0098] For example, create wallpapers: create one wallpaper showing a sunny blue sky and another wallpaper showing a city street scene on a rainy day.
[0099] Collect dynamic media: Collect a dynamic video of the sun shining brightly and another dynamic video of rain washing over the streets.
[0100] Establish correspondence: Match sunny wallpapers with sunny dynamic videos. Match rainy city landscape wallpapers with rainy dynamic videos.
[0101] The present invention provides customized landscape wallpapers and dynamic media for each weather condition, so that users can enjoy a more personalized and pleasant experience. By establishing a clear correspondence, it is more convenient for the smart terminal to quickly find wallpapers and videos that meet the conditions according to the current weather without manual search. In addition, with the combination of static wallpapers and dynamic videos, the entire landscape is made more vivid and interesting, thereby improving the user's satisfaction.
[0102] In another embodiment of the present invention, the method for displaying a terminal dynamic wallpaper in real time based on local weather comprises the following steps:
[0103] S10. The intelligent terminal receives an operation instruction from the user and sets a window landscape wallpaper.
[0104] In the embodiment of the present invention, the window wallpaper function can be enabled or disabled by the user. When it is enabled, the smart terminal receives the user's operation instruction to set the window scenery wallpaper.
[0105] S11. When it is detected that the smart terminal starts the window wallpaper function, the GPS position of the smart terminal is read in real time, which is the current position of the smart terminal, and the weather information of the current position is obtained.
[0106] In the embodiment of the present invention, when it is detected that the smart terminal starts the window wallpaper function, the GPS position of the smart terminal will be read in real time when the window wallpaper is started to obtain the current location of the smart terminal and the weather information of the current location.
[0107] S12, according to the weather information of the current location obtained, controlling the outdoor camera at the current location to capture the dynamic weather picture or video of the current sky in real time through networking;
[0108] In this step embodiment, the step involves using the current location information and weather data to remotely control the outdoor camera through the network to capture dynamic weather pictures or videos of the current sky in real time. Specifically, the present invention will first obtain the weather information of the current location (such as sunny, rainy, snowy, etc.), and then decide whether to start the camera to shoot based on this information. For example, if the weather forecast shows rain, the present invention will automatically start the outdoor camera and start shooting the rainy scene.
[0109] For example, when a user installs a smart camera outdoors, and the camera is connected to the Internet of Things, the system where the user is located will regularly obtain weather data for the current location from the meteorological API. If the system detects that it is currently sunny and the sun is setting, the present invention will automatically start the camera and start capturing the beauty of the sunset. Alternatively, if it is detected that it is about to rain, the present invention may start the camera in advance to record the entire process of raining. The picture captured by the camera is then used as the current window wallpaper of the smart terminal in the following steps.
[0110] By taking dynamic weather pictures or videos of the sky in real time, it is convenient to display more realistic weather dynamic pictures on the window wallpaper in the following steps to remind users in time.
[0111] S13, and using the dynamic weather picture or video of the current sky captured in real time by the outdoor camera at the current location as the dynamic weather picture or video matching the weather information at the current location, and using the dynamic weather picture or video matching the weather information at the current location as the window wallpaper of the smart terminal, and displaying it when the wallpaper is started.
[0112] This can display a more realistic weather dynamic picture on the window wallpaper, and remind users in time, providing convenience for users.
[0113] Furthermore, the method for displaying a terminal dynamic wallpaper in real time based on local weather according to the present invention further includes:
[0114] S21. When a new change in the weather at the current location is detected during the dynamic display of the window wallpaper, the current wallpaper is automatically updated to a window wallpaper corresponding to the new weather change.
[0115] In the embodiment of this step, when the wallpaper of the smart terminal is dynamically displayed, if it detects that the weather at the current location has changed, the wallpaper will be automatically updated to a picture or video corresponding to the new weather. For example, the user's smart phone in the embodiment of the present invention sets a dynamic weather wallpaper. When getting up in the morning, the weather is sunny and the wallpaper shows blue sky and white clouds. In the afternoon, the weather suddenly turns to rain. The smart phone in the embodiment of the present invention detects this change by accessing the weather API and automatically updates the wallpaper to a rainy scene, which may be accompanied by raindrop effects or a gloomy sky background.
[0116] In this way, the wallpaper of the smart terminal of the embodiment of the present invention changes according to the actual weather, making the user feel closer to life and enhancing the personalized experience. The user does not need to check the weather application specifically to understand the current weather through the wallpaper, which is convenient and fast. In addition, the automatic update function saves the trouble of manually changing the wallpaper, improving the convenience of use.
[0117] In a further embodiment of the present invention, the method for displaying terminal dynamic wallpaper in real time based on local weather also includes the step of: when no dynamic weather picture or video matching the weather information of the current location is found, controlling the display of a default wallpaper.
[0118] The present invention is further described in detail below through a specific application example:
[0119] like Figure 2 As shown, a method for displaying a terminal dynamic wallpaper in real time based on local weather according to a specific application embodiment of the present invention includes the following steps:
[0120] S31, forming a set of window landscape wallpapers and each corresponding dynamic weather video, and entering S32.
[0121] S32, configure the correspondence between wallpaper and weather video, and proceed to step S33.
[0122] S33. The user selects a window landscape wallpaper and proceeds to step S34.
[0123] S34. The TV reads the GPS location and proceeds to step S35.
[0124] S35. Connect to the meteorological network every 5 minutes to detect the current real-time weather; and determine whether a dynamic picture or video corresponding to the current weather is matched. If there is no match with the weather, go to step S36; if there is a match with the weather, go to step S37.
[0125] S36. Display the default wallpaper.
[0126] S37, display the corresponding weather dynamic video and proceed to step S38.
[0127] S38. The user views the landscape wallpaper and weather updates, and then proceeds to step S39.
[0128] S39, check whether there is any new change in the current weather, if yes, proceed to step S40, if no change, return to S38.
[0129] S40, updating the wallpaper to the current weather dynamics. The process ends when the wallpaper display function is turned off.
[0130] As can be seen from the above, the embodiment of the present invention provides a method for displaying terminal dynamic wallpaper in real time based on local weather. On the basis of static landscape wallpaper, it adds a judgment based on the user's geographical location, so as to display weather landscape wallpaper that matches the user's scene, which appears more realistic than before and helps to improve the user's sense of immersion.
[0131] Exemplary Devices
[0132] like Figure 3As shown, an embodiment of the present invention provides a device for displaying a terminal dynamic wallpaper in real time based on local weather, the device comprising:
[0133] The presetting module 310 is used to pre-create a window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture; establish a corresponding relationship between the created window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture;
[0134] The location information acquisition module 320 is used to acquire the current location of the smart terminal in real time when it is detected that the smart terminal starts the window wallpaper function;
[0135] The weather information acquisition module 330 is used to acquire the weather information of the current location at predetermined intervals based on the acquired current location of the smart terminal;
[0136] The dynamic wallpaper retrieving module 340 is used to retrieve a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location;
[0137] The wallpaper display control module 350 is used to display a dynamic weather picture or video matching the weather information of the current location as the window wallpaper of the smart terminal when the wallpaper is started;
[0138] The dynamic wallpaper real-time shooting module 360 is used to control the outdoor camera at the current location to shoot the dynamic weather picture or video of the current sky in real time according to the weather information of the current location obtained; and use the dynamic weather picture or video of the current sky shot in real time by the outdoor camera at the current location as the dynamic weather picture or video matching the weather information of the current location;
[0139] The dynamic wallpaper real-time update module 370 is used to control the automatic update of the current wallpaper to the window wallpaper corresponding to the current new weather change when a new weather change is detected in the dynamic display process of the window wallpaper, as described above.
[0140] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Figure 4As shown. The smart terminal includes a processor, a memory, a network interface, a display screen, and a database connected through a system bus. Among them, the processor of the smart terminal is used to provide computing and control capabilities. The memory of the smart terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the smart terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for displaying terminal dynamic wallpaper in real time based on local weather is implemented. The database of the smart terminal is used to store a program for displaying terminal dynamic wallpaper in real time based on local weather.
[0141] Those skilled in the art will understand that Figure 4 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. The specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0142] In one embodiment, a smart terminal is provided, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include instructions for performing the following operations:
[0143] When it is detected that the smart terminal starts the window wallpaper function, the current location of the smart terminal is obtained in real time;
[0144] Based on the acquired current location of the smart terminal, obtaining weather information of the current location at predetermined intervals;
[0145] According to the acquired weather information of the current location, a dynamic weather picture or video matching the weather information of the current location is retrieved;
[0146] A dynamic weather picture or video matching the weather information of the current location is used as the window wallpaper of the smart terminal and is displayed when the wallpaper is started, as described above.
[0147] Wherein, the step of obtaining the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function includes:
[0148] Pre-create window scenery wallpapers and corresponding dynamic weather videos or dynamic weather pictures;
[0149] A correspondence is established between the created window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture.
[0150] Wherein, the step of obtaining the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function includes:
[0151] The intelligent terminal receives the user's operation instruction to set the window landscape wallpaper.
[0152] Wherein, when it is detected that the smart terminal starts the window wallpaper function, the step of obtaining the current location of the smart terminal in real time includes:
[0153] When it is detected that the smart terminal starts the window wallpaper function, the GPS position of the smart terminal is read in real time, which is the current position of the smart terminal.
[0154] The step of retrieving a dynamic weather picture or video matching the weather information at the current location according to the acquired weather information at the current location includes:
[0155] According to the weather information of the current location obtained, the outdoor camera at the current location is controlled through networking to take dynamic weather pictures or videos of the current sky in real time;
[0156] The dynamic weather picture or video of the current sky captured in real time by the outdoor camera at the current location is used as the dynamic weather picture or video matching the weather information at the current location.
[0157] The step of displaying the dynamic weather picture or video matching the weather information of the current location as the window wallpaper of the smart terminal when the wallpaper is started includes:
[0158] When the window wallpaper is dynamically displayed and a new change in the weather at the current location is detected, the current wallpaper is automatically updated to the window wallpaper corresponding to the new weather change.
[0159] Wherein, the step of retrieving a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location also includes:
[0160] When no dynamic weather picture or video matching the weather information of the current location is found, the default wallpaper is controlled to be displayed, as described above.
[0161] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0162] In summary, the present invention provides a method, device, intelligent terminal and storage medium for displaying terminal dynamic wallpaper in real time based on local weather. On the basis of the original static landscape wallpaper, the present invention adds a judgment based on the user's geographical location, so as to display a weather landscape wallpaper that conforms to the user's scene, which appears more realistic than before and helps to improve the user's sense of immersion. The present invention adds a new function to the intelligent terminal: a dynamic wallpaper function that displays real weather pictures or videos in real time according to the current location, and displays the current outdoor weather conditions in a more convenient and intuitive way, so that the user can check it in time, which provides convenience for the user.
Claims
1. A method for displaying terminal dynamic wallpaper in real time based on local weather, characterized in that: include: When it is detected that the smart terminal starts the window wallpaper function, the current location of the smart terminal is obtained in real time; Based on the acquired current location of the smart terminal, obtaining weather information of the current location at predetermined intervals; According to the acquired weather information of the current location, a dynamic weather picture or video matching the weather information of the current location is retrieved; A dynamic weather picture or video matching the weather information of the current location is used as the window wallpaper of the smart terminal and is displayed when the wallpaper is started.
2. The method for displaying terminal dynamic wallpaper in real time based on local weather according to claim 1, characterized in that: The step of obtaining the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function includes: Pre-create window scenery wallpapers and corresponding dynamic weather videos or dynamic weather pictures; A correspondence is established between the created window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture.
3. The method for displaying terminal dynamic wallpaper in real time based on local weather according to claim 1, characterized in that: The step of obtaining the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function includes: The intelligent terminal receives the user's operation instruction to set the window landscape wallpaper.
4. The method for displaying terminal dynamic wallpaper in real time based on local weather according to claim 1, characterized in that: The step of obtaining the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function comprises: When it is detected that the smart terminal starts the window wallpaper function, the GPS position of the smart terminal is read in real time, which is the current position of the smart terminal.
5. The method for displaying terminal dynamic wallpaper in real time based on local weather according to claim 1, characterized in that: The step of retrieving a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location includes: According to the weather information of the current location obtained, the outdoor camera at the current location is controlled through networking to take dynamic weather pictures or videos of the current sky in real time; The dynamic weather picture or video of the current sky captured in real time by the outdoor camera at the current location is used as the dynamic weather picture or video matching the weather information at the current location.
6. The method for displaying terminal dynamic wallpaper in real time based on local weather according to claim 1, characterized in that: The step of using a dynamic weather picture or video matching the weather information of the current location as the window wallpaper of the smart terminal and displaying it when the wallpaper is started includes: When the window wallpaper is dynamically displayed and a new change in the weather at the current location is detected, the current wallpaper is automatically updated to the window wallpaper corresponding to the new weather change.
7. The method for displaying terminal dynamic wallpaper in real time based on local weather according to claim 1, characterized in that: The step of retrieving a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location also includes: When no dynamic weather picture or video matching the weather information of the current location is found, the default wallpaper is displayed.
8. A device for displaying terminal dynamic wallpaper in real time based on local weather, characterized in that: The device comprises: A pre-setting module is used to pre-create a window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture; establish a corresponding relationship between the created window scenery wallpaper and each corresponding dynamic weather video or dynamic weather picture; A location information acquisition module, used to obtain the current location of the smart terminal in real time when detecting that the smart terminal starts the window wallpaper function; A weather information acquisition module, used to acquire weather information of the current location at predetermined intervals based on the acquired current location of the smart terminal; A dynamic wallpaper retrieval module, used to retrieve a dynamic weather picture or video matching the weather information of the current location according to the acquired weather information of the current location; The wallpaper display control module is used to display a dynamic weather picture or video matching the weather information of the current location as the window wallpaper of the smart terminal when the wallpaper is started; The dynamic wallpaper real-time shooting module is used to control the outdoor camera at the current location to shoot the dynamic weather picture or video of the current sky in real time according to the weather information of the current location obtained; and use the dynamic weather picture or video of the current sky shot in real time by the outdoor camera at the current location as the dynamic weather picture or video matching the weather information of the current location; The dynamic wallpaper real-time update module is used to control the automatic update of the current wallpaper to the window wallpaper corresponding to the current new weather change when a new weather change is detected at the current location during the dynamic display of the window wallpaper.
9. An intelligent terminal, characterized in that: The device comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include being used to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as described in any one of claims 1 to 7.