Weather broadcasting and early warning method and system based on intelligent door lock and intelligent door lock
By obtaining and analyzing weather data on the smart door lock, setting up a variety of weather reminders, and voice broadcast reminders in bad weather, the problem that existing smart door locks cannot provide timely weather reminders is solved, significantly improving the user experience.
Patent Information
- Application Number
- CN202411662242.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-20
AI Technical Summary
The existing smart door lock can only simply display weather information and cannot provide timely weather reminders based on user needs, especially in severe weather, where there is no voice broadcast reminder to users.
By obtaining the current location information of the smart door lock, obtain local real-time weather data, and analyze and process the generated voice broadcast content, weather text content and weather icon content. Set multiple weather reminder scenes based on these contents, and trigger corresponding weather reminder scenes based on user's interactive scene selection instructions. If the weather data falls within the bad weather range, it is detected that the user will perform bad weather voice broadcast and early warning information voice broadcast when he/she is out.
It has realized the setting of various weather reminders on smart door locks, and timely weather reminders are given to users, especially voice broadcast reminders in bad weather, which greatly improves the user experience and convenience of life.
Smart Images

Figure CN119625944A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart door locks, and in particular to a weather broadcast and early warning method and system based on a smart door lock, a smart door lock, and a computer-readable storage medium. Background Art
[0002] With the continuous advancement of smart home technology, smart door locks have become a crucial component of home security. Traditional smart door locks primarily focus on access control and security, failing to fully leverage IoT and big data technologies to provide more value-added services. For example, users often need to check local weather conditions before leaving home to decide whether to bring rain gear or adjust their attire. If smart door locks could integrate weather forecasts and severe weather warnings, the user experience and convenience would be greatly enhanced.
[0003] In recent years, a relatively small number of smart door locks have added weather display functions to the door lock display screen. General wireless technology remotely subscribes to weather data from weather forecast platform service providers and displays it on the door lock display screen, but users need to actively turn on the screen to view it, and there is no severe weather warning reminder, which makes users easily forget to use it when going out, and the user experience is not high.
[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the Invention
[0005] The main purpose of the present invention is to provide a weather broadcast and warning method, system, smart door lock and computer-readable storage medium based on smart door locks, aiming to solve the problem in the prior art that smart door locks can only simply display weather information and cannot provide timely weather reminders according to user needs, especially there is no voice broadcast reminder to users in bad weather.
[0006] To achieve the above objectives, the present invention provides a weather broadcast and warning method based on a smart door lock, the weather broadcast and warning method based on a smart door lock comprising the following steps:
[0007] Obtaining current location information of the smart door lock, and obtaining local real-time weather data from a weather service provider based on the current location information;
[0008] Analyze and process the local real-time weather data to generate voice broadcast content, weather text content, and weather icon content;
[0009] Set multiple weather reminder scenes based on voice broadcast content, weather text content and weather icon content, and select instructions based on the user's interactive scene to trigger the corresponding weather reminder scene for weather reminder;
[0010] If the local real-time weather data belongs to the severe weather range, a severe weather voice broadcast and a warning information voice broadcast are performed when it is detected that the user is going out.
[0011] Optionally, the weather broadcast and warning method based on the smart door lock, wherein the step of obtaining the current location information of the smart door lock and obtaining local real-time weather data from a weather service provider based on the current location information, specifically includes:
[0012] When the user starts obtaining positioning authorization through the remote control application, the smart door lock connects to the cloud server through the wireless communication module and obtains the current location information of the smart door lock through the cloud server;
[0013] The smart door lock receives 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 based on the authorized positioning information, and the cloud server obtains local real-time weather data from the weather service provider based on the current location information.
[0014] Optionally, the weather broadcast and warning method based on the smart door lock, wherein the parsing and processing of the local real-time weather data to generate voice broadcast content, weather text content and weather icon content, specifically includes:
[0015] Parsing the local real-time weather data, converting the parsed local real-time weather data using TTS conversion technology to generate voice broadcast content;
[0016] The parsed local real-time weather data is encoded and decoded using encoding and decoding technology to generate weather text content and weather icon content.
[0017] Optionally, in the weather broadcast and warning method based on smart door locks, the weather reminder scenarios include automatic weather broadcast reminder scenarios, automatic weather display reminder scenarios and long-term weather display broadcast scenarios.
[0018] Optionally, the weather broadcast and warning method based on the smart door lock, wherein the method sets multiple weather reminder scenes according to the voice broadcast content, weather text content and weather icon content, and triggers the corresponding weather reminder scene for weather reminder according to the user's interactive scene selection instruction, specifically includes:
[0019] If the weather reminder scenario is an automatic weather broadcast reminder scenario, the weather broadcast mode 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 checks the function, or unlocks or closes the door, the voice broadcast content is automatically triggered;
[0020] If the weather reminder scene is an automatic weather display reminder scene, the weather broadcast mode is set according to the weather text content and weather icon content. When the human body sensing sensor on the smart door lock detects that the user is approaching the door lock and is about to unlock and go out, the weather text content and weather icon content are automatically displayed on the display screen;
[0021] If the weather reminder scenario is a long-term weather display and broadcast scenario, the weather broadcast mode is set according to the weather text content and the weather icon content, and the weather text content and the weather icon content are displayed for a long time through the low-power display screen on the smart door lock, so that the user can understand the current weather conditions when going out.
[0022] Optionally, the weather broadcast and warning method based on the smart door lock, wherein if the local real-time weather data falls within the severe weather range, then when it is detected that the user is leaving the house, a severe weather voice broadcast and a warning message voice broadcast are performed, specifically including:
[0023] Predefine a severe weather range according to the requirements of the weather service provider, and determine whether the local real-time weather data falls within the severe weather range;
[0024] If the local real-time weather data falls within the severe weather range, the smart door lock will broadcast severe weather and early warning information through the speaker when it detects that the user is going out, so as to remind the user to pay attention to the current weather in time.
[0025] Optionally, the weather broadcast and warning method based on the smart door lock further includes:
[0026] According to different user needs, select the corresponding weather reminder scene. Once the user selects it, the user will be reminded of the weather according to the set weather broadcast method.
[0027] In addition, to achieve the above-mentioned purpose, the present invention also provides a weather broadcast and warning system based on a smart door lock, wherein the weather broadcast and warning system based on a smart door lock includes:
[0028] A data acquisition module is used to obtain the current location information of the smart door lock and obtain local real-time weather data from a weather service provider based on the current location information;
[0029] A 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;
[0030] The weather reminder module is used to set multiple weather reminder scenes based on the voice broadcast content, weather text content and weather icon content, and trigger the corresponding weather reminder scene for weather reminder according to the user's interactive scene selection instruction;
[0031] The voice broadcast module is used to perform voice broadcast of bad weather and early warning information when it is detected that the user goes out if the local real-time weather data belongs to the bad weather range.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a smart door lock, wherein the smart door lock includes: a memory, a processor, and a weather broadcast and warning program based on the smart door lock stored on the memory and runnable on the processor. When the weather broadcast and warning program based on the smart door lock is executed by the processor, the steps of the weather broadcast and warning method based on the smart door lock as described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present invention 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 when the weather broadcast and warning program based on a smart door lock is executed by a processor, the steps of the weather broadcast and warning method based on a smart door lock as described above are implemented.
[0034] In the present invention, the current location information of the smart door lock is obtained, and local real-time weather data is obtained from a 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 scenes are set, and according to the user's interactive scene selection instruction, the corresponding weather reminder scene is triggered to provide weather reminders. If the local real-time weather data falls within the severe weather range, a severe weather voice broadcast and warning information voice broadcast are performed when the user is detected leaving the house. The present invention provides multiple weather reminder methods on the smart door lock, providing timely weather reminders to the user, especially voice broadcast reminders of severe weather, greatly improving the user experience and convenience of life. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a flow chart of a preferred embodiment of the weather broadcast and warning method based on the smart door lock of the present invention;
[0036] Figure 2 This is a workflow diagram of a smart door lock performing weather reminders in a preferred embodiment of the weather broadcast and warning method based on a smart door lock of the present invention;
[0037] Figure 3It is a flowchart of different usage scenarios of weather reminders in a preferred embodiment of the weather broadcast and warning method based on a smart door lock of the present invention;
[0038] Figure 4 This is a flow chart of external server data interaction in a preferred embodiment of the weather broadcast and warning method based on smart door locks of the present invention;
[0039] Figure 5 This is a structural diagram of a preferred embodiment of the weather broadcast and warning system based on smart door locks of the present invention;
[0040] Figure 6 This is a structural diagram of a preferred embodiment of the smart door lock of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of the present invention more clear and distinct, 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 intended to limit the present invention.
[0042] Currently, weather forecast technology is widely used on related mobile smart devices, such as smartphones, tablets, computers, smart watches, etc. A few applications have simple applications on smart door locks, but there are the following defects and shortcomings:
[0043] (1) Lack of timeliness in reminders for going out: Weather forecasts on mobile smart devices are only available when users actively check them. They are unable to know when users will go out and provide timely reminders when they go out.
[0044] (2) Complex operation and insufficient coverage: Due to the numerous functions and complex operation of mobile smart devices, most elderly people and children in families are relatively lacking in proficiency in their operation, making it difficult for them to enjoy the convenient life brought by their weather forecast function.
[0045] (3) The current door lock devices with weather information are not intelligent enough: Currently, a small number of door lock devices only display weather information on the display screen, and the display screen cannot be kept on all the time due to power consumption (currently, most door locks are battery devices). Users need to press the display screen button to turn on the display screen every time they want to check the weather, which is relatively troublesome and lacks experience and intelligence.
[0046] The weather broadcast and warning method based on smart door lock described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the weather broadcast and warning method based on the smart door lock includes the following steps:
[0047] Step S10: Obtain the current location information of the smart door lock, and obtain local real-time weather data from a weather service provider based on the current location information.
[0048] Specifically, when the user starts obtaining positioning authorization through a remote control application (such as an 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 obtains the current location information of the smart door lock through the cloud server. For example, the user authorizes the current positioning door lock positioning information in the control application (such as APP), such as positioning Shenzhen, and the cloud server obtains local weather data based on the user-authorized positioning information; the smart door lock receives 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 has its own data server, and the cloud server and the data server subscribe to weather data and interact with other data through relevant API interfaces, etc.), the weather service provider provides real-time weather information of the corresponding positioning area based on the authorized positioning information, and the cloud server obtains local real-time weather data from the weather service provider based on the current location information.
[0049] Step S20: parse and process 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 parsed, and the parsed local real-time weather data is converted and processed through TTS conversion technology (Text To Speech) or other conversion technologies to generate voice broadcast content; at the same time, the parsed local real-time weather data is encoded and decoded through encoding and decoding technology to generate weather text content and weather icon content, and the text and icon are for display.
[0051] Step S30: Set multiple weather reminder scenes according to the voice broadcast content, weather text content and weather icon content, and trigger the corresponding weather reminder scene for weather reminder according to the user's interactive scene selection instruction.
[0052] Specifically, the weather reminder scenarios include an automatic weather broadcast reminder scenario (i.e., interactive scenario one), an automatic weather display reminder scenario (i.e., interactive scenario two), and a long-term weather display broadcast scenario (i.e., interactive scenario three).
[0053] Interaction scenario 1: If the weather reminder scenario is an automatic weather broadcast reminder scenario, the weather broadcast mode 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; the voice broadcast frequency and content can be executed based on the user's customized policy, such as setting the time to give a weather reminder when unlocking and going out every morning.
[0054] Interaction scenario two: If the weather reminder scenario is an automatic weather display reminder scenario, the weather broadcast mode is set according to the weather text content and the weather icon content. When the human body sensing sensor on the smart door lock detects that the user is approaching the door lock and is about to unlock and go out, the weather text content and the weather icon content are automatically displayed on the display screen.
[0055] Interaction scenario three: If the weather reminder scenario is a long-term weather display and broadcast scenario, the weather broadcast mode is set according to the weather text content and the weather icon content, and the weather text content and the weather icon content are displayed for a long time through the low-power display screen (such as an ink screen, etc.) on the smart door lock, so that the user can understand the current weather conditions when going out; set the weather information to be displayed for a long time, and update it in time when the weather changes, so that the user can check it at a glance when unlocking and going out without any extra operations.
[0056] In the present invention, the corresponding weather reminder scene can be selected according to the different needs of the user. When the user selects it, the weather broadcast reminder will be given to the user according to the set weather broadcast method. The reminder method constructed by a variety of combined implementation methods can meet the convenient use scenarios of different age groups and different groups of people. For example, in the interactive scene one of the above scheme, when the user actively presses a button or switches the lock to go out, the weather will be automatically broadcast, which is suitable for young groups, etc. The interactive scene two is combined with a human body sensing sensor. When someone approaches, the screen will automatically light up and bad weather will be actively broadcast. It is suitable for vulnerable groups (such as the elderly, children, and people with disabilities). The interactive scene three is combined with a low-power display screen to display weather information all the time, covering almost all age groups.
[0057] Step S40: If the local real-time weather data belongs to the severe weather range, a severe weather voice broadcast and a warning information voice broadcast are performed when it is detected that the user is going out.
[0058] Specifically, a severe weather range (e.g., including heavy rainfall, strong winds, extreme temperatures, snow and ice, heavy fog, haze, sandstorms, etc.) is pre-defined according to the requirements of the weather service provider, and a determination is made as to whether the local real-time weather data falls within the severe weather range. If the local real-time weather data falls within the severe weather range, the smart door lock will automatically broadcast severe weather warning information and warning messages through the speaker when it detects that the user is leaving the house, so as to promptly remind the user to pay attention to the current weather. That is, when encountering severe weather, the severe weather warning message will be automatically broadcast when the user approaches the door lock, reminding the user to pay attention to matters, such as reminding the user to bring an umbrella when going out due to heavy rain. In addition, the user can also enable only the severe weather warning function according to their own needs, and only receive voice broadcasts when going out due to severe weather.
[0059] like Figure 2 As shown, the remote server of the smart door lock (i.e. Figure 2 The door lock server in the system is used for remote management of door locks, sending and receiving door lock data, obtaining external information, etc. The weather service provider is used to provide real-time weather information of the corresponding positioning area based on the authorized positioning information. The remote server of the smart door lock obtains the weather information provided by the weather service provider through the API interface. The remote control application (such as APP) is an application tool that provides users with door lock management, which is used to view door lock information and related door lock system settings, etc. The remote control application refers to the smart door lock APP on the mobile phone, which is used to manage door locks for users, such as setting door lock related parameters, viewing door lock related unlocking, alarm and other information. The specific role of weather broadcast here is: the user authorizes the current positioning information in the APP (such as Shenzhen positioning), the APP synchronizes the positioning information to the cloud server, and after obtaining the weather information of the corresponding location, synchronizes it to the smart door lock for subsequent broadcast and display, etc.; and the APP can also set the relevant weather broadcast logic of the door lock. After setting, the smart door lock will execute according to the logic set by the user.
[0060] like Figure 2 As shown, the smart door lock (i.e. Figure 2 The smart door lock device in the system) communicates with the cloud server (receives or sends information) through the wireless communication module. The wireless communication module is the data communication bridge between the smart door lock and the cloud server. It is used to send and receive information, receive cloud server information (such as weather information), and send it to the door lock master, and send door lock information (such as status, location, etc.) to the cloud server; the wireless communication module communicates (sends and receives information) with the door lock master (data processing center). The door lock master processes the data of each module and sends relevant instructions to each module, such as processing the weather information and user setting information received by the wireless communication module, generating broadcast voice through conversion technologies such as TTS conversion, and encoding and decoding technology The content is displayed on the display screen, and the information of someone approaching obtained by the human body sensing sensor is collected. According to the playback strategy set by the user, a command is issued to the voice playback module to broadcast weather information, etc. The human body sensing sensor is used to sense someone approaching to unlock the door, obtain scene information, and inform the door lock master control; the door lock master control communicates with the display screen (sending and receiving information), and the display screen receives the relevant display information sent by the door lock master control and displays it according to the command, such as weather information and when to automatically light up the screen, etc.; the door lock master control communicates with the voice playback module (i.e., voice broadcast module) (sending and receiving information), and the voice playback module receives the weather broadcast content sent by the door lock master control and broadcasts it according to the command, such as when to automatically broadcast the weather voice, etc.
[0061] like Figure 3As shown, when the user unlocks the door indoors, the door lock master receives the indoor unlocking status information and issues a weather broadcast voice command and related broadcast content data according to the user-defined broadcast time period. After the voice playback module receives the door lock master command and the voice data with weather information, it immediately broadcasts the weather voice information to remind the user.
[0062] like Figure 3 As shown, when the user clicks the button to view the weather information on the display screen, the door lock master controller receives the user's button click to open the display screen to view the information status, and immediately sends a display instruction and related weather display content data. After the display screen receives the door lock master controller instruction and the weather information data to be displayed, it immediately lights up and displays the corresponding information for the user to view.
[0063] like Figure 3 As shown, when the user approaches the door lock to unlock it, the human body sensing sensor senses that someone is approaching the door lock to unlock it. After the door lock master receives the sensor information, it determines whether the current weather is bad weather. If it is bad weather, it broadcasts the voice. If it is normal weather, it automatically turns on the display screen to display the weather information. If it is normal weather, the display screen will immediately light up and display the corresponding information for the user to view after receiving the door lock master control command and the weather information data to be displayed. If it is bad weather, the voice playback module will immediately broadcast the weather information voice to remind the user after receiving the door lock master control command and the voice data with weather information.
[0064] like Figure 3 As shown, when the door lock master receives updated weather information from the cloud server, it is updated in time and sent to the corresponding execution module. When paired with a low-power display (such as an ink screen), the display will remain on (for user convenience). When new weather data is received from the door lock master, it will be automatically updated.
[0065] like Figure 4 As shown, the smart 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 settings, etc.) from the door lock service through the wireless communication module, and transmits them to the door lock central control system through the serial communication command. The central control system then converts it into the corresponding data format, stores and outputs it to the execution module such as the display screen or voice playback module, and receives the trigger signal from the human body sensing sensor. According to the strategy set by the user, when the sensor is triggered, the relevant screen will be displayed to display the weather or the weather broadcast voice will be issued.
[0066] like Figure 4As shown, the user turns on the weather forecast function in the APP (provided that the door lock and the APP have established a binding relationship, that is, the network has been configured) and authorizes the acquisition of the location information of the door lock, and then sends it to the door lock server through the network communication of the mobile device where the APP is installed (such as the mobile phone 4G network). After the door lock server receives the corresponding door lock device information sent by the APP (information such as weather forecast function and location turned on), it 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 the weather service provider server receives the request instruction and the information to be subscribed from the door lock server, it returns the relevant subscription data to the door lock server (for example, parsing the returned JSON data to extract the required weather information).
[0067] like Figure 4 As shown in the figure, the smart door lock sends weather information and APP setting information to the door lock through the MQTT protocol. After the door lock server receives the weather information returned by the weather service provider server, it sends the obtained weather information and APP setting instructions to the door lock.
[0068] like Figure 4 As shown, when the smart door lock synchronizes the door lock information or status to the door lock server, after the relevant execution action is triggered, the relevant execution log will be synchronously reported to the door lock server for synchronization to the APP for viewing. The remote control application receives the relevant execution log synchronized from the door lock to the door lock server and displays it on the application, making it convenient for users to view the door lock dynamics in a timely manner.
[0069] In the present invention, the smart door lock converts weather information into voice format and broadcasts it: after obtaining weather information from the weather service provider through the Internet, the data processing module parses and processes the received weather data to generate the broadcast content; the smart door lock actively obtains and broadcasts weather information: it can automatically remind you by unlocking or locking, or combine with the human body sensing sensor to automatically broadcast after sensing someone approaching the door lock, etc. The display screen of the smart door lock is always on to display weather and other information: a low-power display screen (such as an ink screen) is applied to the smart door lock to display weather information in real time without the need for extra operations. The weather broadcast of the smart door lock supports personalized custom settings for broadcast strategies: it can support users to set the time and content of the weather broadcast information, such as what time to what time every day, whether to broadcast weather information when unlocking and going out; in bad weather, automatic broadcast when approaching the door lock, etc.
[0070] The technical effects that the present invention can bring are as follows:
[0071] (1) Enhanced timeliness of weather forecast: Through multi-module combination, automatic broadcast, low-power display screen long-bright display on door lock and other triggering methods, users can easily get weather information when they go out and unlock the door, which is fast and convenient.
[0072] (2) Reduced operational complexity: The system is constructed through a variety of combined implementation methods to meet the convenient usage scenarios of different age groups and people. For example, in the interactive scenario one of the above scheme, when the user actively presses a button or switches the lock to go out, the information is automatically broadcast, which is suitable for young groups, etc. The interactive scenario two combines with the human body sensing sensor, and the screen automatically lights up when someone approaches. In severe weather, it will also actively broadcast information, which is suitable for vulnerable groups (such as the elderly / children / disabled people, etc.); the interactive scenario three combines with a low-power display screen to display weather information all the time, covering almost all age groups.
[0073] (3) Improved door lock intelligence and better interactive experience: The solution combines human body sensing sensors to enhance the interactive effect of automatic reminders. It also supports user-defined weather reminder strategies. When encountering bad weather, the system will automatically broadcast when someone approaches, effectively improving the intelligent service for users when going out.
[0074] Further, if Figure 5 As shown, based on the above-mentioned weather broadcast and warning method based on smart door locks, the present invention also provides a weather broadcast and warning system based on smart door locks, wherein the weather broadcast and warning system based on smart door locks includes:
[0075] A data acquisition module 51 is used to obtain the current location information of the smart door lock and obtain local real-time weather data from a weather service provider based on the current location information;
[0076] The data processing module 52 is used to parse and process the local real-time weather data to generate voice broadcast content, weather text content and weather icon content;
[0077] The weather reminder module 53 is used 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 scene for weather reminder according to the user's interactive scene selection instruction;
[0078] The voice broadcast module 54 is used to perform voice broadcast of the bad weather and the warning information when it is detected that the user goes out if the local real-time weather data belongs to the bad weather range.
[0079] Further, if Figure 6 As shown, based on the above-mentioned weather broadcast and warning method and system based on smart door lock, the present invention also provides a smart door lock accordingly, and the smart door lock includes a processor 10, a memory 20 and a display 30. Figure 6 Only some components of the smart door lock are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented instead.
[0080] In some embodiments, the memory 20 can be the internal storage unit of the smart door lock, such as the hard disk or memory of the smart door lock. In other embodiments, the memory 20 can also be the external storage device of the smart door lock, such as the plug-in hard disk equipped on the smart door lock, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Furthermore, the memory 20 can also include both the internal storage unit of the smart door lock and an external storage device. The memory 20 is used to store application software and various types of data installed in the smart door lock, such as the program code for installing the smart door lock. The memory 20 can also be used to temporarily store data that has been output or is about to be output. In one embodiment, the memory 20 stores a weather broadcast and warning program 40 based on the smart door lock, which can be executed by the processor 10, thereby implementing the weather broadcast and warning method based on the smart door lock in this application.
[0081] In some embodiments, the processor 10 can be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the weather broadcast and warning method based on the smart door lock.
[0082] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 30 is used to display information on the smart door lock and to display a visual user interface. The components of the smart door lock communicate with each other via a system bus.
[0083] In one embodiment, when the processor 10 executes the smart door lock-based weather broadcast and warning program 40 in the memory 20, the following steps are implemented:
[0084] Obtaining current location information of the smart door lock, and obtaining local real-time weather data from a weather service provider based on the current location information;
[0085] Analyze and process the local real-time weather data to generate voice broadcast content, weather text content, and weather icon content;
[0086] Set multiple weather reminder scenes based on voice broadcast content, weather text content and weather icon content, and select instructions based on the user's interactive scene to trigger the corresponding weather reminder scene for weather reminder;
[0087] If the local real-time weather data belongs to the severe weather range, a severe weather voice broadcast and a warning information voice broadcast are performed when it is detected that the user is going out.
[0088] The step of obtaining the 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 specifically includes:
[0089] When the user starts obtaining positioning authorization through the remote control application, the smart door lock connects to the cloud server through the wireless communication module and obtains the current location information of the smart door lock through the cloud server;
[0090] The smart door lock receives 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 based on the authorized positioning information, and the cloud server obtains local real-time weather data from the weather service provider based on the current location information.
[0091] The parsing and processing of the local real-time weather data to generate voice broadcast content, weather text content and weather icon content specifically includes:
[0092] Parsing the local real-time weather data, converting the parsed local real-time weather data using TTS conversion technology to generate voice broadcast content;
[0093] The parsed local real-time weather data is encoded and decoded using encoding and decoding technology to generate weather text content and weather icon content.
[0094] Among them, the weather reminder scenes include automatic weather broadcast reminder scenes, automatic weather display reminder scenes and long-term weather display broadcast scenes.
[0095] Among them, the method of setting multiple weather reminder scenes according to the voice broadcast content, weather text content and weather icon content, and triggering the corresponding weather reminder scene for weather reminder according to the user's interactive scene selection instruction, specifically includes:
[0096] If the weather reminder scenario is an automatic weather broadcast reminder scenario, the weather broadcast mode 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 checks the function, or unlocks or closes the door, the voice broadcast content is automatically triggered;
[0097] If the weather reminder scene is an automatic weather display reminder scene, the weather broadcast mode is set according to the weather text content and weather icon content. When the human body sensing sensor on the smart door lock detects that the user is approaching the door lock and is about to unlock and go out, the weather text content and weather icon content are automatically displayed on the display screen;
[0098] If the weather reminder scenario is a long-term weather display and broadcast scenario, the weather broadcast mode is set according to the weather text content and the weather icon content, and the weather text content and the weather icon content are displayed for a long time through the low-power display screen on the smart door lock, so that the user can understand the current weather conditions when going out.
[0099] If the local real-time weather data falls within the severe weather range, a severe weather voice broadcast and a warning message voice broadcast are performed when the user is detected to be out, specifically including:
[0100] Predefine a severe weather range according to the requirements of the weather service provider, and determine whether the local real-time weather data falls within the severe weather range;
[0101] If the local real-time weather data falls within the severe weather range, the smart door lock will broadcast severe weather and early warning information through the speaker when it detects that the user is going out, so as to remind the user to pay attention to the current weather in time.
[0102] Among them, the weather broadcast and warning method based on the smart door lock also includes:
[0103] According to different user needs, select the corresponding weather reminder scene. Once the user selects it, the user will be reminded of the weather according to the set weather broadcast method.
[0104] The present invention 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 when the weather broadcast and warning program based on a smart door lock is executed by a processor, the steps of the weather broadcast and warning method based on a smart door lock as described above are implemented.
[0105] In summary, the present invention provides a weather broadcast and warning method and system based on a smart door lock, a smart door lock, and a computer-readable storage medium. The method includes: obtaining the current location information of the smart door lock, and obtaining local real-time weather data from a weather service provider based on the current location information; parsing 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 based on the voice broadcast content, weather text content, and weather icon content, and triggering the corresponding weather reminder scene to issue a weather reminder based on the user's interactive scene selection instruction; if the local real-time weather data falls within the severe weather range, then when it is detected that the user is leaving the house, a severe weather voice broadcast and warning information voice broadcast are performed. The present invention sets up multiple weather reminder methods on the smart door lock, providing timely weather reminders to the user, especially voice broadcast reminders of severe weather, greatly improving the user experience and convenience of life.
[0106] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or smart door lock that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or smart door lock. In the absence of further restrictions, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article, or smart door lock that includes the element.
[0107] Of course, those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware (such as a processor, controller, etc.) through a computer program. The program can be stored in a computer-readable storage medium that can be read by a computer. When the program is executed, it can include the processes in the above-described method embodiments. The computer-readable storage medium can be a memory, a magnetic disk, an optical disk, etc.
[0108] It should be understood that the application of the present invention is not limited to the above examples. For those skilled in the art, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A weather broadcast and warning method based on smart door locks, characterized in that: The weather broadcast and warning method based on the smart door lock includes: Acquire the current location information of the smart door lock, and acquire local real-time weather data from a weather service provider according to the current location information; Analyze and process the local real-time weather data to generate voice broadcast content, weather text content and weather icon content; According to the voice broadcast content, weather text content and weather icon content, multiple weather reminder scenes are set, and according to the user's interactive scene selection instructions, the corresponding weather reminder scene is triggered for weather reminder; 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.
2. The weather broadcast and warning method based on smart door lock according to claim 1 is characterized in that: The obtaining of the 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 specifically includes: When the user starts obtaining positioning authorization through the remote control application, the smart door lock is connected to the cloud server through the wireless communication module, and the current location information of the smart door lock is obtained through the cloud server; The smart door lock receives 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 based on the authorized positioning information, and the cloud server obtains local real-time weather data from the weather service provider based on the current location information.
3. The weather broadcast and warning method based on smart door lock according to claim 1 is characterized in that: The parsing and processing of the local real-time weather data to generate voice broadcast content, weather text content and weather icon content specifically includes: Parsing the local real-time weather data, converting the parsed local real-time weather data through TTS conversion technology, and generating voice broadcast content; The parsed local real-time weather data is encoded and decoded through encoding and decoding technology to generate weather text content and weather icon content.
4. The weather broadcast and warning method based on smart door lock according to claim 1 is characterized in that: The weather reminder scenarios include automatic weather broadcast reminder scenarios, automatic weather display reminder scenarios, and long-term weather display broadcast scenarios.
5. The weather broadcast and warning method based on smart door lock according to claim 4 is characterized in that: The method of setting multiple weather reminder scenes according to the voice broadcast content, weather text content and weather icon content, and triggering corresponding weather reminder scenes for weather reminders according to the user's interactive scene selection instruction, specifically includes: If the weather reminder scenario is an automatic weather broadcast reminder scenario, the weather broadcast mode 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 checks the function, or unlocks or closes the door, the voice broadcast content is automatically triggered; If the weather reminder scene is an automatic weather display reminder scene, the weather report mode is set according to the weather text content and the weather icon content. When the human body sensing sensor on the smart door lock detects that the user is approaching the door lock and is about to unlock and go out, the display screen automatically lights up to display the weather text content and the weather icon content; If the weather reminder scenario is a long-term weather display and broadcast scenario, the weather broadcast mode is set according to the weather text content and the weather icon content, and the weather text content and the weather icon content are displayed for a long time through the low-power display screen on the smart door lock, so that the user can understand the current weather conditions when going out.
6. The weather broadcast and warning method based on smart door lock according to claim 1 is characterized in that: If the local real-time weather data belongs to the bad weather range, then when it is detected that the user goes out, a bad weather voice broadcast and a warning information voice broadcast are performed, specifically including: Predefine a severe weather range according to the requirements of the weather service provider, and determine whether the local real-time weather data falls within the severe weather range; If the local real-time weather data belongs to the bad weather range, when the smart door lock detects that the user goes out, the bad weather voice broadcast and warning information voice broadcast are performed through the speaker to promptly remind the user to pay attention to the current weather.
7. The weather broadcast and warning method based on smart door lock according to claim 5 is characterized in that: The weather broadcast and warning method based on the smart door lock also includes: According to different user needs, select the corresponding weather reminder scene. Once the user selects, the user will be reminded of the weather according to the set weather broadcast method.
8. A weather broadcast and warning system based on smart door locks, characterized in that: The weather broadcast and warning system based on the smart door lock includes: A data acquisition module, used to acquire the current location information of the smart door lock, and acquire local real-time weather data from a weather service provider according to the current location information; A data processing module, 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 reminder module is used 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 scene for weather reminder according to the user's interactive scene selection instruction; The voice broadcast module is used to perform voice broadcast of bad weather and warning information when it is detected that the user goes out if the local real-time weather data belongs to the bad weather range.
9. A smart door lock, characterized in that: The smart door lock includes: a memory, a processor, and a weather broadcast and warning program based on the smart door lock stored in the memory and runable on the processor. When the weather broadcast and warning program based on the smart door lock is executed by the processor, the steps of the weather broadcast and warning method based on the smart door lock are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a weather broadcast and warning program based on a smart door lock. When the weather broadcast and warning program based on a smart door lock is executed by a processor, the steps of the weather broadcast and warning method based on a smart door lock are implemented as described in any one of claims 1-7.
Citation Information
Patent Citations
Weather forecast broadcasting method and weather forecast broadcasting system
CN105243976A
Voice reminding method and device based on intelligent door lock and intelligent door lock
CN115393988A
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
Wearable device, monitoring method and intelligent monitoring system
US20180182229A1
Cited By
Door lock operation log management method applied to intelligent door lock and intelligent door lock
CN121560227A