Device binding management method, system, storage medium, and electronic device

CN121441664BActive Publication Date: 2026-08-18QINGDAO HAIER TECH +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511457119.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-13
Publication Date
2026-08-18
Estimated Expiration
2045-10-13

AI Technical Summary

Technical Problem

[0004]本申请提供一种设备绑定管理方法、系统、存储介质及电子装置,用以解决现有技术中在家庭创建者未知的情况下增加和删除设备以致严重影响家庭安全的缺陷,构建一个相对安全、高效且用户友好的设备绑定机制,增强整个智能家居系统的安全性

Benefits of technology

[0013] This application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the device binding management method as described above through the computer program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121441664B_ABST
    Figure CN121441664B_ABST
Patent Text Reader

Abstract

The application discloses a device binding management method, system, storage medium and electronic device, relates to the technical field of smart home / smart home, and discloses a device binding management method, which comprises the following steps: scanning devices in a target smart home network, and determining device types based on the discovered devices; obtaining management authority of a corresponding user based on the device types being high-security devices; wherein the high-security devices are used to represent devices related to personal privacy, property security or public security, and the management authority is used to represent the authority of the user to add, delete or modify the target smart home binding devices; and when it is determined that the management authority is a creator authority, the device is bound to the target smart home. The application solves the problem that the addition and deletion of devices seriously affect home security in the case that the home creator is unknown, and enhances the security of the entire smart home system by constructing a relatively safe, efficient and user-friendly device binding mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home / intelligent home technology, and in particular to a device binding management method, system, storage medium and electronic device. Background Technology

[0002] With the development of smart home technology, more and more smart home devices are being connected to smart home management platforms. As the number of devices increases, it becomes more and more difficult for users to control these electronic products.

[0003] Currently, the management of smart home devices is mainly achieved by creating a smart home, which uses Internet of Things (IoT) technology to connect various smart devices, sensors, and systems within the home, forming a unified management system. However, this method generally allows others to join the smart home created by the user, which can easily lead to the addition and deletion of devices without the knowledge of the home creator. This can result in some high-security devices, such as cameras, being arbitrarily controlled by multiple administrators, posing certain security risks and seriously affecting the security of the home. Summary of the Invention

[0004] This application provides a device binding management method, system, storage medium, and electronic device to address the shortcomings of existing technologies that allow devices to be added or removed without the knowledge of the home creator, thus seriously affecting home security. It constructs a relatively safe, efficient, and user-friendly device binding mechanism to enhance the security of the entire smart home system.

[0005] This application provides a device binding management method, including: scanning devices in a target smart home network and determining the device type based on the discovered devices; obtaining management permissions for the corresponding user based on the device type being a high-security device; wherein, a high-security device is used to represent a device related to personal privacy, property security, or public safety, and management permissions are used to represent the user's permissions to add, delete, or modify devices bound to the target smart home; when the management permissions are determined to be creator permissions, the device is bound to the target smart home.

[0006] According to the device binding management method provided in this application, based on device discovery, the device type is determined, including: based on device discovery, sending a device resource acquisition request to the device and receiving device resource information returned by the device; wherein, the device resource information is used to characterize the resources that the device can access and utilize in the network; performing structured processing on the device resource information to obtain a feature vector, and using a device classification model to predict the device type to obtain a predicted device type; based on the predicted device type and combined with a preset device rule base, determining that the corresponding device type is a high-security device; wherein, the preset device rule base is used to define the device type belonging to high-security devices.

[0007] According to the device binding management method provided in this application, based on the device prediction type and combined with a preset device rule base, the corresponding device type is determined to be a high-security device, including: matching the device prediction type with the preset device rule base for similarity, selecting the maximum similarity, and combining the confidence obtained when predicting the device type using a device classification model to perform a comprehensive score to obtain a comprehensive confidence score; when the comprehensive confidence score is greater than a preset confidence threshold, the corresponding device type is determined to be a high-security device.

[0008] According to the device binding management method provided in this application, binding a device to a target smart home includes: converting device resource information into a preset standardized format corresponding to the target smart home, and generating a reporting request based on user management permissions, and sending the reporting request to the target smart home; receiving response information returned by the target smart home, extracting binding credentials from the response information, and sending the extracted binding credentials to the device so that the device can bind to the target smart home based on the binding credentials; wherein, the binding credentials are used to represent the information of the authorized user binding the device to the target smart home, and the binding credentials are generated by the target smart home based on the reporting request and packaged into response information and returned.

[0009] According to the device binding management method provided in this application, after determining the device type, the method further includes: obtaining the device status based on the device type being a non-high-security device; wherein, the device status is a comprehensive identifier indicating whether the target smart home shares the device, whether it has been bound before, and its current online / offline status; if the device status is determined to be a shared device, binding the device to the target smart home; if the device status is determined to be an offline network-configured device, obtaining the smart home information corresponding to the offline network-configured device; wherein, the offline network-configured device is used to characterize a device that has been bound to the target smart home but is offline due to network connection problems; based on the smart home information, if it is determined that the smart home bound to the offline network-configured device is consistent with the target smart home, obtaining the management permissions of the corresponding user; if it is determined that the management permissions are creator permissions or administrator permissions, binding the device to the target smart home.

[0010] According to the device binding management method provided in this application, after obtaining the management permissions of the corresponding user, the method includes: when it is determined that the management permissions are not the creator's permissions, issuing a permission insufficient reminder and making a temporary record locally or in the cloud; wherein, the temporary record is used to record the information of the discovered high-security devices and the situation where the corresponding user's management permissions are insufficient.

[0011] According to a device binding management method provided in this application, scanning devices in a target smart home network includes: obtaining Internet Protocol (IP) addresses, and determining the target smart home network range and the IP address range to be scanned based on the IP addresses; sending Internet Message Control Protocol (ICP) echo requests to each IP address within the target smart home network range based on the target smart home network range and the IP address range to be scanned, and identifying devices that respond to the ICP echo requests as discovered devices; and / or performing Address Resolution Protocol (ARP) scanning on each IP address within the target smart home network range based on the target smart home network range and the IP address range to be scanned, and obtaining scanning results; checking the local ARP cache or listening for ARP responses, and comparing them with the scanning results, and determining that a device exists in the local ARP cache but not in the scanning results, thus obtaining a target device; and determining that the target device exists in a previously obtained historical binding record, then designating the target device as a discovered device.

[0012] This application also provides a device binding management system, including: a device discovery module, which scans devices in a target smart home network and determines the device type based on the discovered devices; an access control module, which obtains management permissions for the corresponding user based on the device type being a high-security device; wherein, a high-security device is used to represent a device related to personal privacy, property security, or public safety, and management permissions are used to represent the user's permissions to add, delete, or modify devices bound to the target smart home; and a binding management module, which binds the device to the target smart home when the management permissions are determined to be creator permissions.

[0013] This application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the device binding management method as described above through the computer program.

[0014] This application also provides a computer-readable storage medium comprising a stored program, wherein the program, when executed, implements any of the device binding management methods described above.

[0015] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the device binding management method as described above.

[0016] The device binding management method, system, storage medium, and electronic device provided in this application actively search for potential smart devices in the target smart home network by scanning devices, improving the visibility of new or forgotten devices. Device type identification helps to initially determine the device type, facilitating different processing logics and security strategies for specific device types. Furthermore, it links device type with user management permissions, forming a binding management mechanism based on permissions and type. This enhances the security of the entire smart home system. When a device is identified as high-security, binding is only performed after confirming the user has creator permissions, ensuring the authorization and security of the binding behavior. This constructs a relatively secure, efficient, and user-friendly device binding mechanism. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the hardware environment for a device binding management method according to an embodiment of this application; Figure 2 This is one of the flowcharts illustrating the device binding management method provided in this application; Figure 3 This is the second flowchart illustrating the device binding management method provided in this application; Figure 4 This is a schematic diagram of the device binding management system provided in this application; Figure 5 This is a schematic diagram of the electronic device provided in this application. Detailed Implementation

[0020] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0021] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0022] According to one aspect of the embodiments of this application, a device binding management method is provided. This device binding management method is widely used in whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and intelligence house ecosystems. Optionally, in this embodiment, the above-mentioned device binding management method can be applied to, for example... Figure 1 The hardware environment shown consists of terminal device 102 and server 104. For example... Figure 1 As shown, server 104 is connected to terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for server 104.

[0023] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. The terminal device 102 may not be limited to PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projector, smart TV, smart clothes rack, smart curtains, smart audio-visual equipment, smart socket, smart speaker, smart speaker box, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart robot vacuum cleaner, smart window cleaning robot, smart mopping robot, smart air purifier, smart steam oven, smart microwave oven, smart water heater, smart air purifier, smart water dispenser, smart door lock, etc.

[0024] Figure 2A flowchart illustrating a device binding management method is shown, which includes: S21, Scan for devices in the target smart home network and determine the device type based on the discovered devices; S22, based on the device type being a high-security device, obtain the corresponding user's management permissions; whereby, a high-security device is used to represent a device related to personal privacy, property security, or public safety, and management permissions are used to represent the user's permissions to add, delete, or modify the target smart home bound devices; S23, when the management permission is determined to be the creator permission, bind the device to the target smart home.

[0025] It should be noted that the execution subject of this method is the user terminal, such as the user's application (App), etc., without further limitation here. The step numbers "S21-S23" in this manual do not represent the order of device binding management; the specific steps will be explained below. Figure 3 The device binding management method of the present invention is described.

[0026] Step S21: Scan the devices in the target smart home network and determine the device type based on the discovered devices.

[0027] In this embodiment, scanning devices in a target smart home network includes: obtaining Internet Protocol (IP) addresses and determining the target smart home network range and the IP address range to be scanned based on the IP addresses; sending Internet Control Message Protocol (ICMP) Echo Requests to each IP address within the target smart home network range and the IP address range to be scanned, and identifying devices that respond to the ICMP Echo Requests as discovered devices; and / or performing Address Resolution Protocol (ARP) scans on each IP address within the target smart home network range and the IP address range to be scanned to obtain scan results; checking the local ARP cache or listening for ARP responses and comparing them with the scan results, and determining that a device exists in the local ARP cache but not in the scan results, thus obtaining a target device; and determining that the target device exists in a previously acquired historical binding record, then designating the target device as a discovered device.

[0028] It should be noted that when sending Internet Control Message Echo (ICM) requests to each IP address within the target smart home network, a multi-threaded / asynchronous approach can be used to send the ICM requests to identify online devices and improve device identification efficiency. Furthermore, even if a device does not respond to the ICM request, its MAC address may still appear in the ARP cache as long as the device has been active on the local network segment. Therefore, by checking the local Address Resolution Protocol (ARP) cache or listening for ARP responses and comparing them with scan results and historical binding records, devices that were previously bound but are now offline can be identified.

[0029] In one optional embodiment, determining the device type based on device discovery includes: sending a device resource acquisition request to the device and receiving device resource information returned by the device; wherein the device resource information is used to characterize the resources that the device can access and utilize in the network; performing structured processing on the device resource information to obtain a feature vector, and using a device classification model to predict the device type to obtain a predicted device type; and determining the corresponding device type as a high-security device based on the predicted device type and a preset device rule base; wherein the preset device rule base is used to define the device types belonging to high-security devices.

[0030] It should be added that the device classification model can be trained on pre-labeled device data. The model can be selected according to actual design requirements, such as gradient boosting trees, or clustering algorithms can be used to group similar devices together, followed by labeling and refinement. Additionally, the preset device rule base can include specific device types, corresponding brands and models, and keywords extracted from the devices. These can be set according to actual design requirements; for example, a specific device type could be a camera, etc., without further limitations here.

[0031] Specifically, based on the predicted device type and a preset device rule base, the corresponding device type is determined to be a high-security device. This includes: matching the predicted device type with the preset device rule base for similarity, selecting the maximum similarity, and combining the confidence score obtained when predicting the device type using the device classification model to obtain a comprehensive score; when the comprehensive confidence score is greater than a preset confidence threshold, the corresponding device type is determined to be a high-security device.

[0032] It should be added that the comprehensive score can use a weighted summation or a more complex function, which can be selected according to the actual design requirements, and no further restrictions are made here.

[0033] In one alternative embodiment, reference Figure 3After determining the device type, the process includes: Based on the device type being a non-high-security device, obtaining the device status; where the device status is a comprehensive identifier indicating whether the target smart home shares the device, whether it has ever been bound, and its current online / offline status; if the device status is determined to be a shared device, binding the device to the target smart home; if the device status is determined to be an offline network-configured device, obtaining the smart home information corresponding to the offline network-configured device; where an offline network-configured device represents a device that has been bound to the target smart home but is offline due to network connectivity issues; based on the smart home information, if it is determined that the smart home bound to the offline network-configured device matches the target smart home, obtaining the corresponding user's management permissions; if the management permissions are determined to be creator permissions or administrator permissions, binding the device to the target smart home.

[0034] It should be added that the method also includes: discarding the device when it is determined that the smart home bound to the offline configuration device is inconsistent with the target smart home, or when it is determined that the management permission is neither the creator permission nor the administrator permission.

[0035] Step S22: Based on the device type being a high-security device, obtain the corresponding user's management permissions; wherein, a high-security device is used to represent a device related to personal privacy, property security, or public safety, and management permissions are used to represent the user's permissions to add, delete, or modify the target smart home bound devices.

[0036] In one optional embodiment, after obtaining the corresponding user's management permissions, the process includes: when it is determined that the management permissions are not creator permissions, issuing a permission deficiency warning and making a temporary record locally or in the cloud; wherein, the temporary record is used to record the discovered high-security device information and the situation where the corresponding user's management permissions are insufficient.

[0037] It's important to note that the insufficient permissions warning can be configured to display specific information to the user. For example, it could indicate that a high-security device [device name / type] has been detected, requiring creator permissions for binding, and suggesting the user request to become the creator or contact the current creator. No further limitations are set here. The goal is to clearly inform the user of the reason and possible subsequent steps through a user-friendly interface, thereby maintaining system security and ensuring user understanding of the process. Furthermore, if the user does not attempt to bind again within a certain timeframe after receiving the insufficient permissions warning, the current process for the high-security device will be cancelled.

[0038] Step S23: When the management permission is determined to be the creator permission, bind the device to the target smart home.

[0039] In this embodiment, binding a device to a target smart home includes: converting device resource information into a preset standardized format corresponding to the target smart home, generating a reporting request based on user management permissions, and sending the reporting request to the target smart home; receiving response information returned by the target smart home, extracting a binding credential from the response information, and sending the extracted binding credential to the device so that the device can bind to the target smart home based on the binding credential; wherein, the binding credential is used to represent the information of an authorized user binding the device to the target smart home, and the binding credential is generated by the target smart home based on the reporting request and packaged into response information and returned.

[0040] It should be added that the binding credentials include a temporary token generated by the target smart home based on the reporting request and a configuration service address assigned to the device. After receiving the binding credentials, the device verifies them based on the temporary token, and if the verification is successful, it sets up the device according to the configuration service address to connect to the target home network and achieve device binding.

[0041] In addition, verification can include verifying signatures, checking validity periods, and / or comparing embedded device IDs to effectively prevent token abuse or theft by others, thereby improving the security of device binding.

[0042] In summary, this invention proactively searches for potential smart devices within a target smart home network by scanning for devices, improving the visibility of new or forgotten devices. Device type identification helps determine the initial device type, facilitating different processing logics and security strategies for specific device types. Furthermore, linking device type with user management permissions creates a permission- and type-based binding management mechanism, enhancing the security of the entire smart home system. When a device is identified as high-security, binding is only performed after confirming the user has creator permissions, ensuring the authorization and security of the binding action. This constructs a relatively secure, efficient, and user-friendly device binding mechanism.

[0043] The device binding management device provided in this application is described below. The device binding management device described below and the device binding management method described above can be referred to in correspondence.

[0044] Figure 4 A schematic diagram of a device binding management system is shown. The system includes: The device discovery module 41 scans for devices in the target smart home network and determines the device type based on the discovered devices; The permission acquisition module 42 acquires the corresponding user's management permissions based on the device type being a high-security device. Here, a high-security device is used to represent a device related to personal privacy, property security, or public safety, and management permissions are used to represent the user's permissions to add, delete, or modify the target smart home bound devices. When the management module 43 is bound and the management permission is determined to be the creator permission, the device will be bound to the target smart home.

[0045] In this embodiment, the device discovery module 41 includes: an address determination unit, which acquires Internet Protocol (IP) addresses and determines the target smart home network range and the IP address range to be scanned based on the IP addresses; a device identification unit, which sends Internet Control Message Protocol (ICMP) Echo Requests to each IP address within the target smart home network range and the IP address range to be scanned based on the target smart home network range and the IP address range to be scanned, and identifies devices that respond to the ICMP Echo Requests as discovered devices; and / or, a scanning unit, which performs Address Resolution Protocol (ARP) scanning on each IP address within the target smart home network range based on the target smart home network range and the IP address range to be scanned, and obtains scanning results; a device determination unit, which checks the local ARP cache or listens for ARP responses and compares them with the scanning results, and determines that if a device exists in the local ARP cache but not in the scanning results, it obtains the target device; and a device discovery unit, which determines that the target device exists in a previously acquired historical binding record, and then identifies the target device as a discovered device.

[0046] In an optional embodiment, the device discovery module 41 further includes: an information acquisition unit, which sends a device resource acquisition request to the device based on the discovered device, and receives device resource information returned by the device; wherein the device resource information is used to characterize the resources that the device can access and utilize in the network; a type prediction unit, which performs structured processing on the device resource information to obtain a feature vector, and uses a device classification model to predict the device type to obtain a predicted device type; and a device classification unit, which determines the corresponding device type as a high-security device based on the predicted device type and a preset device rule base; wherein the preset device rule base is used to define the device type belonging to high-security devices.

[0047] Specifically, the equipment classification unit includes: a scoring subunit, which matches the predicted equipment type with the preset equipment rule base for similarity, selects the maximum similarity, and combines it with the confidence obtained when the equipment classification model predicts the equipment type to perform a comprehensive score, thereby obtaining a comprehensive confidence score; and a type determination subunit, which determines that when the comprehensive confidence score is greater than a preset confidence threshold, the corresponding equipment type is determined to be a high-security equipment.

[0048] In an optional embodiment, the system further includes: a status acquisition module, which, after determining the device type, acquires the device status based on the device type being a non-high-security device; wherein, the device status is a comprehensive identifier indicating whether the target smart home shares the device, whether it has been bound, and its current online / offline status; a binding management module 43, which binds the device to the target smart home when the device status is determined to be a shared device; an information acquisition module, which acquires the smart home information corresponding to the offline network configuration device when the device status is determined to be an offline network configuration device; wherein, the offline network configuration device is used to characterize a device that has been bound to the target smart home but is offline due to network connection problems; an access control module 42, which, based on the smart home information, acquires the corresponding user's management permissions when it is determined that the smart home bound to the offline network configuration device is consistent with the target smart home; and a binding management module 43, which binds the device to the target smart home when the management permissions are determined to be creator permissions or administrator permissions.

[0049] In an optional embodiment, the system further includes: an alert module, which, after obtaining the management permissions of the corresponding user, issues an insufficient permission alert when it is determined that the management permissions are not the creator's permissions; and a recording module, which makes temporary records locally or in the cloud; wherein the temporary records are used to record information about high-security devices discovered and situations where the corresponding user's management permissions are insufficient.

[0050] The binding management module 43 includes: a reporting unit, which converts device resource information into a preset standardized format corresponding to the target smart home, generates a reporting request based on user management permissions, and sends the reporting request to the target smart home; and a credential acquisition binding unit, which receives the response information returned by the target smart home, extracts the binding credential from the response information, and sends the extracted binding credential to the device so that the device can bind to the target smart home based on the binding credential; wherein, the binding credential is used to represent the information of the authorized user binding the device to the target smart home, and the binding credential is generated by the target smart home based on the reporting request and packaged into the response information and returned.

[0051] In summary, this invention proactively searches for potential smart devices within a target smart home network by scanning for devices, improving the visibility of new or forgotten devices. Device type identification helps determine the initial device type, facilitating different processing logics and security strategies for specific device types. Furthermore, linking device type with user management permissions creates a permission- and type-based binding management mechanism, enhancing the security of the entire smart home system. When a device is identified as high-security, binding is only performed after confirming the user has creator permissions, ensuring the authorization and security of the binding action. This constructs a relatively secure, efficient, and user-friendly device binding mechanism.

[0052] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include a processor 510, a communications interface 520, a memory 530, and a communication bus 540. The processor 510, communications interface 520, and memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a device binding management method. This method includes: scanning devices in the target smart home network and determining the device type based on the discovered devices; obtaining management permissions for the corresponding user based on the device type being a high-security device; wherein, high-security devices are used to characterize devices related to personal privacy, property security, or public safety, and management permissions characterize the user's permissions to add, delete, or modify devices bound to the target smart home; when the management permissions are determined to be creator permissions, the device is bound to the target smart home.

[0053] Furthermore, the logical instructions in the aforementioned memory 530 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 this application, in essence, or the part that contributes to the prior art, or a portion 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 this application. 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.

[0054] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the device binding management method provided by the above methods. The method includes: scanning devices in the target smart home network and determining the device type based on the discovered devices; obtaining the corresponding user's management permissions based on the device type being a high-security device; wherein, high-security devices are used to characterize devices related to personal privacy, property security, or public safety, and management permissions are used to characterize the user's permissions to add, delete, or modify devices bound to the target smart home; when the management permissions are determined to be creator permissions, binding the device to the target smart home.

[0055] Furthermore, this application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the device binding management method provided by the above methods when it runs. The method includes: scanning devices in a target smart home network and determining the device type based on the discovered devices; obtaining management permissions for the corresponding user based on the device type being a high-security device; wherein the high-security device is used to characterize devices related to personal privacy, property security, or public safety, and the management permission is used to characterize the user's permission to add, delete, or modify devices bound to the target smart home; when the management permission is determined to be creator permission, the device is bound to the target smart home.

[0056] 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.

[0057] 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.

[0058] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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. Such 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 this application.

Claims

1. A device binding management method, characterized in that, include: Scan for devices in the target smart home network and determine the device type based on the discovered devices; Based on the fact that the device type is a high-security device, the corresponding user's management permissions are obtained; wherein, the high-security device is used to represent a device related to personal privacy, property security or public safety, and the management permissions are used to represent the user's permissions to add, delete or modify the target smart home bound devices; When the management permission is determined to be the creator permission, the device is bound to the target smart home; Based on the discovered devices, the device type is determined, including: Based on the discovered device, a device resource acquisition request is sent to the device, and device resource information returned by the device is received; wherein, the device resource information is used to characterize the resources that the device can access and utilize in the network; The equipment resource information is structured to obtain feature vectors, and the equipment type is predicted using the equipment classification model to obtain the predicted equipment type. Based on the predicted device type and combined with a preset device rule base, the corresponding device type is determined to be a high-security device; wherein, the preset device rule base is used to define the device types belonging to high-security devices; Based on the predicted device type and a pre-defined device rule base, the corresponding device type is determined to be a high-security device, including: The predicted device type is matched with a preset device rule base for similarity, the maximum similarity is selected, and a comprehensive score is obtained by combining the confidence score obtained when the device classification model predicts the device type. When the overall confidence score is greater than a preset confidence threshold, the corresponding device type is determined to be a high-security device.

