Pairing and authorization control method, device, air conditioner, client and storage medium

Through Bluetooth BLE module broadcasting, electrical equipment generates pairing and control keys, realizing the security control of electrical equipment by multiple clients, solving the problem that multiple clients cannot control simultaneously in the prior art.

CN115643555BActive Publication Date: 2025-09-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211157197.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2025-09-05
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

In the prior art, the Bluetooth communication method between the client and the electrical equipment cannot realize that multiple clients control one electrical equipment at the same time, resulting in a re-establishment of the connection every time the control is carried out, which cannot meet the needs of multiple clients to control one electrical equipment.

Method used

Using Bluetooth BLE module broadcasting, electrical equipment generates a pairing key and displays it. The client establishes a connection by scanning the pairing broadcast information, generates a control key and disconnects it. The communication module broadcasts control commands to realize the control of multiple clients.

Benefits of technology

It is realized that multiple clients can control one electrical device at the same time, meet the control needs of multiple clients for electrical equipment, and ensure safety and no interference through broadcasting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115643555B_ABST
    Figure CN115643555B_ABST
Patent Text Reader

Abstract

The present invention discloses a pairing and authorization control method, device, air conditioner, client and storage medium. The method includes: generating a pairing key and displaying it, using a first communication module to publish a pairing broadcast message, so that any client can communicate and pair with the electrical device through the pairing key based on the pairing broadcast message, and establish a communication pairing link; generating a control key, and sending it to any client through the communication pairing link, and then disconnecting the communication pairing link, so that any client can publish a control broadcast message based on the control key; using the first communication module to receive the control broadcast message, decrypt it according to the control key, obtain a control command and execute it. This solution, by using a communication module (such as a Bluetooth BLE module) to broadcast, enables any client to pair and authorize control of the electrical device, so as to meet the demand of using multiple clients to control one electrical device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electrical equipment, and specifically relates to a pairing and authorization control method, device, air conditioner, client and storage medium, and more particularly to a pairing and authorization control method, device, air conditioner, client and storage medium based on a communication module (such as a Bluetooth BLE module) broadcasting between a client (such as a mobile phone) and an electrical device (such as an air conditioner). Background Art

[0002] With the advancement of science and technology, the control methods for electrical devices (such as air conditioners) are constantly expanding. For example, initially, electrical devices (such as air conditioners) could only be controlled with infrared remote controls, but now they can be controlled using clients (such as mobile phones) and voice commands. In the context of using clients (such as mobile phones) to control electrical devices (such as air conditioners), related solutions primarily use Bluetooth and infrared communication methods to control electrical devices (such as air conditioners).

[0003] However, when a client (e.g., a mobile phone) uses Bluetooth communication to control an electrical device (e.g., an air conditioner), the client (e.g., mobile phone) and the electrical device (e.g., air conditioner) must establish a communication connection via Bluetooth before controlling the device. This control method cannot meet the needs of using multiple clients (e.g., mobile phones) to control a single electrical device (e.g., an air conditioner). For example, each time a client (e.g., a mobile phone) wants to control an electrical device (e.g., an air conditioner), it must re-establish a communication connection with the electrical device (e.g., an air conditioner) via Bluetooth and disconnect the electrical device (e.g., an air conditioner) from other clients (e.g., mobile phones). Therefore, it cannot meet the needs of using multiple clients (e.g., mobile phones) to control a single electrical device (e.g., an air conditioner).

[0004] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The purpose of the present invention is to provide a pairing and authorization control method, device, air conditioner, client and storage medium to solve the problem that each time a client (such as a mobile phone) wants to control an electrical device (such as an air conditioner), it is necessary to re-establish a communication connection with the electrical device (such as an air conditioner) through Bluetooth communication and disconnect the communication connection between the electrical device (such as an air conditioner) and other clients (such as a mobile phone). Therefore, the problem of being unable to meet the need to use multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner) is achieved by broadcasting using a communication module (such as a Bluetooth BLE module). Of course, WIFI broadcasting is also possible, so that any client (such as a mobile phone) can pair and authorize control of the electrical device (such as an air conditioner) to meet the need to use multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner).

[0006] The present invention provides a pairing and authorization control method for an electrical device (such as an air conditioner), wherein the electrical device has a communication module, which is recorded as a first communication module; the pairing and authorization control method for the electrical device includes: generating a first key, which is recorded as a pairing key; and displaying the pairing key; using the first communication module to publish a broadcast method, publishing a first broadcast message, which is recorded as a pairing broadcast message, so that any client can communicate and pair with the electrical device through the pairing key based on the pairing broadcast message to establish a communication pairing link; generating a second key, which is recorded as a control key; and sending the control key to any client through the communication pairing link, and then disconnecting the communication pairing link, so that any client can publish a second broadcast message based on the control key, which is recorded as a control broadcast message; using the first communication module to receive a broadcast method, receiving the control broadcast message, decrypting the control broadcast message according to the control key to obtain a control command; and executing the control command.

[0007] In some embodiments, the communication module includes: a Bluetooth BLE module; the first communication module includes: a first Bluetooth BLE module; the first Bluetooth BLE module can publish the first broadcast information and can also receive the second broadcast information; accordingly, using the first communication module to publish broadcasts to publish pairing broadcast information includes: using the first Bluetooth BLE module to publish broadcasts to publish pairing broadcast information; using the first communication module to receive broadcasts to receive the control broadcast information includes: using the first Bluetooth BLE module to receive broadcasts to receive the control broadcast information.

[0008] In some embodiments, the electrical device has a display screen; displaying the pairing key includes: displaying the pairing key using the display screen of the electrical device so that the user of the client can obtain the pairing key; and / or, the first broadcast information sent using the first communication module is a broadcast information carrying the electrical device's own information; the electrical device's own information includes: the identity information of the electrical device.

[0009] Matching the above method, another aspect of the present invention provides a pairing and authorization control device for an electrical device (such as an air conditioner), wherein the electrical device has a communication module, denoted as a first communication module; the pairing and authorization control device for the electrical device includes: a first control unit, configured to generate a first key, denoted as a pairing key; and display the pairing key; a first broadcast unit, configured to publish a first broadcast message, denoted as a pairing broadcast message, using the first communication module to publish a broadcast, so that any client can communicate and pair with the electrical device based on the pairing broadcast message through the pairing key to establish a communication pairing link; the first control unit is also configured to generate a second key, denoted as a control key; and send the control key to any client through the communication pairing link, and then disconnect the communication pairing link, so that any client can publish a second broadcast message, denoted as a control broadcast message, based on the control key; the first broadcast unit is also configured to receive the control broadcast message using the first communication module to receive a broadcast, decrypt the control broadcast message according to the control key to obtain a control command; and execute the control command.

[0010] In some embodiments, the communication module includes: a Bluetooth BLE module; the first communication module includes: a first Bluetooth BLE module; the first Bluetooth BLE module can publish the first broadcast information and can also receive the second broadcast information; accordingly, the first broadcast unit uses the first communication module to publish broadcasts to publish pairing broadcast information, including: using the first Bluetooth BLE module to publish broadcasts to publish pairing broadcast information; the first broadcast unit uses the first communication module to receive broadcasts to receive the control broadcast information, including: using the first Bluetooth BLE module to receive broadcasts to receive the control broadcast information.

[0011] In some embodiments, the electrical device has a display screen; the first control unit displays the pairing key, including: using the display screen of the electrical device to display the pairing key so that the user of the client can obtain the pairing key; and / or the first broadcast unit uses the first communication module to send a first broadcast message that carries the electrical device's own information; the electrical device's own information includes: the identity information of the electrical device.

[0012] Matching the above-mentioned device, the present invention provides an air conditioner on another aspect, including: the pairing and authorization control device for the above-mentioned electrical equipment (such as air conditioner).

[0013] In accordance with the above method, the present invention provides a storage medium on the other hand, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the pairing and authorization control method of the electrical equipment (such as air conditioner) described above.

[0014] The present invention also provides a pairing and authorization control method for a client (such as a mobile phone), wherein the client has a communication module, which is recorded as a second communication module; the pairing and authorization control method for the client includes: using the second communication module to receive broadcasts, searching for pairing broadcast information sent by the electrical device to be controlled, and when the pairing broadcast information sent by the electrical device is searched, receiving a pairing key generated by the electrical device input by the user, and based on the pairing broadcast information, communicating and pairing with the electrical device through the pairing key to establish a communication pairing link; based on the communication pairing link, receiving and saving the control key sent by the electrical device, and then disconnecting the communication pairing link; receiving a control command sent by the user of the client, encrypting the control command using the control key to form an encrypted control instruction; based on the encrypted control instruction, using the second communication module to publish a second broadcast information, which is recorded as a control broadcast information, so that after receiving the control broadcast information, the electrical device decrypts the control broadcast information according to the control key, and executes the control command after obtaining the control command.

[0015] In some embodiments, the communication module includes: a Bluetooth BLE module; the second communication module includes: a second Bluetooth BLE module; the second Bluetooth BLE module can receive the first broadcast information and can also publish the second broadcast information; accordingly, the second communication module is used to receive the broadcast and search for the pairing broadcast information sent by the electrical device to be controlled, including: using the second Bluetooth BLE module to receive the broadcast and search for the pairing broadcast information sent by the electrical device to be controlled; based on the encrypted control instruction, the second communication module is used to publish the broadcast and publish the second broadcast information, which is recorded as control broadcast information, including: based on the encrypted control instruction, the second Bluetooth BLE module is used to publish the broadcast and publish the second broadcast information, which is recorded as control broadcast information.

[0016] Matching the above method, another aspect of the present invention provides a pairing and authorization control device for a client (such as a mobile phone), wherein the client has a communication module, which is recorded as a second communication module; the pairing and authorization control method of the client includes: a second broadcast unit, which is configured to use the second communication module to receive broadcasts to search for pairing broadcast information sent by the electrical device to be controlled, and when the pairing broadcast information sent by the electrical device is searched, receives a pairing key generated by the electrical device input by the user, and based on the pairing broadcast information, performs a communication pairing connection with the electrical device through the pairing key to establish a communication pairing link; a second control unit, It is configured to receive and save the control key sent by the electrical device based on the communication pairing link, and then disconnect the communication pairing link; the second control unit is also configured to receive the control command sent by the user of the client, and use the control key to encrypt the control command to form an encrypted control instruction; the second broadcast unit is also configured to publish a second broadcast information based on the encrypted control instruction using the second communication module in a broadcasting manner, recorded as control broadcast information, so that after receiving the control broadcast information, the electrical device decrypts the control broadcast information according to the control key, and executes the control command after obtaining the control command.

[0017] In some embodiments, the communication module includes: a Bluetooth BLE module; the second communication module includes: a second Bluetooth BLE module; the second Bluetooth BLE module can receive the first broadcast information and can also publish the second broadcast information; accordingly, the second broadcast unit uses the second communication module to receive the broadcast to search for the pairing broadcast information sent by the electrical device to be controlled, including: using the second Bluetooth BLE module to receive the broadcast to search for the pairing broadcast information sent by the electrical device to be controlled; the second broadcast unit, based on the encrypted control instruction, uses the second communication module to publish the broadcast method to publish the second broadcast information, recorded as control broadcast information, including: based on the encrypted control instruction, uses the second Bluetooth BLE module to publish the broadcast method to publish the second broadcast information, recorded as control broadcast information.

[0018] Matching the above-mentioned device, the present invention further provides a client, including: the above-mentioned client (such as a mobile phone) pairing and authorization control device.

[0019] In accordance with the above method, the present invention further provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned client (such as a mobile phone) pairing and authorization control method.

[0020] Therefore, the solution of the present invention is that when any client (such as a mobile phone) needs to control an electrical device (such as an air conditioner), the electrical device (such as an air conditioner) generates and displays a pairing key, and the electrical device (such as an air conditioner) uses its own communication module (such as a Bluetooth BLE module) to send a pairing broadcast message. When any client (such as a mobile phone) scans the pairing broadcast message, it inputs the pairing key generated and displayed by the electrical device (such as an air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as an air conditioner); when a Bluetooth pairing connection is established between the electrical device (such as an air conditioner) and the any client (such as a mobile phone), the electrical device (such as an air conditioner) generates a control key and sends it to the any client (such as a mobile phone); when the any client (such as a mobile phone) receives the control broadcast message, it enters the pairing key generated and displayed by the electrical device (such as an air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as an air conditioner); when a Bluetooth pairing connection is established between the electrical device (such as an air conditioner) and the any client (such as a mobile phone), the electrical device (such as an air conditioner) generates a control key and sends it to the any client (such as a mobile phone); After the key is saved, the Bluetooth pairing connection with the electrical device (such as an air conditioner) is disconnected; any client (such as a mobile phone) generates a control command carrying a control key, and uses its own communication module (such as a Bluetooth BLE module) to send a control broadcast message; after the electrical device (such as an air conditioner) receives the control broadcast message, it uses the control key to decrypt the control broadcast message, obtains the control command, and executes the control command to realize the control of the electrical device (such as an air conditioner) by any client (such as a mobile phone). Thus, by using the communication module (such as a Bluetooth BLE module) to broadcast, any client (such as a mobile phone) can pair and authorize control of the electrical device (such as an air conditioner) to meet the need of using multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner).

[0021] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the present invention.

[0022] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 1. A flow chart of an embodiment of a method for pairing and authorizing control of an electrical device (such as an air conditioner) according to the present invention;

[0024] Figure 2 Schematic diagram of the structure of an embodiment of a pairing and authorization control device for an electrical device (such as an air conditioner) of the present invention;

[0025] Figure 3 1. A flow chart of an embodiment of a method for pairing and authorizing a client (such as a mobile phone) of the present invention;

[0026] Figure 4 Schematic diagram of the structure of an embodiment of a pairing and authorization control device for a client (such as a mobile phone) of the present invention;

[0027] Figure 5 A schematic diagram of the module structure of an embodiment of a control device for authorization and pairing between an electrical device (such as an air conditioner) and a client (such as a mobile phone);

[0028] Figure 6 The figure is a flowchart of an embodiment of a method for controlling authorization and pairing between an electrical device (such as an air conditioner) and a client (such as a mobile phone).

[0029] In conjunction with the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:

[0030] 102 - first broadcasting unit; 104 - first control unit; 106 - second broadcasting unit; 108 - second control unit. DETAILED DESCRIPTION

[0031] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0032] Consider that when a client (such as a mobile phone) controls an electrical device (such as an air conditioner) via Bluetooth communication, the Bluetooth communication is established one-to-one, and simultaneous one-to-many communication is not possible. When a new client (such as a mobile phone) controls a connected electrical device (such as an air conditioner), the Bluetooth pairing connection between the old client (such as a mobile phone) and the electrical device (such as an air conditioner) will be disconnected. The main difference between the Bluetooth Low Energy (BLE) module and the Bluetooth module is that it has very low power consumption and can send and receive broadcast packets 24 hours a day. Therefore, the solution of the present invention provides a pairing and authorization control method, specifically a method for controlling electrical equipment (such as air conditioners) based on the broadcast of a communication module (such as a Bluetooth BLE module). Multiple clients (such as mobile phones) control one electrical equipment (such as an air conditioner) by utilizing this mechanism (that is, the Bluetooth BLE module can send and receive broadcast packets 24 hours a day). The electrical equipment (such as air conditioners) and the client (such as a mobile phone) send and receive communication module (such as Bluetooth BLE module) broadcasts to each other, and transmit information through the communication module (such as Bluetooth BLE module) broadcast without establishing an actual connection, thereby enabling multiple clients (such as mobile phones) to control one electrical equipment (such as air conditioners) to meet the needs of multiple clients (such as mobile phones) controlling one electrical equipment (such as air conditioners).

[0033] According to an embodiment of the present invention, a method for pairing and authorizing control of an electrical device (such as an air conditioner) is provided. Figure 1The flowchart of an embodiment of the method of the present invention is shown. The electrical device has a communication module, which is referred to as a first communication module. The pairing and authorization control method of the electrical device includes steps S110 to S140.

[0034] At step S110, a first key, referred to as a pairing key, is generated on the electrical device (e.g., air conditioner) when the electrical device is powered on. The pairing key is then displayed. The pairing key is used by any client (e.g., mobile phone) to pair with the electrical device (e.g., air conditioner) to establish a pairing connection, such as a communication pairing connection, between the client (e.g., mobile phone) and the electrical device (e.g., air conditioner).

[0035] At step S120, on one side of the electrical device (such as an air conditioner), the first communication module is used to broadcast a first broadcast message, which is recorded as pairing broadcast information, so that any client can communicate and pair with the electrical device based on the pairing broadcast information through the pairing key to establish a communication pairing link. Specifically, when any client searches for the pairing broadcast information, it can communicate and pair with the electrical device based on the pairing broadcast information through the pairing key to establish a communication pairing link. The first broadcast message is a broadcast message that carries the electrical device's own information.

[0036] At step S130, on the side of the electrical device (such as the air conditioner), when the communication pairing link has been established between the any client and the electrical device, a second key is generated, which is recorded as a control key. The control key is sent to the any client through the communication pairing link, that is, through the communication pairing link established between the any client and the electrical device. Thereafter, the communication pairing link is disconnected, so that the any client publishes a second broadcast message based on the control key, which is recorded as a control broadcast message. Specifically, when the any client needs to control the electrical device, it uses the control key to encrypt the control command to form an encrypted control instruction, and broadcasts the encrypted control instruction. Specifically, the encrypted control instruction can be broadcast in the form of a communication module broadcast to obtain the control broadcast message.

[0037] At step S140, on one side of the electrical device (such as an air conditioner), the control broadcast information is received by using the first communication module to receive the broadcast, the control broadcast information is decrypted according to the control key to obtain a control command; and the control command is executed to enable any client to control the electrical device.

[0038] The solution of the present invention proposes a pairing and authorization control method between a client (such as a mobile phone) and an electrical device (such as an air conditioner) based on the broadcast of a communication module (such as a Bluetooth BLE module). On one side of the electrical device (such as an air conditioner), the client (such as a mobile phone) and the electrical device (such as an air conditioner) are securely paired using a Bluetooth pairing connection to enable the client (such as a mobile phone) to obtain authorization to control the electrical device (such as an air conditioner). After completing the secure pairing and binding between the electrical device (such as an air conditioner) and the client (such as a mobile phone), the electrical device (such as an air conditioner) generates a control key and passes it to the client (such as a mobile phone). The client (such as a mobile phone) uses the control key to encrypt the BLE broadcast control command to control the electrical device (such as an air conditioner).

[0039] In related solutions, on electrical devices (such as air conditioners), the method of using Bluetooth control is generally that after pairing, the Bluetooth module of the client (such as a mobile phone) and the Bluetooth module of the electrical device (such as an air conditioner) establishes a connection at the network layer to form a one-to-one binding relationship. If other clients (such as mobile phones) want to control the electrical device (such as an air conditioner), they need to reconnect and pair. Moreover, the previously paired client (such as a mobile phone) can no longer continue to control the electrical device (such as an air conditioner). The solution of the present invention only performs a short network layer connection when pairing to generate a secret key. After the required secret key is generated, the connection will be disconnected, and a one-to-one binding method will not be formed. Subsequent control commands are transmitted in the form of publishing a communication module (such as a Bluetooth BLE module) broadcast. Even if other clients (such as mobile phones) are paired with electrical devices (such as air conditioners), only a secret key suitable for the new client (such as a mobile phone) will be generated for it to generate a communication module (such as a Bluetooth BLE module) broadcast, which will not affect the old client (such as a mobile phone)'s control over the electrical device (such as an air conditioner).

[0040] In some embodiments, the communication module includes a Bluetooth BLE module. The first communication module includes a first Bluetooth BLE module. The first Bluetooth BLE module can publish the first broadcast information and can also receive the second broadcast information.

[0041] Correspondingly, in step S120, on one side of the electrical device (such as an air conditioner), pairing broadcast information is published by using the first communication module to publish broadcast information, including: on one side of the electrical device (such as an air conditioner), pairing broadcast information is published by using the first Bluetooth BLE module to publish broadcast information, so that any client can perform Bluetooth pairing communication connection with the electrical device through the pairing key based on the pairing broadcast information, and establish a Bluetooth pairing communication link. Specifically, when any client searches for the pairing broadcast information, it can perform Bluetooth pairing communication connection with the electrical device through the pairing key based on the pairing broadcast information, and establish a Bluetooth pairing communication link. Furthermore, on one side of the electrical device (such as an air conditioner), when the Bluetooth pairing communication link has been established between any client and the electrical device, a second key is generated, which is recorded as a control key. And through the Bluetooth pairing communication link, that is, through the Bluetooth pairing communication link established between any client and the electrical device, the control key is sent to any client, and then the Bluetooth pairing communication link is disconnected so that any client can send control broadcast information based on the control key. Specifically, when any client needs to control the electrical device, it uses the control key to encrypt the control command to form an encrypted control instruction, and broadcast the encrypted control instruction. Specifically, the encrypted control instruction can be broadcast in the form of a communication module (such as a Bluetooth BLE module) to obtain control broadcast information.

[0042] In step S140, on one side of the electrical device (such as an air conditioner), the control broadcast information is received by using the first communication module to receive the broadcast, including: on one side of the electrical device (such as an air conditioner), the control broadcast information is received by using the first Bluetooth BLE module to receive the broadcast, and then, the control broadcast information is decrypted according to the control key to obtain a control command, and then, the control command is executed to realize the control of the electrical device by any client.

[0043] Figure 5 The module structure diagram of an embodiment of a control device for authorization and pairing between an electrical device (such as an air conditioner) and a client (such as a mobile phone). Figure 5 As shown, one side of the electrical device (such as an air conditioner) has a processor module, a Bluetooth BLE module, a storage module, and a controller module. The client side (such as a mobile phone) has a Bluetooth BLE module.

[0044] Among them, the Bluetooth BLE module is used to send and receive communication module (such as Bluetooth BLE module) broadcasts and establish Bluetooth pairing connections.

[0045] The processor module is used to generate pairing keys, control keys, and perform computational processing to decrypt broadcasts received from communication modules (such as Bluetooth BLE modules).

[0046] The pairing key is used to ensure that the user is within close range of the air conditioner and can see the air conditioner's display, improving safety. A two-digit key randomly generated by the air conditioner serves as the key for initial pairing verification between the mobile phone and the air conditioner. The user must enter this key correctly in the mobile app during initial pairing.

[0047] Control key: After the phone and air conditioner are successfully paired for the first time, a unique token is generated using the MAC information of both parties. Both parties save this token. After that, the phone does not need to connect to the device again, but instead communicates with the air conditioner by sending broadcast packets carrying this key.

[0048] The controller module controls electrical equipment (such as air conditioners) based on the analysis results of the processor module.

[0049] In some embodiments, the electrical device has a display screen, and displaying the pairing key on a side of the electrical device (such as an air conditioner) includes: displaying the pairing key on the display screen of the electrical device so that a user of the client can obtain the pairing key.

[0050] In some embodiments, the first broadcast information sent by the first communication module on the side of the electrical device (such as an air conditioner) is a broadcast information carrying the electrical device's own information, including the electrical device's identity information.

[0051] Figure 6 This is a flow chart of an embodiment of a method for controlling authorization and pairing between an electrical device (such as an air conditioner) and a client (such as a mobile phone), which can show the binding and control process between the client (such as a mobile phone) and the electrical device (such as an air conditioner). Figure 6 As shown, the authorization and pairing control method between an electrical device (such as an air conditioner) and a client (such as a mobile phone) includes:

[0052] Step 11: On one side of the electrical device (e.g., air conditioner), after the electrical device (e.g., air conditioner) is turned on, the electrical device (e.g., air conditioner) generates a two-digit pairing key, which is displayed on the temperature display of the electrical device (e.g., air conditioner). The air conditioner master terminal uses a random function (typically a random function native to the C language) to generate a two-digit number.

[0053] The Bluetooth BLE module of the electrical device (such as the air conditioner) is always in the on state, continuously sending broadcast information carrying the electrical device (such as the air conditioner) itself information, and can also continuously receive broadcast information.

[0054] Step 12: On the client side (such as a mobile phone), the client (such as a mobile phone) scans the broadcast information of the communication module (such as the Bluetooth BLE module) through the application of the APP or applet, and checks and searches for the broadcast information of the communication module (such as the Bluetooth BLE module).

[0055] The client (such as a mobile phone) selects the electrical device (such as an air conditioner) to be bound from the broadcast information of the communication module (such as a Bluetooth BLE module) viewed and searched. The client (such as a mobile phone) performs Bluetooth pairing connection with the electrical device (such as an air conditioner) and enters the pairing key displayed by the electrical device (such as an air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as an air conditioner).

[0056] Step 13: On the electrical device (e.g., air conditioner), after verifying the pairing key entered by the client (e.g., mobile phone) and completing the Bluetooth pairing connection between the electrical device (e.g., air conditioner) and the client (e.g., mobile phone), the electrical device (e.g., air conditioner) generates a control key (i.e., control key) and sends it to the client (e.g., mobile phone). The electrical device (e.g., air conditioner) also stores the client (e.g., mobile phone) information (e.g., MAC address) and the corresponding control key in a storage module.

[0057] Step 14: On the client side (e.g., a mobile phone), after obtaining the control key, the client (e.g., a mobile phone) updates the paired electrical device (e.g., an air conditioner) to a bound state on the app or mini-program, and can control the bound electrical device (e.g., an air conditioner). After the client (e.g., a mobile phone) receives and saves the control key sent by the electrical device (e.g., an air conditioner), the client (e.g., a mobile phone) disconnects the Bluetooth pairing connection between it and the electrical device (e.g., an air conditioner).

[0058] When a user controls an electrical device (such as an air conditioner) through an APP or mini-program on a client (such as a mobile phone), the APP or mini-program on the client (such as a mobile phone) uses a control key to encrypt the control command and then broadcasts it through a communication module (such as a Bluetooth BLE module) to obtain the control broadcast information, rather than transmitting it through a Bluetooth pairing connection.

[0059] Step 15. On one side of the electrical device (such as an air conditioner), after the Bluetooth BLE module of the electrical device (such as an air conditioner) receives the control broadcast information from the client (such as a mobile phone), the processor module uses the corresponding control key recorded by the storage module to decrypt it and obtain the decrypted control command. Then, the controller module executes the decrypted control command to realize the control of the electrical device (such as an air conditioner).

[0060] This concludes the process of pairing a client (e.g., a mobile phone) and controlling an electrical device (e.g., an air conditioner) with the device. During the initial pairing process, Bluetooth pairing is established through a communication module (e.g., a Bluetooth BLE module) broadcast. The device (e.g., air conditioner) and client (e.g., a mobile phone) generate a control key, ensuring the security of the control commands transmitted by the client (e.g., a mobile phone) via the communication module (e.g., a Bluetooth BLE module). Furthermore, transmitting control commands via a communication module (e.g., a Bluetooth BLE module) broadcast rather than establishing a Bluetooth pairing connection resolves the issue of other clients (e.g., mobile phones) being unable to control the device (e.g., air conditioner) while one client (e.g., a mobile phone) is connected to it.

[0061] For example, a new phone is paired with an air conditioner for the first time. A pairing key is generated using both phone's Macs, stored by both parties, and then disconnected. When a phone broadcasts a command, the broadcast packet carries the pairing key. The air conditioner parses the key upon receiving the broadcast and determines whether to respond. Broadcast packets sent by different phones do not interfere with each other. As long as the broadcast packet carries the correct key, the air conditioner will respond.

[0062] In the solution of the present invention, a client (such as a mobile phone) sends a control command via a communication module (such as a Bluetooth BLE module) broadcast, and the communication module (such as a Bluetooth BLE module) broadcasts a control key generated by an electrical device (such as an air conditioner) for encryption, enabling multiple clients (such as mobile phones) to safely control the same electrical device (such as an air conditioner). Thus, multiple clients (such as mobile phones) can control the same electrical device (such as an air conditioner), and secure communication is achieved through pairing keys and control keys.

[0063] When multiple clients (e.g., mobile phones) control the same appliance (e.g., air conditioner), they don't need to establish a connection between the mobile phones and the air conditioner because control packets are communicated via Bluetooth Low Energy (BLE) broadcasts. Broadcast packets sent by each mobile phone do not affect each other, and the air conditioner can scan and receive broadcast packets from multiple mobile phones and respond to them individually.

[0064] Adopt the technical scheme of this embodiment, by from one side of electrical equipment, when any client (such as mobile phone) needs to control an electrical equipment (such as air conditioner), make this electrical equipment (such as air conditioner) generate pairing key and display, this electrical equipment (such as air conditioner) uses its own communication module (such as Bluetooth BLE module) to send pairing broadcast information, this any client (such as mobile phone) inputs the pairing key generated and displayed by this electrical equipment (such as air conditioner) to establish Bluetooth pairing connection with this electrical equipment (such as air conditioner) when scanning this pairing broadcast information. When Bluetooth pairing connection is established between this electrical equipment (such as air conditioner) and this any client (such as mobile phone), this electrical equipment (such as air conditioner) generates control key and sends it to this any client (such as mobile phone). After receiving this control key and saving it, this any client (such as mobile phone) disconnects the Bluetooth pairing connection between this electrical equipment (such as air conditioner). This any client (such as mobile phone) generates a control command carrying control key, and uses its own communication module (such as Bluetooth BLE module) to send control broadcast information. After the electrical device (such as an air conditioner) receives the control broadcast information, it uses the control key to decrypt the control broadcast information, obtains the control command, and executes the control command to enable any client (such as a mobile phone) to control the electrical device (such as an air conditioner). Thus, by using the communication module (such as a Bluetooth BLE module) to broadcast, any client (such as a mobile phone) can pair and authorize control of the electrical device (such as an air conditioner) to meet the need of using multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner).

[0065] According to an embodiment of the present invention, there is also provided a pairing and authorization control device for an electrical device (such as an air conditioner) corresponding to the pairing and authorization control method for the electrical device (such as an air conditioner). Figure 2 The schematic diagram of the structure of an embodiment of the device of the present invention is shown. The electrical device has a communication module, which is referred to as the first communication module. The pairing and authorization control device of the electrical device includes: a first broadcast unit 102 and a first control unit 104.

[0066] Among them, the first control unit 104 is configured to generate a first key, recorded as a pairing key, on one side of the electrical device (such as an air conditioner) when the electrical device is turned on. And the pairing key is displayed. The pairing key is used by any client (such as a mobile phone) to pair with the electrical device (such as an air conditioner) according to the key to establish a pairing connection, such as a communication pairing connection, between any client (such as a mobile phone) and the electrical device (such as an air conditioner). For the specific functions and processing of the first control unit 104, see step S110.

[0067] The first broadcast unit 102 is configured to publish a first broadcast message on one side of the electrical device (such as an air conditioner) by using the first communication module to publish a broadcast, which is recorded as pairing broadcast information, so that any client can communicate and pair with the electrical device through the pairing key based on the pairing broadcast information to establish a communication pairing link. Specifically, when any client searches for the pairing broadcast information, it can communicate and pair with the electrical device through the pairing key based on the pairing broadcast information to establish a communication pairing link. The first broadcast information is a broadcast message that carries the electrical device's own information. For the specific functions and processing of the first broadcast unit 102, see step S120.

[0068] The first control unit 104 is also configured to generate a second key, recorded as a control key, on one side of the electrical device (such as an air conditioner), when the communication pairing link has been established between any one of the clients and the electrical device. And through the communication pairing link, that is, through the communication pairing link established between any one of the clients and the electrical device, the control key is sent to any one of the clients, and then the communication pairing link is disconnected so that any one of the clients publishes a second broadcast message based on the control key, recorded as a control broadcast message. Specifically, when any one of the clients needs to control the electrical device, it uses the control key to encrypt the control command to form an encrypted control instruction, and broadcast the encrypted control instruction. Specifically, the encrypted control instruction can be broadcast in the form of a communication module broadcast to obtain the control broadcast information. The specific functions and processing of the first control unit 104 are also shown in step S130.

[0069] The first broadcast unit 102 is further configured to receive the control broadcast information on one side of the electrical device (e.g., air conditioner) using the first communication module to receive broadcasts, decrypt the control broadcast information according to the control key to obtain a control command, and execute the control command to enable any client to control the electrical device. The specific functions and processing of the first broadcast unit 102 are further described in step S140.

[0070] The solution of the present invention proposes a pairing and authorization control device for a client (such as a mobile phone) and an electrical device (such as an air conditioner) based on the broadcast of a communication module (such as a Bluetooth BLE module). On one side of the electrical device (such as the air conditioner), the client (such as a mobile phone) and the electrical device (such as the air conditioner) are securely paired using a Bluetooth pairing connection, so that the client (such as a mobile phone) is authorized to control the electrical device (such as the air conditioner). After completing the secure pairing and binding between the electrical device (such as the air conditioner) and the client (such as a mobile phone), the electrical device (such as the air conditioner) generates a control key and transmits it to the client (such as a mobile phone). The client (such as a mobile phone) uses the control key to encrypt the BLE broadcast control command to control the electrical device (such as the air conditioner).

[0071] In related solutions, on electrical devices (such as air conditioners), the method of using Bluetooth control is generally that after pairing, the Bluetooth module of the client (such as a mobile phone) and the Bluetooth module of the electrical device (such as an air conditioner) establishes a connection at the network layer to form a one-to-one binding relationship. If other clients (such as mobile phones) want to control the electrical device (such as an air conditioner), they need to reconnect and pair. Moreover, the previously paired client (such as a mobile phone) can no longer continue to control the electrical device (such as an air conditioner). The solution of the present invention only performs a short network layer connection when pairing to generate a secret key. After the required secret key is generated, the connection will be disconnected, and a one-to-one binding method will not be formed. Subsequent control commands are transmitted in the form of publishing a communication module (such as a Bluetooth BLE module) broadcast. Even if other clients (such as mobile phones) are paired with electrical devices (such as air conditioners), only a secret key suitable for the new client (such as a mobile phone) will be generated for it to generate a communication module (such as a Bluetooth BLE module) broadcast, which will not affect the old client (such as a mobile phone)'s control over the electrical device (such as an air conditioner).

[0072] In some embodiments, the communication module includes a Bluetooth BLE module. The first communication module includes a first Bluetooth BLE module. The first Bluetooth BLE module can publish the first broadcast information and can also receive the second broadcast information.

[0073] Correspondingly, the first broadcast unit 102, on one side of the electrical device (such as an air conditioner), publishes pairing broadcast information by using the first communication module to publish broadcast information, including: the first broadcast unit 102 is also specifically configured to publish pairing broadcast information on one side of the electrical device (such as an air conditioner) by using the first Bluetooth BLE module to publish broadcast information, so that any client can perform Bluetooth pairing communication connection with the electrical device through the pairing key based on the pairing broadcast information, and establish a Bluetooth pairing communication link. Specifically, when any client searches for the pairing broadcast information, it can perform Bluetooth pairing communication connection with the electrical device through the pairing key based on the pairing broadcast information, and establish a Bluetooth pairing communication link. Furthermore, on one side of the electrical device (such as an air conditioner), when the Bluetooth pairing communication link has been established between any client and the electrical device, a second key is generated, which is recorded as a control key. And through the Bluetooth pairing communication link, that is, through the Bluetooth pairing communication link established between any client and the electrical device, the control key is sent to any client, and then the Bluetooth pairing communication link is disconnected so that any client can send control broadcast information based on the control key. Specifically, when any client needs to control the electrical device, it uses the control key to encrypt the control command to form an encrypted control instruction, and broadcast the encrypted control instruction. Specifically, the encrypted control instruction can be broadcast in the form of a communication module (such as a Bluetooth BLE module) to obtain control broadcast information.

[0074] The first broadcast unit 102 receives the control broadcast information on one side of the electrical device (such as an air conditioner) by using the first communication module to receive the broadcast, including: the first broadcast unit 102 is specifically further configured to receive the control broadcast information on one side of the electrical device (such as an air conditioner) by using the first Bluetooth BLE module to receive the broadcast, and then decrypt the control broadcast information according to the control key to obtain a control command, and then execute the control command to realize the control of the electrical device by any client.

[0075] Figure 5 The module structure diagram of an embodiment of a control device for authorization and pairing between an electrical device (such as an air conditioner) and a client (such as a mobile phone). Figure 5 As shown, one side of the electrical device (such as an air conditioner) has a processor module, a Bluetooth BLE module, a storage module, and a controller module. The client side (such as a mobile phone) has a Bluetooth BLE module.

[0076] Among them, the Bluetooth BLE module is used to send and receive communication module (such as Bluetooth BLE module) broadcasts and establish Bluetooth pairing connections.

[0077] The processor module is used to generate pairing keys, control keys, and perform computational processing to decrypt broadcasts received from communication modules (such as Bluetooth BLE modules).

[0078] The controller module controls electrical equipment (such as air conditioners) based on the analysis results of the processor module.

[0079] In some embodiments, the electrical device has a display screen. The first control unit 104 displays the pairing key on a side of the electrical device (e.g., an air conditioner), including: the first control unit 104 is further configured to display the pairing key using the display screen of the electrical device so that a user of the client can obtain the pairing key.

[0080] In some embodiments, the first broadcast information sent by the first broadcast unit 102 on the side of the electrical device (such as an air conditioner) using the first communication module is a broadcast information carrying information about the electrical device itself. The information about the electrical device itself includes: identity information of the electrical device.

[0081] Figure 6 This is a flow chart of an embodiment of a control device for authorization and pairing between an electrical device (such as an air conditioner) and a client (such as a mobile phone), which can show the binding and control process between the client (such as a mobile phone) and the electrical device (such as an air conditioner). Figure 6 As shown, the control device for authorization and pairing between an electrical device (such as an air conditioner) and a client (such as a mobile phone) includes:

[0082] Step 11: On one side of the electrical device (such as an air conditioner), after the electrical device (such as an air conditioner) is turned on, the electrical device (such as an air conditioner) generates a two-digit pairing key, which is displayed on the temperature display screen of the electrical device (such as an air conditioner).

[0083] The Bluetooth BLE module of the electrical device (such as the air conditioner) is always in the on state, continuously sending broadcast information carrying the electrical device (such as the air conditioner) itself information, and can also continuously receive broadcast information.

[0084] Step 12: On the client side (such as a mobile phone), the client (such as a mobile phone) scans the broadcast information of the communication module (such as the Bluetooth BLE module) through the application of the APP or applet, and checks and searches for the broadcast information of the communication module (such as the Bluetooth BLE module).

[0085] The client (such as a mobile phone) selects the electrical device (such as an air conditioner) to be bound from the broadcast information of the communication module (such as a Bluetooth BLE module) viewed and searched. The client (such as a mobile phone) performs Bluetooth pairing connection with the electrical device (such as an air conditioner) and enters the pairing key displayed by the electrical device (such as an air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as an air conditioner).

[0086] Step 13: On the electrical device (e.g., air conditioner), after verifying the pairing key entered by the client (e.g., mobile phone) and completing the Bluetooth pairing connection between the electrical device (e.g., air conditioner) and the client (e.g., mobile phone), the electrical device (e.g., air conditioner) generates a control key (i.e., control key) and sends it to the client (e.g., mobile phone). The electrical device (e.g., air conditioner) also stores the client (e.g., mobile phone) information (e.g., MAC address) and the corresponding control key in a storage module.

[0087] Step 14: On the client side (e.g., a mobile phone), after obtaining the control key, the client (e.g., a mobile phone) updates the paired electrical device (e.g., an air conditioner) to a bound state on the app or mini-program, and can control the bound electrical device (e.g., an air conditioner). After the client (e.g., a mobile phone) receives and saves the control key sent by the electrical device (e.g., an air conditioner), the client (e.g., a mobile phone) disconnects the Bluetooth pairing connection between it and the electrical device (e.g., an air conditioner).

[0088] When a user controls an electrical device (such as an air conditioner) through an APP or mini-program on a client (such as a mobile phone), the APP or mini-program on the client (such as a mobile phone) uses a control key to encrypt the control command and then broadcasts it through a communication module (such as a Bluetooth BLE module) to obtain the control broadcast information, rather than transmitting it through a Bluetooth pairing connection.

[0089] Step 15. On one side of the electrical device (such as an air conditioner), after the Bluetooth BLE module of the electrical device (such as an air conditioner) receives the control broadcast information from the client (such as a mobile phone), the processor module uses the corresponding control key recorded by the storage module to decrypt it and obtain the decrypted control command. Then, the controller module executes the decrypted control command to realize the control of the electrical device (such as an air conditioner).

[0090] This concludes the process of pairing a client (e.g., a mobile phone) and controlling an electrical device (e.g., an air conditioner) with the device. During the initial pairing process, Bluetooth pairing is established through a communication module (e.g., a Bluetooth BLE module) broadcast. The device (e.g., air conditioner) and client (e.g., a mobile phone) generate a control key, ensuring the security of the control commands transmitted by the client (e.g., a mobile phone) via the communication module (e.g., a Bluetooth BLE module). Furthermore, transmitting control commands via a communication module (e.g., a Bluetooth BLE module) broadcast rather than establishing a Bluetooth pairing connection resolves the issue of other clients (e.g., mobile phones) being unable to control the device (e.g., air conditioner) while one client (e.g., a mobile phone) is connected to it.

[0091] In the solution of the present invention, a client (such as a mobile phone) sends a control command via a communication module (such as a Bluetooth BLE module) broadcast, and the communication module (such as a Bluetooth BLE module) broadcasts a control key generated by an electrical device (such as an air conditioner) for encryption, enabling multiple clients (such as mobile phones) to safely control the same electrical device (such as an air conditioner). Thus, multiple clients (such as mobile phones) can control the same electrical device (such as an air conditioner), and secure communication is achieved through pairing keys and control keys.

[0092] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for any details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0093] The technical solution of the present invention is adopted. When any client (such as a mobile phone) needs to control an electrical device (such as an air conditioner) from one side of the electrical device, the electrical device (such as the air conditioner) generates a pairing key and displays it. The electrical device (such as the air conditioner) uses its own communication module (such as a Bluetooth BLE module) to send a pairing broadcast message. When the any client (such as a mobile phone) scans the pairing broadcast message, it inputs the pairing key generated and displayed by the electrical device (such as the air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as the air conditioner). When a Bluetooth pairing connection is established between the electrical device (such as the air conditioner) and the any client (such as a mobile phone), the electrical device (such as the air conditioner) generates a control key and sends it to the any client (such as a mobile phone). After receiving and saving the control key, the any client (such as a mobile phone) disconnects the Bluetooth pairing connection with the electrical device (such as the air conditioner). Any client (such as a mobile phone) generates a control command carrying a control key, and uses its own communication module (such as a Bluetooth BLE module) to send control broadcast information. The information is broadcasted through the communication module (such as a Bluetooth BLE module) without establishing an actual connection, thereby enabling multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner) to meet the needs of multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner).

[0094] According to an embodiment of the present invention, an air conditioner corresponding to the pairing and authorization control device is also provided. The air conditioner may include: the pairing and authorization control device described above.

[0095] Since the processing and functions implemented by the air conditioner of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned devices, for any details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0096] The technical solution of the present invention is adopted. When any client (such as a mobile phone) needs to control an electrical device (such as an air conditioner) from one side of the electrical device, the electrical device (such as the air conditioner) generates a pairing key and displays it. The electrical device (such as the air conditioner) uses its own communication module (such as a Bluetooth BLE module) to send a pairing broadcast message. When the any client (such as a mobile phone) scans the pairing broadcast message, it inputs the pairing key generated and displayed by the electrical device (such as the air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as the air conditioner). When a Bluetooth pairing connection is established between the electrical device (such as the air conditioner) and the any client (such as a mobile phone), the electrical device (such as the air conditioner) generates a control key and sends it to the any client (such as a mobile phone). After receiving and saving the control key, the any client (such as a mobile phone) disconnects the Bluetooth pairing connection with the electrical device (such as the air conditioner). Any client (such as a mobile phone) generates a control command carrying a control key and uses its own communication module (such as a Bluetooth BLE module) to send a control broadcast message. Even if other clients (such as mobile phones) are paired with electrical devices (such as air conditioners), only a secret key suitable for the new client (such as a mobile phone) will be generated for it to generate a communication module (such as a Bluetooth BLE module) broadcast, which will not affect the old client (such as a mobile phone)'s control over the electrical device (such as an air conditioner).

[0097] According to an embodiment of the present invention, a storage medium corresponding to a pairing and authorization control method for electrical equipment (such as an air conditioner) is also provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the pairing and authorization control method for electrical equipment (such as an air conditioner) described above.

[0098] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for any details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0099] The technical solution of the present invention is adopted. When any client (such as a mobile phone) needs to control an electrical device (such as an air conditioner) from one side of the electrical device, the electrical device (such as the air conditioner) generates a pairing key and displays it. The electrical device (such as the air conditioner) uses its own communication module (such as a Bluetooth BLE module) to send a pairing broadcast message. When the any client (such as a mobile phone) scans the pairing broadcast message, it inputs the pairing key generated and displayed by the electrical device (such as the air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as the air conditioner). When a Bluetooth pairing connection is established between the electrical device (such as the air conditioner) and the any client (such as a mobile phone), the electrical device (such as the air conditioner) generates a control key and sends it to the any client (such as a mobile phone). After receiving and saving the control key, the any client (such as a mobile phone) disconnects the Bluetooth pairing connection with the electrical device (such as the air conditioner). Any client (such as a mobile phone) generates a control command carrying a control key and uses its own communication module (such as a Bluetooth BLE module) to send a control broadcast message. Even if other clients (such as mobile phones) are paired with electrical devices (such as air conditioners), only a secret key suitable for the new client (such as a mobile phone) will be generated for it to generate a communication module (such as a Bluetooth BLE module) broadcast, which will not affect the old client (such as a mobile phone)'s control over the electrical device (such as an air conditioner).

