Automatic grouping processing method and device based on Internet of Things equipment

Through the location awareness and automatic grouping processing method of IoT devices, Bluetooth and Wi-Fi modules are used to scan device information and automatically group according to user habits and device types, which solves the time-consuming and labor-intensive problem of group management of IoT devices in the existing technology. problems, improving the efficiency and user experience of device management.

CN118740537APending Publication Date: 2024-10-01SHENZHEN KUKAI SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410966780.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing IoT device group management requires manual configuration by users, which is time-consuming and error-prone. Especially when there are a large number of devices, it is difficult for users to manage effectively, affecting the user experience.

Method used

IoT devices sense each other's location information, generate grouping suggestions, use Bluetooth and Wi-Fi modules to scan device information, and automatically perform group configuration based on user habits and device types, reducing user manual operations.

Benefits of technology

It greatly reduces the user workload of device grouping, improves the efficiency and accuracy of IoT device management, simplifies the user experience, and ensures that devices can be used normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740537A_ABST
    Figure CN118740537A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic grouping processing method and device based on Internet of Things equipment, and the method comprises the steps: controlling to scan the equipment information of the new Internet of Things equipment when the new Internet of Things equipment is detected to access an Internet of Things platform and is not configured with grouping information; according to the scanned device information of the new Internet of Things device and the device information of the corresponding Internet of Things platform user, judging which grouped Internet of Things devices are closest to the new Internet of Things device; generating a grouping suggestion of the new Internet of Things equipment according to the distance judgment information between the new Internet of Things equipment and the grouped Internet of Things equipment, the grouping information of the grouped Internet of Things equipment and the grouping habit of the user; and automatically grouping the new Internet of Things equipment based on the confirmed grouping suggestion. According to the invention, the equipment grouping suggestion is generated and given to the user according to the preset rule, and equipment grouping can be automatically realized after the user agrees with the grouping suggestion, so that the user workload of equipment grouping is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to an automatic grouping processing method and device based on Internet of Things devices, Internet of Things devices and storage media. Background Art

[0002] With the development of the Internet of Things, more and more users have purchased Internet of Things (also known as smart home) devices to enjoy the convenient life experience brought by the Internet of Things. This has also led to a continuous increase in the number of Internet of Things devices in a single user's home. In order to better manage devices, the business's Internet of Things platform will provide users with grouping functions, such as bedroom grouping, living room grouping, etc., but when there are too many devices, users can only manually configure each device, which consumes a lot of user time and patience. It is also easy to group the devices incorrectly, resulting in some users' groups not actually being used. In the end, the group configuration is chaotic, making it impossible to experience some Internet of Things capabilities normally. For example, turn on the lights in a specified room, but due to the chaotic grouping, other lights will be turned on by mistake or the lights that need to be turned on will not turn on normally.

[0003] That is, the existing Internet of Things device grouping basically requires users to manually set up grouping management of devices. When there are many devices, it takes a lot of time to complete the grouping configuration of the devices, which is time-consuming and labor-intensive, prone to errors, and inconvenient for users.

