A method and system for transmitting bluetooth air interface data

By using random numbers as paired encryption keys in Bluetooth air interface data transmission, Bluetooth air interface data is encrypted and decrypted, which solves the problem of Bluetooth air interface data communication security and realizes the security of data transmission.

CN114727268BActive Publication Date: 2025-06-06BEIJING YAHUA WULIAN TECH DEV CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210252916.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-15
Publication Date
2025-06-06
Estimated Expiration
2042-03-15

AI Technical Summary

Technical Problem

The existing technology is difficult to ensure the communication security of Bluetooth air-interface data and is easily monitored and decrypted.

Method used

By sending encryption applications to the secure platform, receiving and using random numbers as paired encryption keys, Bluetooth air interface data is encrypted and decrypted to ensure the security of data transmission.

Benefits of technology

It effectively ensures the communication security of Bluetooth air interface data. Even if the Bluetooth monitoring device monitors the temporary key, it cannot correctly parse the subsequent Bluetooth air interface encrypted data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114727268B_ABST
    Figure CN114727268B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for transmitting Bluetooth air interface data, the method comprising sending an encryption application to a security platform; receiving first authentication information and a random number sent by the security platform; sending the first authentication information to a Bluetooth gas meter; obtaining the first Bluetooth air interface data to be transmitted, using the random number as the first pairing encryption key for Bluetooth air interface data transmission, encrypting the first Bluetooth air interface data using the first pairing encryption key to obtain second Bluetooth air interface data; and sending the second Bluetooth air interface data to the Bluetooth gas meter. The random number generated during the identity legality authentication process and its corresponding second authentication information are used as the pairing encryption key for the Bluetooth air interface data. During the air interface data transmission process, even if the Bluetooth monitoring device monitors the temporary key, it only monitors the data encrypted with the preset key, and cannot correctly parse the subsequent Bluetooth air interface encrypted data, thereby ensuring the communication security of the Bluetooth air interface data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Bluetooth air interface data communication, and in particular to a Bluetooth air interface data transmission method and system. Background Art

[0002] The smart gas meters currently on the market are composed of mechanical gas meters and smart control boards. However, the functions of smart control boards are relatively simple. For example, for IC card smart gas meters, users need to take their cards to the business hall to pay and recharge at home, which is troublesome. For gas meters with only NB functions, if there is no NB signal, users will not be able to recharge the gas meter and cannot use the gas meter normally. Therefore, a communication technology is urgently needed to make up for the above shortcomings.

[0003] Bluetooth technology has been widely used in the field of Internet of Things after several versions of upgrades. It is a mature communication technology. Specifically, the Bluetooth function is integrated into a gas meter smart control board, so that users can transmit data through Bluetooth when other data channels have problems, complete normal data interaction, and do not affect the user's use of gas.

[0004] However, in the process of transmitting data based on Bluetooth technology, Bluetooth encrypted air interface data can be easily monitored and decrypted, thereby compromising the communication security of Bluetooth air interface data. Summary of the invention

[0005] Therefore, the technical problem to be solved by the present invention is to overcome the defect in the prior art that it is difficult to ensure the communication security of Bluetooth air interface data, thereby providing a Bluetooth air interface data transmission method and system.

[0006] The technical solution proposed by the present invention is as follows:

[0007] In a first aspect, an embodiment of the present invention provides a method for transmitting Bluetooth air interface data, which is applied to a mobile terminal APP. The method for transmitting Bluetooth air interface data includes:

[0008] Send an encrypted request to a secure platform;

[0009] Receiving first authentication information and a random number sent by the security platform;

[0010] Sending the first authentication information to the Bluetooth gas meter;

[0011] Acquire first Bluetooth air interface data to be transmitted, use the random number as a first pairing encryption key for Bluetooth air interface data transmission, and use the first pairing encryption key to encrypt the first Bluetooth air interface data to obtain second Bluetooth air interface data;

[0012] The second Bluetooth air interface data is sent to the Bluetooth gas meter.

[0013] Optionally, the method for transmitting Bluetooth air interface data further includes:

[0014] Receiving fourth Bluetooth air interface data sent by the Bluetooth gas meter;

[0015] The fourth Bluetooth air interface data is decrypted using the first pairing encryption key to obtain third Bluetooth air interface data to be transmitted.

