Intelligent device pairing method and intelligent device system
By using the pairing method of sharing QR codes on the server side of the smart device, the problem of poor convenience in the pairing process of smart devices is solved, and a simplified pairing process and improved security is achieved.
Patent Information
- Application Number
- CN202411842458.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-05-09
Smart Images

Figure CN119967419A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of device control, and more specifically, to a pairing method for smart devices and a smart device system. Background Art
[0002] With the popularization of smart devices, users need to use control terminals such as mobile phones to control smart devices. However, before controlling, the user's control terminal needs to be paired with the smart device to have control authority.
[0003] The current pairing method usually requires the user to manually input the device information of the smart device, and the pairing can only be completed after going through relatively complicated pairing steps, resulting in a less convenient pairing process for the smart device. Summary of the invention
[0004] The embodiments of the present application provide a pairing method for a smart device and a smart device system, so as to at least solve the technical problem that the pairing process of the smart device is less convenient.
[0005] According to a first aspect of an embodiment of the present application, a method for pairing a smart device is provided, which is applied to a server of the smart device, and the method includes:
[0006] When the target device has been paired with the first control terminal, if authorization information is obtained from the first control terminal that allows the target device to be paired, a shared QR code generated for the target device is transmitted to the first control terminal and / or the target device;
[0007] When the second control terminal requests to pair with the target device, if the second control terminal uploads the pairing request by scanning the shared QR code, the second control terminal is paired with the target device.
[0008] Using the above method, once the user holding the first control end agrees to pair other terminals with the target device, the user of the second control end can pair with the target device by scanning the shared QR code. The user of the second control end does not need to perform a complicated pairing process and input more information required for pairing, thereby improving the convenience of pairing smart devices.
[0009] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:
[0010] If a two-dimensional code request for the target device is received from the first control end, it is determined that authorization information that the first control end allows pairing with the target device is obtained.
[0011] By adopting the above method, when the user holding the first control terminal authorizes, there is no need to perform complicated operations or fill in more information. It is only necessary to control the first control terminal to transmit a QR code request to the server. This is simple and convenient, and is conducive to improving the convenience of pairing smart devices.
[0012] In combination with the first aspect, in an optional implementation of the embodiment of the present application, after receiving the QR code request for the target device from the first control end, it is deemed that the authorization information that the first control end allows the target device to be paired is obtained, the method further includes:
[0013] Generate a shared QR code based on the device information of the target device.
[0014] In the above manner, the shared QR code is generated based on the device information of the target device, so that when the server needs to verify the shared QR code, it can know which target device the shared QR code belongs to, thereby improving the pairing security of smart devices.
[0015] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:
[0016] Determining whether the pairing request is associated with QR code information;
[0017] If there is associated QR code information, verify whether the QR code information is the information of the shared QR code;
[0018] If it is the information of the shared QR code, it is determined that the second control terminal uploads the pairing request by scanning the shared QR code.
[0019] By adopting the above method, the server can use the pairing request to obtain and verify the QR code information, which helps to improve the security of smart device pairing.
[0020] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, after pairing the second control terminal with the target device, the method further includes:
[0021] The shared QR code is sent to the second control terminal.
[0022] By adopting the above method, the second control terminal can also obtain the shared QR code, so that when the user needs to use other terminals to control the target device, he can directly scan the shared QR code displayed on the second control terminal to pair with the target device, thereby improving the convenience of pairing smart devices.
[0023] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:
[0024] If a request message from a third control terminal is received by scanning the shared QR code, the target device is paired with the third control terminal.
[0025] Using the above method, the third control terminal can also scan the shared QR code to complete pairing with the target device. Since the second control terminal also obtains the shared QR code, the convenience of the third control terminal scanning the shared QR code is improved. At the same time, the target device can be paired with three terminals, which improves the convenience of user control of the target device.
[0026] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:
[0027] The terminal information of the control terminal paired with the target device is associated with the device information of the target device and stored.
[0028] The above method is used to improve the pairing security and convenience of smart devices.
[0029] According to a second aspect of an embodiment of the present application, a method for pairing a smart device is provided, which is applied to a target device, and the method includes:
[0030] When obtaining a control request from the second control terminal, if the second control terminal has been paired with the first control terminal, obtaining information of the paired first control terminal;
[0031] Requesting authorization from the first control terminal, so as to trigger generation of a shared QR code after the first control terminal agrees to the authorization;
[0032] If a shared QR code is obtained, the shared QR code is displayed so that the second control terminal can pair with itself by scanning the shared QR code.
[0033] Using the above method, when the second control end needs to be paired with the target device, the target device can obtain the shared QR code if the first control end agrees to authorize, and then display the shared QR code, so that the user holding the second control end can complete the pairing with the target device by scanning the shared QR code displayed by the target device. The user does not need to go through a complicated pairing process or input a lot of information required for pairing, thereby improving the convenience of pairing smart devices.
[0034] In conjunction with the second aspect, in an optional implementation of the embodiment of the present application, requesting authorization from the first control terminal includes:
[0035] Upload its own device information and the second terminal information of the second control terminal to the first control terminal.
[0036] In conjunction with the second aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:
[0037] If the device itself is not paired with a control terminal, it will pair with the second control terminal and upload the second terminal information of the second control terminal and its own device information to the server.
[0038] According to a third aspect of an embodiment of the present application, a method for pairing a smart device is provided, the method comprising:
[0039] In response to a first request signal from the target device for first terminal information of a first control terminal, the server sends the first terminal information to the target device, wherein the first control terminal is a terminal paired with the target device;
[0040] The target device requests authorization from the first control terminal according to the first terminal information;
[0041] After the first control terminal agrees to the authorization, it requests the server for a shared QR code for the target device;
[0042] The server generates a shared QR code based on the device information of the target device and transmits the shared QR code to the target device and / or the first control terminal;
[0043] After the second control terminal scans the target device or the shared QR code displayed by the first control terminal, a pairing request is generated to the server;
[0044] The server pairs the second control terminal with the target device so that the second control terminal can control the target device.
[0045] According to a fourth aspect of the embodiments of the present application, there is provided a smart device system, including a target device, a first control terminal, a second control terminal and a server;
[0046] The server is in communication with the target device and is used to manage and control the pairing status of the target device;
[0047] The server is used to execute the pairing method described above;
[0048] The target device is used to execute the pairing method described above.
[0049] In combination with the fourth aspect, in an optional implementation of the embodiment of the present application, the target device includes a smart home appliance.
[0050] The technical effects obtained by the above-mentioned second to fourth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of a method for pairing a smart device provided in an embodiment of the present application;
[0052] Figure 2 This is a flowchart of a smart device pairing method provided in an embodiment of the present application in a specific application. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0054] It should be understood that the "plurality" mentioned in this article refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and so on are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and so on do not limit the quantity and execution order, and the words "first", "second" and so on do not limit certain different
[0055] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.
[0056] With the popularity of smart home devices, users have an increasing demand for device pairing and sharing. Traditional device pairing methods usually require users to manually enter device information or go through a complex setup process for pairing, which is not only cumbersome to operate, but may also result in devices being used by unauthorized users. In addition, when users need to share devices with others, they often lack a convenient and secure way to share.
[0057] This proposal proposes a device pairing and sharing mechanism based on mobile phone applications. Through QR code sharing control, users can easily share devices with others while ensuring the security and privacy of device use. This solution not only simplifies the device pairing process, but also provides a flexible device sharing method to meet users' diverse needs for the use of smart home devices.
[0058] Based on this, the embodiments of the present application provide a pairing method of a smart device and a smart device system, which have at least the following features:
[0059] A device pairing and sharing mechanism method, the user retrieves the air conditioner device signal through a mobile phone application applet or App for pairing. When the air conditioner receives the request, it will check whether the device is connected by others. If not, it will connect normally. If the air conditioner has been paired by others, the air conditioner will request the information of the user to whom it belongs from the server and request the user through the network. When the user's mobile phone application receives that a new user wants to pair the air conditioner, the user enters the mobile phone application to operate. The operation content can be to unbind and allow others to re-pair or send instructions to the air conditioner through the server to generate a QR code on the air conditioner. The QR code information includes the device information of the air conditioner. The new user scans the QR code for sharing control. The shared QR code only supports sharing the device you want to bind, not all devices. Among them, the device you want to bind refers to the device that the user wants to bind. For example, there are three rooms in the family, each room has an air conditioner, and now the user wants to bind the air conditioner in the master bedroom. The air conditioner in the master bedroom receives the request, and other air conditioners will not receive the shared QR code.
[0060] At least solve the following technical problems:
[0061] During the device pairing process, the air conditioner will check whether there is a user connected and verify the user's identity through the server to ensure that the device is not used by unauthorized users.
[0062] At least the following technical effects are achieved:
[0063] The user experience is enhanced by simplifying the device pairing process, convenient device sharing mechanism, improving device security and privacy protection, and centralized device management.
[0064] Next, the pairing method of the smart device provided in the embodiment of the present application is further described. Figure 1 The flowchart of the pairing method of the smart device shown is applied to the server of the smart device, and the method includes the following processing procedures.
[0065] S100: When the target device has been paired with the first control terminal, if authorization information is obtained from the first control terminal allowing the target device to be paired, a shared QR code generated for the target device is transmitted to the first control terminal and / or the target device.
[0066] In one embodiment, the target device includes a smart device that can be controlled, specifically, for example, a smart home device, such as an air conditioner, a refrigerator, etc., which is not specifically limited in this embodiment.
[0067] In one embodiment, the first control end includes a terminal capable of controlling the target device, specifically, such as a remote controller, a smart phone, etc., which is not specifically limited in this embodiment.
[0068] In one embodiment, after the target device is paired with the first control terminal, it will store information indicating that it has been paired with the terminal, for example, changing the flag bit from 0 to 1, indicating that it has been paired with the terminal, and the server can determine whether the target device has been paired with the first control terminal by obtaining the flag bit inside the target device. In another embodiment, the server stores the pairing status of the target device to determine whether the target device has been paired with the first control terminal.
[0069] In one embodiment, if the first control terminal agrees to pair the target device with other terminals, it will transmit authorization information to the server, and the specific content of the authorization information is not limited in this embodiment. After obtaining the authorization information, the server generates a shared QR code for the target device and sends the shared QR code to the target device and / or the first control terminal.
[0070] Among them, the shared QR code has the general characteristics of the QR code, namely, the uniqueness and verifiability of the QR code. Specifically, when a terminal scans the QR code and requests the server to pair with the target device, the server can identify whether the code scanned by the terminal is a shared QR code based on the key or unique feature of the shared QR code, thereby improving the security of the pairing.
[0071] S102: When the second control terminal requests to pair with the target device, if the second control terminal uploads the pairing request by scanning the shared QR code, pair the second control terminal with the target device.
[0072] In one embodiment, the second control terminal includes a terminal capable of controlling the target device, specifically, a remote controller, a smart phone, etc., which is not specifically limited in this embodiment. It should be noted that the second control terminal is not the same terminal as the first control terminal.
[0073] In one embodiment, after receiving the pairing request from the second control terminal, the server can identify from the information carried in the pairing request or from the transmission path of the pairing request whether the second control terminal generates the pairing request by scanning the shared QR code. The specific identification process is not specifically limited in this embodiment. If the pairing request is uploaded by scanning the shared QR code, the second control terminal is paired with the target device so that the second control terminal can control the target device.
[0074] Using the above method, once the user holding the first control end agrees to pair other terminals with the target device, the user of the second control end can pair with the target device by scanning the shared QR code. The user of the second control end does not need to perform a complicated pairing process and input more information required for pairing, thereby improving the convenience of pairing smart devices.
[0075] In a possible embodiment of the present application, the method further includes:
[0076] If a two-dimensional code request for the target device is received from the first control end, it is determined that authorization information that the first control end allows pairing with the target device is obtained.
[0077] In one embodiment, after the user holding the first control terminal agrees to the authorization, the first control terminal will transmit a QR code request for the target device to the server. After receiving the QR code request, the server determines that the first control terminal authorizes the target device to pair with other terminals, that is, the authorization information can be a QR code request.
[0078] It should be noted that this embodiment does not limit the specific content of the QR code request. For example, the QR code request may be associated with a unique identification identifier of the first control terminal and a unique identification identifier of the target device.
[0079] By adopting the above method, when the user holding the first control terminal authorizes, there is no need to perform complicated operations or fill in more information. It is only necessary to control the first control terminal to transmit a QR code request to the server. This is simple and convenient, which is conducive to improving the convenience of pairing smart devices.
[0080] Optionally, in an implementation of this embodiment, after receiving the QR code request for the target device from the first control end, it is deemed that authorization information that the first control end allows pairing with the target device is obtained, the method further includes:
[0081] Generate a shared QR code based on the device information of the target device.
[0082] In one embodiment, the shared QR code generated by the server is associated with the device information of the target device. Specifically, the shared QR code may include the device information of the target device, or may be associated with the device information of the target device, which is not specifically limited in this embodiment.
[0083] In the above manner, the shared QR code is generated based on the device information of the target device, so that when the server needs to verify the shared QR code, it can know which target device the shared QR code belongs to, thereby improving the pairing security of smart devices.
[0084] Optionally, in an implementation of this embodiment, the method further includes:
[0085] Determining whether the pairing request is associated with QR code information;
[0086] If there is associated QR code information, verify whether the QR code information is the information of the shared QR code;
[0087] If it is the information of the shared QR code, it is determined that the second control terminal uploads the pairing request by scanning the shared QR code.
[0088] In one embodiment, if the pairing request is generated by scanning a shared QR code, the pairing request will include or be associated with the QR code information, so that the server can identify whether the pairing request is generated by scanning the QR code.
[0089] Furthermore, after determining that the pairing request is associated with QR code information, the server verifies the QR code information. If the QR code information is the shared QR code information associated with the target device, it is determined that the second control terminal uploaded the pairing request by scanning the shared QR code, and then the second control terminal can be paired with the target device.
[0090] By adopting the above method, the server can use the pairing request to obtain and verify the QR code information, which helps to improve the security of smart device pairing.
[0091] Optionally, in an implementation of this embodiment, after pairing the second control terminal with the target device, the method further includes:
[0092] The shared QR code is sent to the second control terminal.
[0093] In one embodiment, after the server pairs the second control terminal with the target device, it also sends the shared QR code of the target device to the second control terminal, so that other terminals can pair with the target device by scanning the shared QR code displayed by the second control terminal.
[0094] By adopting the above method, the second control terminal can also obtain the shared QR code, so that when the user needs to use other terminals to control the target device, he can directly scan the shared QR code displayed on the second control terminal to pair with the target device, thereby improving the convenience of pairing smart devices.
[0095] Optionally, in an implementation of this embodiment, the method further includes:
[0096] If a request message from a third control terminal is received by scanning the shared QR code, the target device is paired with the third control terminal.
[0097] In one embodiment, the third control terminal is similar to the first and second control terminals, and refers to a terminal capable of controlling the target device.
[0098] In one embodiment, the third control terminal can complete pairing with the target device by scanning a shared QR code displayed by the target device, the first control terminal, or the second control terminal.
[0099] Using the above method, the third control terminal can also scan the shared QR code to complete pairing with the target device. Since the second control terminal also obtains the shared QR code, the convenience of the third control terminal scanning the shared QR code is improved. At the same time, the target device can be paired with three terminals, which improves the convenience of user control of the target device.
[0100] Optionally, in an implementation of this embodiment, the method further includes:
[0101] The terminal information of the control terminal paired with the target device is associated with the device information of the target device and stored.
[0102] In one embodiment, after the server pairs the target device with the control terminal, it associates and stores the terminal information with the device information to improve the security of the pairing. The control terminal includes a first control terminal, a second control terminal and a third control terminal.
[0103] The above method is used to improve the pairing security and convenience of smart devices.
[0104] An embodiment of the present application provides a method for pairing a smart device, which is applied to a target device, and the method includes:
[0105] When obtaining a control request from the second control terminal, if the first control terminal has been paired with the second control terminal, the information of the paired first control terminal is obtained.
[0106] In one embodiment, when the second control terminal wants to pair with the target device, it transmits a control request to the target device. After receiving the control request, the target device determines whether it is paired with the first control terminal. If so, it obtains the information of the first control terminal from the server.
[0107] Request authorization from the first control end to trigger generation of a shared QR code after the first control end agrees to the authorization.
[0108] In one embodiment, the target device transmits information requesting authorization to the first control terminal to inquire whether the first control terminal agrees to authorize the second control terminal to pair with the target device.
[0109] If a shared QR code is obtained, the shared QR code is displayed so that the second control terminal can pair with itself by scanning the shared QR code.
[0110] In one embodiment, if the first control terminal agrees to the authorization, the server will generate a shared QR code, and the target device will display the shared QR code after obtaining it. The second control terminal can scan the shared QR code to achieve pairing with the target device.
[0111] Using the above method, when the second control end needs to be paired with the target device, the target device can obtain the shared QR code if the first control end agrees to authorize, and then display the shared QR code, so that the user holding the second control end can complete the pairing with the target device by scanning the shared QR code displayed by the target device. The user does not need to go through a complicated pairing process or input a lot of information required for pairing, thereby improving the convenience of pairing smart devices.
[0112] Optionally, in an implementation of this embodiment, the requesting authorization from the first control terminal includes:
[0113] Upload its own device information and the second terminal information of the second control terminal to the first control terminal.
[0114] The first control terminal can obtain the second terminal information of the second control terminal, so that the user holding the first control terminal can determine whether to authorize the second control terminal.
[0115] Optionally, in an implementation of this embodiment, the method further includes:
[0116] If the first control terminal is not paired with itself, it will pair with the second control terminal and upload the second terminal information of the second control terminal and its own device information to the server.
[0117] Since the target device is not paired with the first control terminal, the server directly pairs the second control terminal with the target device. It should be noted that if the second control terminal is the first terminal paired with the target device, the second control terminal becomes the first control terminal.
[0118] An embodiment of the present application provides a method for pairing a smart device, the method comprising:
[0119] In response to a first request signal from the target device for first terminal information of a first control terminal, the server sends the first terminal information to the target device, wherein the first control terminal is a terminal paired with the target device;
[0120] The target device requests authorization from the first control terminal according to the first terminal information;
[0121] After the first control terminal agrees to the authorization, it requests the server for a shared QR code for the target device;
[0122] The server generates a shared QR code based on the device information of the target device and transmits the shared QR code to the target device and / or the first control terminal;
[0123] After the second control terminal scans the target device or the shared QR code displayed by the first control terminal, a pairing request is generated to the server;
[0124] The server pairs the second control terminal with the target device so that the second control terminal can control the target device.
[0125] The smart device system provided in the embodiment of the present application includes a target device, a first control terminal, a second control terminal and a server;
[0126] The server is in communication with the target device and is used to manage and control the pairing status of the target device;
[0127] The server is used to execute the pairing method described above;
[0128] The target device is used to execute the pairing method described above.
[0129] Optionally, in an optional implementation of the embodiment of the present application, the target device includes a smart home appliance.
[0130] In the above-mentioned embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The steps shown in the relevant flow chart can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flow chart, in some cases, the steps shown or described can be executed in an order different from that here. In other words, the order of steps described in the foregoing embodiments is only an example, and it is also within the scope of protection of the embodiments of the present application to reasonably adjust the order of steps based on the content of the embodiments of the present application.
[0131] In a specific implementation of the embodiment of the present application, the pairing method of the smart device and the smart device system include the following processing procedures:
[0132] The invention of this proposal mainly revolves around the server module, wireless module, APP application and QR code display module, among which the server module is responsible for the storage of device information, user identity authentication, processing of device pairing requests, and QR code generation and verification, ensuring the security and privacy of device use; the wireless module is responsible for wireless communication between the device and the mobile phone application, supports Bluetooth and Wi-Fi connections, and realizes device search, pairing, authorization request notification and transmission of QR code information; the APP application is the entry point for user operations, and users use the mobile phone application to search, pair, authorize operations, and generate and scan QR codes, simplifying the device management process; the QR code display module generates a QR code containing device information through the air-conditioning equipment for users to scan and use, ensuring the convenience and security of device sharing. These modules work together to solve the problems of device pairing complexity, device sharing inconvenience, device security and privacy protection, and device management complexity, improving the user experience and the security and privacy of device use.
[0133] Server module: The server module plays a core role in this proposal, responsible for the storage of device information, user identity authentication, processing of device pairing requests, and QR code generation and verification. Through these functions, the server ensures the security and privacy of device use, prevents unauthorized users from using the device, and ensures the accuracy of device pairing and the validity of the QR code.
[0134] Wireless module: The wireless module is responsible for wireless communication between the device and the mobile phone application, and supports Bluetooth and Wi-Fi connections. It enables fast search and pairing of devices, sends authorization request notifications to the current user, and ensures that the generated QR code information is transmitted to the user's mobile phone application in real time, thereby simplifying the device management process and improving the user experience.
[0135] APP application: APP application is the entry point for user operation. Users can search, pair, authorize, generate and scan QR codes through mobile phone applications. The application simplifies the device pairing process, provides flexible device sharing methods, ensures the convenience and security of device sharing, and improves user satisfaction and loyalty.
[0136] QR code display module: The QR code display module generates a QR code containing device information through the air-conditioning equipment for users to scan and use. Users view and share the QR code through the mobile phone application, and new users bind the device by scanning the QR code, ensuring the convenience and security of device sharing and simplifying the device management process.
[0137] Implementation process example
[0138] like Figure 2 As shown, device search and pairing: the user opens the mobile app and selects the "Add device" function. The app starts the Bluetooth or Wi-Fi scanning function through the wireless module to search for nearby air-conditioning device signals. The user selects "Search for devices" in the app, and the app displays a list of nearby air-conditioning devices that can be paired. After the user selects the target device, the app sends a pairing request to the device through the wireless module.
[0139] Device pairing response: After receiving the pairing request, the air conditioner sends a request to the server through the wireless module to check whether there is a user connected to it. If there is no user connected, the air conditioner and the mobile phone application complete the pairing through the wireless module, and the server records the device binding information (which air conditioner is bound to which user). If there is a user connected, the air conditioner requests the server for the user information through the wireless module and sends an authorization request to the user through the network.
[0140] User authorization process: The current user receives an authorization request notification in the mobile app, which includes the new user information and device information requested for pairing. The user can choose "Unbind and allow others to re-pair" or "Generate a QR code for sharing". If the user chooses "Unbind and allow others to re-pair", the app sends an unbinding request to the server through the wireless module, and the server unbinds the current user and allows the new user to pair. If the user chooses "Generate a QR code for sharing", the app requests the server to generate a QR code through the wireless module. The server generates a QR code containing the device information and sends the QR code information to the user's mobile app through the wireless module.
[0141] QR code generation and scanning: Users view and share QR codes in the app. New users scan the QR code through the mobile app, and the app parses the QR code information and completes device binding. The app sends a binding request to the server through the wireless module, and the server completes device binding after verifying the QR code information.
[0142] Device management and control: After successful binding, new users can view device status in the app and control the device. The app sends device status information to the server via the wireless module to ensure real-time updates of device status. Users can centrally manage devices through the mobile app, view device status, perform authorization operations, and generate QR codes for device sharing, simplifying the device management process.
[0143] Through the above implementation process, users can easily pair and share devices while ensuring the security and privacy of device use. This solution not only simplifies the device pairing process, but also provides a flexible device sharing method to meet users' diverse needs for the use of smart home devices.
[0144] The sequence of serial numbers or introduction of the embodiments of the present application is for description only and does not represent the superiority or inferiority of the embodiments.
[0145] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0147] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0148] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiment of the present application may be a non-volatile storage medium, in other words, a non-transient storage medium.
[0149] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the scene data of the current frame in the three-dimensional virtual scene, the device information of the client, and the scene interaction information involved in the embodiments of this application are all obtained with full authorization.
[0150] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for pairing a smart device, characterized in that: The method is applied to a server of a smart device, and comprises: When the target device has been paired with the first control terminal, if authorization information is obtained from the first control terminal that allows the target device to be paired, a shared QR code generated for the target device is transmitted to the first control terminal and / or the target device; When the second control terminal requests to pair with the target device, if the second control terminal uploads the pairing request by scanning the shared QR code, the second control terminal is paired with the target device.
2. The method for pairing a smart device according to claim 1, characterized in that: The method further comprises: If a two-dimensional code request for the target device is received from the first control end, it is determined that authorization information that the first control end allows pairing with the target device is obtained.
3. The method for pairing a smart device according to claim 2, characterized in that: After receiving the QR code request for the target device from the first control end, it is deemed that authorization information that the first control end allows pairing with the target device is obtained, the method further includes: Generate a shared QR code based on the device information of the target device.
4. The method for pairing a smart device according to claim 1, characterized in that: The method further comprises: Determining whether the pairing request is associated with QR code information; If there is associated QR code information, verify whether the QR code information is the information of the shared QR code; If it is the information of the shared QR code, it is determined that the second control terminal uploads the pairing request by scanning the shared QR code.
5. The method for pairing a smart device according to claim 4, characterized in that: After pairing the second control terminal with the target device, the method further includes: The shared QR code is sent to the second control terminal.
6. The method for pairing a smart device according to any one of claims 1 to 5, characterized in that: The method further comprises: If a request message from a third control terminal is received by scanning the shared QR code, the target device is paired with the third control terminal.
7. The method for pairing a smart device according to any one of claims 1 to 5, characterized in that: The method further comprises: The terminal information of the control terminal paired with the target device is associated with the device information of the target device and stored.
8. A method for pairing a smart device, characterized in that: Applied to a target device, the method comprises: When obtaining a control request from the second control terminal, if the first control terminal has been paired with the second control terminal, obtaining information of the paired first control terminal; Requesting authorization from the first control terminal, so as to trigger generation of a shared QR code after the first control terminal agrees to the authorization; If a shared QR code is obtained, the shared QR code is displayed so that the second control terminal can pair with itself by scanning the shared QR code.
9. The method for pairing a smart device according to claim 8, characterized in that: The requesting authorization from the first control terminal includes: Upload its own device information and the second terminal information of the second control terminal to the first control terminal.
10. The method for pairing a smart device according to claim 8, characterized in that: The method further comprises: If the device itself is not paired with a control terminal, it will pair with the second control terminal and upload the second terminal information of the second control terminal and its own device information to the server.
11. A method for pairing a smart device, characterized in that: The method comprises: In response to a first request signal from the target device for first terminal information of a first control terminal, the server sends the first terminal information to the target device, wherein the first control terminal is a terminal paired with the target device; The target device requests authorization from the first control terminal according to the first terminal information; After the first control terminal agrees to the authorization, it requests the server for a shared QR code for the target device; The server generates a shared QR code based on the device information of the target device and transmits the shared QR code to the target device and / or the first control terminal; After the second control terminal scans the target device or the shared QR code displayed by the first control terminal, a pairing request is generated to the server; The server pairs the second control terminal with the target device so that the second control terminal can control the target device.
12. A smart device system, characterized in that: It includes a target device, a first control terminal, a second control terminal and a server; The server is in communication with the target device and is used to manage and control the pairing status of the target device; The server is used to execute the pairing method according to any one of claims 1 to 7; The target device is used to execute the pairing method described in any one of claims 8-10.
13. The smart device system according to claim 12, characterized in that: The target device includes a smart home appliance.