CN115734205A - Passive Bluetooth connection method and device and Bluetooth equipment - Google Patents

Passive Bluetooth connection method and device and Bluetooth equipment Download PDF

Info

Publication number
CN115734205A
CN115734205A CN202211420284.0A CN202211420284A CN115734205A CN 115734205 A CN115734205 A CN 115734205A CN 202211420284 A CN202211420284 A CN 202211420284A CN 115734205 A CN115734205 A CN 115734205A
Authority
CN
China
Prior art keywords
bluetooth
passive
bluetooth device
module
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211420284.0A
Other languages
Chinese (zh)
Inventor
丁龙河
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202211420284.0A priority Critical patent/CN115734205A/en
Publication of CN115734205A publication Critical patent/CN115734205A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The passive Bluetooth connection method, the passive Bluetooth connection device and the Bluetooth equipment provided by the embodiment of the invention comprise the steps of receiving first identification information which is acquired through a Bluetooth application program and stored in the passive Bluetooth equipment when the first Bluetooth equipment is connected with the passive Bluetooth equipment, and restarting a passive Bluetooth module in the passive Bluetooth equipment through the Bluetooth application program when the first identification information is inconsistent with second identification information corresponding to the first Bluetooth equipment so as to enable the first Bluetooth equipment to establish Bluetooth connection with the passive Bluetooth equipment. According to the invention, the passive Bluetooth module in the passive Bluetooth device can be restarted through the Bluetooth application program, so that the passive Bluetooth module can actively disconnect the Bluetooth connection with the second Bluetooth device and has an opportunity to re-establish the Bluetooth connection with the first Bluetooth device, and thus the data communication between the first Bluetooth device and the passive Bluetooth device is realized, and the use experience of a user is greatly improved.

Description

