CN109005532B - Bluetooth connection method, Bluetooth master device and Bluetooth slave device - Google Patents

Bluetooth connection method, Bluetooth master device and Bluetooth slave device Download PDF

Info

Publication number
CN109005532B
CN109005532B CN201811056502.0A CN201811056502A CN109005532B CN 109005532 B CN109005532 B CN 109005532B CN 201811056502 A CN201811056502 A CN 201811056502A CN 109005532 B CN109005532 B CN 109005532B
Authority
CN
China
Prior art keywords
bluetooth
slave device
master device
connection
channel
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.)
Active
Application number
CN201811056502.0A
Other languages
Chinese (zh)
Other versions
CN109005532A (en
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.)
Beijing Huada Zhibao Electronic System Co Ltd
Original Assignee
Beijing Huada Zhibao Electronic System 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 Beijing Huada Zhibao Electronic System Co Ltd filed Critical Beijing Huada Zhibao Electronic System Co Ltd
Priority to CN201811056502.0A priority Critical patent/CN109005532B/en
Publication of CN109005532A publication Critical patent/CN109005532A/en
Application granted granted Critical
Publication of CN109005532B publication Critical patent/CN109005532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a Bluetooth connection method, Bluetooth master equipment and Bluetooth slave equipment, wherein the method comprises the following steps: the Bluetooth master device establishes Bluetooth connection with the first Bluetooth slave device first, so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device, then the Bluetooth master device sends a Bluetooth command to the first Bluetooth slave device through the first Bluetooth channel, and if the Bluetooth master device receives an active command sent by the first Bluetooth slave device through a contact channel based on the Bluetooth command, long connection is established between the Bluetooth master device and the first Bluetooth slave device. Therefore, even if a plurality of Bluetooth slave devices exist around the Bluetooth master device, the Bluetooth master device can distinguish the first Bluetooth slave device installed on the Bluetooth master device from the plurality of Bluetooth slave devices according to whether an active command is received, so that the operation required to be executed by a user is reduced, and the efficiency of establishing Bluetooth long connection between the Bluetooth master device and the first Bluetooth slave device is improved.

Description

