Multi-Bluetooth control method, system, terminal and storage based on distributed storage
A distributed storage and control method technology, applied in the field of Bluetooth control, can solve the problems of high memory usage and high power consumption, and achieve the effect of saving memory usage and reducing power consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The first embodiment provides a multi-Bluetooth control method based on distributed storage. In the prior art, a terminal usually establishes multiple services for multiple Bluetooth devices, and each service saves and runs a Bluetooth protocol. The disadvantage of this traditional control method is that multiple services occupy a lot of memory and consume a lot of power. In the past, in the application scenario where a mobile terminal only connected to two or three Bluetooth devices, the device would not be affected. It causes too much burden, but the current smart devices are more and more widely used in people's daily life, and the traditional control method is difficult to adapt to the application scenario where one terminal controls dozens of Bluetooth devices. Therefore, in order to overcome the existing deficiencies, the present invention, based on a distributed storage method, coexists multiple Bluetooth protocols in a service, runs the Bluetooth protocol that co...
Embodiment 2
[0059] see figure 2 , the difference between this embodiment and the first embodiment is that step S10 temporarily creates a Bluetooth protocol used to control the unique device in the service; S20 temporarily creates a unique corresponding feature value for the Bluetooth protocol; S30 temporarily saves the feature value associated with the feature value. Bluetooth information. S40 When the terminal is connected to the Bluetooth device, the characteristic value associated with the temporarily saved Bluetooth information is obtained, and the service runs the Bluetooth protocol according to the characteristic value; the temporarily saved Bluetooth protocol is stored in the service in the form of distributed storage. Subsequent steps also include:
[0060] Step S50: multiple Bluetooth protocols for controlling the unique device coexist in the service;
[0061] Step S60: saving a plurality of characteristic values uniquely corresponding to the Bluetooth protocol;
[0062] St...
Embodiment 3
[0069] see image 3 , this embodiment provides a multi-Bluetooth control system based on distributed storage, the system is used to implement the methods described in Embodiment 1 and Embodiment 2, and the system includes:
[0070] Service unit 1, for coexisting and running multiple Bluetooth protocols to control Bluetooth devices;
[0071] Specifically, the service unit 1 can be understood as a service. In the existing Bluetooth connection of the terminal, there are usually multiple services, such as wireless earphone service, wireless speaker service, etc., and each service contains multiple feature values. Each specific characteristic value is the subject of Bluetooth communication. For example, the current power is 80%, so the characteristic value of the power will be stored in the file of the terminal, so that the terminal can read the data of 80% through this characteristic value. In this embodiment, the service unit 1 is equivalent to a unit module in the CPU of the i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