[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the invention

[0005] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, an automatic grouping processing method, device, Internet of Things device and storage medium based on Internet of Things devices are provided. The present invention determines whether multiple devices are in the same area through the location information perceived by each other among the devices, and generates grouping suggestions. Users can quickly group the devices through the grouping suggestions, thereby reducing the time required for grouping configuration and providing convenience for users.

[0006] The technical solution adopted by the present invention to solve the problem is as follows:

[0007] An automatic grouping processing method based on Internet of Things devices, comprising:

[0008] Real-time detection of new IoT devices connected to the IoT;

[0009] When a new IoT device is detected to be connected to the IoT platform, further detecting whether the new IoT device has configuration group information;

[0010] When the new IoT device is not configured with group information, the control automatically starts the Bluetooth and Wi-Fi modules to scan the device information of the new IoT device, and uploads the scan results to the corresponding IoT platform;

[0011] According to the scanned device information of the new IoT device and the device information of the corresponding IoT platform user, determine which grouped IoT devices are closest to the new IoT device;

[0012] Generate a grouping suggestion for the new IoT device based on distance judgment information between the new IoT device and the grouped IoT devices, as well as grouping information of the grouped IoT devices and grouping habits of the user;

[0013] The grouping suggestion is issued through the Internet of Things platform, and the new Internet of Things devices are automatically grouped based on the confirmed grouping suggestion.

[0014] The automatic grouping processing method based on the Internet of Things devices, wherein the step of performing real-time detection on new Internet of Things devices connected to the Internet of Things includes:

[0015] Pre-set grouping rules for each IoT device.

[0016] The automatic grouping processing method based on the Internet of Things devices, wherein the step of performing real-time detection on new Internet of Things devices connected to the Internet of Things includes:

[0017] Pre-acquire device information and group information of grouped IoT devices;

[0018] And obtain the grouping habits of users of the corresponding Internet of Things platform in advance.

[0019] The automatic grouping processing method based on IoT devices, wherein the step of generating a grouping suggestion for the new IoT device according to the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user comprises:

[0020] A grouping suggestion is generated based on the grouping information and device type of the IoT devices within a predetermined range from the new IoT device, the device type of the current new IoT device, and the user's existing grouping information.

[0021] The automatic grouping processing method based on the Internet of Things device, wherein when a new Internet of Things device is detected to be connected to the Internet of Things platform, the step of further detecting whether the new Internet of Things device has configuration grouping information includes:

[0022] When it is detected that a new IoT device is connected to the IoT platform, and it is detected that the new IoT device has configuration group information, control is performed to join the IoT group according to the configured group information.

[0023] In the automatic grouping processing method based on IoT devices, the step of determining which grouped IoT devices are closest to the new IoT device based on the scanned device information of the new IoT device and the device information of the corresponding IoT platform user further includes:

[0024] Obtain device information of scanned new IoT devices, including device type, device ID, and device location information; and collect device information of grouped IoT devices, including device type, device ID, and device location information;

[0025] Matching the device information of the new IoT device with the device information of the grouped IoT devices to determine the association relationship between the new IoT device and the grouped IoT devices;

[0026] Using the known device location information, a distance calculation method is used to calculate the distance between the new IoT device and the grouped IoT devices, that is, to calculate the distance data between each grouped IoT device and the new IoT device;

[0027] According to the calculation results, determine which grouped IoT devices the new IoT device is closest to, and find out the IoT device or IoT device group with the shortest distance.

[0028] The automatic grouping processing method based on IoT devices, wherein the step of generating a grouping suggestion for the new IoT device according to the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user comprises:

[0029] Obtaining information on the distance between the new IoT device and the grouped IoT devices, and finding the IoT device or IoT device group with the shortest distance to the new IoT device;

[0030] Obtain the grouping information of the collected grouped IoT devices, including the name of the group to which the IoT device belongs and the device information contained in the group;

[0031] Obtain users’ grouping habits, including their preferences for different types of devices and their needs for device linkage;

[0032] Based on the distance judgment information between the new IoT device and the grouped devices, the grouping information and the user's grouping habits, an algorithm or rule is used to generate a grouping suggestion for the new device; the grouping suggestion includes a recommended group name, related device information, and a reason for grouping.

[0033] An automatic grouping processing device based on an Internet of Things device, wherein the device comprises:

[0034] A pre-setting module is used to pre-set the grouping rules of each IoT device; pre-acquire the device information and grouping information of the grouped IoT devices; and pre-acquire the grouping habits of users of the corresponding IoT platform;

[0035] Access detection module, used to detect new IoT devices connected to the IoT in real time;

[0036] A grouping information detection module is used to further detect whether a new IoT device has configuration grouping information when a new IoT device is detected to be connected to the IoT platform;

[0037] An information scanning module is set to control the automatic start of the Bluetooth and Wi-Fi modules to scan the device information of the new IoT device when the new IoT device is not configured with group information, and upload the scanning results to the corresponding IoT platform;

[0038] A judgment module, used to judge which grouped IoT devices are closest to the new IoT device based on the scanned device information of the new IoT device and the device information of the corresponding IoT platform user;

[0039] A grouping suggestion processing module, used to generate a grouping suggestion for the new IoT device based on the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user;

[0040] The automatic grouping control module is used to send the grouping suggestion through the Internet of Things platform and automatically group the new Internet of Things devices based on the confirmed grouping suggestion.

[0041] An Internet of Things device, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, including the one or more programs for executing any one of the methods described.

[0042] A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the methods described above.

[0043] Beneficial effects of the present invention: The present invention provides an automatic grouping processing method, device, Internet of Things device and storage medium based on Internet of Things devices. The present invention proposes an automatic device grouping method, which uses the Bluetooth and wifi modules of the Internet of Things devices to discover surrounding Internet of Things devices and report relevant data to the Internet of Things platform. The platform generates device grouping suggestions for users based on preset rules. After the user agrees to the grouping suggestion, the device grouping can be automatically implemented, thereby greatly reducing the user workload of device grouping, allowing users to better experience the convenient life experience brought by the Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 It is a flowchart of an automatic grouping processing method based on Internet of Things devices provided by an embodiment of the present invention.

[0046] Figure 2 It is a schematic diagram of abnormal facial expression recognition model processing according to the automatic grouping processing method based on Internet of Things devices provided in an embodiment of the present invention.

[0047] Figure 3 It is a principle block diagram of an embodiment of an automatic grouping processing device based on Internet of Things devices provided by the present invention.

[0048] Figure 4 It is a block diagram of the internal structure principle of the Internet of Things device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0050] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0051] With respect to existing IoT devices in the prior art, the devices can only be grouped and managed manually. When there are many devices, it takes a lot of time to complete the group configuration of the devices, which is time-consuming, labor-intensive, and inconvenient for users.