[0016] In a second aspect, an embodiment of the present invention provides a method for transmitting Bluetooth air interface data, which is applied to a Bluetooth gas meter. The method for transmitting Bluetooth air interface data includes:

[0017] Receiving first authentication information sent by the mobile terminal APP;

[0018] Decrypting the first authentication information using a preset key to obtain second authentication information, and using the second authentication information as a second pairing encryption key for Bluetooth air interface data transmission;

[0019] The second Bluetooth air interface data sent by the mobile terminal APP is received, and the second Bluetooth air interface data is decrypted using the second pairing encryption key to obtain the first Bluetooth air interface data to be transmitted.

[0020] Optionally, the method for transmitting Bluetooth air interface data further includes:

[0021] Acquire third Bluetooth air interface data to be transmitted, and encrypt the third Bluetooth air interface data using the second pairing encryption key to obtain fourth Bluetooth air interface data;

[0022] The fourth Bluetooth air interface data is sent to the mobile terminal APP.

[0023] Optionally, the Bluetooth gas meter performs data encryption and decryption via an embedded ESAM security chip.

[0024] In a third aspect, an embodiment of the present invention provides a method for transmitting Bluetooth air interface data, which is applied to a security platform. The method for transmitting Bluetooth air interface data includes:

[0025] Receive an encryption request sent by a mobile terminal APP, and generate a random number according to the encryption request;

[0026] Encrypting the random number using a preset key to obtain first authentication information;

[0027] The first authentication information and the random number are sent to the mobile terminal APP.

[0028] In a fourth aspect, an embodiment of the present invention provides a Bluetooth air interface data transmission system, including: a mobile terminal APP, a Bluetooth gas meter and a security platform, wherein:

[0029] The mobile terminal APP sends an encryption application to the security platform;

[0030] The security platform receives an encryption application sent by the mobile terminal APP, and generates a random number according to the encryption application;

[0031] The security platform encrypts the random number using a preset key to obtain first authentication information;

[0032] The security platform sends the first authentication information and the random number to the mobile terminal APP;

[0033] The mobile terminal APP receives the first authentication information and the random number sent by the security platform;

[0034] The mobile terminal APP sends the first authentication information to the Bluetooth gas meter;

[0035] The Bluetooth gas meter receives first authentication information sent by the mobile terminal APP;

[0036] The Bluetooth gas meter decrypts the first authentication information using a preset key to obtain second authentication information, and uses the second authentication information as a second pairing encryption key for Bluetooth air interface data transmission;

[0037] The mobile terminal APP obtains the first Bluetooth air interface data to be transmitted, uses the random number as the first pairing encryption key for Bluetooth air interface data transmission, and uses the first pairing encryption key to encrypt the first Bluetooth air interface data to obtain second Bluetooth air interface data;

[0038] The mobile terminal APP sends the second Bluetooth air interface data to the Bluetooth gas meter;

[0039] The Bluetooth gas meter receives the second Bluetooth air interface data sent by the mobile terminal APP, and decrypts the second Bluetooth air interface data using the second pairing encryption key to obtain the first Bluetooth air interface data to be transmitted.

[0040] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the Bluetooth air interface data transmission method described in the first aspect, the second aspect or the third aspect of the embodiment of the present invention.

[0041] In a sixth aspect, an embodiment of the present invention provides a Bluetooth air interface data transmission device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the Bluetooth air interface data transmission method described in the first aspect, the second aspect or the third aspect of the embodiment of the present invention by executing the computer instructions.

[0042] The technical solution of the present invention has the following advantages:

[0043] The present invention provides a method for transmitting Bluetooth air interface data. After the mobile terminal APP completes the legality authentication of the Bluetooth gas meter, the random number generated in the identity legality authentication process and its corresponding second authentication information are used as the pairing encryption key for the Bluetooth air interface data. During the air interface data transmission process, even if the Bluetooth monitoring device monitors the temporary key, it only monitors the data encrypted with the preset key and cannot correctly parse the subsequent Bluetooth air interface encrypted data, thereby ensuring the communication security of the Bluetooth air interface data.

[0044] The present invention provides a Bluetooth air interface data transmission system. During the air interface data transmission process, the random number generated during the identity authentication process and the corresponding second authentication information are used as the pairing encryption key for the Bluetooth air interface data. Even if the Bluetooth monitoring device monitors the temporary key, it only monitors the data encrypted with the preset key, and cannot correctly parse the subsequent Bluetooth air interface encrypted data, thereby ensuring the communication security of the Bluetooth air interface data. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 A schematic diagram of an application scenario of a Bluetooth air interface data transmission system according to an embodiment of the present invention;

[0047] Figure 2 This is a functional block diagram of the smart main control board of a Bluetooth gas meter in an embodiment of the present invention;

[0048] Figure 3 This is a flowchart of a specific example of a method for transmitting Bluetooth air interface data according to an embodiment of the present invention;

[0049] Figure 4 A flowchart of another specific example of the method for transmitting Bluetooth air interface data according to an embodiment of the present invention;

[0050] Figure 5 A flowchart of another specific example of the method for transmitting Bluetooth air interface data according to an embodiment of the present invention;

[0051] Figure 6 The figure is a schematic diagram of the hardware structure of a Bluetooth air interface data transmission device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of 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.

[0053] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0054] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0055] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0056] like Figure 1As shown, it is a schematic diagram of the application scenario of an embodiment of the present invention. After the mobile terminal APP and the Bluetooth gas meter establish a Bluetooth connection, the mobile terminal APP applies to the security platform for an encrypted random number. The security platform takes out the random number R1 from the encryption machine, encrypts R1 with the preset key K1 to obtain the first authentication information R2, and then sends R2 to the mobile terminal APP. The mobile terminal APP sends R2 to the Bluetooth gas meter. The Bluetooth gas meter also decrypts R2 with the preset key K1 to obtain the second authentication information R3. Because both the security platform and the gas meter use K1 to encrypt and decrypt random data, if the operation is correct, R1 and R3 are equal. The security platform then sends R1 to the mobile terminal APP. The mobile terminal APP starts pairing encryption with R1, and the Bluetooth gas meter starts pairing encryption with R3. Because R1 and R3 are equal, pairing encryption can be successful, that is, the mobile terminal APP and the Bluetooth gas meter can perform Bluetooth air interface encrypted data transmission.

[0057] The embodiment of the present invention provides a Bluetooth air interface data transmission system, such as Figure 1 As shown, it includes: a mobile terminal APP, a Bluetooth gas meter and a security platform, wherein the mobile terminal APP sends an encryption application to the security platform; the security platform receives the encryption application sent by the mobile terminal APP, and generates a random number according to the encryption application; the security platform encrypts the random number using a preset key to obtain first authentication information; the security platform sends the first authentication information and the random number to the mobile terminal APP; the mobile terminal APP receives the first authentication information and the random number sent by the security platform; the mobile terminal APP sends the first authentication information to the Bluetooth gas meter; the Bluetooth gas meter receives the first authentication information sent by the mobile terminal APP; the Bluetooth gas meter uses the preset key The first authentication information is decrypted by the key to obtain the second authentication information, and the second authentication information is used as the second pairing encryption key for Bluetooth air interface data transmission; the mobile terminal APP obtains the first Bluetooth air interface data to be transmitted, and uses the random number as the first pairing encryption key for Bluetooth air interface data transmission, and uses the first pairing encryption key to encrypt the first Bluetooth air interface data to obtain the second Bluetooth air interface data; the mobile terminal APP sends the second Bluetooth air interface data to the Bluetooth gas meter; the Bluetooth gas meter receives the second Bluetooth air interface data sent by the mobile terminal APP, and uses the second pairing encryption key to decrypt the second Bluetooth air interface data to obtain the first Bluetooth air interface data to be transmitted.

[0058] In a specific embodiment, the MCU microcontroller in the Bluetooth gas meter sends and receives data through the embedded Bluetooth module. Therefore, the Bluetooth-NB gas meter intelligent main control board can communicate data with devices such as mobile terminals. Among them, the Bluetooth module adopts low-power Bluetooth. Low-power Bluetooth is a wireless short-range communication technology. It is intended for emerging applications in the fields of health care, sports and fitness, beacons, security, home entertainment, etc. Compared with classic Bluetooth, low-power Bluetooth aims to significantly reduce power consumption and cost while maintaining the same communication range. Low-power Bluetooth transmits data in the air, which is called Air Interface packets in Spec, commonly known as air interface packets. In wireless communication technology, "air interface" defines the technical specifications of the radio wave link between terminal equipment and network equipment, making wireless communication as reliable as wired communication. In an embodiment of the present invention, mobile terminals include but are not limited to mobile phones, notebooks, tablets, POS machines and vehicle-mounted computers.

