Smart home equipment pairing method and device, electronic equipment and storage medium

By obtaining and displaying the pairing codes in the first application of smart home devices, convenient device pairing in various ecosystems is achieved, and the problem of easy loss or damage to QR code stickers is solved, improving the user's configuration convenience and experience.

CN120455188APending Publication Date: 2025-08-08ZHU HAI RU RAN ZHI NENG KE JI YOU XIAN GONG SI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510538888.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The HomeKit pairing codes for existing smart home devices are usually provided in the form of QR code stickers, which are prone to loss or damage, resulting in limited convenience use of the device in the HomeKit ecosystem, increasing the user's time and energy costs.

Method used

Smart home devices support multiple ecology. Through the first application, the first application responds to the user's binding ecosystem operation, obtains and displays the pairing codes, so that the second application supporting the second ecosystem can pair with the device. The user only needs to trigger the binding operation in the first application to obtain the pairing codes of other ecology.

Benefits of technology

It simplifies the process of obtaining pairing codes, saves time and energy, improves users' convenience and satisfaction in the configuration process of smart home devices, solves the problems caused by the loss or damage of QR code stickers, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455188A_ABST
    Figure CN120455188A_ABST
Patent Text Reader

Abstract

The invention provides a pairing method and device of smart home equipment, electronic equipment and a storage medium, the smart home equipment supports various ecology, the method comprises the following steps: in response to receiving an ecological binding operation triggered by a user through a first application corresponding to the smart home equipment, obtaining a pairing code corresponding to the smart home equipment, the first application is an application supporting first ecology; the pairing code is displayed, so that a second application supporting the second ecology is paired with the smart home device based on the pairing code, the first ecology and the second ecology belong to multiple ecology, and the smart terminal installed with the second application and the smart home device are connected with the same Wi-Fi network. According to the scheme, the pairing codes of other ecology can be conveniently acquired in the application of the first ecology, and the acquisition process of the pairing codes is greatly simplified, so that the equipment pairing process is simplified, the time and energy are saved, and the convenience and satisfaction of a user in the configuration process of the smart home equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of smart home device interaction technology, and in particular to a pairing method, device, electronic device and storage medium for smart home devices, specifically a pairing management technology based on the interaction between a management application of smart home devices and other ecosystems (such as the HomeKit ecosystem). Background Art

[0002] In the field of smart home, the HomeKit ecosystem is favored by many users for its security, stability and high compatibility with IOS operating system devices.

[0003] Currently, when smart home devices that support access to the HomeKit ecosystem are produced, a HomeKit pairing code will be affixed to the device's outer packaging, instructions, or the hardware product itself. This pairing code is in the form of a QR code. Users can add smart home devices to the smart device management app by scanning the QR code with the terminal smart device management app, and then they can control the smart home devices through the smart device management app.

[0004] However, this method of providing pairing codes in the form of stickers is prone to damage, loss, inconvenient location, etc., which increases the difficulty of adding smart home devices to the HomeKit ecosystem and limits the convenient use of smart home devices in the HomeKit ecosystem. Summary of the Invention

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a pairing method, device, electronic device and storage medium for smart home devices.

[0006] According to a first aspect of the present disclosure, a method for pairing a smart home device is provided, wherein the smart home device supports multiple ecosystems, and the method includes:

[0007] In response to receiving a binding ecosystem operation triggered by a user through a first application corresponding to a smart home device, obtaining a pairing code corresponding to the smart home device, wherein the first application is an application that supports the first ecosystem;

[0008] The pairing code is displayed so that a second application supporting a second ecosystem is paired with the smart home device based on the pairing code, wherein the first ecosystem and the second ecosystem belong to the multiple ecosystems, and the smart terminal on which the second application is installed is connected to the same Wi-Fi network as the smart home device.

[0009] According to a second aspect of the present disclosure, a pairing device for a smart home device is provided, wherein the smart home device supports multiple ecosystems, and the device includes:

[0010] an acquisition module, configured to acquire a pairing code corresponding to a smart home device in response to receiving a binding ecosystem operation triggered by a user through a first application corresponding to the smart home device, wherein the first application is an application that supports the first ecosystem;