[0052] The present invention provides an automatic grouping processing method based on Internet of Things devices. It determines whether multiple devices are in the same area through the location information sensed by the devices, and generates grouping suggestions. Users can quickly group the devices through the grouping suggestions, thereby reducing the time required for group configuration.

[0053] like Figure 1 As shown, an automatic grouping processing method based on Internet of Things devices in Embodiment 1 of the present invention includes the following steps:

[0054] Step S100: Real-time detection of new IoT devices connected to the IoT;

[0055] The embodiments of the present invention are described by taking various smart terminals as examples. The smart terminals may be IoT devices such as smart home appliances and smart phones that can be connected to the IoT platform. When the present invention is implemented, new IoT devices connected to the IoT will be detected in real time. For example, if a user newly buys a smart camera of a certain brand and needs to be connected to the home IoT after being connected to the Internet, the present invention will detect the new IoT devices connected to the IoT in real time.

[0056] In specific implementation, this step S100 includes: first, detecting the network connection status and communication status of the newly connected IoT device. Real-time data collection will be started for the new IoT device, including the device's operating status, sensor data and other information. The collected data will be analyzed and processed in real time to ensure that the device operates normally and the data is accurate.

[0057] In this step, by detecting newly connected IoT devices in real time, newly connected IoT devices can be discovered in time. At the same time, potential security risks can be reduced and user data and device security can be protected.

[0058] Of course, before the present invention is implemented, the grouping rules of each IoT device can be pre-set. In this embodiment, the pre-setting of the grouping rules of each IoT device means planning and setting the classification, grouping method and linkage rules of different devices in advance in the IoT system to better manage and control these devices.

[0059] Specifically, first, different types of IoT devices can be classified, such as smart home devices, industrial equipment, automotive equipment, etc., according to device functions, uses, and attributes.

[0060] Then, the grouping method can be determined according to the relevance between devices and usage scenarios. Devices can be grouped according to function, location, frequency of use, etc., such as bedroom device group, living room device group, etc.

[0061] You can also set linkage rules between different devices, that is, the way devices interact, collaborate and respond. For example, when a user opens a smart door lock, the smart lighting system automatically adjusts the brightness; or when a temperature sensor detects an overly high temperature, the smart air conditioning system automatically starts and adjusts the temperature.

[0062] In addition, you can set personalized grouping rules based on user preferences and needs. Users can customize the grouping and linkage rules of devices according to their own habits and usage scenarios.

[0063] By presetting the grouping rules for each IoT device, the present invention can more effectively manage and control the devices, improve the user experience, and realize intelligent linkage between devices, thereby creating a more convenient and comfortable intelligent living environment for users.

[0064] When the present invention is implemented, the device information and grouping information of the grouped IoT devices can be acquired in advance; that is, the device information and grouping information of each IoT device that has been grouped before can be acquired.

[0065] And pre-acquire the grouping habits of users of the corresponding Internet of Things platform, wherein the grouping of users of the Internet of Things platform, for example, means that general users will place two types of devices, namely lights and switches, in the same group.

[0066] Step S200: When a new IoT device is detected to be connected to the IoT platform, further detecting whether the new IoT device has configuration group information;

[0067] In the embodiment of the present invention, when a new smart device is connected to the Internet of Things, the present invention detects that the new Internet of Things device is connected to the Internet of Things platform, and further detects whether the new Internet of Things device has configuration group information.

[0068] Specifically, when a new IoT device attempts to connect to the IoT platform, the present invention first performs a device access detection, which is usually performed by determining the identity of the new device through a unique identifier of the device (such as a MAC address or a device ID).

[0069] The system then further checks whether the new IoT device already has grouping information configured. This step may include checking the metadata or attributes of the device to see if a group or group to which the device belongs has been specified.

[0070] When it is detected that a new IoT device is connected to the IoT platform, and it is detected that the new IoT device has configuration group information, control is performed to join the IoT group according to the configured group information.

[0071] In this embodiment, if it is found that the new IoT device has not been configured with grouping information, control proceeds to step S300.

[0072] In this way, the present invention can ensure that new devices can be correctly classified and managed immediately after accessing the Internet of Things platform. By configuring the grouping information, more effective device management, monitoring and control can be achieved, and the scalability and performance of the system can be improved.

[0073] Step S300: When the new IoT device is not configured with group information, the control automatically starts the Bluetooth and Wi-Fi modules to scan the device information of the new IoT device, and uploads the scan results to the corresponding IoT platform;

