CN113691982A - Method and device for networking Bluetooth equipment, server, mobile terminal and Bluetooth gateway equipment - Google Patents
Method and device for networking Bluetooth equipment, server, mobile terminal and Bluetooth gateway equipment Download PDFInfo
- Publication number
- CN113691982A CN113691982A CN202110887802.9A CN202110887802A CN113691982A CN 113691982 A CN113691982 A CN 113691982A CN 202110887802 A CN202110887802 A CN 202110887802A CN 113691982 A CN113691982 A CN 113691982A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- equipment
- key
- server
- mobile terminal
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
- H04L9/0825—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/043—Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
- H04W12/0431—Key distribution or pre-distribution; Key agreement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/69—Identity-dependent
- H04W12/71—Hardware identity
-
- 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
Abstract
The application discloses a method for networking Bluetooth equipment, which is applied to a server and comprises the following steps: receiving a serial number SN code of the Bluetooth device; under the condition that the SN code is successfully verified, a basic key and a broadcast key are sent to Bluetooth gateway equipment, so that the Bluetooth gateway equipment decrypts encrypted information data sent by the Bluetooth equipment; receiving the decrypted information data sent by the Bluetooth gateway equipment; and sending the information data to the mobile terminal so that the mobile terminal can visually present the information data. According to the method, under the condition that the Bluetooth devices of different manufacturers are networked, the Bluetooth devices and the Bluetooth gateway devices do not need to be modified, and extra production cost is not increased. The application also discloses a networking device for the Bluetooth equipment, a server, a mobile terminal and Bluetooth gateway equipment.
Description
Technical Field
The application relates to the technical field of distribution networks, for example, to a method, an apparatus, a server, a mobile terminal and a bluetooth gateway device for bluetooth device networking.
Background
At present, with the development of the technology of the internet of things, bluetooth devices also start to access the internet of things.
When bluetooth equipment between the different manufacturers is networked, can improve current bluetooth equipment or current bluetooth gateway equipment usually for bluetooth equipment becomes bluetooth gateway, can let bluetooth equipment possess the product of connecting the internet function, and bluetooth gateway possess connects the router function and connects bluetooth equipment function, connects bluetooth equipment and internet.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
in order to realize networking of bluetooth devices of different manufacturers, additional production cost is increased by improving the existing bluetooth devices or the existing bluetooth gateway devices.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for networking Bluetooth equipment, a server, a mobile terminal and Bluetooth gateway equipment, and aims to solve the problem that additional production cost is increased when the existing Bluetooth equipment or the existing Bluetooth gateway equipment is improved to realize networking of the Bluetooth equipment of different manufacturers.
In some embodiments, the method is applied to a server, comprising:
receiving a Serial Number (SN code) of the bluetooth device;
under the condition that the SN code is successfully verified, a basic key and a broadcast key are sent to Bluetooth gateway equipment, so that the Bluetooth gateway equipment decrypts encrypted information data sent by the Bluetooth equipment;
receiving the decrypted information data sent by the Bluetooth gateway equipment;
and sending the information data to the mobile terminal so that the mobile terminal can visually present the information data.
In some embodiments, the method is applied to a mobile terminal, and comprises the following steps:
sending the SN code broadcasted by the Bluetooth equipment to a server;
receiving a basic key sent by the server under the condition that the server successfully verifies the SN code;
negotiating a broadcast key with the Bluetooth equipment according to the basic key;
transmitting the broadcast key to a Bluetooth gateway device so that the Bluetooth gateway device decrypts information data encrypted by a basic key and/or the broadcast key;
receiving the information data decrypted by the Bluetooth gateway equipment;
and visually presenting the information data decrypted by the Bluetooth gateway equipment or the mobile terminal.
In some embodiments, the method is applied to a bluetooth gateway device, and comprises:
requesting the server to check the SN code broadcast by the Bluetooth device;
under the condition that the server successfully verifies the SN code, receiving a basic key and a broadcast key of the Bluetooth device, which are sent by the server;
receiving information data broadcasted by the Bluetooth device and encrypted by a basic key and/or a broadcast key;
decrypting information data by the base key and/or the broadcast key;
and sending the decrypted information data to the server so that the server sends the information data to the mobile terminal for visual presentation.
In some embodiments, the apparatus includes a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for bluetooth device networking described above.
In some embodiments, the server comprises a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for bluetooth device networking described above.
In some embodiments, the mobile terminal includes a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for bluetooth device networking described above.
In some embodiments, the bluetooth gateway device comprises a processor and a memory storing program instructions, the processor being configured to, upon execution of the program instructions, perform the method for bluetooth device networking described above.
The method, the device, the server, the mobile terminal and the Bluetooth gateway device for networking the Bluetooth devices provided by the embodiment of the disclosure can realize the following technical effects:
the SN code of the Bluetooth equipment of different manufacturers uploaded by the existing Bluetooth gateway equipment is checked by the server, and then the Bluetooth equipment is communicated with the server through the Bluetooth gateway equipment.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic diagram of a system environment for Bluetooth device networking;
FIG. 2 is a schematic diagram of a method for Bluetooth device networking provided by an embodiment of the present disclosure;
fig. 3 is a schematic diagram of another method for bluetooth device networking provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram of another method for bluetooth device networking provided by an embodiment of the present disclosure;
fig. 5 is a schematic diagram of another method for bluetooth device networking provided by an embodiment of the present disclosure;
fig. 6 is a schematic diagram of another method for bluetooth device networking provided by an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of an application of an embodiment of the present disclosure;
fig. 8 is a schematic diagram of an apparatus for networking bluetooth devices according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The term "correspond" may refer to an association or binding relationship, and a corresponds to B refers to an association or binding relationship between a and B.
In the embodiment of the disclosure, the bluetooth device is an electronic device only including a bluetooth module, supports bluetooth communication among devices, and can realize short-distance data exchange among fixed devices, mobile devices and a building personal area network, but cannot be directly connected to Wi-Fi, such as a bluetooth speaker, a bluetooth headset, a bluetooth module, a bluetooth air conditioner, and the like.
In the disclosed embodiment, the mobile terminal is an electronic device with a wireless connection function, and the mobile terminal can be in communication connection with the intelligent household appliance device through connecting with the internet, or can be in communication connection with the intelligent household appliance device directly through bluetooth, Wi-Fi and other modes. In some embodiments, the terminal device is, for example, a mobile device. The mobile device may include, for example, a cell phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, or the like, or any combination thereof, wherein the wearable device includes, for example: smart watches, smart bracelets, pedometers, and the like.
In the disclosed embodiment, the bluetooth gateway device refers to an electronic device having a bluetooth module and other wireless communication modules (e.g., Wi-Fi modules), supports bluetooth communication among devices, can realize short-distance data exchange among fixed devices, mobile devices and a building personal area network, and can also be directly connected with Wi-Fi to connect with the internet, such as a bluetooth Wi-Fi dual-module voice air conditioner, a bluetooth Wi-Fi dual-module refrigerator, and the like.
Referring to fig. 1, a system for bluetooth device networking includes a bluetooth device 10, a mobile terminal 20, a server 30, and a bluetooth gateway device 40. The bluetooth device 10, the mobile terminal 20, the server 30, and the bluetooth gateway device 40 may communicate with each other.
As shown in fig. 2, an embodiment of the present disclosure provides a method for networking bluetooth devices, including:
s201, the server receives the SN code of the Bluetooth device.
S202, the server sends a basic key and a broadcast key to the Bluetooth gateway device under the condition that the SN code is successfully verified, so that the Bluetooth gateway device decrypts the encrypted information data sent by the Bluetooth device.
S203, the server executes the receiving of the decrypted information data sent by the Bluetooth gateway device.
S204, the server sends the information data to the mobile terminal so that the mobile terminal can visually display the information data.
By adopting the method for networking the Bluetooth equipment, the SN codes of the Bluetooth equipment of different manufacturers uploaded by the existing Bluetooth gateway equipment can be checked at the server, and then the Bluetooth equipment is communicated with the server through the Bluetooth gateway equipment, so that the Bluetooth equipment and the Bluetooth gateway equipment do not need to be modified under the condition of networking the Bluetooth equipment of different manufacturers, and the additional production cost is not increased.
Optionally, the server performs receiving an SN code of the bluetooth device, including: the server receives an SN code of the Bluetooth device sent by the mobile terminal; or the server receives the SN code of the Bluetooth device sent by the Bluetooth gateway device. Therefore, the mobile terminal can be bound with the Bluetooth equipment, and the mobile terminal or the Bluetooth gateway equipment can be communicated with the Bluetooth equipment; can also carry out the check-up back at the server to the SN sign indicating number of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment, judge through the broadcast key that judges whether have bluetooth equipment and judge and make bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
Optionally, the server performs sending the basic key and the broadcast key to the bluetooth gateway device, including: the server directly sends the basic key and the broadcast key to the Bluetooth gateway equipment under the condition that the broadcast key exists; or, the server executes the broadcast key sent by the mobile terminal to be received under the condition that the broadcast key does not exist; and, the server performs transmission of the basic key and the broadcast key to the bluetooth gateway device. Like this, after the server carries out the check-up to the SN code of the different producer bluetooth equipment that uploads through current bluetooth gateway equipment, whether need receive the broadcast key that mobile terminal sent through the broadcast key that judges whether bluetooth equipment exists, make bluetooth equipment pass through bluetooth gateway equipment and server again and carry out the communication, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
Optionally, checking the SN code includes: under the condition that the same data as the checked SN code is searched in a pre-stored setting information base, the SN code is checked successfully; alternatively, when the same data as the SN code to be checked is not retrieved from the pre-stored setting information base, the SN code check fails. Like this, the mode check-up SN sign indicating number of the different producer bluetooth equipment that uploads is passed through inquiry at the server to the current bluetooth gateway equipment, makes bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, does not increase extra manufacturing cost.
Optionally, the mobile terminal performs visual presentation on the information data, including: and the mobile terminal converts the information data into characters and/or pictures and displays the characters and/or pictures. Like this, can carry out the check-up to the SN sign indicating number of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment at the server, make bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, make the information data of bluetooth equipment show through more audio-visual picture and text information at last, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
As shown in fig. 3, another method for networking bluetooth devices is provided in an embodiment of the present disclosure, including:
s301, the server receives the SN code of the Bluetooth device.
S302, the server judges whether the broadcast key exists or not under the condition that the SN code is successfully checked.
And S303, the server directly transmits the basic key and the broadcast key to the Bluetooth gateway device under the condition that the broadcast key exists, so that the Bluetooth gateway device decrypts the encrypted information data transmitted by the Bluetooth device. Alternatively, the first and second electrodes may be,
s304, the server sends the basic key to the mobile terminal under the condition that the broadcast key does not exist, so that the mobile terminal and the Bluetooth device obtain the broadcast key according to the basic key negotiation.
S305, the server executes the broadcast key sent by the receiving mobile terminal; and sending the basic key and the broadcast key to the Bluetooth gateway device so that the Bluetooth gateway device decrypts the encrypted information data sent by the Bluetooth device.
S306, the server executes receiving of the decrypted information data sent by the Bluetooth gateway device.
S307, the server sends the information data to the mobile terminal so that the mobile terminal can visually display the information data.
By adopting the method for networking the Bluetooth equipment, after the SN codes of the Bluetooth equipment of different manufacturers uploaded by the existing Bluetooth gateway equipment are checked by the server, whether the broadcast key sent by the mobile terminal needs to be received or not is judged by judging whether the broadcast key of the Bluetooth equipment exists or not, and then the Bluetooth equipment is communicated with the server through the Bluetooth gateway equipment.
Optionally, the obtaining, by the mobile terminal and the bluetooth device, the broadcast key according to the basic key negotiation includes: the mobile terminal compares the basic key received by the server with the basic key received from the Bluetooth device, randomly generates a broadcast key, encrypts the broadcast key by using the basic key, and sends the broadcast key to the Bluetooth device so that the Bluetooth device stores the broadcast key. Like this, can carry out the check-up back at the server to the SN code of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment, when the broadcast key that the server needs to receive mobile terminal and send, mobile terminal and bluetooth equipment negotiate out safe and reliable's broadcast key, make bluetooth equipment pass through bluetooth gateway equipment and server again and carry out the communication, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
Optionally, the mobile terminal performs visual presentation on the information data, including: and the mobile terminal converts the information data into characters and/or pictures and displays the characters and/or pictures. Like this, can carry out the check-up back at the server to the SN code of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment, whether need receive the broadcast key that mobile terminal sent through the broadcast key that judges whether bluetooth equipment exists, make bluetooth equipment pass through bluetooth gateway equipment and server again and carry out the communication, make bluetooth equipment's information data show through more audio-visual picture and text information at last, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
As shown in fig. 4, another method for networking bluetooth devices is provided in an embodiment of the present disclosure, including:
s401, the server receives SN codes of the Bluetooth devices.
S402, the server inquires corresponding preset basic key generation data in a pre-stored setting information base according to the SN code under the condition that the SN code is successfully checked.
And S403, the server processes the SN code and the preset basic key generation data according to a preset algorithm to generate a basic key.
S404, the server sends the basic key and the broadcast key to the Bluetooth gateway device, so that the Bluetooth gateway device decrypts the encrypted information data sent by the Bluetooth device.
S405, the server executes receiving of the decrypted information data sent by the Bluetooth gateway device.
S406, the server sends the information data to the mobile terminal so that the mobile terminal can visually display the information data.
By adopting the method for networking the Bluetooth equipment, the SN codes of the Bluetooth equipment of different manufacturers uploaded by the existing Bluetooth gateway equipment can be better checked by the server, and then the Bluetooth equipment is communicated with the server through the Bluetooth gateway equipment.
Optionally, the preset algorithm includes an asymmetric key system algorithm, or a one-way function cryptosystem algorithm. Like this, realize better that the SN sign indicating number of different producer bluetooth device that uploads at the server through current bluetooth gateway equipment carries out the check-up, generate basic key better and make bluetooth device carry out the communication through bluetooth gateway equipment and server, under the circumstances of the bluetooth device networking of different producers, need not to reform transform bluetooth device and bluetooth gateway device, do not increase extra manufacturing cost.
Optionally, the mobile terminal performs visual presentation on the information data, including: and the mobile terminal converts the information data into characters and/or pictures and displays the characters and/or pictures. Like this, can realize better that the SN sign indicating number of the different producer bluetooth equipment that uploads at the server through current bluetooth gateway equipment carries out the check-up, make bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, under the bluetooth equipment networking's of different producers the condition, make the information data of bluetooth equipment show through more audio-visual picture and text information at last, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
As shown in fig. 5, another method for networking bluetooth devices is provided in an embodiment of the present disclosure, including:
s501, the mobile terminal sends the SN code broadcasted by the Bluetooth device to a server.
S502, the mobile terminal receives the basic key sent by the server under the condition that the server successfully verifies the SN code.
S503, the mobile terminal negotiates a broadcast key with the Bluetooth device according to the basic key.
S504, the mobile terminal sends the broadcast key to the Bluetooth gateway device, so that the Bluetooth gateway device decrypts the information data encrypted by the basic key and/or the broadcast key.
And S505, the mobile terminal executes receiving the information data decrypted by the Bluetooth gateway equipment.
S506, the mobile terminal performs visual presentation on the information data decrypted by the Bluetooth gateway device or the information data directly decrypted by the mobile terminal.
By adopting the method for networking the Bluetooth equipment, the SN codes of the Bluetooth equipment of different manufacturers uploaded by the existing Bluetooth gateway equipment can be checked at the server, and then the Bluetooth equipment is communicated with the server through the Bluetooth gateway equipment, so that the Bluetooth equipment and the Bluetooth gateway equipment do not need to be modified under the condition of networking the Bluetooth equipment of different manufacturers, and the additional production cost is not increased.
Optionally, the negotiating, by the mobile terminal, the broadcast key with the bluetooth device according to the basic key includes: the mobile terminal compares the basic key received by the server with the basic key received from the Bluetooth device, randomly generates a broadcast key, encrypts the broadcast key by using the basic key, and sends the broadcast key to the Bluetooth device so that the Bluetooth device stores the broadcast key. Like this, can carry out the check-up back at the server to the SN code of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment, when the broadcast key that the server needs to receive mobile terminal and send, mobile terminal and bluetooth equipment negotiate out safe and reliable's broadcast key, make bluetooth equipment pass through bluetooth gateway equipment and server again and carry out the communication, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
Optionally, the sources of the information data directly decrypted by the mobile terminal are: and after the mobile terminal receives the information data encrypted by the basic key and/or the broadcast key, the mobile terminal decrypts the information data. Like this, can carry out the check-up at the server to the SN sign indicating number of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment, can not only make bluetooth equipment carry out the communication through bluetooth gateway equipment and server, can also make bluetooth equipment directly carry out the communication through mobile terminal with the server, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
Optionally, the mobile terminal performs visual presentation on the information data, including: and the mobile terminal converts the information data into characters and/or pictures and displays the characters and/or pictures. Like this, can carry out the check-up to the SN sign indicating number of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment at the server, make bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, make the information data of bluetooth equipment show through more audio-visual picture and text information at last, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
Optionally, the receiving, by the mobile terminal, the information data decrypted by the bluetooth gateway device includes: the Bluetooth gateway equipment sends the decrypted information data to the server, and the server forwards the information data to the mobile terminal. Like this, can carry out the check-up at the server to the SN sign indicating number of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment, make bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
As shown in fig. 6, another method for networking bluetooth devices is provided in an embodiment of the present disclosure, including:
s601, the bluetooth gateway device performs a request to the server to check the SN code broadcast by the bluetooth device.
S602, the Bluetooth gateway device receives the basic key and the broadcast key of the Bluetooth device sent by the server under the condition that the server successfully checks the SN code.
S603, the bluetooth gateway device performs receiving information data encrypted by the basic key and/or the broadcast key broadcasted by the bluetooth device.
S604, the bluetooth gateway device performs decryption of the information data by the basic key and/or the broadcast key.
And S605, the Bluetooth gateway device sends the decrypted information data to the server, so that the server sends the information data to the mobile terminal for visual presentation.
By adopting the method for networking the Bluetooth equipment, the SN codes of the Bluetooth equipment of different manufacturers uploaded by the existing Bluetooth gateway equipment can be checked at the server, and then the Bluetooth equipment is communicated with the server through the Bluetooth gateway equipment, so that the Bluetooth equipment and the Bluetooth gateway equipment do not need to be modified under the condition of networking the Bluetooth equipment of different manufacturers, and the additional production cost is not increased.
Optionally, the mobile terminal performs visual presentation on the information data, including: and the mobile terminal converts the information data into characters and/or pictures and displays the characters and/or pictures. Like this, can carry out the check-up to the SN sign indicating number of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment at the server, make bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, make the information data of bluetooth equipment show through more audio-visual picture and text information at last, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
Optionally, the bluetooth gateway device performs decryption of the information data by the basic key and/or the broadcast key, including: the Bluetooth gateway equipment decrypts the information data through the basic key and/or the broadcast key; the Bluetooth gateway equipment executes the verification, the filtration and the analysis of the decrypted data. Like this, can carry out the check-up at the server to the SN sign indicating number of the different producer bluetooth equipment of uploading through current bluetooth gateway equipment, make bluetooth equipment carry out the communication through bluetooth gateway equipment and server again, under the circumstances of the bluetooth equipment networking of different producers, need not to reform transform bluetooth equipment and bluetooth gateway equipment, do not increase extra manufacturing cost.
In practical applications, as shown in fig. 7, S701, the bluetooth device broadcasts an SN code to the mobile terminal or the bluetooth gateway device. S702, the mobile terminal requests the server to check the SN code. And S703, the Bluetooth gateway equipment requests the server to check the SN code. S704, the server verifies that the SN code is successful. S705, the server inquires whether a broadcast key exists.
S706, the server transmits the basic key to the mobile terminal in case the broadcast key does not exist. And S708, the mobile terminal and the Bluetooth device negotiate a broadcast key according to the basic key. S711, the bluetooth device stores the broadcast key. And S712, the mobile terminal stores the broadcast key and binds the Bluetooth device. S709, the mobile terminal transmits the broadcast key to the server. The server stores the broadcast key, S710, and the server transmits the basic key and the broadcast key to the bluetooth gateway device. S713, the bluetooth device broadcasts the information data encrypted by the basic key and/or the broadcast key. And the mobile terminal and the Bluetooth gateway equipment receive the information data. S715, the Bluetooth gateway device decrypts the information data through the basic key and/or the broadcast key. And S716, the Bluetooth gateway equipment sends the information data to the server. S717, the server transmits the information data to the mobile terminal. The mobile terminal decrypts the information data by the basic key and/or the broadcast key S714. And S718, the mobile terminal visually presents the information data decrypted by the Bluetooth gateway or the mobile terminal, and converts the information data into characters or pictures to be displayed.
S707, the server sends the basic key and the broadcast key to the bluetooth gateway device in the presence of the broadcast key. S715, the Bluetooth gateway device decrypts the information data through the basic key and/or the broadcast key. And S716, the Bluetooth gateway equipment sends the information data to the server. S717, the server transmits the information data to the mobile terminal. And S718, the mobile terminal visually presents the information data decrypted by the Bluetooth gateway, and converts the information data into characters or pictures to be displayed.
By adopting the method for networking the Bluetooth equipment, the SN codes of the Bluetooth equipment of different manufacturers uploaded by the existing Bluetooth gateway equipment can be checked at the server, and then the Bluetooth equipment is communicated with the server through the Bluetooth gateway equipment, so that the Bluetooth equipment and the Bluetooth gateway equipment do not need to be modified under the condition of networking the Bluetooth equipment of different manufacturers, and the additional production cost is not increased.
As shown in fig. 8, an apparatus for networking bluetooth devices according to an embodiment of the present disclosure includes a processor (processor)100 and a memory (memory) 101. Optionally, the apparatus may also include a Communication Interface (Communication Interface)102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other via a bus 103. The communication interface 102 may be used for information transfer. The processor 100 may invoke logic instructions in the memory 101 to perform the method for bluetooth device networking of the above-described embodiments.
In addition, the logic instructions in the memory 101 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 101, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes functional applications and data processing by executing program instructions/modules stored in the memory 101, i.e., implements the method for networking bluetooth devices in the above-described embodiments.
The memory 101 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a nonvolatile memory.
Embodiments of the present disclosure provide a server comprising a processor and a memory storing program instructions, the processor being configured to perform a method for bluetooth device networking when executing the program instructions.
Embodiments of the present disclosure provide a mobile terminal comprising a processor and a memory storing program instructions, the processor being configured to perform a method for bluetooth device networking when executing the program instructions.
Embodiments of the present disclosure provide a bluetooth gateway device comprising a processor and a memory storing program instructions, the processor being configured to perform a method for bluetooth device networking when executing the program instructions.
Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for networking bluetooth devices.
Embodiments of the present disclosure provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for bluetooth device networking.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Claims (10)
1. A method for networking Bluetooth equipment, which is applied to a server, comprises the following steps:
receiving a serial number SN code of the Bluetooth device;
under the condition that the SN code is successfully verified, a basic key and a broadcast key are sent to Bluetooth gateway equipment, so that the Bluetooth gateway equipment decrypts encrypted information data sent by the Bluetooth equipment;
receiving the decrypted information data sent by the Bluetooth gateway equipment;
and sending the information data to the mobile terminal so that the mobile terminal can visually present the information data.
2. The method of claim 1, wherein sending the base key and the broadcast key to the bluetooth gateway device comprises:
in the presence of a broadcast key, directly transmitting the basic key and the broadcast key to the Bluetooth gateway device; alternatively, the first and second electrodes may be,
receiving a broadcast key transmitted by the mobile terminal in the case that the broadcast key does not exist; and sending the basic key and the broadcast key to the Bluetooth gateway equipment.
3. The method according to claim 2, further comprising, before receiving the broadcast key transmitted by the mobile terminal:
and sending the basic key to the mobile terminal, so that the mobile terminal and the Bluetooth equipment obtain the broadcast key according to the basic key negotiation.
4. The method of claim 1, 2 or 3, wherein before sending the base key and the broadcast key to the Bluetooth gateway device, further comprising:
inquiring in a pre-stored set information base according to the SN code to obtain corresponding preset basic key generation data;
and processing the SN code and the preset basic key generation data according to a preset algorithm to generate the basic key.
5. A method for networking Bluetooth equipment is applied to a mobile terminal and comprises the following steps:
sending the SN code broadcasted by the Bluetooth equipment to a server;
receiving a basic key sent by the server under the condition that the server successfully verifies the SN code;
negotiating a broadcast key with the Bluetooth equipment according to the basic key;
transmitting the broadcast key to a Bluetooth gateway device so that the Bluetooth gateway device decrypts information data encrypted by a basic key and/or the broadcast key;
receiving the information data decrypted by the Bluetooth gateway equipment;
and visually presenting the information data decrypted by the Bluetooth gateway equipment or the information data directly decrypted by the mobile terminal.
6. A method for networking Bluetooth devices, which is applied to a Bluetooth gateway device, comprises the following steps:
requesting the server to check the SN code broadcast by the Bluetooth device;
under the condition that the server successfully verifies the SN code, receiving a basic key and a broadcast key of the Bluetooth device, which are sent by the server;
receiving information data broadcasted by the Bluetooth device and encrypted by a basic key and/or a broadcast key;
decrypting information data by the base key and/or the broadcast key;
and sending the decrypted information data to the server so that the server sends the information data to the mobile terminal for visual presentation.
7. An apparatus for networking bluetooth devices, comprising a processor and a memory storing program instructions, the processor being configured, upon execution of the program instructions, to perform the method for networking bluetooth devices according to any of claims 1 to 6.
8. A server comprising a processor and a memory storing program instructions, characterized in that the processor is configured to execute the method for controlling an air conditioner according to any one of claims 1 to 4 when executing the program instructions.
9. A mobile terminal comprising a processor and a memory storing program instructions, characterized in that the processor is configured to execute the method for controlling an air conditioner according to claim 5 when executing the program instructions.
10. A bluetooth gateway device comprising a processor and a memory storing program instructions, characterized in that the processor is configured to perform the method for controlling an air conditioner according to claim 6 when executing the program instructions.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110887802.9A CN113691982A (en) | 2021-08-03 | 2021-08-03 | Method and device for networking Bluetooth equipment, server, mobile terminal and Bluetooth gateway equipment |
PCT/CN2022/095276 WO2023010962A1 (en) | 2021-08-03 | 2022-05-26 | Method and apparatus for bluetooth device networking, server, mobile terminal, and bluetooth gateway device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110887802.9A CN113691982A (en) | 2021-08-03 | 2021-08-03 | Method and device for networking Bluetooth equipment, server, mobile terminal and Bluetooth gateway equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113691982A true CN113691982A (en) | 2021-11-23 |
Family
ID=78578640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110887802.9A Pending CN113691982A (en) | 2021-08-03 | 2021-08-03 | Method and device for networking Bluetooth equipment, server, mobile terminal and Bluetooth gateway equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113691982A (en) |
WO (1) | WO2023010962A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023010962A1 (en) * | 2021-08-03 | 2023-02-09 | 海尔(深圳)研发有限责任公司 | Method and apparatus for bluetooth device networking, server, mobile terminal, and bluetooth gateway device |
WO2023227128A1 (en) * | 2022-05-27 | 2023-11-30 | 阿里云计算有限公司 | Bluetooth-based communication method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160173473A1 (en) * | 2014-12-12 | 2016-06-16 | Ingenico Group | Method for authenticating a user, corresponding server, communications terminal and programs |
CN109218994A (en) * | 2018-09-05 | 2019-01-15 | 北京字节跳动网络技术有限公司 | Equivalent device Bluetooth communication method and device based on gateway |
US20200045611A1 (en) * | 2017-03-07 | 2020-02-06 | China Mobile (Hangzhou) Information Technology Co., Ltd. | Method, device and system of controlling bluetooth networking among physical devices |
CN111105528A (en) * | 2020-02-20 | 2020-05-05 | 南京艾弗雷德网络技术有限公司 | Intelligent door lock system based on Bluetooth broadcast |
CN112165712A (en) * | 2020-09-30 | 2021-01-01 | 青岛海尔科技有限公司 | Method, device, system and storage medium for intelligent equipment to access wireless network |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI665559B (en) * | 2017-08-21 | 2019-07-11 | 立創智能股份有限公司 | Bluetooth data access system |
CN110958593A (en) * | 2019-10-22 | 2020-04-03 | 珠海格力电器股份有限公司 | Bluetooth networking method, device, system and computer readable medium |
CN112929861B (en) * | 2021-01-22 | 2023-05-05 | 广东好太太智能家居有限公司 | Bluetooth sharing method for gateway and intelligent device, gateway and storage medium |
CN113691982A (en) * | 2021-08-03 | 2021-11-23 | 海尔(深圳)研发有限责任公司 | Method and device for networking Bluetooth equipment, server, mobile terminal and Bluetooth gateway equipment |
-
2021
- 2021-08-03 CN CN202110887802.9A patent/CN113691982A/en active Pending
-
2022
- 2022-05-26 WO PCT/CN2022/095276 patent/WO2023010962A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160173473A1 (en) * | 2014-12-12 | 2016-06-16 | Ingenico Group | Method for authenticating a user, corresponding server, communications terminal and programs |
US20200045611A1 (en) * | 2017-03-07 | 2020-02-06 | China Mobile (Hangzhou) Information Technology Co., Ltd. | Method, device and system of controlling bluetooth networking among physical devices |
CN109218994A (en) * | 2018-09-05 | 2019-01-15 | 北京字节跳动网络技术有限公司 | Equivalent device Bluetooth communication method and device based on gateway |
CN111105528A (en) * | 2020-02-20 | 2020-05-05 | 南京艾弗雷德网络技术有限公司 | Intelligent door lock system based on Bluetooth broadcast |
CN112165712A (en) * | 2020-09-30 | 2021-01-01 | 青岛海尔科技有限公司 | Method, device, system and storage medium for intelligent equipment to access wireless network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023010962A1 (en) * | 2021-08-03 | 2023-02-09 | 海尔(深圳)研发有限责任公司 | Method and apparatus for bluetooth device networking, server, mobile terminal, and bluetooth gateway device |
WO2023227128A1 (en) * | 2022-05-27 | 2023-11-30 | 阿里云计算有限公司 | Bluetooth-based communication method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2023010962A1 (en) | 2023-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110519742B (en) | Audio synchronous playing method and device and TWS Bluetooth headset | |
WO2023010962A1 (en) | Method and apparatus for bluetooth device networking, server, mobile terminal, and bluetooth gateway device | |
US20060126846A1 (en) | Device authentication system | |
US20150135240A1 (en) | Video display terminal, video transmission terminal, video communication system, video display method, video transmission method, and computer-readable recording medium recording program | |
CN110995554A (en) | Method and device for configuring and accessing intelligent household electrical appliance network and storage medium | |
US20140233735A1 (en) | Encryption method, decryption method, and related apparatus | |
CN104602238A (en) | Wireless network connecting method, device and system | |
CN102387501A (en) | Secure wireless link between two devices using probes | |
US20140380443A1 (en) | Network connection in a wireless communication device | |
CN105959281B (en) | File encryption transmission method and device | |
CN113301568A (en) | Network distribution method and device and intelligent household equipment | |
CN106452999B (en) | Intelligent household appliance and method and device for safely accessing intelligent household appliance | |
US9332405B2 (en) | Short message backup method, mobile terminal, and server | |
CN111586691A (en) | Method and device for configuring wireless connection and wireless connectable equipment | |
WO2018030296A1 (en) | Communication device, communication method and program | |
CN111787514B (en) | Method and device for acquiring equipment control data, storage medium and electronic device | |
EP3833153A1 (en) | Network connection methods and devices | |
US20170359178A1 (en) | Network communication method having function of recovering terminal session | |
CN105451367A (en) | Wireless network connection method, device and system | |
CN113434837B (en) | Method and device for equipment identity authentication and smart home system | |
JP2007053612A (en) | Communication device and communication method | |
JP4910956B2 (en) | Communication control system, terminal, and program | |
CA3008936C (en) | Secure transmission of local private encoding data | |
CN107548025B (en) | Position information sharing method and core network | |
CN112640506B (en) | Bluetooth node pairing method and related device |
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 |