[0011] A display module is used to display the pairing code so that a second application supporting the second ecosystem is paired with the smart home device based on the pairing code, wherein the first ecosystem and the second ecosystem belong to the multiple ecosystems, and the smart terminal installed with the second application is connected to the same Wi-Fi network as the smart home device.

[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0013] processor; and

[0014] Memory for storing programs,

[0015] The program includes instructions, which, when executed by the processor, enable the processor to execute the pairing method for smart home devices according to the first aspect.

[0016] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the pairing method of smart home devices according to the first aspect.

[0017] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the pairing method of the smart home device according to the first aspect.

[0018] One or more technical solutions provided in the embodiments of the present disclosure enable a smart home device to support multiple ecosystems. Upon receiving a bind ecosystem operation triggered by a user through a first application corresponding to the smart home device, the device obtains a pairing code corresponding to the smart home device and displays the pairing code, so that a second application supporting a second ecosystem can be paired with the smart home device based on the pairing code. The first application is an application supporting the first ecosystem, the first ecosystem and the second ecosystem belong to multiple ecosystems, and the smart terminal on which the second application is installed is connected to the same Wi-Fi network as the smart home device. Using the solution of the present disclosure, when a user needs to add a smart home device to the second ecosystem, the user only needs to trigger the bind ecosystem operation in the first application corresponding to the smart home device to obtain the pairing code of the smart home device in the second ecosystem. The user can then add the smart home device to the second ecosystem based on the pairing code, making it easy to obtain pairing codes for other ecosystems in the application of the first ecosystem. This greatly simplifies the pairing code acquisition process, thereby simplifying the device pairing process, saving time and effort, improving the convenience and satisfaction of users in the smart home device configuration process, solving problems such as loss or damage of QR code stickers, and improving the user experience of smart home devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0020] Figure 1 A flowchart of a method for pairing smart home devices provided by an exemplary embodiment of the present disclosure;

[0021] Figure 2 A schematic diagram of a flow chart of a method for pairing smart home devices provided by another exemplary embodiment of the present disclosure;

[0022] Figure 3 This is a schematic diagram of the interactive process of displaying the HomeKit ecosystem pairing code through the Lipro ecosystem App in an exemplary embodiment of the present application;

[0023] Figure 4 A schematic diagram of the structure of a pairing device for smart home devices provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0027] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0029] Currently, in related technologies, the HomeKit pairing code for smart home devices is usually affixed to the device's outer packaging, instruction manual, or the hardware product itself in the form of a QR code sticker. This QR code display format has the following problems:

[0030] (1) QR code stickers are easily lost or damaged: During the daily use, transportation or storage of smart home devices, QR code stickers may be damaged due to friction, moisture, scratches, etc., resulting in unrecognizable. Alternatively, users may discard stickers at will after installing the device. When they need to re-pair the device (such as changing the phone or resetting the home network environment), they will face the dilemma of not being able to find the QR code, which seriously affects the user experience and the secondary configuration of the device.

[0031] (2) Inconvenience in viewing: For products installed in high places (such as smart lamps on the ceiling) or in hard-to-reach places (such as embedded smart devices), each time the QR code is viewed, it is necessary to use tools or perform complex operations, which brings great inconvenience to users and increases their time and energy costs.

[0032] The above problems limit the convenient use of smart home devices in the HomeKit ecosystem and affect the user experience. Therefore, there is an urgent need for an innovative solution to solve the problems caused by QR code stickers.

[0033] In response to the above problems, the present disclosure provides a pairing solution for smart home devices that supports multiple ecosystems. When a binding ecosystem operation is received from a user through a first application corresponding to a smart home device, the pairing code corresponding to the smart home device is obtained and displayed, so that a second application supporting a second ecosystem can be paired with the smart home device based on the pairing code. Through this solution, after pairing a smart home device on an application of the first ecosystem, the pairing codes of other ecosystems can be viewed at any time through the first application. Users no longer need to worry about the problem of QR code stickers being lost or damaged, which greatly simplifies the device pairing process and saves time and effort, thereby solving the problem of device pairing difficulties caused by the loss or damage of QR code stickers in the prior art and improving the convenience and experience of users in the process of pairing smart home devices.

[0034] The following describes the pairing method, device, electronic device and storage medium of smart home devices provided by the present disclosure with reference to the accompanying drawings.

