Passive Bluetooth connection method, device and Bluetooth device
Restarting the passive Bluetooth module through the Bluetooth application solves the problem that the passive Bluetooth module cannot be actively disconnected, and data communication between the passive Bluetooth device and the first Bluetooth device is realized, improving the user experience.
Patent Information
- Application Number
- CN202211420284.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-11
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-11-11
AI Technical Summary
The passive Bluetooth module cannot be disconnected actively, resulting in the new Bluetooth device being unable to establish a Bluetooth connection with it, reducing the user experience.
Restart the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application, causing it to actively disconnect from the second Bluetooth device, thereby re-establishing a Bluetooth connection with the first Bluetooth device.
The data communication between the passive Bluetooth device and the first Bluetooth device is realized, and the user experience is improved.
Smart Images

Figure CN115734205B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of Bluetooth communication technology, and in particular to a passive Bluetooth connection method, apparatus, and Bluetooth device. Background Art
[0002] Bluetooth is a radio technology that supports short-range communication between devices (generally within 10 meters). Due to its advantages such as simple communication, fast transmission speed, and no network requirements, Bluetooth modules with integrated Bluetooth functions are widely used in the communication field.
[0003] At present, Bluetooth modules can be divided into active Bluetooth modules and passive Bluetooth modules according to their connection characteristics. Among them, the connection characteristics of the passive Bluetooth module mean that other Bluetooth devices can actively connect to the passive Bluetooth module, and the passive Bluetooth module has no right to refuse. In particular, when other Bluetooth devices are connected to the passive Bluetooth module, the passive Bluetooth module cannot actively disconnect, resulting in the new Bluetooth device being unable to connect to the passive Bluetooth module, causing the new Bluetooth device to be unable to communicate data, thereby reducing the user experience. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a passive Bluetooth connection method, apparatus, and Bluetooth device, which can enable a passive Bluetooth module to actively disconnect and re-establish a Bluetooth connection.
[0005] In a first aspect, an embodiment of the present invention provides a passive Bluetooth connection method, wherein the method includes:
[0006] When a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device and obtained through a Bluetooth application is received; wherein the first identification information is identification information corresponding to a second Bluetooth device that is currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device deployed with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and matching the passive Bluetooth device;
[0007] When the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, the passive Bluetooth module in the passive Bluetooth device is restarted through the Bluetooth application program to establish a Bluetooth connection between the first Bluetooth device and the passive Bluetooth device.
[0008] In one possible implementation, before restarting the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application, the method further includes:
[0009] Generate restart instruction information; wherein the restart instruction information carries a restart control;
[0010] The restart instruction information is displayed in the program interface of the Bluetooth application.
[0011] In one possible implementation, restarting a passive Bluetooth module in a passive Bluetooth device through a Bluetooth application includes:
[0012] In response to the control operation on the restart control, a restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction.
[0013] In one possible implementation, the method further includes:
[0014] When it is monitored that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established, communication data is sent to the passive Bluetooth device; wherein the communication data is audio data and / or video data.
[0015] In a second aspect, an embodiment of the present invention provides a passive Bluetooth connection device, wherein the device includes:
[0016] an acquisition module, configured to receive, when a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device and acquired through a Bluetooth application; wherein the first identification information is identification information corresponding to a second Bluetooth device currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device equipped with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and matching the passive Bluetooth device;
[0017] The restart connection module is used to restart the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, so that the first Bluetooth device and the passive Bluetooth device establish a Bluetooth connection.
[0018] In one possible embodiment, the device further includes:
[0019] A generating module, configured to generate restart instruction information; wherein the restart instruction information carries a restart control;
[0020] The display module is used to display the restart instruction information in the program interface of the Bluetooth application.
[0021] In a possible implementation, the restart connection module is further configured to:
[0022] In response to the control operation on the restart control, a restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction.
[0023] In one possible embodiment, the device further includes:
[0024] The sending module is used to send communication data to the passive Bluetooth device when monitoring that the first Bluetooth device has completed the Bluetooth connection with the passive Bluetooth device; wherein the communication data is audio data and / or video data.
[0025] In a third aspect, an embodiment of the present invention provides a Bluetooth device, which includes: a processor and a memory, wherein the processor is configured to execute a passive Bluetooth connection program stored in the memory to implement the above-mentioned passive Bluetooth connection method.
[0026] In a fourth aspect, an embodiment of the present invention provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned passive Bluetooth connection method.
[0027] The embodiments of the present invention provide a passive Bluetooth connection method, device, and Bluetooth device, wherein, when a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device obtained through a Bluetooth application is received, wherein the first identification information is identification information corresponding to a second Bluetooth device currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device deployed with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and matched with the passive Bluetooth device; when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, the passive Bluetooth module in the passive Bluetooth device is restarted through the Bluetooth application, so that the first Bluetooth device and the passive Bluetooth device establish a Bluetooth connection. The present invention can restart the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application, so that the passive Bluetooth module can actively disconnect the Bluetooth connection with the second Bluetooth device, and have the opportunity to re-establish a Bluetooth connection with the first Bluetooth device, thereby enabling the first Bluetooth device and the passive Bluetooth device to communicate data, thereby greatly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A flowchart of an embodiment of a passive Bluetooth connection method provided by an embodiment of the present invention;
[0029] Figure 2 A flowchart of another embodiment of a passive Bluetooth connection method provided by an embodiment of the present invention;
[0030] Figure 3 A block diagram of an embodiment of a passive Bluetooth connection device provided by an embodiment of the present invention;
[0031] Figure 4 A schematic diagram of the structure of a Bluetooth device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. 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 making creative efforts shall fall within the scope of protection of the present invention.
[0033] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below with reference to the accompanying drawings. The embodiments do not limit the embodiments of the present invention.
[0034] The embodiment of the present invention provides a passive Bluetooth connection method, see Figure 1 , is a flow chart of an embodiment of a passive Bluetooth connection method provided by an embodiment of the present invention. Figure 1 As shown, the process may include the following steps:
[0035] S101, when a first Bluetooth device is connected to a passive Bluetooth device, receiving first identification information stored in the passive Bluetooth device that is acquired through a Bluetooth application;
[0036] Among them, the first identification information is the identification information corresponding to the second Bluetooth device that currently establishes a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device deployed with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device that matches the passive Bluetooth device.
[0037] With the rapid development of mobile Internet, it has brought more and more convenience to life, and Bluetooth application development has become more and more popular. In this embodiment, the Bluetooth application is a software application that sets relevant functions for the passive Bluetooth device on the first Bluetooth device. That is, the user can control the first Bluetooth device to establish a Bluetooth connection with the passive Bluetooth device by operating the Bluetooth application, thereby realizing data communication between the first Bluetooth device and the passive Bluetooth device.
[0038] When a user wants to use a first Bluetooth device to communicate data with a passive Bluetooth device, he can first establish a wired or wireless connection with the passive Bluetooth device. Then, after opening a Bluetooth application on the first Bluetooth device, the user can obtain the first identification information of the second Bluetooth device currently connected to the passive Bluetooth device. Through the first identification information, it can be determined whether the first Bluetooth device currently establishes a Bluetooth connection with the passive Bluetooth device.
[0039] Specifically, if the first identification information is the same as the second identification information corresponding to the first Bluetooth device, it means that the second Bluetooth device currently connected to the passive Bluetooth device is the above-mentioned first Bluetooth device, that is, when the first Bluetooth device is connected to the passive Bluetooth device by wire or wireless, Bluetooth communication is successfully established with the passive Bluetooth device. If the first identification information is different from the second identification information corresponding to the first Bluetooth device, the second Bluetooth device is not the same device as the first Bluetooth device, which means that even if the second Bluetooth device is not currently connected to the passive Bluetooth device by wire or wireless, the passive Bluetooth device still defaults to being connected to the second Bluetooth device by Bluetooth. Therefore, it is necessary to execute the following S102 to establish a Bluetooth connection between the first Bluetooth device and the passive Bluetooth device.
[0040] The above-mentioned passive Bluetooth devices are mobile phones, wireless headphones, laptops, wired screen projectors and other electronic devices deployed with passive Bluetooth modules, and the above-mentioned first Bluetooth device and second Bluetooth device are mobile phones, laptops and other electronic devices with Bluetooth connection functions.
[0041] If the passive Bluetooth device is a wired projector or a laptop computer, the first Bluetooth device can be connected to the passive Bluetooth device using a corresponding communication cable. When the passive Bluetooth device is a wireless headset or a mobile phone, the first Bluetooth device can be connected to the passive Bluetooth device wirelessly.
[0042] Typically, wireless connection can be achieved by utilizing a Bluetooth connection module pre-installed on the first Bluetooth device. Taking a mobile phone as an example, the first Bluetooth device is displayed on the device interface of the first Bluetooth device in the form of a Bluetooth control. When the user opens the Bluetooth control, it is deemed that the first Bluetooth device sends a Bluetooth connection request to the passive Bluetooth device. When the passive Bluetooth device receives the Bluetooth connection request, it establishes a wireless connection with the first Bluetooth device.
[0043] S102: When the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, restart the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application program, so that the first Bluetooth device establishes a Bluetooth connection with the passive Bluetooth device.
[0044] Restarting the passive Bluetooth module refers to a process of powering on the passive Bluetooth module after being powered off. When the passive Bluetooth module is powered on again, the first Bluetooth device has a chance to replace the second Bluetooth device and establish a Bluetooth connection with the passive Bluetooth device.
[0045] The passive Bluetooth connection method provided in an embodiment of the present invention can restart the passive Bluetooth module in a passive Bluetooth device through a Bluetooth application, so that the passive Bluetooth module can actively disconnect the Bluetooth connection with the second Bluetooth device and have the opportunity to re-establish a Bluetooth connection with the first Bluetooth device, thereby enabling the first Bluetooth device and the passive Bluetooth device to communicate data, thereby greatly improving the user experience.
[0046] See also Figure 2 , is a flow chart of another embodiment of a passive Bluetooth connection method provided by an embodiment of the present invention. Figure 2 The process shown above Figure 1 It is realized based on the process shown in Figure 2 As shown, the process may include the following steps:
[0047] S201, when a first Bluetooth device is connected to a passive Bluetooth device, receiving first identification information stored in the passive Bluetooth device and obtained through a Bluetooth application; wherein the first identification information is identification information corresponding to a second Bluetooth device that is currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device equipped with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and compatible with the passive Bluetooth device;
[0048] For a detailed description of S201, please refer to the above Figure 1 The relevant descriptions in the illustrated embodiments will not be repeated here.
[0049] S202: When the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, generate restart instruction information; wherein the restart instruction information carries a restart control;
[0050] S203, displaying the restart instruction information in the program interface of the Bluetooth application;
[0051] The restart instruction information may be displayed in a pop-up window in the program interface of the Bluetooth application. The purpose of displaying the restart instruction information is to facilitate the user to intuitively understand that the currently used first Bluetooth device is not connected to the passive Bluetooth device.
[0052] S204, in response to the control operation on the restart control, sending a restart instruction to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction;
[0053] The above-mentioned restart control can be a "reconnect" button, so that when the user performs a control operation on the button (for example, single-click, double-click, etc.), a restart instruction corresponding to the restart control can be sent to the passive Bluetooth device, so that the passive Bluetooth device controls the passive Bluetooth module to restart.
[0054] After the restart is executed, monitor whether the first Bluetooth device has truly established a Bluetooth connection with the passive Bluetooth device. It is also necessary to execute S201 to compare the first identification information with its own corresponding second identification information after obtaining the first identification information. If the comparison result is consistent, it means that after executing S204, the first Bluetooth device has established a Bluetooth connection with the passive Bluetooth device. If the comparison result is inconsistent, execute S202-S204 and repeat the above process until the first Bluetooth device is successfully connected to the passive Bluetooth device.
[0055] S205 : When it is detected that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established, communication data is sent to the passive Bluetooth device; wherein the communication data is audio data and / or video data.
[0056] After the first Bluetooth device and the passive Bluetooth device are successfully connected to each other, the first Bluetooth device and the passive Bluetooth device can normally communicate data. The data communication process can be found in the data communication process between existing Bluetooth devices, which will not be described in detail here.
[0057] The passive Bluetooth connection method provided by an embodiment of the present invention can display the generated restart indication information on the program interface of the Bluetooth application when the first Bluetooth device and the passive Bluetooth device cannot normally establish a Bluetooth connection, so as to prompt the user, and can respond to the control operation of the restart control in the restart indication information. The restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction, so that the passive Bluetooth module can actively disconnect the Bluetooth connection with the second Bluetooth device and have the opportunity to re-establish the Bluetooth connection with the first Bluetooth device, thereby realizing data communication between the first Bluetooth device and the passive Bluetooth device.
[0058] See also Figure 3 , is a block diagram of an embodiment of a passive Bluetooth connection device provided by an embodiment of the present invention, such as Figure 3 As shown, the device may include:
[0059] An acquisition module 300 is configured to receive, when a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device and acquired through a Bluetooth application; wherein the first identification information is identification information corresponding to a second Bluetooth device currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device equipped with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and compatible with the passive Bluetooth device;
[0060] The restart connection module 301 is used to restart the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, so that the first Bluetooth device and the passive Bluetooth device establish a Bluetooth connection.
[0061] In a possible embodiment, the device further includes (not shown in the figure):
[0062] A generating module, configured to generate restart instruction information; wherein the restart instruction information carries a restart control;
[0063] The display module is used to display the restart instruction information in the program interface of the Bluetooth application.
[0064] In a possible implementation, the restart connection module is further configured to:
[0065] In response to the control operation on the restart control, a restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction.
[0066] In one possible embodiment, the device further includes (not shown in the figure):
[0067] The sending module is used to send communication data to the passive Bluetooth device when monitoring that the first Bluetooth device has completed the Bluetooth connection with the passive Bluetooth device; wherein the communication data is audio data and / or video data.
[0068] Figure 4 A schematic diagram of the structure of a Bluetooth device provided by an embodiment of the present invention is provided. Figure 4 The Bluetooth device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and another user interface 503. The various components in the Bluetooth device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 505 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 505 is not shown in FIG. Figure 4 Various buses are labeled as bus system 505.
[0069] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen).
[0070] It is understood that the memory 502 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0071] In some embodiments, the memory 502 stores the following elements, executable units, or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and application programs 5022 .
[0072] The operating system 5021 includes various system programs, such as a framework layer, a core library layer, and a driver layer, for implementing various basic services and handling hardware-based tasks. Application programs 5022 include various application programs, such as a media player (MediaPlayer) and a browser (Browser), for implementing various application services. Programs implementing the methods of the embodiments of the present invention may be included in application programs 5022.
[0073] In an embodiment of the present invention, by calling a program or instruction stored in the memory 502, specifically, a program or instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided in each method embodiment, for example, including:
[0074] When a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device and obtained through a Bluetooth application is received; wherein the first identification information is identification information corresponding to a second Bluetooth device that is currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device deployed with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and matching the passive Bluetooth device;
[0075] When the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, the passive Bluetooth module in the passive Bluetooth device is restarted through the Bluetooth application program to establish a Bluetooth connection between the first Bluetooth device and the passive Bluetooth device.
[0076] In one possible implementation, before restarting the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application, the method further includes:
[0077] Generate restart instruction information; wherein the restart instruction information carries a restart control;
[0078] The restart instruction information is displayed in the program interface of the Bluetooth application.
[0079] In one possible implementation, restarting a passive Bluetooth module in a passive Bluetooth device through a Bluetooth application includes:
[0080] In response to the control operation on the restart control, a restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction.
[0081] In one possible implementation, the method further includes:
[0082] When it is monitored that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established, communication data is sent to the passive Bluetooth device; wherein the communication data is audio data and / or video data.
[0083] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 501 or by software instructions. The above processor 501 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in storage media well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 502 , and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0084] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSP devices, DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.
[0085] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0086] The Bluetooth device provided in this embodiment may be Figure 4The Bluetooth device shown in , can perform Figure 1-2 All the steps of the passive Bluetooth connection method in Figure 1-2 For technical effects of the passive Bluetooth connection method shown, please refer to Figure 1-2 For the sake of brevity, the relevant description will not be repeated here.
[0087] An embodiment of the present invention further provides a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and the memory may also include a combination of the aforementioned types of memory.
[0088] When one or more programs in the storage medium can be executed by one or more processors, the above passive Bluetooth connection method can be implemented.
[0089] The processor is configured to execute a passive Bluetooth connection program stored in the memory to implement the following steps of the passive Bluetooth connection method:
[0090] When a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device and obtained through a Bluetooth application is received; wherein the first identification information is identification information corresponding to a second Bluetooth device that is currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device deployed with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and matching the passive Bluetooth device;
[0091] When the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, the passive Bluetooth module in the passive Bluetooth device is restarted through the Bluetooth application program to establish a Bluetooth connection between the first Bluetooth device and the passive Bluetooth device.
[0092] In one possible implementation, before restarting the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application, the method further includes:
[0093] Generate restart instruction information; wherein the restart instruction information carries a restart control;
[0094] The restart instruction information is displayed in the program interface of the Bluetooth application.
[0095] In one possible implementation, restarting a passive Bluetooth module in a passive Bluetooth device through a Bluetooth application includes:
[0096] In response to the control operation on the restart control, a restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction.
[0097] In one possible implementation, the method further includes:
[0098] When it is monitored that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established, communication data is sent to the passive Bluetooth device; wherein the communication data is audio data and / or video data.
[0099] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0100] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0101] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A passive Bluetooth connection method, characterized in that: The method comprises: When a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device and obtained through a Bluetooth application is received; wherein the first identification information is identification information corresponding to a second Bluetooth device that is currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device deployed with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and matching the passive Bluetooth device; When the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, restarting the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application program, so that the first Bluetooth device establishes a Bluetooth connection with the passive Bluetooth device; Before restarting the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application, the method further includes: Generate restart instruction information; wherein the restart instruction information carries a restart control; The restart instruction information is displayed in the program interface of the Bluetooth application.
2. The method according to claim 1, characterized in that The step of restarting the passive Bluetooth module in the passive Bluetooth device by using the Bluetooth application comprises: In response to the control operation on the restart control, a restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction.
3. The method according to claim 1, characterized in that The method further comprises: When it is monitored that the first Bluetooth device and the passive Bluetooth device have completed establishing a Bluetooth connection, communication data is sent to the passive Bluetooth device; wherein the communication data is audio data and / or video data.
4. A passive Bluetooth connection device, characterized in that: The device comprises: an acquisition module, configured to receive, when a first Bluetooth device is connected to a passive Bluetooth device, first identification information stored in the passive Bluetooth device and acquired through a Bluetooth application; wherein the first identification information is identification information corresponding to a second Bluetooth device currently establishing a Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device equipped with a passive Bluetooth module, and the Bluetooth application is an application pre-installed on the first Bluetooth device and matching the passive Bluetooth device; a restart connection module, configured to restart the passive Bluetooth module in the passive Bluetooth device through the Bluetooth application when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth device, so that the first Bluetooth device establishes a Bluetooth connection with the passive Bluetooth device; The device further comprises: A generating module, configured to generate restart instruction information; wherein the restart instruction information carries a restart control; The display module is used to display the restart instruction information in the program interface of the Bluetooth application.
5. The device according to claim 4, characterized in that The restart connection module is further used to: In response to the control operation on the restart control, a restart instruction is sent to the passive Bluetooth device to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restart instruction.
6. The device according to claim 4, characterized in that The device further comprises: The sending module is used to send communication data to the passive Bluetooth device when monitoring that the first Bluetooth device and the passive Bluetooth device have completed establishing a Bluetooth connection; wherein the communication data is audio data and / or video data.
7. A Bluetooth device, characterized in that: include: A processor and a memory, wherein the processor is configured to execute a passive Bluetooth connection program stored in the memory to implement the passive Bluetooth connection method according to any one of claims 1 to 3.
8. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the passive Bluetooth connection method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Bluetooth device management method and device
CN113194450A