Passive Bluetooth connection method and device and Bluetooth equipment
Technical Field
The embodiment of the invention relates to the technical field of Bluetooth communication, in particular to a passive Bluetooth connection method, a passive Bluetooth connection device and Bluetooth equipment.
Background
Bluetooth (Bluetooth) is a radio technology supporting short-distance communication (generally within 10 m) of devices, and because Bluetooth has the advantages of simple communication, fast transmission speed, no network requirement, etc., bluetooth modules integrated with Bluetooth functions are widely used in the field of communication.
At present, the bluetooth module can be divided into an active bluetooth module and a passive bluetooth module according to the connection characteristics of the bluetooth module, wherein the connection characteristics of the passive bluetooth module are that another bluetooth device can actively connect the passive bluetooth module, and the passive bluetooth module has no refusal right, and particularly, after another bluetooth device connects the passive bluetooth module, the passive bluetooth module cannot actively disconnect, so that a new bluetooth device cannot connect to the passive bluetooth module, so that the new bluetooth device cannot perform data communication, and further the use experience of a user is reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a passive bluetooth connection method, apparatus, and bluetooth device, which can actively disconnect a passive bluetooth module and reestablish a bluetooth connection.
In a first aspect, an embodiment of the present invention provides a passive bluetooth connection method, where the method includes:
when the first Bluetooth device is connected with the passive Bluetooth device, receiving first identification information stored in the passive Bluetooth device, wherein the first identification information is acquired through a Bluetooth application program; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with a passive Bluetooth device at present, the passive Bluetooth device is an electronic device provided with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device;
and when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth equipment, restarting a passive Bluetooth module in the passive Bluetooth equipment through a Bluetooth application program so as to establish Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment.
In one possible embodiment, before restarting the passive bluetooth module in the passive bluetooth device by the bluetooth application, the method further comprises:
generating restart indication information; the restarting indication information carries a restarting control;
and displaying the restart indication information in a program interface of the Bluetooth application program.
In one possible embodiment, restarting a passive bluetooth module in a passive bluetooth device through a bluetooth application includes:
and responding to the control operation aiming at the restarting control, and sending a restarting instruction to the passive Bluetooth device so as to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restarting instruction.
In one possible embodiment, the method further comprises:
when the situation that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established is monitored to be completed, communication data are sent to the passive Bluetooth device; the communication data is audio data and/or video data.
In a second aspect, an embodiment of the present invention provides a passive bluetooth connection apparatus, where the apparatus includes:
the acquisition module is used for receiving first identification information which is acquired through a Bluetooth application program and stored in the passive Bluetooth device when the first Bluetooth device is connected with the passive Bluetooth device; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with a passive Bluetooth device at present, the passive Bluetooth device is an electronic device provided with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and matched with the passive Bluetooth device;
and the connection restarting module is used for restarting the passive Bluetooth module in the passive Bluetooth equipment through a Bluetooth application program when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth equipment so as to establish Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment.
In one possible embodiment, the apparatus further comprises:
the generating module is used for generating restart indicating information; the restarting indication information carries a restarting control;
and the display module is used for displaying the restart indication information in a program interface of the Bluetooth application program.
In one possible embodiment, the restart connection module is further configured to:
and responding to the control operation aiming at the restarting control, and sending a restarting instruction to the passive Bluetooth equipment so as to trigger the passive Bluetooth equipment to restart the passive Bluetooth module based on the restarting instruction.
In one possible embodiment, the apparatus further comprises:
the transmitting module is used for transmitting communication data to the passive Bluetooth equipment when the situation that the Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment is established is monitored; the communication data is audio data and/or video data.
In a third aspect, an embodiment of the present invention provides a bluetooth device, where the bluetooth device includes: the passive Bluetooth connection device comprises a processor and a memory, wherein the processor is used for executing a passive Bluetooth connection program stored in the memory so as to realize the passive Bluetooth connection method.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the passive bluetooth connection method described above.
The passive Bluetooth connection method, the passive Bluetooth connection device and the Bluetooth device provided by the embodiment of the invention are characterized in that when a first Bluetooth device is connected with a passive Bluetooth device, first identification information which is acquired through a Bluetooth application program and stored in the passive Bluetooth device is received, wherein the first identification information is identification information corresponding to a second Bluetooth device which currently establishes Bluetooth connection with the passive Bluetooth device, the passive Bluetooth device is an electronic device provided with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device; and when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth equipment, restarting a passive Bluetooth module in the passive Bluetooth equipment through a Bluetooth application program so as to establish Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment. According to the invention, the passive Bluetooth module in the passive Bluetooth device can be restarted through the Bluetooth application program, so that the passive Bluetooth module can actively disconnect the Bluetooth connection with the second Bluetooth device and has an opportunity to reestablish the Bluetooth connection with the first Bluetooth device, thereby realizing that the first Bluetooth device and the passive Bluetooth device can carry out data communication, and further greatly improving the use experience of a user.
Drawings
Fig. 1 is a flowchart of an embodiment of a passive bluetooth connection method according to an embodiment of the present invention;
fig. 2 is a flowchart of another passive bluetooth connection method according to an embodiment of the present invention;
fig. 3 is a block diagram of an embodiment of a passive bluetooth connection apparatus according to the present invention;
fig. 4 is a schematic structural diagram of a bluetooth device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
An embodiment of the present invention provides a passive bluetooth connection method, and referring to fig. 1, is a flowchart of an embodiment of the passive bluetooth connection method provided in the embodiment of the present invention. As shown in fig. 1, the process may include the following steps:
s101, when a first Bluetooth device is connected with a passive Bluetooth device, first identification information stored in the passive Bluetooth device and acquired through a Bluetooth application program is received;
the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with a passive Bluetooth device at present, the passive Bluetooth device is an electronic device with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device.
With the high-speed development of the mobile internet, more and more convenience is brought to life, and the development of the bluetooth application program is more and more popular, in this embodiment, the bluetooth application program is a software application program for setting a related function on the first bluetooth device for the passive bluetooth device, that is, a user can control the first bluetooth device and the passive bluetooth device to establish bluetooth connection through the operation of the bluetooth application program, so that the first bluetooth device and the passive bluetooth device can perform data communication.
When a user wants to use a first Bluetooth device to perform data communication with a passive Bluetooth device, the user can be in wired or wireless connection with the passive Bluetooth device, then the user can acquire first identification information of a second Bluetooth device which is currently connected with the passive Bluetooth device after opening a Bluetooth application program on the first Bluetooth device, and whether the first Bluetooth device is currently connected with the passive Bluetooth device or not can be determined through the first identification information.
Specifically, if the first identification information is the same as the second identification information corresponding to the first bluetooth device, it indicates that the second bluetooth device currently connected to the passive bluetooth device is the first bluetooth device, that is, when the first bluetooth device is in wired or wireless connection with the passive bluetooth device, bluetooth communication is successfully established with the passive bluetooth device, and 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 as the first bluetooth device, which indicates that even if the second bluetooth device is not in wired or wireless connection with the passive bluetooth device, the passive bluetooth device is still in default bluetooth connection with the second bluetooth device, and therefore, S102 described below needs to be executed to enable the first bluetooth device to establish bluetooth connection with the passive bluetooth device.
The passive Bluetooth device is an electronic device such as a mobile phone, a wireless headset, a notebook computer, a wired screen projector and the like which is provided with a passive Bluetooth module, and the first Bluetooth device and the second Bluetooth device are electronic devices such as a mobile phone, a notebook computer and the like which have Bluetooth connection functions.
If the passive Bluetooth equipment is a wired screen projector or a notebook computer, the first Bluetooth equipment can be in wired connection with the passive Bluetooth equipment by using a corresponding communication line, and when the passive Bluetooth equipment is a wireless earphone or a mobile phone, the first Bluetooth equipment can be in wireless connection with the passive Bluetooth equipment.
Generally, a bluetooth connection module pre-installed on a first bluetooth device may be utilized to implement wireless connection, which is described by taking the first bluetooth device as a mobile phone as an example, the bluetooth connection module is shown on an interface of the first bluetooth device in the form of a bluetooth control, when a user performs an opening operation on the bluetooth control, the first bluetooth device is regarded as sending a bluetooth connection request to a passive bluetooth device, and when the passive bluetooth device receives the bluetooth connection request, the passive bluetooth device performs wireless connection with the first bluetooth device.
S102, 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 a Bluetooth application program, so that the first Bluetooth device and the passive Bluetooth device are connected in a Bluetooth mode.
Restarting the passive bluetooth module refers to a process of powering on the passive bluetooth module again after the passive bluetooth module is powered off, and when the passive bluetooth module is powered on again, the first bluetooth device has an opportunity to squeeze the second bluetooth device out to establish bluetooth connection with the passive bluetooth device.
According to the passive Bluetooth connection method provided by the embodiment of the invention, the passive Bluetooth module in the passive Bluetooth device can be restarted through the Bluetooth application program, so that the passive Bluetooth module can be actively disconnected from the Bluetooth connection with the second Bluetooth device, and the Bluetooth connection with the first Bluetooth device can be established again, and therefore, the data communication between the first Bluetooth device and the passive Bluetooth device can be realized, and the use experience of a user is greatly improved.
Referring to fig. 2, a flowchart of another passive bluetooth connection method according to an embodiment of the present invention is provided. The flow shown in fig. 2 is implemented on the basis of the flow shown in fig. 1. As shown in fig. 2, the process may include the following steps:
s201, when a first Bluetooth device is connected with a passive Bluetooth device, receiving first identification information stored in the passive Bluetooth device, wherein the first identification information is acquired through a Bluetooth application program; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with a passive Bluetooth device at present, the passive Bluetooth device is an electronic device provided with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device;
for the detailed description of S201, reference may be made to the related description in the embodiment shown in fig. 1, and details are not repeated here.
S202, when the first identification information is inconsistent with second identification information corresponding to the first Bluetooth equipment, generating restart indication information; the restarting indication information carries a restarting control;
s203, displaying the restart instruction information in a program interface of the Bluetooth application program;
the restart indication information can be displayed in a pop-up window mode in a program interface of the Bluetooth application program, and the purpose of displaying the restart indication information is to facilitate a user to visually know that the currently used first Bluetooth device is not in Bluetooth connection with the passive Bluetooth device.
S204, responding to the control operation aiming at the restarting control, sending a restarting instruction to the passive Bluetooth equipment so as to trigger the passive Bluetooth equipment to restart the passive Bluetooth module based on the restarting instruction;
the restart control may be a "reconnect" button, so that when a user performs a control operation (for example, a control operation such as a click or a double click) on the button, a restart instruction corresponding to the restart control may be sent to the passive bluetooth device, so that the passive bluetooth device controls the passive bluetooth module to restart.
After the restart is executed, whether the first Bluetooth device is really connected with the passive Bluetooth device is monitored, S201 is executed to compare the first identification information with second identification information corresponding to the first Bluetooth device after the first identification information is acquired, if the comparison result is consistent, the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established after S204 is executed, if the comparison result is inconsistent, S202-S204 are executed, and the processes are repeated until the first Bluetooth device is successfully connected with the passive Bluetooth device.
S205, when the situation that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established is monitored, communication data are sent to the passive Bluetooth device; the communication data is audio data and/or video data.
After the first bluetooth device and the passive bluetooth device are successfully connected in a bluetooth manner, the first bluetooth device and the passive bluetooth device can normally perform data communication, and the data communication process refers to the data communication process between the existing bluetooth devices, which is not repeated herein.
The passive bluetooth connection method provided by the embodiment of the invention can display the generated restart instruction information on a program interface of a bluetooth application program when the first bluetooth device and the passive bluetooth device cannot normally establish bluetooth connection so as to prompt a user, and can send a restart instruction to the passive bluetooth device in response to control operation aiming at a restart control in the restart instruction information so as 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 has an opportunity to re-establish the bluetooth connection with the first bluetooth device, thereby realizing that the first bluetooth device and the passive bluetooth device can perform data communication.
Referring to fig. 3, a block diagram of an embodiment of a passive bluetooth connection apparatus according to an embodiment of the present invention is shown in fig. 3, where the apparatus may include:
the acquiring module 300 is configured to receive first identification information stored in a passive bluetooth device, which is acquired through a bluetooth application program, when a first bluetooth device is connected with the passive bluetooth device; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with a passive Bluetooth device at present, the passive Bluetooth device is an electronic device provided with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device;
and the connection restarting module 301 is configured to restart a passive bluetooth module in the passive bluetooth device through a bluetooth application program when the first identification information is inconsistent with second identification information corresponding to the first bluetooth device, so that the first bluetooth device and the passive bluetooth device establish a bluetooth connection.
In a possible embodiment, the device further comprises (not shown in the figures):
the generating module is used for generating restart indicating information; the restarting indication information carries a restarting control;
and the display module is used for displaying the restart indication information in a program interface of the Bluetooth application program.
In one possible embodiment, the restart connection module is further configured to:
and responding to the control operation aiming at the restarting control, and sending a restarting instruction to the passive Bluetooth equipment so as to trigger the passive Bluetooth equipment to restart the passive Bluetooth module based on the restarting instruction.
In a possible embodiment, the device further comprises (not shown in the figures):
the transmitting module is used for transmitting communication data to the passive Bluetooth equipment when the situation that the Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment is established is monitored; the communication data is audio data and/or video data.
Fig. 4 is a schematic structural diagram of a bluetooth device according to an embodiment of the present invention, where the bluetooth device 500 shown in fig. 4 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in bluetooth device 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 4.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball (trackball), a touch pad or touch screen, etc.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM ), enhanced Synchronous DRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 502 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided by the method embodiments, for example, including:
when the first Bluetooth device is connected with the passive Bluetooth device, receiving first identification information stored in the passive Bluetooth device, wherein the first identification information is acquired through a Bluetooth application program; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with a passive Bluetooth device at present, the passive Bluetooth device is an electronic device provided with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device;
and when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth equipment, restarting a passive Bluetooth module in the passive Bluetooth equipment through a Bluetooth application program so as to establish Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment.
In one possible embodiment, before restarting the passive bluetooth module in the passive bluetooth device by the bluetooth application, the method further comprises:
generating restart indication information; the restarting indication information carries a restarting control;
and displaying the restart indication information in a program interface of the Bluetooth application program.
In one possible embodiment, restarting a passive bluetooth module in a passive bluetooth device through a bluetooth application includes:
and responding to the control operation aiming at the restarting control, and sending a restarting instruction to the passive Bluetooth device so as to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restarting instruction.
In one possible embodiment, the method further comprises:
when the situation that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established is monitored to be completed, communication data are sent to the passive Bluetooth device; the communication data is audio data and/or video data.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in software form in the processor 501. The processor 501 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. 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 method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The bluetooth device provided in this embodiment may be the bluetooth device shown in fig. 4, and may perform all the steps of the passive bluetooth connection method shown in fig. 1-2, so as to achieve the technical effect of the passive bluetooth connection method shown in fig. 1-2, and for brevity, it is not described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, 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, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the passive bluetooth connection method described above.
The processor is used for executing the passive Bluetooth connection program stored in the memory so as to realize the following steps of the passive Bluetooth connection method:
when the first Bluetooth device is connected with the passive Bluetooth device, receiving first identification information stored in the passive Bluetooth device, wherein the first identification information is acquired through a Bluetooth application program; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with a passive Bluetooth device at present, the passive Bluetooth device is an electronic device provided with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device;
and when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth equipment, restarting a passive Bluetooth module in the passive Bluetooth equipment through a Bluetooth application program so as to establish Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment.
In one possible embodiment, before restarting the passive bluetooth module in the passive bluetooth device through the bluetooth application, the method further comprises:
generating restart indication information; the restarting indication information carries a restarting control;
and displaying the restart indication information in a program interface of the Bluetooth application program.
In one possible embodiment, restarting a passive bluetooth module in a passive bluetooth device by a bluetooth application includes:
and responding to the control operation aiming at the restarting control, and sending a restarting instruction to the passive Bluetooth equipment so as to trigger the passive Bluetooth equipment to restart the passive Bluetooth module based on the restarting instruction.
In one possible embodiment, the method further comprises:
when the situation that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established is monitored to be completed, communication data are sent to the passive Bluetooth device; the communication data is audio data and/or video data.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A passive bluetooth connection method, the method comprising:
when the first Bluetooth device is connected with a passive Bluetooth device, receiving first identification information stored in the passive Bluetooth device, wherein the first identification information is acquired through a Bluetooth application program; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with the passive Bluetooth device at present, the passive Bluetooth device is an electronic device with a passive Bluetooth module, and the Bluetooth application program is an application program which is installed in advance on the first Bluetooth device and is matched with the passive Bluetooth device;
and when the first identification information is inconsistent with the second identification information corresponding to the first Bluetooth equipment, restarting a passive Bluetooth module in the passive Bluetooth equipment through the Bluetooth application program so as to establish Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment.
2. The method of claim 1, wherein prior to said restarting a passive Bluetooth module in the passive Bluetooth device via the Bluetooth application, the method further comprises:
generating restart indication information; the restart indication information carries a restart control;
and displaying the restart indication information in a program interface of the Bluetooth application program.
3. The method of claim 2, wherein the restarting, by the bluetooth application, a passive bluetooth module in the passive bluetooth device comprises:
and responding to the control operation aiming at the restarting control, and sending a restarting instruction to the passive Bluetooth device so as to trigger the passive Bluetooth device to restart the passive Bluetooth module based on the restarting instruction.
4. The method of claim 1, further comprising:
when the situation that the Bluetooth connection between the first Bluetooth device and the passive Bluetooth device is established is monitored to be completed, sending communication data to the passive Bluetooth device; wherein the communication data is audio data and/or video data.
5. A passive bluetooth connection apparatus, the apparatus comprising:
the acquisition module is used for receiving first identification information which is acquired through a Bluetooth application program and stored in the passive Bluetooth device when the first Bluetooth device is connected with the passive Bluetooth device; the first identification information is identification information corresponding to a second Bluetooth device which establishes Bluetooth connection with the passive Bluetooth device at present, the passive Bluetooth device is an electronic device with a passive Bluetooth module, and the Bluetooth application program is an application program which is pre-installed on the first Bluetooth device and is matched with the passive Bluetooth device;
and the connection restarting module is used for restarting a passive Bluetooth module in the passive Bluetooth equipment through the Bluetooth application program when the first identification information is inconsistent with second identification information corresponding to the first Bluetooth equipment so as to establish Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment.
6. The apparatus of claim 5, further comprising:
the generating module is used for generating restart indicating information; the restart indication information carries a restart control;
and the display module is used for displaying the restart instruction information in a program interface of the Bluetooth application program.
7. The apparatus of claim 6, wherein the restart connection module is further configured to:
and responding to the control operation aiming at the restarting control, and sending a restarting instruction to the passive Bluetooth equipment so as to trigger the passive Bluetooth equipment to restart the passive Bluetooth module based on the restarting instruction.
8. The apparatus of claim 5, further comprising:
the sending module is used for sending communication data to the passive Bluetooth equipment when the situation that the Bluetooth connection between the first Bluetooth equipment and the passive Bluetooth equipment is established is monitored to be completed; wherein the communication data is audio data and/or video data.
9. A bluetooth device, comprising: a processor and a memory, the processor being configured to execute a passive bluetooth connection program stored in the memory to implement the passive bluetooth connection method of any one of claims 1 to 4.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the passive bluetooth connection method of any one of claims 1 to 4.
CN202211420284.0A 2022-11-11 2022-11-11 Passive Bluetooth connection method and device and Bluetooth equipment Pending CN115734205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211420284.0A CN115734205A (en) 2022-11-11 2022-11-11 Passive Bluetooth connection method and device and Bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211420284.0A CN115734205A (en) 2022-11-11 2022-11-11 Passive Bluetooth connection method and device and Bluetooth equipment

