Bluetooth safe connection method for mobile refrigerator
By introducing user authorization, dynamic verification code, AES-256 encryption and anti-man-in-the-middle attack pairing protocols in mobile refrigerators, the security issues in mobile refrigerators are solved, and the security of data transmission and system stability are improved. Storage of important items in the automotive environment.
Patent Information
- Application Number
- CN202411321474.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The security of data transmission between mobile refrigerators and Bluetooth devices is relatively fragile, and there is a risk of device forgery attacks, unauthorized access and man-in-the-middle attacks. Especially when storing important items in automotive environments, strict access rights are required.
通过用户长按匹配按键启动授权功能,使用动态验证码和挑战-响应机制进行身份验证,生成硬件唯一标识符和自定义激活码,采用AES-256加密标准对数据进行加密传输,并采用抗中间人攻击的配对协议,记录通信日志并定期上传分析。
It enhances the security of the system, prevents unauthorized device pairing and data leakage, ensures the integrity and confidentiality of data transmission, simplifies user operation processes, and improves the maintainability and user experience of the system.
Smart Images

Figure CN118945661A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile refrigerator connection, and in particular to a Bluetooth security connection method for a mobile refrigerator. Background Art
[0002] With the rapid development of new energy vehicles, cars are no longer limited to means of transportation, but are gradually becoming mobile homes. Mobile refrigerators are also gradually becoming essential appliances in family cars. Their functions are not limited to refrigerating food. In some special occasions, some low-temperature emergency medicines or common medicines for chronic diseases need to be refrigerated to meet the travel needs of different groups of people. Therefore, mobile refrigerators have also added intelligent control functions to support remote control and monitoring of the working status of the refrigerator.
[0003] Currently, establishing a connection between mobile refrigerators and Bluetooth devices mainly relies on Bluetooth technology. The low power consumption characteristics and extended communication distance they provide make Bluetooth one of the ideal communication methods between mobile refrigerators and smart devices. However, the security of data transmission between Bluetooth devices is relatively fragile. Bluetooth devices may have vulnerabilities during the pairing process, which may lead to data leakage and unauthorized access; in addition, attackers can obtain unauthorized access rights by imitating legitimate devices, that is, device forgery attacks; man-in-the-middle attacks are also a common threat. Attackers can insert themselves in the communication link and intercept or tamper with data; in addition, since some Bluetooth devices allow all devices to connect by default, unauthorized devices may access the refrigerator's functions or data. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a Bluetooth security connection method for a mobile refrigerator, aiming to solve the security problems existing in Bluetooth communication in current mobile refrigerators.
[0005] The technical solution adopted by the present invention to solve the technical problem is:
[0006] A Bluetooth secure connection method for a mobile refrigerator comprises a mobile refrigerator, a mobile terminal connected to the mobile refrigerator via Bluetooth and performing two-way communication, and a server performing network communication with the mobile terminal. The mobile refrigerator is provided with a matching button and a display screen for performing communication operations with the mobile terminal. The Bluetooth connection method for the mobile refrigerator and the mobile terminal comprises the following steps:
[0007] S1: The user presses and holds the pairing button to start the authorization function until a relevant prompt appears on the display screen of the mobile refrigerator, indicating that it has entered pairing mode;
[0008] S2: opening the associated mobile application in the mobile terminal, and after the mobile terminal establishes two-way communication with the mobile refrigerator, the mobile application automatically identifies and receives the hardware unique identifier of the mobile refrigerator;
[0009] S3: The mobile application sends the hardware unique identifier to the server through the mobile terminal; the server identifies and verifies the validity of the hardware unique identifier, generates a unique device ID for the mobile refrigerator, and generates a custom activation code associated with the device ID, and returns the device ID and the custom activation code to the mobile application;
[0010] S4: The device ID is obtained and displayed on the mobile application, and the custom activation code is written into the mobile refrigerator, completing the connection activation between the mobile refrigerator and the mobile terminal, and between the mobile terminal and the server.
[0011] In S2, step S21 is also included:
[0012] In the mobile refrigerator pairing mode, a pairing code is displayed on the display screen. After the pairing code is entered in the mobile application interface, the mobile terminal establishes two-way communication with the mobile refrigerator.
[0013] When the mobile refrigerator establishes two-way communication with the mobile terminal and performs related function control, a dynamic verification code is used to continuously authenticate the identity. The related steps are as follows:
[0014] D1: The mobile refrigerator continuously generates dynamic verification codes and automatically sends them to the mobile application on the mobile terminal in an encrypted manner;
[0015] D2: The mobile application on the mobile terminal sends the received dynamic verification code to the server for verification. The server uses the same algorithm and time base to calculate the expected verification code and compares it with the received verification code;
[0016] D3: The verification code calculated by the server successfully matches the verification code generated by the mobile refrigerator, and the server sends a confirmation signal to the mobile refrigerator to allow the connection to be established.
[0017] The hardware unique identifier is the MAC address of the mobile refrigerator.
[0018] When data is transmitted between the mobile refrigerator and the mobile terminal, the AES-256 encryption standard is used to encrypt and transmit the data. The steps of encrypting and transmitting data between the mobile refrigerator and the mobile terminal are as follows:
[0019] A1: Before sending data, the mobile refrigerator uses the AES-256 algorithm to encrypt the data and calculates an HMAC value and appends it to the data packet;
[0020] A2: The encrypted data is sent to the mobile terminal via Bluetooth connection, and the transport layer protocol uses TLS or SSL;
[0021] A3: After the mobile terminal receives the data, it first decrypts it through TLS or SSL, then uses the same AES-256 key to decrypt the data, and then verifies the HMAC to ensure the integrity of the data.
[0022] During the communication between the mobile refrigerator and the mobile terminal, a pairing protocol that resists man-in-the-middle attacks is adopted, and the steps of verifying the identity by adopting the pairing protocol that resists man-in-the-middle attacks include:
[0023] B1: The mobile refrigerator acts as the initiator, generates a random number, i.e., the challenge value, and sends it to the mobile terminal. This random number is unique and changes every time authentication is performed;
[0024] B2: After receiving the challenge value, the mobile terminal uses the key it holds to process the challenge value and generate a response. The response generation process uses a hash function or digital signature technology;
[0025] B3: After receiving the response, the mobile refrigerator processes the challenge value using the same method and compares it with the received response; if the two match, it indicates that the identity of the mobile terminal has been verified.
[0026] After the mobile refrigerator establishes communication with the mobile terminal, it monitors the change of Bluetooth status and the device connection status through broadcasting action.
[0027] After the mobile refrigerator establishes communication with the mobile terminal and abnormal connection behavior occurs, the user is notified through the display screen or the mobile application of the mobile terminal.
[0028] The connection communication information between the mobile refrigerator and the mobile terminal is stored in the mobile application of the mobile terminal in the form of log records.
[0029] The mobile application of the mobile terminal regularly uploads log records to the server, and the server automatically analyzes the log data using a machine learning algorithm or a rule engine, and sends warning faults to the mobile terminal display interface in advance.
[0030] The beneficial effects of the present invention are:
[0031] 1. Enhanced security: The authorization function is activated by the user long pressing the pairing button. The mobile refrigerator enters pairing mode only when the user explicitly agrees, thereby enhancing the security of the system and preventing unauthorized devices from pairing with the refrigerator. This is particularly important in the automotive environment, because the mobile refrigerator in the vehicle usually stores important items, such as emergency medicines or medicines for chronic diseases, and access rights need to be strictly controlled; dynamic verification codes are used for continuous identity authentication to improve the security of the connection. Even if an attacker intercepts a verification code at a certain time, it cannot be used for future verification because each verification code is different. This effectively prevents device forgery attacks and man-in-the-middle attacks; identity verification through a challenge-response mechanism ensures the authenticity of both parties in communication, effectively preventing the possibility of man-in-the-middle attacks, thereby protecting the integrity and confidentiality of data during transmission.
[0032] 2. Encrypted transmission: The AES-256 encryption standard is used to encrypt the data transmitted between the mobile refrigerator and the mobile terminal, ensuring the security of the data during transmission and preventing the data from being stolen or tampered with. This is especially important for mobile refrigerators that store medicines or other sensitive items, as any unauthorized access may lead to serious consequences.
[0033] 3. Convenient pairing process: The mobile application automatically identifies and receives the unique hardware identifier of the mobile refrigerator, reducing the tedious steps of manual input by users, improving user experience and reducing the user's operating burden.
[0034] 4. Efficient service management: The server generates a unique device ID for each mobile refrigerator and generates a custom activation code associated with it to facilitate the management and tracking of devices, ensuring that each device is unique and can be correctly identified. This helps to accurately manage and monitor the working status of each device when multiple mobile refrigerators are equipped in the car. The mobile application of the mobile terminal regularly uploads log records to the server, which automatically analyzes the log data using machine learning algorithms or rule engines, and sends warning faults to the mobile terminal display interface in advance, helping users to detect problems in a timely manner and take corresponding measures.
[0035] 5. Improved user experience: When the mobile refrigerator establishes communication with the mobile terminal and abnormal connection behavior occurs, the user will be notified through the display screen or mobile application so that the user can immediately understand the change in connection status, which improves the user experience. The user needs to understand the working status of the refrigerator in time to avoid affecting the refrigeration effect; through broadcast actions to monitor the changes in Bluetooth status and device connection status, the continuity and stability of the connection are ensured, which improves the overall performance of the system and ensures that the mobile refrigerator is always in the best working condition during driving.
[0036] 6. Easy maintenance and management: The connection communication information is stored in the mobile application of the mobile terminal in the form of log records, which makes it easy for maintenance personnel to check the connection activities of the equipment at any time and helps to quickly locate the problem. This is important for timely troubleshooting of equipment failures during vehicle driving. Log records are regularly uploaded to the server for centralized management, which is conducive to large-scale data analysis and improves the maintainability and scalability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a schematic diagram of the communication connection of the devices in the present invention;
[0038] Figure 2 It is a flow chart of the Bluetooth security connection steps of the present invention. DETAILED DESCRIPTION
[0039] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the present invention are further described below in conjunction with the accompanying drawings and through specific implementation methods. It is understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for the convenience of description, only the parts related to the present invention are shown in the accompanying drawings, not all.
[0040] The present invention proposes a Bluetooth security connection method for a mobile refrigerator, comprising a mobile refrigerator 1, a mobile terminal 2 connected to the mobile refrigerator 1 by Bluetooth and performing two-way communication, and a server 3 performing network communication with the mobile terminal 3. The mobile refrigerator 1 is provided with a matching button 10 and a display screen 11 for performing communication operations with the mobile terminal 2. The Bluetooth connection method for the mobile refrigerator 1 and the mobile terminal 2 comprises the following steps:
[0041] S1: The user long presses the pairing button 10 to start the authorization function. This action usually takes a few seconds, preferably until a relevant prompt appears on the display screen 11 of the mobile refrigerator 1, indicating that the pairing mode has been entered. This step helps prevent unauthorized devices from attempting to pair.
[0042] Furthermore, the software inside the refrigerator will monitor the state change of the matching button 10, and when a long press is detected, the working mode of the Bluetooth module will be changed to enter the pairing state. At the same time, the software will also control the display screen to display corresponding prompt information to inform the user of the current state. Long pressing the button as a necessary authorization step can prevent unauthorized devices from pairing with the refrigerator without authorization. The refrigerator will only enter the pairing mode when the user explicitly agrees, thereby enhancing the security of the system.
[0043] S2: Open the mobile application associated with the mobile terminal 2. After the mobile terminal 2 establishes two-way communication with the mobile refrigerator 1, the mobile application automatically identifies and receives the hardware unique identifier of the mobile refrigerator 1;
[0044] Furthermore, the user needs to select the "Add New Device" option in the dedicated App installed on his smartphone or tablet. At this time, the App will guide the user to long press the matching button 10 on the refrigerator again to confirm the user's authorization intention. When the user follows the instructions, the App will be able to automatically detect and identify the refrigerator's hardware identifier, which may be a MAC address or other form of unique hardware serial number. Preferably, the hardware unique identifier is the MAC address of the mobile refrigerator 1. This step is to ensure that each device is unique and can be correctly identified.
[0045] S3: The mobile application sends the hardware unique identifier to the server 3 through the mobile terminal 2; the server 3 identifies and verifies the validity of the hardware unique identifier, generates a unique device ID of the mobile refrigerator 1, and the server 3 generates a custom activation code associated with the device ID, and returns the device ID and the custom activation code to the mobile application;
[0046] Furthermore, the App will upload the refrigerator's hardware identifier to the cloud server, i.e., server 3. The cloud server will verify the refrigerator's hardware identifier, confirm its validity, and assign a unique device ID to the refrigerator to facilitate the management and tracking of the device. The server will also generate a custom activation code, which is a randomly generated string of characters that acts like a key to unlock the secure connection between the refrigerator and the App.
[0047] S4: The device ID is obtained and displayed on the mobile application, and the custom activation code is written into the mobile refrigerator 1, completing the connection activation between the mobile refrigerator 1 and the mobile terminal 2, and between the mobile terminal 2 and the server 3.
[0048] Furthermore, after the App obtains the activation code from the cloud server, it needs to write it into a specific area of the refrigerator's internal storage. This specific area is preset inside the refrigerator and is used to store the activation code. After the activation code is written into the refrigerator, the refrigerator will remember this activation code and use it as an important basis for subsequent verification of the App's identity. In the subsequent use process, when the App tries to establish a connection with the refrigerator, the refrigerator will check whether the activation code provided by the App matches the activation code stored in the refrigerator's internal storage. If it matches, the App is considered to be credible and the connection is allowed; if it does not match, the connection request is rejected to prevent unauthorized access.
[0049] This mechanism ensures that only legitimate apps can establish a connection with the refrigerator by combining the hardware unique identifier and the activation code. The process of writing the activation code into a specific area of the refrigerator's internal storage actually creates a secure "lock" inside the refrigerator. Only apps with the correct "key" (activation code) can open this "lock", thus achieving secure pairing between devices.
[0050] In S2, step S21 is also included:
[0051] In the pairing mode of the mobile refrigerator 1 , a pairing code is displayed on the display screen 11 . After the pairing code is input in the mobile application interface, the mobile terminal 2 establishes two-way communication with the mobile refrigerator 1 .
[0052] When the mobile refrigerator 1 establishes two-way communication with the mobile terminal 2 and performs related function control, a dynamic verification code is used to continuously authenticate the identity. The relevant steps are as follows:
[0053] D1: The mobile refrigerator 1 continuously generates a dynamic verification code and automatically sends it to the mobile application on the mobile terminal 2 in an encrypted manner;
[0054] Specifically, the software inside the mobile refrigerator will start a timer and generate a new dynamic verification code according to the preset time interval. This process can be based on the HMAC-based One-Time Password (HOTP) or Time-based One-Time Password (TOTP) algorithm.
[0055] D2: The mobile application on the mobile terminal 2 sends the received dynamic verification code to the server 3 for verification. The server 3 uses the same algorithm and time reference to calculate the expected verification code and compares it with the received verification code.
[0056] Specifically, the mobile refrigerator will send the dynamic verification code to the App on the mobile terminal in an encrypted manner. Preferably, this process is automatically completed through the background programs of the mobile refrigerator and the mobile terminal; the App on the mobile terminal will send the received dynamic verification code to the server for verification. The server uses the same algorithm and time base to calculate the expected verification code, and compares it with the received verification code.
[0057] D3: The verification code calculated by the server 3 is successfully matched with the verification code generated by the mobile refrigerator 1, and the server 3 sends a confirmation signal to the mobile refrigerator 1 to allow the connection to be established. Specifically, if the dynamic verification code matches, the server will send a confirmation signal to the mobile refrigerator to allow the connection to be established. If the verification code does not match, the connection request will be rejected and the user will be prompted to try again or check the device status.
[0058] When data is transmitted between the mobile refrigerator 1 and the mobile terminal 2, the AES-256 encryption standard is used to encrypt the data for transmission. The steps of data encryption transmission between the mobile refrigerator 1 and the mobile terminal 2 are as follows:
[0059] A1: Before sending data, mobile refrigerator 1 encrypts the data using the AES-256 algorithm and calculates an HMAC value and appends it to the data packet to verify that the data has not been modified during transmission;
[0060] A2: The encrypted data is sent to the mobile terminal 2 via Bluetooth connection, and the transport layer protocol adopts TLS or SSL;
[0061] A3: After receiving the data, mobile terminal 2 first decrypts it through TLS or SSL, then uses the same AES-256 key to decrypt the data, and then verifies HMAC to ensure the integrity of the data.
[0062] Optionally, the encryption process requires the use of a pre-shared key that must be securely exchanged between the mobile refrigerator and the mobile terminal. The key can be pre-distributed in a secure manner or negotiated securely through a public key infrastructure (PKI). Before sending the data, the mobile refrigerator encrypts the data into ciphertext using the AES-256 algorithm. The encryption process involves combining the original data (plaintext) with the key to generate ciphertext that cannot be easily deciphered by a third party.
[0063] Optionally, based on the transport layer encryption, in order to further enhance security, the data content itself can be encrypted again. This method can effectively prevent man-in-the-middle attacks or data tampering. The data sent by the mobile refrigerator will not only be encrypted by the transport layer (such as TLS / SSL), but also encrypted on top of it. For example, HMAC (Hash-based Message Authentication Code) can be used to ensure the integrity of the data, and digital signatures can be used to verify the source of the data.
[0064] During the communication between the mobile refrigerator 1 and the mobile terminal 2, a pairing protocol that resists man-in-the-middle attacks is adopted. The steps of using the pairing protocol that resists man-in-the-middle attacks to verify identity include:
[0065] B1: Mobile refrigerator 1 acts as the initiator, generates a random number, i.e., the challenge value, and sends it to mobile terminal 2. This random number is unique and changes every time authentication is performed;
[0066] B2: After receiving the challenge value, mobile terminal 2 uses the key it holds to process the challenge value and generate a response. The response generation process uses a hash function or digital signature technology;
[0067] B3: After receiving the response, mobile refrigerator 1 uses the same method to process the challenge value and compares it with the received response; if the two match, it indicates that the identity of mobile terminal 2 has been verified.
[0068] Optionally, the challenge-response mechanism authentication process can be as follows:
[0069] a) Challenge generation: When a mobile refrigerator or mobile terminal wants to establish a secure connection, one of the parties (here it can be the mobile refrigerator) will generate a random number as a challenge. This random number is one-time and unpredictable;
[0070] b) Sending the challenge: The generated challenge will be sent to the other party (i.e., the mobile terminal) through a secure channel. During this process, the previously established trust relationship (such as a pre-shared key or a secure connection established through TLS / SSL) can be used to ensure the secure transmission of the challenge information;
[0071] c) Generation of response: After receiving the challenge, the receiver (mobile terminal) combines the challenge with its own private information (such as a pre-shared secret or private key) and uses an algorithm (such as a hash function) that is recognized by both parties to generate a response;
[0072] d) Sending the response: The generated response is sent back to the issuer of the challenge (the mobile refrigerator). In this process, the secure transmission of the response information also needs to be guaranteed;
[0073] e) Verification of the response: After receiving the response, the sender of the challenge (mobile refrigerator) will repeat the same algorithm steps with its own information and the received challenge to generate an expected response. Then the generated result is compared with the received response. If the two match, the verification is successful;
[0074] f) Establish a trust relationship: Once the verification is successful, the two parties will establish a trust relationship, and subsequent communications can be encrypted and verified based on this trust relationship.
[0075] After the mobile refrigerator 1 establishes communication with the mobile terminal 2, it monitors the change of the Bluetooth status and the device connection status through broadcasting actions.
[0076] Furthermore, use the broadcast action BluetoothAdapter.ACTION_STATE_CHANGED provided by the Android system to monitor changes in the Bluetooth state. For example, when the Bluetooth state changes (such as turning on or off), the application can capture these changes by registering a BroadcastReceiver.
[0077] In addition to the switch status of the Bluetooth module itself, you also need to pay attention to the connection status of the device. You can monitor the two broadcast actions BluetoothDevice.ACTION_ACL_CONNECTED and BluetoothDevice.ACTION_ACL_DISCONNECTED to know in real time whether the device has been successfully connected or disconnected.
[0078] In addition to passively monitoring status changes, you can also use scheduled tasks (such as using Handler or ScheduledExecutorService) to regularly check the connection status of the Bluetooth device to ensure the stability of the connection. For example, perform a check at a certain time interval, and if the connection is found to be interrupted, try to reconnect.
[0079] After the mobile refrigerator 1 establishes communication with the mobile terminal 2 and abnormal connection behavior occurs, the user is notified through the display screen 11 or the mobile application of the mobile terminal 2.
[0080] The connection communication information between the mobile refrigerator 1 and the mobile terminal 2 is stored in the mobile application of the mobile terminal 2 in the form of log records.
[0081] The mobile application of the mobile terminal 2 regularly uploads log records to the server 3, and the server 3 automatically analyzes the log data using a machine learning algorithm or a rule engine, and sends warning faults to the display interface of the mobile terminal 2 in advance.
[0082] Furthermore, the log should include, but is not limited to, the following information: the time the device connection attempt was made, the connection status (successful or failed), the device identifier (such as MAC address), the length of time the connection was maintained, the reason for disconnection (such as timeout, signal loss, etc.), and any exceptions or error messages.
[0083] Preferably, different log levels can be set according to the importance of the event. For example, a successful connection can be recorded as INFO level, while a connection failure or abnormal situation can be recorded as ERROR or WARNING level;
[0084] Preferably, the log format contains fields such as date and time, device ID, event type, and event description to facilitate later parsing and analysis; avoid recording any sensitive information, such as user profile or other private data;
[0085] Furthermore, the log recording and storage can temporarily store the log locally on the device (such as a SQLite database or file system). This method facilitates quick access and temporary viewing.
[0086] Preferably, the log records will also upload local logs to the server regularly, so that the log data can be retained even if the device is lost or damaged. In addition, centralized log management is also conducive to large-scale data analysis.
[0087] In summary, the present invention not only greatly improves the security and stability of the Bluetooth connection between the mobile refrigerator and the mobile terminal through a series of security mechanisms and technical means, but also simplifies the user's operation process, improves the user experience, and facilitates the maintenance and management of the system, which has high practical value. In the context of the rapid development of new energy vehicles, the present invention provides a reliable technical guarantee for the safe connection of mobile refrigerators.
Claims
1. A Bluetooth secure connection method for a mobile refrigerator, characterized in that: The invention comprises a mobile refrigerator (1), a mobile terminal (2) connected to the mobile refrigerator (1) via Bluetooth and performing two-way communication, and a server (3) performing network communication with the mobile terminal (3); the mobile refrigerator (1) is provided with a matching button (10) and a display screen (11) for performing communication operations with the mobile terminal (2); the method for connecting the mobile refrigerator (1) to the mobile terminal (2) via Bluetooth comprises the following steps: S1: The user long presses the pairing button (10) to start the authorization function until a relevant prompt appears on the display screen (11) of the mobile refrigerator (1), indicating that the pairing mode has been entered; S2: opening a mobile application associated with the mobile terminal (2), and after the mobile terminal (2) and the mobile refrigerator (1) establish two-way communication, the mobile application automatically identifies and receives the hardware unique identifier of the mobile refrigerator (1); S3: The mobile application sends the hardware unique identifier to the server (3) via the mobile terminal (2); the server (3) identifies and verifies the validity of the hardware unique identifier, generates a unique device ID for the mobile refrigerator (1), and the server (3) generates a custom activation code associated with the device ID, and returns the device ID and the custom activation code to the mobile application; S4: The device ID is obtained and displayed on the mobile application, and the custom activation code is written into the mobile refrigerator (1), completing the connection activation between the mobile refrigerator (1) and the mobile terminal (2), and between the mobile terminal (2) and the server (3).
2. A Bluetooth secure connection method for a mobile refrigerator according to claim 1, characterized in that: In S2, the steps of establishing two-way communication between the mobile terminal (2) and the mobile refrigerator (1) are: In the pairing mode of the mobile refrigerator (1), a pairing code is displayed on the display screen (11), and after the pairing code is input in the mobile application interface, the mobile terminal (2) establishes two-way communication with the mobile refrigerator (1).
3. The Bluetooth secure connection method for a mobile refrigerator according to claim 1, characterized in that: When the mobile refrigerator (1) and the mobile terminal (2) establish two-way communication, a dynamic verification code is used to continuously verify the identity, and the steps are as follows: D1: The mobile refrigerator (1) continuously generates dynamic verification codes and automatically sends them to the mobile application on the mobile terminal (2) in an encrypted manner; D2: The mobile application on the mobile terminal (2) sends the received dynamic verification code to the server (3) for verification. The server (3) uses the same algorithm and time reference to calculate the expected verification code and compares it with the received verification code; D3: The verification code calculated by the server (3) successfully matches the verification code generated by the mobile refrigerator (1), and the server (3) sends a confirmation signal to the mobile refrigerator (1) to allow the connection to be established.
4. The Bluetooth secure connection method for a mobile refrigerator according to claim 1, characterized in that: The hardware unique identifier is the MAC address of the mobile refrigerator (1).
5. The Bluetooth secure connection method for a mobile refrigerator according to claim 1, characterized in that: When data is transmitted between the mobile refrigerator (1) and the mobile terminal (2), the AES-256 encryption standard is used to encrypt and transmit the data. The steps of encrypting and transmitting data between the mobile refrigerator (1) and the mobile terminal (2) are as follows: A1: Before sending data, the mobile refrigerator (1) encrypts the data using the AES-256 algorithm and calculates an HMAC value and appends it to the data packet; A2: The encrypted data is sent to the mobile terminal (2) via Bluetooth connection, and the transport layer protocol uses TLS or SSL; A3: After receiving the data, the mobile terminal (2) first decrypts it through TLS or SSL, then uses the same AES-256 key to decrypt the data, and then verifies the HMAC to ensure the integrity of the data.
6. The Bluetooth secure connection method for a mobile refrigerator according to claim 1, characterized in that: During the communication between the mobile refrigerator (1) and the mobile terminal (2), a pairing protocol that resists man-in-the-middle attacks is adopted, and the steps of verifying identity by adopting the pairing protocol that resists man-in-the-middle attacks include: B1: The mobile refrigerator (1) acts as the initiator, generates a random number, i.e., the challenge value, and sends it to the mobile terminal (2). This random number is unique and changes every time authentication is performed; B2: After receiving the challenge value, the mobile terminal (2) uses the key it holds to process the challenge value and generate a response. The response generation process uses a hash function or digital signature technology; B3: After receiving the response, the mobile refrigerator (1) processes the challenge value using the same method and compares it with the received response; if the two match, it indicates that the identity of the mobile terminal (2) has been verified.
7. The Bluetooth secure connection method for a mobile refrigerator according to claim 1, characterized in that: After the mobile refrigerator (1) establishes communication with the mobile terminal (2), it monitors changes in the Bluetooth status and the device connection status through a broadcast action.
8. A Bluetooth secure connection method for a mobile refrigerator according to claim 7, characterized in that: After the mobile refrigerator (1) establishes communication with the mobile terminal (2) and an abnormal connection behavior occurs, the user is notified via the display screen (11) or the mobile application of the mobile terminal (2).
9. The Bluetooth secure connection method for a mobile refrigerator according to claim 1, characterized in that: The connection communication information between the mobile refrigerator (1) and the mobile terminal (2) is stored in the mobile application of the mobile terminal (2) in the form of log records.
10. A Bluetooth secure connection method for a mobile refrigerator according to claim 9, characterized in that: The mobile application of the mobile terminal (2) regularly uploads log records to the server (3), and the server (3) automatically analyzes the log data using a machine learning algorithm or a rule engine, and sends warning faults to the display interface of the mobile terminal (2) in advance.
Citation Information
Patent Citations
Equipment activation method and device
CN113067817A
Bluetooth device control method, client, computer device and readable storage medium
CN113271579A
Secure Bluetooth authentication binding system and method based on instrument random code
CN114205779A
Verification method and system, application platform and terminal
CN114449515A
Lightweight Internet of Things equipment bidirectional authentication and secure communication method and system
CN117997516A
Cited By
Automatic encryption authorization system and method based on Bluetooth and storage medium
CN119697637A