[0100] According to an embodiment of the present invention, a method for pairing and authorization control of a client (such as a mobile phone) is also provided. Figure 3 The flowchart of an embodiment of the method of the present invention is shown in FIG. The client has a communication module, which is referred to as a second communication module. The client pairing and authorization control method includes steps S210 to S240.

[0101] At step S210, on the client side (such as a mobile phone), the second communication module is used to receive broadcasts to search for pairing broadcast information sent by the electrical device to be controlled. When the pairing broadcast information sent by the electrical device is found, the pairing key generated by the electrical device and input by the user is received. Based on the pairing broadcast information, a communication pairing connection is established with the electrical device through the pairing key to establish a communication pairing link.

[0102] In step S220, the client (such as a mobile phone) receives and saves the control key sent by the electrical device based on the communication pairing link, and then disconnects the communication pairing link.

[0103] In step S230, the client (such as a mobile phone) receives a control command sent by the user of the client, and encrypts the control command using the control key to form an encrypted control instruction.

[0104] At step S240, on the client side (such as a mobile phone), based on the encrypted control instruction, the second communication module is used to broadcast and publish a second broadcast information, which is recorded as control broadcast information, so that after receiving the control broadcast information, the electrical device decrypts the control broadcast information according to the control key, and after obtaining the control command, executes the control command to realize the client's control over the electrical device.

[0105] The solution of the present invention proposes a pairing and authorization control method between a client (such as a mobile phone) and an electrical device (such as an air conditioner) based on the broadcast of a communication module (such as a Bluetooth BLE module). On one side of any client (such as a mobile phone), the client (such as a mobile phone) and the electrical device (such as an air conditioner) are securely paired using a Bluetooth pairing connection, so that the client (such as a mobile phone) is authorized to control the electrical device (such as an air conditioner). After completing the secure pairing and binding between the electrical device (such as an air conditioner) and the client (such as a mobile phone), the electrical device (such as an air conditioner) generates a control key and passes it to the client (such as a mobile phone). The client (such as a mobile phone) uses the control key to encrypt the BLE broadcast control command to control the electrical device (such as an air conditioner).

[0106] In related solutions, on electrical devices (such as air conditioners), the method of using Bluetooth control is generally that after pairing, the Bluetooth module of the client (such as a mobile phone) and the Bluetooth module of the electrical device (such as an air conditioner) establishes a connection at the network layer to form a one-to-one binding relationship. If other clients (such as mobile phones) want to control the electrical device (such as an air conditioner), they need to reconnect and pair. Moreover, the previously paired client (such as a mobile phone) can no longer continue to control the electrical device (such as an air conditioner). The solution of the present invention only performs a short network layer connection when pairing to generate a secret key. After the required secret key is generated, the connection will be disconnected, and a one-to-one binding method will not be formed. Subsequent control commands are transmitted in the form of publishing a communication module (such as a Bluetooth BLE module) broadcast. Even if other clients (such as mobile phones) are paired with electrical devices (such as air conditioners), only a secret key suitable for the new client (such as a mobile phone) will be generated for it to generate a communication module (such as a Bluetooth BLE module) broadcast, which will not affect the old client (such as a mobile phone)'s control over the electrical device (such as an air conditioner).

[0107] In some embodiments, the communication module includes a Bluetooth BLE module. The second communication module includes a second Bluetooth BLE module. The second Bluetooth BLE module can receive the first broadcast information and can also publish the second broadcast information.

[0108] Correspondingly, on the side of the client (such as a mobile phone), the second communication module is used to receive broadcasts to search for pairing broadcast information sent by the electrical device to be controlled, including: using the second Bluetooth BLE module to receive broadcasts to search for pairing broadcast information sent by the electrical device to be controlled, and then, when the pairing broadcast information sent by the electrical device is searched, the pairing key generated by the electrical device input by the user is received, and based on the pairing broadcast information, a communication pairing connection is established with the electrical device through the pairing key to establish a communication pairing link.

[0109] On the client side (such as a mobile phone), based on the encrypted control instruction, the second communication module is used to publish a second broadcast information in a broadcasting manner, which is recorded as control broadcast information, including: based on the encrypted control instruction, the second Bluetooth BLE module is used to publish a second broadcast information in a broadcasting manner, which is recorded as control broadcast information, so that after receiving the control broadcast information, the electrical device decrypts the control broadcast information according to the control key, and after obtaining the control command, executes the control command to realize the client's control over the electrical device.

[0110] In the relevant scheme, when the client (such as a mobile phone) uses Bluetooth communication to control an electrical device (such as an air conditioner), the Bluetooth pairing connection method adopted is that the client (such as a mobile phone) and the electrical device (such as an air conditioner) establish a one-to-one connection at the network layer. In the client (such as a mobile phone) application, the step of establishing a one-to-one connection between the client (such as a mobile phone) and the electrical device (such as an air conditioner) at the network layer is generally completed automatically when the electrical device (such as an air conditioner) is selected. Generally speaking, in applications that use this type of Bluetooth pairing connection, when two clients (such as mobile phones) both issue control commands, the electrical device (such as an air conditioner) will only respond to one command. This is because, at this time, there is actually only one client (such as a mobile phone) that has established a connection with the electrical device (such as an air conditioner), and the electrical device (such as an air conditioner) will only receive commands from the client (such as a mobile phone) that has established a connection. In the solution of the present invention, a communication module (such as a Bluetooth BLE module) is used for broadcasting, and the commands in the relevant control process do not need to be transmitted through a connection between the client (such as a mobile phone) and the electrical equipment (such as an air conditioner). In this way, the commands issued by the two clients (such as mobile phones) will be scanned and received by the electrical equipment (such as the air conditioner).

[0111] The solution of the present invention is based on the Bluetooth BLE module of the electrical device (such as air conditioner) to broadcast and receive broadcasts, and can communicate with the client (such as a mobile phone) without establishing a Bluetooth pairing connection, avoiding the Bluetooth mode that requires repeated connection when the client (such as a mobile phone) controls the electrical device (such as air conditioner) through Bluetooth communication, that is, avoiding the control failure of the original bound client (such as a mobile phone) when a new client (such as a mobile phone) performs Bluetooth pairing connection and sends a control command to the electrical device (such as air conditioner). Thus, the problem that the need to repeatedly connect when the client (such as a mobile phone) controls the electrical device (such as air conditioner) through Bluetooth communication is not met, and the function of multiple clients (such as mobile phones) controlling the same electrical device (such as air conditioner) is realized.

[0112] Adopt the technical scheme of this embodiment, by from the side of client (such as mobile phone), when any client (such as mobile phone) needs to control an electrical device (such as air conditioner), make this electrical device (such as air conditioner) generate pairing key and display, this electrical device (such as air conditioner) uses its own communication module (such as Bluetooth BLE module) to send pairing broadcast information, and this any client (such as mobile phone) inputs the pairing key generated and displayed by this electrical device (such as air conditioner) to establish Bluetooth pairing connection with this electrical device (such as air conditioner) when scanning this pairing broadcast information. When Bluetooth pairing connection is established between this electrical device (such as air conditioner) and this any client (such as mobile phone), this electrical device (such as air conditioner) generates control key and sends it to this any client (such as mobile phone). After receiving this control key and saving it, this any client (such as mobile phone) disconnects the Bluetooth pairing connection between this electrical device (such as air conditioner). This any client (such as mobile phone) generates a control command carrying control key, and uses its own communication module (such as Bluetooth BLE module) to send control broadcast information. After the electrical device (such as an air conditioner) receives the control broadcast information, it uses the control key to decrypt the control broadcast information, obtains the control command, and executes the control command to enable any client (such as a mobile phone) to control the electrical device (such as an air conditioner). Thus, by using the communication module (such as a Bluetooth BLE module) to broadcast, any client (such as a mobile phone) can pair and authorize control of the electrical device (such as an air conditioner) to meet the need of using multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner).

[0113] According to an embodiment of the present invention, a pairing and authorization control device for a client (such as a mobile phone) corresponding to the pairing and authorization control method for a client (such as a mobile phone) is also provided. Figure 4The schematic diagram of the structure of an embodiment of the device of the present invention is shown. The client has a communication module, which is denoted as a second communication module. The client pairing and authorization control method includes: a second broadcast unit 106 and a second control unit 108.

[0114] The second broadcast unit 106 is configured to, on the client side (e.g., a mobile phone), utilize the second communication module to receive broadcasts and search for pairing broadcast information sent by the electrical device to be controlled. Upon finding the pairing broadcast information sent by the electrical device, the second broadcast unit 106 receives a pairing key generated by the electrical device and input by the user. Based on the pairing broadcast information, the second broadcast unit 106 establishes a communication pairing connection with the electrical device using the pairing key to establish a communication pairing link. The specific functions and processing of the second broadcast unit 106 are described in step S210.

[0115] The second control unit 108 is configured to receive and store the control key sent by the electrical device on the client (e.g., mobile phone) side based on the communication pairing link, and then disconnect the communication pairing link. The specific functions and processing of the second control unit 108 are shown in step S220.

[0116] The second control unit 108 is further configured to receive a control command sent by a user of the client (e.g., a mobile phone) on the client side and encrypt the control command using the control key to form an encrypted control instruction. The specific functions and processing of the second control unit 108 are further described in step S230.

[0117] The second broadcast unit 106 is further configured to, on the client side (e.g., a mobile phone), based on the encrypted control instruction, use the second communication module to broadcast a second broadcast message, referred to as a control broadcast message, so that upon receiving the control broadcast message, the electrical device decrypts the control broadcast message according to the control key, obtains a control command, and then executes the control command, thereby enabling the client to control the electrical device. The specific functions and processing of the second broadcast unit 106 are further described in step S240.

[0118] The solution of the present invention proposes a pairing and authorization control device for a client (such as a mobile phone) and an electrical device (such as an air conditioner) based on the broadcast of a communication module (such as a Bluetooth BLE module). On one side of any client (such as a mobile phone), the client (such as a mobile phone) and the electrical device (such as an air conditioner) are securely paired using a Bluetooth pairing connection, so that the client (such as a mobile phone) is authorized to control the electrical device (such as an air conditioner). After completing the secure pairing and binding between the electrical device (such as an air conditioner) and the client (such as a mobile phone), the electrical device (such as an air conditioner) generates a control key and transmits it to the client (such as a mobile phone). The client (such as a mobile phone) uses the control key to encrypt the BLE broadcast control command to control the electrical device (such as an air conditioner).

[0119] In related solutions, on electrical devices (such as air conditioners), the method of using Bluetooth control is generally that after pairing, the Bluetooth module of the client (such as a mobile phone) and the Bluetooth module of the electrical device (such as an air conditioner) establishes a connection at the network layer to form a one-to-one binding relationship. If other clients (such as mobile phones) want to control the electrical device (such as an air conditioner), they need to reconnect and pair. Moreover, the previously paired client (such as a mobile phone) can no longer continue to control the electrical device (such as an air conditioner). The solution of the present invention only performs a short network layer connection when pairing to generate a secret key. After the required secret key is generated, the connection will be disconnected, and a one-to-one binding method will not be formed. Subsequent control commands are transmitted in the form of publishing a communication module (such as a Bluetooth BLE module) broadcast. Even if other clients (such as mobile phones) are paired with electrical devices (such as air conditioners), only a secret key suitable for the new client (such as a mobile phone) will be generated for it to generate a communication module (such as a Bluetooth BLE module) broadcast, which will not affect the old client (such as a mobile phone)'s control over the electrical device (such as an air conditioner).

[0120] In some embodiments, the communication module includes a Bluetooth BLE module. The second communication module includes a second Bluetooth BLE module. The second Bluetooth BLE module can receive the first broadcast information and can also publish the second broadcast information.

[0121] Correspondingly, the second broadcast unit 106, on the side of the client (such as a mobile phone), uses the second communication module to receive broadcasts to search for the pairing broadcast information sent by the electrical device to be controlled, including: the second broadcast unit 106 is specifically further configured to use the second Bluetooth BLE module to receive broadcasts to search for the pairing broadcast information sent by the electrical device to be controlled, and then, when the pairing broadcast information sent by the electrical device is searched, receives the pairing key generated by the electrical device input by the user, and based on the pairing broadcast information, communicates and pairs with the electrical device through the pairing key to establish a communication pairing link.

[0122] The second broadcast unit 106, on the side of the client (such as a mobile phone), publishes second broadcast information based on the encrypted control instruction and using the second communication module to broadcast, recorded as control broadcast information, including: the second broadcast unit 106 is specifically further configured to publish second broadcast information based on the encrypted control instruction and using the second Bluetooth BLE module to broadcast, recorded as control broadcast information, so that after receiving the control broadcast information, the electrical device decrypts the control broadcast information according to the control key, and after obtaining the control command, executes the control command to realize the client's control over the electrical device.

[0123] In the relevant scheme, when the client (such as a mobile phone) uses Bluetooth communication to control an electrical device (such as an air conditioner), the Bluetooth pairing connection method adopted is that the client (such as a mobile phone) and the electrical device (such as an air conditioner) establish a one-to-one connection at the network layer. In the client (such as a mobile phone) application, the step of establishing a one-to-one connection between the client (such as a mobile phone) and the electrical device (such as an air conditioner) at the network layer is generally completed automatically when the electrical device (such as an air conditioner) is selected. Generally speaking, in applications that use this type of Bluetooth pairing connection, when two clients (such as mobile phones) both issue control commands, the electrical device (such as an air conditioner) will only respond to one command. This is because, at this time, there is actually only one client (such as a mobile phone) that has established a connection with the electrical device (such as an air conditioner), and the electrical device (such as an air conditioner) will only receive commands from the client (such as a mobile phone) that has established a connection. In the solution of the present invention, a communication module (such as a Bluetooth BLE module) is used for broadcasting, and the commands in the relevant control process do not need to be transmitted through a connection between the client (such as a mobile phone) and the electrical equipment (such as an air conditioner). In this way, the commands issued by the two clients (such as mobile phones) will be scanned and received by the electrical equipment (such as the air conditioner).

[0124] The solution of the present invention is based on the Bluetooth BLE module of the electrical device (such as air conditioner) to broadcast and receive broadcasts, and can communicate with the client (such as a mobile phone) without establishing a Bluetooth pairing connection, avoiding the Bluetooth mode that requires repeated connection when the client (such as a mobile phone) controls the electrical device (such as air conditioner) through Bluetooth communication, that is, avoiding the control failure of the original bound client (such as a mobile phone) when a new client (such as a mobile phone) performs Bluetooth pairing connection and sends a control command to the electrical device (such as air conditioner). Thus, the problem that the need to repeatedly connect when the client (such as a mobile phone) controls the electrical device (such as air conditioner) through Bluetooth communication is not met, and the function of multiple clients (such as mobile phones) controlling the same electrical device (such as air conditioner) is realized.

[0125] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for any details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0126] The technical solution of the present invention is adopted, from the side of the client (such as a mobile phone), when any client (such as a mobile phone) needs to control an electrical device (such as an air conditioner), the electrical device (such as an air conditioner) generates a pairing key and displays it, and the electrical device (such as an air conditioner) uses its own communication module (such as a Bluetooth BLE module) to send a pairing broadcast message. When any client (such as a mobile phone) scans the pairing broadcast message, it inputs the pairing key generated and displayed by the electrical device (such as an air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as an air conditioner); when a Bluetooth pairing connection is established between the electrical device (such as an air conditioner) and the any client (such as a mobile phone), the electrical device (such as an air conditioner) is connected to the pairing key. The device (such as an air conditioner) generates a control key and sends it to any client (such as a mobile phone); after receiving and saving the control key, the any client (such as a mobile phone) disconnects the Bluetooth pairing connection with the electrical device (such as an air conditioner); the any client (such as a mobile phone) generates a control command carrying the control key, and uses its own communication module (such as a Bluetooth BLE module) to send control broadcast information, and broadcasts information through the communication module (such as a Bluetooth BLE module) without establishing an actual connection, thereby enabling multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner), thereby meeting the needs of multiple clients (such as mobile phones) to control one electrical device (such as an air conditioner).

[0127] According to an embodiment of the present invention, a client corresponding to the pairing and authorization control device of the client (such as a mobile phone) is also provided. The client may include: the pairing and authorization control device of the client (such as a mobile phone) described above.

[0128] Since the processing and functions implemented by the client of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned device, for any details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0129] By adopting the technical solution of the present invention, when any client (such as a mobile phone) needs to control an electrical device (such as an air conditioner), the electrical device (such as an air conditioner) generates and displays a pairing key from the client (such as a mobile phone). The electrical device (such as an air conditioner) uses its own communication module (such as a Bluetooth BLE module) to send a pairing broadcast message. When any client (such as a mobile phone) scans the pairing broadcast message, it inputs the pairing key generated and displayed by the electrical device (such as an air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as an air conditioner); when a Bluetooth pairing connection is established between the electrical device (such as an air conditioner) and any client (such as a mobile phone), the electrical device (such as an air conditioner) Air conditioner) generates a control key and sends it to any client (such as a mobile phone); after receiving and saving the control key, any client (such as a mobile phone) disconnects the Bluetooth pairing connection with the electrical device (such as an air conditioner); any client (such as a mobile phone) generates a control command carrying the control key, and uses its own communication module (such as a Bluetooth BLE module) to send a control broadcast message. Even if other clients (such as mobile phones) are paired with the electrical device (such as an air conditioner), only a secret key suitable for the new client (such as a mobile phone) will be generated for it to generate a communication module (such as a Bluetooth BLE module) broadcast, which will not affect the old client (such as a mobile phone)'s control over the electrical device (such as an air conditioner).

[0130] According to an embodiment of the present invention, a storage medium corresponding to a pairing and authorization control method of a client (such as a mobile phone) is also provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-described pairing and authorization control method of the client (such as a mobile phone).

[0131] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for any details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0132] The technical solution of the present invention is adopted, from the side of the client (such as a mobile phone), when any client (such as a mobile phone) needs to control an electrical device (such as an air conditioner), the electrical device (such as an air conditioner) generates a pairing key and displays it, and the electrical device (such as an air conditioner) uses its own communication module (such as a Bluetooth BLE module) to send a pairing broadcast message. When any client (such as a mobile phone) scans the pairing broadcast message, it inputs the pairing key generated and displayed by the electrical device (such as an air conditioner) to establish a Bluetooth pairing connection with the electrical device (such as an air conditioner); when the electrical device (such as an air conditioner) and any client When a Bluetooth pairing connection is established between two terminals (such as mobile phones), the electrical device (such as an air conditioner) generates a control key and sends it to any client (such as a mobile phone); after receiving and saving the control key, the any client (such as a mobile phone) disconnects the Bluetooth pairing connection with the electrical device (such as an air conditioner); the any client (such as a mobile phone) generates a control command carrying the control key, and uses its own communication module (such as a Bluetooth BLE module) to send a control broadcast message, thereby enabling multiple clients (such as mobile phones) to control the same electrical device (such as an air conditioner), and achieving secure communication through the pairing key and the control key.

[0133] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.

[0134] The foregoing description is merely an embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of the claims.

Claims

1. A method for pairing and authorization control of electrical equipment, characterized in that: The electrical device has a communication module, which is referred to as a first communication module; The communication module includes: a Bluetooth BLE module; the first communication module includes: a first Bluetooth BLE module; the pairing and authorization control method of the electrical device includes: Generate a first key, recorded as a pairing key; and display the pairing key; Utilizing the first communication module to publish a first broadcast message, recorded as pairing broadcast information, so that any client can establish a communication pairing connection with the electrical device based on the pairing broadcast information and using the pairing key to establish a communication pairing link; generating a second key, recorded as a control key; and sending the control key to the any client via the communication pairing link, and then disconnecting the communication pairing link so that the any client publishes a second broadcast message based on the control key, recorded as a control broadcast message; The control broadcast information is received by using the first communication module to receive broadcast information, the control broadcast information is decrypted according to the control key to obtain a control command, and the control command is executed.

2. The method for pairing and authorization control of electrical equipment according to claim 1, characterized in that: The first Bluetooth LE module is capable of publishing the first broadcast information and receiving the second broadcast information; Accordingly, Publishing pairing broadcast information by using the first communication module to broadcast information includes: Publish pairing broadcast information by using the first Bluetooth LE module to publish broadcast information; Receiving the control broadcast information by using the first communication module to receive the broadcast includes: The control broadcast information is received by using the first Bluetooth BLE module to receive broadcast information.

3. The method for pairing and authorization control of electrical equipment according to claim 1 or 2, characterized in that: in, The electrical device has a display screen; Displaying the pairing key includes: Using a display screen of the electrical device, displaying the pairing key so that a user of the client can obtain the pairing key; and / or, The first broadcast information sent by the first communication module is broadcast information carrying information about the electrical device itself; the information about the electrical device itself includes identity information of the electrical device.

4. A pairing and authorization control device for electrical equipment, characterized in that: The electrical device has a communication module, which is referred to as a first communication module; The communication module includes: a Bluetooth BLE module; the first communication module includes: a first Bluetooth BLE module; the pairing and authorization control device of the electrical equipment includes: A first control unit is configured to generate a first key, recorded as a pairing key; and display the pairing key; The first broadcast unit is configured to publish a first broadcast message, recorded as pairing broadcast information, by using the first communication module to enable any client to establish a communication pairing connection with the electrical device based on the pairing broadcast information and using the pairing key to establish a communication pairing link; The first control unit is further configured to generate a second key, recorded as a control key; and send the control key to any of the clients through the communication pairing link, and then disconnect the communication pairing link so that any of the clients publishes a second broadcast message based on the control key, recorded as the control broadcast message; The first broadcast unit is further configured to receive the control broadcast information by using the first communication module to receive broadcasts, decrypt the control broadcast information according to the control key to obtain a control command, and execute the control command.

5. The pairing and authorization control device for electrical equipment according to claim 4, characterized in that: The first Bluetooth LE module is capable of publishing the first broadcast information and receiving the second broadcast information; Accordingly, The first broadcast unit publishes pairing broadcast information by using the first communication module to broadcast, including: Publish pairing broadcast information by using the first Bluetooth LE module to publish broadcast information; The first broadcast unit receives the control broadcast information by using the first communication module to receive broadcast information, including: The control broadcast information is received by using the first Bluetooth BLE module to receive broadcast information.

6. The pairing and authorization control device for electrical equipment according to claim 4 or 5, characterized in that: in, The electrical device has a display screen; The first control unit displays the pairing key, including: Using a display screen of the electrical device, displaying the pairing key so that a user of the client can obtain the pairing key; and / or, The first broadcast information sent by the first broadcast unit using the first communication module is broadcast information carrying information about the electrical device itself; the information about the electrical device itself includes identity information of the electrical device.

7. An air conditioner, characterized in that: include: The pairing and authorization control device for an electrical device according to any one of claims 4 to 6.

8. A client pairing and authorization control method that matches the pairing and authorization control method for electrical equipment according to any one of claims 1 to 3, characterized in that: The client has a communication module, which is referred to as a second communication module; The communication module includes: a Bluetooth BLE module; the second communication module includes: a second Bluetooth BLE module; the client pairing and authorization control method includes: utilizing the second communication module to receive broadcasts, searching for pairing broadcast information sent by the electrical device to be controlled; upon finding the pairing broadcast information sent by the electrical device, receiving a pairing key generated by the electrical device and input by a user; and establishing a communication pairing connection with the electrical device based on the pairing broadcast information using the pairing key to establish a communication pairing link; Based on the communication pairing link, receiving and saving the control key sent by the electrical device, and then disconnecting the communication pairing link; receiving a control command sent by a user of the client, and encrypting the control command using the control key to form an encrypted control instruction; Based on the encrypted control instruction, the second communication module is used to publish a second broadcast information, which is recorded as control broadcast information, so that after receiving the control broadcast information, the electrical device decrypts the control broadcast information according to the control key, obtains the control command, and executes the control command.

9. The client pairing and authorization control method according to claim 8, characterized in that: The second Bluetooth BLE module is capable of receiving the first broadcast information and publishing the second broadcast information; Accordingly, The method of using the second communication module to receive broadcasts and searching for pairing broadcast information sent by the electrical device to be controlled includes: Using the second Bluetooth BLE module to receive broadcasts, searching for pairing broadcast information sent by the electrical device to be controlled; Based on the encrypted control instruction, the second communication module is used to broadcast second broadcast information, which is recorded as control broadcast information, including: Based on the encrypted control instruction, the second Bluetooth BLE module is used to publish a second broadcast message, which is recorded as control broadcast information.

10. A client pairing and authorization control device that matches the pairing and authorization control device for electrical equipment according to any one of claims 4 to 6, characterized in that: The client has a communication module, which is referred to as a second communication module; The communication module includes: a Bluetooth BLE module; the second communication module includes: a second Bluetooth BLE module; the client pairing and authorization control method includes: a second broadcast unit configured to search for pairing broadcast information sent by the electrical device to be controlled by using the second communication module to receive broadcasts; upon finding the pairing broadcast information sent by the electrical device, receive a pairing key generated by the electrical device and input by a user; and establish a communication pairing connection with the electrical device based on the pairing broadcast information using the pairing key to establish a communication pairing link; a second control unit configured to receive and store a control key sent by the electrical device based on the communication pairing link, and then disconnect the communication pairing link; The second control unit is further configured to receive a control command sent by a user of the client, and encrypt the control command using the control key to form an encrypted control instruction; The second broadcast unit is also configured to publish second broadcast information based on the encrypted control instruction using the second communication module, recorded as control broadcast information, so that after receiving the control broadcast information, the electrical device decrypts the control broadcast information according to the control key, and executes the control command after obtaining the control command.

11. The client pairing and authorization control device according to claim 10, characterized in that: The second Bluetooth BLE module is capable of receiving the first broadcast information and publishing the second broadcast information; Accordingly, The second broadcast unit searches for pairing broadcast information sent by the electrical device to be controlled by receiving broadcasts using the second communication module, including: Using the second Bluetooth BLE module to receive broadcasts, searching for pairing broadcast information sent by the electrical device to be controlled; The second broadcast unit, based on the encrypted control instruction, publishes second broadcast information by using the second communication module in a broadcasting manner, which is recorded as control broadcast information, including: Based on the encrypted control instruction, the second Bluetooth BLE module is used to publish a second broadcast message, which is recorded as control broadcast information.

12. An air conditioner, characterized in that: include: The pairing and authorization control device of a client according to any one of claims 10 to 11.

13. A storage medium, characterized in that: The storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is controlled to execute the pairing and authorization control method for the electrical device described in any one of claims 1 to 3, or, when the program is running, the device where the storage medium is located is controlled to execute the pairing and authorization control method for the client described in any one of claims 8 to 9.

Citation Information

Patent Citations

  • Method for implementing a plurality of Bluetooth device networking through Bluetooth server, software program and server

    CN101510793A

  • Automated bluetooth pairing

    US20170118645A1