Bluetooth connection method, system and vehicle-mounted terminal
Technical Field
The invention belongs to the technical field of Bluetooth, and particularly relates to a Bluetooth connection method, a Bluetooth connection system and a vehicle-mounted terminal.
Background
Bluetooth is a wireless communication technology supporting short distance (generally within ten meters) of equipment, and has been an indispensable module in digital products at present due to rapid development in recent years. The use of the Bluetooth technology can remove the constraint of the data line of the device, simplify the communication between the device and the Internet, and ensure that the data transmission is more rapid and efficient. Bluetooth can carry out wireless information exchange among related devices such as mobile phones, notebook computers, wireless earphones, PADs and the like. The bluetooth adopts a distributed network structure and a fast frequency hopping and packet breaking technology, works in a 2.4GHz frequency band, has a rate of 1Mbps generally, and supports one-to-one or one-to-many communication, for example, the bluetooth on a vehicle-mounted terminal generally only supports one-to-one communication. Bluetooth has the characteristics of wide compatibility, strong openness, portability, small harm to human bodies and the like.
Near Field Communication (NFC) is a short-range high-frequency wireless Communication technology, which allows short-range (generally less than ten centimeters) contactless point-to-point transmission and exchange of data between devices, and originally evolved from contactless radio frequency identification (FRID). NFC has three modes of operation: 1. the active mode, namely the NFC can be used as a card reader to send out radio frequency field identification and read/write other NFC equipment information; 2. the passive mode is opposite to the active mode, and at the moment, the NFC can be simulated into a card which only passively responds in a radio frequency field emitted by other equipment and is read/written with information; 3. in the bidirectional mode, both the NFC terminals actively send out a radio frequency field to establish peer-to-peer communication, which is equivalent to two NFC devices being in the active mode.
At present, the Bluetooth connection can be established through processes of searching, selecting, inputting passwords and the like between the Bluetooth, active disconnection of the Bluetooth connection needs to be controlled and applied through finding the Bluetooth, and the active disconnection of the Bluetooth connection can be realized only after a terminal receives a Bluetooth disconnection command, so that the Bluetooth connection is long in time, connection and disconnection operations of the Bluetooth are complicated, the Bluetooth connection and disconnection mode is applied to a vehicle, and for a driver, great potential safety hazards exist when the Bluetooth is connected in a driving process.
In view of the above problems, those skilled in the art have sought solutions.
Disclosure of Invention
In view of this, the present invention provides a method and a system for bluetooth connection, and a vehicle-mounted terminal, which are used to simplify the operations of bluetooth connection and disconnection with the vehicle-mounted terminal, and further achieve the purpose of ensuring safe driving.
The invention is realized by the following steps:
the invention provides a Bluetooth connection method, which comprises the following steps: the mobile terminal reads the NFC label for the first time to acquire the Bluetooth parameter information of the vehicle-mounted terminal in the NFC label, wherein the Bluetooth parameter information comprises Bluetooth identification information and a Bluetooth connection password of the vehicle-mounted terminal. The Bluetooth of the mobile terminal sends a Bluetooth connection request to the Bluetooth of the vehicle-mounted terminal, and the Bluetooth connection request comprises a Bluetooth connection password. And after receiving the Bluetooth connection request, the Bluetooth of the vehicle-mounted terminal establishes Bluetooth connection with the Bluetooth of the mobile terminal. And when the mobile terminal reads the NFC label again, the Bluetooth connection between the Bluetooth of the mobile terminal and the Bluetooth of the vehicle-mounted terminal is disconnected.
Further, the step that the mobile terminal reads the NFC tag for the first time to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag includes: and the vehicle-mounted terminal writes the Bluetooth parameter information into the NFC label.
Further, after the step of reading the NFC tag by the mobile terminal for the first time to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag, the method includes: the mobile terminal detects whether the Bluetooth of the mobile terminal is started or not, and automatically starts the Bluetooth of the mobile terminal when the Bluetooth of the mobile terminal is not started.
Further, after the step of reading the NFC tag by the mobile terminal for the first time to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag, the method includes: the vehicle-mounted terminal acquires a first reading signal of the NFC label, detects whether the Bluetooth of the vehicle-mounted terminal is started or not, and starts the Bluetooth of the vehicle-mounted terminal when the Bluetooth of the vehicle-mounted terminal is not started.
Further, after the step of reading the NFC tag by the mobile terminal for the first time to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag, the method includes: the mobile terminal acquires a communication identifier of the vehicle-mounted terminal in the NFC label, and sends Bluetooth communication demand information to the vehicle-mounted terminal according to the communication identifier of the vehicle-mounted terminal. After receiving the Bluetooth communication demand information, the vehicle-mounted terminal detects whether the Bluetooth of the vehicle-mounted terminal is started or not, and starts the Bluetooth of the vehicle-mounted terminal when the Bluetooth of the vehicle-mounted terminal is not started.
Further, the step that the mobile terminal acquires the communication identifier of the vehicle-mounted terminal in the NFC tag and sends the bluetooth communication demand information to the vehicle-mounted terminal according to the communication identifier of the vehicle-mounted terminal includes: after searching the Bluetooth identification in the preset range, the Bluetooth of the mobile terminal detects whether the Bluetooth identification corresponding to the Bluetooth identification information in the Bluetooth parameter information exists, and when the Bluetooth identification corresponding to the Bluetooth identification information does not exist, the Bluetooth communication demand information is sent to the vehicle-mounted terminal according to the communication identification.
Further, after the step of establishing bluetooth connection with the bluetooth of the mobile terminal after the bluetooth of the vehicle-mounted terminal receives the bluetooth connection request, the method includes: the mobile terminal sends music playing information to the vehicle-mounted terminal, wherein the music playing information comprises at least one item of music data and playing progress information. And the vehicle-mounted terminal starts the vehicle-mounted playing device and enables the vehicle-mounted playing device to play the music data corresponding to the music playing information according to the playing progress information.
The invention also provides a vehicle-mounted terminal which comprises a memory and a processor. The processor is adapted to execute the computer program stored in the memory to implement the steps of the above-described method of bluetooth connection.
The invention also provides a Bluetooth connection system, which comprises the vehicle-mounted terminal and the mobile terminal. The mobile terminal is used for reading the NFC label for the first time to obtain the Bluetooth parameter information of the vehicle-mounted terminal in the NFC label, and sends a Bluetooth connection request to the Bluetooth of the vehicle-mounted terminal through the Bluetooth of the mobile terminal, wherein the Bluetooth parameter information comprises Bluetooth identification information and a Bluetooth connection password of the vehicle-mounted terminal, and the Bluetooth connection request comprises a Bluetooth connection password. The vehicle-mounted terminal is used for establishing Bluetooth connection between the Bluetooth of the vehicle-mounted terminal and the Bluetooth of the mobile terminal after the Bluetooth of the vehicle-mounted terminal receives the Bluetooth connection request. The mobile terminal is also used for disconnecting the Bluetooth connection between the Bluetooth of the mobile terminal and the Bluetooth of the vehicle-mounted terminal when the NFC label is read again.
Further, the vehicle-mounted terminal includes an NFC tag, and the mounting position of the NFC tag includes at least one of a back portion of a seat back of a seat in the vehicle, on a center console of the vehicle, and at a door handle in the vehicle.
The invention provides a Bluetooth connection method, a system and a vehicle-mounted terminal, wherein the Bluetooth connection method comprises the following steps: the mobile terminal reads the NFC label for the first time to acquire the Bluetooth parameter information of the vehicle-mounted terminal in the NFC label, wherein the Bluetooth parameter information comprises Bluetooth identification information and a Bluetooth connection password of the vehicle-mounted terminal. The Bluetooth of the mobile terminal sends a Bluetooth connection request to the Bluetooth of the vehicle-mounted terminal, and the Bluetooth connection request comprises a Bluetooth connection password. And after receiving the Bluetooth connection request, the Bluetooth of the vehicle-mounted terminal establishes Bluetooth connection with the Bluetooth of the mobile terminal. When the mobile terminal reads the NFC label again, the Bluetooth connection between the Bluetooth of the mobile terminal and the Bluetooth of the vehicle-mounted terminal is disconnected, so that the mobile terminal can acquire the Bluetooth parameter information of the vehicle-mounted terminal through the NFC label, the Bluetooth of the vehicle-mounted terminal is automatically selected according to the Bluetooth parameter information, and a Bluetooth connection request including a Bluetooth connection password is sent to the vehicle-mounted terminal, so that the Bluetooth of the mobile terminal and the Bluetooth of the vehicle-mounted terminal automatically complete Bluetooth connection operation, thereby simplifying Bluetooth connection operation, and saves the Bluetooth connection time, and moreover, the mobile terminal can quickly disconnect the Bluetooth connection by reading the NFC tag again, therefore, the operation of Bluetooth disconnection is simplified, and further, a driver can conveniently and quickly realize Bluetooth connection and Bluetooth disconnection between the mobile terminal and the vehicle-mounted terminal in the process of driving the vehicle, so that safe driving of the driver can be guaranteed.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a flowchart illustrating a method for bluetooth connection according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a vehicle-mounted terminal according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a bluetooth connection system according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It is to be understood that the described embodiments are merely a few embodiments of the invention, 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 invention.
The embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The first embodiment is as follows:
fig. 1 is a flowchart illustrating a method for bluetooth connection according to an embodiment of the present invention. For a clear description of the method of bluetooth connection provided in the first embodiment of the present invention, please refer to fig. 1.
The method for connecting the Bluetooth comprises the following steps:
and S11, the mobile terminal acquires the NFC label for the first time to acquire the Bluetooth parameter information of the vehicle-mounted terminal in the NFC label, wherein the Bluetooth parameter information comprises the Bluetooth identification information and the Bluetooth connection password of the vehicle-mounted terminal.
Specifically, the mobile terminal may be, but is not limited to, a mobile phone, a smart watch, a smart band, a computer, a tablet computer, a smart band, or the like.
In an embodiment, the NFC tag may be integrated in the vehicle-mounted terminal or may be externally connected to the vehicle-mounted terminal. In one embodiment, the vehicle-mounted terminal may be externally connected with at least one NFC tag. When the NFC tag is externally connected to the vehicle-mounted terminal, the NFC tag may be installed at any position in the vehicle, for example, at the back of the seat in the vehicle, on the center console of the vehicle, at the door handle in the vehicle, and the like.
In an embodiment, the bluetooth identification information of the vehicle-mounted terminal may include at least one of a terminal identifier (e.g., a device name, a device code, etc.) and a bluetooth address, but the bluetooth identification information of the vehicle-mounted terminal is not limited to include only the terminal identifier and the bluetooth address.
In one embodiment, in step S11, before the mobile terminal first acquires the NFC tag to acquire the bluetooth parameter information of the in-vehicle terminal in the NFC tag, the method includes: and the vehicle-mounted terminal writes the Bluetooth parameter information into the NFC label.
Specifically, the vehicle-mounted terminal may write various parameter information into the NFC tag, so that the vehicle-mounted terminal may implement a corresponding function through the NFC identifier, for example, the vehicle-mounted terminal in this embodiment writes the bluetooth parameter information into the NFC tag, so that the other terminals can establish bluetooth connection with the vehicle-mounted terminal by reading the NFC tag; for another example, the in-vehicle terminal may write payment authentication parameter information into the NFC tag, so that the in-vehicle terminal may complete payment according to a request of the charging terminal after the other charging terminals read the NFC tag.
In one embodiment, in step S11, after the mobile terminal first acquires the NFC tag to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag, the method includes: the mobile terminal detects whether the Bluetooth of the mobile terminal is started or not, and automatically starts the Bluetooth of the mobile terminal when the Bluetooth of the mobile terminal is not started.
In other embodiments, the mobile terminal may output a bluetooth activation prompt message when detecting that its own bluetooth is not activated, and activate its own bluetooth when receiving an instruction to confirm bluetooth activation.
In one embodiment, in step S11, after the mobile terminal first acquires the NFC tag to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag, the method includes: the vehicle-mounted terminal acquires a first reading signal of the NFC label, detects whether the Bluetooth of the vehicle-mounted terminal is started or not, and starts the Bluetooth of the vehicle-mounted terminal when the Bluetooth of the vehicle-mounted terminal is not started.
In addition, in step S11, after the mobile terminal acquires the NFC tag for the first time to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag, the method may include: and the mobile terminal establishes NFC communication connection with the vehicle-mounted terminal and sends the Bluetooth communication demand information to the vehicle-mounted terminal. After receiving the Bluetooth communication demand information, the vehicle-mounted terminal detects whether the Bluetooth of the vehicle-mounted terminal is started or not, and starts the Bluetooth of the vehicle-mounted terminal when the Bluetooth of the vehicle-mounted terminal is not started.
In other embodiments, in step S11, after the mobile terminal acquires the NFC tag for the first time to acquire the bluetooth parameter information of the vehicle-mounted terminal in the NFC tag, the method may include: the mobile terminal acquires a communication identifier of the vehicle-mounted terminal in the NFC label, and sends Bluetooth communication demand information to the vehicle-mounted terminal according to the communication identifier of the vehicle-mounted terminal. After receiving the Bluetooth communication demand information, the vehicle-mounted terminal detects whether the Bluetooth of the vehicle-mounted terminal is started or not, and starts the Bluetooth of the vehicle-mounted terminal when the Bluetooth of the vehicle-mounted terminal is not started. The communication identifier of the vehicle-mounted terminal includes, for example, a telephone number of the vehicle-mounted terminal, an address of a cloud server corresponding to the vehicle-mounted terminal, and the like.
In another embodiment, the step of acquiring, by the mobile terminal, the communication identifier of the vehicle-mounted terminal in the NFC tag, and sending the bluetooth communication demand information to the vehicle-mounted terminal according to the communication identifier of the vehicle-mounted terminal includes: after the Bluetooth of the mobile terminal searches for the Bluetooth identification in the preset range, whether the Bluetooth identification corresponding to the Bluetooth identification information in the Bluetooth parameter information exists is detected, and when the Bluetooth identification corresponding to the Bluetooth identification information does not exist, the Bluetooth communication demand information is sent to the vehicle-mounted terminal according to the communication identification.
And S12, the Bluetooth of the mobile terminal sends a Bluetooth connection request to the Bluetooth of the vehicle-mounted terminal, wherein the Bluetooth connection request comprises a Bluetooth connection password.
And S13, after receiving the Bluetooth connection request, the Bluetooth of the vehicle-mounted terminal establishes Bluetooth connection with the Bluetooth of the mobile terminal.
In one embodiment, after the step of establishing the bluetooth connection with the bluetooth of the mobile terminal after the bluetooth of the in-vehicle terminal receives the bluetooth connection request at step S13, the method may include: the mobile terminal sends music playing information to the vehicle-mounted terminal, wherein the music playing information comprises at least one item of music data and playing progress information. And the vehicle-mounted terminal starts the vehicle-mounted playing device and enables the vehicle-mounted playing device to play the music data corresponding to the music playing information according to the playing progress information. For example, the mobile terminal plays Chengdu, and the playing progress is one minute and thirty seconds, and the mobile terminal sends music data containing Chengdu and corresponding playing progress information to the vehicle-mounted terminal; and the vehicle-mounted terminal starts the vehicle-mounted playing device to play the music data of Chengdu after thirty seconds of progress. Therefore, the bluetooth connection method provided by the embodiment can realize synchronous sharing of music data.
In one embodiment, after the step of establishing the bluetooth connection with the bluetooth of the mobile terminal after the bluetooth of the in-vehicle terminal receives the bluetooth connection request at step S13, the method may include: and when the vehicle-mounted terminal acquires the incoming call signal of the mobile terminal, sending an answering command to the mobile terminal. The mobile terminal is connected with the telephone and sends the received telephone voice data to the vehicle-mounted terminal, so that the vehicle-mounted terminal displays the telephone voice data. The vehicle-mounted terminal receives voice data of a user and sends the voice data to the mobile terminal. Therefore, the method for Bluetooth connection provided by the embodiment can transfer the incoming call of the mobile terminal to the vehicle-mounted terminal, so that the vehicle-mounted terminal can automatically answer the call of the mobile terminal, and a driver can communicate with other people on the premise of safe driving.
In one embodiment, after the step of establishing the bluetooth connection with the bluetooth of the mobile terminal after the bluetooth of the in-vehicle terminal receives the bluetooth connection request at step S13, the method may include: the mobile terminal receives the control instruction of the vehicle-mounted equipment so as to acquire and send the control information of the vehicle-mounted equipment corresponding to the control instruction to the vehicle-mounted terminal. And after the vehicle-mounted terminal acquires the control information of the vehicle-mounted equipment, correspondingly controlling the vehicle-mounted equipment corresponding to the control information. Wherein the in-vehicle apparatus includes at least one of an electronic seat, a rear view mirror, an electronic window glass, an in-vehicle effect lamp, and the like. Therefore, the bluetooth connection method provided by the embodiment can realize the control of the in-vehicle device through the mobile terminal.
In one embodiment, after the step of establishing the bluetooth connection with the bluetooth of the mobile terminal after the bluetooth of the in-vehicle terminal receives the bluetooth connection request at step S13, the method may include: the vehicle-mounted terminal acquires the user health big data stored in the mobile terminal, acquires the temperature information in the vehicle, and generates air conditioner control information according to the temperature information in the vehicle and the user health data so as to correspondingly control the air conditioner in the vehicle, wherein the health data of the user comprises at least one item of body temperature, motion information in a preset time period and the like, and the air conditioner control information comprises at least one item of temperature, wind power and temperature. Therefore, the Bluetooth connection method provided by the embodiment can automatically and intelligently control the air conditioner in the vehicle.
In one embodiment, after the step of establishing the bluetooth connection with the bluetooth of the mobile terminal after the bluetooth of the in-vehicle terminal receives the bluetooth connection request at step S13, the method may include: and the second mobile terminal reads the NFC label to acquire the Bluetooth parameter information in the NFC label. And the Bluetooth of the second mobile terminal acquires and selects the Bluetooth identifier of the vehicle-mounted terminal corresponding to the Bluetooth parameter information according to the Bluetooth parameter information, and sends a second Bluetooth connection request to the Bluetooth of the vehicle-mounted terminal, wherein the second Bluetooth connection request comprises a Bluetooth connection password. And after receiving the instruction for confirming the switching, the Bluetooth of the vehicle-mounted terminal is disconnected with the Bluetooth of the mobile terminal, and the Bluetooth of the vehicle-mounted terminal is connected with the Bluetooth of the second mobile terminal according to the second Bluetooth connection request. Therefore, according to the bluetooth connection method provided by this embodiment, after the second mobile terminal scans the NFC tag, the bluetooth connection can be switched quickly.
S14: and when the mobile terminal reads the NFC label again, the Bluetooth connection between the Bluetooth of the mobile terminal and the Bluetooth of the vehicle-mounted terminal is disconnected.
In an embodiment, when the mobile terminal reads the NFC tag again, the bluetooth connection disconnection command may be acquired, so that the bluetooth of the mobile terminal is disconnected from the bluetooth of the vehicle-mounted terminal.
In an embodiment, when the mobile terminal reads the NFC tag again, the mobile terminal may further obtain a bluetooth shutdown command to shutdown the bluetooth of the mobile terminal, so that the bluetooth of the mobile terminal is disconnected from the bluetooth of the vehicle-mounted terminal.
In other embodiments, the step S14, when the mobile terminal reads the NFC tag again, disconnecting the bluetooth connection between the bluetooth of the mobile terminal and the bluetooth of the in-vehicle terminal may include: the mobile terminal reads the NFC tag again. The vehicle-mounted terminal receives the signal that the NFC label is read again by the mobile terminal, acquires a Bluetooth connection disconnection command to disconnect the Bluetooth connection, or acquires a Bluetooth closing command to close the Bluetooth of the vehicle-mounted terminal, so that the Bluetooth of the vehicle-mounted terminal is disconnected from the Bluetooth of the mobile terminal.
The Bluetooth connection method provided by the embodiment of the invention comprises the step that the mobile terminal reads the NFC label for the first time to obtain the Bluetooth parameter information of the vehicle-mounted terminal in the NFC label, wherein the Bluetooth parameter information comprises the Bluetooth identification information and the Bluetooth connection password of the vehicle-mounted terminal. The Bluetooth of the mobile terminal sends a Bluetooth connection request to the Bluetooth of the vehicle-mounted terminal, and the Bluetooth connection request comprises a Bluetooth connection password. And after receiving the Bluetooth connection request, the Bluetooth of the vehicle-mounted terminal establishes Bluetooth connection with the Bluetooth of the mobile terminal. And when the mobile terminal reads the NFC label again, the Bluetooth connection between the Bluetooth of the mobile terminal and the Bluetooth of the vehicle-mounted terminal is disconnected. Therefore, the Bluetooth connection and Bluetooth disconnection operations between the mobile terminal and the vehicle-mounted terminal are simplified, further, the Bluetooth connection and Bluetooth disconnection between the mobile terminal and the vehicle-mounted terminal can be conveniently and rapidly realized in the driving process of a driver, and the safe driving of the driver can be guaranteed.
Example two:
fig. 2 is a schematic structural diagram of a vehicle-mounted terminal according to a second embodiment of the present invention. For a clear description of the vehicle-mounted terminal provided by the second embodiment of the present invention, please refer to fig. 2.
The vehicle-mounted terminal 1 provided by the third embodiment of the present invention includes a processor a101 and a memory a201, where the processor a101 is configured to execute the computer program a6 stored in the memory a201 to implement the steps of the method for bluetooth connection described in the first embodiment.
In an embodiment, the in-vehicle terminal 1 provided in this embodiment may include at least one processor a101 and at least one memory a 201. Wherein, at least one processor A101 may be referred to as a processing unit A1, and at least one memory A201 may be referred to as a memory unit A2. Specifically, the storage unit a2 stores a computer program a6, which, when executed by the processing unit a1, causes the in-vehicle terminal 1 provided by the present embodiment to implement the steps of the method of bluetooth connection as described above, such as the step S13 shown in fig. 1: and after receiving the Bluetooth connection request, the Bluetooth of the vehicle-mounted terminal establishes Bluetooth connection with the Bluetooth of the mobile terminal.
In one embodiment, the in-vehicle terminal 1 provided in the present embodiment includes a plurality of memories a201 (referred to simply as storage unit A2), and the storage unit A2 may include, for example, a Random Access Memory (RAM) and/or a cache memory and/or a Read Only Memory (ROM), and the like.
In one embodiment, the in-vehicle terminal 1 further includes a bus connecting different components (e.g., the processor a101 and the memory a201, the touch display A3, the NFC tag a7, and the like).
In an embodiment, the in-vehicle terminal 1 in this embodiment may further include a communication interface (e.g., an I/O interface a4), and the communication interface may be used for communicating with an external device, for example, the NFC tag a7 may be externally connected through the communication interface.
In one embodiment, the in-vehicle terminal 1 provided in this embodiment may further include a communication device a 5.
The vehicle-mounted terminal 1 provided by the second embodiment of the present invention includes a memory a101 and a processor a201, and the processor a101 is configured to execute the computer program a6 stored in the memory a201 to implement the steps of the method for bluetooth connection described in the first embodiment, so that the vehicle-mounted terminal 1 provided by this embodiment can simplify operations of bluetooth connection and bluetooth disconnection between the mobile terminal and the vehicle-mounted terminal 1, further, the bluetooth connection and bluetooth disconnection between the mobile terminal and the vehicle-mounted terminal 1 can be conveniently and quickly implemented in a driving process of a driver, and safe driving of the driver can be ensured.
Example three:
fig. 3 is a schematic structural diagram of a bluetooth connection system according to a third embodiment of the present invention. For a clear description of the bluetooth connection system provided in the third embodiment of the present invention, please refer to fig. 3.
The bluetooth connection system provided by the third embodiment of the invention comprises a vehicle-mounted terminal 1 and a mobile terminal 2.
Specifically, the mobile terminal 2 may be, but is not limited to, a mobile phone, a smart band, a computer, a tablet computer, a smart band, and the like.
The mobile terminal 2 is configured to read the NFC tag for the first time to obtain the bluetooth parameter information of the vehicle-mounted terminal 1 in the NFC tag, and send a bluetooth connection request to the bluetooth of the vehicle-mounted terminal 1 through the bluetooth of the mobile terminal 2. Specifically, the bluetooth parameter information includes bluetooth identification information and a bluetooth connection password of the in-vehicle terminal 1, and the bluetooth connection request includes a bluetooth connection password.
After the bluetooth connection between the bluetooth of the vehicle-mounted terminal 1 and the bluetooth of the mobile terminal 2 is established, the mobile terminal 2 is further used for disconnecting the bluetooth connection between the bluetooth of the mobile terminal 2 and the bluetooth of the vehicle-mounted terminal 1 when the NFC tag is read again.
In an embodiment, the mobile terminal 2 is further configured to detect whether the bluetooth of the mobile terminal is turned on after the bluetooth parameter information of the vehicle-mounted terminal 1 is acquired for the first time, and automatically start the bluetooth of the mobile terminal when the bluetooth of the mobile terminal is not turned on.
In other embodiments, the mobile terminal 2 may be further configured to output a bluetooth activation prompting message when detecting that the bluetooth of the mobile terminal is not activated, and activate the bluetooth of the mobile terminal when receiving an instruction for confirming that the bluetooth is activated.
The vehicle-mounted terminal 1 is configured to establish a bluetooth connection between the bluetooth of the vehicle-mounted terminal 1 and the bluetooth of the mobile terminal 2 after the bluetooth of the vehicle-mounted terminal 1 receives the bluetooth connection request.
In one embodiment, the vehicle-mounted terminal 1 is configured to write the bluetooth parameter information into the NFC tag.
In an embodiment, the bluetooth identification information of the vehicle-mounted terminal 1 may include at least one of a terminal identifier (e.g., a device name, a device number, etc.) and a bluetooth address, but the bluetooth identification information of the vehicle-mounted terminal 1 is not limited to include only the terminal identifier and the bluetooth address.
In an embodiment, the vehicle-mounted terminal 1 may include an NFC tag, and the NFC tag may be integrated in the vehicle-mounted terminal 1, or may be externally connected to the vehicle-mounted terminal 1. In the case of external connection of the NFC tag, the NFC tag may be installed at any position in the vehicle, for example, at the back of the seat in the vehicle, on the center console of the vehicle, at the door handle in the vehicle, and the like. In one embodiment, the mounting location of the NFC tag includes at least one of a back portion of a seat back of a seat in the vehicle, on a center console of the vehicle, and at a door handle in the vehicle.
In an embodiment, the vehicle-mounted terminal 1 is further configured to obtain a first read signal of the NFC tag, detect whether the bluetooth of the vehicle-mounted terminal is turned on, and turn on the bluetooth of the vehicle-mounted terminal when the bluetooth of the vehicle-mounted terminal is not turned on.
In an embodiment, the vehicle-mounted terminal 1 may be configured to receive a signal that the NFC tag is read again by the mobile terminal 2, acquire a bluetooth disconnection command to disconnect the bluetooth connection, or acquire a bluetooth shutdown command to shutdown the bluetooth of the vehicle-mounted terminal 1, so that the bluetooth of the vehicle-mounted terminal 1 is disconnected from the bluetooth of the mobile terminal 2.
Specifically, the specific implementation manner and the beneficial effects of the bluetooth connection system provided in this embodiment may refer to the steps of the bluetooth connection method provided in this embodiment of the present invention, which will not be described herein again.
The third bluetooth connection system provided in this embodiment includes mobile terminal 2 and vehicle-mounted terminal 1, where mobile terminal 2 is configured to read the NFC tag for the first time, so as to obtain the bluetooth parameter information of vehicle-mounted terminal 1 in the NFC tag, and send a bluetooth connection request to the bluetooth of vehicle-mounted terminal 1 through the bluetooth of mobile terminal 2. Specifically, the bluetooth parameter information includes bluetooth identification information and a bluetooth connection password of the in-vehicle terminal 1, and the bluetooth connection request includes a bluetooth connection password. The vehicle-mounted terminal 1 is configured to establish a bluetooth connection between the bluetooth of the vehicle-mounted terminal 1 and the bluetooth of the mobile terminal 2 after the bluetooth of the vehicle-mounted terminal 1 receives the bluetooth connection request. Wherein, the mobile terminal 2 is further configured to disconnect the bluetooth connection between the bluetooth of the mobile terminal 2 and the bluetooth of the vehicle-mounted terminal 1 when the NFC tag is read again. Therefore, the bluetooth connection system provided by the embodiment simplifies the bluetooth connection and bluetooth disconnection operations of the mobile terminal 2 and the vehicle-mounted terminal 1, and further, the bluetooth connection and bluetooth disconnection between the mobile terminal 2 and the vehicle-mounted terminal 1 can be conveniently and quickly realized in the driving process of a driver, and the safe driving of the driver can be ensured.
The present invention is not limited to the above preferred embodiments, and any modification, equivalent replacement or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.