[0035] Figure 1 This is a flow chart of a method for pairing smart home devices provided in an exemplary embodiment of the present disclosure. The method can be performed by a pairing device for smart home devices provided in an embodiment of the present disclosure. The device can be implemented in software and / or hardware and can be integrated into an electronic device. The electronic device is a smart terminal installed with a first application that supports a first ecosystem. The smart terminal can be, but is not limited to, a smart wearable device, a smart phone, a tablet computer, etc.

[0036] like Figure 1 As shown, the pairing method of the smart home device may include the following steps:

[0037] Step 101: In response to receiving a binding ecosystem operation triggered by a user through a first application corresponding to a smart home device, a pairing code corresponding to the smart home device is obtained, wherein the first application is an application that supports the first ecosystem.

[0038] Among them, smart home devices can be but are not limited to smart lamps (such as smart ceiling lamps, smart floor lamps), air conditioners, televisions, air purifiers and other home products that support multiple ecosystems. The first application is an application that supports the first ecosystem, that is, a smart device management app developed based on smart home devices. The first ecosystem is the ecosystem on which the development of the smart device management app depends. The first application that supports the first ecosystem can be paired with the smart home device through a Bluetooth connection, thereby controlling the smart home device through the first application without scanning the pairing QR code of the smart home device. During the pairing process between the first application and the smart home device, the smart home device establishes a connection with the first application and completes the basic settings in the first ecosystem.

[0039] In this embodiment, a control for triggering a binding ecological operation may be provided in the first application. When the user clicks the control, the binding ecological operation is initiated. In response to the binding ecological operation, the first application obtains a pairing code corresponding to the smart home device.

[0040] As an example, the number of multiple ecosystems supported by a smart home device is 2, that is, dual ecosystems. When receiving the ecosystem binding operation, you can directly obtain the pairing code of the smart home device. This pairing code is the pairing code that supports the smart home device to access another ecosystem.

[0041] As an example, the number of multiple ecosystems supported by the smart home device is greater than 2, that is, in addition to the first ecosystem, the number of other ecosystems is at least 2. In this case, the first application can provide corresponding controls for each other ecosystem to trigger the binding ecosystem operation. When the user clicks on the control corresponding to a certain ecosystem, the initiated binding ecosystem operation carries the ecosystem identifier of the ecosystem. When the first application receives the binding ecosystem operation, it obtains the pairing code corresponding to the ecosystem identifier based on the ecosystem identifier carried by the binding ecosystem operation.

[0042] When the first application obtains the pairing code of the smart home device, it can obtain the pairing code from different paths.

[0043] As an example, a first application can obtain the pairing code of a smart home device from a local cache. For example, after the first application successfully pairs with the smart home device, the pairing code is read from the smart home device or the server corresponding to the smart home device and cached in the local cache. Subsequently, when the pairing code is needed, it can be directly obtained from the local cache. If the pairing code in the local cache is cleared, when the pairing code is needed again, it can be read from the smart home device or the server corresponding to the smart home device and cached again in the local cache for subsequent retrieval.

[0044] As an example, the pairing code may not be cached locally, but instead read from the smart home device or the server corresponding to the smart home device each time the pairing code is needed to bind the ecosystem. This method requires that the smart terminal where the first application is located is in an Internet-connected state when binding the ecosystem.

[0045] It should be noted that in this embodiment, the pairing codes for each ecosystem stored in the smart home device or its corresponding server are pre-generated and stored. For example, the provider of each ecosystem may authorize the smart home device manufacturer to provide the pairing codes for that ecosystem. The smart home device manufacturer then stores the obtained pairing codes for each ecosystem in the smart home device or its corresponding server for the first application of the first ecosystem to read when needed. The pairing code may be, but is not limited to, at least one of a QR code, a digital code, and a barcode.

[0046] Step 102 : Display a pairing code so that a second application supporting a second ecosystem is paired with a smart home device based on the pairing code, wherein the first ecosystem and the second ecosystem belong to multiple ecosystems, and the smart terminal on which the second application is installed and the smart home device are connected to the same Wi-Fi network.