[0059] In an embodiment of the present invention, after the mobile terminal APP and the Bluetooth gas meter establish a Bluetooth connection, the mobile terminal APP sends an encryption application to the security platform. The security platform takes out the random number R1 from the encryption machine according to the encryption application. The security platform uses the preset key K1 to encrypt the random number R1 to obtain the first authentication information R2. The security platform sends the first authentication information R2 to the mobile terminal APP. After the mobile terminal APP receives the first authentication information R2, it sends it to the Bluetooth gas meter. The Bluetooth gas meter also uses the above-mentioned preset key K1 to decrypt the first authentication information R2 to obtain the second authentication information R3. Since both the security platform and the Bluetooth gas meter use the preset key K1 to encrypt and decrypt the random number R1, if the operation is correct, the random number R1 and the second authentication information R3 are equal. If it is determined that the random number R1 and the second authentication information R3 are equal, the legitimacy authentication of the Bluetooth gas meter by the mobile terminal APP is completed.

[0060] After completing the legitimacy authentication of the Bluetooth gas meter by the mobile terminal APP, the security platform sends the random number R1 to the mobile terminal APP again. The mobile terminal APP uses the random number R1 as the first pairing encryption key for Bluetooth air interface data transmission. The Bluetooth gas meter uses the second authentication information as the second pairing encryption key for Bluetooth air interface data transmission. Since the random number R1 and the second authentication information R3 are equal, the first pairing encryption key and the second pairing encryption key are also equal. That is, the Bluetooth air interface data transmitted between the mobile terminal APP and the Bluetooth gas meter can be paired and encrypted successfully.

[0061] Specifically, the mobile terminal APP uses the first pairing encryption key to encrypt the first Bluetooth air interface data to be transmitted to obtain the second Bluetooth air interface data. Then the second Bluetooth air interface data is sent to the Bluetooth gas meter. The Bluetooth gas meter uses the second pairing encryption key to decrypt the second Bluetooth air interface data to obtain the first Bluetooth air interface data to be transmitted, and completes the Bluetooth air interface data transmission.

[0062] Similarly, when the Bluetooth gas meter transmits data to the mobile terminal APP, the Bluetooth gas meter uses the second pairing encryption key to encrypt the third Bluetooth air interface data to be transmitted to obtain the fourth Bluetooth air interface data. Then the fourth Bluetooth air interface data is sent to the mobile terminal APP. The mobile terminal APP uses the random number R1 to decrypt the fourth Bluetooth air interface data to obtain the third Bluetooth air interface data to be transmitted, and completes the Bluetooth air interface data transmission.

[0063] In one embodiment, the functions of the Bluetooth gas meter are mainly completed by the gas meter intelligent main control board. Specifically, the gas consumption is obtained by electronic sampling during the process of shaft transmission or magnetic transmission. After the intelligent main control board obtains the user's gas consumption, it can be displayed on the LCD (liquid crystal screen) on the circuit board; it exchanges data with the management system through NB, Bluetooth, IC card, infrared communication, etc. to complete functions such as recharge and valve control.

[0064] In the embodiment of the present invention, the function block diagram of the Bluetooth gas meter intelligent main control board is as follows: Figure 2 The working process is as follows:

[0065] 1. The MCU microcontroller can send and receive data through the built-in Bluetooth module. Therefore, the Bluetooth-NB gas meter intelligent main control board can communicate data with mobile phone Bluetooth and other devices.

[0066] 2. MCU microcontroller controls the LED light on and off through P1.1. MCU microcontroller outputs high level through P1.1, LED light off; MCU microcontroller outputs low level through P1.1, LED lights up. Indicates the working status of the Bluetooth-NB gas meter intelligent main control board, including key presses, remote data communication start and end, etc.

[0067] 3. The MCU microcontroller receives data through RXD2 and sends data through TXD2. The Bluetooth-NB gas meter intelligent main control board completes data interaction with the FarEasTone intelligent meter management system through the operator's mobile data module.

[0068] 4. The MCU microcontroller controls the buzzer to make a sound through P1.2, indicating that a button on the Bluetooth-NB gas meter smart main control board has been pressed, and that the remaining gas in the gas meter has run out, etc.

[0069] 5. The MCU microcontroller receives data through RXD3 and sends data through TXD3. The Bluetooth-NB gas meter intelligent main control board completes data encryption and decryption through data interaction with the ESAM security module.

[0070] 6. MCU microcontroller receives data through RXD4 and sends data through TXD4. The Bluetooth-NB gas meter intelligent main control board completes the storage of key data through data interaction with the EEPROM data storage module, and the data will not be lost when the power is off.

[0071] 7. The MCU microcontroller executes the key commands input by P1.3 to execute the LCD display of the Bluetooth-NB gas meter intelligent main control board and start the relevant commands for remote data interaction.

[0072] 8. The MCU microcontroller drives the LCD to display relevant content through the LCD bus, such as the remaining gas volume of the gas meter, the accumulated gas consumption, etc.

[0073] 9. When the MCU microcontroller detects through P1.4 that the anti-tamper detection switch is closed, the valve is closed.

[0074] 10. When the valve needs to be opened and closed, the MCU microcontroller opens and closes the valve through P1.5 and P1.6.

[0075] 11. The MCU microcontroller sends a pressure measurement command to the pressure sensor installed in the base meter of the gas meter through P2.0, and obtains pressure test data from the pressure sensor installed in the base meter of the gas meter through P2.1.

[0076] 12. The MCU microcontroller sends a pressure measurement command to the temperature sensor installed in the base meter of the gas meter through P2.2, and obtains pressure test data from the temperature sensor installed in the base meter of the gas meter through P2.3.

[0077] The present invention provides a Bluetooth air interface data transmission system. During the air interface data transmission process, the random number generated during the identity authentication process and the corresponding second authentication information are used as the pairing encryption key for the Bluetooth air interface data. Even if the Bluetooth monitoring device monitors the temporary key, it only monitors the data encrypted with the preset key, and cannot correctly parse the subsequent Bluetooth air interface encrypted data. Thereby ensuring the communication security of the Bluetooth air interface data.

[0078] The embodiment of the present invention provides a method for transmitting Bluetooth air interface data, which is applied to a mobile terminal APP, such as Figure 3 As shown, the method for transmitting Bluetooth air interface data includes the following steps:

[0079] Step S11: Send an encryption application to the security platform.

[0080] Step S12: Receive the first authentication information and random number sent by the security platform.

[0081] Step S13: Send the first authentication information to the Bluetooth gas meter.

[0082] Step S14: obtaining first Bluetooth air interface data to be transmitted, using a random number as a first pairing encryption key for Bluetooth air interface data transmission, and using the first pairing encryption key to encrypt the first Bluetooth air interface data to obtain second Bluetooth air interface data.

[0083] Step S15: Send the second Bluetooth air interface data to the Bluetooth gas meter.

[0084] In a specific embodiment, the method for transmitting Bluetooth air interface data further includes:

[0085] Step S16: receiving the fourth Bluetooth air interface data sent by the Bluetooth gas meter;

[0086] Step S17: decrypt the fourth Bluetooth air interface data using the first pairing encryption key to obtain the third Bluetooth air interface data to be transmitted.

[0087] For specific details, please refer to the relevant description of the Bluetooth air interface data transmission system in the above embodiment, which will not be repeated here.

[0088] The embodiment of the present invention provides a method for transmitting data through a Bluetooth air interface, which is applied to a Bluetooth gas meter, such as Figure 4 As shown, the method for transmitting Bluetooth air interface data includes:

[0089] Step S21: receiving first authentication information sent by the mobile terminal APP.

[0090] Step S22: Decrypt the first authentication information using a preset key to obtain second authentication information, and use the second authentication information as a second pairing encryption key for Bluetooth air interface data transmission.

[0091] Step S23: receiving the second Bluetooth air interface data sent by the mobile terminal APP, and decrypting the second Bluetooth air interface data using the second pairing encryption key to obtain the first Bluetooth air interface data to be transmitted.

[0092] In a specific embodiment, the method for transmitting Bluetooth air interface data further includes:

[0093] Step S24: obtaining the third Bluetooth air interface data to be transmitted, and encrypting the third Bluetooth air interface data using the second pairing encryption key to obtain fourth Bluetooth air interface data.

[0094] Step S25: Send the fourth Bluetooth air interface data to the mobile terminal APP.

[0095] For specific details, please refer to the relevant description of the Bluetooth air interface data transmission system in the above embodiment, which will not be repeated here.

[0096] In one embodiment, the Bluetooth gas meter performs data encryption and decryption via an embedded ESAM security chip.

[0097] like Figure 2 As shown in the figure, the MCU microcontroller receives data through RXD3 and sends data through TXD3. The Bluetooth-NB gas meter intelligent main control board completes the encryption and decryption of data through data interaction with the ESAM security module. The use of the ESAM security chip avoids the problem of temporary key TK (temporary key) being monitored.

[0098] The embodiment of the present invention provides a method for transmitting Bluetooth air interface data, which is applied to a security platform, such as Figure 5 As shown, the method for transmitting Bluetooth air interface data includes:

[0099] Step S31: receiving an encryption request sent by the mobile terminal APP, and generating a random number according to the encryption request.

[0100] Step S32: Encrypt the random number using a preset key to obtain first authentication information.

[0101] Step S33: Send the first authentication information and the random number to the mobile terminal APP.

[0102] For specific details, please refer to the relevant description of the Bluetooth air interface data transmission system in the above embodiment, which will not be repeated here.

[0103] The present invention provides a method for transmitting Bluetooth air interface data. After the mobile terminal APP completes the legality authentication of the Bluetooth gas meter, the random number generated in the identity legality authentication process and its corresponding second authentication information are used as the pairing encryption key for the Bluetooth air interface data. During the air interface data transmission process, even if the Bluetooth monitoring device monitors the temporary key, it only monitors the data encrypted with the preset key and cannot correctly parse the subsequent Bluetooth air interface encrypted data. This ensures the communication security of the Bluetooth air interface data.

[0104] The embodiment of the present invention also provides a method for transmitting Bluetooth air interface data. Figure 6 As shown, the device terminal may include a processor 61 and a memory 62, wherein the processor 61 and the memory 62 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0105] The processor 61 may be a central processing unit (CPU). The processor 61 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0106] The memory 62 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as the corresponding program instructions / modules in the embodiment of the present invention. The processor 61 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 62, that is, the Bluetooth air interface data transmission method in the above method embodiment is implemented.

[0107] The memory 62 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created by the processor 61, etc. In addition, the memory 62 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 62 may optionally include a memory remotely arranged relative to the processor 61, and these remote memories may be connected to the processor 61 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0108] One or more modules are stored in the memory 62, and when executed by the processor 61, the method for transmitting Bluetooth air interface data in the embodiment is executed.

[0109] The specific details of the above-mentioned Bluetooth air interface data transmission device can be understood by referring to the corresponding related descriptions and effects in the embodiments, and will not be repeated here.

[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0111] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A method for transmitting Bluetooth air interface data, It is characterized in that Applied to a mobile terminal APP, the method for transmitting Bluetooth air interface data includes: Send an encrypted request to a secure platform; Receiving first authentication information and a random number sent by the security platform, where the first authentication information is obtained by the security platform encrypting the random number using a preset key, and the random number is generated by the security platform according to the encryption application; The first authentication information is sent to the Bluetooth gas meter, and the Bluetooth gas meter uses a preset key to decrypt the first authentication information to obtain second authentication information, and uses the second authentication information as a second pairing encryption key for Bluetooth air interface data transmission; Acquire first Bluetooth air interface data to be transmitted, use the random number as a first pairing encryption key for Bluetooth air interface data transmission, and use the first pairing encryption key to encrypt the first Bluetooth air interface data to obtain second Bluetooth air interface data; The second Bluetooth air interface data is sent to the Bluetooth gas meter, and the Bluetooth gas meter uses the second pairing encryption key to decrypt the second Bluetooth air interface data to obtain the first Bluetooth air interface data to be transmitted.

