Weather report and early warning method and system based on smart door lock and smart door lock
By acquiring and processing weather data through smart door locks, various reminder scenarios can be generated, especially voice broadcasts during severe weather, which solves the problem of timely reminders in existing technologies and improves user experience and convenience.
Patent Information
- Application Number
- CN202411662242.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2044-11-20
AI Technical Summary
Existing smart door locks cannot provide timely weather reminders based on user needs, especially during severe weather, as they fail to provide voice alerts, resulting in a poor user experience.
The smart door lock obtains the current location information, parses and processes weather data to generate voice, text and icon content, and selects commands to trigger corresponding weather reminder scenarios based on user interaction scenarios, especially to provide voice broadcasts and warnings during severe weather.
It enables timely reminders to users during severe weather, improving user experience and convenience, and adapting to the needs of different age groups and demographics.
Smart Images

Figure CN119625944B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent door lock, and particularly relates to a weather broadcasting and early warning method and system based on an intelligent door lock, an intelligent door lock and a computer readable storage medium. BACKGROUND
[0002] With the continuous development and iteration of smart home technology, intelligent door locks have become an important part of home security. The main functions of traditional intelligent door locks are concentrated on access control management and security protection, and they cannot fully utilize the Internet of Things and big data technology to provide more value-added services. For example, a user needs to check the local weather before going out to decide whether to carry an umbrella or adjust the clothing. If the intelligent door lock can integrate weather broadcasting and severe weather warning functions, it will greatly improve the user experience and life convenience.
[0003] In recent years, a small number of intelligent door locks have added a weather display function on the door lock display screen, and the general wireless technology remotely subscribes to the weather data of the weather forecast platform service provider to display on the door lock display screen, but the user needs to actively open the screen to check, and there is no severe weather warning reminder, which leads to the user forgetting to go out, and the user experience is not high.
[0004] Therefore, the prior art still needs to be improved and developed. SUMMARY
[0005] The main purpose of the present application is to provide a weather broadcasting and early warning method and system based on an intelligent door lock, an intelligent door lock and a computer readable storage medium, which aims to solve the problem that the intelligent door lock in the prior art can only simply display weather information and cannot timely remind the weather according to the user's demand, especially without voice broadcasting and reminding the user in severe weather.
[0006] To achieve the above purpose, the present application provides a weather broadcasting and early warning method based on an intelligent door lock, which comprises the following steps:
[0007] Obtain the current position information of the intelligent door lock, and obtain the local real-time weather data from a weather service provider according to the current position information;
[0008] Analyzing and processing the local real-time weather data to generate voice broadcasting content, weather text content and weather icon content;
[0009] According to the voice broadcasting content, the weather text content and the weather icon content, a plurality of weather reminding scenes are set, and according to the user's interactive scene selection instruction, the corresponding weather reminding scene is triggered to remind the weather;
[0010] If the local real-time weather data belongs to the bad weather range, a bad weather voice broadcast and a warning information voice broadcast are performed when it is detected that the user goes out.
[0011] Optionally, the weather broadcast and warning method based on the smart door lock, wherein the current position information of the smart door lock is acquired, and the local real-time weather data is acquired from a weather service provider according to the current position information, specifically including:
[0012] When the user opens the positioning authorization acquisition through the remote control application, the smart door lock is connected to a cloud server through a wireless communication module, and the current position information of the smart door lock is acquired through the cloud server;
[0013] The smart door lock receives the local real-time weather data sent by the cloud server, wherein the cloud server establishes a communication connection with the weather service provider through an API interface, the weather service provider provides real-time weather information of a corresponding positioning area according to authorized positioning information, and the cloud server acquires the local real-time weather data from the weather service provider according to the current position information.
[0014] Optionally, the weather broadcast and warning method based on the smart door lock, wherein the local real-time weather data is analyzed and processed to generate voice broadcast content, weather text content, and weather icon content, specifically including:
[0015] The local real-time weather data is analyzed, and the analyzed local real-time weather data is converted and processed through TTS conversion technology to generate voice broadcast content;
[0016] The analyzed local real-time weather data is encoded and decoded through coding and decoding technology to generate weather text content and weather icon content.
[0017] Optionally, the weather broadcast and warning method based on the smart door lock, wherein the weather reminder scene includes a weather automatic broadcast reminder scene, a weather automatic display reminder scene, and a weather long-term display broadcast scene.
[0018] Optionally, the weather broadcast and warning method based on the smart door lock, wherein the weather reminder scene includes a weather automatic broadcast reminder scene, a weather automatic display reminder scene, and a weather long-term display broadcast scene.
[0019] If the weather reminder scene is the weather automatic broadcast reminder scene, the weather broadcast mode is set according to the voice broadcast content, and when it is detected that the user triggers the weather broadcast through the touch screen or the key, or the viewing function, or when the lock is opened or closed, the voice broadcast content is automatically triggered.
[0020] If the weather reminding scene is a weather automatic display reminding scene, a weather broadcast mode is set according to weather text content and weather icon content, and when a user is detected by a human body sensing sensor on the smart door lock to be close to the door lock and prepare to unlock and go out, the weather text content and the weather icon content are automatically displayed by the display screen;
[0021] If the weather reminding scene is a weather long-term display broadcast scene, a weather broadcast mode is set according to weather text content and weather icon content, and the weather text content and the weather icon content are displayed by a low-power display screen on the smart door lock for a long time, so that a user can know current weather conditions when going out.
[0022] Optionally, the weather broadcast and early warning method based on the smart door lock, wherein if the local real-time weather data belongs to a severe weather range, when a user is detected to go out, severe weather voice broadcast and early warning information voice broadcast are performed, and specifically comprising:
[0023] A severe weather range is defined in advance according to requirements of the weather service provider, and whether the local real-time weather data belongs to the severe weather range is judged;
[0024] If the local real-time weather data belongs to the severe weather range, when the smart door lock detects that the user goes out, severe weather voice broadcast and early warning information voice broadcast are performed through a loudspeaker, so as to timely remind the user to pay attention to the current weather.
[0025] Optionally, the weather broadcast and early warning method based on the smart door lock, wherein the weather broadcast and early warning method based on the smart door lock further comprises:
[0026] According to different needs of a user, a corresponding weather reminding scene is selected, and when the user selects, the user is reminded of weather broadcast according to the set weather broadcast mode.
[0027] In addition, to achieve the above object, the application further provides a weather broadcast and early warning system based on a smart door lock, wherein the weather broadcast and early warning system based on the smart door lock comprises:
[0028] A data acquisition module is configured to acquire current position information of the smart door lock, and acquire local real-time weather data from a weather service provider according to the current position information;
[0029] A data processing module is configured to analyze and process the local real-time weather data, and generate voice broadcast content, weather text content and weather icon content;
[0030] The weather reminding module is configured to set multiple weather reminding scenes according to the voice broadcast content, the weather text content and the weather icon content, and trigger the corresponding weather reminding scene to perform weather reminding according to the user's interactive scene selection instruction.
[0031] The voice broadcast module is configured to perform bad weather voice broadcast and warning information voice broadcast when detecting that the user goes out if the local real-time weather data belongs to a bad weather range.
[0032] In addition, to achieve the above-mentioned purpose, the application also provides an intelligent door lock, wherein the intelligent door lock comprises a memory, a processor, and a weather broadcast and warning program based on the intelligent door lock stored on the memory and capable of running on the processor, and the weather broadcast and warning program based on the intelligent door lock implements the steps of the weather broadcast and warning method based on the intelligent door lock when executed by the processor.
[0033] In addition, to achieve the above-mentioned purpose, the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a weather broadcast and warning program based on the intelligent door lock, and the weather broadcast and warning program based on the intelligent door lock implements the steps of the weather broadcast and warning method based on the intelligent door lock when executed by the processor.
[0034] In the application, the current position information of the intelligent door lock is acquired, the local real-time weather data is acquired from a weather service provider according to the current position information, the local real-time weather data is analyzed and processed to generate voice broadcast content, weather text content and weather icon content, multiple weather reminding scenes are set according to the voice broadcast content, the weather text content and the weather icon content, and the corresponding weather reminding scene is triggered to perform weather reminding according to the user's interactive scene selection instruction, and bad weather voice broadcast and warning information voice broadcast are performed when detecting that the user goes out if the local real-time weather data belongs to a bad weather range. The application sets multiple weather reminding modes on the intelligent door lock, timely reminds the user of the weather, especially the bad weather voice broadcast reminding, and greatly improves the user experience and the life convenience. BRIEF DESCRIPTION OF DRAWINGS
[0035] Figure 1 is a flowchart of a preferred embodiment of the weather broadcast and warning method based on the intelligent door lock of the application;
[0036] Figure 2 is a working flowchart of the intelligent door lock performing weather reminding in the preferred embodiment of the weather broadcast and warning method based on the intelligent door lock of the application;
[0037] Figure 3It is a flowchart of different use scenarios of weather reminding in the preferred implementation of the weather reporting and early warning method based on the smart door lock of the present application.
[0038] Figure 4 It is a flowchart of external server data interaction in the preferred implementation of the weather reporting and early warning method based on the smart door lock of the present application.
[0039] Figure 5 It is a structure diagram of the preferred embodiment of the weather reporting and early warning system based on the smart door lock of the present application.
[0040] Figure 6 It is a structure diagram of the preferred embodiment of the smart door lock of the present application. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical scheme and advantages of the present application more clear and explicit, the present application is further described in detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0042] Current weather forecasting technology is widely used on related mobile intelligent devices, such as smart phones, tablets, computers, smart watches, etc. A small number of applications are applied to smart door locks, but there are the following defects and deficiencies:
[0043] (1) Insufficient timeliness of going-out reminding: the weather forecast of the mobile intelligent device can only obtain information when the user actively checks, and cannot know when the user goes out and cannot remind in time when the user goes out.
[0044] (2) Complex operation, insufficient coverage of the population: due to the numerous functions of the mobile intelligent device, the operation is complex, and most of the old people / children in the family lack the operation proficiency, so that they cannot easily enjoy the convenience of life brought by the weather forecasting function.
[0045] (3) Current smart door lock devices with weather information lack intelligence: currently, a small number of door lock devices only display weather information on the display screen, and the display screen cannot be displayed all the time due to power consumption reasons (current door locks are mostly battery devices), so the user needs to press the display screen key to view each time, which is relatively troublesome and lacks experience and intelligence.
[0046] The weather reporting and early warning method based on the smart door lock of the preferred embodiment of the present application, as shown in Figure 1 The weather reporting and early warning method based on the smart door lock includes the following steps:
[0047] Step S10, obtaining the current position information of the smart door lock, and obtaining the local real-time weather data from a weather service provider according to the current position information.
[0048] Specifically, when the user opens the positioning authorization through the remote control application (for example, the APP on the user's mobile phone for controlling the smart door lock), the smart door lock is connected to the cloud server (i.e., the cloud server corresponding to the smart door lock) through the wireless communication module, and the current position information of the smart door lock is obtained through the cloud server. For example, the user authorizes the current positioning of the door lock in the control application (such as APP), such as positioning in Shenzhen, so that the cloud server obtains the local weather data according to the user-authorized positioning information; the smart door lock receives the local real-time weather data sent by the cloud server, wherein the cloud server establishes a communication connection with the weather service provider (the weather service provider has its own data server, and the cloud server and the data server perform weather data subscription and other data interaction through related API interfaces) through an API interface, the weather service provider provides real-time weather information of the corresponding positioning area according to the authorized positioning information, and the cloud server obtains the local real-time weather data from the weather service provider according to the current position information.
[0049] Step S20, analyzing and processing the local real-time weather data to generate voice broadcast content, weather text content, and weather icon content.
[0050] Specifically, the local real-time weather data is analyzed, and the analyzed local real-time weather data is converted and processed through TTS conversion technology (Text To Speech, from text to voice) or other conversion technology to generate voice broadcast content; at the same time, the analyzed local real-time weather data is encoded and decoded through coding and decoding technology to generate weather text content and weather icon content, which are used for display.
[0051] Step S30, setting multiple weather reminding scenes according to the voice broadcast content, weather text content, and weather icon content, and triggering the corresponding weather reminding scene to perform weather reminding according to the user's interaction scene selection instruction.
[0052] Specifically, the weather reminding scene includes a weather automatic broadcast reminding scene (i.e., interaction scene one), a weather automatic display reminding scene (i.e., interaction scene two), and a weather long-term display broadcast scene (i.e., interaction scene three).
[0053] Interaction scene one: if the weather reminding scene is the weather automatic broadcast reminding scene, the weather broadcast mode is set according to the voice broadcast content, and when it is detected that the user triggers the weather broadcast through the touch screen or the key, or the view function, or when the lock is opened or closed, the voice broadcast content is automatically triggered; the voice broadcast frequency and the broadcast content can be executed based on the user-defined setting strategy, for example, setting the weather prompt when opening the lock to go out at a certain time in the morning.
[0054] Interaction Scenario 2: If the weather reminder scenario is an automatic weather display reminder scenario, the weather broadcast method is set according to the weather text content and weather icon content. When the human body sensor on the smart door lock detects that the user is approaching the door lock to unlock and leave, the display screen will automatically light up to display the weather text content and weather icon content.
[0055] Interaction Scenario 3: If the weather reminder scenario is a long-term weather display and broadcast scenario, the weather broadcast method is set according to the weather text content and weather icon content. The weather text content and weather icon content are displayed continuously on the low-power display screen (such as e-ink screen) on the smart door lock so that users can know the current weather conditions when they go out; the weather information is set to always be on and updated in time when the weather changes, so that users can check at a glance when they unlock the door and leave without any extra operation.
[0056] In this invention, users can select corresponding weather reminder scenarios based on their different needs. Once selected, the system broadcasts weather alerts according to the set weather broadcast method. The reminder methods, implemented through various combinations, cater to convenient usage scenarios for different age groups and demographics. For example, in interaction scenario one, an automatic broadcast occurs when the user presses a button or locks the door, suitable for younger users. Interaction scenario two, combined with a human body sensor, automatically illuminates the screen when someone approaches, and also broadcasts alerts for severe weather, suitable for vulnerable groups (such as the elderly, children, and people with disabilities). Interaction scenario three, combined with a low-power display, continuously displays weather information, covering almost all age groups.
[0057] Step S40: If the local real-time weather data falls within the range of severe weather, then when the user is detected to be going out, a severe weather voice broadcast and a warning information voice broadcast will be performed.
[0058] Specifically, the system pre-defines severe weather ranges (e.g., including heavy rainfall, strong winds, extreme temperatures, snow and ice, heavy fog, smog, sandstorms, etc.) according to the requirements of the weather service provider, and determines whether the local real-time weather data falls within these severe weather ranges. If the local real-time weather data falls within the severe weather range, the smart door lock will broadcast severe weather and warning information via speaker when it detects the user leaving the house, promptly reminding the user to pay attention to the current weather. That is, when encountering severe weather, the system will automatically broadcast severe weather warning information and remind the user of precautions when approaching the door lock, such as reminding the user to bring an umbrella when there is a heavy rainstorm. In addition, users can also choose to only enable the severe weather warning function according to their own needs, and only broadcast the warning when leaving the house in severe weather.
[0059] like Figure 2 As shown, the remote server of the smart lock (i.e.Figure 2 The smart lock's remote server is used for remote management of the locks, sending and receiving lock data, and acquiring external information. Weather service providers provide real-time weather information for the corresponding location based on authorized location information. The smart lock's remote server obtains the weather information from the service provider via API. Remote control applications (such as apps) are tools for users to manage the locks, viewing lock information and related system settings. These apps, specifically the smart lock app on a mobile phone, allow users to manage the locks, such as setting lock parameters, viewing unlocking and alarm information. The specific role of weather reporting in this context is as follows: the user authorizes their current location information (e.g., Shenzhen) in the app, which then synchronizes this information to the cloud server, obtains the corresponding weather information, and then synchronizes it to the smart lock for subsequent reporting and display. The app can also set the lock's weather reporting logic; once set, the smart lock will execute the user-defined logic.
[0060] like Figure 2 As shown, smart door locks (i.e. Figure 2 The smart lock device communicates with the cloud server via a wireless communication module (receiving or sending information). This wireless communication module acts as a data communication bridge between the smart lock and the cloud server, used for sending and receiving information. It receives information from the cloud server (such as weather information) and sends it to the lock's main controller, and sends lock information (such as status and location information) to the cloud server. The wireless communication module also communicates with the lock's main controller (data processing center). The main controller processes data from each module and sends relevant instructions to them. For example, it processes weather information and user settings received by the wireless communication module, generates broadcast voice through TTS conversion and other technologies, and uses encoding and decoding technologies. The system displays content on the screen, collects information from the human body sensor indicating that someone is approaching, and issues commands to the voice playback module to broadcast weather information, etc., according to the user-defined playback strategy. The human body sensor is used to detect when someone is approaching to unlock the door, obtain scene information, and inform the door lock master controller. The door lock master controller communicates with the screen (sends and receives information). The screen receives relevant display information from the door lock master controller and displays it according to the commands, such as weather information and when to automatically turn on the screen. The door lock master controller also communicates with the voice playback module (i.e., the voice broadcast module). The voice playback module receives weather broadcast content from the door lock master controller and broadcasts it according to the commands, such as when to automatically broadcast weather voice messages.
[0061] like Figure 3As shown, when the user opens the lock indoors, the door lock master receives the indoor unlocking state information, and according to the user-defined broadcast time period, issues a broadcast weather voice instruction and related broadcast content data. After the voice playing module receives the door lock master instruction and the voice data with weather information, it immediately broadcasts the weather voice information to remind the user.
[0062] As shown, when the user clicks the key to view the weather information on the display screen, the door lock master receives the user's key press to open the display screen to view the information state, and immediately issues a display instruction and related weather display content data. After the display screen receives the door lock master instruction and the weather information data to be displayed, it immediately turns on the screen and displays the corresponding information for the user to view. Figure 3
[0063] As shown, when the user approaches the door lock to open it, the human body induction sensor senses that someone is approaching the door lock to open it. After the door lock master receives the sensor information, it judges whether the current weather is bad weather. If it is bad weather, it will broadcast a voice. If it is ordinary weather, it will only automatically turn on the display screen to display the weather information. If it is ordinary weather, the display screen receives the door lock master instruction and the weather information data to be displayed, and immediately turns on the screen and displays the corresponding information for the user to view. If it is bad weather, the voice playing module receives the door lock master instruction and the voice data with weather information, and immediately broadcasts the weather information voice to remind the user. Figure 3
[0064] As shown, when the door lock master receives the weather information updated from the cloud server, it updates in time and sends it to the corresponding execution module. When it is matched with a low-power display screen (such as a water ink screen), the display screen will remain constantly on (convenient for the user to view). When it receives the new weather data from the door lock master, it will automatically update. Figure 3
[0065] As shown, the intelligent door lock receives weather data (broadcast and display content) and APP setting instructions (such as turning on the weather broadcast function, related broadcast frequency strategy setting, etc.) from the door lock service through the wireless communication module, and transmits them to the door lock control system through serial communication instructions. The control system converts them into corresponding data formats, stores and outputs them to the display screen or voice playing module, etc. execution module, and receives the trigger signal from the human body induction sensor. According to the user's setting strategy, when the sensor is triggered, it issues related screen display weather or weather broadcast voice. Figure 4
[0066] As shown, the intelligent door lock receives weather data (broadcast and display content) and APP setting instructions (such as turning on the weather broadcast function, related broadcast frequency strategy setting, etc.) from the door lock service through the wireless communication module, and transmits them to the door lock control system through serial communication instructions. The control system converts them into corresponding data formats, stores and outputs them to the display screen or voice playing module, etc. execution module, and receives the trigger signal from the human body induction sensor. According to the user's setting strategy, when the sensor is triggered, it issues related screen display weather or weather broadcast voice. Figure 4 As shown, the user enables the weather forecast function in the APP (provided that the door lock and the APP have already established a binding relationship, i.e., they have been network-configured), and authorizes the acquisition of the door lock's location information. Then, through the network communication of the mobile device installed in the APP (such as the mobile phone's 4G network), the information is sent to the door lock server. After receiving the corresponding door lock device information sent by the APP (weather forecast function enabled and location information, etc.), the door lock server automatically sends a data request and subscription instruction to the weather service provider server, and sends the obtained weather information and the instructions set by the APP to the door lock. After receiving the request instruction and subscription information from the door lock server, the weather service provider server returns the relevant subscription data to the door lock server (for example, parsing the returned JSON data and extracting the required weather information).
[0067] like Figure 4 As shown, the smart door lock sends weather information and APP settings to the door lock via the MQTT protocol. After receiving the weather information returned by the weather service provider's server, the door lock server sends the obtained weather information and APP settings instructions to the door lock.
[0068] like Figure 4 As shown, when a smart lock synchronizes its lock information or status to the lock server, the user triggers relevant actions and simultaneously reports relevant execution logs to the lock server for the app to view. The remote control application receives the relevant execution logs synchronized from the lock to the lock server and displays them on the application, allowing users to view the lock's status in a timely manner.
[0069] In this invention, the smart lock converts weather information into voice broadcast: after obtaining weather information from a weather service provider via the internet, the data processing module parses and processes the received weather data to generate broadcast content; the smart lock actively acquires and broadcasts weather information: it can automatically remind users when unlocking or locking, or automatically broadcast when someone approaches the lock using a human body sensor. The smart lock's display screen is always on, showing weather information: a low-power display screen (such as an e-ink screen) is used on the smart lock to display weather information in real time without additional operation. The smart lock's weather broadcast supports personalized customizable broadcast strategies: users can set the time and content of the weather broadcast information, such as what time each day, whether to broadcast weather information when unlocking or leaving, and automatic broadcast when someone approaches the lock in severe weather.
[0070] The technical effects that this invention can bring are as follows:
[0071] (1) Enhanced the timeliness of weather forecasts: Through the combination of multiple modules, automatic broadcasting, and low-power display screen always on the door lock, users can easily get the weather information when they unlock the door, which is fast and convenient.
[0072] (2), reduce the operation complexity: through a variety of combination implementation mode constructed system, meet the different age, the convenient use scene of crowd, such as the above scheme interaction scene one, the user initiatively press the key or switch lock out, automatic broadcast, suitable for young group, etc., interaction scene two combines human body inductive sensor, someone approaches automatic screen display, severe weather will be actively broadcast, suitable for vulnerable groups (such as old people / children / disabled people, etc.); Interaction scene three combines low-power display screen, always display weather information, almost cover all age groups.
[0073] (3), improve the door lock intelligent, the interaction experience is better: the scheme combines human body inductive sensor, strengthens the interaction effect of automatic reminder, also supports user-defined weather reminder strategy, when encountering severe weather, someone approaches automatic broadcast, effectively improves the intelligent service of user going out.
[0074] Further, as shown in Figure 5 Based on the above-mentioned weather broadcast and early warning method based on intelligent door lock, the present application also correspondingly provides a weather broadcast and early warning system based on intelligent door lock, wherein the weather broadcast and early warning system based on intelligent door lock comprises:
[0075] A data acquisition module 51 is configured to acquire the current position information of the intelligent door lock, and acquire local real-time weather data from a weather service provider according to the current position information;
[0076] A data processing module 52 is configured to analyze and process the local real-time weather data to generate voice broadcast content, weather text content and weather icon content;
[0077] A weather reminder module 53 is configured to set multiple weather reminder scenes according to the voice broadcast content, weather text content and weather icon content, and trigger the corresponding weather reminder scenes to perform weather reminder according to the user's interaction scene selection instruction;
[0078] A voice broadcast module 54 is configured to perform severe weather voice broadcast and early warning information voice broadcast when detecting that the user goes out if the local real-time weather data belongs to the severe weather range.
[0079] Further, as shown in Figure 6 Based on the above-mentioned weather broadcast and early warning method based on intelligent door lock and system, the present application also correspondingly provides an intelligent door lock, which comprises a processor 10, a memory 20 and a display 30. Figure 6 Only part of the components of the intelligent door lock is shown, but it should be understood that it is not required to implement all the shown components, and more or less components can be alternatively implemented.
[0080] The memory 20 can be an internal storage unit of the smart door lock in some embodiments, such as a hard disk or a memory of the smart door lock. The memory 20 can also be an external storage device of the smart door lock in other embodiments, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the smart door lock. Further, the memory 20 can include both the internal storage unit and the external storage device of the smart door lock. The memory 20 is used to store application software installed on the smart door lock and various data, such as program codes of the installed smart door lock, etc. The memory 20 can also be used to temporarily store data that has been output or will be output. In an embodiment, the memory 20 stores a smart door lock-based weather broadcast and warning program 40, which can be executed by the processor 10 to implement the smart door lock-based weather broadcast and warning method in the present application.
[0081] The processor 10 can be a central processing unit (CPU), a microprocessor or other data processing chip in some embodiments, which is used to run program codes or process data stored in the memory 20, such as to execute the smart door lock-based weather broadcast and warning method, etc.
[0082] The display 30 can be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, etc. in some embodiments. The display 30 is used to display information of the smart door lock and to display a visual user interface. The components of the smart door lock communicate with each other through a system bus.
[0083] In an embodiment, the following steps are implemented when the processor 10 executes the smart door lock-based weather broadcast and warning program 40 in the memory 20:
[0084] Obtaining current location information of the smart door lock, and obtaining local real-time weather data from a weather service provider according to the current location information;
[0085] Analyzing and processing the local real-time weather data to generate voice broadcast content, weather text content and weather icon content;
[0086] Setting multiple weather reminder scenes according to the voice broadcast content, the weather text content and the weather icon content, and triggering a corresponding weather reminder scene to perform weather reminding according to a user's interaction scene selection instruction.
[0087] If the local real-time weather data belongs to the bad weather range, a bad weather voice broadcast and a warning information voice broadcast are performed when it is detected that the user goes out.
[0088] The current position information of the smart door lock is acquired, and local real-time weather data is acquired from a weather service provider according to the current position information, specifically including:
[0089] When the user opens the positioning authorization through the remote control application, the smart door lock is connected to a cloud server through a wireless communication module, and the current position information of the smart door lock is acquired through the cloud server;
[0090] The smart door lock receives the local real-time weather data sent by the cloud server, wherein the cloud server establishes a communication connection with the weather service provider through an API interface, the weather service provider provides real-time weather information of the corresponding positioning area according to the authorized positioning information, and the cloud server acquires the local real-time weather data from the weather service provider according to the current position information.
[0091] The local real-time weather data is analyzed and processed to generate voice broadcast content, weather text content, and weather icon content, specifically including:
[0092] The local real-time weather data is analyzed, and the analyzed local real-time weather data is converted and processed through TTS conversion technology to generate voice broadcast content;
[0093] The analyzed local real-time weather data is encoded and decoded through coding and decoding technology to generate weather text content and weather icon content.
[0094] The weather reminder scene includes an automatic weather broadcast reminder scene, an automatic weather display reminder scene, and a long-term weather display broadcast scene.
[0095] According to the voice broadcast content, the weather text content, and the weather icon content, a plurality of weather reminder scenes are set, and according to a user's interactive scene selection instruction, a corresponding weather reminder scene is triggered to perform weather reminding, specifically including:
[0096] If the weather reminder scene is the automatic weather broadcast reminder scene, the weather broadcast mode is set according to the voice broadcast content, and when it is detected that the user triggers the weather broadcast through the touch screen or the key, or the view function, or when the lock is opened or closed, the voice broadcast content is automatically triggered;
[0097] If the weather reminder scene is a weather automatic display reminder scene, a weather broadcast mode is set according to weather text content and weather icon content, and when a user is detected by a human body sensing sensor on the smart door lock to be close to the door lock and prepare to unlock and go out, the weather text content and the weather icon content are automatically displayed by the display screen;
[0098] If the weather reminder scene is a weather long-term display broadcast scene, a weather broadcast mode is set according to weather text content and weather icon content, and the weather text content and the weather icon content are displayed by a low-power display screen on the smart door lock for a long time, so that the user can know the current weather condition when going out.
[0099] If the local real-time weather data belongs to the adverse weather range, adverse weather voice broadcast and warning information voice broadcast are performed when it is detected that the user goes out, and specifically include:
[0100] The adverse weather range is defined in advance according to the requirements of the weather service provider, and it is judged whether the local real-time weather data belongs to the adverse weather range.
[0101] If the local real-time weather data belongs to the adverse weather range, adverse weather voice broadcast and warning information voice broadcast are performed by the loudspeaker when the smart door lock detects that the user goes out, so as to timely remind the user to pay attention to the current weather.
[0102] The weather broadcast and warning method based on the smart door lock further includes:
[0103] According to different needs of the user, a corresponding weather reminder scene is selected, and when the user selects, the user is reminded of the weather broadcast according to the set weather broadcast mode.
[0104] The application also provides a computer readable storage medium, wherein the computer readable storage medium stores a weather broadcast and warning program based on a smart door lock, and the weather broadcast and warning program based on the smart door lock is executed by a processor to realize the steps of the weather broadcast and warning method based on the smart door lock.
[0105] In summary, the present application provides a weather report and early warning method and system based on a smart door lock, a smart door lock and a computer readable storage medium, the method comprising: obtaining the current position information of the smart door lock, and obtaining local real-time weather data from a weather service provider according to the current position information; analyzing and processing the local real-time weather data to generate voice broadcast content, weather text content and weather icon content; setting multiple weather reminder scenes according to the voice broadcast content, the weather text content and the weather icon content, and triggering the corresponding weather reminder scene to perform weather reminding according to the user's interaction scene selection instruction; if the local real-time weather data belongs to the range of severe weather, when it is detected that the user goes out, the severe weather voice broadcast and the early warning information voice broadcast are performed. The present application sets multiple weather reminder modes on the smart door lock, timely reminds the user of the weather, especially the voice broadcast reminder of severe weather, greatly improves the user experience and the convenience of life.
[0106] It should be noted that in this paper, the term "include", "contain" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or smart door lock including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or smart door lock. Without more limitation, the element defined by the sentence "including a" does not exclude the presence of another identical element in the process, method, article or smart door lock including the element.
[0107] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing relevant hardware (such as a processor, a controller, etc.) to complete, and the program can be stored in a computer readable computer readable storage medium, and the program can include the processes of the above-mentioned method embodiments when executed. The computer readable storage medium can be a memory, a magnetic disc, an optical disc, etc.
[0108] It should be understood that the application of the present application is not limited to the above examples, and those skilled in the art can improve or change according to the above description, and all these improvements and changes should belong to the protection scope of the claims of the present application.
Claims
1. A weather forecasting and early warning method based on a smart door lock, characterized in that, The methods include: When a user authorizes location access via a remote control application, the smart lock connects to a cloud server via a wireless communication module and obtains the current location information of the smart lock through the cloud server. The smart door lock receives local real-time weather data sent by the cloud server. The cloud server establishes a communication connection with the weather service provider through an API interface. The weather service provider provides real-time weather information for the corresponding location area based on authorized location information. The cloud server obtains local real-time weather data from the weather service provider based on the current location information. The local real-time weather data is parsed and processed to generate voice broadcast content, weather text content, and weather icon content; Based on the voice broadcast content, weather text content, and weather icon content, multiple weather reminder scenarios are set up. These scenarios include automatic weather broadcast reminders, automatic weather display reminders, and long-term weather display and broadcast scenarios. If the weather reminder scenario is an automatic weather broadcast reminder scenario, the weather broadcast method is set according to the voice broadcast content. When it is detected that the user triggers the weather broadcast through the touch screen or button, or views the function, or unlocks or closes the door, the voice broadcast content is automatically triggered. If the weather reminder scenario is an automatic weather display reminder scenario, the weather broadcast method is set according to the weather text content and weather icon content. When the human body sensor on the smart door lock detects that the user is approaching the door lock and preparing to unlock and leave, the display screen will automatically light up to display the weather text content and weather icon content. If the weather reminder scenario is a long-term weather display and broadcast scenario, the weather broadcast method is set according to the weather text content and weather icon content, and the weather text content and weather icon content are displayed on the low-power display screen on the smart door lock for a long time so that users can know the current weather conditions when they go out; The scope of severe weather is defined in advance according to the requirements of the weather service provider, and it is determined whether the local real-time weather data belongs to the scope of severe weather. If the local real-time weather data falls within the range of severe weather, the smart door lock will broadcast severe weather and warning information via speaker when it detects that the user is leaving the house, so as to remind the user to pay attention to the current weather.
2. The weather forecasting and early warning method based on a smart door lock according to claim 1, characterized in that, The process of parsing and processing the local real-time weather data to generate voice broadcast content, weather text content, and weather icon content specifically includes: The local real-time weather data is analyzed, and the analyzed local real-time weather data is converted and processed using TTS conversion technology to generate voice broadcast content; The parsed local real-time weather data is processed using encoding and decoding techniques to generate weather text content and weather icon content.
3. The weather forecasting and early warning method based on a smart door lock according to claim 1, characterized in that, The weather forecasting and early warning method based on smart door locks also includes: Based on different user needs, select the corresponding weather reminder scenario. Once the user selects a scenario, the weather will be broadcast and reminded according to the set weather broadcast method.
4. A weather forecasting and early warning system based on a smart door lock, characterized in that, The weather forecasting and early warning system based on smart locks is used to implement the weather forecasting and early warning method based on smart locks as described in any one of claims 1-3, wherein the weather forecasting and early warning system based on smart locks includes: The data acquisition module is used to acquire the current location information of the smart door lock and obtain local real-time weather data from the weather service provider based on the current location information; The data processing module is used to parse and process the local real-time weather data to generate voice broadcast content, weather text content, and weather icon content; The weather alert module is used to set multiple weather alert scenarios based on voice broadcast content, weather text content, and weather icon content, and to select commands based on user interaction scenarios to trigger the corresponding weather alert scenario to provide weather alerts; The voice broadcast module is used to broadcast severe weather and warning information when the user goes out if the local real-time weather data falls within the range of severe weather.
5. A smart door lock, characterized in that, The smart lock includes: a memory, a processor, and a weather forecasting and warning program based on the smart lock stored in the memory and executable on the processor. When the weather forecasting and warning program based on the smart lock is executed by the processor, it implements the steps of the weather forecasting and warning method based on the smart lock as described in any one of claims 1-3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a weather forecasting and warning program based on a smart lock, which, when executed by a processor, implements the steps of the weather forecasting and warning method based on a smart lock as described in any one of claims 1-3.
Citation Information
Patent Citations
Weather broadcasting method and device, message reminding method and device, equipment and storage medium
CN115665316A
Reminding method based on intelligent door lock and related equipment
CN117690213A