[0047] In this embodiment, after the first application obtains the pairing code, it can display the pairing code. For example, the pairing code can be displayed on a specific page of the first application, and the pairing code can be displayed in a preset area on the page. Afterwards, the application that supports the second ecosystem (referred to as the second application for ease of description and distinction) can pair with the smart home device based on the displayed pairing code. After the pairing is successful, the smart home device is added to the second ecosystem, and the smart home device can be controlled through the second application. It can be understood that the first ecosystem and the second ecosystem belong to multiple ecosystems, both of which are ecosystems supported by smart home devices.

[0048] As an example, if the pairing code is in the form of a QR code, pairing can be performed by scanning the QR code through the second application. When the user triggers the QR code scanning function in the second application, the second application calls the camera of the smart terminal (such as a smartphone, tablet computer, etc.) to scan the QR code.

[0049] As an example, the pairing code is in the form of a numeric code, that is, the pairing code is a string of numbers. The user can enter the pairing code in the pairing code input box provided by the second application, and after the input is completed, pairing with the smart home device is automatically performed.

[0050] As an example, the pairing code includes a QR code and a digital code. The user can add the smart home device to the second ecosystem by entering the digital code in the second application or calling the camera through the second application to scan the QR code.

[0051] It can be understood that in the embodiment of the present application, the smart terminal on which the second application is installed and the smart home device are connected to the same Wi-Fi network, which is a prerequisite for the successful pairing of the second application and the smart home device. The two can only interact during the pairing process and after the pairing is successful when they are on the same Wi-Fi network.

[0052] The present invention discloses a pairing method for smart home devices. The smart home device supports multiple ecosystems. When a user triggers a bind ecosystem operation through a first application corresponding to the smart home device, the smart home device obtains a pairing code corresponding to the smart home device and displays the pairing code, so that a second application supporting a second ecosystem can be paired with the smart home device based on the pairing code. The first application is an application supporting the first ecosystem, the first ecosystem and the second ecosystem belong to multiple ecosystems, and the smart terminal installed with the second application is connected to the same Wi-Fi network as the smart home device. Using the solution of the present invention, when a user needs to add a smart home device to the second ecosystem, they only need to trigger the bind ecosystem operation in the first application corresponding to the smart home device to obtain the pairing code of the smart home device in the second ecosystem. Based on the pairing code, the smart home device can be added to the second ecosystem. This makes it possible to conveniently obtain pairing codes for other ecosystems in the application of the first ecosystem, greatly simplifying the pairing code acquisition process, thereby simplifying the device pairing process, saving time and effort, improving the convenience and satisfaction of users in the smart home device configuration process, solving problems caused by the loss or damage of QR code stickers, and improving the user experience of smart home devices.

[0053] In an optional embodiment of the present application, when the first application obtains the pairing code of the smart home device, it can first detect whether there is a pairing code in the local cache of the smart terminal where the first application is located. If so, the pairing code is obtained from the local cache; if the pairing code of the smart home device does not exist in the local cache, the first application is connected to the smart home device to obtain the pairing code of the smart home device and cache it in the local cache. Among them, after the first application is connected to the smart home device, the pairing code can be obtained from the smart home device or the server corresponding to the smart home device, and the obtained pairing code can be cached in the local cache of the smart terminal where the first application is located. It can be understood that after the first application is paired with the smart home device, the smart terminal where the first application is located and the smart home device must be on the same Wi-Fi in order to control the smart home device through the first application. The two can interact through the Wi-Fi network, such as obtaining the pairing code of the smart home device, sending control instructions to the smart home device, etc.

[0054] In an embodiment of the present application, when the pairing code of a smart home device needs to be obtained, it is first obtained from the local cache. If it cannot be obtained, the first application is used to connect to the smart home device to obtain the pairing code of the smart home device and cache it in the local cache. Thus, the pairing code of the smart home device is cached by the offline cache function. When the smart terminal where the first application is located is disconnected from the network and needs to be bound to other ecosystems, the most recent valid pairing code in the local cache can be used to complete emergency pairing, thereby improving the user experience.

[0055] In an optional embodiment of the present application, after the second application is successfully paired with the smart home device, the application name of the second application can be added to the target display page of the first application, wherein the target display page can be a pre-set page in the first application and can be adjusted according to actual needs. Since the application corresponds to the supported ecosystem, by adding the application name of the successfully paired second application to the target display page of the first application, the user can intuitively know the ecosystem to which the smart home device has been successfully added in the first application, which facilitates the user to manage the ecosystem added to the smart home device and control the smart home device.

