Network control method, device and equipment of smart home system, medium and product

By equipping a robotic vacuum cleaner with a multi-mode fusion gateway, real-time detection and gateway services are provided, solving the network connectivity problem of the smart home system during power outages or network interruptions, ensuring the normal operation of critical equipment, and improving the system's reliability.

CN121967100APending Publication Date: 2026-05-01QINGDAO TAPER ROBOTICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QINGDAO TAPER ROBOTICS CO LTD
Filing Date
2024-10-21
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing smart home systems cannot provide network services to smart devices when there is a sudden power outage or broadband outage at home, causing the devices to malfunction and affecting system reliability.

Method used

The robot vacuum cleaner is equipped with a multi-mode fusion gateway that supports 5G and WIFI modes. It can detect the system's power supply and network status in real time, and move to the vicinity of critical equipment to provide gateway services in the event of power failure or network outage, ensuring network connectivity.

Benefits of technology

In the event of a sudden power outage or broadband disconnection, the robotic vacuum cleaner can still provide network services for critical smart devices, ensuring the remote service function of smart devices and improving the reliability of the smart home system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121967100A_ABST
    Figure CN121967100A_ABST
Patent Text Reader

Abstract

The invention provides a network control method, device and equipment of a smart home system, a medium and a product, the smart home system comprises a sweeping robot and a plurality of intelligent devices, and the sweeping robot carries a multi-mode fusion gateway; the method comprises the following steps: establishing a connection relationship between the sweeping robot and a plurality of intelligent devices; the network mode of the sweeping robot is set to be a 5G mode, so that the sweeping robot is accessed to a public network; acquiring a power supply state of the smart home system detected by the sweeping robot and a network state of each smart device; and if the smart home system is powered off or the home broadband is disconnected from the network, determining a key smart device from the plurality of smart devices, and controlling the sweeping robot to move to the vicinity of the key smart device to provide a gateway service for the key smart device. According to the scheme provided by the invention, network service can still be provided for the intelligent equipment in case of sudden power failure or network disconnection of a household broadband, so that the remote service function of the intelligent equipment is ensured, and the reliability of the intelligent home is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart home control technology, and in particular to a network control method, device, equipment, medium and product for a smart home system. Background Technology

[0002] With the advancement of technology, smart home systems are being used more and more widely. Currently, in smart home scenarios, various environmental monitoring sensors, security monitoring systems, and smart appliances all need to rely on gateways to achieve network communication, monitor the working status of devices in real time, and control them.

[0003] Existing gateways typically use wired or Wi-Fi connections to connect to home routers to provide network services for smart devices. These gateways are installed in fixed locations and cannot be moved. They are powered via wired connections and can only provide services to smart devices within a few meters.

[0004] Therefore, it can be seen that existing gateways usually rely on home broadband for network access and are powered by wired connections. When there is a sudden power outage or home broadband is interrupted, they cannot provide network services for smart devices. Summary of the Invention

[0005] This invention provides a network control method, device, equipment, medium, and product for a smart home system, which solves the defect in the prior art that it cannot provide network services to smart devices when there is a sudden power outage or broadband outage at home. It enables network services to be provided to smart devices even when there is a sudden power outage or broadband outage, ensuring the remote service function of smart devices and improving the reliability of smart homes.

[0006] This invention provides a network control method for a smart home system, the smart home system including a robotic vacuum cleaner and multiple smart devices, the robotic vacuum cleaner being equipped with a multi-mode fusion gateway; the method includes: establishing a connection relationship between the robotic vacuum cleaner and the multiple smart devices; setting the network mode of the robotic vacuum cleaner to 5G mode to enable the robotic vacuum cleaner to access the public network; acquiring the power supply status of the smart home system and the network status of each smart device detected by the robotic vacuum cleaner; if the smart home system experiences a power outage or the home broadband network is disconnected, identifying a key smart device from the multiple smart devices and controlling the robotic vacuum cleaner to move to the vicinity of the key smart device to provide gateway services for the key smart device.

[0007] According to a network control method for a smart home system provided by the present invention, the step of establishing a connection relationship between a robotic vacuum cleaner and multiple smart devices includes: after a user successfully connects to the robotic vacuum cleaner, controlling the robotic vacuum cleaner to create a home map; obtaining the connection information required for each smart device to be connected based on the user's markings on the home map, wherein the connection information required for each smart device to be connected includes: the name of the smart device to be connected, the location of the smart device to be connected, and the connection type of the smart device to be connected; controlling the robotic vacuum cleaner to move to the vicinity of the current smart device to be connected, scanning and attempting to connect to the current smart device to be connected; determining whether the robotic vacuum cleaner and the current smart device to be connected are successfully connected; if the connection is successful, saving the device information of the current smart device to be connected; otherwise, scanning and attempting to connect to the current smart device to be connected again; determining whether the robotic vacuum cleaner and the current smart device to be connected are successfully connected, if the connection is successful, saving the device information of the current smart device to be connected; otherwise, outputting an error message; determining whether there are still smart devices to be connected, if there are, returning to the step of controlling the robotic vacuum cleaner to move to the vicinity of the current smart device to be connected and scanning and attempting to connect to the current smart device to be connected, otherwise outputting a connection completion message.

[0008] According to a network control method for a smart home system provided by the present invention, after obtaining the power supply status of the smart home system and the network status of each smart device detected by the robotic vacuum cleaner, the method further includes: displaying the power supply status of the smart home system and the network status of each smart device on a home map so that the user can view the power supply status of the smart home system and the network status of each smart device in real time; receiving a gateway service instruction; wherein the gateway service instruction is issued after the user views the power supply status of the smart home system and the network status of each smart device, and the gateway service instruction includes device information of the target smart device, including the name of the target smart device, the location of the target smart device, and the connection type of the target smart device; controlling the robotic vacuum cleaner to move to the vicinity of the target smart device according to the gateway service instruction, and providing gateway services to the target smart device.

[0009] According to a network control method for a smart home system provided by the present invention, the step of determining key smart devices from a plurality of smart devices includes: determining key smart devices based on received user instructions or preset instructions; wherein the user instructions and the preset instructions include the device name of the key smart device.

[0010] According to a network control method for a smart home system provided by the present invention, the multi-mode fusion gateway includes: a 5G module, a Bluetooth module, a WiFi module, and a ZigBee module; the multiple smart devices include Bluetooth smart devices, WiFi smart devices, and ZigBee smart devices; establishing the connection relationship between the robot vacuum cleaner and the multiple smart devices includes: establishing the connection relationship between the Bluetooth smart device and the Bluetooth module; establishing the connection relationship between the WiFi smart device and the WiFi module; and establishing the connection relationship between the ZigBee smart device and the ZigBee module.

[0011] According to a network control method for a smart home system provided by the present invention, setting the network mode of the robotic vacuum cleaner to 5G mode includes: if the robotic vacuum cleaner receives a mode switching command and / or detects a home broadband outage, then setting the network mode of the robotic vacuum cleaner to 5G mode; otherwise, setting the network mode of the robotic vacuum cleaner to WIFI mode.

[0012] This invention also provides a network control device for a smart home system. The smart home system includes a robotic vacuum cleaner and multiple smart devices. The robotic vacuum cleaner is equipped with a multi-mode fusion gateway. The device includes the following modules: a connection control module for establishing a connection between the robotic vacuum cleaner and the multiple smart devices; a mode setting module for setting the network mode of the robotic vacuum cleaner to 5G mode so that the robotic vacuum cleaner can access the public network; an acquisition module for acquiring the power supply status of the smart home system and the network status of each smart device detected by the robotic vacuum cleaner; and a processing module for identifying key smart devices from the multiple smart devices and controlling the robotic vacuum cleaner to move to the vicinity of the key smart device if the smart home system loses power or the home broadband network is disconnected, thereby providing gateway services to the key smart device.

[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a network control method for any of the smart home systems described above.

[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the network control method of the smart home system as described above.

[0015] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements a network control method for any of the smart home systems described above.

[0016] The network control method, device, equipment, medium, and product for the smart home system provided by this invention include a robotic vacuum cleaner equipped with a multi-mode fusion gateway. The robotic vacuum cleaner supports both 5G and Wi-Fi modes. Setting the robotic vacuum cleaner's network mode to 5G allows it to connect to the public network, ensuring network stability even when the home broadband connection is down. Furthermore, the robotic vacuum cleaner has a built-in battery, ensuring normal operation during power outages. In the event of a power outage or home broadband disconnection, the robotic vacuum cleaner provides gateway services to critical smart devices. Therefore, the solution of this invention provides network services to smart devices even during sudden power outages or home broadband disconnections, ensuring the remote service functionality of smart devices and improving the reliability of the smart home system. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0018] Figure 1 This is one of the flowcharts illustrating the network control method for the smart home system provided by the present invention.

[0019] Figure 2 This is a schematic diagram of the network communication principle of the smart home system under 5G mode provided by the present invention.

[0020] Figure 3 This is a schematic diagram of the network communication principle of the smart home system in WiFi mode provided by the present invention.

[0021] Figure 4 This is the second flowchart illustrating the network control method for the smart home system provided by this invention.

[0022] Figure 5 This is a schematic diagram of the network control device for the smart home system provided by the present invention.

[0023] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0025] The technical solution of this application and how it solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The following is a combination of... Figures 1-4 The present invention describes a network control method for a smart home system.

[0026] In practical applications, the main body executing the network control method of a smart home system can be the network control device of the smart home system. There are various ways to implement the network control device of a smart home system. For example, it can be implemented through computer programs, such as application software; or, for example, chips. It can also be implemented as a medium storing relevant computer programs, such as a USB flash drive or cloud storage; or, it can be implemented through a physical device that integrates or installs relevant computer programs, such as a server.

[0027] Specifically, the network control method for a smart home system provided by this invention is applied to a smart home system. The smart home system includes a robotic vacuum cleaner and multiple smart devices, and the robotic vacuum cleaner is equipped with a multi-mode fusion gateway.

[0028] Figure 1 This is one of the flowcharts illustrating the network control method for a smart home system provided by the present invention, such as... Figure 1 As shown, the method includes steps 101 to 104.

[0029] Step 101: Establish connections between the robot vacuum cleaner and multiple smart devices.

[0030] In this embodiment, the robotic vacuum cleaner is equipped with a multi-mode fusion gateway, which can support a variety of communication protocols, such as 5G, WiFi, Bluetooth, ZigBee, RFID, IrDA, UWB, LoRa, Near Link, and NB-IoT.

[0031] In one example, the multi-mode fusion gateway includes: a 5G module, a Bluetooth module, a WiFi module, and a ZigBee module; multiple smart devices include Bluetooth smart devices, WiFi smart devices, and ZigBee smart devices; step 101 above includes: establishing a connection relationship between the Bluetooth smart device and the Bluetooth module; establishing a connection relationship between the WiFi smart device and the WiFi module; and establishing a connection relationship between the ZigBee smart device and the ZigBee module.

[0032] It's understandable that a robotic vacuum cleaner equipped with a multi-mode fusion gateway can communicate and exchange data with various types of smart devices. In one example, the robotic vacuum cleaner can provide gateway services to smart devices when the smart home system experiences a power outage or a broadband outage. In another example, users can remotely control the robotic vacuum cleaner via the internet, and indirectly control other smart devices through the robotic vacuum cleaner, achieving remote management of the smart home. In yet another example, controlling the robotic vacuum cleaner can be linked with other smart devices (such as lighting, temperature control, and security systems), automatically performing tasks according to user settings to enhance the living experience.

[0033] In practical applications, before a robotic vacuum cleaner can communicate and exchange data with various types of smart devices, it is necessary to establish connections between the robotic vacuum cleaner and multiple smart devices. This embodiment does not specifically limit the connection process between the robotic vacuum cleaner and multiple smart devices. In one example, the robotic vacuum cleaner identifies and attempts to connect to smart devices sequentially based on their distance. In another example, the robotic vacuum cleaner supports user-defined smart devices to be connected; in response to a connection command issued by the user, the robotic vacuum cleaner scans for and attempts to connect to the desired smart devices.

[0034] Step 102: Set the network mode of the robot vacuum cleaner to 5G mode so that the robot vacuum cleaner can access the public network.

[0035] In this embodiment, the network modes of the robotic vacuum cleaner include 5G mode and WiFi mode. Figure 2 This is a schematic diagram of the network communication principle of the smart home system under 5G mode provided by the present invention. Figure 3 This is a schematic diagram of the network communication principle of the smart home system in WiFi mode provided by the present invention.

[0036] Understandably, setting the robot vacuum cleaner to 5G mode and accessing the public network via 5G technology can reduce reliance on home routers and provide comprehensive network coverage for large-area, complex home environments.

[0037] Combination Figure 2 and Figure 3 When the robot vacuum cleaner operates in 5G mode, the multi-mode fusion gateway connects to the operator's base station via 5G service to establish a connection with the cloud server. When the robot vacuum cleaner operates in WiFi mode, the multi-mode fusion gateway connects to the server via the home router. Simultaneously, the multi-mode fusion gateway can connect to various smart devices with Bluetooth, ZigBee, and WiFi capabilities.

[0038] Understandably, setting the robot vacuum cleaner to 5G mode allows it to connect to the public network, ensuring network stability even when home broadband is down. This enables the robot vacuum cleaner to provide gateway services for smart devices.

[0039] Specifically, in one possible implementation, setting the network mode of the robotic vacuum cleaner to 5G mode in step 102 includes: if the robotic vacuum cleaner receives a mode switching command and / or detects a home broadband outage, then the network mode of the robotic vacuum cleaner is set to 5G mode; otherwise, the network mode of the robotic vacuum cleaner is set to WIFI mode.

[0040] In practical applications, if the robot vacuum cleaner does not receive a mode switching command and detects that the home broadband network is normal, it will maintain the robot vacuum cleaner's network mode in WIFI mode. If the robot vacuum cleaner receives a mode switching command and / or detects a home broadband outage, it will switch the robot vacuum cleaner's network mode to 5G mode.

[0041] Step 103: Obtain the power supply status of the smart home system and the network status of each smart device detected by the robot vacuum cleaner.

[0042] In this embodiment, the robotic vacuum cleaner monitors the power supply status of the smart home system and the network status of each smart device in real time. The invention does not specifically limit the method by which the robotic vacuum cleaner detects the power supply status of the smart home system. In one example, the robotic vacuum cleaner detects whether its charging base is powered off, thereby detecting the power supply status of the smart home system. In another example, sensors on the robotic vacuum cleaner (such as infrared sensors and motion sensors) can detect changes in the surrounding environment. If sensor data related to a device suddenly disappears or becomes abnormal, it may indicate that the smart home system has lost power. In yet another example, the smart devices are connected to a smart socket, and the robotic vacuum cleaner can detect the power supply status of the smart home system through communication with the smart socket.

[0043] In this embodiment, the method by which the robotic vacuum cleaner detects the network status of smart devices is not specifically limited. In one example, the robotic vacuum cleaner detects the device status by periodically sending heartbeat signals or query commands to the smart device. If it fails to receive a response from the smart device several times in a row, it means that the smart device is offline. In another example, the robotic vacuum cleaner detects a malfunction in the home router or gateway, which may mean that the entire network or a specific device is offline. In yet another example, the robotic vacuum cleaner determines that the smart device is offline if it detects that the smart device's network signal is disconnected. In yet another example, some smart devices have status indicator lights or displays, and the robotic vacuum cleaner can detect these indicators using visual sensors to determine the network status of the smart device.

[0044] Step 104: If the smart home system loses power or the home broadband connection is interrupted, the key smart device is identified from among multiple smart devices, and the robot vacuum cleaner is controlled to move to the vicinity of the key smart device to provide gateway services for the key smart device.

[0045] Key smart devices can be those critical to home security, such as security cameras and smoke detectors. In one example, key smart devices can be pre-configured by the user; in the event of a power outage or a broadband outage, the robot vacuum cleaner provides gateway services to these pre-configured devices. In another example, key smart devices are dynamically configured by the user based on actual needs and the current application scenario. It should be noted that the number of key smart devices can be one or more; no specific limit is imposed here.

[0046] As an example, regarding the determination of key intelligent devices, in one possible implementation, step 104 above, which involves determining the key intelligent device from multiple intelligent devices, includes: determining the key intelligent device based on a received user instruction or a preset instruction; the user instruction and the preset instruction include the device name of the key intelligent device. The preset instruction can be a pre-set instruction when the robot vacuum cleaner establishes a connection with multiple intelligent devices. The user instruction is an instruction issued by the user based on the actual situation.

[0047] Based on the above description, the robotic vacuum cleaner monitors the power supply status of the smart home system and the network status of each smart device in real time. In one implementation, when the smart home system loses power or the home broadband connection is down, a notification message is sent to the user. Further, if a preset instruction exists, the robotic vacuum cleaner is controlled to operate according to the preset instruction, which includes key smart devices pre-set by the user. If no preset instruction exists or the preset instruction has been executed, the robotic vacuum cleaner is controlled to enter low-power standby mode until a user instruction is received. Specifically, if a user instruction is received, the robotic vacuum cleaner is controlled to operate according to the user instruction, which is issued in real time by the user after receiving the notification message, and includes key smart devices dynamically set by the user.

[0048] In practical applications, after identifying the key intelligent device, the optimal path is planned based on the current location of the robotic vacuum cleaner and the location of the key intelligent device. The robotic vacuum cleaner is then controlled to move to the vicinity of the key intelligent device along the planned path. Furthermore, depending on the connection type of the key intelligent device, the robotic vacuum cleaner provides gateway services to the key intelligent device, ensuring that the key intelligent device can continue to operate.

[0049] Specifically, in the event of a home broadband outage, the robot vacuum cleaner is controlled to move to the vicinity of key smart devices. Once the robot vacuum cleaner reaches the vicinity of the key devices, it activates its gateway mode to provide network connectivity to these devices, ensuring that they can continue to operate or at least maintain the most basic functions.

[0050] Specifically, when a smart home system experiences a power outage, the robot vacuum's gateway service can ensure that critical smart devices equipped with backup power supplies or batteries continue to operate for a period of time.

[0051] In practical applications, when there is no need to provide gateway services for critical smart devices, the robot vacuum cleaner maintains low-power standby mode to reduce its power consumption.

[0052] In this embodiment, the robotic vacuum cleaner is equipped with a multi-mode fusion gateway. The robot supports both 5G and Wi-Fi modes. Setting the robot's network mode to 5G allows it to connect to the public network, ensuring network stability even when the home broadband connection is down. Furthermore, the robot has a built-in battery, allowing it to continue operating normally during power outages. When the smart home system experiences a power outage or the home broadband connection drops, the robotic vacuum cleaner provides gateway services to critical smart devices. Therefore, this embodiment's solution continues to provide network services to smart devices during power outages or home broadband disconnections, ensuring remote service functionality and improving the reliability of the smart home system.

[0053] Furthermore, regarding the process of establishing a connection between the robotic vacuum cleaner and smart devices, as an example, in one possible implementation, Figure 4 This is the second flowchart illustrating the network control method for the smart home system provided by this invention, as shown below. Figure 4 As shown, step 101 above includes steps 401 to 406.

[0054] Step 401: After successfully connecting to the robot vacuum, the user controls the robot vacuum to create a home map.

[0055] Specifically, before using the robot vacuum, the user connects it according to the corresponding configuration process. For example, the user downloads the corresponding application for the robot vacuum's brand and model on their terminal device, which can be a smartphone, laptop, tablet, computer, etc. Next, the user turns on the robot vacuum and puts it into pairing mode. In the application, the user selects the option to adjust or set up a new device, and the application searches for nearby devices. Then, the user selects the robot vacuum from the searched devices in the application and begins the pairing process. Next, the user enters the Wi-Fi network name and password in the application so the robot vacuum can connect to the network. Finally, after successfully connecting to the network, the user sets cleaning plans, adjusts cleaning modes, and sets no-go zones in the application.

[0056] Furthermore, after successfully connecting to the robot vacuum, the user controls it to create a map of their home. Specifically, the robot vacuum is equipped with various sensors, such as laser rangefinders (LIDAR), cameras, infrared sensors, and collision sensors, to detect the surrounding environment. The robot vacuum's built-in algorithm plans an efficient cleaning path based on sensor data, typically employing technologies such as Simultaneous Localization and Mapping (SLAM).

[0057] In practical applications, when a user uses a robot vacuum for the first time, the robot will perform a full cleaning task to familiarize itself with the environment. The robot uses sensor data to identify room boundaries, including walls, furniture, and other obstacles. Users can set virtual walls or no-go zones through the app, instructing the robot to avoid specific areas during cleaning. As the robot moves through the room, it updates the home map in real time, marking cleaned and uncleaned areas. Once the home map is built, the robot vacuum saves it in its internal storage and syncs it with the user's app, allowing the user to view and edit the map. Furthermore, after each cleaning task, the robot updates the home map to reflect changes in the room layout. Over time, the robot vacuum learns the user's cleaning habits and optimizes its cleaning routes and strategies, updating the home map in real time. In practice, users can view and edit the home map within the app, such as renaming rooms and setting cleaning preferences.

[0058] Step 402: Based on the user's markings on the home map, obtain the connection information required for each smart device to be connected.

[0059] The connection information required for the smart devices to be connected includes: the name of the smart device, its location, and the connection type. Specifically, users can select multiple smart devices to connect based on their actual needs and application scenarios, and mark the connection information for each device on the home map. Correspondingly, the connection information for each smart device can be directly obtained from the user's markings on the home map.

[0060] Optionally, for each smart device to be connected, the user can mark the connection requirements and other configuration information of the device on the home map. Correspondingly, the connection requirements of each smart device can be extracted based on the user's markings on the home map.

[0061] Optionally, when adding a new smart device to the smart home system, the user designates the new device as a device to be connected and marks the necessary connection information for the new device on the home map. Correspondingly, the system retrieves the connection information for the new smart device based on the user's markings on the home map.

[0062] Step 403: Control the robot vacuum cleaner to move to the vicinity of the smart device to be connected, scan and attempt to connect to the smart device to be connected.

[0063] Step 404: Determine whether the robot vacuum cleaner has successfully connected with the currently connected smart device.

[0064] Step 405: If the robot vacuum cleaner successfully connects to the currently connected smart device, save the device information of the currently connected smart device.

[0065] Step 406: If the robot vacuum fails to connect to the current smart device to be connected, then scan again and try to connect to the current smart device to be connected.

[0066] Step 407: Determine whether the robot vacuum cleaner has successfully connected with the currently connected smart device.

[0067] Step 408: If the robot vacuum cleaner successfully connects to the currently connected smart device, save the device information of the currently connected smart device.

[0068] Step 409: If the robot vacuum fails to connect to the currently connected smart device, an error message will be output.

[0069] Based on the above description, the robotic vacuum cleaner is equipped with a multi-mode fusion gateway, supporting multiple communication protocols. In practical applications, it can connect to each smart device to be connected sequentially according to the user-preset order, or sequentially according to their location. Specifically, for the smart device to be connected, the robotic vacuum cleaner moves to its vicinity based on its location. Then, depending on the connection type of the smart device, it scans and attempts to connect according to the corresponding connection method (WiFi, Bluetooth, ZigBee, RFID, IrDA, UWB, LoRa, NearLink, NB-IoT, etc.).

[0070] Furthermore, if the robotic vacuum cleaner successfully connects to the currently connected smart device, the device information of the currently connected smart device is saved; otherwise, the robotic vacuum cleaner is controlled to rescan and attempt to connect to the currently connected device. In this embodiment, after rescanning and attempting to connect to the currently connected device, it is determined again whether the robotic vacuum cleaner and the currently connected smart device have successfully connected. If the robotic vacuum cleaner and the currently connected smart device have successfully connected, the device information of the currently connected smart device is saved; otherwise, an error message is output.

[0071] In practical applications, once the robotic vacuum cleaner successfully connects to the smart device to be connected, it saves the device information of the smart device to facilitate subsequent communication and data exchange between the robotic vacuum cleaner and the smart device. For example, the device information of the smart device to be connected includes: the device name, device model, device ID or serial number, device type, and connection timestamp.

[0072] Correspondingly, if the robot vacuum fails to connect to the currently connected smart device, an error message will be displayed, allowing the user to quickly view the reason for the connection failure and supporting reconnection. For example, the error message may include the device name of the smart device to be connected, the error type, the reason for the error, and a prompt suggesting the user reconnect.

[0073] It should be noted that the maximum number of times the robot vacuum cleaner scans and attempts to connect to the smart device is only an example in this embodiment. In actual applications, the maximum number of times can be increased or decreased according to actual needs.

[0074] In one example, the maximum number of attempts is set to 1. Specifically, the robot vacuum moves to the vicinity of the currently connected smart device, scans for and attempts to connect to it. It then determines whether the robot vacuum and the currently connected smart device have successfully connected. If they have, the device information of the currently connected smart device is saved; otherwise, an error message is output.

[0075] In another example, the maximum number of attempts is set to 3. Specifically, the robot vacuum moves to the vicinity of the smart device to be connected, scans for and attempts to connect to the smart device. If the robot vacuum successfully connects to the smart device, the device information of the smart device is saved; otherwise, a second scan is performed and the device information of the smart device is attempted to connect is saved; if the second connection is successful, the device information of the smart device is saved; otherwise, a third scan is performed and the device information of the smart device is attempted to connect is saved; otherwise, an error message is output.

[0076] Step 410: Determine if there are any more smart devices to be connected.

[0077] Step 411: If there are still smart devices to be connected, return to step 403.

[0078] Step 412: If no smart device is available to be connected, a connection completion message will be displayed.

[0079] In practical applications, after connecting a smart device, it is determined whether there are any other smart devices to be connected. If so, the next smart device to be connected is connected following the same steps. If there are no other smart devices to be connected, meaning all smart devices have been successfully connected, a connection completion message is output.

[0080] In this implementation, based on the user's markings on the home map, the connection information required for each smart device to be connected is obtained. The robot vacuum establishes a connection between itself and each smart device according to this information, leveraging the robot's mobility and the full coverage of the 5G network to achieve connection control of all smart devices in the house. Furthermore, in the event of a power outage or a broadband outage in the smart home system, the robot vacuum provides gateway services for key smart devices, ensuring remote service functionality and improving the reliability of the smart home system.

[0081] Furthermore, this invention also supports users in viewing the power supply status of the smart home system and the network status of each smart device, and allows for customized control of the robot vacuum cleaner's gateway service based on actual needs. As an example, in one possible implementation, after step 103, the network control method for the smart home system further includes: displaying the power supply status of the smart home system and the network status of each smart device on a home map, allowing users to view the power supply status of the smart home system and the network status of each smart device in real time; receiving a gateway service instruction; wherein the gateway service instruction is issued after the user views the power supply status of the smart home system and the network status of each smart device, and includes device information of the target smart device, including the name of the target smart device, the location of the target smart device, and the connection type of the target smart device; controlling the robot vacuum cleaner to move to the vicinity of the target smart device according to the gateway service instruction, and providing gateway services to the target smart device.

[0082] In practical applications, users can determine the power supply status of the smart home system and the network status of each smart device by viewing the home map. Based on the power supply status of the smart home system and the network status of each smart device, they can issue gateway service commands to control the robot vacuum to provide gateway services for smart devices with poor network conditions.

[0083] In practical applications, for smart devices located far from the home router with poor network signals, in order to ensure the normal operation of smart devices, a robot vacuum cleaner can be controlled to provide gateway services for smart devices located far from the home router.

[0084] In this embodiment, the power supply status of the smart home system and the network status of each smart device are displayed on the home map, allowing users to view the power supply status of the smart home system and the network status of each smart device in real time. Based on the gateway service command issued by the user, the robot vacuum cleaner is controlled to move to the vicinity of the target smart device and provide gateway services to the target smart device, thereby improving the accuracy and flexibility of the network control of the smart home system.

[0085] In the network control method for a smart home system provided in this embodiment, a connection relationship is established between a robotic vacuum cleaner and multiple smart devices; the network mode of the robotic vacuum cleaner is set to 5G mode to enable it to access the public network; the power supply status of the smart home system and the network status of each smart device are obtained by the robotic vacuum cleaner; if the smart home system loses power or the home broadband connection is lost, a key smart device is identified from the multiple smart devices, and the robotic vacuum cleaner is controlled to move to the vicinity of the key smart device to provide gateway services for it. In this embodiment, the robotic vacuum cleaner is equipped with a multi-mode fusion gateway, supports 5G and WIFI modes, and setting its network mode to 5G mode enables it to access the public network. Even when the home broadband connection is lost, the network stability of the robotic vacuum cleaner is still guaranteed, and the robotic vacuum cleaner has its own battery, ensuring normal operation during sudden power outages. When the smart home system loses power or the home broadband connection is lost, the robotic vacuum cleaner provides gateway services for the key smart devices. Therefore, the solution in this embodiment can still provide network services for smart devices in the event of a sudden power outage or home broadband disconnection, ensuring the remote service function of smart devices and improving the reliability of smart homes.

[0086] The network control device for the smart home system provided by the present invention is described below. The network control device for the smart home system described below can be referred to in correspondence with the network control method for the smart home system described above.

[0087] The network control device for the smart home system provided in this embodiment is applied to the smart home system, which includes a robot vacuum cleaner and multiple smart devices. The robot vacuum cleaner is equipped with a multi-mode fusion gateway.

[0088] Figure 5 This is a schematic diagram of the network control device for the smart home system provided by the present invention, as shown below. Figure 5 As shown, the network control device of the smart home system includes: a connection control module 51, a mode setting module 52, an acquisition module 53, and a processing module 54.

[0089] The aforementioned connection control module 51 is used to establish connection relationships between the sweeping robot and multiple smart devices.

[0090] In this embodiment, the robotic vacuum cleaner is equipped with a multi-mode fusion gateway, which can support a variety of communication protocols, such as 5G, WiFi, Bluetooth, ZigBee, RFID, IrDA, UWB, LoRa, Near Link, and NB-IoT.

[0091] In one example, the multi-mode fusion gateway includes a 5G module, a Bluetooth module, a WiFi module, and a ZigBee module; multiple smart devices include Bluetooth smart devices, WiFi smart devices, and ZigBee smart devices; the aforementioned connection control module 51 is specifically used to: establish a connection relationship between the Bluetooth smart device and the Bluetooth module; establish a connection relationship between the WiFi smart device and the WiFi module; and establish a connection relationship between the ZigBee smart device and the ZigBee module.

[0092] It's understandable that a robotic vacuum cleaner equipped with a multi-mode fusion gateway can communicate and exchange data with various types of smart devices. In one example, the robotic vacuum cleaner can provide gateway services to smart devices when the smart home system experiences a power outage or a broadband outage. In another example, users can remotely control the robotic vacuum cleaner via the internet, and indirectly control other smart devices through the robotic vacuum cleaner, achieving remote management of the smart home. In yet another example, controlling the robotic vacuum cleaner can be linked with other smart devices (such as lighting, temperature control, and security systems), automatically performing tasks according to user settings to enhance the living experience.

[0093] In practical applications, before a robotic vacuum cleaner can communicate and exchange data with various types of smart devices, it is necessary to establish connections between the robotic vacuum cleaner and multiple smart devices. This embodiment does not specifically limit the connection process between the robotic vacuum cleaner and multiple smart devices. In one example, the robotic vacuum cleaner identifies and attempts to connect to smart devices sequentially based on their distance. In another example, the robotic vacuum cleaner supports user-defined smart devices to be connected; in response to a connection command issued by the user, the robotic vacuum cleaner scans for and attempts to connect to the desired smart devices.

[0094] The aforementioned mode setting module 52 is used to set the network mode of the sweeping robot to 5G mode so that the sweeping robot can access the public network.

[0095] In this embodiment, the robot vacuum cleaner's network modes include 5G mode and WiFi mode. It is understood that setting the robot vacuum cleaner to 5G mode, and accessing the public network via 5G technology, can reduce reliance on home routers and provide comprehensive network coverage for large-area, complex home environments.

[0096] Combination Figure 2 and Figure 3When the robot vacuum cleaner operates in 5G mode, the multi-mode fusion gateway connects to the operator's base station via 5G service to establish a connection with the cloud server. When the robot vacuum cleaner operates in WiFi mode, the multi-mode fusion gateway connects to the server via the home router. Simultaneously, the multi-mode fusion gateway can connect to various smart devices with Bluetooth, ZigBee, and WiFi capabilities.

[0097] Understandably, setting the robot vacuum cleaner to 5G mode allows it to connect to the public network, ensuring network stability even when home broadband is down. This enables the robot vacuum cleaner to provide gateway services for smart devices.

[0098] Specifically, in one possible implementation, when the mode setting module 52 is used to set the network mode of the robot vacuum cleaner to 5G mode, it is specifically used to: if the robot vacuum cleaner receives a mode switching command and / or detects that the home broadband is disconnected, then the network mode of the robot vacuum cleaner is set to 5G mode; otherwise, the network mode of the robot vacuum cleaner is set to WIFI mode.

[0099] In practical applications, if the robot vacuum cleaner does not receive a mode switching command and detects that the home broadband network is normal, it will maintain the robot vacuum cleaner's network mode in WIFI mode. If the robot vacuum cleaner receives a mode switching command and / or detects a home broadband outage, it will switch the robot vacuum cleaner's network mode to 5G mode.

[0100] The aforementioned acquisition module 53 is used to acquire the power supply status of the smart home system and the network status of each smart device detected by the robot vacuum cleaner.

[0101] In this embodiment, the robotic vacuum cleaner monitors the power supply status of the smart home system and the network status of each smart device in real time. The invention does not specifically limit the method by which the robotic vacuum cleaner detects the power supply status of the smart home system. In one example, the robotic vacuum cleaner detects whether its charging base is powered off, thereby detecting the power supply status of the smart home system. In another example, sensors on the robotic vacuum cleaner (such as infrared sensors and motion sensors) can detect changes in the surrounding environment. If sensor data related to a device suddenly disappears or becomes abnormal, it may indicate that the smart home system has lost power. In yet another example, the smart devices are connected to a smart socket, and the robotic vacuum cleaner can detect the power supply status of the smart home system through communication with the smart socket.

[0102] In this embodiment, the method by which the robotic vacuum cleaner detects the network status of smart devices is not specifically limited. In one example, the robotic vacuum cleaner detects the device status by periodically sending heartbeat signals or query commands to the smart device. If it fails to receive a response from the smart device several times in a row, it means that the smart device is offline. In another example, the robotic vacuum cleaner detects a malfunction in the home router or gateway, which may mean that the entire network or a specific device is offline. In yet another example, the robotic vacuum cleaner determines that the smart device is offline if it detects that the smart device's network signal is disconnected. In yet another example, some smart devices have status indicator lights or displays, and the robotic vacuum cleaner can detect these indicators using visual sensors to determine the network status of the smart device.

[0103] The aforementioned processing module 54 is used to identify key smart devices from multiple smart devices if the smart home system loses power or the home broadband network is disconnected, and to control the robot vacuum cleaner to move to the vicinity of the key smart device to provide gateway services for the key smart device.

[0104] Key smart devices can be those critical to home security, such as security cameras and smoke detectors. In one example, key smart devices can be pre-configured by the user; in the event of a power outage or a broadband outage, the robot vacuum cleaner provides gateway services to these pre-configured devices. In another example, key smart devices are dynamically configured by the user based on actual needs and the current application scenario. It should be noted that the number of key smart devices can be one or more; no specific limit is imposed here.

[0105] As an example, regarding the determination of key intelligent devices, in one possible implementation, the processing module 54, when determining the key intelligent device from multiple intelligent devices, specifically performs the following: determining the key intelligent device based on a received user instruction or a preset instruction; the user instruction and the preset instruction include the device name of the key intelligent device. The preset instruction can be a pre-set instruction when the robot vacuum cleaner establishes a connection with multiple intelligent devices. The user instruction is an instruction issued by the user based on the actual situation.

[0106] Based on the above description, the robotic vacuum cleaner monitors the power supply status of the smart home system and the network status of each smart device in real time. In one implementation, when the smart home system loses power or the home broadband connection is down, a notification message is sent to the user. Further, if a preset instruction exists, the robotic vacuum cleaner is controlled to operate according to the preset instruction, which includes key smart devices pre-set by the user. If no preset instruction exists or the preset instruction has been executed, the robotic vacuum cleaner is controlled to enter low-power standby mode until a user instruction is received. Specifically, if a user instruction is received, the robotic vacuum cleaner is controlled to operate according to the user instruction, which is issued in real time by the user after receiving the notification message, and includes key smart devices dynamically set by the user.

[0107] In practical applications, after identifying the key intelligent device, the optimal path is planned based on the current location of the robotic vacuum cleaner and the location of the key intelligent device. The robotic vacuum cleaner is then controlled to move to the vicinity of the key intelligent device along the planned path. Furthermore, depending on the connection type of the key intelligent device, the robotic vacuum cleaner provides gateway services to the key intelligent device, ensuring that the key intelligent device can continue to operate.

[0108] Specifically, in the event of a home broadband outage, the robot vacuum cleaner is controlled to move to the vicinity of key smart devices. Once the robot vacuum cleaner reaches the vicinity of the key devices, it activates its gateway mode to provide network connectivity to these devices, ensuring that they can continue to operate or at least maintain the most basic functions.

[0109] Specifically, when a smart home system experiences a power outage, the robot vacuum's gateway service can ensure that critical smart devices equipped with backup power supplies or batteries continue to operate for a period of time.

[0110] In practical applications, when there is no need to provide gateway services for critical smart devices, the robot vacuum cleaner maintains low-power standby mode to reduce its power consumption.

[0111] In this embodiment, the robotic vacuum cleaner is equipped with a multi-mode fusion gateway. The robot supports both 5G and Wi-Fi modes. Setting the robot's network mode to 5G allows it to connect to the public network, ensuring network stability even when the home broadband connection is down. Furthermore, the robot has a built-in battery, allowing it to continue operating normally during power outages. When the smart home system experiences a power outage or the home broadband connection drops, the robotic vacuum cleaner provides gateway services to critical smart devices. Therefore, this embodiment's solution continues to provide network services to smart devices during power outages or home broadband disconnections, ensuring remote service functionality and improving the reliability of the smart home system.

[0112] Furthermore, regarding the process of establishing a connection between the robotic vacuum cleaner and a smart device, as an example, in one possible implementation, the connection control module 51 is specifically used for: after the user successfully connects to the robotic vacuum cleaner, controlling the robotic vacuum cleaner to create a home map; obtaining the connection information required for each smart device to be connected based on the user's markings on the home map; the connection information required for the smart device to be connected includes: the name of the smart device to be connected, the location of the smart device to be connected, and the connection type of the smart device to be connected; controlling the robotic vacuum cleaner to move to the vicinity of the current smart device to be connected, scanning and attempting to connect to the current smart device to be connected; determining whether the robotic vacuum cleaner and the current smart device to be connected are successfully connected; if the connection is successful, saving the device information of the current smart device to be connected; otherwise, scanning and attempting to connect to the current smart device to be connected again; determining whether the robotic vacuum cleaner and the current smart device to be connected are successfully connected, if the connection is successful, saving the device information of the current smart device to be connected; otherwise, outputting an error message; determining whether there are still smart devices to be connected, if there are, returning to the steps of controlling the robotic vacuum cleaner to move to the vicinity of the current smart device to be connected and scanning and attempting to connect to the current smart device to be connected, otherwise outputting a connection completion message.

[0113] Specifically, before using the robot vacuum, the user connects it according to the corresponding configuration process. For example, the user downloads the corresponding application for the robot vacuum's brand and model on their terminal device, which can be a smartphone, laptop, tablet, computer, etc. Next, the user turns on the robot vacuum and puts it into pairing mode. In the application, the user selects the option to adjust or set up a new device, and the application searches for nearby devices. Then, the user selects the robot vacuum from the searched devices in the application and begins the pairing process. Next, the user enters the Wi-Fi network name and password in the application so the robot vacuum can connect to the network. Finally, after successfully connecting to the network, the user sets cleaning plans, adjusts cleaning modes, and sets no-go zones in the application.

[0114] Furthermore, after successfully connecting to the robot vacuum, the user controls it to create a map of their home. Specifically, the robot vacuum is equipped with various sensors, such as laser rangefinders (LIDAR), cameras, infrared sensors, and collision sensors, to detect the surrounding environment. The robot vacuum's built-in algorithm plans an efficient cleaning path based on sensor data, typically employing technologies such as Simultaneous Localization and Mapping (SLAM).

[0115] In practical applications, when a user uses a robot vacuum for the first time, the robot will perform a full cleaning task to familiarize itself with the environment. The robot uses sensor data to identify room boundaries, including walls, furniture, and other obstacles. Users can set virtual walls or no-go zones through the app, instructing the robot to avoid specific areas during cleaning. As the robot moves through the room, it updates the home map in real time, marking cleaned and uncleaned areas. Once the home map is built, the robot vacuum saves it in its internal storage and syncs it with the user's app, allowing the user to view and edit the map. Furthermore, after each cleaning task, the robot updates the home map to reflect changes in the room layout. Over time, the robot vacuum learns the user's cleaning habits and optimizes its cleaning routes and strategies, updating the home map in real time. In practice, users can view and edit the home map within the app, such as renaming rooms and setting cleaning preferences.

[0116] Specifically, users can select multiple smart devices to connect based on their actual needs and application scenarios, and mark the connection information for each device on a home map. Correspondingly, the connection information for each smart device can be directly obtained from the user's markings on the home map.

[0117] Optionally, for each smart device to be connected, the user can mark the connection requirements and other configuration information of the device on the home map. Correspondingly, the connection requirements of each smart device can be extracted based on the user's markings on the home map.

[0118] Optionally, when adding a new smart device to the smart home system, the user designates the new device as a device to be connected and marks the necessary connection information for the new device on the home map. Correspondingly, the system retrieves the connection information for the new smart device based on the user's markings on the home map.

[0119] Based on the above description, the robotic vacuum cleaner is equipped with a multi-mode fusion gateway, supporting multiple communication protocols. In practical applications, it can connect to each smart device to be connected sequentially according to the user-preset order, or sequentially according to their location. Specifically, for the smart device to be connected, the robotic vacuum cleaner moves to its vicinity based on its location. Then, depending on the connection type of the smart device, it scans and attempts to connect according to the corresponding connection method (WiFi, Bluetooth, ZigBee, RFID, IrDA, UWB, LoRa, NearLink, NB-IoT, etc.).

[0120] Furthermore, if the robotic vacuum cleaner successfully connects to the currently connected smart device, the device information of the currently connected smart device is saved; otherwise, the robotic vacuum cleaner is controlled to rescan and attempt to connect to the currently connected device. In this embodiment, after rescanning and attempting to connect to the currently connected device, it is determined again whether the robotic vacuum cleaner and the currently connected smart device have successfully connected. If the robotic vacuum cleaner and the currently connected smart device have successfully connected, the device information of the currently connected smart device is saved; otherwise, an error message is output.

[0121] In practical applications, once the robotic vacuum cleaner successfully connects to the smart device to be connected, it saves the device information of the smart device to facilitate subsequent communication and data exchange between the robotic vacuum cleaner and the smart device. For example, the device information of the smart device to be connected includes: the device name, device model, device ID or serial number, device type, and connection timestamp.

[0122] Correspondingly, if the robot vacuum fails to connect to the currently connected smart device, an error message will be displayed, allowing the user to quickly view the reason for the connection failure and supporting reconnection. For example, the error message may include the device name of the smart device to be connected, the error type, the reason for the error, and a prompt suggesting the user reconnect.

[0123] It should be noted that the maximum number of times the robot vacuum cleaner scans and attempts to connect to the smart device is only an example in this embodiment. In actual applications, the maximum number of times can be increased or decreased according to actual needs.

[0124] In practical applications, after connecting a smart device, it is determined whether there are any other smart devices to be connected. If so, the next smart device to be connected is connected following the same steps. If there are no other smart devices to be connected, meaning all smart devices have been successfully connected, a connection completion message is output.

[0125] In this implementation, based on the user's markings on the home map, the connection information required for each smart device to be connected is obtained. The robot vacuum establishes a connection between itself and each smart device according to this information, leveraging the robot's mobility and the full coverage of the 5G network to achieve connection control of all smart devices in the house. Furthermore, in the event of a power outage or a broadband outage in the smart home system, the robot vacuum provides gateway services for key smart devices, ensuring remote service functionality and improving the reliability of the smart home system.

[0126] Furthermore, this invention also supports users in viewing the power supply status of the smart home system and the network status of each smart device, and allows for customized control of the robot vacuum cleaner's gateway service based on actual needs. As an example, in one possible implementation, the network control device for the aforementioned smart home system further includes: a display module for displaying the power supply status of the smart home system and the network status of each smart device on a home map, allowing users to view these statuses in real time; a receiving module for receiving gateway service instructions; wherein the gateway service instructions are issued after the user views the power supply status of the smart home system and the network status of each smart device, and include device information of the target smart device, including the target smart device's name, location, and connection type; the processing module is further configured to control the robot vacuum cleaner to move to the vicinity of the target smart device according to the gateway service instructions and provide gateway services to the target smart device.

[0127] In practical applications, users can determine the power supply status of the smart home system and the network status of each smart device by viewing the home map. Based on the power supply status of the smart home system and the network status of each smart device, they can issue gateway service commands to control the robot vacuum to provide gateway services for smart devices with poor network conditions.

[0128] In practical applications, for smart devices located far from the home router with poor network signals, in order to ensure the normal operation of smart devices, a robot vacuum cleaner can be controlled to provide gateway services for smart devices located far from the home router.

[0129] In this embodiment, the power supply status of the smart home system and the network status of each smart device are displayed on the home map, allowing users to view the power supply status of the smart home system and the network status of each smart device in real time. Based on the gateway service command issued by the user, the robot vacuum cleaner is controlled to move to the vicinity of the target smart device and provide gateway services to the target smart device, thereby improving the accuracy and flexibility of the network control of the smart home system.

[0130] In the network control device of the smart home system provided in this embodiment, the connection control module establishes a connection relationship between the robot vacuum cleaner and multiple smart devices; the mode setting module sets the network mode of the robot vacuum cleaner to 5G mode so that the robot vacuum cleaner can access the public network; the acquisition module acquires the power supply status of the smart home system and the network status of each smart device detected by the robot vacuum cleaner; if the smart home system loses power or the home broadband network is disconnected, the processing module identifies the key smart device from the multiple smart devices and controls the robot vacuum cleaner to move to the vicinity of the key smart device to provide gateway services for the key smart device. In the solution of this embodiment, the robot vacuum cleaner is equipped with a multi-mode fusion gateway. The robot vacuum cleaner supports 5G mode and WIFI mode. Setting the network mode of the robot vacuum cleaner to 5G mode can enable the robot vacuum cleaner to access the public network. Even when the home broadband network is disconnected, the network stability of the robot vacuum cleaner can still be guaranteed. In addition, the robot vacuum cleaner has its own battery, so it can continue to work normally during sudden power outages. When the smart home system loses power or the home broadband network is disconnected, the robot vacuum cleaner provides gateway services for the key smart devices. Therefore, the solution in this embodiment can still provide network services for smart devices in the event of a sudden power outage or home broadband disconnection, ensuring the remote service function of smart devices and improving the reliability of smart homes.

[0131] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630, and a communication bus 640. The processor 610, communications interface 620, and memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a network control method for the smart home system. The smart home system includes a robotic vacuum cleaner and multiple smart devices. The robotic vacuum cleaner is equipped with a multi-mode fusion gateway. The method includes: establishing a connection between the robotic vacuum cleaner and the multiple smart devices; setting the network mode of the robotic vacuum cleaner to 5G mode to enable it to access the public network; acquiring the power supply status of the smart home system and the network status of each smart device detected by the robotic vacuum cleaner; if the smart home system loses power or the home broadband network is disconnected, identifying a key smart device from among the multiple smart devices and controlling the robotic vacuum cleaner to move to the vicinity of the key smart device to provide gateway services for it.

[0132] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0133] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the network control method for the smart home system provided by the above methods. The smart home system includes a robotic vacuum cleaner and multiple smart devices. The robotic vacuum cleaner is equipped with a multi-mode fusion gateway. The method includes: establishing a connection relationship between the robotic vacuum cleaner and the multiple smart devices; setting the network mode of the robotic vacuum cleaner to 5G mode so that the robotic vacuum cleaner can access the public network; obtaining the power supply status of the smart home system and the network status of each smart device detected by the robotic vacuum cleaner; if the smart home system loses power or the home broadband network is disconnected, determining the key smart device from the multiple smart devices and controlling the robotic vacuum cleaner to move to the vicinity of the key smart device to provide gateway services for the key smart device.

