CN110636474A - Bluetooth pairing method and device - Google Patents

Bluetooth pairing method and device Download PDF

Info

Publication number
CN110636474A
CN110636474A CN201910822179.1A CN201910822179A CN110636474A CN 110636474 A CN110636474 A CN 110636474A CN 201910822179 A CN201910822179 A CN 201910822179A CN 110636474 A CN110636474 A CN 110636474A
Authority
CN
China
Prior art keywords
bluetooth
pairing
bluetooth device
pin code
pairing mode
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
CN201910822179.1A
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.)
Shanghai Able Intelligent Technology Co Ltd
Original Assignee
Shanghai Able Intelligent Technology 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 Shanghai Able Intelligent Technology Co Ltd filed Critical Shanghai Able Intelligent Technology Co Ltd
Priority to CN201910822179.1A priority Critical patent/CN110636474A/en
Publication of CN110636474A publication Critical patent/CN110636474A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
    • 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

Landscapes

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

Abstract

The Bluetooth pairing method comprises the following steps: pre-storing code values of a plurality of PIN codes; attempting to establish connection with a first Bluetooth device through a first pairing mode, wherein the first pairing mode calls a system API (application program interface) of a second Bluetooth device to initiate a broadcast pairing request to the first Bluetooth device; after the broadcast pairing request is initiated, continuously monitoring and preventing prompt information requiring a user to manually input a PIN code; and if the first pairing mode is failed to attempt, attempting to establish connection with the first Bluetooth device through a second pairing mode, calling setPin of the system through the second pairing mode, and performing PIN code verification by using a prestored code value of the PIN code in the first pairing mode and the second pairing mode. The invention can avoid the connection forbidding in a certain time period caused by the error of the PIN code which is tried by the user for many times, and simultaneously, the inconvenience brought by the memory of the user and the manual input of the PIN code is saved as much as possible.

Description

