Signal sharing connection method based on Bluetooth communicationTechnical Field
The invention relates to the technical field of Bluetooth communication, in particular to a signal sharing connection method based on Bluetooth communication.
Background
The bluetooth headset is as the wireless transmission technology of current mainstream, the application field is very extensive, through this technique, mainly solve the problem of the receiving and dispatching of short distance information, no longer be subject to the influence of internet network quality, from practical application's needs, the communication technology's of bluetooth requirement is higher and higher, wherein many people connect the demand of same intelligent terminal simultaneously also more and more flourishing, the connection of less multichannel bluetooth device on the market at present, conventional connected mode is realized through forwardding, after intelligent terminal and bluetooth headset A paired successfully, bluetooth headset A forwarded the information of receiving to bluetooth headset B and realized that two people share same audio frequency.
In the existing scheme, the earphone responsible for connecting and forwarding has larger power consumption, the actual duration is greatly reduced, the limitation is that the information cannot be received in a short time when the information is forwarded in a transceiving mode A, certain information interruption and delay exist, the connection compatibility with intelligent equipment is poor, after the A is disconnected, the B needs to be reconnected to continue receiving new information, so that the music of the B is interrupted for about several seconds, and the method only can realize that two devices share the music. Therefore, we provide a signal sharing connection method based on bluetooth communication to solve the above problems in the background art.
Disclosure of Invention
The invention aims to provide a signal sharing connection method based on Bluetooth communication, which aims to solve the problems that in the field of Bluetooth communication, a Bluetooth headset and an intelligent terminal are connected in a conventional connection mode through 1-1 pairing, and in order to realize 1-to-many connection and multi-person sharing of audio information, the connection method with the sharing mode is invented, so that multi-person audio sharing is realized, a user is not influenced by external factors any more, and the user can enjoy the acceptance of audio and video information with high quality.
In order to achieve the purpose, the invention provides the following technical scheme:
a signal sharing connection method based on Bluetooth communication is characterized in that a first connected Bluetooth device A sets 20-100ms broadcast connection information and audio synchronization information through an OptekLink, and other devices (which can be expanded to 3) receive the connection information and the audio synchronization information and establish connection with a mobile phone, so that audio information sharing can be realized.
As a further scheme of the invention: and other Bluetooth devices inform the first Bluetooth connection device whether the received information is complete or not through the Optek Link.
As a still further scheme of the invention: the first device informs the intelligent terminal device, and the intelligent terminal device determines whether to retransmit the audio data.
As a still further scheme of the invention: all (at most 4) Bluetooth devices inform the intelligent terminal device whether the acceptance information is complete or not through ACK/NACK.
As a still further scheme of the invention: if the first connecting device is disconnected, any other one of the first connecting device can be converted into the first connecting device, other devices are normally connected, and music is not interrupted.
As a still further scheme of the invention: the first connection device can request the intelligent terminal device to send each audio data packet at least for 2-3 times, and data integrity is guaranteed.
Compared with the prior art, the invention has the beneficial effects that:
1. the power consumption is smaller, and the experience is better.
2. More connections and more stable signals.
3. Disconnection of any bluetooth device does not affect other uses.
Drawings
Fig. 1 is a schematic structural diagram of a signal sharing connection method based on bluetooth communication.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, in an embodiment of the present invention, a signal sharing connection method based on bluetooth communication is provided, where a first connected bluetooth device a sets connection information and audio synchronization information to be broadcast for about 50ms through an Optek Link, and other devices (which may be extended to 3 devices) receive the connection information and the audio synchronization information and establish connection with a mobile phone, so that audio information sharing may be implemented.
In order to guarantee data reliability, the following method is used for realizing:
(1) other Bluetooth devices inform the first Bluetooth connection device whether the received information is complete or not through an Optek Link; the first device informs the intelligent terminal device, and the intelligent terminal device determines whether to retransmit the audio data;
(2) all (at most 4) Bluetooth devices inform the intelligent terminal device whether the receiving information is complete or not through ACK/NACK;
(3) if the first connecting device is disconnected, any other one of the first connecting device and the second connecting device can be converted into the first connecting device, the other devices are normally connected, and the music cannot be interrupted;
(4) the first connecting device can request the intelligent terminal device to send each audio data packet for at least 2-3 times, and data integrity is guaranteed.
The working principle of the invention is as follows:
1. multiple connections (up to 4) are possible via the sharing mode.
2. Compared with the traditional mode, the mode A earphone and other earphones are connected in a real way instead of forwarding, so that the power consumption is reduced, and the endurance is longer.
3. Compatibility is better through built-in direction.
4. The interruption and the delay protection point of the received information are avoided through the sharing technology.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.