[0134] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a network control method for a smart home system provided by the methods described above. The smart home system includes a robotic vacuum cleaner and multiple smart devices. The robotic vacuum cleaner is equipped with a multi-mode fusion gateway. The method includes: establishing a connection relationship between the robotic vacuum cleaner and the multiple smart devices; setting the network mode of the robotic vacuum cleaner to 5G mode to enable the robotic vacuum cleaner to access the public network; acquiring the power supply status of the smart home system and the network status of each smart device detected by the robotic vacuum cleaner; if the smart home system loses power or the home broadband network is disconnected, identifying a key smart device from the multiple smart devices and controlling the robotic vacuum cleaner to move to the vicinity of the key smart device to provide gateway services for the key smart device.

[0135] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0136] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A network control method for a smart home system, characterized in that, The smart home system includes a robotic vacuum cleaner and multiple smart devices, wherein the robotic vacuum cleaner is equipped with a multi-mode fusion gateway; the method includes: Establish a connection between the robotic vacuum cleaner and the multiple smart devices; Set the network mode of the robotic vacuum cleaner to 5G mode so that the robotic vacuum cleaner can access the public network; The robot vacuum cleaner detects the power supply status of the smart home system and the network status of each smart device. If the smart home system experiences a power outage or the home broadband connection drops, a key smart device is identified from among the multiple smart devices, and the robot vacuum cleaner is controlled to move to the vicinity of the key smart device to provide gateway services for it.