Publications (1)

Publication Number Publication Date
CN115734205A true CN115734205A (en) 2023-03-03

Family

ID=85295569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211420284.0A Pending CN115734205A (en) 2022-11-11 2022-11-11 Passive Bluetooth connection method and device and Bluetooth equipment

Country Status (1)

Country Link
CN (1) CN115734205A (en)

Similar Documents

Publication Publication Date Title
CN112055424B (en) Electronic device and method for switching electronic device
KR101612390B1 (en) Augmenting capabilities of a host device
US20140289415A1 (en) Continuous and concurrent device experience in a multi-device ecosystem
KR20150066083A (en) Multi tasking method of electronic apparatus and electronic apparatus thereof
KR20150026652A (en) Method and apparatus for offering received information to user in a electronic device
KR20150051640A (en) Method and apparatus for checking status of message in a electronic device
KR20130141886A (en) Method and apparatus for performaing capability discovery of rich communication suite in a portable terminal
CN114153570A (en) Application switching method and device
CN112955856A (en) Electronic device displaying a list of executable applications on a split screen and method of operating the same
US10959061B2 (en) Method for acquiring user information and electronic device therefor
CN107423064B (en) Message processing method and device, terminal equipment and storage medium
CN110837343B (en) Snapshot processing method and device and terminal
US11736149B2 (en) Data transmission method for Bluetooth card reader and electronic device
US9042945B2 (en) Parallelization of application launch and activation of mobile data connection for applications requiring remote data in a device
KR20150057085A (en) Apparatas and method for reducing a power consumption in an electronic device
KR20150084284A (en) Status message service providing method of electronic apparatus and electronic apparatus thereof
KR20150117968A (en) Apparatas and method for changing a function according to input direction in an electronic device
KR20150068136A (en) Contents download method of electronic apparatus and electronic appparatus thereof
KR20150026257A (en) Apparatas and method for updating a information of accessory in an electronic device
CN115734205A (en) Passive Bluetooth connection method and device and Bluetooth equipment
CN108881623B (en) Mobile terminal control method, mobile terminal and storage medium thereof
CN114175136A (en) Electronic device for controlling brightness and method for controlling brightness thereof
CN107967155B (en) Method, device, server and medium for realizing program operation based on Hook shared library
CN116737258B (en) Method and related device for unloading application
CN114374959A (en) Bluetooth connection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination