Method, apparatus and computer-readable storage medium for securely binding smart devices

By introducing distance perception technology into smart devices, determining the perceived distance between users and devices and generating service set identifiers, the problems of inefficient binding of smart devices and insufficient security are solved, and a more efficient and secure distribution process is achieved.

CN118474754BActive Publication Date: 2025-04-04QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410660523.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2025-04-04
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

The existing smart device binding technology is inefficient and prone to misbinding, especially when there are a large number of devices and the lack of effective security mechanisms, which may lead to security problems.

Method used

By introducing distance perception as a prerequisite for distribution network, the WiFi perception module is controlled to perform distance perception, determine the target perception distance between the user and the smart device, and generate the service set identifier of the smart device based on this distance, ensuring that the distribution network operation can be performed only when the user is close.

Benefits of technology

It effectively prevents remote illegal binding or misbinding, significantly enhances the security of the distribution network process, reduces the complexity of user operations, improves the success rate of distribution network, and provides users with a smoother and more convenient user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118474754B_ABST
    Figure CN118474754B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of smart device binding, and discloses a method for securely binding smart devices, including: when determining that the WiFi sensing module enters the network configuration mode, controlling the WiFi sensing module to perform distance perception to obtain the target perception distance between the user and the smart device; determining the service set identifier of the smart device according to the target perception distance; controlling the smart device to broadcast the service set identifier so that the mobile device determines the smart device to be bound according to the received service set identifier; when receiving the network configuration instruction carrying binding information sent by the mobile device, controlling the smart device to perform network configuration according to the binding information. This solution effectively prevents the situation of erroneous binding, enhances the security of the network configuration process, reduces the complexity of user operations, and brings a smoother and more convenient user experience to the user. The present application also discloses a device and a computer-readable storage medium for securely binding smart devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart device binding, for example, to a method, apparatus and computer-readable storage medium for securely binding a smart device. Background Art

[0002] With the rapid development of Internet of Things technology and the popularity of smart homes, smart devices have become an indispensable part of modern families. Smart devices can be interconnected with mobile devices through wireless communication technologies such as WiFi and Bluetooth, providing users with a more convenient smart device experience. However, in the actual use of smart devices, binding connection technology still faces a series of challenges.

[0003] At present, smart devices mainly use traditional binding connection technologies, such as device ID recognition and Bluetooth pairing. However, when there are multiple smart devices on site, these traditional binding methods are often prone to misbinding. This not only affects the user experience, but also causes conflicts between smart devices and even causes security issues. At present, related technologies mainly rely on manual operations to avoid this. Users need to check the devices one by one on site and manually select the correct smart device for binding.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] Although the related technology can realize the binding of smart devices, it is inefficient, especially when there are a large number of smart devices, and incorrect binding is prone to occur.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method, an apparatus, and a computer-readable storage medium for securely binding a smart device, which can increase the security of the smart device binding operation and effectively avoid the occurrence of erroneous binding.

[0009] In some embodiments, the method for securely binding a smart device includes: when it is determined that the WiFi sensing module enters a network configuration mode, controlling the WiFi sensing module to perform distance perception to obtain a target perception distance between the user and the smart device; determining a service set identifier of the smart device based on the target perception distance; controlling the smart device to broadcast a service set identifier so that the mobile device determines the smart device to be bound according to the received service set identifier; and when a network configuration instruction carrying binding information is received from the mobile device, controlling the smart device to perform network configuration according to the binding information.

[0010] In some embodiments, the method for securely binding a smart device includes: obtaining a preset perception range; when the target perception distance is not within the preset perception range, using the original service set identifier as the service set identifier of the smart device; or, when the target perception distance is within the preset perception range, determining the service set identifier of the smart device based on the original service set identifier and the target perception distance.

[0011] In some embodiments, the method for securely binding a smart device includes: using the target perception distance as a suffix of an original service set identifier to generate a new service set identifier; and using the new service set identifier as the service set identifier of the smart device.

[0012] In some embodiments, the method for securely binding a smart device includes: determining whether the WiFi sensing module has entered a network configuration mode; if the WiFi sensing module has not entered a network configuration mode, controlling the WiFi sensing module to perform polling detection until the WiFi sensing module enters a network configuration mode.

[0013] In some embodiments, the method for securely binding a smart device includes: upon receiving a network configuration instruction carrying binding information sent by a mobile device, controlling the WiFi sensing module to stop distance sensing and exiting the network configuration mode; or, upon not receiving a network configuration instruction carrying binding information sent by the mobile device, controlling the WiFi sensing module to continue distance sensing until the smart device receives the network configuration instruction sent by the mobile device.