2. The device binding management method according to claim 1, characterized in that, Binding the device to the target smart home includes: The device resource information is converted into a preset standardized format corresponding to the target smart home, and a reporting request is generated based on the user's management permissions. The reporting request is then sent to the target smart home. The system receives response information from the target smart home, extracts binding credentials from the response information, and sends the extracted binding credentials to the device so that the device can bind to the target smart home based on the binding credentials. The binding credentials are used to represent information that an authorized user binds the device to the target smart home, and the binding credentials are generated by the target smart home based on the reporting request and packaged into response information and returned.

3. The device binding management method according to claim 1, characterized in that, After determining the device type, the following is also included: Based on the fact that the device type is a non-high-security device, the device status is obtained; wherein, the device status is a comprehensive identifier indicating whether the target smart home shares the device, whether it has been bound, and its current online / offline status; When the device is determined to be a shared device, the device is bound to the target smart home. When the device status is determined to be an offline network configuration device, the smart home information bound to the offline network configuration device is obtained; wherein, the offline network configuration device is used to represent a device that has been bound to the target smart home but is in an offline state due to network connection problems; Based on the smart home information, when it is determined that the smart home bound to the offline configuration device is consistent with the target smart home, the management permissions of the corresponding user are obtained; When the management permission is determined to be either creator permission or administrator permission, the device is bound to the target smart home.

4. The device binding management method according to claim 1, characterized in that, After obtaining administrative privileges for the corresponding user, the following is included: When it is determined that the management permission is not the creator's permission, an insufficient permission reminder is issued, and a temporary record is made locally or in the cloud; wherein, the temporary record is used to record the information of the discovered high-security devices and the corresponding user's insufficient management permission.

5. The device binding management method according to claim 1, characterized in that, Scan for devices in the target smart home network, including: Obtain the Internet Protocol (IP) address, and determine the target smart home network range and the IP address range to be scanned based on the IP address; Based on the target smart home network range and the IP address range to be scanned, send an Internet Control Message Protocol (ICP-ACK) echo request to each IP address within the target smart home network range, and identify devices responding to the ICP-ACK requests as discovered devices; and / or, Based on the target smart home network range and the IP address range to be scanned, perform Address Resolution Protocol (ARP) scanning on each IP address within the target smart home network range to obtain the scanning results; Check the local address resolution protocol cache or listen for address resolution protocol responses and compare them with the scan results. If a device exists in the local address resolution protocol cache but does not exist in the scan results, the target device is obtained. If the target device is determined to exist in the previously acquired historical binding records, then the target device is considered as a device discovered during the scan.

6. A device binding management system, characterized in that, include: The device discovery module scans for devices in the target smart home network and determines the device type based on the discovered devices; The permission acquisition module, based on the device type being a high-security device, acquires the corresponding user's management permissions; wherein, the high-security device is used to represent a device related to personal privacy, property security, or public safety, and the management permissions are used to represent the user's permissions to add, delete, or modify the target smart home bound devices; When the management module determines that the management permission is the creator permission, it binds the device to the target smart home. The device discovery module includes: The information acquisition unit, based on the discovered device, sends a device resource acquisition request to the device and receives device resource information returned by the device; wherein, the device resource information is used to characterize the resources that the device can access and utilize in the network; The type prediction unit performs structured processing on the equipment resource information to obtain a feature vector, and uses the equipment classification model to predict the equipment type to obtain the predicted equipment type. The equipment classification unit determines the corresponding equipment type as a high-security equipment based on the predicted equipment type and a preset equipment rule base; wherein, the preset equipment rule base is used to define the equipment types belonging to high-security equipment. The equipment classification unit includes: The scoring subunit performs similarity matching between the predicted device type and the preset device rule base, selects the maximum similarity, and combines the confidence obtained when the device classification model predicts the device type to perform a comprehensive score, thereby obtaining a comprehensive confidence score. The type determination subunit determines that when the comprehensive confidence score is greater than a preset confidence threshold, the corresponding device type is determined to be a high-security device.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method of any one of claims 1 to 5.

8. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method of any one of claims 1 to 5 through the computer program.

Citation Information

Patent Citations

  • Security authentication method, security authentication device and security verification system

    CN105635094A

  • Data processing method and device for smart home, equipment and medium

    CN119583237A