Bluetooth pairing method and device
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a bluetooth pairing method and apparatus.
Background
Bluetooth (Bluetooth) is a wireless communication technology standard proposed and maintained by the Bluetooth special interest group (Bluetooth SIG), supports short-distance (generally within 10 m) communication between devices, and has wide application in various industries and daily life.
Starting from Bluetooth 4.0, Bluetooth technology can be classified into classical Bluetooth (classic Bluetooth) and Bluetooth low energy (Bluetooth low energy), which have different modulation and demodulation manners in the physical layer, so that the classical Bluetooth device and the Bluetooth low energy device cannot usually communicate with each other (but there are also devices such as a mobile phone which can support both classical Bluetooth and Bluetooth low energy).
Generally, classic bluetooth is mainly applied to scenes such as bluetooth telephone answering, bluetooth earphones, bluetooth speakers and the like, and low-power bluetooth is mainly applied to scenes such as wearable devices (e.g., smart watches), IoT smart devices, fitness equipment, bluetooth mouse keyboards and the like.
The invention relates to a pairing method (and a device) of classic Bluetooth. For security reasons, when classic bluetooth is paired for the first time, the identity of the opposite terminal is usually authenticated by a Personal Identification Number (PIN) code.
The PIN code of classic bluetooth is generally a 4-bit number combination, which can be set and modified by a user, and in the case that the PIN code is not modified by the user, the default value can be a simple number permutation such as 1234, 0000 or 1111.
In the prior art, as described above, when classic bluetooth is paired for the first time, a user usually needs to manually input a PIN code of an opposite terminal for identity authentication, which brings great inconvenience to the user, in practice, the user often cannot remember the PIN code of the opposite terminal, or does not manually set/modify the PIN code, and at this time, an attempt can be made only according to common PIN code default values (namely 1234, 0000, 1111, and the like), which is very inefficient, and connection may be prohibited in a certain period of time due to continuous multiple attempts and errors.
Disclosure of Invention
The technical problem solved by the invention is as follows: in the process of carrying out Bluetooth pairing on a user mobile phone and vehicle-mounted Bluetooth equipment, how to avoid forbidding connection in a certain time period due to the fact that a user tries PIN code errors for multiple times is avoided, and inconvenience caused by user memory and manual PIN code input is eliminated as far as possible.
In order to solve the foregoing technical problem, an embodiment of the present invention provides a bluetooth pairing method, including a vehicle-mounted terminal, a first bluetooth device, and a second bluetooth device, where the first bluetooth device and the second bluetooth device respectively support a classic bluetooth function, and the bluetooth pairing method includes:
presetting code values for storing a plurality of PIN codes;
the method comprises the steps that connection with a first Bluetooth device is tried to be established through a first pairing mode, the first pairing mode calls a system API (application program interface) of a second Bluetooth device to send a broadcast pairing request to the first Bluetooth device, and PIN code verification is carried out in the first pairing mode by using a prestored code value of a PIN code;
after the broadcast pairing request is initiated, continuously monitoring and preventing prompt information requiring a user to manually input a PIN code;
and if the first pairing mode is failed to attempt, attempting to establish connection with the first Bluetooth device through a second pairing mode, calling setPin of the system through the second pairing mode, and performing PIN code verification in the second pairing mode by using a prestored code value of the PIN code.
Optionally, the first bluetooth device is a vehicle-mounted bluetooth device, the second bluetooth device is a mobile phone, and the first bluetooth device is connected to the vehicle-mounted terminal.
Optionally, a first APP is installed on the second bluetooth device, the first APP has a PIN code pool, and code values of the plurality of PIN codes are stored in the PIN code pool.
Optionally, before attempting to establish a connection with the first bluetooth device through the first pairing method, the method further includes:
the first bluetooth device is in a discoverable state;
searching other nearby Bluetooth devices;
the first bluetooth device is selected from the searched other bluetooth devices in the vicinity.
Optionally, the bluetooth pairing method further includes: and if the second pairing mode is failed, attempting to establish connection with the first Bluetooth device through a third pairing mode, requiring the user to manually input a PIN code in the third pairing mode, and performing PIN code verification by using the PIN code manually input by the user.
Optionally, the prompt information for the user to manually input the PIN code is a system popup box.
In order to solve the above technical problem, an embodiment of the present invention further provides a bluetooth pairing apparatus, which includes a vehicle-mounted terminal, a first bluetooth device, and a second bluetooth device, where the first bluetooth device and the second bluetooth device respectively support a classic bluetooth function, and the bluetooth pairing apparatus includes: the device comprises a storage unit, a first pairing unit, a shielding unit and a second pairing unit; wherein:
a storage unit adapted to store code values of a plurality of PIN codes in advance;
the first pairing unit is suitable for trying to establish connection with a first Bluetooth device through a first pairing mode, the first pairing mode calls a system API (application program interface) of a second Bluetooth device to send a broadcast pairing request to the first Bluetooth device, and PIN code verification is carried out in the first pairing mode by using a prestored code value of a PIN code;
a shielding unit adapted to continuously monitor and block prompt information requiring a user to manually input a PIN code after the initiating of the broadcast pairing request;
and the second pairing unit is suitable for attempting to establish connection with the first Bluetooth device through a second pairing mode if the first pairing mode is failed to attempt, the second pairing mode calls setPin of the system, and PIN code verification is performed in the second pairing mode by using a prestored code value of the PIN code.
Optionally, the first bluetooth device is a vehicle-mounted bluetooth device, the second bluetooth device is a mobile phone, and the first bluetooth device is connected to the vehicle-mounted terminal.
Optionally, a first APP is installed on the second bluetooth device, the first APP has a PIN code pool, and code values of the plurality of PIN codes are stored in the PIN code pool.
Optionally, before attempting to establish a connection with the first bluetooth device through the first pairing method, the method further includes:
the first bluetooth device is in a discoverable state;
searching other nearby Bluetooth devices;
the first bluetooth device is selected from the searched other bluetooth devices in the vicinity.
Optionally, the bluetooth pairing apparatus further includes:
and the third pairing unit is suitable for trying to establish connection with the first Bluetooth device through a third pairing mode if the second pairing mode is failed, and the third pairing mode requires the user to manually input a PIN code and uses the PIN code manually input by the user to verify the PIN code.
Optionally, the prompt information for the user to manually input the PIN code is a system popup box.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
the method comprises the steps of storing code values of a plurality of PIN codes in advance, using three pairing modes in sequence in the process of carrying out Bluetooth pairing on a user mobile phone and vehicle-mounted Bluetooth equipment, using the code values of the prestored PIN codes in the first two pairing modes (respectively through a system API interface and a hidden interface) to carry out PIN code verification, preventing prompt information requiring the user to manually input the PIN codes, and using a conventional pairing mode under the condition that the first two pairing modes fail, so that connection prohibition in a certain time period caused by the fact that the user tries the PIN codes for many times and mistakes is avoided, and inconvenience caused by the fact that the user memorizes the PIN codes and inputs the PIN codes manually is saved as far as possible.
Further, an APP is installed on a mobile phone of the user, the APP is provided with a PIN pool, code values of the PIN codes are stored in the PIN pool, and therefore the Bluetooth pairing method is integrated with other functions of the APP related to the vehicle-mounted terminal, and the Bluetooth pairing method is convenient for the user to use (the user can conveniently use the Bluetooth pairing method only by opening the APP).
Drawings
FIG. 1 is a flowchart of a Bluetooth pairing method according to an embodiment of the present invention;
fig. 2 is a block diagram of a bluetooth pairing apparatus according to an embodiment of the present invention.
Detailed Description
As can be seen from the analysis of the background art, in the prior art, when classic bluetooth is paired for the first time, a user usually needs to manually input a PIN code of an opposite terminal for authentication, which brings great inconvenience to the user, in practice, the user often cannot remember the PIN code of the opposite terminal, or does not manually set/modify the PIN code, and at this time, the attempt can only be made according to common PIN code default values (i.e. 1234, 0000, 1111, etc.), which is very inefficient, and a connection may be prohibited for a certain period of time due to a continuous multiple-attempt error.
In the invention, code values of a plurality of PIN codes are prestored, three pairing modes are sequentially used in the process of carrying out Bluetooth pairing on a user mobile phone and a vehicle-mounted Bluetooth device, the prestored code values of the PIN codes are used in the first two pairing modes (respectively through a system API interface and a hidden interface) to carry out PIN code verification and prevent the prompt information requiring the user to manually input the PIN codes, and the conventional pairing mode is used under the condition that the first two pairing modes fail, so that the connection prohibition in a certain time period caused by the fact that the user tries the PIN codes for many times and the inconvenience caused by manually inputting the PIN codes is avoided as much as possible.
In order that those skilled in the art will better understand and realize the present invention, the following detailed description is given by way of specific embodiments with reference to the accompanying drawings.
Example one
As described below, embodiments of the present invention provide a bluetooth pairing method.
In this embodiment, the vehicle-mounted terminal, the first bluetooth device, and the second bluetooth device are provided.
Specifically, the first bluetooth device is a vehicle-mounted bluetooth device, and the second bluetooth device is a mobile phone.
The vehicle-mounted terminal and the first Bluetooth device are installed on the vehicle, the first Bluetooth device is connected with the vehicle-mounted terminal, and the first Bluetooth device and the second Bluetooth device support the classic Bluetooth function respectively.
Of course, other vehicle-mounted devices may be mounted on the vehicle, and the vehicle-mounted terminal may also control some of the vehicle-mounted devices and have the capability of performing V2V and V2R communication with vehicle-mounted terminals/roadside facilities and the like on other vehicles, but this is not the focus of the present disclosure, and will not be described herein.
Referring to a flowchart of a bluetooth pairing method shown in fig. 1, the following detailed description is made through specific steps:
s101, code values of a plurality of PIN codes are stored in advance.
In some embodiments, a manufacturer of a vehicle-mounted terminal may provide a mobile phone APP corresponding to the vehicle-mounted terminal, which is referred to as a first APP in the present invention, and a user mobile phone downloads and installs the first APP, where the first APP has a PIN code pool, and code values of a plurality of PIN codes are stored in the PIN code pool.
The PIN codes stored in the PIN code pool may include common PIN code default values, as well as PIN codes that have been previously verified during previous use. The common default values of the PIN code may be 1234, 0000, 1111, 8888, etc.
The above description of the technical solution shows that: in this embodiment, an APP is installed on a mobile phone of a user, the APP has a PIN pool, and code values of a plurality of PIN codes are stored in the PIN pool, so that the bluetooth pairing method of the present invention is integrated with other functions of the APP related to a vehicle-mounted terminal, which is convenient for the user to use (the user can conveniently use the bluetooth pairing method of the present invention only by opening the APP).
In the subsequent steps (step S102, step S104), the second bluetooth device performs PIN code verification using the code value of the PIN code stored in the PIN code pool.
S102, connection establishment with the first Bluetooth device is tried in a first pairing mode.
The method comprises the steps that connection with a first Bluetooth device is tried to be established through a first pairing mode, the first pairing mode calls a system API (application program interface) of a second Bluetooth device to send a broadcast pairing request to the first Bluetooth device, and PIN code verification is carried out in the first pairing mode by using a prestored code value of a PIN code.
Specifically, the pairing attempt may adopt a polling mechanism, for example, a PIN code value is sequentially taken from a PIN code pool to attempt, and is cycled once every 100 milliseconds to detect the current pairing state of the pairing device, and if the pairing is successful, the polling is stopped and the pairing is successfully fed back; and if the PIN code is wrong, sequentially taking the next PIN code value from the PIN code pool for trying.
In the invention, in the process of carrying out Bluetooth pairing between the user mobile phone and the vehicle-mounted Bluetooth device, three pairing modes (namely a first pairing mode, a second pairing mode and a third pairing mode) are sequentially used, and if the first pairing mode fails to be tried, the connection with the first Bluetooth device is tried in the subsequent step (step S104) through the second pairing mode.
In some embodiments, before the attempting to establish a connection with the first bluetooth device through the first pairing method, the method further includes:
the first bluetooth device is in a discoverable state;
searching other nearby Bluetooth devices;
the first bluetooth device is selected from the searched other bluetooth devices in the vicinity.
And S103, continuously monitoring and preventing prompt information requiring the user to manually input the PIN code.
After the initiation of the broadcast pairing request, prompt information requiring the user to manually enter a PIN is continuously monitored and blocked.
And S104, attempting to establish connection with the first Bluetooth device in a second pairing mode.
And if the first pairing mode is failed to attempt, attempting to establish connection with the first Bluetooth device through a second pairing mode, calling setPin of the system through the second pairing mode, and performing PIN code verification in the second pairing mode by using a prestored code value of the PIN code.
Similar to step S102, the pairing attempt in step S104 may also employ a polling mechanism.
The first pairing mode and the second pairing mode are respectively carried out through a system API interface and a hidden interface, and PIN code verification is carried out by using a prestored code value of the PIN code in the process, so that a user does not need to manually input the PIN code, and prompt information requiring the user to manually input the PIN code is prevented.
If the second pairing method fails, i.e. if both the first and second pairing methods fail, then the normal pairing method is used in the subsequent step (step S105).
The above description of the technical solution shows that: in the embodiment, code values of a plurality of PIN codes are stored in advance, three pairing modes are sequentially used in the process of performing bluetooth pairing on a user mobile phone and a vehicle-mounted bluetooth device, the prestored code values of the PIN codes are used in the first two pairing modes (respectively through a system API interface and a hidden interface) to perform PIN code verification, prompt information requiring the user to manually input the PIN codes is prevented, the conventional pairing mode is used under the condition that the first two pairing modes fail, connection prohibition in a certain time period caused by the fact that the user tries PIN code errors for many times is avoided, and inconvenience caused by the fact that the user memorizes the PIN codes and inputs the PIN codes manually is saved as far as possible.
And S105, attempting to establish connection with the first Bluetooth device in a third pairing mode.
And if the second pairing mode is failed, attempting to establish connection with the first Bluetooth device through a third pairing mode, requiring the user to manually input a PIN code in the third pairing mode, and performing PIN code verification by using the PIN code manually input by the user.
The third pairing mode is a conventional bluetooth pairing mode, and a PIN code needs to be manually input by a user.
In some embodiments, the prompt requiring the user to manually enter the PIN code is a system pop-up box.
Step S105 is an optional step, and in other embodiments, if the second pairing mode fails to attempt, the bluetooth pairing may also be terminated, and the user is prompted to fail in pairing.
Example two
As described below, embodiments of the present invention provide a bluetooth pairing apparatus.
Referring to fig. 2, a block diagram of a bluetooth pairing apparatus is shown.
The vehicle-mounted Bluetooth system is provided with a vehicle-mounted terminal, a first Bluetooth device and a second Bluetooth device, wherein the first Bluetooth device and the second Bluetooth device respectively support the classic Bluetooth function.
The bluetooth pairing apparatus includes: a storage unit 201, a first pairing unit 202, a shielding unit 203 and a second pairing unit 204; the main functions of each unit are as follows:
a storage unit 201 adapted to store code values of a plurality of PIN codes in advance;
the first pairing unit 202 is adapted to attempt to establish connection with a first bluetooth device through a first pairing mode, the first pairing mode calls a system API interface of a second bluetooth device to initiate a broadcast pairing request to the first bluetooth device, and a PIN code is verified in the first pairing mode by using a prestored code value of the PIN code;
a shielding unit 203 adapted to continuously monitor and block prompt information requiring a user to manually input a PIN code after the initiating of the broadcast pairing request;
the second pairing unit 204 is adapted to, if the first pairing mode is failed to attempt, attempt to establish connection with the first bluetooth device through a second pairing mode, where the second pairing mode invokes setPin of the system, and performs PIN code verification using a prestored code value of the PIN code in the second pairing mode.
In some embodiments, the first bluetooth device is a vehicle-mounted bluetooth device, the second bluetooth device is a mobile phone, and the first bluetooth device is connected to a vehicle-mounted terminal.
In some embodiments, a first APP is installed on the second bluetooth device, the first APP having a PIN code pool in which code values of the plurality of PIN codes are stored.
The above description of the technical solution shows that: in this embodiment, an APP is installed on a mobile phone of a user, the APP has a PIN pool, and code values of a plurality of PIN codes are stored in the PIN pool, so that the bluetooth pairing method of the present invention is integrated with other functions of the APP related to a vehicle-mounted terminal, which is convenient for the user to use (the user can conveniently use the bluetooth pairing method of the present invention only by opening the APP).
In some embodiments, before the attempting to establish a connection with the first bluetooth device through the first pairing method, the method further includes:
the first bluetooth device is in a discoverable state;
searching other nearby Bluetooth devices;
the first bluetooth device is selected from the searched other bluetooth devices in the vicinity.
In some embodiments, the bluetooth pairing apparatus further comprises:
the third pairing unit 205 is adapted to, if the second pairing mode is failed, attempt to establish a connection with the first bluetooth device through a third pairing mode, where the third pairing mode requires the user to manually input a PIN code, and performs PIN code verification using the PIN code manually input by the user.
In some embodiments, the prompt requiring the user to manually enter the PIN code is a system pop-up box.
The above description of the technical solution shows that: in the embodiment, code values of a plurality of PIN codes are stored in advance, three pairing modes are sequentially used in the process of performing bluetooth pairing on a user mobile phone and a vehicle-mounted bluetooth device, the prestored code values of the PIN codes are used in the first two pairing modes (respectively through a system API interface and a hidden interface) to perform PIN code verification, prompt information requiring the user to manually input the PIN codes is prevented, the conventional pairing mode is used under the condition that the first two pairing modes fail, connection prohibition in a certain time period caused by the fact that the user tries PIN code errors for many times is avoided, and inconvenience caused by the fact that the user memorizes the PIN codes and inputs the PIN codes manually is saved as far as possible.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A Bluetooth pairing method is characterized by comprising an in-vehicle terminal, a first Bluetooth device and a second Bluetooth device, wherein the first Bluetooth device and the second Bluetooth device respectively support a classic Bluetooth function, and the Bluetooth pairing method comprises the following steps:
pre-storing code values of a plurality of PIN codes;
the method comprises the steps that connection with a first Bluetooth device is tried to be established through a first pairing mode, the first pairing mode calls a system API (application program interface) of a second Bluetooth device to send a broadcast pairing request to the first Bluetooth device, and PIN code verification is carried out in the first pairing mode by using a prestored code value of a PIN code;
after the broadcast pairing request is initiated, continuously monitoring and preventing prompt information requiring a user to manually input a PIN code;
and if the first pairing mode is failed to attempt, attempting to establish connection with the first Bluetooth device through a second pairing mode, calling setPin of the system through the second pairing mode, and performing PIN code verification in the second pairing mode by using a prestored code value of the PIN code.
2. The bluetooth pairing method of claim 1, wherein the first bluetooth device is a vehicle-mounted bluetooth device, the second bluetooth device is a mobile phone, and the first bluetooth device is connected to a vehicle-mounted terminal.
3. The bluetooth pairing method of claim 1, wherein a second bluetooth device has a first APP installed thereon, the first APP having a PIN code pool in which code values of the plurality of PIN codes are stored.
4. The bluetooth pairing method of claim 1, further comprising, before the attempting to establish a connection with a first bluetooth device through a first pairing procedure:
the first bluetooth device is in a discoverable state;
searching other nearby Bluetooth devices;
the first bluetooth device is selected from the searched other bluetooth devices in the vicinity.
5. The bluetooth pairing method of claim 1, further comprising: and if the second pairing mode is failed, attempting to establish connection with the first Bluetooth device through a third pairing mode, requiring the user to manually input a PIN code in the third pairing mode, and performing PIN code verification by using the PIN code manually input by the user.
6. The bluetooth pairing method of claim 1, wherein the prompt requiring the user to manually enter a PIN code is a system pop.
7. The utility model provides a bluetooth pairs device, its characterized in that has vehicle mounted terminal, first bluetooth equipment and second bluetooth equipment, and classic bluetooth function is supported respectively to first bluetooth equipment and second bluetooth equipment, the bluetooth pairs the device and includes: the device comprises a storage unit, a first pairing unit, a shielding unit and a second pairing unit; wherein:
a storage unit adapted to store code values of a plurality of PIN codes in advance;
the first pairing unit is suitable for trying to establish connection with a first Bluetooth device through a first pairing mode, the first pairing mode calls a system API (application program interface) of a second Bluetooth device to send a broadcast pairing request to the first Bluetooth device, and PIN code verification is carried out in the first pairing mode by using a prestored code value of a PIN code;
a shielding unit adapted to continuously monitor and block prompt information requiring a user to manually input a PIN code after the initiating of the broadcast pairing request;
and the second pairing unit is suitable for attempting to establish connection with the first Bluetooth device through a second pairing mode if the first pairing mode is failed to attempt, the second pairing mode calls setPin of the system, and PIN code verification is performed in the second pairing mode by using a prestored code value of the PIN code.
8. The bluetooth pairing apparatus as claimed in claim 1, wherein the first bluetooth device is a vehicle-mounted bluetooth device, the second bluetooth device is a mobile phone, and the first bluetooth device is connected to a vehicle-mounted terminal.
9. The bluetooth pairing apparatus of claim 1, wherein a second bluetooth device has a first APP installed thereon, the first APP having a PIN code pool in which code values of the plurality of PIN codes are stored.
10. The bluetooth pairing apparatus as claimed in claim 1, further comprising, before the attempting to establish a connection with the first bluetooth device through the first pairing manner:
the first bluetooth device is in a discoverable state;
searching other nearby Bluetooth devices;
the first bluetooth device is selected from the searched other bluetooth devices in the vicinity.
11. The bluetooth pairing apparatus of claim 1, wherein the bluetooth pairing apparatus further comprises:
and the third pairing unit is suitable for trying to establish connection with the first Bluetooth device through a third pairing mode if the second pairing mode is failed, and the third pairing mode requires the user to manually input a PIN code and uses the PIN code manually input by the user to verify the PIN code.
12. The bluetooth pairing apparatus of claim 1 wherein the prompt to require the user to manually enter a PIN code is a system pop.
CN201910822179.1A 2019-08-30 2019-08-30 Bluetooth pairing method and device Pending CN110636474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910822179.1A CN110636474A (en) 2019-08-30 2019-08-30 Bluetooth pairing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910822179.1A CN110636474A (en) 2019-08-30 2019-08-30 Bluetooth pairing method and device