[0074] In an embodiment of the present invention, specifically, if a new IoT device is detected to be connected but the grouping information has not been configured, the Bluetooth and Wi-Fi modules will be controlled to be automatically started. Specifically, according to the needs of the new device, the Bluetooth and Wi-Fi modules in the startup device can be controlled to scan the surrounding IoT device information.

[0075] By starting the Bluetooth and Wi-Fi modules, the system starts scanning the surrounding environment to find the device information of new IoT devices, such as device ID, MAC address, etc. The system also collects and processes the scanned new device information, including the basic properties and identity of the device.

[0076] The scan results are then uploaded to the corresponding IoT platform for further analysis and processing. This can include adding the new device to the IoT platform’s device management system.

[0077] For example, when a smart socket device that is not configured with group information is added to a smart home system. After the embodiment of the present invention detects that the device is not grouped, it will automatically start the Bluetooth and Wi-Fi modules in the home gateway to scan the device information. Through scanning, the present invention obtains the unique identifier of the smart socket device and uploads it to the Internet of Things platform. The new device can be seen on the platform, which is convenient for the subsequent steps and can be added to the "smart socket" device group for management and control, ensuring that the new device is smoothly incorporated into the smart home system.

[0078] The benefit of this step is that it can help timely discover and handle new devices that are not configured with group information, ensuring that the system fully monitors and manages all devices. By automatically starting the Bluetooth and Wi-Fi modules to scan device information, it can quickly respond to the access of new devices and bring them into the management scope, improving the efficiency of device integration and management.

[0079] Step S400: judging which grouped IoT devices are closest to the new IoT device based on the scanned device information of the new IoT device and the device information of the corresponding IoT platform user;

[0080] In this step, the device information of the new IoT device has been scanned and obtained, such as device ID, MAC address, device type, etc. At the same time, the device information of the corresponding IoT platform user has also been obtained, including the grouped IoT device information and the location information of these devices.

[0081] The present invention matches the information of the new device with the information of the grouped devices to find devices that may belong to the same user or the same group. Specifically, the distance between the new device and the grouped devices can be calculated based on the location information of the device. This can be evaluated by the signal strength, distance, location information, etc. between the devices. Based on the calculated distance information, it is determined which grouped devices are closest to the new device. Preferably, in the embodiment of the present invention, the closest device can be selected as a potential matching object for subsequent device management and control.

[0082] For example, in a smart home system, when a new smart light bulb device is scanned and added to the IoT platform, the present invention can determine which configured smart light bulb device is closest to the new device based on the existing user device information. By determining the closest device, it is convenient to provide grouping suggestions in the following steps.

[0083] Furthermore, the step S400 specifically includes:

[0084] S401, obtaining device information of a scanned new IoT device, including device type, device ID, and device location information; and collecting device information of grouped IoT devices, including device type, device ID, and device location information;

[0085] In this step, the present invention obtains the device information of the scanned new IoT device, such as device type, device ID and device location information. At the same time, the device information of the grouped IoT devices is collected, including device type, device ID and device location information.

[0086] S402, matching the device information of the new IoT device with the device information of the grouped IoT devices, and determining an association relationship between the new IoT device and the grouped IoT devices;

[0087] The present invention determines the association relationship between the new device and the grouped devices by comparing the device information of the new device with the grouped device information, which helps the system to accurately identify the device group or user to which the new device belongs.

[0088] S403, using the known device location information, using a distance calculation method to calculate the distance between the new IoT device and the grouped IoT devices, that is, calculating the distance data between each grouped IoT device and the new IoT device;

[0089] In this step, the known device location information is used to calculate the distance between the new device and the grouped devices using the distance calculation method. This can help the system measure the physical distance between devices and provide basic data for subsequent device management and grouping suggestions.

[0090] S404: Determine which grouped IoT devices are closest to the new IoT device based on the calculation result, and find out the IoT device or IoT device group with the shortest distance.

[0091] According to the calculation results, the present invention determines which grouped devices the new IoT device is closest to, and finds the IoT device or device group with the shortest distance. By determining the closest device, a more accurate grouping suggestion can be provided for the newly connected new IoT device.

[0092] In the embodiment of the present invention, by automatically matching device relationships and calculating device distances, the association relationship between devices can be managed intelligently to improve the user experience. By determining the grouped IoT device that is closest to the new IoT device, a more accurate grouping suggestion can be given, the response speed of the grouping suggestion can be increased, and the real-time performance and efficiency of the system can be improved.

[0093] For example, in the smart office system, an employee brings a new smartphone into the office area. When the smartphone is scanned and added to the IoT platform, the present invention calculates the distance between the new smartphone and each device based on the known grouped device information in the office area. When it is found that the closest device is the smart workbench device located on the employee's desk, it is more convenient to provide more accurate grouping suggestions for the newly connected new IoT devices.

[0094] Step S500: generating a grouping suggestion for the new IoT device according to distance judgment information between the new IoT device and the grouped IoT devices, grouping information of the grouped IoT devices, and grouping habits of the user;

[0095] In this step, a grouping suggestion may be generated based on the grouping information and device type of the IoT devices within a predetermined range from the new IoT device, the device type of the current new IoT device, and the user's existing grouping information.

[0096] In the embodiment of the present invention, after collecting the distance information between the new device and the grouped devices, it will be analyzed and compared in combination with the known device grouping information and the user's grouping habits. By comparing the distance between the new device and the devices in different groups, it can be inferred that the new device may be most matched or most related to the group of the nearest IoT device. In this way, a grouping suggestion for the new device can be generated so that the new device can be included in the appropriate device group, realizing intelligent and personalized device management and control.

[0097] Furthermore, the step S500 specifically includes:

[0098] S501, obtaining distance judgment information between the new IoT device and the grouped IoT devices, and finding the IoT device or IoT device group with the shortest distance to the new IoT device;

[0099] In this step, the distance information of the new IoT device is compared with the grouped IoT devices to find the device or device group closest to the new IoT device. This helps determine the most relevant device group that the new IoT device may belong to, providing basic data for subsequent grouping recommendations.

[0100] S502, obtaining the grouping information of the collected grouped IoT devices, including the name of the group to which the IoT device belongs and the device information included in the group;

[0101] In this step, the grouping information of the collected grouped devices is obtained, including the name of the group to which the device belongs and the device information in the group. This can help understand the specific situation of each device group and provide necessary information for generating grouping suggestions.

[0102] S503, obtaining the user's grouping habits, including the user's preference for different types of devices and the user's demand for device linkage;

[0103] In this step, the user's grouping habits are obtained, including the user's preference for different types of devices, the need for device linkage, etc. This helps to generate personalized grouping suggestions based on user habits and preferences, and improve user experience.

[0104] S504: Based on the distance judgment information between the new IoT device and the grouped devices, the grouping information and the user's grouping habits, an algorithm or rule is used to generate a grouping suggestion for the new device; the grouping suggestion includes a recommended group name, related device information and a grouping reason.

[0105] In this refinement step, based on the distance information between the new IoT device and the grouped devices, the grouping information and the user's grouping habits, an algorithm or rule is used to generate grouping suggestions for the new device. The grouping suggestions may include a recommended group name, related device information and grouping reasons to help users better manage devices.

[0106] For example, when a smart lighting system is in place, the user already has multiple lamps divided into living room groups and bedroom groups. When a new smart lamp is introduced, the present invention finds out through distance judgment information that the new device is closest to the lamps in the living room group. Combining the user's grouping habits and existing grouping information, the present invention can generate a grouping suggestion that suggests adding the new lamp to the living room group, and explain that it is mainly used in the living room, which is convenient for users to quickly use and control it.

[0107] For example, in a smart home system, a user buys a new smart audio device. The present invention finds out through step S501 that the closest device is the smart TV in the living room, and according to step S502, it is learned that the living room has been grouped into an "entertainment area", which includes TV, audio and other devices. The user's grouping habits show that they like to set up device linkage in the entertainment area. Then according to step S504, the present invention will generate a grouping suggestion to classify the new audio device as the "entertainment area" and recommend linkage with the smart TV to provide a more convenient home entertainment experience.

[0108] It can be seen that in the steps of this embodiment, the grouping suggestions are generated according to the distance between devices and user habits, which can improve the intelligent level of IoT device management. In addition, personalized grouping suggestions are generated according to user preferences to improve user experience and satisfaction. Moreover, the present invention generates grouping suggestions through algorithms or rules, which can improve the efficiency and accuracy of device management and control.

[0109] Step S600: issuing the grouping suggestion through the Internet of Things platform, and automatically grouping the new Internet of Things devices based on the confirmed grouping suggestion.

[0110] In the embodiment of the present invention, when a grouping suggestion is generated in the above steps, the generated grouping suggestion can be sent through the IoT platform for the user to select and confirm. The user can confirm whether to agree with the grouping suggestion through the IoT platform. If the user agrees, the present invention will apply the confirmed grouping suggestion to the new IoT device and automatically perform grouping operations on the new IoT device. This helps to simplify the process of user management of devices and improve the efficiency of device management.

[0111] For example, continuing with the above example, when the IoT platform receives the generated grouping suggestion, it automatically groups the new smart audio device into the "entertainment area" according to the grouping suggestion confirmed by the user. In this way, the user does not need to operate manually, and the present invention automatically realizes the grouping management of the device, thereby improving the convenience of device management.

[0112] It can be seen that the present invention automatically sends grouping suggestions through the Internet of Things platform to achieve automatic grouping of new devices, reducing the burden of manual operations on users. And through automatic grouping operations, unified management of devices is achieved, reducing the difficulty of users managing multiple devices. The present invention can also reduce user interaction, quickly add new devices to appropriate device groups, and improve the grouping efficiency of devices accessing the Internet of Things platform.

[0113] Based on the above embodiment, the present invention further describes in detail an automatic grouping processing method based on Internet of Things devices of the present invention through a specific application embodiment:

[0114] like Figure 2 As shown, an automatic grouping processing method based on Internet of Things devices in this specific application embodiment includes the following steps:

[0115] Step S10, start, and proceed to step S11;

[0116] Step S11: The newly connected IoT device (referred to as: new IoT device) completes network configuration and proceeds to step S12;

[0117] That is, in the embodiment of the present invention, the user can complete the relevant network configuration and device access work of the device (that is, add the device to the corresponding IOT platform) according to the process specification of the Internet of Things (IOT) platform to which it belongs.

[0118] Step S12: The new IoT device is connected to the IoT platform, and the process proceeds to step S13;

[0119] Step S13: Check whether the new IoT device is configured with grouping information. If yes, proceed to step S14; if no, proceed to step S15;

[0120] In this specific embodiment, after a new device is connected to the Internet of Things platform, if the device is not configured with group information, the scanning mode of the Bluetooth and Wi-Fi modules is automatically started, and the scanning results are uploaded to the corresponding IOT platform; if it is already configured, no subsequent operations are performed.

[0121] Step S14, end;

[0122] Step S15, the device starts scanning and proceeds to step S16;

[0123] Step S16: reporting the scanning result to the Internet of Things (IOT) platform, and proceeding to step S17;

[0124] Step S17, the Internet of Things (IOT) platform generates grouping suggestions according to preset rules, and proceeds to step S18;

[0125] In this specific embodiment, based on the scanning results and the device information of the corresponding user, it is determined which existing devices are close to the newly connected device, and a grouping suggestion for the new device is generated based on the grouping information of the existing devices and the grouping habits of the user.

[0126] In this specific application embodiment, grouping suggestions can be generated based on the grouping information and device types of devices near the current device, the device type of the current device, and the user's existing grouping information. For example, if the current device is a switch, and a ceiling lamp is found nearby, and the ceiling lamp is in the "bedroom 1" group, then a "bedroom 1" grouping suggestion is generated.

[0127] Step S18: The Internet of Things (IOT) platform sends grouping suggestions to the user, and then proceeds to step S19;

[0128] Step S19, detecting whether the user chooses to agree, if the user chooses not to agree, the control proceeds to step S20, if the user chooses to agree, the control proceeds to step S21;

[0129] Step S20: The IoT device maintains the original default grouping and proceeds to step S22;

[0130] Step S21, the IoT devices are automatically grouped according to the grouping suggestion, and the process proceeds to step S22;

[0131] In this specific application embodiment, the Internet of Things (IOT) platform sends grouping suggestions to the user's mobile phone app or other control terminals. If the user chooses to agree to the suggestion, the devices will be completely and automatically grouped.

[0132] Step S22, end.

[0133] In the embodiment of the present invention, the location information sensed by the devices is used to determine whether multiple devices are in the same area, thereby generating grouping suggestions. The user can quickly group the devices through the grouping suggestions, thereby reducing the time required for group configuration.

[0134] Exemplary Devices

[0135] like Figure 3 As shown, an embodiment of the present invention provides an automatic grouping processing device based on an Internet of Things device, the device comprising:

[0136] The presetting module 310 is used to pre-set the grouping rules of each IoT device; pre-acquire the device information and grouping information of the grouped IoT devices; and pre-acquire the grouping habits of users of the corresponding IoT platform;

[0137] An access detection module 320 is used to perform real-time detection of new IoT devices connected to the IoT;

[0138] The group information detection module 330 is used to further detect whether the new IoT device has configuration group information when a new IoT device is detected to be connected to the IoT platform;

[0139] An information scanning module 340 is set to control the automatic start of the Bluetooth and Wi-Fi modules to scan the device information of the new IoT device when the new IoT device is not configured with group information, and upload the scanning result to the corresponding IoT platform;

[0140] The judgment module 350 is used to judge which grouped IoT devices are closest to the new IoT device according to the scanned device information of the new IoT device and the device information of the corresponding IoT platform user;

[0141] The grouping suggestion processing module 360 ​​is used to generate a grouping suggestion for the new IoT device according to the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user;

[0142] The automatic grouping control module 370 is used to issue the grouping suggestion through the Internet of Things platform, and automatically group the new Internet of Things devices based on the confirmed grouping suggestion, as described above.

