Scene automatic preset smart home remote control method and application

By creating and managing scenes in the smart home system, using wireless communication and cloud servers to achieve device linkage control, and using encryption technology and big data analysis, the problems of smart scene automation, remote control convenience and data security in the smart home system are solved. , providing a smarter and safer user experience.

CN118748628APending Publication Date: 2024-10-08SHANDONG WINSPREAD COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410724524.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing smart home systems lack intelligent scene automation functions, remote control convenience and data security, resulting in poor user experience and hidden dangers in data privacy protection.

Method used

By installing a smart home control application on a mobile phone APP or PC, binding devices, creating scenes and setting trigger conditions, wireless communication protocols and cloud servers are used to achieve device linkage control, and encryption technology and big data analysis are used to ensure data security.

Benefits of technology

It realizes multi-device linkage control, simplifies the remote control process, improves the convenience of user experience and system security, and protects user data and privacy.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the technical field of smart home, in particular to a scene automatic preset smart home remote control method and application. A user installs a smart home control application through an APP or a PC terminal, creates an account and logs in, and binds a smart device with a home gateway; the system automatically scans equipment through an mDNS or UPnP protocol, and a user manually adds and configures unidentified equipment; a user creates a new scene, sets equipment operation and triggering conditions, and stores the equipment operation and triggering conditions in a cloud database; the home gateway communicates with the equipment through a wireless communication protocol, and synchronizes data with the cloud server through an HTTP / HTTPS protocol to realize remote control; the system monitors the trigger condition and sends a control instruction, and the equipment executes operation; the device state is fed back to the home gateway and synchronized to the cloud, and a user can check and adjust the device state in real time; the cloud server stores the data, performs big data analysis and provides optimization suggestions; and the data security is ensured by adopting TLS / SSL and AES encryption technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and invents a scene-automated preset smart home remote control method and application. Background Art

[0002] With the rapid development of smart home technology, more and more families are using smart devices to improve the convenience and comfort of their lives. However, existing smart home systems still have many shortcomings in practical applications, which seriously affect the user experience. Specifically, they are as follows:

[0003] 1. Lack of intelligent scene automation: Existing smart home systems typically only support the control of a single device, requiring users to operate each device separately, which is cumbersome and prone to errors. The lack of intelligent scene automation makes it impossible to automatically trigger the coordinated operation of a series of devices based on user habits and needs, resulting in a poor user experience. For example, a user may want the curtains to open, the lights to adjust, and the coffee machine to start automatically when they wake up in the morning, but existing systems cannot meet this requirement.

[0004] 2. Remote control is not convenient enough: While many smart home systems offer remote control, implementation is complex, requiring users to go through multiple verification steps to remotely access home devices. Furthermore, some systems' remote control functionality relies on specific network environments. In unstable network environments, the transmission of control commands may be delayed or fail, impacting the user's remote control experience. This is especially true for users who frequently travel or have remote control needs, as the convenience and reliability of existing systems need to be improved.

[0005] 3. Data security and privacy protection risks: With the widespread adoption of smart home devices, data security and privacy issues are becoming increasingly prominent. Existing systems lack effective encryption during data transmission and storage, leaving users' personal information and device data vulnerable to cyberattacks and leaks. Furthermore, smart home systems often involve large amounts of user behavior and home activity data. If this data is exploited by criminals, it could pose a serious threat to user privacy. Therefore, improving the security of data transmission and storage and protecting user privacy have become critical issues that need to be addressed in smart home systems. Summary of the Invention

[0006] The main purpose of the present invention is to provide a scene automation preset smart home remote control method and application, which can effectively solve the problems in the background technology.

[0007] To achieve the above object, the technical solution adopted by the present invention is:

[0008] A scene-automated preset smart home remote control method and application, the method comprising the following steps:

[0009] User initialization settings: Users install and start the smart home control application on their mobile phone or PC, create an account and log in. Users use the application to bind various smart devices to the home gateway. The specific steps include:

[0010] Install the app and launch it.

[0011] Create a user account using your email or mobile number.

[0012] After logging in, enter the device binding page and scan the QR code on the device or manually enter the device ID to bind.

[0013] After the binding is completed, users can name and group the devices.

[0014] Device registration and configuration: The system automatically scans and identifies smart devices in the home network. Users manually add devices that are not automatically identified, enter device information, and configure them. The specific steps include:

[0015] The system starts the mDNS or UPnP protocol to automatically scan the smart devices in the local area network.

[0016] For devices that are not automatically identified, users can manually enter the device's MAC address or serial number.

[0017] Users perform initial configuration based on the device type, such as setting brightness and color options for lights and temperature ranges for thermostats.

[0018] After the configuration is complete, the device will automatically obtain an IP address through the DHCP protocol.

[0019] Scene Presets: Users create new scenes in the app, add specific device operations, and set scene trigger conditions, such as timing, geographic location, or device status. The system saves the scene presets to the cloud database. The specific steps include:

[0020] Go to the scene management page and click Create New Scene.

[0021] Select the device you want to add and its actions, such as turning on lights, adjusting the temperature, etc.

[0022] Set trigger conditions, including:

[0023] Scheduled trigger: Uses a scheduled scheduling algorithm based on CRON expressions. For example, "0 7***" means triggering at 7:00 am every day.

[0024] Geographic location trigger: Use the Geo-fencing algorithm to locate the user's location via GPS and set the trigger when entering or leaving a specific area.

[0025] State trigger: Through the device state detection algorithm, it is triggered when the device state changes and meets the conditions, such as triggering an alarm when the door lock is unlocked.

[0026] Save scene presets to the cloud database for subsequent use.

[0027] Data transmission and communication: The home gateway communicates with each smart device through wireless communication protocols. The home gateway and cloud server synchronize data through HTTP / HTTPS protocols. Users remotely access and control smart devices in their homes through the Internet. The specific steps include:

[0028] The home gateway establishes connections with devices through protocols such as Zigbee or Z-Wave.

[0029] The home gateway synchronizes device status and control commands to the cloud server via HTTP / HTTPS protocol, using TLS encryption to ensure data transmission security.

[0030] Users send control commands through APP or PC application, and the commands are transmitted to the home gateway through the cloud server, and then transmitted to the target device by the home gateway.

[0031] Scene triggering and execution: The system monitors the scene triggering conditions set by the user in real time. When the conditions are met, the home gateway sends a control instruction to the corresponding smart device. After receiving the instruction, the smart device executes the corresponding operation. The specific steps include:

[0032] The home gateway continuously monitors timing, geographic location, and status trigger conditions.

[0033] When the trigger conditions are met, such as reaching a set time, a user entering a specific geographical area, or a device status change, the home gateway generates a control instruction.

[0034] Control instructions are sent to the corresponding device through wireless communication protocols. After receiving the instructions, the device performs preset operations, such as turning on lights or adjusting the temperature.

[0035] Status monitoring and feedback: Smart devices provide real-time status information to the home gateway, which then synchronizes the device status information to the cloud server. Users can use the app to view device status in real time and make adjustments and controls. Specific steps include:

[0036] Devices periodically report status information to the home gateway through polling or event-driven mechanisms.

[0037] The home gateway collects status information and synchronizes it to the cloud server via HTTP / HTTPS protocol.

[0038] Users can view real-time device status in the app and make necessary adjustments and controls.

[0039] Data storage and analysis: Cloud servers store user data, device data, scenario data, etc., and use big data analysis technology to analyze user behavior and device usage to generate optimization suggestions. Specific steps include:

[0040] User data, device data, and scenario data are stored in NoSQL databases or relational databases.

[0041] Use MapReduce or Spark framework to analyze big data and extract user behavior patterns and device usage patterns.

[0042] Based on the analysis results, intelligent optimization suggestions are generated, such as energy-saving solutions or automated scenario optimization.

[0043] Security and privacy protection: Encryption technology is used to ensure the security of data transmission. User data and device information are encrypted when stored on cloud servers. Regular security audits are conducted to ensure the security and stability of the system. Specific steps include:

[0044] Data transmission is encrypted using TLS / SSL protocol to ensure the security of data during transmission.

[0045] User data and device information are encrypted using the AES algorithm when stored in the cloud.

[0046] Regularly use vulnerability scanning tools and penetration testing tools to conduct security audits to discover and fix system vulnerabilities.

[0047] User authentication uses a two-factor authentication algorithm, and password encryption uses a hash algorithm for storage, specifically including:

[0048] When users log in, in addition to entering their password, they are also required to perform secondary verification via SMS or APP verification code.

[0049] Passwords are encrypted and stored using the SHA-256 hash algorithm.

[0050] Device discovery uses mDNS or UPnP protocols, and device configuration uses DHCP to assign IP addresses, including:

[0051] Automatically scan and discover smart devices within the local area network through mDNS or UPnP protocols.

[0052] After the device is discovered, the DHCP protocol is used to automatically assign an IP address to ensure the unique identification of the device in the network.

[0053] The time trigger condition uses a timing scheduling algorithm based on CRON expressions. The geographic location trigger condition uses the Geo-fencing algorithm to determine the user's location through GPS positioning. The status trigger condition is implemented through the device status detection algorithm, which includes:

[0054] Time trigger condition: The user enters a CRON expression in the application. For example, "0 18***" means the trigger is at 18:00 every day.

[0055] Geo-fencing trigger conditions: Set a geo-fencing area and trigger it when the user's GPS location enters or leaves the area.

[0056] Status trigger conditions: Through the device status detection algorithm, the real-time status changes of the device are monitored, such as triggering an alarm when the temperature sensor exceeds the set temperature.

[0057] The wireless communication protocol uses the corresponding standard protocol stack, and the data transmission adopts the HTTP / HTTPS protocol. TLS encryption is used to ensure data transmission security, including:

[0058] Wireless communication protocols such as Zigbee or Z-Wave ensure reliable communication between devices.

[0059] Data transmission adopts HTTP / HTTPS protocol and uses TLS to encrypt data transmission to ensure the security of data during transmission.

[0060] The event triggering algorithm is based on an event-driven model. The system listens for events and triggers corresponding actions. The state detection algorithm uses a state machine model to monitor device state changes. Specifically, it includes:

[0061] Event-driven model: The system monitors predefined events (such as device status changes, scheduled task triggering, etc.) and performs corresponding actions based on the event type.

[0062] State machine model: Use a state machine to monitor device state changes, such as the on / off status of a light, the temperature setting of a thermostat, etc.

[0063] The status monitoring algorithm uses polling or event-driven mechanisms to obtain device status, and the data synchronization algorithm uses long polling or WebSocket to achieve real-time data synchronization. Specifically, it includes:

[0064] Status monitoring algorithm: The system regularly polls the device status, or obtains device status changes in real time through an event-driven mechanism.

[0065] Data synchronization algorithm: Use long polling or WebSocket technology to achieve real-time data synchronization between device status and cloud server.

[0066] Data storage uses NoSQL database or relational database, big data analysis uses MapReduce or Spark framework, artificial intelligence algorithm

[0067] Use machine learning and deep learning models, including:

[0068] Data storage: Choose a NoSQL database or a relational database based on the data type and requirements.

[0069] Big data analysis: Use MapReduce or Spark framework to analyze and process massive amounts of data to extract valuable information.

[0070] Artificial intelligence algorithms: Use machine learning and deep learning models to model and analyze user behavior and device data to provide intelligent recommendations.

[0071] The data transmission encryption algorithm uses TLS / SSL, the data storage encryption algorithm uses AES, and the security audit uses vulnerability scanning tools and penetration testing tools, including:

[0072] Data transmission: Use TLS / SSL protocol to encrypt data transmission to ensure the confidentiality and integrity of data during transmission.

[0073] Data storage: User data and device information are encrypted and stored using the AES algorithm to ensure data security during storage.

[0074] Security Audit: Regularly use vulnerability scanning tools and penetration testing tools to conduct system security audits to discover and fix potential security vulnerabilities.

[0075] Compared with the prior art, the present invention has the following beneficial effects:

[0076] 1. The user creates a new scene in the app, adds specific device operations, and sets the scene trigger conditions (such as timing, geographic location, or device status). The system saves the scene preset to the cloud database. The specific steps include:

[0077] Select the device you want to add and its operations, such as turning on lights, adjusting the temperature, etc.

[0078] Set trigger conditions: Scheduled triggering uses a scheduled scheduling algorithm based on CRON expressions; geographic location triggering uses a Geo-fencing algorithm to locate the user's location via GPS; and status triggering uses a device status detection algorithm.

[0079] Through these measures, the linkage control of multiple smart devices is achieved, meeting the user's automation needs in specific scenarios and improving the convenience of user experience.

[0080] 2. Data transmission and communication: The home gateway communicates with each smart device through wireless communication protocols (such as Zigbee and Z-Wave). The home gateway and the cloud server synchronize data through HTTP / HTTPS protocols. Users can remotely access and control smart devices at home through the Internet. The specific steps include:

[0081] The home gateway establishes connections with devices through protocols such as Zigbee or Z-Wave.

[0082] The home gateway synchronizes device status and control commands to the cloud server via HTTP / HTTPS protocol, using TLS encryption to ensure data transmission security.

[0083] Users send control commands through APP or PC application, and the commands are transmitted to the home gateway through the cloud server, and then transmitted to the target device by the home gateway.

[0084] This method simplifies the remote control operation process, ensures stability and reliability in different network environments, and improves the user's remote control experience.

[0085] 3. Security and privacy protection: Encryption technology is used to ensure the security of data transmission. User data and device information are encrypted when stored on cloud servers. Regular security audits are conducted to ensure the security and stability of the system. Specific steps include:

[0086] Data transmission is encrypted using TLS / SSL protocol to ensure the security of data during transmission.

[0087] User data and device information are encrypted using the AES algorithm when stored in the cloud.

[0088] Regularly use vulnerability scanning tools and penetration testing tools to conduct security audits to discover and fix system vulnerabilities.

[0089] Through these security measures, the security of data transmission and storage is significantly improved, the protection of user data and privacy is ensured, and users' trust in smart home systems is enhanced. DETAILED DESCRIPTION

[0090] In order to make the technical means, creative features, objectives and effects achieved by the present invention easier to understand, the present invention is further described below in conjunction with specific implementation methods.

[0091] In the description of the present invention, it should be noted that the terms "upper," "lower," "inner," "outer," "front end," "rear end," "both ends," "one end," "the other end," and the like, indicating orientations or positional relationships, are merely illustrative and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and are therefore not to be construed as limitations on the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