Publications (1)

Publication Number Publication Date
CN110636474A true CN110636474A (en) 2019-12-31

Family

ID=68969943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910822179.1A Pending CN110636474A (en) 2019-08-30 2019-08-30 Bluetooth pairing method and device

Country Status (1)

Country Link
CN (1) CN110636474A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395673A (en) * 2020-03-13 2021-09-14 丰田自动车株式会社 System, in-vehicle device, and information processing method
CN113543102A (en) * 2021-07-12 2021-10-22 三诺生物传感股份有限公司 Bluetooth connection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626256A (en) * 2008-07-07 2010-01-13 英华达(南京)科技有限公司 Method for establishing bluetooth wireless transmission
CN101835279A (en) * 2009-12-29 2010-09-15 闻泰集团有限公司 Method for simplifying mobile terminal connecting bluetooth equipment
CN104539320A (en) * 2015-01-15 2015-04-22 北京深思数盾科技有限公司 Pairing method for Bluetooth devices
CN107257540A (en) * 2017-07-04 2017-10-17 飞天诚信科技股份有限公司 It is a kind of to realize the method and device that bluetooth equipment is matched with mobile device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626256A (en) * 2008-07-07 2010-01-13 英华达(南京)科技有限公司 Method for establishing bluetooth wireless transmission
CN101835279A (en) * 2009-12-29 2010-09-15 闻泰集团有限公司 Method for simplifying mobile terminal connecting bluetooth equipment
CN104539320A (en) * 2015-01-15 2015-04-22 北京深思数盾科技有限公司 Pairing method for Bluetooth devices
CN107257540A (en) * 2017-07-04 2017-10-17 飞天诚信科技股份有限公司 It is a kind of to realize the method and device that bluetooth equipment is matched with mobile device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395673A (en) * 2020-03-13 2021-09-14 丰田自动车株式会社 System, in-vehicle device, and information processing method
CN113395673B (en) * 2020-03-13 2024-04-09 丰田自动车株式会社 System, in-vehicle apparatus, and information processing method
CN113543102A (en) * 2021-07-12 2021-10-22 三诺生物传感股份有限公司 Bluetooth connection method