Bluetooth connection method, Bluetooth master device and Bluetooth slave device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a bluetooth connection method, a bluetooth master device, and a bluetooth slave device.
Background
SIM (Subscriber Identity Module) cards, which may also be called Subscriber Identity cards and smart cards, are currently commonly used in mobile communication network dedicated terminals. The bluetooth SIM card refers to an SIM card with bluetooth communication capability, and belongs to one of bluetooth devices.
In the existing scheme for establishing connection between a mobile phone and a bluetooth SIM card, the mobile phone generally scans a nearby bluetooth SIM card to be matched, and then a user selects the bluetooth SIM card to be matched from a scanned bluetooth device list on the mobile phone and performs corresponding pairing operation, so that after pairing is successful, normal data communication can be performed between the mobile phone and the bluetooth SIM card. However, in practical applications, the environment where the mobile phone is located may include not only the to-be-matched bluetooth SIM card, but also a plurality of bluetooth SIM cards (such as devices shipped from a manufacturer) belonging to the same type of product as the to-be-matched bluetooth SIM card, so that a plurality of bluetooth device identifiers with similar numbers may be present on the bluetooth device list, and a user cannot determine which bluetooth device is the to-be-matched bluetooth SIM card that needs to be paired with the mobile phone from the bluetooth devices corresponding to the plurality of bluetooth device identifiers.
At present, in a solution to the above scheme, a two-dimensional code is usually arranged on a bluetooth SIM card, and a mobile phone can obtain pairing information of the bluetooth SIM card by scanning the two-dimensional code on the bluetooth SIM card, so that the mobile phone can determine the bluetooth SIM card to be matched according to the pairing information, and complete pairing and connection with the bluetooth SIM card. However, the bluetooth SIM card is usually inserted into the SIM card slot of the mobile phone, and does not have a condition for displaying the two-dimensional code, so that when the mobile phone needs to be paired with the bluetooth SIM card, the user needs to take out the bluetooth SIM card from the card slot, and thus, the operation process required by the user is complicated, and the efficiency of establishing connection between the mobile phone and the bluetooth SIM card is low.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present application is to provide a bluetooth connection method, a bluetooth master device, and a bluetooth slave device, so as to simplify operation steps that a user needs to execute when establishing a connection between a bluetooth SIM card and a bluetooth master device such as a mobile phone, and improve efficiency of establishing a connection between the bluetooth SIM card and the bluetooth master device.
In a first aspect, an embodiment of the present application provides a bluetooth connection method, where the method is applied to a bluetooth master device, and the method includes:
establishing a Bluetooth connection with a first Bluetooth slave device so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device;
sending a Bluetooth instruction to the first Bluetooth slave device through the first Bluetooth channel;
and if receiving an active command sent by the first Bluetooth slave device through a contact type channel, establishing long connection between the Bluetooth master device and the first Bluetooth slave device.
In some possible embodiments, if an active command sent by the first bluetooth slave device through a contact channel is received, establishing a long connection between the bluetooth master device and the first bluetooth slave device includes:
if an active command sent by the first Bluetooth slave device based on a contact channel is received, presenting an STK menu, wherein the STK menu is used for prompting a user whether to allow the Bluetooth master device to establish long connection with the first Bluetooth slave device;
and establishing the long connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user allows the long connection to be established.
In some possible embodiments, the establishing a long connection between the bluetooth master device and the first bluetooth slave device based on an operation that a user allows to establish a long connection includes:
transmitting polling information to the first Bluetooth slave device through the first Bluetooth channel;
after the STK menu sends the operation that the user allows to establish the long connection to the first Bluetooth slave device through a contact channel, receiving confirmation information which is sent by the first Bluetooth slave device based on the polling information and allows to establish the long connection;
and determining to establish a long connection between the Bluetooth master device and the first Bluetooth slave device according to the confirmation information.
In some possible embodiments, the method further comprises:
and if the active command is not received, determining to disconnect the established Bluetooth connection with the first Bluetooth slave equipment.
In some possible embodiments, the method further comprises:
and disconnecting the established Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user refuses to establish the long connection.
In some possible embodiments, the method further comprises:
after disconnecting the established Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device, establishing a Bluetooth connection with a second Bluetooth slave device so that a second Bluetooth channel is formed between the Bluetooth master device and the second Bluetooth slave device;
sending a Bluetooth instruction to the second Bluetooth slave device through the second Bluetooth channel;
and if receiving an active command sent by the second Bluetooth slave device through a contact type channel, determining to establish long connection with the second Bluetooth slave device.
In some possible embodiments, the first bluetooth slave device and the second bluetooth slave device have the same characteristic value, and the RSSI value of the first bluetooth slave device is greater than or equal to the RSSI value of the second bluetooth slave device;
wherein the characteristic value comprises a PID and/or a VID.
In a second aspect, an embodiment of the present application provides a bluetooth connection method, where the method is applied to a bluetooth slave device, and the method includes:
establishing a Bluetooth connection with a Bluetooth master device so that a Bluetooth first Bluetooth channel is formed between the Bluetooth master device and the Bluetooth slave device;
receiving a Bluetooth instruction sent by the Bluetooth master device through the first Bluetooth channel;
and sending an active command to the Bluetooth master device through a contact channel based on the Bluetooth command, so that the Bluetooth master device establishes a long connection between the Bluetooth master device and the first Bluetooth slave device after receiving the active command.
In some possible embodiments, based on the bluetooth instruction, sending an active command to the bluetooth master device through a contact channel, so that the bluetooth master device establishes a long connection between the bluetooth master device and the first bluetooth slave device after receiving the active command, includes:
based on the Bluetooth instruction, sending an active command to the Bluetooth master device through a contact channel, so that the Bluetooth master device presents an STK menu after receiving the active command, and based on the operation that a user allows a long connection to be established, the Bluetooth master device establishes a long connection with the first Bluetooth slave device;
the STK menu is used for prompting a user whether to allow the Bluetooth master device and the first Bluetooth slave device to establish long connection.
In some possible embodiments, the method further comprises:
receiving polling information sent by the Bluetooth master device through the first Bluetooth channel;
after receiving the operation that the user allows the long connection to be established and sent by the STK menu through a contact type channel, sending confirmation information allowing the long connection to be established to the Bluetooth master device based on the polling information, so that the Bluetooth master device determines to establish the long connection between the Bluetooth master device and the first Bluetooth slave device according to the confirmation information.
In a third aspect, an embodiment of the present application further provides a bluetooth master device, where the bluetooth master device includes:
the first establishing unit is used for establishing Bluetooth connection with a first Bluetooth slave device so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device;
the transmitting unit is used for transmitting a Bluetooth instruction to the first Bluetooth slave equipment through the first Bluetooth channel;
and the second establishing unit is used for establishing long connection between the Bluetooth master device and the first Bluetooth slave device if receiving an active command sent by the first Bluetooth slave device through a contact type channel.
In some possible embodiments, the second establishing unit includes:
the presentation subunit is configured to, if an active command sent by the first bluetooth slave device based on a contact channel is received, present an STK menu, where the STK menu is used to prompt a user whether to allow the bluetooth master device and the first bluetooth slave device to establish a long connection;
and the establishing subunit is used for establishing the long connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user allows the long connection to be established.
In some possible embodiments, establishing a subunit includes:
the sending module is used for sending polling information to the first Bluetooth slave equipment through the first Bluetooth channel;
the receiving module is used for receiving confirmation information which is sent by the first Bluetooth slave device based on the polling information and allows the long connection to be established after the STK menu sends the operation that the user allows the long connection to be established to the first Bluetooth slave device through a contact channel;
and the determining module is used for determining that long connection is established between the Bluetooth master device and the first Bluetooth slave device according to the confirmation information.
In some possible embodiments, the bluetooth master device further comprises:
and the determining unit is used for determining to disconnect the established Bluetooth connection with the first Bluetooth slave equipment if the active command is not received.
In some possible embodiments, the bluetooth master device further comprises:
and the disconnection unit is used for disconnecting the established Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user refuses to establish the long connection.
In some possible embodiments, the bluetooth master device further comprises:
a third establishing unit, configured to establish a bluetooth connection with a second bluetooth slave device after disconnecting the established bluetooth connection between the bluetooth master device and the first bluetooth slave device, so that a second bluetooth channel is provided between the bluetooth master device and the second bluetooth slave device;
the instruction sending unit is used for sending a Bluetooth instruction to the second Bluetooth slave equipment through the second Bluetooth channel;
and the fourth establishing unit is used for determining that long connection is established with the second Bluetooth slave device if an active command sent by the second Bluetooth slave device through a contact channel is received.
In some possible embodiments, the first bluetooth slave device and the second bluetooth slave device have the same characteristic value, and the RSSI value of the first bluetooth slave device is greater than or equal to the RSSI value of the second bluetooth slave device;
wherein the characteristic value comprises a PID and/or a VID.
In a fourth aspect, an embodiment of the present application further provides a bluetooth slave device, where the bluetooth slave device includes:
the establishing unit is used for establishing connection with a Bluetooth master device so that a first Bluetooth channel is formed between the Bluetooth master device and the Bluetooth slave device;
the receiving unit is used for receiving a Bluetooth instruction sent by the Bluetooth master device through the first Bluetooth channel;
and the sending unit is used for sending an active command to the Bluetooth master device through a contact type channel based on the Bluetooth command, so that after the Bluetooth master device receives the active command, long connection is established between the Bluetooth master device and the first Bluetooth slave device.
In some possible embodiments, the sending unit is specifically configured to send an active command to the bluetooth master device through a contact channel based on the bluetooth instruction, so that the bluetooth master device presents an STK menu after receiving the active command, and establishes a long connection between the bluetooth master device and the first bluetooth slave device based on an operation that a user allows a long connection to be established;
the STK menu is used for prompting a user whether to allow the Bluetooth master device and the first Bluetooth slave device to establish long connection.
In some possible embodiments, the first bluetooth slave device further comprises:
the polling information receiving unit is used for receiving polling information sent by the Bluetooth master equipment through the first Bluetooth channel;
and the confirmation information sending unit is used for sending confirmation information for allowing the long connection to be established to the Bluetooth master device based on the polling information after receiving the operation which is sent by the STK menu through a contact type channel and allowed by the user to establish the long connection, so that the Bluetooth master device determines to establish the long connection between the Bluetooth master device and the first Bluetooth slave device according to the confirmation information.
In the foregoing implementation manner of the embodiment of the application, the bluetooth master device may first establish a bluetooth connection with the first bluetooth slave device, so that a first bluetooth channel is provided between the bluetooth master device and the first bluetooth slave device, and then, it may be checked whether the first bluetooth slave device is installed on the bluetooth master device, during the specific check, the bluetooth master device may send a bluetooth instruction to the first bluetooth slave device through the first bluetooth channel, and if the bluetooth master device receives an active command sent by the first bluetooth slave device through the contact channel based on the bluetooth instruction, a long connection is established between the bluetooth master device and the first bluetooth slave device. Therefore, even if a plurality of Bluetooth slave devices exist around the Bluetooth master device, the Bluetooth master device can distinguish the first Bluetooth slave device installed on the Bluetooth master device from the plurality of Bluetooth slave devices, so that in the process of establishing long connection between the Bluetooth master device and the first Bluetooth slave device, a user does not need to detach the first Bluetooth slave device from the Bluetooth master device, the operation required to be executed by the user is reduced, and the efficiency of establishing the long Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a schematic diagram of an application scenario in an embodiment of the present application;
fig. 2 is a flowchart illustrating a bluetooth connection method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating another bluetooth connection method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a bluetooth master device in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a bluetooth slave device in the embodiment of the present application.
Detailed Description
At present, in order to facilitate the mobile phone to accurately identify the bluetooth SIM card inserted in the SIM card slot of the mobile phone and establish a bluetooth long connection with the bluetooth SIM card, a two-dimensional code is usually arranged on the bluetooth SIM card, and the two-dimensional code contains pairing information of the bluetooth SIM card. Therefore, even if a plurality of Bluetooth devices exist in the environment where the mobile phone is located, after the mobile phone obtains the matching information of the Bluetooth SIM card by scanning the two-dimensional code on the Bluetooth SIM card, the Bluetooth SIM card to be matched can be identified from the plurality of Bluetooth devices according to the matching information, and therefore the Bluetooth matching and connection of the mobile phone and the Bluetooth SIM card can be realized. However, the bluetooth SIM card is usually inserted into an SIM card slot of the mobile phone, and each time the mobile phone is connected to the bluetooth SIM card in a bluetooth manner, the user needs to remove the bluetooth SIM card from the card slot, so that the mobile phone can scan the two-dimensional code on the bluetooth SIM card and obtain the pairing information of the bluetooth SIM card, which not only makes the operation process required to be performed by the user complicated, but also makes the connection establishment efficiency between the mobile phone and the bluetooth SIM card low.
In order to solve the above problem, an embodiment of the present application provides a bluetooth connection method, so as to simplify operation steps that a user needs to execute when a connection is established between a bluetooth SIM card and a bluetooth host device such as a mobile phone, and improve efficiency of establishing a connection between the bluetooth SIM card and the bluetooth host device. Specifically, if a bluetooth master device (e.g., a mobile phone, etc.) needs to establish a long connection with a first bluetooth slave device (e.g., a bluetooth SIM card, a SIM shield, etc.), the bluetooth master device may first establish a bluetooth connection with the first bluetooth slave device, so that a first bluetooth channel is provided between the bluetooth master device and the first bluetooth slave device, and then it may be verified whether the first bluetooth slave device is installed on the bluetooth master device, during the specific verification, the bluetooth master device may send a bluetooth instruction to the first bluetooth slave device through the first bluetooth channel, and if the bluetooth master device receives an active command sent by the first bluetooth slave device through a contact channel based on the bluetooth instruction, the long connection is established between the bluetooth master device and the first bluetooth slave device.
Therefore, even if a plurality of Bluetooth slave devices exist around the Bluetooth master device, the Bluetooth master device can distinguish the first Bluetooth slave device installed on the Bluetooth master device from the plurality of Bluetooth slave devices, so that in the process of establishing long connection between the Bluetooth master device and the first Bluetooth slave device, a user does not need to detach the first Bluetooth slave device from the Bluetooth master device, the operation required to be executed by the user is reduced, and the efficiency of establishing the long Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device is improved.
For example, the embodiments of the present application may be applied to the exemplary scenario shown in fig. 1. In the application scenario, the bluetooth SIM card 102 needs to perform data interaction with the mobile phone 101 through bluetooth to implement a specific application, the user may open the application on the mobile phone 101, and click a "bluetooth connection" button presented by the mobile phone 101 to trigger the bluetooth long connection between the mobile phone 101 and the bluetooth SIM card 102, the mobile phone 101 responds to the click operation of the user on the "bluetooth connection" button, and first directly establishes a bluetooth connection with the bluetooth SIM card 102 to enable a bluetooth channel to be formed between the mobile phone 101 and the bluetooth SIM card 102, and then the mobile phone 101 may send a bluetooth connection instruction to the bluetooth SIM card 102 through the bluetooth channel, if the mobile phone 101 can receive an active command sent by the bluetooth SIM card 102 through a contact channel, it indicates that the bluetooth SIM card 102 is a device plugged in the mobile phone 101, and then the mobile phone 101 may establish the long connection with the bluetooth SIM card 102, that is, the bluetooth connection between the bluetooth SIM card 102 and the mobile phone 101 is maintained, so that the bluetooth SIM card 102 can perform data interaction with the mobile phone 101 to implement a specific application.
It should be noted that, in fig. 1, the bluetooth SIM card 102 is inserted in the mobile phone 101, and the scenario shown in fig. 1 is only one scenario example provided in the embodiment of the present application, and the embodiment of the present application is not limited to this scenario.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, various non-limiting embodiments accompanying the present application examples are described below with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all 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 application.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a bluetooth connection method in an embodiment of the present application, where the method specifically includes:
s201: the Bluetooth master device and the first Bluetooth slave device establish Bluetooth connection, so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device.
In this embodiment, if the bluetooth master device needs to establish a bluetooth connection with the first bluetooth slave device, the bluetooth master device may directly establish a bluetooth connection with the first bluetooth slave device, so that a first bluetooth channel based on a bluetooth protocol layer may be provided between the bluetooth master device and the first bluetooth slave device, and the bluetooth master device may perform data interaction with the first bluetooth slave device through the first bluetooth channel.
It should be noted that although the bluetooth master device establishes a bluetooth connection with the first bluetooth slave device, the first bluetooth slave device is not necessarily installed on the bluetooth master device, that is, the first bluetooth slave device is not a device that really needs to perform a bluetooth connection with the bluetooth master device. Therefore, after the bluetooth connection is established between the bluetooth master device and the first bluetooth slave device, it is further required to check whether the first bluetooth slave device is installed on the bluetooth master device, if so, it indicates that the first bluetooth slave device is a device that needs to perform bluetooth connection with the bluetooth master device, and if not, the connection between the bluetooth master device and the first bluetooth slave device may be disconnected, specifically, the method may be implemented by continuing to execute steps S202 to S203.
S202: and the Bluetooth master device sends a Bluetooth instruction to the first Bluetooth slave device through the first Bluetooth channel.
S203: and the first Bluetooth slave device sends an active command to the Bluetooth master device through the contact type channel based on the received Bluetooth instruction.
When the first Bluetooth slave device is checked to be installed on the Bluetooth master device, the Bluetooth master device can send a Bluetooth instruction to the first Bluetooth slave device through the first Bluetooth channel, and therefore the first Bluetooth slave device can give corresponding feedback to the Bluetooth master device based on the received Bluetooth instruction. Specifically, if the first bluetooth slave device is installed on the bluetooth master device, a contact channel exists between the first bluetooth slave device and the bluetooth master device, and the first bluetooth slave device can send an active command to the bluetooth master device through the contact channel, so that the bluetooth master device can determine that the first bluetooth slave device is installed on the bluetooth master device according to the received active command; of course, if the first bluetooth slave device is not installed on the bluetooth master device, there is no contact channel between the first bluetooth slave device and the bluetooth master device for communication, so that the first bluetooth slave device cannot send active commands to the bluetooth master device.
S204: and if the Bluetooth master device receives the active command sent by the first Bluetooth slave device through the contact type channel, establishing long connection between the Bluetooth master device and the first Bluetooth slave device.
In this embodiment, if the bluetooth master device is capable of receiving the active command, it indicates that the first bluetooth slave device is installed on the bluetooth master device, and is a device that needs to establish a bluetooth connection with the bluetooth master device, a long connection may be established between the bluetooth master device and the first bluetooth slave device, that is, the established bluetooth connection between the bluetooth master device and the first bluetooth slave device is kept from being disconnected.
Of course, in some possible embodiments, if the bluetooth master device does not receive the active command, the bluetooth master device may determine that the first bluetooth slave device is not a device with which the bluetooth connection needs to be established, and thus the bluetooth master device may disconnect the bluetooth connection without continuing to maintain the established bluetooth connection with the first bluetooth slave device.
In practical applications, the waiting time for the bluetooth master device to receive the active command may be limited, so as to determine whether the bluetooth master device receives the active command. Specifically, after sending a bluetooth command to the first bluetooth slave device, the bluetooth master device may start timing, and if the timing time reaches a preset time threshold value, the bluetooth master device still does not receive an active command, it may be determined that the bluetooth master device does not receive the active command, and disconnect the bluetooth connection established with the first bluetooth slave device; if the bluetooth master device has received the active command when the timing time is less than the preset time threshold, it may be determined that the first bluetooth slave device that sends the active command is the device that needs to establish a bluetooth connection with the bluetooth master device, and establish a long connection, that is, continue to keep the established bluetooth connection between the first bluetooth slave device and the bluetooth master device from being disconnected.
In some possible embodiments, the user may control whether a long connection is established between the bluetooth master device and the first bluetooth slave device even if the bluetooth master device is able to receive the active command within a preset time threshold. Specifically, if the bluetooth master device receives an active command sent by the first bluetooth slave device through the contact channel, an STK menu may be presented, where the STK menu is used to prompt a user whether to allow the bluetooth master device to establish a long connection with the first bluetooth slave device, and then, based on an operation that the user allows the long connection to be established, the bluetooth master device establishes a long connection with the first bluetooth slave device. Of course, if the user performs an operation of rejecting the establishment of the long connection, the bluetooth master device may disconnect the established connection with the first bluetooth slave device based on the rejection operation.
For example, after receiving the active command, the bluetooth master device may present an STK menu on a touch display screen of the bluetooth master device, and may present controls of "connection rejection" and "connection confirmation", where the "connection rejection" control is used to trigger the bluetooth master device to disconnect the bluetooth connection from the first bluetooth slave device, and the "connection confirmation" control is used to trigger the bluetooth master device to establish a long connection with the first bluetooth slave device. And then, the user executes selection operation in the two presented controls, if the user clicks the connection refusing control, the Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device is disconnected, and if the user clicks the connection confirming control, the Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device is maintained, and the long connection is established.
In practical applications, a time limit may be set for the STK menu to wait for the user to perform an operation of allowing or rejecting the long connection, specifically, if the user performs an operation of allowing or rejecting the establishment of the long connection within a preset time range, the bluetooth master device may maintain or disconnect the bluetooth connection with the first bluetooth slave device based on the operation performed by the user; and if the user does not perform the operation of allowing or refusing to establish the long connection within the preset time range, waiting for the response timeout, and determining to disconnect the Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device.
In a further embodiment of allowing the long connection to be established, after receiving the active command, the bluetooth master device may periodically send a polling message to the first bluetooth slave device through the first bluetooth channel, and at the same time, after receiving an operation of allowing the long connection to be established by the user sent by the STK menu through the contact channel, the first bluetooth slave device may send confirmation information allowing the long connection to be established to the bluetooth master device to notify the bluetooth master device that the user confirms the establishment of the long connection, so that the bluetooth master device may determine that the long connection is established between the bluetooth master device and the first bluetooth slave device after receiving the confirmation information sent by the first bluetooth slave device based on the polling information.
In this embodiment, the bluetooth master device may establish a bluetooth connection with the first bluetooth slave device first, so that a first bluetooth channel is provided between the bluetooth master device and the first bluetooth slave device, and then, it may be checked whether the first bluetooth slave device is installed on the bluetooth master device, during the specific check, the bluetooth master device may send a bluetooth instruction to the first bluetooth slave device through the first bluetooth channel, and if the bluetooth master device receives an active command sent by the first bluetooth slave device through the contact channel based on the bluetooth instruction, a long connection is established between the bluetooth master device and the first bluetooth slave device. Therefore, even if a plurality of Bluetooth slave devices exist around the Bluetooth master device, the Bluetooth master device can distinguish the first Bluetooth slave device installed on the Bluetooth master device from the plurality of Bluetooth slave devices, so that in the process of establishing long connection between the Bluetooth master device and the first Bluetooth slave device, a user does not need to detach the first Bluetooth slave device from the Bluetooth master device, the operation required to be executed by the user is reduced, and the efficiency of establishing the long Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device is improved.
In the above embodiment, a detailed process of establishing a bluetooth connection between a bluetooth master device and one bluetooth slave device is described in detail, however, in practical application, when the bluetooth master device performs identification scanning on the bluetooth slave devices around the bluetooth master device, a plurality of bluetooth slave devices are obtained by scanning, and at this time, the bluetooth master device needs to determine a bluetooth slave device that needs to establish a long connection with the bluetooth slave device from the plurality of bluetooth slave devices. Specifically, in the process of determining the bluetooth slave device which needs to establish a long connection with the bluetooth master device, the bluetooth master device may sequentially establish a bluetooth connection with each bluetooth slave device, and verify whether the currently connected bluetooth slave device really has a requirement for establishing a bluetooth connection with the bluetooth master device after establishing the bluetooth connection, if so, establish the long connection, if not, the bluetooth master device disconnects the currently established bluetooth connection, and establishes bluetooth with the next bluetooth slave device to continue verification, and the above process is repeatedly executed until the bluetooth slave device establishes a long connection with the bluetooth master device.
In the following, an example is given in which the bluetooth master device recognizes the first bluetooth slave device and the second bluetooth slave device, and establishes a long connection with the second bluetooth slave device. Referring to fig. 3, fig. 3 is a flowchart illustrating another bluetooth connection method in this embodiment, where the method specifically may include:
s301: the Bluetooth master device scans the Bluetooth slave devices around the Bluetooth master device to determine a first Bluetooth slave device and a second Bluetooth slave device around the Bluetooth master device.
As an exemplary embodiment, the bluetooth master device may turn on the bluetooth function on the bluetooth master device and start scanning nearby bluetooth slave devices in response to a user's trigger operation for turning on bluetooth. In practical applications, after the bluetooth master device scans a plurality of bluetooth slave devices, the plurality of bluetooth slave devices may be filtered by using the feature value. Specifically, the bluetooth master device may obtain a broadcast packet of each bluetooth slave device obtained by scanning, where the broadcast packet includes device information of the corresponding bluetooth slave device, such as a name, a MAC value, a PID (Product Identity ), a VID (Vendor Identity), and the like of the bluetooth slave device. Bluetooth slave devices that match the predetermined characteristic value may then be selected from the plurality of bluetooth slave devices, for example, since the PIDs and VIDs of bluetooth slave devices manufactured by the same manufacturer are generally the same, bluetooth slave devices having a particular PID/VID may be selected from the plurality of bluetooth slave devices.
In this embodiment, it is assumed that after information filtering is performed on a plurality of bluetooth slave devices obtained by scanning a bluetooth master device, it can be determined that the bluetooth slave devices that need to establish a connection with the bluetooth master device include a first bluetooth slave device and a second bluetooth slave device.
In this embodiment, when determining the order of establishing the bluetooth connection between the first bluetooth slave device and the bluetooth master device, the order may be determined according to an RSSI (Received Signal Strength Indication) value of the bluetooth slave device. As an example, if the RSSI value of the first bluetooth slave device is greater than the RSSI value of the second bluetooth slave device, the bluetooth master device preferentially establishes a bluetooth connection with the first bluetooth slave device, and performs a subsequent authentication process.
S302: the Bluetooth master device and the first Bluetooth slave device establish Bluetooth connection, so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device.
S303: and the Bluetooth master device sends a Bluetooth instruction to the first Bluetooth slave device through the first Bluetooth channel.
In this embodiment, steps S302 and S303 are similar to steps S201 to S202 in the previous embodiment, and specific reference may be made to the description of the relevant parts of the previous embodiment, which is not described herein again.
S304: and if the Bluetooth master device does not receive the active command, disconnecting the established Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device.
It can be understood that if the first bluetooth slave device is not installed on the bluetooth master device, there is no contact channel between the first bluetooth slave device and the bluetooth master device, and therefore, after the bluetooth master device sends a bluetooth instruction, it cannot receive an active command, and at this time, it may be determined that the first bluetooth slave device is not a device that needs to establish a bluetooth connection with the bluetooth master device, so that the established bluetooth connection between the bluetooth master device and the first bluetooth slave device may be disconnected.
S305: and the Bluetooth master device establishes Bluetooth connection with the second Bluetooth slave device so that a second Bluetooth channel is formed between the Bluetooth master device and the second Bluetooth slave device.
After the bluetooth connection established between the bluetooth master device and the first bluetooth slave device is disconnected, the bluetooth master device may start to establish a bluetooth connection with the second bluetooth slave device, and perform a subsequent verification process to determine whether the second bluetooth slave device is a device that needs to establish a long connection with the bluetooth master device. In this embodiment, the bluetooth master device may directly establish a bluetooth connection with the second bluetooth slave device, and thus, a second bluetooth channel based on a bluetooth protocol layer may be provided between the bluetooth master device and the second bluetooth slave device, and the bluetooth master device may perform data interaction with the second bluetooth slave device through the second bluetooth channel.
S306: and the Bluetooth master device sends a Bluetooth instruction to the second Bluetooth slave device through the second Bluetooth channel.
S307: and the second Bluetooth slave device sends an active command to the Bluetooth master device through the contact type channel based on the received Bluetooth instruction.
When the second Bluetooth slave device is checked to be installed on the Bluetooth master device, the Bluetooth master device can send a Bluetooth instruction to the second Bluetooth slave device through the second Bluetooth channel, and therefore the second Bluetooth slave device can give corresponding feedback to the Bluetooth master device based on the received Bluetooth instruction. Specifically, if the second bluetooth slave device is installed on the bluetooth master device, a contact channel exists between the second bluetooth slave device and the bluetooth master device, and the second bluetooth slave device can send an active command to the bluetooth master device through the contact channel, so that the bluetooth master device can determine that the second bluetooth slave device is installed on the bluetooth master device according to the received active command; of course, if the second bluetooth slave device is not installed on the bluetooth master device, there is no contact channel between the second bluetooth slave device and the bluetooth master device for communication, so that the second bluetooth slave device cannot send active commands to the bluetooth master device.
S308: and if the Bluetooth master device receives an active command sent by the second Bluetooth slave device through the contact type channel, establishing long connection between the Bluetooth master device and the second Bluetooth slave device.
It can be understood that, when the second bluetooth slave device is installed on the bluetooth master device, the second bluetooth slave device only has a contact channel with the bluetooth master device, and the bluetooth master device can receive the active command sent by the second bluetooth slave device through the contact channel, at this time, the bluetooth master device can maintain the bluetooth connection established with the second bluetooth slave device, that is, establish a long connection with the second bluetooth slave device.
It should be noted that, in this embodiment, it is exemplified that the bluetooth master device sequentially connects the first bluetooth slave device and the second bluetooth slave device, in practical application, the bluetooth master device may sequentially establish bluetooth connections with a plurality of bluetooth slave devices and perform verification until the bluetooth master device can receive an active command, and maintain the established bluetooth connection with the currently connected bluetooth slave device based on the active command.
In this embodiment, if the bluetooth master device does not receive the active command after establishing connection with the first bluetooth slave device, which indicates that the first bluetooth slave device is not the bluetooth slave device installed on the bluetooth master device, the bluetooth master device may disconnect the bluetooth connection established with the first bluetooth slave device, start establishing bluetooth connection with the second bluetooth slave device, and establish a long connection with the second bluetooth slave device after receiving the active command sent by the second bluetooth slave device through the contact channel. In the process, the Bluetooth master device can determine the second Bluetooth slave device installed on the Bluetooth master device from the plurality of Bluetooth slave devices, and the user does not need to detach the second Bluetooth slave device from the Bluetooth master device to establish Bluetooth connection with the Bluetooth master device, so that the operation required to be executed by the user is reduced, and the efficiency of establishing Bluetooth long connection between the Bluetooth master device and the second Bluetooth slave device is improved.
In addition, the embodiment of the application also provides the Bluetooth master device. Referring to fig. 4, fig. 4 shows a schematic structural diagram of a bluetooth master device in the embodiment of the present application, where the bluetooth master device 400 may specifically include:
a first establishing unit 401, configured to establish a bluetooth connection with a first bluetooth slave device, so that a first bluetooth channel is provided between the bluetooth master device and the first bluetooth slave device;
a sending unit 402, configured to send a bluetooth instruction to the first bluetooth slave device through the first bluetooth channel;
a second establishing unit 403, configured to establish a long connection between the bluetooth master device and the first bluetooth slave device if an active command sent by the first bluetooth slave device through a contact channel is received.
In some possible embodiments, the second establishing unit 403 includes:
the presentation subunit is configured to, if an active command sent by the first bluetooth slave device based on a contact channel is received, present an STK menu, where the STK menu is used to prompt a user whether to allow the bluetooth master device and the first bluetooth slave device to establish a long connection;
and the establishing subunit is used for establishing the long connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user allows the long connection to be established.
In some possible embodiments, establishing a subunit includes:
the sending module is used for sending polling information to the first Bluetooth slave equipment through the first Bluetooth channel;
the receiving module is used for receiving confirmation information which is sent by the first Bluetooth slave device based on the polling information and allows the long connection to be established after the STK menu sends the operation that the user allows the long connection to be established to the first Bluetooth slave device through a contact channel;
and the determining module is used for determining that long connection is established between the Bluetooth master device and the first Bluetooth slave device according to the confirmation information.
In some possible embodiments, the bluetooth master device 400 further includes:
and the determining unit is used for determining to disconnect the established Bluetooth connection with the first Bluetooth slave equipment if the active command is not received.
In some possible embodiments, the bluetooth master device 400 further includes:
and the disconnection unit is used for disconnecting the established Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user refuses to establish the long connection.
In some possible embodiments, the bluetooth master device 400 further includes:
a third establishing unit, configured to establish a bluetooth connection with a second bluetooth slave device after disconnecting the established bluetooth connection between the bluetooth master device and the first bluetooth slave device, so that a second bluetooth channel is provided between the bluetooth master device and the second bluetooth slave device;
the instruction sending unit is used for sending a Bluetooth instruction to the second Bluetooth slave equipment through the second Bluetooth channel;
and the fourth establishing unit is used for determining that long connection is established with the second Bluetooth slave device if an active command sent by the second Bluetooth slave device through a contact channel is received.
In some possible embodiments, the first bluetooth slave device and the second bluetooth slave device have the same characteristic value, and the RSSI value of the first bluetooth slave device is greater than or equal to the RSSI value of the second bluetooth slave device;
wherein the characteristic value comprises a PID and/or a VID.
In this embodiment, if the bluetooth master device receives the active command sent by the first bluetooth slave device from the contact channel, it indicates that the first bluetooth slave device is a device installed on the bluetooth master device, and therefore, even if there are multiple bluetooth slave devices around the bluetooth master device, the bluetooth master device can distinguish the first bluetooth slave device installed on the bluetooth master device from the multiple bluetooth slave devices, so that in the process of establishing a long connection between the bluetooth master device and the first bluetooth slave device, it is not necessary for the user to detach the first bluetooth slave device from the bluetooth master device, and further, operations that the user needs to perform are reduced, and the efficiency of establishing a long bluetooth connection between the bluetooth master device and the first bluetooth slave device is improved.
In addition, the embodiment of the application also provides Bluetooth slave equipment. Referring to fig. 5, fig. 5 shows a schematic structural diagram of a bluetooth slave device in an embodiment of the present application, where the bluetooth slave device 500 includes:
an establishing unit 501, configured to establish a connection with a bluetooth master device, so that a first bluetooth channel exists between the bluetooth master device and the bluetooth slave device;
a receiving unit 502, configured to receive a bluetooth instruction sent by the bluetooth master device through the first bluetooth channel;
a sending unit 503, configured to send an active command to the bluetooth master device through a contact channel based on the bluetooth instruction, so that after receiving the active command, the bluetooth master device establishes a long connection between the bluetooth master device and the first bluetooth slave device.
In some possible embodiments, the sending unit 503 is specifically configured to send an active command to the bluetooth master device through a contact channel based on the bluetooth instruction, so that the bluetooth master device presents an STK menu after receiving the active command, and establishes a long connection between the bluetooth master device and the first bluetooth slave device based on an operation that a user allows to establish a long connection;
the STK menu is used for prompting a user whether to allow the Bluetooth master device and the first Bluetooth slave device to establish long connection.
In some possible embodiments, the first bluetooth slave device 500 further includes:
the polling information receiving unit is used for receiving polling information sent by the Bluetooth master equipment through the first Bluetooth channel;
and the confirmation information sending unit is used for sending confirmation information for allowing the long connection to be established to the Bluetooth master device based on the polling information after receiving the operation which is sent by the STK menu through a contact type channel and allowed by the user to establish the long connection, so that the Bluetooth master device determines to establish the long connection between the Bluetooth master device and the first Bluetooth slave device according to the confirmation information.
In this embodiment, if the bluetooth slave device is installed on the bluetooth master device, the bluetooth master device can receive the active command sent by the bluetooth slave device from the contact channel, so that even if there are multiple bluetooth slave devices around the bluetooth master device, the bluetooth master device can also distinguish the bluetooth slave devices installed on the bluetooth master device from the multiple bluetooth slave devices, so that in the process of establishing long connection between the bluetooth master device and the bluetooth slave device, the user does not need to detach the bluetooth slave device from the bluetooth master device, thereby reducing the operations required to be executed by the user, and improving the efficiency of establishing long bluetooth connection between the bluetooth master device and the bluetooth slave device.
In the names of "first bluetooth slave", "first bluetooth channel", etc., mentioned in the embodiments of the present application, "first" is used merely as a name identification, and does not represent first in sequence. The same applies to "second" etc.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a read-only memory (ROM)/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the method embodiments and apparatus embodiments are substantially similar to the system embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the system embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, wherein modules described as separate parts may or may not be physically separate, and parts shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only an exemplary embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (10)

1. A Bluetooth connection method is applied to a Bluetooth master device, and comprises the following steps:
establishing a Bluetooth connection with a first Bluetooth slave device so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device;
sending a Bluetooth instruction to the first Bluetooth slave device through the first Bluetooth channel;
and if receiving an active command sent by the first Bluetooth slave device through a contact type channel, establishing a long connection between the Bluetooth master device and the first Bluetooth slave device based on the established Bluetooth connection.
2. The method of claim 1, wherein if an active command sent by the first Bluetooth slave device through a contact channel is received, establishing a long connection between the Bluetooth master device and the first Bluetooth slave device comprises:
if an active command sent by the first Bluetooth slave device based on a contact channel is received, presenting an STK menu, wherein the STK menu is used for prompting a user whether to allow the Bluetooth master device to establish long connection with the first Bluetooth slave device;
and establishing the long connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user allows the long connection to be established.
3. The method of claim 2, wherein the establishing a long connection between the bluetooth master device and the first bluetooth slave device based on the operation of allowing the user to establish the long connection comprises:
transmitting polling information to the first Bluetooth slave device through the first Bluetooth channel;
after the STK menu sends the operation that the user allows to establish the long connection to the first Bluetooth slave device through a contact channel, receiving confirmation information which is sent by the first Bluetooth slave device based on the polling information and allows to establish the long connection;
and determining to establish a long connection between the Bluetooth master device and the first Bluetooth slave device according to the confirmation information.
4. The method of claim 1, further comprising:
and if the active command is not received, determining to disconnect the established Bluetooth connection with the first Bluetooth slave equipment.
5. The method of claim 2, further comprising:
and disconnecting the established Bluetooth connection between the Bluetooth master device and the first Bluetooth slave device based on the operation that the user refuses to establish the long connection.
6. The method according to claim 4 or 5, characterized in that the method further comprises:
after disconnecting the established Bluetooth protocol layer connection between the Bluetooth master device and the first Bluetooth slave device, establishing a Bluetooth connection with a second Bluetooth slave device so that a second Bluetooth channel based on the Bluetooth protocol layer is formed between the Bluetooth master device and the second Bluetooth slave device;
sending a Bluetooth connection instruction to the second Bluetooth slave equipment through the second Bluetooth channel;
and if receiving an active command sent by the second Bluetooth slave device through a contact type channel, determining to establish long connection with the second Bluetooth slave device.
7. The method of claim 6, wherein the first Bluetooth slave device and the second Bluetooth slave device have the same characteristic value, and wherein the RSSI value of the first Bluetooth slave device is greater than or equal to the RSSI value of the second Bluetooth slave device;
wherein the characteristic value comprises a PID and/or a VID.
8. A Bluetooth connection method, applied to a first Bluetooth slave device, the method comprising:
establishing a Bluetooth connection with a Bluetooth master device so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device;
receiving a Bluetooth instruction sent by the Bluetooth master device through the first Bluetooth channel;
and sending an active command to the Bluetooth master device through a contact channel based on the Bluetooth instruction, so that after receiving the active command, the Bluetooth master device establishes a long connection between the Bluetooth master device and the first Bluetooth slave device based on the established Bluetooth connection.
9. A bluetooth master device, the bluetooth master device comprising:
the first establishing unit is used for establishing Bluetooth connection with a first Bluetooth slave device so that a first Bluetooth channel is formed between the Bluetooth master device and the first Bluetooth slave device;
the transmitting unit is used for transmitting a Bluetooth instruction to the first Bluetooth slave equipment through the first Bluetooth channel;
and the second establishing unit is used for establishing long connection between the Bluetooth master device and the first Bluetooth slave device based on the established Bluetooth connection if receiving an active command sent by the first Bluetooth slave device through a contact type channel.
10. A bluetooth slave device, characterized in that the bluetooth slave device comprises:
the establishing unit is used for establishing connection with a Bluetooth master device so that a first Bluetooth channel is formed between the Bluetooth master device and the Bluetooth slave device;
the receiving unit is used for receiving a Bluetooth instruction sent by the Bluetooth master device through the first Bluetooth channel;
and the sending unit is used for sending an active command to the Bluetooth master device through a contact type channel based on the Bluetooth command, so that after the Bluetooth master device receives the active command, long connection is established between the Bluetooth master device and the first Bluetooth slave device based on the established Bluetooth connection.
CN201811056502.0A 2018-09-11 2018-09-11 Bluetooth connection method, Bluetooth master device and Bluetooth slave device Active CN109005532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811056502.0A CN109005532B (en) 2018-09-11 2018-09-11 Bluetooth connection method, Bluetooth master device and Bluetooth slave device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811056502.0A CN109005532B (en) 2018-09-11 2018-09-11 Bluetooth connection method, Bluetooth master device and Bluetooth slave device