2. The method for transmitting Bluetooth air interface data according to claim 1, It is characterized in that Also includes: Receiving fourth Bluetooth air interface data sent by the Bluetooth gas meter; The fourth Bluetooth air interface data is decrypted using the first pairing encryption key to obtain third Bluetooth air interface data to be transmitted.

3. A method for transmitting Bluetooth air interface data, It is characterized in that Applied to a Bluetooth gas meter, the Bluetooth air interface data transmission method includes: Receiving first authentication information sent by the mobile terminal APP, where the first authentication information is obtained by encrypting a random number using a preset key by the security platform, and the random number is generated by the security platform according to the encryption application; Decrypting the first authentication information using a preset key to obtain second authentication information, and using the second authentication information as a second pairing encryption key for Bluetooth air interface data transmission; Receive the second Bluetooth air interface data sent by the mobile terminal APP, and use the second pairing encryption key to decrypt the second Bluetooth air interface data to obtain the first Bluetooth air interface data to be transmitted, where the second Bluetooth air interface data is obtained by the mobile terminal APP using the random number as the first pairing encryption key for Bluetooth air interface data transmission, and using the first pairing encryption key to encrypt the first Bluetooth air interface data.

4. The method for transmitting Bluetooth air interface data according to claim 3, It is characterized in that Also includes: Acquire third Bluetooth air interface data to be transmitted, and encrypt the third Bluetooth air interface data using the second pairing encryption key to obtain fourth Bluetooth air interface data; The fourth Bluetooth air interface data is sent to the mobile terminal APP.

5. The method for transmitting Bluetooth air interface data according to claim 3, It is characterized in that The Bluetooth gas meter performs data encryption and decryption via the embedded ESAM security chip.

6. A method for transmitting Bluetooth air interface data, It is characterized in that Applied to a security platform, the method for transmitting Bluetooth air interface data includes: Receive an encryption request sent by a mobile terminal APP, and generate a random number according to the encryption request; Encrypting the random number using a preset key to obtain first authentication information; The first authentication information and the random number are sent to the mobile terminal APP. The mobile terminal APP uses the random number as the first pairing encryption key for Bluetooth air interface data transmission, and uses the first pairing encryption key to encrypt the first Bluetooth air interface data to obtain the second Bluetooth air interface data. The Bluetooth gas meter uses a preset key to decrypt the first authentication information to obtain the second authentication information. The second authentication information is used as the second pairing encryption key for Bluetooth air interface data transmission, and the second pairing encryption key is used to decrypt the second Bluetooth air interface data to obtain the first Bluetooth air interface data to be transmitted.

7. A Bluetooth air interface data transmission system, It is characterized in that include: Mobile terminal APP, Bluetooth gas meter and security platform, including: The mobile terminal APP sends an encryption application to the security platform; The security platform receives an encryption application sent by the mobile terminal APP, and generates a random number according to the encryption application; The security platform encrypts the random number using a preset key to obtain first authentication information; The security platform sends the first authentication information and the random number to the mobile terminal APP; The mobile terminal APP receives the first authentication information and the random number sent by the security platform; The mobile terminal APP sends the first authentication information to the Bluetooth gas meter; The Bluetooth gas meter receives first authentication information sent by the mobile terminal APP; The Bluetooth gas meter decrypts the first authentication information using a preset key to obtain second authentication information, and uses the second authentication information as a second pairing encryption key for Bluetooth air interface data transmission; The mobile terminal APP obtains the first Bluetooth air interface data to be transmitted, uses the random number as the first pairing encryption key for Bluetooth air interface data transmission, and uses the first pairing encryption key to encrypt the first Bluetooth air interface data to obtain second Bluetooth air interface data; The mobile terminal APP sends the second Bluetooth air interface data to the Bluetooth gas meter; The Bluetooth gas meter receives the second Bluetooth air interface data sent by the mobile terminal APP, and decrypts the second Bluetooth air interface data using the second pairing encryption key to obtain the first Bluetooth air interface data to be transmitted.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the Bluetooth air interface data transmission method according to any one of claims 1 to 6.

9. A Bluetooth air interface data transmission device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for transmitting Bluetooth air interface data as described in any one of claims 1 to 6 by executing the computer instructions.

Citation Information

Patent Citations

  • Equipment authentication method, device, equipment and system

    CN113099443A