Similar Documents

Publication Publication Date Title
JP5247124B2 (en) Authentication device, in-vehicle device, and authentication system
CN105516902A (en) Method and system for Bluetooth connection and Bluetooth device
CN109005532B (en) Bluetooth connection method, Bluetooth master device and Bluetooth slave device
CN105025433A (en) Bluetooth pairing method and terminal
CN106131810B (en) Method and device for connecting Bluetooth dual-mode equipment
US9088896B2 (en) Mobile device password reset
CN104601324A (en) Verification method specific to applications, terminal and system
CN105554223A (en) Connection establishment method and mobile terminal
CN110636474A (en) Bluetooth pairing method and device
CN105050061A (en) Method and device for sending messages on the basis of user voiceprint information
EP2602972B1 (en) Mobile communication terminal and terminal control method
CN104796312A (en) Contact information processing method, device and system
EP2870787B1 (en) Method to disable a network access application in a secure element
CN105530358A (en) Bluetooth watch encryption method based on mobile terminal and Bluetooth watch
CN112738046B (en) One-key login method, terminal and system server
CN101902741B (en) Mobile terminal and network access method thereof
CN103369533A (en) Antitheft method and antitheft device of mobile terminal
CN108521645A (en) A kind of auth method, system and control system based on identifying code
CN105978899A (en) SIM card binding method for preventing malicious mobile phone flash
CN101800985A (en) Authentication method and system, terminal, server and data downloading method and device
US10841797B2 (en) Method for generating and injecting SIMLOCK password and device for the same
EP4310407A1 (en) Control right switching method and apparatus for virtual remote control, device, and storage medium
CN102869004A (en) Mobile terminal recovery and information protection method and device
CN102833728B (en) Based on the SIM card information guard method of handset starting information and IMEI information
CN107318055A (en) A kind of unlocking screen method and device of mobile 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191231

WD01 Invention patent application deemed withdrawn after publication