[0056] Furthermore, in an optional embodiment of the present application, the application name of the second application displayed in the target display page of the first application corresponds to a reset control, and the reset control is used to reset the second ecology supported by the second application. By resetting, the data of the second ecology can be cleared, so that the second ecology is unbound from the smart home device, and then the smart home device can no longer be controlled by the second application. It can be understood that one application name corresponds to one reset control. Therefore, this solution also includes: in response to receiving a trigger operation on the reset control by the user, clearing the pairing relationship between the second application and the smart home device through the first application. Among them, clearing the pairing relationship between the second application and the smart home device can be achieved by clearing all data of the second ecology.

[0057] As an example, you can clear all data in the second ecosystem on a smart home device, or clear all data in the second ecosystem associated with the smart home device from the server corresponding to the smart home device. Clearing the data terminates the pairing between the smart home device and the second ecosystem. For example, a first application can send a command to reset the second ecosystem to the smart home device or the server corresponding to the smart home device. Upon receiving the command, the smart home device or its server will clear the corresponding data.

[0058] As an example, the first application can send a reset instruction to the second application, and the reset instruction can carry the device identification of the smart home device. After receiving the reset instruction, the second application determines the target device whose data needs to be cleared based on the carried device identification, and then clears all data of the bound target device, thereby deleting the smart home device from the second ecology, that is, canceling the pairing relationship between the smart home device and the second ecology.

[0059] In an embodiment of the present application, a reset control for resetting the ecology is set in the first application, and in response to receiving a user's triggering operation on the reset control, the pairing relationship between the second application and the smart home device is cleared through the first application. As a result, the user can conveniently reconfigure a single ecology, and even when a connection problem occurs with the smart home device or the ecological account needs to be changed, it can be easily resolved, thereby enhancing the management flexibility of smart home devices in different ecosystems.

[0060] In an optional embodiment of the present disclosure, Figure 2 As shown, based on the above embodiment, the pairing method of the smart home device disclosed in the present invention may further include the following steps:

[0061] Step 201: Record the current time when the pairing code is displayed.

[0062] The current time refers to the current system time of the smart terminal where the first application is located when the first application displays the pairing code.

[0063] Step 202: After monitoring that the second application is successfully paired with the smart home device, record the account information of the second application and the device information of the smart terminal where the second application is located.

[0064] For example, when the second application is successfully paired with the smart home device, a message indicating successful pairing may be fed back to the first application. After receiving the message, the first application determines that the second application is successfully paired with the smart home device.

[0065] In this embodiment, when the first application detects that the second application is successfully paired with a smart home device, it can record the second application's account information and the device information of the smart terminal where the second application is located. The account information may include, but is not limited to, the account name and mobile phone number, and the device information may include, but is not limited to, the unique identification code and IP address of the smart terminal. It should be noted that in this embodiment, the account information and device information are obtained and recorded only with the user's authorization.

[0066] As an example, the second application's account information and the smart terminal's device information may be included in the successful pairing message fed back by the second application to the first application.

[0067] Step 203: Associating the current time, the account information, and the device information, and uploading them to the cloud server corresponding to the first ecosystem.

[0068] In this embodiment, the recorded current time, account information, and device information can be associated and uploaded to the cloud server corresponding to the first ecosystem.

[0069] The pairing method for smart home devices in the embodiment of the present application records the current time of displaying the pairing code, and after monitoring the successful pairing of the second application with the smart home device, records the account information of the second application and the device information of the smart terminal where the second application is located, and then associates the current time, account information and device information, and uploads them to the cloud server corresponding to the first ecosystem. In this way, the binding relationship between the ecosystem and the smart home device is traceable. By recording the generation (i.e. display) time of the pairing code and the device information (such as IP) of the device used on the cloud server, abnormal login tracing is facilitated, which not only maintains the convenience of "checking at any time", but also realizes the security enhancement of the dynamic pairing code, thereby improving the balance between user experience and security.

[0070] In an embodiment of the present application, after the smart home device is successfully added to each ecosystem, the user can control the smart home device in the first application of the first ecosystem and the second application of the second ecosystem (for example, the home app corresponding to HomeKit), such as turning on and off the light, adjusting the brightness, etc. At the same time, the state changes of the smart home device in any ecosystem (such as the on / off state of the light, brightness adjustment) will be synchronized to other ecosystems in real time, ensuring that the user has a consistent understanding of the device status in different ecosystems and achieving seamless interaction. Thus, in an optional embodiment of the present application, the pairing method of the smart home device of the present application further includes: receiving the current device status returned by the smart home device, the current device status is obtained after the smart home device is controlled by the application corresponding to any paired ecosystem in multiple ecosystems, and synchronizing the current device status in the first application. That is, the user controls the smart home device through the second application that has been successfully paired, and the smart home device adjusts its own state according to the control instruction received, obtains the current device state, and sends the current device state to the first application, and the first application synchronizes the current device state. Similarly, after the user controls the smart home device through the first application, the adjusted state of the smart home device will also be synchronized in the second application.

[0071] In the embodiments of the present application, by synchronizing the control status of smart home devices across applications in different ecosystems, the device status displayed in applications across each ecosystem is consistent, ensuring that users have consistent understanding of device status across different ecosystems and achieving seamless interaction. In this solution, the multi-ecological coexistence and state synchronization functions of smart home devices further optimize the integration of the first and second ecosystems, breaking down the barriers between different ecosystems, providing users with a more unified and convenient smart home control experience, optimizing smart home ecosystem integration, improving user experience, and promoting the development of the smart home industry.

[0072] In an optional embodiment of the present application, the multiple ecosystems include the Lipro ecosystem and the HomeKit ecosystem, with the Lipro ecosystem being the first ecosystem and the HomeKit ecosystem being the second ecosystem. The first application and the smart home device are paired via a Bluetooth connection. Through this solution, the first application can pair with the smart home device via Bluetooth and obtain the pairing code of the smart home device for the second application of the HomeKit ecosystem to add the smart home device. This enables convenient acquisition of the HomeKit ecosystem pairing code on the Lipro ecosystem app (the first application), solves the problem caused by the loss of QR code stickers, and improves the user experience of smart home devices.

[0073] Figure 3 This is a schematic diagram of the interactive process of displaying the HomeKit ecosystem pairing code through the Lipro ecosystem App in an exemplary embodiment of this application, as shown in FIG. Figure 3 As shown, after the user purchases a smart device (such as a smart ceiling lamp) with dual ecosystem (Lipro ecosystem and HomeKit ecosystem) functions, the user first performs the initial pairing of the device through the Lipro ecosystem App. During the pairing process, the smart home device establishes a connection with the Lipro ecosystem App and completes the basic settings in the Lipro ecosystem, such as device name, device location, etc. After the smart home device is successfully paired with the Lipro ecosystem App, the user enters the device control page of the Lipro ecosystem App, and then clicks on the device settings page to enter the page, as shown in the figure below. Figure 3As shown, the device settings page provides an entrance to "Bind other ecosystems". Users click "Bind other ecosystems" to enter the page for binding other ecosystems. On the page for binding other ecosystems, users can see the real-time pairing QR code and pairing digital code of the HomeKit ecosystem, as well as related instructions. The instructions are used to help users complete the pairing of the HomeKit ecosystem and remind users to connect the smart terminal to a certain Wi-Fi network. The Wi-Fi network is the wireless network to which the smart home devices are connected. For example, the instructions can be "Copy the pairing code below, open the Apple Home App, and enter the HomeKit pairing code to add the device. Please connect your phone to xxxWi-Fi, otherwise it will not be added successfully." The "xxx" in the instructions is the name of the Wi-Fi to which the smart home device is connected. Users follow the prompts in the instructions to connect their phones to the Wi-Fi network where the smart home device is currently located, and then open the Apple Home App that supports the HomeKit ecosystem. In the Apple Home App, choose to add a device. At this time, you can add the smart home device to the HomeKit ecosystem by scanning the HomeKit pairing QR code in the Lipro Ecology App or manually entering the pairing digital code. As Figure 3 As shown, for the ecosystem that has added smart home devices, the name of the corresponding App is displayed in the Bind Other Ecology page, and a "Reset" control is set accordingly. When the user needs to reconfigure the HomeKit ecosystem (such as changing the HomeKit account, solving a connection problem), you can click the reset control corresponding to the Apple Home App in the Bind Other Ecology page of the Lipro Ecology App. After clicking, the Lipro Ecology App will clear the data of the HomeKit ecosystem, so that the smart home devices can be re-paired in the HomeKit ecosystem. At this point, the user can add the smart home devices to the HomeKit ecosystem again according to the above process of adding devices.

[0074] like Figure 3 As shown, when the user clicks "Bind other ecosystems" in the device settings page, if the mobile phone where the Lipro Eco App is located has no network, a prompt message "No network connection, please check network settings" may also be displayed, such as Figure 3 As shown in the right picture, when the mobile phone is successfully connected to the Internet, you can obtain the pairing code of the HomeKit ecosystem from the smart home device or the server corresponding to the smart home device.

[0075] Through the solution disclosed in this disclosure, it is possible to easily obtain the HomeKit ecosystem pairing QR code on the Lipro ecosystem App. Users no longer need to worry about the loss or damage of the QR code sticker. This greatly simplifies the device pairing process, solves the problem caused by the loss of the QR code sticker, and improves the user experience of smart home devices.

[0076] In order to implement the above embodiments, the present disclosure also provides a pairing device for smart home devices.

[0077] Figure 4 This is a structural diagram of a pairing device for smart home devices provided in one embodiment of the present disclosure. Smart home devices support multiple ecosystems. The device can be implemented using software and / or hardware and can be integrated into electronic devices.

[0078] like Figure 4 As shown, the pairing device 40 for smart home devices provided in the embodiment of the present disclosure may include: an acquisition module 410 and a display module 420.

[0079] An acquisition module 410 is configured to acquire a pairing code corresponding to the smart home device in response to receiving a binding ecosystem operation triggered by a user through a first application corresponding to the smart home device, wherein the first application is an application that supports the first ecosystem;

[0080] The display module 420 is used to display the pairing code so that the second application supporting the second ecosystem can be paired with the smart home device based on the pairing code, wherein the first ecosystem and the second ecosystem belong to multiple ecosystems, and the smart terminal installed with the second application and the smart home device are connected to the same Wi-Fi network.

[0081] Optionally, the acquisition module 410 is also used to: detect whether there is a pairing code in the local cache of the smart terminal where the first application is located; if so, obtain the pairing code from the local cache; if not, connect to the smart home device through the first application, obtain the pairing code of the smart home device and cache it in the local cache.

[0082] Optionally, the pairing device 40 of the smart home device further includes:

[0083] The adding module is used to add the application name of the second application to the target display page of the first application after the second application is successfully paired with the smart home device.

[0084] Further optionally, the application name of the second application corresponds to a reset control, and the reset control is used to reset the second ecosystem supported by the second application;

[0085] The pairing device 40 of the smart home device further includes:

[0086] The clearing module is configured to clear the pairing relationship between the second application and the smart home device through the first application in response to receiving a trigger operation of the user on the reset control.

[0087] Optionally, the pairing device 40 of the smart home device further includes:

[0088] A first recording module, configured to record the current time when the pairing code is displayed;

[0089] The second recording module is configured to record the account information of the second application and the device information of the smart terminal where the second application is located after detecting that the second application is successfully paired with the smart home device;

[0090] The association upload module is used to associate the current time, account information and device information, and upload them to the cloud server corresponding to the first ecosystem.

[0091] Optionally, the pairing device 40 of the smart home device further includes:

[0092] A receiving module, configured to receive a current device status returned by a smart home device, where the current device status is obtained after the smart home device is controlled by an application corresponding to any paired ecosystem in multiple ecosystems;

[0093] The synchronization module is used to synchronize the current device status in the first application.

[0094] Optionally, the multiple ecosystems include Lipro ecosystem and HomeKit ecosystem, Lipro ecosystem is the first ecosystem, and the first application is paired with the smart home device via Bluetooth connection.

[0095] The smart home device pairing apparatus provided in the embodiments of the present disclosure can execute any of the smart home device pairing methods applicable to electronic devices provided in the embodiments of the present disclosure, and has the corresponding functional modules and beneficial effects. Any details not fully described in the apparatus embodiments of the present disclosure may be referred to in the description of any of the method embodiments of the present disclosure.

[0096] An exemplary embodiment of the present disclosure further provides an electronic device, comprising: a processor; and a memory storing a program, wherein the program comprises instructions that, when executed by the processor, cause the processor to execute the method for pairing smart home devices as described in any of the foregoing embodiments of the present disclosure.

[0097] An exemplary embodiment of the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions, when executed by a processor of a computer, are used to cause the computer to perform the method for pairing smart home devices as described in any of the foregoing embodiments of the present disclosure.

[0098] An exemplary embodiment of the present disclosure further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, it is used to enable the computer to perform the pairing method of smart home devices as described in any of the aforementioned embodiments of the present disclosure.

[0099] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0100] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0101] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., magnetic disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0102] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0103] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0104] Computer systems may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other.

Claims

1. A method for pairing smart home devices, characterized in that: The smart home device supports multiple ecosystems, and the method includes: In response to receiving a binding ecosystem operation triggered by a user through a first application corresponding to a smart home device, obtaining a pairing code corresponding to the smart home device, wherein the first application is an application that supports the first ecosystem; The pairing code is displayed so that a second application supporting a second ecosystem is paired with the smart home device based on the pairing code, wherein the first ecosystem and the second ecosystem belong to the multiple ecosystems, and the smart terminal on which the second application is installed is connected to the same Wi-Fi network as the smart home device.

2. The method for pairing smart home devices according to claim 1, wherein: The obtaining of a pairing code corresponding to the smart home device includes: Detecting whether the pairing code exists in the local cache of the smart terminal where the first application is located; If so, obtaining the pairing code from the local cache; If not, connect to the smart home device through the first application, obtain the pairing code of the smart home device and cache it in the local cache.

3. The method for pairing smart home devices according to claim 1, wherein: The method further comprises: After the second application is successfully paired with the smart home device, the application name of the second application is added to the target display page of the first application.

4. The method for pairing smart home devices according to claim 3, wherein: The application name of the second application corresponds to a reset control, and the reset control is used to reset the second ecosystem supported by the second application; The method further comprises: In response to receiving a triggering operation on the reset control by the user, the pairing relationship between the second application and the smart home device is cleared through the first application.

5. The method for pairing smart home devices according to claim 1, wherein: The method further comprises: Recording the current time when the pairing code is displayed; After monitoring that the second application is successfully paired with the smart home device, record the account information of the second application and the device information of the smart terminal where the second application is located; The current time, the account information, and the device information are associated and uploaded to the cloud server corresponding to the first ecosystem.

6. The method for pairing smart home devices according to claim 1, wherein: The method further comprises: receiving a current device state returned by the smart home device, where the current device state is obtained after the smart home device is controlled by an application corresponding to any paired ecosystem among the multiple ecosystems; The current device state is synchronized in the first application.

7. The method for pairing smart home devices according to any one of claims 1 to 6, wherein: The multiple ecosystems include Lipro ecosystem and HomeKit ecosystem, the Lipro ecosystem is the first ecosystem, and the first application is paired with the smart home device via Bluetooth connection.

8. A pairing device for smart home devices, characterized in that: The smart home device supports multiple ecosystems, and the device includes: an acquisition module, configured to acquire a pairing code corresponding to a smart home device in response to receiving a binding ecosystem operation triggered by a user through a first application corresponding to the smart home device, wherein the first application is an application that supports the first ecosystem; A display module is used to display the pairing code so that a second application supporting the second ecosystem is paired with the smart home device based on the pairing code, wherein the first ecosystem and the second ecosystem belong to the multiple ecosystems, and the smart terminal installed with the second application is connected to the same Wi-Fi network as the smart home device.

9. An electronic device, characterized in that: include: processor; as well as Memory for storing programs, The program includes instructions, which, when executed by the processor, enable the processor to perform the pairing method for smart home devices according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable the computer to execute the pairing method for smart home devices according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Equipment sharing method and device, storage medium and electronic equipment

    CN118541955A

  • Cross-platform interaction control method, electronic equipment, readable storage medium and program product

    CN119697227A

  • Cross-ecosystem device management control method, device, storage medium, and electronic device

    JP2024545664A