Cross-platform Bluetooth multi-channel communication method based on Android device
By combining a Bluetooth pairing module, a reflection adapter module, and a reflection communication module, the challenge of cross-platform Bluetooth multi-channel communication for Android devices is solved, enabling remote control of video surveillance and smart home devices and improving communication reliability and scalability.
Patent Information
- Application Number
- CN202510975108.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-12-12
AI Technical Summary
Existing technologies struggle to enable cross-platform Bluetooth multi-channel concurrent communication for Android devices, failing to meet the specific communication needs of the video surveillance industry and smart home devices.
By combining a Bluetooth pairing module, a reflection adapter module, and a reflection communication module, Android devices can be paired, adapted, and communicate with other platform devices. The reflection adapter container and the communication container are used to manage multi-channel communication units to ensure the accuracy and security of communication.
It enables cross-platform Bluetooth multi-channel concurrent communication for Android devices, meeting the remote control needs of video surveillance and smart home devices, and improving the reliability and scalability of communication.
Smart Images

Figure CN121126291A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication of Android system, and is particularly suitable for the case of using Bluetooth multi-channel communication in the process of communication between mobile phone or tablet and other platforms. The method provided by the present application can realize Bluetooth multi-channel concurrent communication of Android device (mobile phone or tablet) across platforms, thereby meeting the communication needs of video monitoring industry or other industries. BACKGROUND
[0002] The present application relates to the field of communication of Android system, and is particularly suitable for the case of using Bluetooth multi-channel communication in the process of communication between mobile phone or tablet and other platforms. The method provided by the present application can realize Bluetooth multi-channel concurrent communication of Android device (mobile phone or tablet) across platforms, thereby meeting the communication needs of video monitoring industry or other industries. SUMMARY
[0003] In order to overcome the above-mentioned deficiencies, the embodiment of the present application provides a cross-platform Bluetooth multi-channel communication method based on Android device, so that the Android device (mobile phone or tablet) can perform Bluetooth multi-channel concurrent communication across platforms, thereby solving the cross-platform remote terminal control in some special industries such as video conference or video monitoring, the specific needs of software control and communication in smart home devices, and making the Android device develop towards diversification and scalability.
[0004] The technical concept of the present application is that in order to enable the Android device (mobile phone or tablet) to perform Bluetooth multi-channel concurrent communication across platforms, on the one hand, a Bluetooth pairing module is executed to complete the pairing process of the Android device and other platform devices. On the other hand, when the Bluetooth pairing module is ready, the reflection loading machine is called in advance through interface configuration to load the adaptation unit block into the reflection adaptation container, and then the reflection extraction machine serializes the adaptation unit block in the reflection adaptation container to extract it, and transmits it into the reflection interpreter to interpret it into a communication unit and store it into the reflection communication container, and the reflection control machine manages the communication unit to complete the cross-platform Bluetooth multi-channel communication. BRIEF DESCRIPTION OF DRAWINGS
[0005] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0006] Figure 1 The schematic diagram of the Bluetooth pairing module of the Android device of the present application;
[0007] Figure 2 The schematic diagram of the reflection adaptation module of the present application;
[0008] Figure 3 The schematic diagram of the reflection communication module of the present application;
[0009] Figure 4 The schematic diagram of the reflection communication container of the present application;
[0010] Figure 5 The schematic diagram of the Bluetooth device of the present application;
[0011] Figure 6 The schematic diagram of the adaptation unit block of the present application;
[0012] Figure 7 The schematic diagram of the communication unit of the present application. Embodiment
[0013] The technical solution of the present application is as follows:
[0014] The cross-platform Bluetooth multi-channel communication method based on Android device in the present application is implemented, which is characterized by comprising the following steps:
[0015] Step 1. Implement the cross-platform Bluetooth multi-channel communication method based on Android device, and the required basic device components are: Android device (mobile phone or tablet), Bluetooth pairing module, reflection adaptation module, reflection communication module, and reflection adaptation container configuration tool.
[0016] Step 2. Implement the cross-platform Bluetooth multi-channel communication method on the Android device, execute the Bluetooth pairing module, and complete the pairing of the Android device and other platform Bluetooth devices. The main functions of the Bluetooth pairing module are:
[0017] 1) Search for surrounding Bluetooth devices through the Bluetooth search device function, and import them into the Bluetooth pairing container.
[0018] 2) Select the Bluetooth device to be paired from the Bluetooth pairing container, input the Pin password, and perform the pairing verification of the device pairing verification machine, that is, the first layer of security protection for communication in the form of "authentication" before link establishment.
[0019] 3) If the pairing is successful through the pairing verification of the device pairing verification machine, otherwise, it fails.
[0020] 4) Pairing diagnosis: The main responsibility is to diagnose abnormal problems in the pairing process of Bluetooth devices, including a log module for easy troubleshooting. Step 3. Implement a cross-platform Bluetooth multi-channel communication method on an Android device. When the Bluetooth pairing module is ready, execute the adaptation unit block in the reflection adaptation container through the reflection adaptation module. The main functions of the reflection adaptation module are: 1) Load the adaptation unit block into the entry of the reflection adaptation container through the reflection loader, and ensure the integrity of the loaded data and the standardization of the structure.
[0021] 2) Extract the adaptation unit block from the reflection adaptation container through the reflection extractor, and its serialized extraction mechanism ensures the accuracy and security of the adaptation unit block extraction process.
[0022] 3) The adaptation unit blocks in the reflection adaptation container are integrated according to certain rules, with compact structure and strong read-write performance.
[0023] Step 4. The adaptation unit block extracted by the reflection adaptation module is processed through the reflection communication module to achieve cross-platform Bluetooth multi-channel communication. The main functions of the reflection communication module are:
[0024] 1) In the reflection control module, the reflection interpreter is responsible for interpreting the adaptation unit block extracted by the reflection extractor into a communication unit and storing it in the reflection communication container.
[0025] 2) In the reflection control module, the reflection control machine is responsible for managing the communication units in the reflection communication container to achieve communication with other platforms.
[0026] 3) Each communication unit in the reflection communication container is independent and does not interfere with each other, working simultaneously. The main functions of the reflection adaptation container configuration tool are:
[0027] 1) Fill the adaptation unit block into the reflection adaptation container according to certain rules.
[0028] 2) Simplify the complexity of reflection adaptation container configuration, greatly improving its ease of operation.
[0029] 3) Greatly reduces the error rate of reflection adaptation container configuration, with configuration format templating and process programming.
Claims
1. A cross-platform Bluetooth multi-channel communication method based on Android devices, characterized in that, include: During operation, the Android device executes the Bluetooth pairing module to complete the pairing process between the Android device and other platform devices; During the operation of an Android device, once the Bluetooth pairing module is ready, the adapter unit block in the reflection adapter container is executed serially through the reflection adapter module. The adapter unit block is then interpreted into a communication unit through the reflection communication module, thus completing cross-platform Bluetooth multi-channel communication. This meets the cross-platform Bluetooth multi-channel communication needs of the video surveillance industry or other industries.
2. The method according to claim 1, wherein the step of "executing the Bluetooth pairing module to complete the pairing process between the Android device and other platform devices" is further characterized in that, Both devices (each device must enter a PIN code) must enter the same PIN code for successful pairing.
3. The method according to claim 1, wherein the step of "executing the Bluetooth pairing module to complete the pairing process between the Android device and other platform devices" is further characterized in that, Includes: Bluetooth pairing container, pairing verification unit, and pairing diagnostic unit.
4. The method according to claim 1, wherein the step of "executing the Bluetooth pairing module to complete the pairing process between the Android device and other platform devices" is further characterized in that, For other platform devices, there are iOS, Android, Windows, and Linux platforms.
5. The method according to claim 1, wherein the "Bluetooth pairing module is ready" is further characterized in that, 1. Once paired successfully, the two devices will form a bond, and there is no need to repeat the pairing process to confirm the device ID when connecting again.
2. After successful pairing, users can also remove the connection relationship according to their own needs.
6. The method according to claim 1, wherein the "reflection adapter module" is characterized in that, include: Reflective loading machine, reflective adapter container, reflective extraction machine.
1. In the reflection adapter module, parameters are set through the interface, and the reflection loader is invoked to load the adapter unit block into the reflection adapter container.
2. In the reflection adapter module, the reflection extractor is called to extract the adapter unit block and import it into the reflection communication module.
7. The method according to claim 1, wherein the "serialization of the adaptation unit block in the Bluetooth adaptation container" is characterized in that, The adaptation unit blocks in the reflection adaptation container are executed sequentially to ensure the stability of the reflection adaptation container and the execution efficiency of the adaptation unit blocks.
8. The method according to claims 1 and 2, wherein the "adapter unit block" is characterized in that, include: Physical address, name, communication port, connection status.
9. The method according to claim 1, wherein the "reflective communication module" is characterized in that, The reflection communication module is responsible for communicating with other platforms. It includes: the reflection control module and the reflection communication container.
10. The "communication unit" according to claim 1, characterized in that, The communication unit, as the smallest unit in the communication container, is responsible for completing data transmission and signaling exchange with other platforms.
11. The method according to claim 3, wherein the "Bluetooth pairing container" is characterized in that, 1. Use the Bluetooth device search function to find nearby Bluetooth devices and import them into the Bluetooth pairing container.
2. Select the Bluetooth device to be paired from the Bluetooth pairing container, enter the PIN code, and perform pairing verification with the device pairing verification device.
3. If the pairing verification is performed via the device pairing verification machine, the pairing will be successful; otherwise, it will fail.
4. Bluetooth devices mainly include information such as physical address, name, type, alias, PIN code, and connection status.
12. The method according to claim 3, wherein the "pairing verification machine" is characterized in that, 1. The pairing verification device is used to verify the identity of Bluetooth devices by inputting the PIN password.
2. The pairing verification machine is the first layer of security protection for communication, which uses "authentication" before the link is established.
3. The pairing and verification device plays a crucial role in the stability of the entire Bluetooth communication process.
13. The method according to claim 3, wherein the "pairing diagnostic unit" is characterized in that, 1. The main responsibility of the pairing diagnostic unit is to diagnose abnormal problems during the pairing process of Bluetooth devices.
2. The paired diagnostic unit includes a log module, which can clearly describe the cause of abnormal problems and facilitate their resolution.
3. The paired diagnostic unit has a simple structure, independent functions, and high stability.
14. The method according to claim 6, wherein the "reflection loading machine" is characterized in that, 1. The reflection loader is the entry point and the only entry point for loading the adapter unit block into the reflection adapter container.
2. The abnormal reload mechanism in the reflection loader ensures the integrity of the loaded data and the standardization of the structure.
3. The reflective loading machine, as the entry point for the reflective adapter container, lays the prerequisite for the normal and accurate operation of other functions of the reflective adapter container.
15. The method according to claim 6, wherein the "reflection adapter container" is characterized in that, 1. The reflection adapter container serves as a container class for adapter unit blocks, integrating adapter unit blocks together according to certain rules.
2. The reflection adapter container serves as a container class for adapter unit blocks, enabling serial execution of adapter unit blocks, avoiding resource contention, and ensuring high security.
3. The reflection adapter container serves as a container class for the adapter unit block, providing a clear structure that is easy to view and modify.
4. The reflection adapter container is used as a container class for adapter unit blocks. The adapter unit blocks are independent of each other and do not interfere with each other.
16. The method according to claim 6, wherein the "reflection extraction machine" is characterized in that, 1. The reflective extractor is the outlet for extracting the adapter unit block from the reflective adapter container, and it is also the only outlet.
2. The serialized extraction mechanism in the reflective extraction machine ensures the accuracy and safety of the extraction process of the adapted unit blocks.
3. The reflection extraction machine, as a bridge connecting the reflection adapter container and the reflection communication module, plays a crucial role in the normal operation of the entire system.
17. The method according to claim 9, wherein the "reflection control module" is characterized in that, include: Reflection controller, reflection interpreter.
1. In the reflection control module, the reflection controller is responsible for managing the communication units in the reflection communication container, enabling communication with other platforms.
2. In the reflection control module, the reflection interpreter is responsible for interpreting the adapter unit block extracted by the reflection extractor into a communication unit and storing it in the reflection communication container.
18. The method according to claims 9 and 17, wherein the "reflective communication container" is characterized in that, A reflective communication container is used to integrate communication units together; it is a collection of communication units.
1. In a reflective communication container, multiple communication units can operate simultaneously and cooperate with each other.
2. In the reflective communication container, each communication unit is independent of the others and does not interfere with them.
3. In the reflective communication container, the communication units are arranged sequentially, which facilitates the reflective control module to control the state of each communication unit.