Publications (2)

Publication Number Publication Date
CN109005532A CN109005532A (en) 2018-12-14
CN109005532B true CN109005532B (en) 2021-08-31

Family

ID=64591473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811056502.0A Active CN109005532B (en) 2018-09-11 2018-09-11 Bluetooth connection method, Bluetooth master device and Bluetooth slave device

Country Status (1)

Country Link
CN (1) CN109005532B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109890016B (en) * 2018-12-26 2021-08-31 北京深思数盾科技股份有限公司 Method and device for supporting multiple applications to access Bluetooth equipment
CN110191450B (en) * 2019-04-02 2021-02-26 华为技术有限公司 Service connection establishing method, Bluetooth main device, chip and Bluetooth system
CN111629366B (en) * 2020-04-27 2023-06-09 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device
CN111615090B (en) * 2020-04-27 2023-07-14 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device
CN111918265A (en) * 2020-08-24 2020-11-10 苏州臻迪智能科技有限公司 Connection establishing method and device, electronic equipment and computer readable storage medium
CN112788579A (en) * 2020-12-31 2021-05-11 厦门亿联网络技术股份有限公司 Method and device for quickly pairing dual-mode Bluetooth equipment
CN115955710B (en) * 2023-02-24 2023-06-06 深圳汉诺医疗科技有限公司 Method for switching Bluetooth host equipment by Bluetooth slave equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909295A (en) * 2009-06-05 2010-12-08 联发科技股份有限公司 System for providing remote subscriber identity card to mobile station and methods thereof
CN104540175A (en) * 2014-11-26 2015-04-22 青岛歌尔声学科技有限公司 Switching method of uninterrupted Bluetooth connection, Bluetooth equipment and system
CN104955166A (en) * 2014-03-28 2015-09-30 北京奇虎科技有限公司 Bluetooth communication method and system
CN105516905A (en) * 2015-12-25 2016-04-20 百度在线网络技术(北京)有限公司 Connection method and device of Bluetooth devices
CN106331269A (en) * 2015-06-24 2017-01-11 小米科技有限责任公司 Subscriber identification module (SIM) substitution method, device and system
CN106412810A (en) * 2016-11-23 2017-02-15 北京小米移动软件有限公司 Data transmission method and device
CN106507499A (en) * 2015-09-06 2017-03-15 国民技术股份有限公司 A kind of wireless communications method, device and and its application apparatus
CN106973359A (en) * 2017-03-07 2017-07-21 重庆西山科技股份有限公司 Quick method, device, wireless device and the communication system for setting up wireless connection
CN106993266A (en) * 2017-03-31 2017-07-28 东信和平科技股份有限公司 A kind of method of bluetooth SIM card pairing connection

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8509827B2 (en) * 2005-09-21 2013-08-13 Buckyball Mobile Inc. Methods and apparatus of context-data acquisition and ranking
US8874130B2 (en) * 2010-08-31 2014-10-28 Qualcomm Incorporated Method and apparatus for dynamic power savings based on location
US8478339B2 (en) * 2011-07-01 2013-07-02 Gemalto Sa Method for accessing at least one service and corresponding system
US9326263B2 (en) * 2012-06-13 2016-04-26 At&T Mobility Ii Llc Site location determination using crowd sourced propagation delay and location data
US9705957B2 (en) * 2013-03-04 2017-07-11 Open Garden Inc. Virtual channel joining
US20160344441A1 (en) * 2015-05-21 2016-11-24 Umm Al-Qura University Modular compact communication and computing method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909295A (en) * 2009-06-05 2010-12-08 联发科技股份有限公司 System for providing remote subscriber identity card to mobile station and methods thereof
CN104955166A (en) * 2014-03-28 2015-09-30 北京奇虎科技有限公司 Bluetooth communication method and system
CN104540175A (en) * 2014-11-26 2015-04-22 青岛歌尔声学科技有限公司 Switching method of uninterrupted Bluetooth connection, Bluetooth equipment and system
CN106331269A (en) * 2015-06-24 2017-01-11 小米科技有限责任公司 Subscriber identification module (SIM) substitution method, device and system
CN106507499A (en) * 2015-09-06 2017-03-15 国民技术股份有限公司 A kind of wireless communications method, device and and its application apparatus
CN105516905A (en) * 2015-12-25 2016-04-20 百度在线网络技术(北京)有限公司 Connection method and device of Bluetooth devices
CN106412810A (en) * 2016-11-23 2017-02-15 北京小米移动软件有限公司 Data transmission method and device
CN106973359A (en) * 2017-03-07 2017-07-21 重庆西山科技股份有限公司 Quick method, device, wireless device and the communication system for setting up wireless connection
CN106993266A (en) * 2017-03-31 2017-07-28 东信和平科技股份有限公司 A kind of method of bluetooth SIM card pairing connection

Also Published As

Publication number Publication date
CN109005532A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN109005532B (en) Bluetooth connection method, Bluetooth master device and Bluetooth slave device
CN113841339B (en) Service connection establishing method, bluetooth main device, chip and Bluetooth system
CN108012311B (en) Method for automatically switching and configuring router of intelligent equipment
CN103597805B (en) For promoting the technology of the interactive operation between annex and multiple equipment
EP2391149A1 (en) Configuring wifi parameters via a USB connection
US10171997B2 (en) Method and apparatus for interconnection between terminal device and gateway device
EP3253080B1 (en) Data sharing method and system
EP3389295A1 (en) Multi-terminal mapping system and method for virtual sim card
CN103037477A (en) Method, server side and client side of family media device accessing to wireless fidelity (wifi) hotspot
CN111866998A (en) Bluetooth network distribution method, equipment and storage medium
CN104936266A (en) Network access method and network access device
CN103430509A (en) Pairing between wireless devices
CN108781473B (en) Method and equipment for sharing files among different terminals
US10455634B2 (en) Communication device and a non-transitory computer-readable recording medium
CN105764159B (en) Network connection method, system and terminal thereof
CN111818528B (en) Connection method and device of wireless local area network, storage medium and wireless access equipment
CN111182515A (en) Network distribution method, device, terminal and computer storage medium
CN104247484A (en) Terminal device, communication method, program, and communication system
CN109890017B (en) Method, device and equipment for connecting with central equipment and readable storage medium
US10624142B2 (en) Communication device and a non-transitory computer-readable recording medium
CN107454659B (en) Terminal identification method, system, terminal equipment and base station
CN107466022B (en) SIM card switching method, mobile terminal and storage medium
CN107592679B (en) Wireless communication system and wireless communication device
CN104125593A (en) Information processing method and electronic equipment
CN103281693A (en) Wireless communication authentication method, network translation equipment and terminal

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
GR01 Patent grant
GR01 Patent grant