[0143] Based on the above embodiments, the present invention further provides an Internet of Things device, whose principle block diagram can be shown as follows: Figure 4 As shown. The Internet of Things device can be a stress test server for Internet production environment stress testing, including a processor, a memory, a network interface, a display screen, and a database connected through a system bus. Among them, the processor of the Internet of Things device is used to provide computing and control capabilities. The memory of the Internet of Things device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the Internet of Things device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an automatic grouping processing method based on the Internet of Things device is implemented. The database of the Internet of Things device is used to store an automatic grouping processing program based on the Internet of Things device.

[0144] Those skilled in the art will understand that Figure 4 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the Internet of Things device to which the solution of the present invention is applied. The specific Internet of Things device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0145] In one embodiment, an Internet of Things device is provided, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations:

[0146] Real-time detection of new IoT devices connected to the IoT;

[0147] When a new IoT device is detected to be connected to the IoT platform, further detecting whether the new IoT device has configuration group information;

[0148] When the new IoT device is not configured with group information, the control automatically starts the Bluetooth and Wi-Fi modules to scan the device information of the new IoT device, and uploads the scan results to the corresponding IoT platform;

[0149] According to the scanned device information of the new IoT device and the device information of the corresponding IoT platform user, determine which grouped IoT devices are closest to the new IoT device;

[0150] Generate a grouping suggestion for the new IoT device based on distance judgment information between the new IoT device and the grouped IoT devices, as well as grouping information of the grouped IoT devices and grouping habits of the user;

[0151] The grouping suggestion is issued through the Internet of Things platform, and the new Internet of Things devices are automatically grouped based on the confirmed grouping suggestion, as described above.

[0152] The step of performing real-time detection on new IoT devices connected to the IoT includes:

[0153] Pre-set grouping rules for each IoT device.

[0154] The step of performing real-time detection on new IoT devices connected to the IoT includes:

[0155] Pre-acquire device information and group information of grouped IoT devices;

[0156] And obtain the grouping habits of users of the corresponding Internet of Things platform in advance.

[0157] The step of generating a grouping suggestion for the new IoT device according to the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user comprises:

[0158] A grouping suggestion is generated based on the grouping information and device type of the IoT devices within a predetermined range from the new IoT device, the device type of the current new IoT device, and the user's existing grouping information.

[0159] Wherein, when a new IoT device is detected to be connected to the IoT platform, the step of further detecting whether the new IoT device has configuration group information includes:

[0160] When it is detected that a new IoT device is connected to the IoT platform, and it is detected that the new IoT device has configuration group information, control is performed to join the IoT group according to the configured group information.

[0161] The step of determining which grouped IoT devices are closest to the new IoT device based on the scanned device information of the new IoT device and the device information of the corresponding IoT platform user also includes:

[0162] Obtain device information of scanned new IoT devices, including device type, device ID, and device location information; and collect device information of grouped IoT devices, including device type, device ID, and device location information;

[0163] Matching the device information of the new IoT device with the device information of the grouped IoT devices to determine the association relationship between the new IoT device and the grouped IoT devices;

[0164] Using the known device location information, a distance calculation method is used to calculate the distance between the new IoT device and the grouped IoT devices, that is, to calculate the distance data between each grouped IoT device and the new IoT device;

[0165] According to the calculation results, determine which grouped IoT devices the new IoT device is closest to, and find out the IoT device or IoT device group with the shortest distance.

[0166] The step of generating a grouping suggestion for the new IoT device according to the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user comprises:

[0167] Obtaining information on the distance between the new IoT device and the grouped IoT devices, and finding the IoT device or IoT device group with the shortest distance to the new IoT device;

[0168] Obtain the grouping information of the collected grouped IoT devices, including the name of the group to which the IoT device belongs and the device information contained in the group;

[0169] Obtain users’ grouping habits, including their preferences for different types of devices and their needs for device linkage;

[0170] Based on the distance judgment information between the new IoT device and the grouped devices, the grouping information and the user's grouping habits, an algorithm or rule is used to generate a grouping suggestion for the new device; the grouping suggestion includes a recommended group name, related device information, and a reason for grouping, as described above.

[0171] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0172] In summary, the present invention provides an automatic grouping processing method, device, Internet of Things device and storage medium based on Internet of Things devices. The present invention proposes an automatic device grouping method, which uses the Bluetooth and wifi modules of the Internet of Things devices to discover surrounding Internet of Things devices and report relevant data to the Internet of Things platform. The platform generates device grouping suggestions for users based on preset rules. After the user agrees to the grouping suggestion, the device grouping can be automatically implemented, thereby greatly reducing the user workload of device grouping, allowing users to better experience the convenient life experience brought by the Internet of Things.

Claims

