CN114071439B - Bluetooth remote controller and multi-device pairing method, device and storage medium - Google Patents
Bluetooth remote controller and multi-device pairing method, device and storage medium Download PDFInfo
- Publication number
- CN114071439B CN114071439B CN202111349799.1A CN202111349799A CN114071439B CN 114071439 B CN114071439 B CN 114071439B CN 202111349799 A CN202111349799 A CN 202111349799A CN 114071439 B CN114071439 B CN 114071439B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- pairing
- remote controller
- intelligent
- bluetooth remote
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000006870 function Effects 0.000 claims description 27
- 238000012795 verification Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012790 confirmation Methods 0.000 claims description 3
- WSFSSNUMVMOOMR-UHFFFAOYSA-N Formaldehyde Chemical compound O=C WSFSSNUMVMOOMR-UHFFFAOYSA-N 0.000 description 3
- 238000010438 heat treatment Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001954 sterilising effect Effects 0.000 description 1
- 238000004659 sterilization and disinfection Methods 0.000 description 1
- 238000010257 thawing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention provides a method, a device, equipment and a storage medium for pairing a Bluetooth remote controller with multiple equipment, wherein the pairing method comprises the following steps: a preset pairing instruction is sent out to start a Bluetooth pairing mode; the plurality of intelligent devices receive the pairing instruction and then broadcast the pairing instruction, and a Bluetooth broadcast packet is sent; after receiving the Bluetooth broadcast packet, the Bluetooth remote controller compares the received Bluetooth broadcast packet information with Bluetooth broadcast packet information stored in a Bluetooth remote controller memory, and if the information is the same, intelligent equipment pairing connection is performed, the corresponding intelligent equipment number is called, and control is performed according to the intelligent equipment number; and if the information is different, performing primary pairing connection on the intelligent equipment, generating a new intelligent equipment number, storing the Bluetooth broadcast packet information and the intelligent equipment number in a memory correspondingly, and controlling according to the newly generated intelligent equipment number. The pairing method provided by the invention is simple to operate and easy to realize, and realizes the control operation after one Bluetooth remote controller is paired with a plurality of intelligent devices.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a device, and a storage medium for pairing a bluetooth remote controller with multiple devices.
Background
At present, the remote controller of the intelligent equipment mainly takes an infrared remote controller as a main component, and the remote controller has the advantages of low cost, mature technology, high reliability and the like. However, the transmission angle of the remote controller is limited, the remote controller must be aligned to the direction of the equipment to be used effectively, and when a plurality of receiving equipment exists, the problem of misoperation of other equipment is easy to occur.
The existing Bluetooth remote controllers can only realize one-to-one pairing and control, namely if the Bluetooth remote controllers are bound with one Bluetooth device, if the other Bluetooth device is bound, the binding relation of the previous device needs to be released, then new Bluetooth devices are bound, and the operation that one Bluetooth remote controller binds a plurality of Bluetooth devices cannot be realized.
In view of this, the present invention has been made.
Disclosure of Invention
The invention solves the problem that in the prior art, a Bluetooth remote controller can only be paired with and controlled by intelligent equipment one by one, and the operation that one Bluetooth remote controller binds a plurality of Bluetooth equipment cannot be realized.
In order to solve the above problems, the present invention discloses a method for pairing a bluetooth remote controller with multiple devices, for pairing connection between the bluetooth remote controller and an intelligent device, comprising: the Bluetooth remote controller sends out a preset pairing instruction to start a Bluetooth pairing mode; after receiving the pairing instruction, the plurality of intelligent devices reset the Bluetooth modules in the intelligent devices and broadcast the Bluetooth modules, and send Bluetooth broadcast packets; after receiving the Bluetooth broadcast packet, the Bluetooth remote controller compares the received Bluetooth broadcast packet information with the Bluetooth broadcast packet information stored in the Bluetooth remote controller memory, and performs the following pairing operation according to the comparison result: the received Bluetooth broadcast packet information is the same as the Bluetooth broadcast packet information stored in the memory, the intelligent equipment pairing connection is carried out, the intelligent equipment number corresponding to the Bluetooth broadcast packet in the memory is called, and the Bluetooth remote controller carries out intelligent equipment control according to the intelligent equipment number; and if the received Bluetooth broadcast packet information is different from the Bluetooth broadcast packet information stored in the memory, performing primary pairing connection on the intelligent equipment, generating a new intelligent equipment number, storing the Bluetooth broadcast packet information and the intelligent equipment number in the memory correspondingly, and controlling the intelligent equipment by the Bluetooth remote controller according to the newly generated intelligent equipment number.
The setting need not to unbind to original pairing smart machine and can pair and connect newly-increased smart machine, carry out smart machine control according to smart machine serial number again to use a bluetooth remote controller can realize the bluetooth connection and the control of many smart machines, overcome a bluetooth remote controller and can only connect an smart machine, need unbind the problem of original pairing smart machine when controlling new smart machine, also need not prepare many bluetooth remote controllers control many smart machines simultaneously, saved the cost that the user purchased many bluetooth remote controllers.
Further, a bluetooth remote controller establishes bluetooth connection with one or more than two intelligent devices at the same time, and controls different intelligent devices through the numbers of the intelligent devices when the intelligent devices are connected in a pairing mode.
The setting has realized the connection control of a bluetooth remote controller to a plurality of intelligent devices, has overcome the problem that a bluetooth remote controller intelligence binds an intelligent device simultaneously among the prior art, and bluetooth remote controller quantity when greatly reduced control many intelligent devices discerns, distinguishes intelligent device through bluetooth broadcast package information, can carry out user's operation instruction accurately, avoids appearing the maloperation.
Further, when the Bluetooth remote controller and the intelligent device are paired, pairing service information is synchronously generated, the pairing service information comprises pairing connection information of the Bluetooth remote controller and the intelligent device, and when the received Bluetooth broadcast packet information is identical to the Bluetooth broadcast packet information stored in the memory, the Bluetooth remote controller and the intelligent device are in pairing connection according to the pairing service information.
The intelligent equipment which is already connected in a pairing mode is quickly connected when the Bluetooth remote controllers are paired, if a password is required to be input when the Bluetooth remote controllers are paired and connected, the intelligent equipment is directly obtained from pairing service information, then the connection is directly completed without being input again, so that newly-added equipment is identified at the first time, targeted primary pairing connection operation is carried out on the newly-added equipment, operation steps when the Bluetooth remote controllers are connected with multiple equipment are simplified, and the time consumed in the pairing process is shortened.
Further, when the Bluetooth remote controller is first paired with the newly-added intelligent device, service verification information is synchronously generated, the service verification information is used for verifying connection between the Bluetooth remote controller and the intelligent device, before a control instruction is sent by using the Bluetooth remote controller, the Bluetooth remote controller defaults to send the service verification instruction to the intelligent device, the received service verification information is compared with the service verification information stored in the memory, and the connection state of the intelligent device is determined according to the comparison result.
The setting of service verification information ensures the unique corresponding relation of the connection of the Bluetooth remote controller and the intelligent equipment, so that the Bluetooth remote controller cannot control the intelligent equipment in the time period of connection control of the Bluetooth remote controller and the intelligent equipment, interference among control instructions of a plurality of Bluetooth remote controllers is avoided, and the control instructions of the intelligent equipment can be accurately executed.
Further, the determining the connection state of the intelligent device according to the comparison result includes: when the comparison is not different, marking the intelligent equipment as confirmation connection, and controlling the intelligent equipment through a Bluetooth remote controller; when the comparison is different, the intelligent equipment is marked as disconnected, and remote control cannot be performed on the intelligent equipment.
The link is a verification link after the Bluetooth remote controllers are paired with the intelligent equipment, the condition that a plurality of Bluetooth remote controllers control the same intelligent equipment can be effectively avoided, and the uniqueness of the Bluetooth remote controllers relative to the intelligent equipment is ensured.
Further, the Bluetooth broadcasting packet includes class information of the intelligent device, and when the intelligent device is paired, the intelligent device is classified according to the class information in the Bluetooth broadcasting packet, and device codes are generated according to the class information.
The Bluetooth remote controller can control multiple kinds of intelligent equipment and synchronously operate multiple kinds of similar intelligent equipment, and only the control instruction is sent after the controlled equipment is selected during control.
Further, after pairing is completed, the Bluetooth module uploads the function information of the intelligent device to the Bluetooth remote controller, and the function information is used for carrying out specific function control on the intelligent device by the Bluetooth remote controller.
Through the transfer of the function information, a user can execute corresponding operation according to the specific function of the intelligent equipment, so that the operation control of the specific functions of different intelligent equipment is realized.
The invention also discloses a device for pairing the Bluetooth remote controller with the multiple devices, which comprises: the control instruction module is used for sending an instruction to start a Bluetooth pairing mode or sending a control instruction to the intelligent equipment which is in paired connection; the storage module is used for storing pairing information of the Bluetooth remote controller and the intelligent equipment; the comparison module is at least used for comparing and judging whether the Bluetooth broadcast packet information stored in the storage module is the same as the Bluetooth broadcast packet information received by the Bluetooth remote controller.
Through cooperation between the modules, pairing connection between one Bluetooth remote controller and a plurality of intelligent devices can be realized, so that the problem of one-to-one pairing connection between the Bluetooth remote controllers and the intelligent devices in the prior art is solved, control of one remote controller on the plurality of intelligent devices is realized, the number of Bluetooth remote controllers when the plurality of intelligent devices are controlled is greatly reduced, and the use cost of a user is reduced.
The invention also discloses a device which is an intelligent device and comprises a computer readable storage medium and a processor, wherein the computer readable storage medium stores a computer program, and when the computer program is read and run by the processor, the method for pairing the Bluetooth remote controller and the multiple devices is realized.
The invention also discloses a storage medium which is a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and when the computer program is read and run by a processor, the method for pairing the Bluetooth remote controller and the multiple devices is realized.
Compared with the prior art, the method, the device, the equipment and the storage medium for pairing the Bluetooth remote controller with the multiple equipment have the following advantages:
according to the invention, a Bluetooth pairing process is triggered by a command sent by a preset pairing key or a combination key, bluetooth equipment in the equipment is reset and then Bluetooth broadcasting is carried out, the Bluetooth remote controller compares the received Bluetooth broadcasting with the existing Bluetooth broadcasting information stored in the remote controller, and if the received Bluetooth broadcasting is the same as the existing Bluetooth broadcasting information stored in the remote controller, the Bluetooth equipment is paired and controlled according to the equipment number in the stored information; if the received Bluetooth broadcast is inconsistent with the stored Bluetooth broadcast, the Bluetooth remote controller is subjected to re-pairing and generates a new number, and the new number information and the Bluetooth broadcast are stored in the Bluetooth remote controller so as to be used for next pairing.
Drawings
Fig. 1 is a flow chart of a method for pairing a bluetooth remote controller with multiple devices according to an embodiment of the invention.
Detailed Description
The present invention will be further described in detail with reference to the drawings and examples, for the purpose of making the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the described embodiments are some, but not all, embodiments of the invention. The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The following describes a method, a device, equipment and a storage medium for pairing a bluetooth remote controller with multiple devices in detail with reference to the accompanying drawings.
Example 1
The embodiment provides a method for pairing a bluetooth remote controller with multiple devices, as shown in fig. 1, which is used for pairing connection between the bluetooth remote controller and intelligent devices, and includes:
the Bluetooth remote controller sends out a preset pairing instruction to start a Bluetooth pairing mode;
after receiving the pairing instruction, the plurality of intelligent devices broadcast Bluetooth modules in the intelligent devices and send Bluetooth broadcast packets;
after receiving the Bluetooth broadcast packet, the Bluetooth remote controller compares the received Bluetooth broadcast packet information with the Bluetooth broadcast packet information stored in the Bluetooth remote controller memory, and performs the following pairing operation according to the comparison result:
the received Bluetooth broadcast packet information is the same as the Bluetooth broadcast packet information stored in the memory, the intelligent equipment pairing connection is carried out, the intelligent equipment number corresponding to the Bluetooth broadcast packet in the memory is called, and the Bluetooth remote controller carries out intelligent equipment control according to the intelligent equipment number;
and if the received Bluetooth broadcast packet information is different from the Bluetooth broadcast packet information stored in the memory, performing primary pairing connection on the intelligent equipment, generating a new intelligent equipment number, storing the Bluetooth broadcast packet information and the intelligent equipment number in the memory correspondingly, and controlling the intelligent equipment by the Bluetooth remote controller according to the newly generated intelligent equipment number.
In this embodiment, a memory is provided in the bluetooth remote controller, the memory is configured to store bluetooth broadcast packet information of a previously paired smart device and a corresponding smart device number, when the bluetooth remote controller is paired and connected, by comparing with bluetooth broadcast packet information of the previously paired smart device, it is determined that the smart device is the previously connected smart device or a newly added smart device, the previously connected smart device performs a control operation according to the original smart device number, the newly added smart device is given a new smart device number after the pairing and connection, and the newly added smart device is controlled according to the new smart device number, where it is understood that when the bluetooth remote controller is used for the first time, bluetooth broadcast packet information and smart device numbers are not stored in the memory, and all smart devices generate smart device numbers after the newly added smart device is paired and connected, and when the next pairing and connection is performed, the bluetooth broadcast packet information and the newly added smart device numbers can be controlled along with the smart device numbers when the next pairing and connection are performed. The setting need not to unbind to original pairing smart machine and can pair and connect newly-increased smart machine, carry out smart machine control according to smart machine serial number again to use a bluetooth remote controller can realize the bluetooth connection and the control of many smart machines, overcome a bluetooth remote controller and can only connect an smart machine, need unbind the problem of original pairing smart machine when controlling new smart machine, also need not prepare many bluetooth remote controllers control many smart machines simultaneously, saved the cost that the user purchased many bluetooth remote controllers. In this embodiment, the preset pairing instruction is to press a specific pairing key or a combination key set on the bluetooth remote controller, so as to trigger a bluetooth pairing mode.
As one embodiment of the invention, a Bluetooth remote controller establishes Bluetooth connection with one or more intelligent devices at the same time, and controls different intelligent devices through the numbers of the intelligent devices when the intelligent devices are connected in a pairing mode.
The setting has realized the connection control of a bluetooth remote controller to a plurality of intelligent devices, has overcome the problem that a bluetooth remote controller intelligence binds an intelligent device simultaneously among the prior art, and bluetooth remote controller quantity when greatly reduced control many intelligent devices discerns, distinguishes intelligent device through bluetooth broadcast package information, can carry out user's operation instruction accurately, avoids appearing the maloperation.
When the Bluetooth remote controller is matched with the newly-added intelligent equipment for the first time, service verification information is synchronously generated, the service verification information is used for verifying connection between the Bluetooth remote controller and the intelligent equipment, before a control instruction is sent by using the Bluetooth remote controller, the Bluetooth remote controller defaults to send the service verification instruction to the intelligent equipment, the received service verification information is compared with the service verification information stored in the memory, and the connection state of the intelligent equipment is determined according to the comparison result.
It should be understood that, in this embodiment, the primary pairing refers to a pairing connection operation performed by the bluetooth remote controller with one or more intelligent devices when the bluetooth remote controller is used for the first time, or the bluetooth remote controller is already connected with one or more intelligent devices, and when a user needs to add a new intelligent device for pairing, the bluetooth remote controller is connected with the newly added device for pairing. The setting of service verification information ensures the unique corresponding relation of the connection of the Bluetooth remote controller and the intelligent equipment, so that the Bluetooth remote controller cannot control the intelligent equipment in the time period of connection control of the Bluetooth remote controller and the intelligent equipment, interference among control instructions of a plurality of Bluetooth remote controllers is avoided, and the control instructions of the intelligent equipment can be accurately executed.
Wherein, the determining the connection state of the intelligent device according to the comparison result includes: when the comparison is not different, marking the intelligent equipment as confirmation connection, and controlling the intelligent equipment through a Bluetooth remote controller; when the comparison is different, the intelligent equipment is marked as disconnected, and remote control cannot be performed on the intelligent equipment.
The link is a verification link after the Bluetooth remote controllers are paired with the intelligent equipment, the condition that a plurality of Bluetooth remote controllers control the same intelligent equipment can be effectively avoided, and the uniqueness of the Bluetooth remote controllers relative to the intelligent equipment is ensured.
When the Bluetooth remote controller and the intelligent device are paired, pairing service information is synchronously generated, the pairing service information comprises pairing connection information of the Bluetooth remote controller and the intelligent device, such as connection passwords, connection history information and the like, and when the received Bluetooth broadcast packet information is identical to Bluetooth broadcast packet information stored in a memory, the Bluetooth remote controller and the intelligent device complete pairing connection according to the pairing service information without other operations.
The intelligent equipment which is already connected in a pairing mode is quickly connected when the Bluetooth remote controllers are paired, if a password is required to be input when the Bluetooth remote controllers are paired and connected, the intelligent equipment is directly obtained from pairing service information, then the connection is directly completed without being input again, so that newly-added equipment is identified at the first time, targeted primary pairing connection operation is carried out on the newly-added equipment, operation steps when the Bluetooth remote controllers are connected with multiple equipment are simplified, and the time consumed in the pairing process is shortened.
In the bluetooth pairing mode, after a plurality of intelligent devices receive pairing instructions, bluetooth modules in the intelligent devices are reset and broadcast, and a bluetooth broadcast packet is sent.
The setting can reset the Bluetooth module in connection control, ensures that the transmitted Bluetooth broadcasting packet information is consistent with the stored Bluetooth broadcasting packet in the Bluetooth remote controller, and further ensures stable connection between the previously paired intelligent device and the Bluetooth remote controller.
Optionally, the bluetooth broadcast packet includes class information of the intelligent device, and when the bluetooth broadcast packet is paired, the intelligent device is classified according to the class information in the bluetooth broadcast packet, and a device code is generated according to the class information.
The Bluetooth remote controller can control multiple kinds of intelligent devices and synchronously operate multiple kinds of same kinds of intelligent devices, when the Bluetooth remote controller is used for controlling, only the controlled equipment is required to be selected and then related control instructions are sent, for example, when the equipment is not provided with numbers according to the equipment, default equipment numbers are two digits, the equipment numbers are sequentially arranged from 11 and 12 … …, when the equipment is required to be distinguished, the equipment number to be added is one digit before the equipment number, for example, 1 represents an intelligent air conditioner, 2 represents an intelligent television, then the equipment number is added on the basis of the equipment number, for example, the number of living room air conditioner equipment is 11, the number of main horizontal air conditioner equipment is 12, when the living room air conditioner is required to be controlled, the intelligent equipment with the control number of 111 is selected, and when all the air conditioners are required to be controlled simultaneously, the intelligent equipment with the control number of 1 is selected. It should be understood that when the control operation is performed on the intelligent devices of the same class, because the types of the intelligent devices are different, when the bluetooth remote controller sends a control instruction to a plurality of intelligent devices of the same class, the intelligent device with the corresponding function executes the corresponding operation according to the control instruction of the bluetooth remote controller, the intelligent device without the function fails to control, for example, the intelligent air conditioner connected by the bluetooth remote controller in a pairing way has an air conditioner with only a refrigerating function and an air conditioner with both the refrigerating function and the heating function, and when the user sends an instruction for starting the heating function to all the air conditioners, the air conditioner with both the refrigerating function and the heating function can be smoothly started, and the air conditioner with only the refrigerating function fails to control. Optionally, multi-class intelligent device information is pre-stored in a memory of the Bluetooth remote controller so as to better identify the corresponding intelligent device class, and pairing connection can be completed more accurately.
As an embodiment of the present invention, after pairing is completed, the bluetooth module uploads the function information of the intelligent device to the bluetooth remote controller, so that the bluetooth remote controller can perform specific function control on the intelligent device.
The existing intelligent equipment has various functions, and has specific functions in a quite part of models, such as formaldehyde removal, defrosting, sterilization and other specific functions in part of air conditioners, and through the transmission of function information, a user can execute corresponding operations according to the specific functions of the intelligent equipment, so that the operation control of the specific functions of different intelligent equipment is realized.
Example 2
The embodiment discloses a pairing device for a bluetooth remote controller and multiple devices, which is used for realizing the pairing method for the bluetooth remote controller and the multiple devices in the embodiment 1.
The Bluetooth remote controller and multi-device pairing device comprises:
the control instruction module is used for sending an instruction to start a Bluetooth pairing mode or sending a control instruction to the intelligent equipment which is in paired connection;
the storage module is used for storing pairing information of the Bluetooth remote controller and the intelligent equipment; the pairing information comprises, but is not limited to, bluetooth broadcasting packet information, pairing service information, service verification information, intelligent equipment codes, equipment class information and equipment function information;
the comparison module is at least used for comparing and judging whether the Bluetooth broadcast packet information stored in the storage module is the same as the Bluetooth broadcast packet information received by the Bluetooth remote controller; in some embodiments, the comparison module is further configured to compare and determine whether the service authentication information stored in the storage module and the received service authentication information are the same;
through cooperation between the modules, pairing connection between one Bluetooth remote controller and a plurality of intelligent devices can be realized, so that the problem of one-to-one pairing connection between the Bluetooth remote controllers and the intelligent devices in the prior art is solved, control of one remote controller on the plurality of intelligent devices is realized, the number of Bluetooth remote controllers when the plurality of intelligent devices are controlled is greatly reduced, and the use cost of a user is reduced.
Optionally, the storage module is a Flash memory.
The Flash memory has large capacity, can store a large amount of information such as Bluetooth broadcast packet information, pairing service information, service verification information, intelligent device codes, equipment class information, equipment function information and the like of a plurality of intelligent devices, can effectively support the Bluetooth remote controller to be simultaneously paired with the plurality of intelligent devices, and meanwhile, the Flash memory is powered off without losing data, has lower cost, can obtain better use effect when being used as a memory of the Bluetooth remote controller, and has lower cost.
Example 3
The embodiment discloses a device, which is an intelligent device, and the intelligent device adopts the method for pairing the bluetooth remote controller and the multiple devices in embodiment 1.
The air conditioner disclosed in this embodiment includes a computer readable storage medium storing a computer program and a processor, where the computer program is read and executed by the processor, and implements a method for pairing a bluetooth remote controller with multiple devices as described in embodiment 1.
The air conditioner has the same advantages as those of the method for pairing the bluetooth remote controller with the multiple devices described in embodiment 1 compared with the prior art, and will not be described herein.
Example 4
The present embodiment discloses a storage medium, which is a computer readable storage medium, where a computer program is stored, and when the computer program is read and executed by a processor, a method for pairing a bluetooth remote controller with multiple devices is implemented as described in embodiment 1.
Although the present invention is disclosed above, the present invention is not limited thereto. In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention should be assessed accordingly to that of the appended claims.
Claims (10)
1. A method for pairing a bluetooth remote control with a multi-device, for pairing connection between the bluetooth remote control and an intelligent device, comprising:
the Bluetooth remote controller sends out a preset pairing instruction to start a Bluetooth pairing mode;
after receiving the pairing instruction, the plurality of intelligent devices reset the Bluetooth modules in the intelligent devices and broadcast the Bluetooth modules, and send Bluetooth broadcast packets;
after receiving the Bluetooth broadcast packet, the Bluetooth remote controller compares the received Bluetooth broadcast packet information with the Bluetooth broadcast packet information stored in the Bluetooth remote controller memory, and performs the following pairing operation according to the comparison result:
the received Bluetooth broadcast packet information is the same as the Bluetooth broadcast packet information stored in the memory, the intelligent equipment pairing connection is carried out, the intelligent equipment number corresponding to the Bluetooth broadcast packet in the memory is called, and the Bluetooth remote controller carries out intelligent equipment control according to the intelligent equipment number;
the received Bluetooth broadcast packet information is different from the Bluetooth broadcast packet information stored in the memory, the intelligent equipment is subjected to primary pairing connection, a new intelligent equipment number is generated, the Bluetooth broadcast packet information and the intelligent equipment number are correspondingly stored in the memory, and the Bluetooth remote controller controls the intelligent equipment according to the newly generated intelligent equipment number;
the memory is used for storing Bluetooth broadcast packet information of the intelligent device paired in the past and corresponding intelligent device numbers.
2. The method for pairing a bluetooth remote controller with multiple devices according to claim 1, wherein one bluetooth remote controller establishes bluetooth connection with one or more intelligent devices at the same time, and controls different intelligent devices through the numbers of the intelligent devices when the pairing is performed.
3. The method for pairing a bluetooth remote controller with a plurality of devices according to claim 1, wherein pairing service information is synchronously generated when the bluetooth remote controller is paired with the intelligent device, the pairing service information includes pairing connection information of the bluetooth remote controller and the intelligent device, and when the received bluetooth broadcast packet information is identical to bluetooth broadcast packet information stored in the memory, the bluetooth remote controller and the intelligent device complete pairing connection according to the pairing service information.
4. The method for pairing a bluetooth remote controller with multiple devices according to claim 1, wherein when the bluetooth remote controller is paired with a newly added intelligent device for the first time, service verification information is synchronously generated, the service verification information is used for verifying connection between the bluetooth remote controller and the intelligent device, before a control instruction is sent by using the bluetooth remote controller, the bluetooth remote controller defaults to send the service verification instruction to the intelligent device, and compares the received service verification information with the service verification information stored in the memory, and determines the connection state of the intelligent device according to the comparison result.
5. The method for pairing a bluetooth remote controller with multiple devices according to claim 4, wherein determining the connection state of the intelligent device according to the comparison result comprises: when the comparison is not different, marking the intelligent equipment as confirmation connection, and controlling the intelligent equipment through a Bluetooth remote controller; when the comparison is different, the intelligent equipment is marked as disconnected, and remote control cannot be performed on the intelligent equipment.
6. The method for pairing a bluetooth remote controller with multiple devices according to claim 1, wherein the bluetooth broadcast packet includes class information of the intelligent devices, and when pairing, the intelligent devices are classified according to the class information in the bluetooth broadcast packet, and device codes are generated according to the class information.
7. The method for pairing a bluetooth remote controller with multiple devices according to claim 1, wherein after pairing is completed, the bluetooth module uploads function information of the intelligent device to the bluetooth remote controller for the bluetooth remote controller to perform function control on the intelligent device.
8. A bluetooth remote control and multi-device pairing apparatus, a method for pairing a bluetooth remote control and a multi-device according to any one of claims 1-7, comprising:
the control instruction module is used for sending an instruction to start a Bluetooth pairing mode or sending a control instruction to the intelligent equipment which is in paired connection;
the storage module is used for storing pairing information of the Bluetooth remote controller and the intelligent equipment;
the comparison module is at least used for comparing and judging whether the Bluetooth broadcast packet information stored in the storage module is the same as the Bluetooth broadcast packet information received by the Bluetooth remote controller.
9. A device, characterized in that it is a smart device comprising a computer readable storage medium storing a computer program and a processor, said computer program realizing the method of pairing a bluetooth remote control according to any one of claims 1-7 with a multi-device when read and run by said processor.
10. A storage medium, characterized in that the storage medium is a computer readable storage medium, which stores a computer program, which when read and run by a processor, implements a method of pairing a bluetooth remote control with a multi-device according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111349799.1A CN114071439B (en) | 2021-11-15 | 2021-11-15 | Bluetooth remote controller and multi-device pairing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111349799.1A CN114071439B (en) | 2021-11-15 | 2021-11-15 | Bluetooth remote controller and multi-device pairing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114071439A CN114071439A (en) | 2022-02-18 |
CN114071439B true CN114071439B (en) | 2023-10-27 |
Family
ID=80272161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111349799.1A Active CN114071439B (en) | 2021-11-15 | 2021-11-15 | Bluetooth remote controller and multi-device pairing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114071439B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023160372A1 (en) * | 2022-02-25 | 2023-08-31 | 华为技术有限公司 | External device pairing method and apparatus, device, and storage medium |
CN114822006B (en) * | 2022-06-30 | 2022-09-16 | 西蒙电气(中国)有限公司 | Method for realizing pairing of multiple devices and multiple remote controllers on single switch loop |
CN115307267A (en) * | 2022-08-16 | 2022-11-08 | 珠海格力电器股份有限公司 | Control method and device of air conditioner, air conditioner and storage medium |
CN115633115B (en) * | 2022-09-08 | 2024-02-02 | 宁波奥克斯电气股份有限公司 | Operation matching method for multiple intelligent air conditioners based on Bluetooth and intelligent air conditioner |
CN115643122A (en) * | 2022-09-09 | 2023-01-24 | 杭州九阳小家电有限公司 | Equipment control method |
CN115484340B (en) * | 2022-09-13 | 2024-03-08 | 宁波奥克斯电气股份有限公司 | Operation matching method for multiple intelligent air conditioners based on Bluetooth and intelligent air conditioner |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104023052A (en) * | 2014-05-26 | 2014-09-03 | 李毅 | Intelligent home wireless control system and method thereof |
WO2018120115A1 (en) * | 2016-12-30 | 2018-07-05 | Arris Enterprises Llc | Method and apparatus for controlling set top box volume based on mobile device events |
CN108810861A (en) * | 2018-05-28 | 2018-11-13 | 北京小米移动软件有限公司 | Connection method, device and the storage medium of smart machine |
CN109862549A (en) * | 2019-03-28 | 2019-06-07 | 南昌黑鲨科技有限公司 | Bluetooth connection method and device, readable storage medium and mobile device |
CN110145187A (en) * | 2019-06-18 | 2019-08-20 | 前海随身宝(深圳)科技有限公司 | Control method for electronic lock, device, intelligent luggage and readable storage medium storing program for executing |
CN111901788A (en) * | 2020-08-27 | 2020-11-06 | 深圳创维-Rgb电子有限公司 | Bluetooth connection method, device, equipment and storage medium |
CN112237007A (en) * | 2018-07-12 | 2021-01-15 | 三星电子株式会社 | Remote controller and control method thereof |
CN112233404A (en) * | 2020-10-14 | 2021-01-15 | 成都极米科技股份有限公司 | Bluetooth connection method, Bluetooth remote controller, terminal device and storage medium |
CN112449331A (en) * | 2019-09-05 | 2021-03-05 | 海信视像科技股份有限公司 | Equipment connection method, Bluetooth remote controller and Bluetooth connection system |
CN113490218A (en) * | 2021-06-08 | 2021-10-08 | 深圳Tcl新技术有限公司 | Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium |
CN113570841A (en) * | 2021-06-07 | 2021-10-29 | 宁波奥克斯电气股份有限公司 | Bluetooth pairing control method and device, Bluetooth remote controller and household appliance |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101373378B1 (en) * | 2013-09-06 | 2014-03-13 | (주) 파켐코리아 | Apparatus and method of automated paring for remote controller equipped with near field communication tag |
KR102393277B1 (en) * | 2017-08-24 | 2022-05-03 | 삼성전자주식회사 | Air-conditioner repeater, air-conditioner system and the control method thereof |
KR102393917B1 (en) * | 2017-10-13 | 2022-05-04 | 삼성전자주식회사 | Remote Controller, Display apparatus, System and Method for controlling thereof |
-
2021
- 2021-11-15 CN CN202111349799.1A patent/CN114071439B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104023052A (en) * | 2014-05-26 | 2014-09-03 | 李毅 | Intelligent home wireless control system and method thereof |
WO2018120115A1 (en) * | 2016-12-30 | 2018-07-05 | Arris Enterprises Llc | Method and apparatus for controlling set top box volume based on mobile device events |
CN108810861A (en) * | 2018-05-28 | 2018-11-13 | 北京小米移动软件有限公司 | Connection method, device and the storage medium of smart machine |
CN112237007A (en) * | 2018-07-12 | 2021-01-15 | 三星电子株式会社 | Remote controller and control method thereof |
CN109862549A (en) * | 2019-03-28 | 2019-06-07 | 南昌黑鲨科技有限公司 | Bluetooth connection method and device, readable storage medium and mobile device |
CN110145187A (en) * | 2019-06-18 | 2019-08-20 | 前海随身宝(深圳)科技有限公司 | Control method for electronic lock, device, intelligent luggage and readable storage medium storing program for executing |
CN112449331A (en) * | 2019-09-05 | 2021-03-05 | 海信视像科技股份有限公司 | Equipment connection method, Bluetooth remote controller and Bluetooth connection system |
CN111901788A (en) * | 2020-08-27 | 2020-11-06 | 深圳创维-Rgb电子有限公司 | Bluetooth connection method, device, equipment and storage medium |
CN112233404A (en) * | 2020-10-14 | 2021-01-15 | 成都极米科技股份有限公司 | Bluetooth connection method, Bluetooth remote controller, terminal device and storage medium |
CN113570841A (en) * | 2021-06-07 | 2021-10-29 | 宁波奥克斯电气股份有限公司 | Bluetooth pairing control method and device, Bluetooth remote controller and household appliance |
CN113490218A (en) * | 2021-06-08 | 2021-10-08 | 深圳Tcl新技术有限公司 | Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114071439A (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114071439B (en) | Bluetooth remote controller and multi-device pairing method, device and storage medium | |
CN106648669B (en) | Product equipment remote firmware upgrading method and system | |
KR100529876B1 (en) | Home network system's operating method | |
JP2019537322A (en) | Network connection method for home appliances, network connection method for home appliances and home systems | |
CN105045626A (en) | Program burning method, program burning equipment and controller | |
CN105334809B (en) | A kind of autocontrol method and device | |
CN104469886A (en) | Intelligent equipment and method and device for rapidly connecting intelligent equipment into wireless network access equipment | |
CN106648781B (en) | Method and system for upgrading remote firmware of communication equipment | |
CN106383757A (en) | Vehicle-mounted software updating method and device | |
CN105100279A (en) | Control method and device for household appliance | |
CN112114524B (en) | Centralized control network-based equipment control and access method and equipment thereof | |
CN108616582A (en) | Pairing method, device and system of internal machine and wire controller | |
CN111930020A (en) | Equipment control system, method, device, terminal and readable storage medium | |
CN110830336A (en) | WiFi equipment management method and device for smart home | |
WO2023045611A1 (en) | Device control method, apparatus and system, storage medium, and electronic apparatus | |
CN103716161A (en) | Server certification method of smart-device being remote-controlled by internet and server certification apparatus using the method | |
CN112637931A (en) | Method and device for establishing network connection | |
CN114884935B (en) | Data upgrading method, device, electronic equipment and storage medium | |
CN110113734B (en) | Bluetooth one-to-many data transmission method, system and storage medium | |
CN108885435B (en) | Control method, host, slave, mobile terminal and control system | |
EP4138342A1 (en) | Home appliance, networking method therefor, control terminal, and computer storage medium | |
CN110529972A (en) | Air-conditioner control system, method and air conditioner | |
CN107659933A (en) | A kind of wireless device two-way pairing connection method, wireless device and storage medium | |
CN112002120A (en) | Remote control configuration method and device based on learning type infrared terminal | |
CN113763691A (en) | Control method, control device, control system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |