Bluetooth burning method, Bluetooth burning device, and Bluetooth burning system

Through the automatic decryption and centralized storage mechanism of the Bluetooth burning device and system, the problems of manual import errors and non-centralized storage of data during the Bluetooth module quad burning process are solved, and stable and safe quadruple writing and management are achieved. .

CN114765757BActive Publication Date: 2024-10-15OPPLE LIGHTING CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202011643366.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-10-15
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

During the quadruple burning process of existing Bluetooth modules, problems such as Excel format errors and duplicate mac addresses are prone to occur, resulting in burning failures. Moreover, the burning results are not stored centrally, making it difficult to perform efficient batch verification, and it is easy to mis-count or miss statistics. It is especially difficult to verify when multiple tools are burned simultaneously across factories.

Method used

Using Bluetooth burning devices and systems, by reading the MAC address of the Bluetooth module, obtain and decrypt the ciphertext Secret, save it to the shared disk, and write the quadruple into the module, using the public key of the camera and cloud server to encrypt, The private key decryption mechanism realizes automatic burning and ensures data security and centralized storage.

Benefits of technology

It realizes the automatic writing of quadruples, avoids manual import errors, improves the stability and security of burning, ensures the safe transmission and storage of Secrets, provides centralized data management, and reduces false statistics and missing statistics. risk.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114765757B_ABST
    Figure CN114765757B_ABST
Patent Text Reader

Abstract

The present invention relates to a Bluetooth burning method, which is implemented by a Bluetooth burning device, and the method includes: reading the MAC address of a Bluetooth module; obtaining the configuration file PID product model and CID manufacturer number corresponding to the Bluetooth module; obtaining the encrypted ciphertext Secret, and decrypting to obtain the original Secret; saving the Bluetooth module quadruple (PID, MAC, Secret, CID) to a shared disk; writing the Bluetooth module quadruple (PID, MAC, Secret, CID) to the Bluetooth module. Automatic writing of Secret can be realized, errors caused by manual import can be avoided, and the performance is more stable. In the process of writing Secret, encryption is used to ensure the security of Secret. In addition, after obtaining the quadruple, the quadruple information is saved in a shared disk, and accounts with access rights within the company can access the quadruple file, and accounts without access rights cannot access the quadruple file, and access records are retained for access, and external network users cannot access, thereby providing the quadruple security of the Bluetooth module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of system burning, and in particular relates to a burning method for a Bluetooth module. Background Art

[0002] Bluetooth networking is a new technology solution that has been very popular in recent years. Many existing smart devices (such as Tmall Genie and Xiaomi XiaoAi) use Bluetooth mesh solutions for networking, and tens of billions of Bluetooth devices are mesh-networked every year. Each Bluetooth BLE Sig Mesh has a unique four-tuple information, which is an indispensable factor in the Sig Mesh self-networking process.

[0003] The current four-tuple burning requires manual import of the Excel file containing the Secret, which will cause some problems, such as Excel format errors, repeated MAC addresses burned in Excel, etc., which may lead to burning failure; secondly, the burning results are not stored centrally, and it is impossible to efficiently batch control the burning process. Especially when multiple tools are burned at the same time across factories, if the burning results are not stored centrally, it will cause verification difficulties, easy to miscount, and missed statistics. Summary of the invention

[0004] The purpose of the present invention is to solve the problems of programming failure, easy mis-stating and missing statistics that occur when manually programming a Bluetooth module in the prior art, and to propose a novel Bluetooth module programming method, a Bluetooth programming device and a Bluetooth programming system.

[0005] Technical solution 1 of the present invention: a Bluetooth burning method, which is implemented by a Bluetooth burning device, and the method comprises: reading the MAC address of the Bluetooth module; obtaining the configuration file PID product model and CID manufacturer number corresponding to the Bluetooth module;

[0006] Get the encrypted ciphertext Secret and decrypt it to get the original Secret; save the Bluetooth module quadruple (PID, MAC, Secret, CID) to the shared disk; write the Bluetooth module quadruple (PID, MAC, Secret, CID) to the Bluetooth module.

[0007] Furthermore, a camera is configured for the Bluetooth burning device, and the Bluetooth burning method further comprises reading the MAC address of the Bluetooth module through the camera of the Bluetooth burning device.

[0008] Furthermore, in the step of obtaining the encrypted ciphertext Secret and decrypting it to obtain the original Secret, the Bluetooth burning device sends a Secret request message to the cloud server, receives the Secret encrypted by the public key sent by the cloud server, and uses the private key to decrypt the encrypted Secret to obtain the original Secret.

[0009] Furthermore, the private key is pre-stored in the Bluetooth burning device.

[0010] Furthermore, the Bluetooth burning device sends the Bluetooth module quadruple (PID, MAC, Secret, CID) to the shared disk, and the shared disk stores the Bluetooth module quadruple; wherein the Bluetooth burning device and the shared disk are in the same intranet.

[0011] Furthermore, the Bluetooth burning device sends the writing result to the shared disk, and the shared disk stores the writing result; wherein the Bluetooth module quadruple corresponds to the writing result.

[0012] Technical solution 2 of the present invention: A Bluetooth burning device comprises a processor, a camera, a communication module, a writing module, and a memory; the processor is electrically connected to the camera, the communication module, the writing module, and the memory respectively; the camera reads the MAC address of the Bluetooth module and sends it to the processor; the processor obtains the configuration file PID product model and CID manufacturer number corresponding to the Bluetooth module from the memory; the communication module obtains the encrypted ciphertext Secret and sends it to the processor, and the processor decrypts to obtain the original Secret; the communication module saves the Bluetooth module quadruple (PID, MAC, Secret, CID) to a shared disk; the writing module writes the Bluetooth module quadruple (PID, MAC, Secret, CID) into the Bluetooth module.

[0013] Furthermore, the processor sends a Secret request message to the cloud server through the communication module, and receives the Secret encrypted by the public key sent by the cloud server; the processor decrypts the encrypted Secret using the private key to obtain the original text of the Secret.

[0014] Furthermore, the private key is pre-stored in a memory in the Bluetooth burning device.

[0015] Furthermore, the processor sends the Bluetooth module quaternary group (PID, MAC, Secret, CID) to the shared disk through the communication module, and the shared disk stores the Bluetooth module quaternary group; wherein the Bluetooth burning device and the shared disk are in the same intranet.

[0016] Furthermore, the writing device returns the writing result to the processor, and the processor sends the writing result to the shared disk, which saves the writing result; wherein the Bluetooth module quadruple corresponds to the writing result.

[0017] Technical solution three of the present invention: a Bluetooth burning system, including a cloud server, a shared disk, and the aforementioned Bluetooth burning device; the Bluetooth burning device is respectively connected to the cloud server and the shared disk for communication.

[0018] The beneficial effects of the present invention are as follows: the Bluetooth module burning method of the present invention can realize the automatic writing of Secret, avoid the error of manual import, and the performance is more stable. In the process of writing Secret, an encryption method is used to ensure the security of Secret. In addition, after obtaining the quadruple, the quadruple information is saved in a shared disk, and the accounts with access rights within the company can view the quadruple file, and the accounts without access rights cannot view the quadruple file. The access records are retained for the access, and the external network users cannot access it, which provides the quadruple security of the Bluetooth module. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 A schematic diagram of a Bluetooth module burning system preferred in an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a flow chart of a preferred method for burning a Bluetooth module according to an embodiment of the present invention;

[0022] Figure 3 This is a schematic diagram of the structure of a preferred Bluetooth burning device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] The present invention will be further described below in conjunction with the accompanying drawings.

[0025] Embodiment 1

[0026] Figure 1 This is a schematic diagram of a preferred Bluetooth module burning system according to an embodiment of the present invention.

[0027] like Figure 1 As shown, the Bluetooth module burning system includes a Bluetooth burning device 1, a cloud server 2, and a shared disk 3; wherein the Bluetooth burning device 1 is electrically connected to the cloud server 2 and the shared disk 3 respectively.

[0028] Figure 2 The figure is a flow chart of a preferred method for burning a Bluetooth module according to an embodiment of the present invention.

[0029] like Figure 2 As shown, the Bluetooth module burning method is as follows:

[0030] S1. When starting to burn a blank Bluetooth module, the Bluetooth burning device 1 reads the MAC address on the blank Bluetooth module through a camera. The blank Bluetooth module only includes a 13-bit MAC address.

[0031] S2. The Bluetooth burning device 1 reads the PID (product model) and CID (unique manufacturer number assigned by the Bluetooth Association) corresponding to the Bluetooth module. The PID and CID are pre-acquired and stored locally or on a server. When the Bluetooth burning device 1 needs to read, it can be read from the local or server.

[0032] S3. The Bluetooth burning device 1 sends a Secret request message to the cloud server 2.

[0033] S4. After receiving the Secret request message sent by the Bluetooth burning device 1, the cloud server 2 generates a Secret in real time. The cloud server 2 encrypts the generated Secret using a preset public key (RSA2) and sends the encrypted Secret to the Bluetooth burning device 1.

[0034] S5, after the Bluetooth burning device 1 obtains the Secret sent by the cloud server 2, it uses the pre-stored private key (RSA2) to decrypt the Secret to obtain the original Secret; compared with the manual EXCEL import method in the prior art, this method realizes automatic operation and avoids the errors of manual import, and the performance is more stable. In addition, the method of public key encryption and private key decryption can ensure the security of transmission.

[0035] S6. The Bluetooth burning device 1 writes the Bluetooth quadruple (PID, MAC, Secret, CID) into the shared disk 3. Since the security of the Bluetooth module's quadruple (PID, MAC, Secret, CID) is very important, the quadruple needs to be saved in the shared disk 3 in the intranet. Accounts with access rights within the company can access the quadruple file, while accounts without access rights cannot access the quadruple file. Access records are retained for access, and external network users cannot access it, thereby providing the quadruple security of the Bluetooth module.

[0036] S7, the Bluetooth burning device 1 burns the four-tuple (PID, MAC, Secret, CID) into the Bluetooth module, and saves the burning result to the shared disk 3, and the burning result corresponds to the four-tuple (PID, MAC, Secret, CID), that is, the corresponding information of each Bluetooth module is saved in one row.

[0037] Figure 3 This is a schematic diagram of the structure of a preferred Bluetooth burning device according to an embodiment of the present invention.

[0038] like Figure 3 As shown, the Bluetooth burning device 1 includes a processor 11, a camera 12, a communication module 13, a writing module 14, and a memory 15. The processor 11 is electrically connected to the camera 12, the communication module 13, the writing module 14, and the memory 15, respectively.

[0039] When the Bluetooth burning device 1 needs to burn the Bluetooth module, the MAC address of the blank Bluetooth module is read through the camera 12, and the read MAC address of the Bluetooth module is sent to the processor 11; the processor 11 reads the pre-acquired PID and CID from the memory 15; the processor 11 sends a Secret request message to the cloud server 2 through the communication module 13, and obtains the Secret encrypted by the public key (RSA2) from the cloud server 2. The processor 11 uses the private key (RSA2) to decrypt the received encrypted Secret to obtain the original Secret.

[0040] The processor 11 saves the Bluetooth module quadruple (PID, MAC, Secret, CID) to the shared disk 3 through the communication module 13, and writes the Bluetooth module quadruple (PID, MAC, Secret, CID) to the Bluetooth module through the writing module 14. The writing module 14 returns the writing result to the processor 11, and the processor 11 sends the writing result to the shared disk 3 through the communication module, and the writing result corresponds to the quadruple (PID, MAC, Secret, CID), that is, the corresponding information of each Bluetooth module is saved in one row.

[0041] Through the above embodiment, the automatic writing of Secret can be realized, the error of manual import can be avoided, the performance is more stable, and in the process of writing Secret, encryption is used to ensure the security of Secret. In addition, after obtaining the quadruple, the quadruple information is saved in the shared disk, and the accounts with access rights within the company can view the quadruple file, and the accounts without access rights cannot view the quadruple file, and the access records are retained for the access, which cannot be accessed by external network users, providing the quadruple security of the Bluetooth module.

[0042] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0043] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A Bluetooth burning method, which is implemented by a Bluetooth burning device, characterized in that: The method comprises: Read the MAC address of the Bluetooth module; Get the configuration file PID product model and CID manufacturer number corresponding to the Bluetooth module that is saved locally in advance; Send a Secret request message to the cloud server, and receive the Secret sent by the cloud server after being encrypted with the public key, wherein the Secret is generated in real time by the cloud server based on the Secret request message; Get the encrypted ciphertext Secret and decrypt it to get the original Secret; Save the Bluetooth module quadruple (PID, MAC, Secret, CID) to the shared disk; Write the Bluetooth module quadruple (PID, MAC, Secret, CID) into the Bluetooth module.

2. The Bluetooth burning method according to claim 1, characterized in that: A camera is configured for the Bluetooth burning device, and the Bluetooth burning method further comprises reading the MAC address of the Bluetooth module through the camera of the Bluetooth burning device.

3. The Bluetooth burning method according to claim 2, characterized in that: In the step of obtaining the encrypted ciphertext Secret and decrypting it to obtain the original Secret, the Bluetooth burning device sends a Secret request message to the cloud server, receives the Secret encrypted by the public key sent by the cloud server, and uses the private key to decrypt the encrypted Secret to obtain the original Secret.

4. The Bluetooth burning method according to claim 3, characterized in that: The private key is pre-stored in the Bluetooth burning device.

5. The Bluetooth burning method according to claim 4, characterized in that: The Bluetooth burning device sends the Bluetooth module quadruple (PID, MAC, Secret, CID) to the shared disk, and the shared disk saves the Bluetooth module quadruple; The Bluetooth burning device and the shared disk are in the same intranet.

6. The Bluetooth burning method according to claim 5, characterized in that: The Bluetooth burning device sends the writing result to the shared disk, and the shared disk saves the writing result; Among them, the Bluetooth module quadruple corresponds to the writing result.

7. A Bluetooth burning device, comprising a processor, a camera, a communication module, a writing module, and a memory; characterized in that ; The processor is electrically connected to the camera, the communication module, the writing module, and the memory respectively; The camera reads the MAC address of the Bluetooth module and sends it to the processor; The processor obtains the configuration file PID product model and CID manufacturer number corresponding to the Bluetooth module from the memory; The communication module obtains the encrypted ciphertext Secret and sends it to the processor, and the processor decrypts it to obtain the original text of the Secret; The communication module saves the Bluetooth module quadruple (PID, MAC, Secret, CID) to a shared disk; The writing module writes the Bluetooth module quadruple (PID, MAC, Secret, CID) into the Bluetooth module.

8. The Bluetooth burning device according to claim 7, characterized in that: The processor sends a Secret request message to the cloud server through the communication module, and receives the Secret encrypted by the public key sent by the cloud server; The processor decrypts the encrypted Secret using the private key to obtain the original Secret.

9. The Bluetooth burning device according to claim 8, characterized in that: The private key is pre-stored in a memory in the Bluetooth burning device.

10. The Bluetooth burning device according to claim 9, characterized in that: The processor sends the Bluetooth module quadruple (PID, MAC, Secret, CID) to the shared disk through the communication module, and the shared disk saves the Bluetooth module quadruple; The Bluetooth burning device and the shared disk are in the same intranet.

11. The Bluetooth burning device according to claim 10, characterized in that: The writing device returns the writing result to the processor, and the processor sends the writing result to the shared disk, which saves the writing result; Among them, the Bluetooth module quadruple corresponds to the writing result.

12. A Bluetooth burning system, comprising a cloud server, a shared disk, and the Bluetooth burning device according to any one of claims 7 to 11; The Bluetooth burning device is respectively connected to the cloud server and the shared disk for communication.

Citation Information

Cited By

  • Bluetooth burning method, bluetooth burning apparatus, and bluetooth burning system

    WO2022143412A1