[0092] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "installed," "provided with," "connected," etc., should be understood in a broad sense. For example, "connected" may refer to a fixed connection, a detachable connection, or an integral connection; it may refer to a mechanical connection or an electrical connection; it may refer to a direct connection or an indirect connection through an intermediate medium; it may refer to internal communication between two components. Those skilled in the art will be able to understand the specific meanings of the above terms in the present invention in specific circumstances.

[0093] Example

[0094] The present invention provides a technical solution:

[0095] A scene-automated preset smart home remote control method and application, the method comprising the following steps:

[0096] User initialization settings: Users install and start the smart home control application on their mobile phone or PC, create an account and log in. Users use the application to bind various smart devices to the home gateway. The specific steps include:

[0097] Install the app and launch it.

[0098] Create a user account using your email or mobile number.

[0099] After logging in, enter the device binding page and scan the QR code on the device or manually enter the device ID to bind.

[0100] After the binding is completed, users can name and group the devices.

[0101] Device registration and configuration: The system automatically scans and identifies smart devices in the home network. Users manually add devices that are not automatically identified, enter device information, and configure them. The specific steps include:

[0102] The system starts the mDNS or UPnP protocol to automatically scan the smart devices in the local area network.

[0103] For devices that are not automatically identified, users can manually enter the device's MAC address or serial number.

[0104] Users perform initial configuration based on the device type, such as setting brightness and color options for lights and temperature ranges for thermostats.

[0105] After the configuration is complete, the device will automatically obtain an IP address through the DHCP protocol.

[0106] Scene Presets: Users create new scenes in the app, add specific device operations, and set scene trigger conditions, such as timing, geographic location, or device status. The system saves the scene presets to the cloud database. The specific steps include:

[0107] Go to the scene management page and click Create New Scene.

[0108] Select the device you want to add and its actions, such as turning on lights, adjusting the temperature, etc.

[0109] Set trigger conditions, including:

[0110] Scheduled trigger: Uses a scheduled scheduling algorithm based on CRON expressions. For example, "0 7***" means triggering at 7:00 am every day.

[0111] Geographic location trigger: Use the Geo-fencing algorithm to locate the user's location via GPS and set the trigger when entering or leaving a specific area.

[0112] State trigger: Through the device state detection algorithm, it is triggered when the device state changes and meets the conditions, such as triggering an alarm when the door lock is unlocked.

[0113] Save scene presets to the cloud database for subsequent use.

[0114] Data transmission and communication: The home gateway communicates with each smart device through wireless communication protocols. The home gateway and cloud server synchronize data through HTTP / HTTPS protocols. Users remotely access and control smart devices in their homes through the Internet. The specific steps include:

[0115] The home gateway establishes connections with devices through protocols such as Zigbee or Z-Wave.

[0116] The home gateway synchronizes device status and control commands to the cloud server via HTTP / HTTPS protocol, using TLS encryption to ensure data transmission security.

[0117] Users send control commands through APP or PC application, and the commands are transmitted to the home gateway through the cloud server, and then transmitted to the target device by the home gateway.

[0118] Scene triggering and execution: The system monitors the scene triggering conditions set by the user in real time. When the conditions are met, the home gateway sends a control instruction to the corresponding smart device. After receiving the instruction, the smart device executes the corresponding operation. The specific steps include:

[0119] The home gateway continuously monitors timing, geographic location, and status trigger conditions.

[0120] When the trigger conditions are met, such as reaching a set time, a user entering a specific geographical area, or a device status change, the home gateway generates a control instruction.

[0121] Control instructions are sent to the corresponding device through wireless communication protocols. After receiving the instructions, the device performs preset operations, such as turning on lights or adjusting the temperature.

[0122] Status monitoring and feedback: Smart devices provide real-time status information to the home gateway, which then synchronizes the device status information to the cloud server. Users can use the app to view device status in real time and make adjustments and controls. Specific steps include:

[0123] Devices periodically report status information to the home gateway through polling or event-driven mechanisms.

[0124] The home gateway collects status information and synchronizes it to the cloud server via HTTP / HTTPS protocol.

[0125] Users can view real-time device status in the app and make necessary adjustments and controls.

[0126] Data storage and analysis: Cloud servers store user data, device data, scenario data, etc., and use big data analysis technology to analyze user behavior and device usage to generate optimization suggestions. Specific steps include:

[0127] User data, device data, and scenario data are stored in NoSQL databases or relational databases.

[0128] Use MapReduce or Spark framework to analyze big data and extract user behavior patterns and device usage patterns.

[0129] Based on the analysis results, intelligent optimization suggestions are generated, such as energy-saving solutions or automated scenario optimization.

[0130] Security and privacy protection: Encryption technology is used to ensure the security of data transmission. User data and device information are encrypted when stored on cloud servers. Regular security audits are conducted to ensure the security and stability of the system. Specific steps include:

[0131] Data transmission is encrypted using TLS / SSL protocol to ensure the security of data during transmission.

[0132] User data and device information are encrypted using the AES algorithm when stored in the cloud.

[0133] Regularly use vulnerability scanning tools and penetration testing tools to conduct security audits to discover and fix system vulnerabilities.

[0134] User authentication uses a two-factor authentication algorithm, and password encryption uses a hash algorithm for storage, specifically including:

[0135] When users log in, in addition to entering their password, they are also required to perform secondary verification via SMS or APP verification code.

[0136] Passwords are encrypted and stored using the SHA-256 hash algorithm.

[0137] Device discovery uses mDNS or UPnP protocols, and device configuration uses DHCP to assign IP addresses, including:

[0138] Automatically scan and discover smart devices within the local area network through mDNS or UPnP protocols.

[0139] After the device is discovered, the DHCP protocol is used to automatically assign an IP address to ensure the unique identification of the device in the network.

[0140] The time trigger condition uses a timing scheduling algorithm based on CRON expressions. The geographic location trigger condition uses the Geo-fencing algorithm to determine the user's location through GPS positioning. The status trigger condition is implemented through the device status detection algorithm, which includes:

[0141] Time trigger condition: The user enters a CRON expression in the application. For example, "0 18***" means the trigger is at 18:00 every day.

[0142] Geo-fencing trigger conditions: Set a geo-fencing area and trigger it when the user's GPS location enters or leaves the area.

[0143] Status trigger conditions: Through the device status detection algorithm, the real-time status changes of the device are monitored, such as triggering an alarm when the temperature sensor exceeds the set temperature.

[0144] The wireless communication protocol uses the corresponding standard protocol stack, and the data transmission adopts the HTTP / HTTPS protocol. TLS encryption is used to ensure data transmission security, including:

[0145] Wireless communication protocols such as Zigbee or Z-Wave ensure reliable communication between devices.

[0146] Data transmission adopts HTTP / HTTPS protocol and uses TLS to encrypt data transmission to ensure the security of data during transmission.

[0147] The event triggering algorithm is based on an event-driven model. The system listens for events and triggers corresponding actions. The state detection algorithm uses a state machine model to monitor device state changes. Specifically, it includes:

[0148] Event-driven model: The system monitors predefined events (such as device status changes, scheduled task triggering, etc.) and performs corresponding actions based on the event type.

[0149] State machine model: Use a state machine to monitor device state changes, such as the on / off status of a light, the temperature setting of a thermostat, etc.

[0150] The status monitoring algorithm uses polling or event-driven mechanisms to obtain device status, and the data synchronization algorithm uses long polling or WebSocket to achieve real-time data synchronization. Specifically, it includes:

[0151] Status monitoring algorithm: The system regularly polls the device status, or obtains device status changes in real time through an event-driven mechanism.

[0152] Data synchronization algorithm: Use long polling or WebSocket technology to achieve real-time data synchronization between device status and cloud server.

[0153] Data storage uses NoSQL database or relational database, big data analysis uses MapReduce or Spark framework, artificial intelligence algorithm

[0154] Use machine learning and deep learning models, including:

[0155] Data storage: Choose a NoSQL database or a relational database based on the data type and requirements.

[0156] Big data analysis: Use MapReduce or Spark framework to analyze and process massive amounts of data to extract valuable information.

[0157] Artificial intelligence algorithms: Use machine learning and deep learning models to model and analyze user behavior and device data to provide intelligent recommendations.

[0158] The data transmission encryption algorithm uses TLS / SSL, the data storage encryption algorithm uses AES, and the security audit uses vulnerability scanning tools and penetration testing tools, including:

[0159] Data transmission: Use TLS / SSL protocol to encrypt data transmission to ensure the confidentiality and integrity of data during transmission.

[0160] Data storage: User data and device information are encrypted and stored using the AES algorithm to ensure data security during storage.

[0161] Security Audit: Regularly use vulnerability scanning tools and penetration testing tools to conduct system security audits to discover and fix potential security vulnerabilities.

[0162] The specific implementation methods of each step of the present invention are:

[0163] User initialization settings: Users install and start the smart home control application on their mobile phone or PC, create an account and log in. Users use the application to bind various smart devices to the home gateway. The specific steps include:

[0164] 1. Install the app and launch it.

[0165] 2. Create a user account via email or mobile phone number.

[0166] 3. After logging in, enter the device binding page and scan the QR code on the device or manually enter the device ID to bind.

[0167] 4. After binding is completed, the user names and groups the devices.

[0168] Two-factor authentication algorithm: User authentication uses a two-factor authentication (2FA) algorithm. When logging in, users enter their password and receive a second verification code via SMS or APP.

[0169] Hash algorithm: Passwords are encrypted and stored using the SHA-256 hash algorithm to ensure the security of user passwords.

[0170] Device registration and configuration: The system automatically scans and identifies smart devices in the home network. Users manually add devices that are not automatically identified, enter device information, and configure them. The specific steps include:

[0171] 1. The system starts the mDNS or UPnP protocol to automatically scan the smart devices in the local area network.

[0172] 2. For devices that are not automatically identified, the user manually enters the device's MAC address or serial number.

[0173] 3. The user performs initial configuration based on the device type, including setting brightness and color options for lamps and temperature ranges for thermostats.

[0174] 4. After the configuration is completed, the device automatically obtains an IP address through the DHCP protocol.

[0175] Algorithm Implementation: Device discovery uses mDNS or UPnP protocols to automatically scan and discover smart devices on the local area network. Once configured, the device automatically assigns an IP address using DHCP, ensuring unique identification within the network.

[0176] Scene Presets: Users create new scenes in the app, add specific device operations, and set scene trigger conditions, including timing, geographic location, or device status. The system saves the scene presets to the cloud database. The specific steps include:

[0177] 1. Enter the scene management page and click Create New Scene.

[0178] 2. Select the device you want to add and its operations, including turning on lights, adjusting the temperature, etc.

[0179] 3. Set the trigger conditions, including:

[0180] Scheduled trigger: Uses a scheduled scheduling algorithm based on CRON expressions. For example, "0 7***" means triggering at 7:00 am every day.

[0181] Geographic location trigger: Use the Geo-fencing algorithm to locate the user's location via GPS and set the trigger when entering or leaving a specific area.

[0182] State trigger: Through the device state detection algorithm, it is triggered when the device state changes and meets the conditions, such as triggering an alarm when the door lock is unlocked.

[0183] 4. Save scene presets to the cloud database.

[0184] Algorithm implementation: Timing scheduling algorithm: A timing scheduling algorithm based on CRON expressions, used to trigger scene operations at regular intervals.

[0185] Geo-fencing algorithm: Use GPS to locate the user's location and set scene actions to trigger when entering or leaving a specific area.

[0186] Device status detection algorithm: monitors device status changes in real time and triggers scenario actions when specific conditions are met.

[0187] Data transmission and communication: The home gateway communicates with each smart device through wireless communication protocols (such as Zigbee, Z-Wave, and Wi-Fi). The home gateway synchronizes data with the cloud server using HTTP / HTTPS protocols. Users can remotely access and control smart devices in their homes through the Internet. The specific steps include:

[0188] 1. The home gateway establishes a connection with the device through protocols such as Zigbee or Z-Wave.

[0189] 2. The home gateway synchronizes device status and control commands to the cloud server via HTTP / HTTPS protocol, using TLS encryption to ensure data transmission security.

[0190] 3. The user sends control instructions through the APP or PC application. The instructions are transmitted to the home gateway through the cloud server, and then transmitted to the target device by the home gateway.

[0191] Algorithm implementation:

[0192] Wireless communication protocols: Use standard protocol stacks such as Zigbee and Z-Wave to ensure reliable communication between devices.

[0193] HTTP / HTTPS protocol: Data transmission adopts HTTP / HTTPS protocol and uses TLS to encrypt data transmission to ensure the security of data during transmission.

[0194] Scene triggering and execution: The system monitors the scene triggering conditions set by the user in real time. When the conditions are met, the home gateway sends a control instruction to the corresponding smart device. After receiving the instruction, the smart device executes the corresponding operation. The specific steps include:

[0195] 1. The home gateway continuously monitors timing, geographic location, and status trigger conditions.

[0196] 2. When the trigger conditions are met, such as reaching a set time, a user entering a specific geographical area, or a change in the device status, the home gateway generates a control instruction.

[0197] 3. The control command is sent to the corresponding device through the wireless communication protocol. After receiving the command, the device performs the preset operation, such as turning on the light or adjusting the temperature.

[0198] Algorithm implementation:

[0199] Event-driven model: The system monitors predefined events (such as device status changes, scheduled task triggering, etc.) and performs corresponding actions based on the event type.

[0200] State machine model: Use the state machine to monitor device state changes, including the on / off status of lights, the temperature setting of thermostats, etc.

[0201] Status monitoring and feedback: Smart devices provide real-time status information to the home gateway, which then synchronizes the device status information to the cloud server. Users can view device status in real time through the app and make adjustments and controls. Specific steps include:

[0202] 1. The device periodically reports status information to the home gateway through polling or event-driven mechanisms.

[0203] 2. The home gateway collects status information and synchronizes it to the cloud server via HTTP / HTTPS protocol.

[0204] 3. Users can view real-time device status in the app and make adjustments and controls.

[0205] Algorithm implementation:

[0206] Polling mechanism: The system regularly polls the device status to obtain the latest status information of the device.

[0207] Event-driven mechanism: When the device status changes, the status information is immediately reported to the home gateway.

[0208] Long polling or WebSocket: Use long polling or WebSocket technology to synchronize device status with cloud servers in real time.

[0209] Data storage and analysis: Cloud servers store user data, device data, scenario data, etc., and use big data analysis technology to analyze user behavior and device usage to generate optimization suggestions. Specific steps include:

[0210] 1. User data, device data, and scenario data are stored in NoSQL databases (such as MongoDB) or relational databases (such as MySQL).

[0211] 2. Use MapReduce or Spark framework to analyze big data and extract user behavior patterns and device usage patterns.

[0212] 3. Based on the analysis results, generate intelligent optimization suggestions and recommend energy-saving solutions or automated scenario optimization.

[0213] Algorithm implementation:

[0214] Data storage: Choose a NoSQL database (such as MongoDB) or a relational database (such as MySQL) based on the data type and requirements.

[0215] Big data analysis: Use MapReduce or Spark framework to analyze and process massive amounts of data to extract valuable information.

[0216] Artificial intelligence algorithms: Use machine learning (such as regression and classification algorithms) and deep learning models (such as neural networks) to model and analyze user behavior and device data to provide intelligent recommendations.

[0217] Security and privacy protection: Encryption technology is used to ensure the security of data transmission. User data and device information are encrypted when stored on cloud servers. Regular security audits are conducted to ensure the security and stability of the system. Specific steps include:

[0218] 1. Data transmission is encrypted using TLS / SSL protocol to ensure the security of data during transmission.

[0219] 2. User data and device information are encrypted using the AES algorithm when stored in the cloud.

[0220] 3. Regularly use vulnerability scanning tools (such as Nessus) and penetration testing tools (such as Metasploit) to conduct security audits to discover and fix system vulnerabilities.

[0221] Algorithm implementation:

[0222] Data transmission encryption: Use TLS / SSL protocol to encrypt data transmission to ensure the confidentiality and integrity of data during transmission.

[0223] Data storage encryption: Use the AES algorithm to encrypt and store user data and device information to ensure the security of data during storage.

[0224] Security Audit: Regularly use vulnerability scanning tools (such as Nessus) and penetration testing tools (such as Metasploit) to perform system security audits to discover and fix potential security vulnerabilities.

[0225] Through the application of the above algorithms and technologies, the present invention realizes a scene-automated preset smart home remote control method and application, which effectively solves the problems of intelligent scene automation, remote control convenience, data security and privacy protection in the existing system, and provides a more intelligent, secure and convenient smart home solution.

[0226] The basic principles, main features, and advantages of the present invention are shown and described above. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely illustrative of the principles of the present invention. Various changes and modifications may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and modifications are intended to fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.

Claims

1. A scene-automated preset smart home remote control method and application, characterized in that: The method comprises the following steps: User initialization settings: Users install and start the smart home control application on the mobile phone APP or PC, create an account and log in. Users bind various smart devices to the home gateway through the application. The specific steps include: Install the app and launch it; Create a user account via email or mobile phone number; After logging in, enter the device binding page and scan the QR code on the device or manually enter the device ID to bind; After binding is completed, users can name and group devices; Device registration and configuration: The system automatically scans and identifies smart devices in the home network. Users manually add devices that are not automatically identified, enter device information and configure them. The specific steps include: The system starts the mDNS or UPnP protocol to automatically scan the smart devices in the LAN. For devices that are not automatically identified, users can manually enter the device's MAC address or serial number; Users make initial configurations based on device type, such as setting brightness and color options for lamps and temperature ranges for thermostats; After the configuration is complete, the device will automatically obtain an IP address through the DHCP protocol; Scene presets: Users create new scenes in the app, add specific device operations, and set scene trigger conditions, such as timing, geographic location, or device status. The system saves scene presets to the cloud database. The specific steps include: Enter the scene management page and click to create a new scene; Select the device you want to add and its operation, such as turning on the light, adjusting the temperature, etc. Set the trigger conditions, including: Scheduled trigger: Use the scheduled scheduling algorithm based on CRON expressions. For example, "0, 7, *, *, *" means triggering at 7:00 a.m. every day. Geographic location trigger: Use Geo-fencing algorithm to locate the user's location through GPS, and set the trigger when entering or leaving a specific area; State trigger: through the device state detection algorithm, the device state changes and meets the conditions, for example, the alarm is triggered when the door lock is unlocked; Save scene presets to the cloud database for subsequent use; Data transmission and communication: The home gateway communicates with each smart device through wireless communication protocols. The home gateway and the cloud server synchronize data through HTTP / HTTPS protocols. Users remotely access and control smart devices at home through the Internet. The specific steps include: The home gateway establishes a connection with the device through protocols such as Zigbee or Z-Wave; The home gateway synchronizes device status and control commands to the cloud server via HTTP / HTTPS protocol, using TLS encryption to ensure data transmission security; The user sends control commands through the APP or PC application, and the commands are transmitted to the home gateway through the cloud server, and then transmitted to the target device by the home gateway; Scene triggering and execution: The system monitors the scene triggering conditions set by the user in real time. When the conditions are met, the home gateway sends control instructions to the corresponding smart devices. After receiving the instructions, the smart devices perform the corresponding operations. The specific steps include: The home gateway continuously monitors timing, geographic location, and status trigger conditions; When a trigger condition is met, such as reaching a set time, a user entering a specific geographic area, or a device status change, the home gateway generates a control command; The control command is sent to the corresponding device through the wireless communication protocol. After receiving the command, the device performs the preset operation, such as turning on the light or adjusting the temperature; Status monitoring and feedback: Smart devices feed back status information to the home gateway in real time, and the home gateway synchronizes the device status information to the cloud server. Users can view the device status in real time through the application and make adjustments and controls. The specific steps include: The device periodically reports status information to the home gateway through polling or event-driven mechanisms; The home gateway collects status information and synchronizes it to the cloud server via HTTP / HTTPS protocol; Users can view real-time device status in the app and make necessary adjustments and controls; Data storage and analysis: Cloud servers store user data, device data, scenario data, etc., and use big data analysis technology to analyze user behavior and device usage to generate optimization suggestions. The specific steps include: User data, device data, and scenario data are stored in NoSQL databases or relational databases; Use MapReduce or Spark framework to analyze big data and extract user behavior patterns and device usage rules; Generate intelligent optimization suggestions based on the analysis results, such as recommending energy-saving solutions or automated scenario optimization; Security and privacy protection: Encryption technology is used to ensure the security of data transmission. User data and device information are encrypted when stored on cloud servers. Regular security audits are performed to ensure the security and stability of the system. Specific steps include: Data transmission is encrypted using TLS / SSL protocol to ensure data security during transmission; User data and device information are encrypted using the AES algorithm when stored in the cloud; Regularly use vulnerability scanning tools and penetration testing tools to conduct security audits to discover and fix system vulnerabilities.

2. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: User authentication uses a two-factor authentication algorithm, and password encryption uses a hash algorithm for storage, including: When users log in, in addition to entering their password, they also need to perform secondary verification via SMS or APP verification code; Passwords are encrypted and stored using the SHA-256 hash algorithm.

3. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: Device discovery uses mDNS or UPnP protocol, and device configuration uses DHCP to assign IP addresses, including: Automatically scan and discover smart devices in the LAN through mDNS or UPnP protocol; After the device is discovered, the DHCP protocol is used to automatically assign an IP address to ensure the unique identification of the device in the network.

4. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: The time trigger condition uses a timing scheduling algorithm based on CRON expressions. The geographic location trigger condition uses the Geo-fencing algorithm to determine the user's location through GPS positioning. The status trigger condition is implemented through the device status detection algorithm, which includes: Time trigger condition: The user enters a CRON expression in the application, such as "0 18***" which means it is triggered at 18:00 every day; Geo-fencing trigger conditions: Set a Geo-fencing area and trigger when the user's GPS location enters or leaves the area; Status trigger conditions: Through the device status detection algorithm, the real-time status changes of the device are monitored, such as triggering an alarm when the temperature sensor exceeds the set temperature.

5. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: The wireless communication protocol uses the corresponding standard protocol stack, the data transmission uses the HTTP / HTTPS protocol, and TLS encryption is used to ensure data transmission security, including: Wireless communication protocols such as Zigbee or Z-Wave ensure reliable communication between devices; Data transmission uses HTTP / HTTPS protocol and TLS encryption to ensure the security of data during transmission.

6. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: The event triggering algorithm is based on the event-driven model. The system monitors events and triggers corresponding actions. The state detection algorithm uses the state machine model to monitor device state changes, including: Event-driven model: The system listens to predefined events and performs corresponding actions based on the event type; State machine model: Use the state machine to monitor device state changes, such as the on / off state of a light, the temperature setting of a thermostat, etc.

7. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: The status monitoring algorithm uses polling or event-driven mechanisms to obtain device status, and the data synchronization algorithm uses long polling or WebSocket to achieve real-time data synchronization, including: Status monitoring algorithm: The system periodically polls the device status, or obtains device status changes in real time through an event-driven mechanism; Data synchronization algorithm: Use long polling or WebSocket technology to achieve real-time data synchronization between device status and cloud server.

8. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: Data storage uses NoSQL databases or relational databases, big data analysis uses MapReduce or Spark frameworks, and artificial intelligence algorithms use machine learning and deep learning models, including: Data storage: Choose NoSQL database or relational database to store data according to data type and requirements; Big data analysis: Use MapReduce or Spark framework to analyze and process massive data to extract valuable information; Artificial intelligence algorithm: Use machine learning and deep learning models to model and analyze user behavior and device data to provide intelligent recommendations.

9. A scene-automated preset smart home remote control method and application according to claim 1, characterized in that: The data transmission encryption algorithm uses TLS / SSL, the data storage encryption algorithm uses AES, and the security audit uses vulnerability scanning tools and penetration testing tools, including: Data transmission: Use TLS / SSL protocol to encrypt data transmission to ensure the confidentiality and integrity of data during transmission; Data storage: Use the AES algorithm to encrypt and store user data and device information to ensure the security of data during storage; Security Audit: Regularly use vulnerability scanning tools and penetration testing tools to conduct system security audits to discover and fix potential security vulnerabilities.