CN114258001A - Automatic Bluetooth pairing method, Bluetooth device and electronic device - Google Patents

Automatic Bluetooth pairing method, Bluetooth device and electronic device Download PDF

Info

Publication number
CN114258001A
CN114258001A CN202111556422.3A CN202111556422A CN114258001A CN 114258001 A CN114258001 A CN 114258001A CN 202111556422 A CN202111556422 A CN 202111556422A CN 114258001 A CN114258001 A CN 114258001A
Authority
CN
China
Prior art keywords
bluetooth
electronic device
pairing
sensing
processing module
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
CN202111556422.3A
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.)
Inventec Appliances Shanghai Corp
Inventec Appliances Pudong Corp
Inventec Appliances Corp
Original Assignee
Inventec Appliances Shanghai Corp
Inventec Appliances Pudong Corp
Inventec Appliances Corp
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 Inventec Appliances Shanghai Corp, Inventec Appliances Pudong Corp, Inventec Appliances Corp filed Critical Inventec Appliances Shanghai Corp
Priority to CN202111556422.3A priority Critical patent/CN114258001A/en
Priority to TW111105518A priority patent/TWI830143B/en
Publication of CN114258001A publication Critical patent/CN114258001A/en
Pending legal-status Critical Current

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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

The invention provides an automatic Bluetooth pairing method, a Bluetooth device and an electronic device. The automatic Bluetooth pairing method comprises the following steps: causing the electronic device to execute a procedure of establishing a link layer connection; the electronic device sends a Bluetooth packet to the Bluetooth device and controls an action module of the electronic device to actuate; if the electronic device receives the response packet containing the sensing data, the electronic device performs a pairing procedure with the Bluetooth device sending the response packet.

Description

Automatic Bluetooth pairing method, Bluetooth device and electronic device
Technical Field
The present invention relates to an automatic bluetooth pairing method, a bluetooth device and an electronic device, and more particularly, to an automatic bluetooth pairing method capable of automatically completing a pairing procedure between a bluetooth device and an electronic device.
Background
In the existing bluetooth pairing process, a user needs to know a complicated operation interface and a pairing process. For example, when the user turns on the bluetooth function of the mobile phone, the mobile phone will automatically complete the physical connection, and then the user can see the bluetooth list on the mobile phone. Then, the user must manually select one of the bluetooth devices in the bluetooth list and confirm the Pairing operation procedure of the bluetooth device, so that the two devices can perform the Pairing procedure (Pairing). Therefore, it causes inconvenience in use for the user.
Disclosure of Invention
In view of the problems in the prior art, an object of the present invention is to provide an automatic bluetooth pairing method, a bluetooth device and an electronic device, which can automatically perform bluetooth pairing mainly by placing the bluetooth device on the electronic device by a user.
The embodiment of the invention provides an automatic Bluetooth pairing method, which is used for automatically carrying out Bluetooth pairing on an electronic device and at least one of a plurality of Bluetooth devices adjacent to or in contact with the electronic device, and comprises the following steps:
an operation step: enabling the electronic device to generate at least one of a light beam, a sound and a vibration, and enabling the electronic device to generate sensing data according to the response of each Bluetooth device to the at least one of the light beam, the sound and the vibration; and
a judgment step: and enabling the electronic device to select whether to execute automatic Bluetooth pairing according to the sensing data of each Bluetooth device.
The embodiment of the invention provides an automatic Bluetooth pairing method, which is used for automatically carrying out Bluetooth pairing on an electronic device and at least one of a plurality of Bluetooth devices adjacent to or in contact with the electronic device, and comprises the following steps:
an operation step: enabling at least one of the Bluetooth devices to generate at least one of light beam, sound and vibration, and enabling the electronic device to generate sensing data according to the fact that each Bluetooth device responds to the at least one of the light beam, the sound and the vibration; and
a judgment step: and enabling the electronic device to select whether to execute automatic Bluetooth pairing according to the sensing data of each Bluetooth device.
The embodiment of the invention provides an automatic Bluetooth pairing method, which is used for automatically carrying out Bluetooth pairing on an electronic device and at least one of a plurality of Bluetooth devices adjacent to or in contact with the electronic device, and comprises the following steps:
an operation step: enabling the electronic device to generate at least one of light beam, sound and vibration, and enabling each Bluetooth device to generate sensing data according to the fact that each Bluetooth device responds to the at least one of light beam, sound and vibration; and
a judgment step: and enabling the electronic device to select whether to execute automatic Bluetooth pairing according to the sensing data transmitted by each Bluetooth device.
In some embodiments, according to the automatic bluetooth pairing method, the sensing data is a light sensing signal strength, a sound wave signal strength or a vibration signal strength, and the determining step further includes:
obtaining a Bluetooth pairing value through weighted calculation according to at least one of the intensity of the light sensing signal, the intensity of the sound wave signal and the intensity of the vibration signal; and
and judging whether the Bluetooth pairing value is larger than a preset Bluetooth pairing value.
In some embodiments, the occupancy of the light-sensitive signal intensity weighted calculation falls between 50%, 60%, 70% of the sum of the occupancy of the light-sensitive signal intensity, the acoustic signal intensity, and the vibration signal intensity weighted calculation.
In some embodiments, the actuating step further comprises:
judging whether the signal intensity between the electronic device and each Bluetooth device is greater than a default signal intensity value or not; wherein the Signal Strength is a Received Signal Strength Indicator (RSSI); and
if the signal intensity is larger than the default signal intensity value, storing at least one piece of identification data of the Bluetooth device corresponding to the signal intensity in a pairing list of the electronic device.
An embodiment of the present invention provides an automatic bluetooth Pairing method for enabling an electronic device and one of a plurality of bluetooth devices located around the electronic device to automatically perform a Pairing procedure (Pairing), where the automatic bluetooth Pairing method includes:
a sending step: the electronic device sends a Bluetooth packet to the Bluetooth devices and controls an action module of the electronic device to actuate so that the action module executes at least one action of generating light beams, sound and vibration;
a packet determining step: enabling the electronic device to judge whether each Bluetooth device returns a response packet in order to respond to the Bluetooth packet or not one by one, wherein the response packet comprises sensing data; the Bluetooth device sending the response packet including the sensing data comprises a sensing module, wherein the sensing module is used for sensing at least one of light beams, sound and vibration around the Bluetooth device and generating the corresponding sensing data according to the sensing module;
if the response packet is determined to include the sensing data, performing a pairing step: causing the electronic device to perform the pairing procedure with the Bluetooth device that issued the data including the sensing data.
An embodiment of the present invention provides a bluetooth device, including:
the processing module comprises a Bluetooth chip and is configured to receive a Bluetooth packet sent by an electronic device;
the sensing module is electrically connected with the processing module and is used for sensing at least one of light beams, sound and vibration around the Bluetooth device so as to generate corresponding sensing data;
wherein, when the processing module receives the bluetooth packet, the processing module is configured to execute an auto-pairing procedure, which includes:
controlling the sensing module to act and waiting for a preset time;
integrating the sensing data generated by the sensing module in the preset time into a response packet and transmitting the response packet to the electronic device;
after the processing module transmits the response packet to the electronic device, when the processing module receives a pairing request transmitted from the electronic device, the processing module approves the pairing request and performs a pairing procedure with the electronic device.
In some embodiments, the sensing module comprises at least one of a light sensor, a sound receiving unit, and an acceleration sensor; when the sensing module comprises the light sensor, the sensing module is configured to sense a light beam around the bluetooth device using the light sensor and generate the sensed data accordingly; when the sensing module comprises the sound receiving unit, the sensing module is configured to sense the sound around the Bluetooth device by using the sound receiving unit and accordingly generate the sensing data; when the sensing module comprises the acceleration sensor, the sensing module is configured to sense the gesture of the bluetooth device by using the acceleration sensor and accordingly generate the sensing data.
In some embodiments, the bluetooth device includes a charging box and two wireless bluetooth headsets, the charging box has two charging slots therein, the two wireless bluetooth headsets are configured to be disposed in the two charging slots for charging, the charging box includes a body and a cover, the body has the sensing module, a body processing module and a detecting module disposed therein, and the sensing module and the detecting module are respectively electrically connected to the body processing module; the at least one real wireless Bluetooth headset comprises the processing module, and the processing module is electrically connected with the body processing module; when the cover body is operated and acts relative to the body, the detection module generates a detection signal, and the body processing module of the body controls the two true wireless Bluetooth earphones arranged in the charging groove to enter a pairing mode; when the processing module receives the Bluetooth packet, the processing module controls the sensing module to actuate through the body processing module, and the sensing data generated by the sensing module can be transmitted to the processing module through the body processing module.
The present invention provides an electronic device, comprising:
the processing module comprises a Bluetooth chip and is configured to send out a Bluetooth packet;
the action module is electrically connected with the processing module, and the processing module is configured to control the action module to execute at least one action of generating light beams, sound and vibration;
wherein the processing module is configured to perform the automatic bluetooth pairing method as described above.
The automatic Bluetooth pairing method, the Bluetooth device and the electronic device provided by the invention have the following advantages:
according to the automatic Bluetooth pairing method, the Bluetooth device and the electronic device, the electronic device and the plurality of Bluetooth devices can automatically perform Bluetooth pairing, and the Bluetooth device needing Bluetooth pairing can be intelligently selected.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, with reference to the accompanying drawings.
FIG. 1 is a flowchart illustrating an embodiment of an automatic Bluetooth pairing method according to the present invention;
FIG. 2 is a flowchart illustrating an embodiment of an automatic Bluetooth pairing method according to the present invention;
FIG. 3 is a flowchart illustrating an embodiment of an automatic Bluetooth pairing method according to the present invention;
FIG. 4 is a schematic diagram of a smart phone implementing the automatic Bluetooth pairing method of the present invention and Bluetooth pairing with a true wireless Bluetooth headset;
FIG. 5 is a diagram illustrating another embodiment of an automatic Bluetooth pairing method of the present invention;
FIG. 6 is a diagram illustrating another embodiment of an automatic Bluetooth pairing method of the present invention;
FIG. 7 is a block diagram of a Bluetooth device according to a first embodiment of the present invention;
FIG. 8 is a block diagram of a Bluetooth device according to a second embodiment of the present invention;
FIG. 9 is a diagram of a second embodiment of a Bluetooth device in accordance with the present invention;
FIG. 10 is a block diagram of an electronic device according to the present invention.
Reference numerals:
a: the electronic device 12: sensing module
A1: the bluetooth packet 121: optical sensor
B: bluetooth device 1211: sensing data
B1: response packet 122: radio unit
D1: desktop 1221: sensing data
D2: desktop 123: acceleration sensor
MS: bluetooth mouse 1231: sensing data
P: the smart phone 13: prompt module
P1: the sensing module 200: bluetooth device
P2: the processing module 201: charging box
TWS: true wireless bluetooth headset 2011: body
TWS 1: the sensing module 20111: charging trough
TWS 2: true wireless bluetooth headset 2012: cover body
TWS 21: sensing module 2013: body processing module
TWS 3: true wireless bluetooth headset 2014: detecting module
TWS 31: sensing module 20141: detecting signal
W1: smart watch 202: true wireless Bluetooth earphone
W11: the sensing module 300: electronic device
W2: smart watch 31: processing module
100: the bluetooth device 311: bluetooth chip
11: the processing module 3111: bluetooth packet
111: bluetooth chip 3112: prompt information
112: the response packet 32: action module
S11, S12, S21, S22, S31, S32, S51-S54
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted. In the specification, "or" may mean "and" or ".
Referring to fig. 1, an embodiment of the present invention discloses an automatic bluetooth pairing method for automatically performing bluetooth pairing on an electronic device and at least one of a plurality of bluetooth devices adjacent to or in contact with the electronic device, the automatic bluetooth pairing method including:
step S11: enabling the electronic device to generate at least one of light beam, sound and vibration, and enabling the electronic device to generate sensing data according to at least one of the light beam, the sound and the vibration responded by each Bluetooth device;
determination step S12: the electronic device selects whether to execute automatic Bluetooth pairing according to the sensing data of each Bluetooth device.
Referring to fig. 2, an embodiment of the present invention discloses an automatic bluetooth pairing method for automatically performing bluetooth pairing on an electronic device and at least one of a plurality of bluetooth devices adjacent to or in contact with the electronic device, the automatic bluetooth pairing method including:
step S21: enabling at least one of the Bluetooth devices to generate at least one of light beam, sound and vibration, and enabling the electronic device to generate sensing data according to the response of each Bluetooth device to the at least one of the light beam, the sound and the vibration;
determination step S22: the electronic device selects whether to execute automatic Bluetooth pairing according to the sensing data of each Bluetooth device.
Referring to fig. 3, an embodiment of the present invention discloses an automatic bluetooth pairing method for automatically performing bluetooth pairing on an electronic device and at least one of a plurality of bluetooth devices adjacent to or in contact with the electronic device, the automatic bluetooth pairing method including:
step S31: enabling the electronic device to execute at least one of light beam generation, sound generation and vibration generation, and enabling each Bluetooth device to generate sensing data according to at least one of light beam generation, sound generation and vibration generation of each Bluetooth device;
determination step S32: the electronic device selects whether to execute automatic Bluetooth pairing according to the sensing data transmitted by each Bluetooth device.
In any of the above embodiments, the sensing data is a light sensing signal intensity, a sound wave signal intensity or a vibration signal intensity, and the determining step further includes:
weighting and calculating according to at least one of the intensity of the light sensing signal, the intensity of the sound wave signal and the intensity of the vibration signal to obtain a Bluetooth pairing value;
and judging whether the Bluetooth pairing value is larger than a preset Bluetooth pairing value or not.
In practical applications, the sensing data may be "UUID 1 _ 7 _ 8 _ 6" or "7 _ 8 _ 6", i.e., three intensity values, which represent the intensity of the light sensing signal, the intensity of the sound wave signal or the intensity of the vibration signal, respectively. If the two pieces of sensing information received by the electronic device or the bluetooth device are "UUID 1 _ 7 _ 8 _ 6" and "UUID 2 _ 3 _ 1", respectively, then the determining step may be performed by performing weighted calculation on three intensity values included in each piece of sensing data to obtain two bluetooth pairing values 21(7+8+6) and 7(3+1+1), and the electronic device and the bluetooth device having the bluetooth pairing value greater than the preset bluetooth pairing value perform bluetooth pairing automatically.
Wherein the occupancy of the weighted calculation of the intensity of the light sensing signal falls between 50%, 60%, 70% of the sum of the occupancy of the weighted calculation of the intensity of the light sensing signal, the intensity of the acoustic signal and the intensity of the vibration signal.
In any of the above embodiments, the actuating step may further comprise:
judging whether the signal intensity is larger than a default signal intensity value or not according to the signal intensity between the electronic device and each Bluetooth device; wherein, the Signal Strength is the Received Signal Strength (RSSI); the default signal strength value may be-20 dBm, -40dBm or-60 dBm.
When the signal intensity is greater than the default signal intensity value, at least one piece of identification data of the Bluetooth device corresponding to the signal intensity is stored in a pairing list of the electronic device.
Referring to the embodiment of fig. 4, it will be described how to apply the method of the present invention to enable the smart phone P (i.e. the electronic device) and the first true wireless bluetooth headset TWS2 (i.e. the bluetooth device) having the sensing module TWS21 to complete the pairing procedure. First, after the bluetooth function of the smart phone P is turned on and placed on the desktop D1, the first real wireless bluetooth headset TWS2 is placed on the display screen of the smart phone P, and the first smart watch W1 (i.e. another bluetooth device having the sensing module W11) and the bluetooth mouse MS that have been paired with the smart phone P are also placed on the desktop D1, and the second smart watch W2 without the sensing module and the second real wireless bluetooth headset TWS3 having the sensing module TWS31 are also placed on the other desktop D2.
When the processing module P2 of the smartphone P performs the automatic bluetooth pairing method of the present invention, the processing module P2 of the smartphone P, after performing the determination step, it will be determined that the signal strength between the smart phone P and the second true wireless bluetooth headset TWS3 is less than the default signal strength value, the signal strength between the smart phone P and the second smart watch W2 is less than the default signal strength value, and the processing module of the electronic device will not be bluetooth paired with the second true wireless bluetooth headset TWS3 and the second smart watch W2, and the processing module P2 of the smart phone P determines that the smart phone P has completed the pairing process with the first smart watch W1, and determines that the smart phone P has not completed the pairing procedure with the first true wireless bluetooth headset TWS2, thus, the processing module P1 of the smartphone P will only be bluetooth paired with the first true wireless bluetooth headset TWS 2.
Referring to fig. 5, an automatic bluetooth Pairing method according to the present invention is for automatically performing a Pairing procedure (Pairing) between an electronic device and one of a plurality of bluetooth devices disposed around the electronic device, and the automatic bluetooth Pairing method includes:
transmission step S51: the electronic device sends the Bluetooth packets to the plurality of Bluetooth devices and controls the action module of the electronic device to act so as to enable the action module to execute at least one action of generating light beams, sound and vibration;
package determining step S52: enabling the electronic device to judge whether each Bluetooth device comprises sensing data in a response packet returned by each Bluetooth device for responding to the Bluetooth packet; the Bluetooth device which sends out the response packet comprising the sensing data comprises a sensing module, wherein the sensing module is used for sensing at least one of light beams, sound and vibration around the Bluetooth device and generating corresponding sensing data according to the light beams, the sound and the vibration;
if it is determined that the response packet includes the sensing data, a pairing step S53 is performed: the electronic device is paired with the bluetooth device that sent the data that includes the sensing.
If it is determined that the response packet does not include the sensing data, the ending step S54 is executed: the electronic device does not carry out the pairing procedure with the Bluetooth device sending the response packet.
According to the above, when the automatic bluetooth pairing method of the present disclosure is automatically paired, the user only needs to start the bluetooth function of the electronic device to enter the pairing mode, and then places the bluetooth device around the electronic device (for example, on the display screen of the mobile phone or in close proximity to the mobile phone), and the electronic device automatically and sequentially executes the above steps S51-S53, and finally completes the pairing procedure.
In addition, the bluetooth packets transmitted between the bluetooth device and the electronic device further include characteristic values, such as power, temperature value, ID name, usage times or usage relationship of the bluetooth device. And the electronic device can further classify the attribute of the characteristic value, so that the subsequent electronic device can automatically select the Bluetooth device which is required to execute the automatic Bluetooth connection more intelligently.
More specifically, as shown in fig. 5 and fig. 6, assuming that the electronic device is a smart phone P, the bluetooth device is a true wireless bluetooth headset TWS, and the action module of the electronic device is, for example, a vibration motor P1, when the user wants to make the true wireless bluetooth headset TWS and the smart phone P use the automatic bluetooth pairing method of the present invention, the user only needs to perform a single step after making the true wireless bluetooth headset TWS enter the pairing mode and turning on the bluetooth function of the smart phone P: placing a true wireless Bluetooth headset TWS on the smart phone P (or in close proximity to the smart phone P); then, the smart phone P will start to execute the above steps S51-S53, in which the processing module of the smart phone P controls the vibration motor P1 to vibrate in step S41, the sensing module TWS1 of the true wireless bluetooth headset TWS senses the vibration of the smart phone P and adds the sensing data to the response packet, and then the smart phone P will automatically perform the pairing procedure with the true wireless bluetooth headset TWS.
Referring to fig. 7, the bluetooth device 100 of the present invention and the electronic device executing the automatic bluetooth pairing method of the present invention can automatically complete the pairing procedure, and for a description of a related process for the bluetooth device 100 of the present invention and the electronic device executing the automatic bluetooth pairing method of the present invention to automatically complete the pairing procedure, please refer to the foregoing embodiments, which are not described herein again.
The bluetooth device 100 of the present invention includes: a processing module 11 and a sensing module 12. The bluetooth device 100 may be, for example, various bluetooth devices such as a true wireless bluetooth headset, a smart watch with bluetooth function, and a bluetooth mouse, which is not limited herein.
The processing module 11 includes a bluetooth chip 111, and the processing module 11 can receive a bluetooth packet a1 sent by an electronic device a. The specification version of the bluetooth chip 11 may be, for example, a version of bluetooth 4.0 or more, and is not limited herein.
The sensing module 12 is electrically connected to the processing module 11, and the sensing module 12 is used for sensing at least one of light beams, sound and vibration around the bluetooth device 100 and generating at least one corresponding sensing data accordingly. Specifically, the sensing module 12 may include at least one of a light sensor 121, a sound receiving unit 122, and an acceleration sensor (G-sensor) 123. That is, in one embodiment, the sensing module 12 can include the optical sensor 121, the sound receiving unit 122 and the acceleration sensor 123, and the optical sensor 121, the sound receiving unit 122 and the acceleration sensor 123 can generate a piece of sensing data 1211, 1221 and 1231 respectively. In another embodiment, the sensing module 12 may also include only the light sensor 121, the sound receiving unit 122 or the acceleration sensor 123, and the sensing module 12 generates only one corresponding piece of sensing data.
If the sensing module 12 includes the light sensor 121, the sensing module 12 is configured to sense a light beam around the bluetooth device 100 using the light sensor 121 and generate sensing data 1211 accordingly. In practical applications, the light sensor 121 may generate the corresponding sensing data 1221 only when a light beam with a specific wavelength is sensed.
If the sensing module 12 includes the sound receiving unit 122, the sensing module 12 is configured to sense the sound around the bluetooth device 100 by using the sound receiving unit 122, and accordingly generate the sensing data 1221. In practical applications, the sound receiving unit 122 may generate the corresponding sensing data 1221 only when a sound wave of a specific frequency is sensed.
If the sensing module 12 includes the acceleration sensor 123, the sensing module 12 is configured to sense the gesture of the bluetooth device 100 using the acceleration sensor 123 and generate the sensing data 1231 accordingly. In practical applications, the sensing data 1231 may be, for example, data calculated by using X-axis gravity data, Y-axis gravity data, and Z-axis gravity data output by the acceleration sensor 123. More specifically, the sensing data 1231 generated by the acceleration sensor 123 is mainly used to indicate whether the bluetooth device 100 is subjected to an external force and changes its posture (for example, the bluetooth device 100 is subjected to an external force and vibrates).
When the processing module 11 receives the bluetooth packet a1, the processing module 11 can execute an automatic pairing procedure, which includes the following steps:
a sensing step: controlling the sensing module 12 to operate and waiting for a predetermined time;
a response step: integrating the sensing data generated by the sensing module 12 in a predetermined time into a response packet 112, and transmitting the response packet 112 to the electronic device a;
after the processing module 11 transmits the response packet 112 to the electronic device a, if the processing module 11 receives a Pairing request transmitted from the electronic device a, the processing module 11 approves the Pairing request and performs a Pairing procedure (Pairing) with the electronic device a.
The bluetooth packet a1 is one of the packets transmitted before the processing module 11 and the electronic device a perform the pairing procedure. For example, the bluetooth packet a1 may be one of packets transmitted during the process of the processing module 11 establishing a Link Layer Connection (idle Link Layer Connection) with the electronic device a, that is, the bluetooth packet a1 may be one of packets transmitted during the process of the electronic device executing an Inquiry Procedure (Inquiry Procedure) or a paging Procedure (Page Procedure) with the processing module 11; alternatively, the bluetooth packet a1 may be one of the packets transmitted by the electronic device after the processing module 11 establishes a Link Layer Connection (Link Layer Connection) with the electronic device.
It should be noted that, after the bluetooth device 100 completes the bluetooth pairing with the electronic device a, the processing module 11 may control a prompt module 13 of the bluetooth device 100 to actuate, so as to prompt the user that the bluetooth device 100 has completed the bluetooth pairing, for example, the prompt module 13 may include a speaker, a light-emitting unit, etc., when the bluetooth device 100 completes the bluetooth pairing with the electronic device a, the prompt module 13 may play a sound like "completed bluetooth online" or the prompt module 13 may emit a green light signal, etc.
Referring to fig. 8 and 9, the bluetooth device 200 includes a charging box 201 and two real wireless bluetooth headsets 202. The charging box 201 includes a main body 2011 and a cover 2012, and the main body 2011 is disposed with a sensing module 12, a main body processing module 2013 and a detecting module 2014. The sensing module 12 and the detecting module 2014 are electrically connected to the body processing module 2013, respectively. The charging box 201 has two charging slots 20111, and two true wireless bluetooth headsets 202 are configured to be set in the two charging slots 20111 for charging. The at least one real wireless bluetooth headset 202 includes a processing module 11 and a prompt module 13, the processing module 11 includes a bluetooth chip 111, and the processing module is electrically connected to the body processing module 2013. For detailed descriptions of the processing module 11, the sensing module 12 and the prompting module 13 in this embodiment, please refer to the foregoing embodiments, which are not repeated herein, and only differences between this embodiment and the foregoing embodiments will be described below.
When the cover 2012 is operated to move relative to the main body 2011, the detecting module 2014 generates a detecting signal 20141, the detecting module 2014 transmits the detecting signal 20141 to the main body processing module 2013, and the main body processing module 2013 controls the two real-wireless bluetooth headsets 202 disposed in the charging slot 20111 to enter a Pairing mode (Pairing). When the processing module 11 of the bluetooth headset 202 receives the bluetooth packet a1, the processing module 11 controls the sensing module 12 to operate through the body processing module 2013, and the sensing data generated by the sensing module 12 can be transmitted to the processing module 11 through the body processing module 2013.
That is to say, when a user wants to automatically perform a pairing procedure between the bluetooth device 200 and the electronic device a executing the automatic bluetooth pairing method of the present invention, the user only needs to open the cover 2012 of the charging box 201 provided with the two real wireless bluetooth headsets 202 and place the charging box 201 provided with the two real wireless bluetooth headsets 202 beside the electronic device a, so that the electronic device a executing the automatic bluetooth pairing method of the present invention will automatically complete pairing with the two real wireless bluetooth headsets 202.
It should be noted that, by the design of disposing the sensing module 12 in the charging box 201, the true wireless bluetooth headset 202 can achieve the effect of automatically completing pairing with the electronic device a executing the automatic bluetooth pairing method of the present invention without increasing the volume of the true wireless bluetooth headset 202.
Referring to fig. 10, an electronic device 300 according to the present invention includes: a processing module 31 and an action module 32. The processing module 31 includes a bluetooth chip 31. The processing module 31 is configured to send bluetooth packets 3111 to the bluetooth device B. The bluetooth device B is configured to receive the bluetooth packet 3111 and return a response packet B1 to the electronic device 300.
The processing module 31 can perform the aforementioned automatic bluetooth pairing method of the present invention. Please refer to the foregoing embodiments for details of the processing module 31 executing the automatic bluetooth pairing method of the present invention, which are not described herein again.
In one preferred embodiment, after the electronic device 300 and the bluetooth device B complete bluetooth pairing, the processing module 31 of the electronic device 300 may issue a prompt 3112 to prompt the user that the bluetooth pairing operation with the bluetooth device B has been completed, for example, the processing module 31 may control the display of the electronic device 300 to display the prompt 3112, and the user may view contents similar to "bluetooth device XXX has completed bluetooth connection" on the display.
In summary, the automatic bluetooth pairing method, the bluetooth apparatus and the electronic apparatus of the present invention can enable the electronic apparatus having the bluetooth function turned on and the bluetooth apparatus having entered the pairing mode to automatically complete the pairing procedure, and the user does not need to perform any operation on the electronic apparatus or the bluetooth apparatus during the pairing process.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (11)

1. An automatic bluetooth pairing method for automatically performing bluetooth pairing on an electronic device and at least one of a plurality of bluetooth devices adjacent to or in contact with the electronic device, the automatic bluetooth pairing method comprising:
an operation step: enabling the electronic device to generate at least one of light beam, sound and vibration, and enabling the electronic device to generate sensing data according to the fact that each Bluetooth device responds to the at least one of light beam, sound and vibration; and
a judgment step: and enabling the electronic device to select whether to execute automatic Bluetooth pairing according to the sensing data of each Bluetooth device.
2. An automatic bluetooth pairing method for automatically performing bluetooth pairing on an electronic device and at least one of a plurality of bluetooth devices adjacent to or in contact with the electronic device, the automatic bluetooth pairing method comprising:
an operation step: enabling at least one of the Bluetooth devices to generate at least one of light beam, sound and vibration, and enabling the electronic device to generate sensing data according to the fact that each Bluetooth device responds to the at least one of the light beam, the sound and the vibration; and
a judgment step: and enabling the electronic device to select whether to execute automatic Bluetooth pairing according to the sensing data of each Bluetooth device.
3. An automatic bluetooth pairing method for automatically performing bluetooth pairing on an electronic device and at least one of a plurality of bluetooth devices adjacent to or in contact with the electronic device, the automatic bluetooth pairing method comprising:
an operation step: enabling the electronic device to generate at least one of light beam, sound and vibration, and enabling each Bluetooth device to generate sensing data according to the fact that each Bluetooth device responds to the at least one of light beam, sound and vibration; and
a judgment step: and enabling the electronic device to select whether to execute automatic Bluetooth pairing according to the sensing data transmitted by each Bluetooth device.
4. The automatic bluetooth pairing method according to any one of claims 1 to 3, wherein the sensed data is a light-sensing signal strength, a sound wave signal strength or a vibration signal strength, and the determining step further comprises:
obtaining a Bluetooth pairing value through weighted calculation according to at least one of the intensity of the light sensing signal, the intensity of the sound wave signal and the intensity of the vibration signal; and
and judging whether the Bluetooth pairing value is larger than a preset Bluetooth pairing value.
5. The automatic bluetooth pairing method according to claim 4, wherein the duty ratio of the light-sensitive signal strength weighted calculation falls between 50%, 60%, 70% of the sum of the light-sensitive signal strength, the sound wave signal strength, and the vibration signal strength weighted calculation.
6. The automatic bluetooth pairing method of claim 1, wherein the actuating step further comprises:
judging whether the signal intensity between the electronic device and each Bluetooth device is greater than a default signal intensity value or not; wherein, the signal strength is a Received Signal Strength (RSSI); and
when the signal intensity is larger than the default signal intensity value, storing at least one piece of identification data of the Bluetooth device corresponding to the signal intensity in a pairing list of the electronic device.
7. An automatic bluetooth Pairing method for enabling an electronic device to automatically perform a Pairing procedure (Pairing) with one of a plurality of bluetooth devices located around the electronic device, the automatic bluetooth Pairing method comprising:
a sending step: the electronic device sends a Bluetooth packet to the Bluetooth devices and controls an action module of the electronic device to actuate so that the action module executes at least one action of generating light beams, sound and vibration;
a packet determining step: the electronic device is used for judging whether each Bluetooth device comprises sensing data in a response packet returned by the Bluetooth packet in order to respond to the Bluetooth packet one by one, wherein the Bluetooth device which sends out the response packet comprising the sensing data comprises a sensing module which is used for sensing at least one of light beams, sound and vibration around the Bluetooth device and generating the corresponding sensing data;
if the response packet is determined to include the sensing data, performing a pairing step: causing the electronic device to perform the pairing procedure with the Bluetooth device that issued the data including the sensing data.
8. A bluetooth apparatus, characterized in that the apparatus comprises:
the processing module comprises a Bluetooth chip and is configured to receive a Bluetooth packet sent by an electronic device;
the sensing module is electrically connected with the processing module and is used for sensing at least one of light beams, sound and vibration around the Bluetooth device so as to generate corresponding sensing data;
wherein, when the processing module receives the bluetooth packet, the processing module is configured to execute an auto-pairing procedure, which includes:
controlling the sensing module to act and waiting for a preset time;
integrating the sensing data generated by the sensing module in the preset time into a response packet and transmitting the response packet to the electronic device;
after the processing module transmits the response packet to the electronic device, when the processing module receives a pairing request transmitted from the electronic device, the processing module approves the pairing request and performs a pairing procedure with the electronic device.
9. The bluetooth device according to claim 8, wherein the sensing module comprises at least one of a light sensor, a sound receiving unit, and an acceleration sensor; when the sensing module comprises the light sensor, the sensing module is configured to sense a light beam around the bluetooth device using the light sensor and generate the sensed data accordingly; when the sensing module comprises the sound receiving unit, the sensing module is configured to sense the sound around the Bluetooth device by using the sound receiving unit and accordingly generate the sensing data; when the sensing module comprises the acceleration sensor, the sensing module is configured to sense the gesture of the bluetooth device by using the acceleration sensor and accordingly generate the sensing data.
10. The bluetooth device according to claim 8, wherein the bluetooth device comprises a charging box and two wireless bluetooth headsets, the charging box has two charging slots therein, the two wireless bluetooth headsets are configured to be disposed in the two charging slots for charging, the charging box comprises a body and a cover, the body is disposed with the sensing module, a body processing module and a detecting module, and the sensing module and the detecting module are respectively electrically connected to the body processing module; the at least one real wireless Bluetooth headset comprises the processing module, and the processing module is electrically connected with the body processing module; when the cover body is operated and acts relative to the body, the detection module generates a detection signal, and the body processing module of the body controls the two true wireless Bluetooth earphones arranged in the charging groove to enter a pairing mode; when the processing module receives the Bluetooth packet, the processing module controls the sensing module to actuate through the body processing module, and the sensing data generated by the sensing module can be transmitted to the processing module through the body processing module.
11. An electronic device, comprising:
the processing module comprises a Bluetooth chip and is configured to send out a Bluetooth packet;
the action module is electrically connected with the processing module, and the processing module is configured to control the action module to execute at least one action of generating light beams, sound and vibration;
wherein the processing module is capable of performing the automatic bluetooth pairing method of claim 6.
CN202111556422.3A 2021-12-17 2021-12-17 Automatic Bluetooth pairing method, Bluetooth device and electronic device Pending CN114258001A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111556422.3A CN114258001A (en) 2021-12-17 2021-12-17 Automatic Bluetooth pairing method, Bluetooth device and electronic device
TW111105518A TWI830143B (en) 2021-12-17 2022-02-16 Automatic bluetooth pairing method, bluetooth device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111556422.3A CN114258001A (en) 2021-12-17 2021-12-17 Automatic Bluetooth pairing method, Bluetooth device and electronic device

Publications (1)

Publication Number Publication Date
CN114258001A true CN114258001A (en) 2022-03-29

Family

ID=80795763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111556422.3A Pending CN114258001A (en) 2021-12-17 2021-12-17 Automatic Bluetooth pairing method, Bluetooth device and electronic device

Country Status (2)

Country Link
CN (1) CN114258001A (en)
TW (1) TWI830143B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI423176B (en) * 2008-08-29 2014-01-11 Chi Mei Comm Systems Inc Bluetooth theftproof system and method
CN104716994B (en) * 2015-01-09 2018-09-18 络达科技股份有限公司 Magnet controlled blue-tooth device

Also Published As

Publication number Publication date
TWI830143B (en) 2024-01-21
TW202327382A (en) 2023-07-01

Similar Documents

Publication Publication Date Title
KR102600892B1 (en) Apparatus and method for communicating by using bluetooth low energy
CN108684029B (en) Bluetooth pairing connection method and system, Bluetooth device and terminal
KR102445112B1 (en) An electronic device and method for controlling an external electronic device based on electro magnetic signals
US11497072B2 (en) Electronic device and method for communication connection based on low energy in electronic device
KR102479642B1 (en) an electronic device connected to an external electronic device using TDLS(tunneled direct link setup) session defined in the IEEE 802.11 standard
CN105551207B (en) The searching treating method and apparatus of object
CN112291708A (en) Data transmission method, device, equipment and computer readable storage medium
CN111883146A (en) Cross-platform distributed nearby wake-up method and device
CN104135728A (en) Network connection method and device
JPWO2019035211A1 (en) Communication system, communication apparatus, and power saving method
CN111698668B (en) Wireless communication link establishment method and electronic device supporting same
JP6079631B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
KR20220102492A (en) Audio device for processing audio data and operating method thereof
CN114258001A (en) Automatic Bluetooth pairing method, Bluetooth device and electronic device
US20230097491A1 (en) Electronic device transmitting pairing support signal and method operating the same
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN106791037B (en) Operation triggering method and system, mobile terminal and electromagnetic field generating equipment
CN105049611A (en) Payment device searching method and payment device searching device
CN116261859A (en) Electronic device for outputting sound and method for operating the same
KR20220099730A (en) Electronic device for managing external electronic device performing requested function and method for operating thereof
CN106210951A (en) The adaptation method of a kind of bluetooth earphone, device and terminal
KR20210032104A (en) Electronic device for setting address information and method for operating thereof
US20230156113A1 (en) Method and electronic device for controlling operation
CN111371520B (en) Radio search processing method and device, storage medium and terminal
US20230155733A1 (en) Device and method for transmitting response packet

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