[0014] In some embodiments, the method for securely binding smart devices includes: when the mobile device displays a device self-discovery page, receiving service set identifiers broadcasted by multiple smart devices respectively; determining the smart device to be bound based on the service set identifiers broadcasted by the multiple smart devices respectively; and sending a network configuration instruction carrying binding information to the smart device to be bound, so that the target smart device can be configured according to the binding information.

[0015] In some embodiments, the method for securely binding smart devices includes: determining the distance value between each smart device and the mobile device based on the respective service set identifiers broadcast by multiple smart devices; using the smart device with the shortest distance from the mobile device as the smart device to be bound; wherein the suffix part of the service set identifier of the smart device is the distance value between the smart device and the mobile device.

[0016] In some embodiments, the method for securely binding smart devices includes: sorting the service set identifiers of each smart device to obtain a sorting result; and displaying the sorting result on a device self-discovery page for viewing by a user of the mobile device.

[0017] In some embodiments, the apparatus for securely binding a smart device includes: a processor and a memory storing program instructions, and the processor is configured to execute the aforementioned method for securely binding a smart device when running the program instructions.

[0018] In some embodiments, the computer-readable storage medium stores program instructions, and when the program instructions are executed, the computer is used to execute the aforementioned method for securely binding a smart device.

[0019] The method, apparatus, and computer-readable storage medium for securely binding a smart device provided by the embodiments of the present disclosure can achieve the following technical effects:

[0020] By introducing distance perception as a prerequisite for network configuration, it is ensured that network configuration operations can only be performed when the user is close to the smart device. This mechanism effectively prevents remote illegal binding or misbinding, and significantly enhances the security of the network configuration process. In addition, after the user is close to the smart device and meets the network configuration conditions, the mobile device can quickly determine the device to be bound based on the received service set identifier, so that the mobile device can complete the entire network configuration process by sending a network configuration instruction carrying binding information. The optimization of this process reduces the complexity of user operations, improves the success rate of network configuration, and brings users a smoother and more convenient user experience.

[0021] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0023] Figure 1 is a practical application diagram of a method for securely binding a smart device provided by an embodiment of the present disclosure;

[0024] Figure 2 is a schematic diagram of a method for securely binding a smart device provided by an embodiment of the present disclosure;

[0025] Figure 3 is a schematic diagram of a method for determining a service set identifier provided by an embodiment of the present disclosure;

[0026] Figure 4 is another schematic diagram of a method for securely binding a smart device provided by an embodiment of the present disclosure;

[0027] Figure 5 is a schematic diagram of a method for determining a smart device to be bound provided by an embodiment of the present disclosure;

[0028] Figure 6 It is a schematic diagram of a device for securely binding a smart device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0030] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0031] Unless otherwise stated, the term "plurality" means two or more.

[0032] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0033] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0034] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0035] In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.

[0036] In the embodiments of the present disclosure, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can directly communicate with the above-mentioned smart home appliances through Bluetooth, WiFi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.

[0037] It should be noted in advance that smart devices can be equipped with WiFi (Wireless Fidelity) sensing modules with human distance sensing technology, which can achieve high-precision human distance detection and ensure consistency of application layer usage under different hardware and software configurations.

[0038] This solution adopts a variety of technical strategies, including adaptation interface definition, SDK (Software Development Kit) modular design, and the design of perception distance callback interface, to achieve efficient, compatible and responsive human distance perception function.

[0039] Specifically, the smart device can define a WiFi sensing adaptation interface file. This file ensures the consistent use of different sensing technologies at the application layer by configuring parameters. Among them, the configurable parameters include: WiFi sensing hardware version, WiFi sensing software version, maximum effective sensing distance, sensing distance compensation coefficient, and environmental space initial reference coefficient.

[0040] Optionally, the WiFi-aware hardware version is used to identify the version information of the hardware environment, and may be in the format of Vxx.xx.xx. Wherein, V represents the version identifier, the first group of xx represents the major version number, which is released from small to large by two numbers; the second group of xx represents the minor version number, which is released from small to large by two numbers; the third group of xx is the sub-version number, which is released from small to large by two numbers. For example, the WiFi-aware hardware version is V00.01.11. In this way, the major version number, minor version number, and sub-version number can be recorded in detail.