2. The network control method for a smart home system according to claim 1, characterized in that, The process of establishing connections between the robotic vacuum cleaner and multiple smart devices includes: After the user successfully connects to the robot vacuum cleaner, the user controls the robot vacuum cleaner to create a home map; Based on the user's markings on the home map, obtain the connection information required for each smart device to be connected. The connection information required for each smart device to be connected includes: the name of the smart device to be connected, the location of the device to be connected, and the connection type of the device to be connected. Control the robotic vacuum cleaner to move to the vicinity of the currently connected smart device, scan and attempt to connect to the currently connected smart device; Determine whether the robotic vacuum cleaner has successfully connected with the current smart device to be connected; if the connection is successful, save the device information of the current smart device to be connected; otherwise, scan again and try to connect to the current smart device to be connected; determine whether the robotic vacuum cleaner has successfully connected with the current smart device to be connected; if the connection is successful, save the device information of the current smart device to be connected; otherwise, output an error message. Determine if there are any other smart devices to be connected. If so, return to the previous step and control the robot vacuum to move to the vicinity of the current smart device to be connected, and scan and attempt to connect to the current smart device to be connected. Otherwise, output a connection completion message.

3. The network control method for a smart home system according to claim 2, characterized in that, After obtaining the power supply status of the smart home system detected by the robotic vacuum cleaner and the network status of each smart device, the method further includes: The power supply status of the smart home system and the network status of each smart device are displayed on the home map so that users can view the power supply status of the smart home system and the network status of each smart device in real time. Receive gateway service instructions; wherein, the gateway service instructions are issued by the user after viewing the power supply status of the smart home system and the network status of each smart device, and the gateway service instructions include the device information of the target smart device, including the name of the target smart device, the location of the target smart device, and the connection type of the target smart device; The robot vacuum cleaner is controlled to move to the vicinity of the target smart device according to the gateway service instruction, and provides gateway service to the target smart device.

4. The network control method for a smart home system according to claim 1, characterized in that, The step of identifying key intelligent devices from the plurality of intelligent devices includes: Based on the received user instructions or preset instructions, the key intelligent devices are identified; the user instructions and the preset instructions include the device name of the key intelligent device.

5. The network control method for a smart home system according to claim 1, characterized in that, The multi-mode fusion gateway includes: a 5G module, a Bluetooth module, a WiFi module, and a ZigBee module; the multiple smart devices include Bluetooth smart devices, WiFi smart devices, and ZigBee smart devices; establishing the connection between the robot vacuum cleaner and the multiple smart devices includes: Establish a connection between the Bluetooth smart device and the Bluetooth module; Establish a connection between the WiFi smart device and the WiFi module; Establish the connection between the ZigBee smart device and the ZigBee module.

6. The network control method for a smart home system according to any one of claims 1-5, characterized in that, Setting the network mode of the robotic vacuum cleaner to 5G mode includes: If the robot vacuum receives a mode switching command and / or detects a home broadband outage, it will set the robot vacuum's network mode to 5G mode; otherwise, it will set the robot vacuum's network mode to WIFI mode.

7. A network control device for a smart home system, characterized in that, The smart home system includes a robotic vacuum cleaner and multiple smart devices, wherein the robotic vacuum cleaner is equipped with a multi-mode fusion gateway; the device includes: The connection control module is used to establish the connection relationship between the robot vacuum cleaner and multiple smart devices; The mode setting module is used to set the network mode of the robot vacuum cleaner to 5G mode so that the robot vacuum cleaner can access the public network; The acquisition module is used to acquire the power supply status of the smart home system and the network status of each smart device detected by the robot vacuum cleaner; The processing module is used to identify key smart devices from among the multiple smart devices if the smart home system loses power or the home broadband network is disconnected, and to control the robot vacuum cleaner to move to the vicinity of the key smart device to provide gateway services for the key smart device.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the network control method of the smart home system as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the network control method of the smart home system as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the network control method of the smart home system as described in any one of claims 1 to 6.