1. An automatic grouping processing method based on Internet of Things devices, characterized in that: include: Real-time detection of new IoT devices connected to the IoT; When a new IoT device is detected to be connected to the IoT platform, further detecting whether the new IoT device has configuration group information; When the new IoT device is not configured with group information, the control automatically starts the Bluetooth and Wi-Fi modules to scan the device information of the new IoT device, and uploads the scan results to the corresponding IoT platform; According to the scanned device information of the new IoT device and the device information of the corresponding IoT platform user, determine which grouped IoT devices are closest to the new IoT device; Generate a grouping suggestion for the new IoT device based on distance judgment information between the new IoT device and the grouped IoT devices, as well as grouping information of the grouped IoT devices and the grouping habits of the user; The grouping suggestion is issued through the Internet of Things platform, and the new Internet of Things devices are automatically grouped based on the confirmed grouping suggestion.

2. The automatic grouping processing method based on Internet of Things devices according to claim 1 is characterized in that: The step of performing real-time detection on new IoT devices connected to the IoT previously includes: Pre-set grouping rules for each IoT device.

3. The automatic grouping processing method based on Internet of Things devices according to claim 1 is characterized in that: The step of performing real-time detection on new IoT devices connected to the IoT previously includes: Pre-acquire device information and group information of grouped IoT devices; And obtain the grouping habits of users of the corresponding Internet of Things platform in advance.

4. The automatic grouping processing method based on Internet of Things devices according to claim 1 is characterized in that: The step of generating a grouping suggestion for the new IoT device according to the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user comprises: A grouping suggestion is generated based on the grouping information and device types of the IoT devices within a predetermined range from the new IoT device, the device type of the current new IoT device, and the user's existing grouping information.

5. The automatic grouping processing method based on Internet of Things devices according to claim 1 is characterized in that: When a new IoT device is detected to be connected to the IoT platform, the step of further detecting whether the new IoT device has configuration group information includes: When it is detected that a new IoT device is connected to the IoT platform, and it is detected that the new IoT device has configuration group information, control is performed to join the IoT group according to the configured group information.

6. The automatic grouping processing method based on Internet of Things devices according to claim 1 is characterized in that: The step of determining which grouped IoT devices are closest to the new IoT device based on the scanned device information of the new IoT device and the device information of the corresponding IoT platform user also includes: Obtain device information of scanned new IoT devices, including device type, device ID, and device location information; and collect device information of grouped IoT devices, including device type, device ID, and device location information; Matching the device information of the new IoT device with the device information of the grouped IoT devices to determine the association relationship between the new IoT device and the grouped IoT devices; Using the known device location information, a distance calculation method is used to calculate the distance between the new IoT device and the grouped IoT devices, that is, to calculate the distance data between each grouped IoT device and the new IoT device; According to the calculation results, determine which grouped IoT devices the new IoT device is closest to, and find out the IoT device or IoT device group with the shortest distance.

7. The automatic grouping processing method based on Internet of Things devices according to claim 1 is characterized in that: The step of generating a grouping suggestion for the new IoT device according to the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user comprises: Obtaining distance judgment information between the new IoT device and the grouped IoT devices, and finding the IoT device or IoT device group with the shortest distance to the new IoT device; Obtain the grouping information of the collected grouped IoT devices, including the name of the group to which the IoT device belongs and the device information contained in the group; Obtain users’ grouping habits, including their preferences for different types of devices and their needs for device linkage; Based on the distance judgment information between the new IoT device and the grouped devices, the grouping information and the user's grouping habits, an algorithm or rule is used to generate a grouping suggestion for the new device; the grouping suggestion includes a recommended group name, related device information, and a reason for grouping.

8. An automatic grouping processing device based on Internet of Things devices, characterized in that: The device comprises: A pre-setting module is used to pre-set the grouping rules of each IoT device; pre-acquire the device information and grouping information of the grouped IoT devices; and pre-acquire the grouping habits of users of the corresponding IoT platform; Access detection module, used to detect new IoT devices connected to the IoT in real time; A grouping information detection module is used to further detect whether a new IoT device has configuration grouping information when a new IoT device is detected to be connected to the IoT platform; An information scanning module is set to control the automatic start of the Bluetooth and Wi-Fi modules to scan the device information of the new IoT device when the new IoT device is not configured with group information, and upload the scanning results to the corresponding IoT platform; A judgment module, used to judge which grouped IoT devices are closest to the new IoT device based on the scanned device information of the new IoT device and the device information of the corresponding IoT platform user; A grouping suggestion processing module, used to generate a grouping suggestion for the new IoT device based on the distance judgment information between the new IoT device and the grouped IoT devices, the grouping information of the grouped IoT devices and the grouping habits of the user; The automatic grouping control module is used to send the grouping suggestion through the Internet of Things platform and automatically group the new Internet of Things devices based on the confirmed grouping suggestion.

9. An Internet of Things device, characterized in that: The device comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include being used to execute the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as described in any one of claims 1 to 7.