[0041] Optionally, the WiFi sensing software version is used to identify different sensing algorithm versions, and the version number format is the same as the hardware version.

[0042] Optionally, the maximum effective sensing distance is the maximum distance range that can be detected with the WiFi sensing module as the center.

[0043] Optionally, the perception distance compensation coefficient is used to compensate for the influence of different installations and environments on the distance perception accuracy, and can be a calibration value obtained by factory calibration. In one example, the perception distance compensation coefficient has a value range of [0,1].

[0044] Optionally, the initial reference coefficient of the environmental space is a coefficient of influence of the environmental space size or obstacles on the detection distance detected and calibrated when the smart device is powered on and initialized.

[0045] Specifically, the smart device can modularly design the SDK. In this embodiment, in order to ensure the independence and maintainability of WiFi sensing technology, the WiFi sensing underlying driver and interface part can be encapsulated as an independent SDK package as a component of the Internet of Things software development kit. This layered modular architecture not only improves development efficiency, but also ensures the downward compatibility of the overall functions of the WiFi module. Through the SDK package, it is easy to split functions, perform dynamic OTA (Over-the-Air Technology) upgrades, and combine WiFi sensing adaptation interface files to achieve seamless integration of different WiFi sensing algorithms in application scenarios.

[0046] Specifically, smart devices can adopt the design pattern of perception distance callback interface. The callback interface is defined at the application layer, and the perception algorithm writes the calculated distance result back to the interface. Once a user approaches the smart device to be bound, the perception algorithm reports the perception result to the callback interface within its own response time, and the interface triggers the perception event task to perform specific binding business operations. This design pattern ensures that the response time differences between different perception technologies will not affect the application layer operations, and improves the overall response efficiency and stability of the system.

[0047] Figure 1 is a practical application diagram of a method for securely binding a smart device provided by an embodiment of the present disclosure; Figure 1 As shown, in the actual interaction process, on the smart device side: S101 / S301, smart device 1 and smart device 2 can both control the WiFi sensing module to perform distance sensing when entering the network configuration mode to obtain the target sensing distance between the user and each smart device. In this way, S102 / S302, smart device 1 and smart device 2 can respectively detect whether the target sensing distance is within the preset sensing range. S103 / S303, and in combination with their respective detection results, respectively determine the service set identifier of each smart device. Further, S104 / S304, each smart device can broadcast its own service set identifier to the mobile device so that the mobile device can perform subsequent confirmation work on the device to be bound. In this way, S105, when smart device 1 receives the network configuration instruction sent by the mobile device, smart device 1 can control the WiFi sensing module to stop distance sensing and perform network configuration according to the binding information carried by the network configuration instruction. S106, exit the network configuration mode after the network configuration is completed. On the other hand, S305, when smart device 2 does not receive the network configuration instruction sent by the mobile device, the WiFi sensing module can be controlled to continue distance perception until the network configuration instruction sent by the mobile device is received. On the mobile device side, S201, the mobile device can be controlled to enter the device self-discovery page of the application, and when receiving the service set identifier sent by multiple smart devices, S202, the smart device to be bound is determined according to the service set identifiers sent by the multiple smart devices. In this way, after determining that the smart device to be bound is smart device 1, S203, a network configuration instruction can be sent to smart device 1 so that smart device 1 can perform network configuration.

[0048] It can be understood that for the configuration event program design, in this embodiment, the important parameter configuration task initiated by the user can be associated with the sensing distance operation. That is, if the presence of a human body is detected within the preset sensing range, the configuration task initiated by the user this time is considered valid, and the configuration parameters are set accordingly. If the presence of a human body is not detected, the user will be reminded to move closer to the device to complete the configuration.

[0049] In an example, the specific configuration process includes:

[0050] Users can actively set security configuration options on the mobile device application to turn the distance awareness function on or off.

[0051] When the user selects the security configuration option, the application first sends a perception security check instruction to the smart device, wherein the perception security check instruction is configured to trigger the WiFi perception module to enter the network configuration mode.

[0052] The smart device starts the WiFi sensing function to wait for the sensing result.

[0053] If the WiFi senses the presence of a human body within the preset sensing range, the smart device determines that the safety detection conditions are met and reports the result to the application.

[0054] After receiving the information that the security check has passed, the application of the mobile device sends specific parameter settings to the smart device, such as the frequency of the air conditioner reporting the working status to the server, the standby mode time, etc.

[0055] In an optimized solution, the WiFi sensing module can detect again whether there is anyone within the preset sensing range. If there is a user within the preset sensing range, the situation will be notified to the mobile device application after the parameter configuration is completed; if there is no user within the preset sensing range, a failure message will be sent to the mobile device application, and the user will be prompted to approach the smart device and try the configuration again. In one example, since WiFi information is also dynamically detected and reported in 30-second polling, in this case, if the parameter configuration is not completed within 30 seconds, it means failure, and the user needs to be reminded to try again.

[0056] Figure 2 is a schematic diagram of a method for securely binding a smart device provided by an embodiment of the present disclosure; Figure 2 As shown, optionally, the embodiment of the present disclosure provides a method for securely binding a smart device, including:

[0057] S21, when it is determined that the WiFi sensing module enters the network configuration mode, the smart device controls the WiFi sensing module to perform distance sensing to obtain a target sensing distance between the user and the smart device.

[0058] S22, the smart device determines a service set identifier of the smart device according to the target perception distance.

[0059] S23, the smart device controls the smart device to broadcast a service set identifier, so that the mobile device determines the smart device to be bound according to the received service set identifier.

[0060] S24, when receiving the network configuration instruction carrying the binding information sent by the mobile device, the smart device controls the smart device to perform network configuration according to the binding information.

[0061] Optionally, before determining that the WiFi perception module enters the network configuration mode, the smart device controls the WiFi perception module to perform a program initialization operation. Specifically, the program initialization operation includes: the smart device first detects the hardware version and software version of the WiFi perception module. The smart device adapts the corresponding perception algorithm library according to the detected hardware version information and software version information of the WiFi perception module, and dynamically loads it to ensure the compatibility of the algorithm with the hardware and software. Furthermore, before the perception algorithm runs, an environmental initialization measurement is required to obtain the initial reference coefficient of the environmental space. In order to serve as a reference benchmark for the subsequent WiFi perception algorithm when detecting the distance.

[0062] In this solution, the IoT (Internet of Things) link protocol can be used to detect whether the WiFi sensing module enters the network distribution mode. It is understandable that the WiFi sensing module entering the network distribution mode is usually manually triggered by the user through the remote control combination button. In this way, when it is determined that the WiFi sensing module enters the network distribution mode, the smart device controls the WiFi sensing module to perform distance perception to obtain the target perception distance between the user and the smart device. Specifically, the smart device can start the WiFi sensing function and wait for the WiFi sensing function to report the result. In an optimized solution, the reported perception distance data will be processed by the perception distance compensation coefficient to improve the accuracy of distance detection.

[0063] Optionally, when the perception result is reported, WiFi-related information is collected synchronously, including the original SSID (Service Set Identifier), signal strength and MAC (Media Access Control Address). This information will be collected at the operating system driver layer in accordance with the WiFi international standard protocol, and the application layer directly calls the system interface to obtain it. In this way, the accuracy of the information obtained can be ensured.

[0064] Furthermore, the smart device can determine the service set identifier of the smart device according to the target perception distance. Specifically, the smart device determines the service set identifier of the smart device according to the target perception distance, including: the smart device obtains a preset perception range. When the target perception distance is not within the preset perception range, the smart device uses the original service set identifier as the service set identifier of the smart device. Alternatively, when the target perception distance is within the preset perception range, the smart device determines the service set identifier of the smart device based on the original service set identifier and the target perception distance. With this solution, accurate acquisition of the service set identifier can be achieved.

[0065] Furthermore, the smart device can control the smart device to broadcast the service set identifier so that the mobile device determines the smart device to be bound according to the received service set identifier. Thus, when receiving the network configuration instruction carrying the binding information sent by the mobile device, the smart device controls the smart device to perform network configuration according to the binding information. In another case, if the smart device does not receive the network configuration instruction carrying the binding information sent by the mobile device, the WiFi sensing module is controlled to continue to perform distance perception until the network configuration instruction sent by the mobile device is received.

[0066] The method for securely binding smart devices provided by the embodiment of the present disclosure is applied to smart devices. By introducing distance perception as a prerequisite for network configuration, it is ensured that network configuration operations can only be performed when the user is close to the smart device. This mechanism effectively prevents remote illegal binding or erroneous binding, and significantly enhances the security of the network configuration process. In addition, after the user is close to the smart device and meets the network configuration conditions, the mobile device can quickly determine the device to be bound based on the received service set identifier, so that the mobile device can complete the entire network configuration process by sending a network configuration instruction carrying binding information. The optimization of this process reduces the complexity of user operations, improves the success rate of network configuration, and brings users a smoother and more convenient user experience.

[0067] Figure 3 is a schematic diagram of a method for determining a service set identifier provided by an embodiment of the present disclosure; Figure 3 As shown, optionally, in S22, the smart device determines a service set identifier of the smart device according to the target perception distance, including:

[0068] S31, the smart device obtains a preset sensing range.

[0069] S321: When the target sensing distance is not within the preset sensing range, the smart device uses the original service set identifier as the service set identifier of the smart device. Or,

[0070] S322: When the target perception distance is within the preset perception range, the smart device determines a service set identifier of the smart device according to the original service set identifier and the target perception distance.

[0071] In this solution, the smart device can obtain a preset perception range. Here, the preset perception range is the distance range between the user and the Wi F i perception module that can be detected. As an example, the preset perception range is 0 meters to 2 meters. Specifically, it can be determined based on the target perception distance whether the user performs the binding operation within the preset perception range. Furthermore, if the user is not within the preset perception range, the obtained original service set identifier SSID can be used as the service set identifier of the smart device. If the user is within the preset perception range, the service set identifier of the smart device can be determined based on the original service set identifier and the target perception distance. With this solution, the service set identifier of the smart device can be accurately acquired.

[0072] Optionally, S322, the smart device determines the service set identifier of the smart device according to the original service set identifier and the target perception distance, including:

[0073] The smart device uses the target perception distance as a suffix of the original SSID to generate a new SSID.

[0074] The smart device uses the new SSID as the SSID of the smart device.

[0075] In this solution, the target sensing distance can be added to the end of the original service set identifier SSID to form a new service set identifier, so that the new service set identifier is used as the service set identifier of the smart device. With this solution, the service set identifier of the smart device can be accurately determined.

[0076] In an optimized solution, the new service set identifier can also be rewritten into the WiFi configuration table through a self-developed driver interface so that other applications can quickly access it.

[0077] Optionally, to avoid erroneous operations caused by too fast changes in the service set identifier monitored by the mobile device application, the WiFi awareness reporting and service set identifier update operations are limited to once every 30 seconds.

[0078] Optionally, before determining that the WiFi sensing module enters the network configuration mode, the method further includes:

[0079] The smart device determines whether the WiFi sensing module enters the network configuration mode.

[0080] When the WiFi sensing module has not entered the network configuration mode, the smart device controls the WiFi sensing module to perform polling detection until the WiFi sensing module enters the network configuration mode.

[0081] In this solution, the IoT link protocol can be used to detect whether the WiFi sensing module has entered the network distribution mode. And when the WiFi sensing module has not entered the network distribution mode, the smart device controls the WiFi sensing module to perform polling detection until the WiFi sensing module enters the network distribution mode. With this solution, by judging whether the WiFi sensing module has entered the network distribution mode and continuously performing polling detection when the WiFi sensing module has not entered the mode, it can be ensured that the WiFi sensing module performs the network distribution operation at the best time. This effectively improves the success rate of network distribution and avoids network distribution failure caused by incorrect module status of the WiFi sensing module. At the same time, the WiFi sensing module can enter the network distribution mode and complete the network distribution process more quickly, effectively reducing the user's waiting time and optimizing the user experience.

[0082] Optionally, the method further comprises:

[0083] When receiving a network configuration instruction carrying binding information from a mobile device, the smart device controls the WiFi sensing module to stop distance sensing and exit the network configuration mode.

[0084] In the case where the network configuration instruction carrying the binding information is not received from the mobile device, the smart device controls the WiFi sensing module to continue distance sensing until the smart device receives the network configuration instruction sent by the mobile device.

[0085] In this solution, when receiving a network configuration instruction with binding information sent by a mobile device, the smart device controls the WiFi sensing module to stop distance sensing and exit the network configuration mode. In this solution, by stopping distance sensing and exiting the network configuration mode, the security of the network configuration process can be improved to prevent potential unauthorized access or malicious attacks. At the same time, it can also ensure that the network configuration instruction is processed in a timely manner, thereby optimizing the network configuration process.

[0086] In addition, the smart device can also control the WiFi sensing module to continue distance sensing without receiving the network configuration instruction carrying binding information sent by the mobile device until the smart device receives the network configuration instruction sent by the mobile device. With this solution, the smart device can maintain the ability to sense the user's distance before receiving the network configuration instruction, so as to accurately update the smart device service set identifier.

[0087] Figure 4 is another schematic diagram of a method for securely binding a smart device provided by an embodiment of the present disclosure; Figure 4 As shown, optionally, another method for securely binding a smart device provided by an embodiment of the present disclosure includes:

[0088] S41, when the mobile device displays a device self-discovery page, the mobile device receives respective service set identifiers broadcasted by a plurality of smart devices.

[0089] S42, the mobile device determines a smart device to be bound according to the service set identifiers broadcasted by the plurality of smart devices.

[0090] S43, the mobile device sends a network configuration instruction carrying binding information to the smart device to be bound, so that the target smart device can perform network configuration according to the binding information.

[0091] It should be noted that the present embodiment is applied to mobile devices. Specifically, when it is determined that the WiFi sensing module enters the network configuration mode, the mobile device can automatically guide the user to enter the network configuration process. Specifically, the user can open the corresponding mobile application according to the operation guidance and navigate to the network configuration page. Further, in the network configuration page, the user can enter the device self-discovery page according to the guidance process of the application. In this way, when the mobile device displays the device self-discovery page, the mobile device can receive the respective service set identifiers broadcast by multiple smart devices respectively. Specifically, the application of the mobile device can start the dynamic scanning function to detect the available WiFi networks in the current environment in real time. In one example, in order to keep consistent with the update mechanism on the WiFi sensing module side, the dynamic scanning time interval is set to update every 30 seconds. In this way, the mobile device can accurately receive the respective service set identifiers broadcast by multiple smart devices respectively.

[0092] Furthermore, the mobile device can determine the smart device to be bound according to the respective service set identifiers broadcasted by the multiple smart devices. Specifically, the mobile device determines the smart device to be bound according to the respective service set identifiers broadcasted by the multiple smart devices, including: the mobile device determines the distance value between each smart device and the mobile device according to the respective service set identifiers broadcasted by the multiple smart devices. The mobile device uses the smart device with the smallest distance to the mobile device as the smart device to be bound. With this solution, the smart device to be bound can be accurately determined.

[0093] Furthermore, the mobile device can send a network configuration instruction carrying binding information to the smart device to be bound, so that the target smart device can configure the network according to the binding information. With this solution, after the mobile device determines the smart device to be bound, it can immediately send the network configuration instruction carrying binding information to the smart device. The timely sending of the instruction ensures the continuity and efficiency of the device network configuration process; and the reliability of the instruction ensures the integrity and accuracy of the network configuration information, reducing the risk of network configuration failure.

[0094] Figure 5is a schematic diagram of a method for determining a smart device to be bound provided by an embodiment of the present disclosure; Figure 5 As shown, optionally, in S42, the mobile device determines the smart device to be bound according to the respective service set identifiers broadcasted by the plurality of smart devices, including:

[0095] S51, the mobile device determines the distance value between each smart device and the mobile device according to the respective service set identifiers broadcasted by the plurality of smart devices.

[0096] S52: The mobile device uses the smart device that is the shortest distance from the mobile device as the smart device to be bound.

[0097] In this solution, the suffix part of the service set identifier of the smart device is the distance value between the smart device and the mobile device. Specifically, since the WiFi-aware distance value is added to the suffix characters of the service set identifier on the smart device side, the application will focus on the suffix part when scanning the service set identifier. In this way, the mobile device can obtain the distance value between each smart device and the mobile device, and use the smart device with the smallest distance to the mobile device as the smart device to be bound. With this solution, the mobile device can quickly identify the relative distance between each smart device and it, providing an accurate data basis for determining the smart device to be bound.

[0098] Optionally, after determining the distance value between each smart device and the mobile device, the method further includes:

[0099] The mobile device sorts the service set identifiers of each smart device to obtain a sorting result.

[0100] The mobile device displays the sorting results on a device self-discovery page for viewing by the user of the mobile device.

[0101] The sorting rule of the service set identifiers is to sort from small to large according to the distance value between each smart device and the mobile device.

[0102] In this solution, the application will sort the received SSIDs of each smart device according to the distance data in the suffix part. The sorting rule is to sort from small to large distance, that is, the smart device closest to the user will be at the top of the list. The sorted SSID list will be updated in real time and displayed on the self-discovery page for users to choose. This solution can provide users with a more intuitive and convenient network configuration experience.

[0103] It should be noted that, in order to maintain the consistency of the update mechanism, the dynamic scanning time of the mobile device can also be set to 30 seconds.

[0104] In one embodiment, the application design for the mobile device side includes the design of a security-aware configuration switch and a security setting verification mechanism.

[0105] Optionally, the perceptual security configuration switch design includes designing an easily identifiable perceptual security configuration switch page option at an appropriate location in the application. The option should be clearly labeled "Perceptual Security Configuration" or a similar name so that users can quickly identify it. Specifically, the perceptual security configuration switch is in the off state by default. In this way, it can be ensured that users will not accidentally touch the function without clear needs, resulting in unnecessary operations. When the user needs to enable the security parameter configuration function, the switch needs to be turned on manually. The switch-on process can be simply designed, while giving the user clear operation feedback.

[0106] Optionally, when the perception security configuration switch is turned on, if the user initiates the setting of important parameters within the scope of the security configuration, the security setting verification mechanism will be triggered. The verification process includes a series of security checks on the important parameters submitted by the user. Including but not limited to the legality of parameter values, compatibility between parameters, and potential security risks. In this way, the mobile device can give corresponding feedback based on the verification results. If the parameter setting meets the security requirements, proceed to the next step; if there are security risks or it does not meet the requirements, the parameter setting operation will be blocked, and clear error prompts and suggestions will be given.

[0107] In actual applications, when users trigger important parameter configuration operations, the application will intelligently start a pre-set WiFi-aware security test. The application will immediately send a startup command to the built-in security detection module to comprehensively evaluate the security of the currently connected WiFi network. And after sending the command, the application will wait for the return result of the security detection module. In this way, users can be provided with intuitive progress instructions so that they can clearly understand the current detection progress. Once the WiFi-aware security test passes successfully, the application will immediately issue parameter configuration instructions. These instructions can ensure that each step is accurate. In this way, after issuing the instructions, the application will wait for the module to return the configuration results again. If the configuration is successful, the application will immediately show the user a friendly success prompt to inform them that the parameter configuration is complete. However, if there are any problems during the configuration process, the application will intelligently analyze the reasons for the failure and show the failure information to the user in a clear and easy-to-understand way, while providing guidance for reconfiguration to ensure that users can easily solve the problem and successfully complete the parameter configuration. With this solution, not only the security of user data is ensured, but also the user's operating experience is improved.

[0108] Figure 6 is a schematic diagram of a device for securely binding a smart device provided by an embodiment of the present disclosure; Figure 6As shown, an embodiment of the present disclosure provides a device 300 for securely binding smart devices, including a processor 301 and a memory 302. Optionally, the device 300 may also include a communication interface 303 and a bus 304. The processor 301, the communication interface 303, and the memory 302 may communicate with each other through the bus 304. The communication interface 303 may be used for information transmission. The processor 301 may call the logic instructions in the memory 302 to execute the method for securely binding smart devices of the above embodiment.

[0109] In addition, the logic instructions in the memory 302 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0110] The memory 302 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 301 executes functional applications and data processing by running the program instructions / modules stored in the memory 302, that is, the method for securely binding smart devices in the above embodiment is implemented.

[0111] The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 302 may include a high-speed random access memory and may also include a non-volatile memory.

[0112] The embodiments of the present disclosure provide a smart device, including: a smart device body, a WiFi sensing module, and the above-mentioned device for securely binding the smart device. The WiFi sensing module and the device for securely binding the smart device are installed in the smart device body. The installation relationship described here is not limited to placement inside the smart device body, but also includes installation connections with other components of the smart device, including but not limited to physical connections, electrical connections, or signal transmission connections. It can be understood by those skilled in the art that the device for securely binding the smart device can be adapted to a feasible smart device body, thereby realizing other feasible embodiments.

[0113] The embodiments of the present disclosure provide a mobile device, including: a mobile device body, and the above-mentioned device for securely binding smart devices. The device for securely binding smart devices is installed on the mobile device body. The installation relationship described here is not limited to placement inside the mobile device body, but also includes installation connections with other components of the mobile device, including but not limited to physical connections, electrical connections, or signal transmission connections. It can be understood by those skilled in the art that the device for securely binding smart devices can be adapted to a feasible mobile device body, thereby realizing other feasible embodiments.

[0114] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for securely binding a smart device.

[0115] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0116] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0117] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0118] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0119] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for securely binding a smart device, characterized in that: Applied to a smart device, the smart device is equipped with a WiFi sensing module, and the method includes: When it is determined that the WiFi sensing module enters the network configuration mode, the WiFi sensing module is controlled to perform distance sensing to obtain a target sensing distance between the user and the smart device; Determine the service set identifier of the smart device according to the target perception distance, so as to achieve accurate acquisition of the service set identifier; Controlling the smart device to broadcast a service set identifier so that the mobile device determines the smart device to be bound according to the received service set identifier; When receiving a network configuration instruction carrying binding information sent by a mobile device, controlling the smart device to perform network configuration according to the binding information; The step of determining the service set identifier of the smart device according to the target perception distance includes: Obtaining a preset sensing range, where the preset sensing range is the distance between the user and the WiFi sensing module that can be detected by the WiFi sensing module; When the target sensing distance is not within the preset sensing range, the original service set identifier is used as the service set identifier of the smart device; When the target perception distance is within the preset perception range, determining the service set identifier of the smart device according to the original service set identifier and the target perception distance; The method further comprises: The service set identifier of the smart device is rewritten into the WiFi configuration table by using a self-developed driver structure so that other applications can quickly access it, wherein the service set identifier of the smart device is a new service set identifier.

2. The method according to claim 1, characterized in that Determine the service set identifier of the smart device according to the original service set identifier and the target perception distance, including: Using the target perception distance as a suffix of the original service set identifier to generate a new service set identifier; The new SSID is used as the SSID of the smart device.

3. The method according to claim 1, characterized in that Before determining that the WiFi sensing module enters the network configuration mode, the method further includes: Determine whether the WiFi sensing module has entered the network configuration mode; When the WiFi sensing module has not entered the network configuration mode, the WiFi sensing module is controlled to perform polling detection until the WiFi sensing module enters the network configuration mode.

4. The method according to claim 1, characterized in that The method also includes: When receiving a network configuration instruction carrying binding information from a mobile device, the WiFi sensing module is controlled to stop distance sensing and exit the network configuration mode; or, In the case where the network configuration instruction carrying the binding information sent by the mobile device is not received, the WiFi sensing module is controlled to continue distance sensing until the smart device receives the network configuration instruction sent by the mobile device.

5. A method for securely binding a smart device, characterized in that: Applied to mobile devices, the smart device is equipped with a WiFi sensing module, and the method includes: When the mobile device displays a device self-discovery page, receiving respective service set identifiers broadcasted by a plurality of smart devices; Determine the smart device to be bound according to the respective service set identifiers broadcasted by the plurality of smart devices; Sending a network configuration instruction carrying binding information to the smart device to be bound, so that the target smart device can configure the network according to the binding information; Among them, the service set identifier of the smart device is determined by the target perception distance, which facilitates the accurate acquisition of the service set identifier, including: When the target sensing distance is not within the preset sensing range, the service set identifier of the smart device is the original service set identifier; When the target perception distance is within the preset perception range, the service set identifier of the smart device is determined by the original service set identifier and the target perception distance; Among them, the preset sensing range is the distance between the user and the WiFi sensing module that can be detected by the WiFi sensing module. The smart device uses a self-developed driver structure to rewrite the service set identifier of the smart device into the WiFi configuration table for quick access by other applications, wherein the service set identifier of the smart device is a new service set identifier.

6. The method according to claim 5, characterized in that Determining a smart device to be bound according to respective service set identifiers broadcasted by a plurality of smart devices, including: Determine the distance between each smart device and the mobile device according to the respective service set identifiers broadcasted by the plurality of smart devices; The smart device that is the shortest distance from the mobile device is used as the smart device to be bound; The suffix part of the service set identifier of the smart device is the distance value between the smart device and the mobile device.

7. The method according to claim 6, characterized in that After determining the distance value between each smart device and the mobile device, the method further includes: Sorting the service set identifiers of the smart devices to obtain a sorting result; The ranking results are displayed on the device self-discovery page for viewing by the user of the mobile device; The sorting rule of the service set identifiers is to sort from small to large according to the distance value between each smart device and the mobile device.

8. A device for securely binding a smart device, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for securely binding a smart device according to any one of claims 1 to 7 when running the program instructions.

9. A computer-readable storage medium storing program instructions, characterized in that: When the program instructions are executed, the computer is used to execute the method for securely binding a smart device according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Network distribution method, device and system

    CN112188488A

  • Intelligent equipment batch network distribution method and equipment and computer readable storage medium

    CN114745259A

  • Method and device for controlling air conditioner and air conditioner

    CN118031379A