CN111132117A - Bluetooth connection method, device, vehicle and storage medium - Google Patents

Bluetooth connection method, device, vehicle and storage medium Download PDF

Info

Publication number
CN111132117A
CN111132117A CN202010111530.9A CN202010111530A CN111132117A CN 111132117 A CN111132117 A CN 111132117A CN 202010111530 A CN202010111530 A CN 202010111530A CN 111132117 A CN111132117 A CN 111132117A
Authority
CN
China
Prior art keywords
bluetooth
connection
external equipment
transmission protocol
vehicle
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.)
Granted
Application number
CN202010111530.9A
Other languages
Chinese (zh)
Other versions
CN111132117B (en
Inventor
王浩
曾桂华
郑红丽
回姝
杨宇
李会坤
孙钏博
李俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group 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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202010111530.9A priority Critical patent/CN111132117B/en
Publication of CN111132117A publication Critical patent/CN111132117A/en
Application granted granted Critical
Publication of CN111132117B publication Critical patent/CN111132117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a Bluetooth connection method, a Bluetooth connection device, a vehicle and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining a Bluetooth connection request of external equipment, wherein the Bluetooth connection request comprises a Bluetooth name, if the Bluetooth name is matched with a Bluetooth pairing list, establishing Bluetooth connection between a vehicle machine and the external equipment according to a Bluetooth audio transmission protocol, and the Bluetooth pairing list is used for storing the Bluetooth name corresponding to the external equipment only with a Bluetooth audio function. Compared with the prior art, when the external equipment only has the Bluetooth audio function, the Bluetooth connection between the vehicle machine and the external equipment can still be established through the Bluetooth audio transmission protocol, so that the music of the external equipment is played through the whole vehicle sound, the playing requirement of a user is met, and the connection range of the Bluetooth connection is expanded.

Description

Bluetooth connection method, device, vehicle and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a Bluetooth connection method, a Bluetooth connection device, a vehicle and a storage medium.
Background
Bluetooth is a radio technology supporting short-range communication of devices, and can perform wireless information exchange between devices such as mobile phones, PDAs (Personal Digital assistants), wireless headsets, notebook computers, and vehicles. For example, the Bluetooth of the vehicle machine is connected with the Bluetooth of the mobile phone, so that music on the mobile phone can be played in the whole vehicle, and for the Bluetooth of the vehicle machine with the Bluetooth communication function, the Bluetooth communication can be realized by establishing the connection between the Bluetooth of the vehicle machine and the Bluetooth of the mobile phone.
Generally, bluetooth music is realized through connection of A2DP (bluetooth audio transmission model protocol, Advanced audio distribution Profile) protocol, bluetooth conversation is realized through connection of HFP (bluetooth device controlled telephony, handles-free Profile) protocol, when music needs to be played through the whole car stereo, the conventional connection mode needs to confirm that the HFP protocol is successfully connected first and then connect A2DP protocol, and if the HFP protocol is not successfully connected, even if the A2DP protocol is successfully connected, music still cannot be played through the whole car stereo. In addition, for some external devices with bluetooth function, such as PDA, only has bluetooth music function, and does not have bluetooth communication function, that is, only supports A2DP protocol, but not HFP protocol, when a user wishes to play music on PDA through the entire car audio, the PDA cannot be connected to the car machine because the PDA does not support HFP protocol, and thus the connection requirement of the user cannot be met.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth connection method, a Bluetooth connection device, a vehicle and a storage medium, and improves the connection range of Bluetooth connection.
In a first aspect, an embodiment of the present invention provides a bluetooth connection method, including:
acquiring a Bluetooth connection request of an external device, wherein the Bluetooth connection request comprises a Bluetooth name;
and if the Bluetooth name is matched with a Bluetooth pairing list, establishing Bluetooth connection between the vehicle and the external equipment according to a Bluetooth audio transmission protocol, wherein the Bluetooth pairing list is used for storing the Bluetooth name corresponding to the external equipment only with the Bluetooth audio function.
Optionally, the method further includes:
if the Bluetooth name is not matched with the Bluetooth pairing list, determining that the external equipment corresponding to the Bluetooth name has a Bluetooth audio function and a Bluetooth communication function at the same time;
and establishing Bluetooth call connection between the vehicle machine and the external equipment according to a Bluetooth call transmission protocol, and/or establishing Bluetooth audio connection between the vehicle machine and the external equipment according to the Bluetooth audio transmission protocol.
Optionally, after the bluetooth connection between the car machine and the external device is established according to the bluetooth audio transmission protocol, the method further includes:
if the Bluetooth connection between the vehicle machine and the external equipment is successful, controlling a display terminal to display the audio information of the external equipment;
otherwise, prompting the user through the display terminal that the Bluetooth connection between the vehicle machine and the external equipment fails.
Optionally, after the bluetooth call connection between the vehicle-mounted device and the external device is established according to a bluetooth call transmission protocol, and/or the bluetooth audio connection between the vehicle-mounted device and the external device is established according to the bluetooth audio transmission protocol, the method further includes:
and displaying the connection result of the Bluetooth communication transmission protocol and/or the Bluetooth audio transmission protocol through a display terminal.
In a second aspect, an embodiment of the present invention further provides a bluetooth connection apparatus, including:
the Bluetooth connection request acquisition module is used for acquiring a Bluetooth connection request of external equipment, and the Bluetooth connection request comprises a Bluetooth name;
and the first connection module is used for establishing the Bluetooth connection between the vehicle machine and the external equipment according to a Bluetooth audio transmission protocol if the Bluetooth name is matched with a Bluetooth pairing list, and the Bluetooth pairing list is used for storing the Bluetooth name corresponding to the external equipment only with the Bluetooth audio function.
Optionally, the apparatus further comprises:
the function determining module is used for determining that the external equipment corresponding to the Bluetooth name has a Bluetooth audio function and a Bluetooth communication function simultaneously if the Bluetooth name is not matched with the Bluetooth pairing list;
and the second connection module is used for establishing the Bluetooth call connection between the vehicle machine and the external equipment according to a Bluetooth call transmission protocol and/or establishing the Bluetooth audio connection between the vehicle machine and the external equipment according to the Bluetooth audio transmission protocol.
Optionally, the apparatus further comprises:
the display control module is used for controlling the display terminal to display the audio information of the external equipment if the Bluetooth connection between the vehicle machine and the external equipment is successful after the Bluetooth connection between the vehicle machine and the external equipment is established according to a Bluetooth audio transmission protocol;
and the prompt module is used for prompting the user that the Bluetooth connection between the vehicle machine and the external equipment fails through the display terminal if the Bluetooth connection fails.
Optionally, the apparatus further comprises:
and the result display module is used for displaying the connection result of the Bluetooth call transmission protocol and/or the Bluetooth audio transmission protocol through a display terminal after the Bluetooth call connection between the vehicle machine and the external equipment is established according to the Bluetooth call transmission protocol and/or the Bluetooth audio connection between the vehicle machine and the external equipment is established according to the Bluetooth audio transmission protocol.
In a third aspect, an embodiment of the present invention further provides a vehicle, including:
one or more processors;
a memory for storing one or more programs;
the Bluetooth of the vehicle machine;
a display terminal;
sounding the whole vehicle;
when the one or more programs are executed by the processor, cause the processor to implement the bluetooth connection method according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the bluetooth connection method according to the first aspect.
The embodiment of the invention provides a Bluetooth connection method, a Bluetooth connection device, a vehicle and a storage medium. Compared with the prior art, when the external equipment only has the Bluetooth audio function, the Bluetooth connection between the vehicle machine and the external equipment can still be established through the Bluetooth audio transmission protocol, so that the music of the external equipment is played through the whole vehicle sound, the playing requirement of a user is met, and the connection range of the Bluetooth connection is expanded.
Drawings
Fig. 1 is a flowchart of a bluetooth connection method according to an embodiment of the present invention;
fig. 2 is a flowchart of a bluetooth connection method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of a bluetooth connection method according to a second embodiment of the present invention;
fig. 4 is a structural diagram of a bluetooth connection apparatus according to a third embodiment of the present invention;
fig. 5 is a structural diagram of a vehicle according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Example one
Fig. 1 is a flowchart of a bluetooth connection method according to an embodiment of the present invention, where the method is applicable to a bluetooth situation of connecting a vehicle and an external device, and the method may be executed by a bluetooth connection device, where the device may be implemented in a software and/or hardware manner, and may be integrated in a vehicle in which vehicle-mounted bluetooth is provided. Referring to fig. 1, the method may include the steps of:
s110, a Bluetooth connection request of the external device is obtained.
Wherein the Bluetooth connection request includes a Bluetooth name. The external device is a device independent of the vehicle, and may be a smart device having a bluetooth function, such as a mobile phone or a PDA. When a user wants to play music or a call of external equipment such as a mobile phone through the whole car audio, connection between the car machine Bluetooth and the external equipment Bluetooth is required to be established. After the Bluetooth of the vehicle machine is started, surrounding Bluetooth devices can be actively searched, and when the Bluetooth of the vehicle machine searches the surrounding Bluetooth devices, the Bluetooth connection request of the external device is obtained. The bluetooth name is a name of bluetooth of the external device, and the name may be a name corresponding to the bluetooth when the external device leaves a factory, or may be a name modified by a user according to an actual situation. Optionally, the name of the bluetooth device included in the bluetooth pairing list is HONGQI L5, and the external device corresponding to the name only has a bluetooth music function. The external device of the embodiment is in a certain range of the vehicle, so that the Bluetooth of the external device can be searched after the Bluetooth of the vehicle is started.
And S120, if the Bluetooth name is matched with the Bluetooth pairing list, establishing Bluetooth connection between the vehicle and the external equipment according to a Bluetooth audio transmission protocol.
The Bluetooth pairing list is used for storing Bluetooth names corresponding to external equipment only having a Bluetooth audio function. The bluetooth audio transmission protocol is a protocol for establishing bluetooth audio connection between the car machine and the external device, and may be, for example, an A2DP protocol. It is understood that some external devices only have the bluetooth communication function, such as a PDA, and some external devices can have both the bluetooth communication function and the bluetooth music function, such as a mobile phone. The traditional Bluetooth connection method needs to connect the Bluetooth call first, and after the Bluetooth call is successfully connected, the Bluetooth music is connected, so that the Bluetooth call connection fails, or for external equipment without the Bluetooth call function, even if the Bluetooth music is successfully connected, the Bluetooth music still cannot be played, and the playing requirement of a user cannot be met. Therefore, in the present embodiment, the functions of the external device are determined, and different connection methods are adopted according to the functions of the external device.
Optionally, in the embodiment, the bluetooth name of the external device is matched with the bluetooth pairing list, the bluetooth name only having the bluetooth music function is pre-stored in the bluetooth pairing list, and when the bluetooth name of the external device is matched with the bluetooth pairing list, that is, the bluetooth name of the external device is in the bluetooth pairing list, it may be determined that the external device only has the bluetooth music function, and the bluetooth connection between the vehicle device and the external device may be directly established based on a bluetooth audio transmission protocol. When the bluetooth name of the external device is not in the bluetooth pairing list, the external device is considered to have the bluetooth music function and the bluetooth communication function at the same time, at this time, the bluetooth communication connection and/or the bluetooth music connection may be established according to actual requirements, for example, the bluetooth communication connection between the vehicle device and the external device may be established based on the bluetooth communication transmission protocol, and the bluetooth music connection between the vehicle device and the external device may be established based on the bluetooth music transmission protocol, where the bluetooth communication transmission protocol is a protocol for establishing the bluetooth communication connection between the vehicle device and the external device, and may be, for example, an HFP protocol. The bluetooth conversation of this embodiment is connected and bluetooth music is connected each other and is not influenced, when needing to establish bluetooth music and connecting promptly, need not to establish bluetooth conversation earlier and connect, when bluetooth conversation connection fails, also can not influence the connection and the broadcast of bluetooth music to the connection range of bluetooth has been enlarged. It should be noted that, in addition to determining the function of the external device according to the bluetooth name, the function may also be determined according to a unique identifier such as a device ID and a model of the external device.
The embodiment of the invention provides a Bluetooth connection method, which comprises the steps of acquiring a Bluetooth connection request of an external device, wherein the Bluetooth connection request comprises a Bluetooth name, if the Bluetooth name is matched with a Bluetooth pairing list, establishing Bluetooth connection between a vehicle machine and the external device according to a Bluetooth audio transmission protocol, and the Bluetooth pairing list is used for storing the Bluetooth name corresponding to the external device only having a Bluetooth audio function. Compared with the prior art, when the external equipment only has the Bluetooth audio function, the Bluetooth connection between the vehicle machine and the external equipment can still be established through the Bluetooth audio transmission protocol, so that the music of the external equipment is played through the whole vehicle sound, the playing requirement of a user is met, and the connection range of the Bluetooth connection is expanded.
Example two
Fig. 2 is a flowchart of a bluetooth connection method according to a second embodiment of the present invention, where the present embodiment is optimized based on the foregoing embodiments, and referring to fig. 2, the method includes the following steps:
s210, a Bluetooth connection request of the external device is obtained.
And S220, judging whether the Bluetooth name is matched with the Bluetooth pairing list or not, if so, executing S230, and otherwise, executing S270.
And S230, establishing Bluetooth connection between the vehicle and the external equipment according to a Bluetooth audio transmission protocol.
S240, whether the Bluetooth of the vehicle machine and the external equipment is successfully connected or not is judged, if yes, S250 is executed, and if not, S260 is executed.
After the Bluetooth of the vehicle machine and the external equipment are connected, the connection result of the Bluetooth can be displayed through a display terminal of the whole vehicle. Optionally, when the bluetooth connection between the vehicle and the external device is successful, the display terminal may be controlled to directly display the audio information of the external device, so that the audio information of the external device is displayed on the entire vehicle. When the Bluetooth connection between the vehicle machine and the external equipment fails, the current connection failure of the user can be prompted through the display terminal, and the vehicle machine and the external equipment are connected again after the user permits.
And S250, controlling the display terminal to display the audio information of the external equipment.
S260, prompting a user through the display terminal that the Bluetooth connection between the vehicle machine and the external equipment fails.
S270, determining that the external equipment corresponding to the Bluetooth name has a Bluetooth audio function and a Bluetooth communication function at the same time.
The present embodiment sets that when the bluetooth name of the external device is not in the bluetooth pairing list, the external device is considered to have both the bluetooth audio function and the bluetooth call function.
S280, establishing Bluetooth call connection between the vehicle machine and the external equipment according to a Bluetooth call transmission protocol, and/or establishing Bluetooth audio connection between the vehicle machine and the external equipment according to the Bluetooth audio transmission protocol.
When determining that the external device has the bluetooth audio function and the bluetooth communication function at the same time, the bluetooth connection between the vehicle machine and the external device can be established according to the user requirement, and the bluetooth communication connection and/or the bluetooth music connection between the vehicle machine and the external device can also be automatically established.
And S290, displaying the connection result of the Bluetooth communication transmission protocol and/or the Bluetooth audio transmission protocol through the display terminal.
After the Bluetooth connection between the vehicle machine and the external equipment is established, the connection result of the Bluetooth call connection and/or the Bluetooth music connection is displayed through the display terminal of the whole vehicle. And when the display terminal displays that the connection is successful, the sound box can be played through the whole car. In this embodiment, when one of the connections fails, the connection of the other function is not affected, for example, when the connection of the bluetooth communication function fails, the connection of the bluetooth music function and the playing of the bluetooth music are not affected.
Exemplarily, referring to fig. 3, fig. 3 is a flowchart illustrating an implementation of a bluetooth connection method according to a second embodiment of the present invention. Firstly, a Bluetooth connection request of external equipment is acquired, then a Bluetooth name in the Bluetooth connection request is matched with a Bluetooth pairing list, if the Bluetooth name is the same as the Bluetooth name in the Bluetooth pairing list, the vehicle-mounted device Bluetooth and the external equipment Bluetooth are connected based on a Bluetooth audio transmission protocol, if the connection is successful, audio information of the external equipment is displayed through a display terminal, and otherwise, a user is prompted to fail in current connection through the display terminal. If the Bluetooth name is different from the Bluetooth name in the Bluetooth pairing list, establishing Bluetooth call connection between the vehicle and the external equipment based on a Bluetooth call transmission protocol and establishing Bluetooth audio connection between the vehicle and the external equipment based on a Bluetooth audio transmission protocol, and displaying connection results of the Bluetooth call connection and the Bluetooth audio connection through a display terminal. Fig. 3 illustrates an example of the bluetooth call function and the bluetooth audio function for automatically connecting the car machine and the external device when it is determined that the external device has both the bluetooth call function and the bluetooth audio function.
On the basis of the embodiment, when the external equipment only has the Bluetooth music function, the music of the external equipment can be played through the sound of the whole vehicle as long as the Bluetooth music transmission protocol is successfully connected, and when the external equipment simultaneously has the Bluetooth music function and the Bluetooth communication function, the Bluetooth music function and the Bluetooth communication function are not influenced by each other, so that the execution of the other function is not influenced even if one connection fails, the Bluetooth connection range is expanded, and the playing requirement of a user is met.
EXAMPLE III
Fig. 4 is a structural diagram of a bluetooth connection apparatus according to a third embodiment of the present invention, which can execute the bluetooth connection method according to the foregoing embodiment, and with reference to fig. 4, the apparatus includes:
a bluetooth connection request obtaining module 310, configured to obtain a bluetooth connection request of an external device, where the bluetooth connection request includes a bluetooth name;
the first connection module 320 is configured to establish a bluetooth connection between the vehicle and the external device according to a bluetooth audio transmission protocol if the bluetooth name is matched with a bluetooth pairing list, where the bluetooth pairing list is used to store a bluetooth name corresponding to an external device having only a bluetooth audio function.
The third embodiment of the present invention provides a bluetooth connection apparatus, where a bluetooth connection request of an external device is obtained, where the bluetooth connection request includes a bluetooth name, and if the bluetooth name is matched with a bluetooth pairing list, a bluetooth connection between a vehicle and the external device is established according to a bluetooth audio transmission protocol, and the bluetooth pairing list is used to store a bluetooth name corresponding to an external device having only a bluetooth audio function. Compared with the prior art, when the external equipment only has the Bluetooth audio function, the Bluetooth connection between the vehicle machine and the external equipment can still be established through the Bluetooth audio transmission protocol, so that the music of the external equipment is played through the whole vehicle sound, the playing requirement of a user is met, and the connection range of the Bluetooth connection is expanded.
On the basis of the above embodiment, the apparatus further includes:
the function determining module is used for determining that the external equipment corresponding to the Bluetooth name has a Bluetooth audio function and a Bluetooth communication function simultaneously if the Bluetooth name is not matched with the Bluetooth pairing list;
and the second connection module is used for establishing the Bluetooth call connection between the vehicle machine and the external equipment according to a Bluetooth call transmission protocol and/or establishing the Bluetooth audio connection between the vehicle machine and the external equipment according to the Bluetooth audio transmission protocol.
On the basis of the above embodiment, the apparatus further includes:
the display control module is used for controlling the display terminal to display the audio information of the external equipment if the Bluetooth connection between the vehicle machine and the external equipment is successful after the Bluetooth connection between the vehicle machine and the external equipment is established according to a Bluetooth audio transmission protocol;
and the prompt module is used for prompting the user that the Bluetooth connection between the vehicle machine and the external equipment fails through the display terminal if the Bluetooth connection fails.
On the basis of the above embodiment, the apparatus further includes:
and the result display module is used for displaying the connection result of the Bluetooth call transmission protocol and/or the Bluetooth audio transmission protocol through a display terminal after the Bluetooth call connection between the vehicle machine and the external equipment is established according to the Bluetooth call transmission protocol and/or the Bluetooth audio connection between the vehicle machine and the external equipment is established according to the Bluetooth audio transmission protocol.
The bluetooth connection device provided by the embodiment of the invention can execute the bluetooth connection method provided by the above embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 5 is a structural diagram of a vehicle according to a fourth embodiment of the present invention, and referring to fig. 5, the vehicle includes: the number of the processors 410 in the vehicle can be one or more, fig. 5 takes one processor 410 as an example, the processors 410 in the vehicle, the memory 420, the bluetooth in the vehicle 430, the display terminal 440 and the sound in the whole vehicle 450 can be connected by a bus or in other ways, and fig. 5 takes the bus connection as an example.
The memory 420 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the bluetooth connection method in the embodiments of the present invention. The processor 410 executes various functional applications and data processing of the vehicle, i.e., implements the bluetooth connection method of the above-described embodiment, by executing software programs, instructions, and modules stored in the memory 420.
The memory 420 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 420 may further include memory located remotely from the processor 410, which may be connected to the vehicle over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The vehicle provided by the embodiment of the present invention and the bluetooth connection method provided by the above embodiment belong to the same concept, and the technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the embodiment has the same beneficial effects as the bluetooth connection method.
EXAMPLE five
Embodiments of the present invention further provide a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the bluetooth connection method according to the above embodiments of the present invention.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations in the bluetooth connection method described above, and may also perform related operations in the bluetooth connection method provided by any embodiment of the present invention, and have corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, and the computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the bluetooth connection method according to the foregoing embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A bluetooth connection method, comprising:
acquiring a Bluetooth connection request of an external device, wherein the Bluetooth connection request comprises a Bluetooth name;
and if the Bluetooth name is matched with a Bluetooth pairing list, establishing Bluetooth connection between the vehicle and the external equipment according to a Bluetooth audio transmission protocol, wherein the Bluetooth pairing list is used for storing the Bluetooth name corresponding to the external equipment only with the Bluetooth audio function.
2. The method of claim 1, further comprising:
if the Bluetooth name is not matched with the Bluetooth pairing list, determining that the external equipment corresponding to the Bluetooth name has a Bluetooth audio function and a Bluetooth communication function at the same time;
and establishing Bluetooth call connection between the vehicle machine and the external equipment according to a Bluetooth call transmission protocol, and/or establishing Bluetooth audio connection between the vehicle machine and the external equipment according to the Bluetooth audio transmission protocol.
3. The method according to claim 1, after establishing the bluetooth connection between the car machine and the external device according to the bluetooth audio transmission protocol, further comprising:
if the Bluetooth connection between the vehicle machine and the external equipment is successful, controlling a display terminal to display the audio information of the external equipment;
otherwise, prompting the user through the display terminal that the Bluetooth connection between the vehicle machine and the external equipment fails.
4. The method according to claim 2, further comprising, after establishing the bluetooth call connection between the car machine and the external device according to a bluetooth call transmission protocol, and/or establishing the bluetooth audio connection between the car machine and the external device according to the bluetooth audio transmission protocol:
and displaying the connection result of the Bluetooth communication transmission protocol and/or the Bluetooth audio transmission protocol through a display terminal.
5. A bluetooth connection device, comprising:
the Bluetooth connection request acquisition module is used for acquiring a Bluetooth connection request of external equipment, and the Bluetooth connection request comprises a Bluetooth name;
and the first connection module is used for establishing the Bluetooth connection between the vehicle machine and the external equipment according to a Bluetooth audio transmission protocol if the Bluetooth name is matched with a Bluetooth pairing list, and the Bluetooth pairing list is used for storing the Bluetooth name corresponding to the external equipment only with the Bluetooth audio function.
6. The apparatus of claim 5, further comprising:
the function determining module is used for determining that the external equipment corresponding to the Bluetooth name has a Bluetooth audio function and a Bluetooth communication function simultaneously if the Bluetooth name is not matched with the Bluetooth pairing list;
and the second connection module is used for establishing the Bluetooth call connection between the vehicle machine and the external equipment according to a Bluetooth call transmission protocol and/or establishing the Bluetooth audio connection between the vehicle machine and the external equipment according to the Bluetooth audio transmission protocol.
7. The apparatus of claim 5, further comprising:
the display control module is used for controlling the display terminal to display the audio information of the external equipment if the Bluetooth connection between the vehicle machine and the external equipment is successful after the Bluetooth connection between the vehicle machine and the external equipment is established according to a Bluetooth audio transmission protocol;
and the prompt module is used for prompting the user that the Bluetooth connection between the vehicle machine and the external equipment fails through the display terminal if the Bluetooth connection fails.
8. The apparatus of claim 6, further comprising:
and the result display module is used for displaying the connection result of the Bluetooth call transmission protocol and/or the Bluetooth audio transmission protocol through a display terminal after the Bluetooth call connection between the vehicle machine and the external equipment is established according to the Bluetooth call transmission protocol and/or the Bluetooth audio connection between the vehicle machine and the external equipment is established according to the Bluetooth audio transmission protocol.
9. A vehicle, characterized by comprising:
one or more processors;
a memory for storing one or more programs;
the Bluetooth of the vehicle machine;
a display terminal;
sounding the whole vehicle;
when executed by the processor, the one or more programs cause the processor to implement the bluetooth connection method of any of claims 1-4.
10. A storage medium on which a computer program is stored, which program, when executed by a processor, carries out the bluetooth connection method according to any one of claims 1 to 4.
CN202010111530.9A 2020-02-24 2020-02-24 Bluetooth connection method and device, vehicle and storage medium Active CN111132117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010111530.9A CN111132117B (en) 2020-02-24 2020-02-24 Bluetooth connection method and device, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010111530.9A CN111132117B (en) 2020-02-24 2020-02-24 Bluetooth connection method and device, vehicle and storage medium

Publications (2)

Publication Number Publication Date
CN111132117A true CN111132117A (en) 2020-05-08
CN111132117B CN111132117B (en) 2023-04-25

Family

ID=70492166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010111530.9A Active CN111132117B (en) 2020-02-24 2020-02-24 Bluetooth connection method and device, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN111132117B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632474A (en) * 2020-12-28 2021-04-09 湖北亿咖通科技有限公司 Vehicle-mounted machine software and hardware activation method
CN113347617A (en) * 2021-05-31 2021-09-03 东风电子科技股份有限公司 Method for realizing vehicle-mounted machine Bluetooth data communication and audio call
US11659331B2 (en) 2021-01-22 2023-05-23 Toyota Motor Engineering & Manufacturing North America, Inc. Systems and methods for audio balance adjustment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090298428A1 (en) * 2008-05-30 2009-12-03 Samsung Electronics Co., Ltd Method of connecting multiple bluetooth profiles and bluetooth apparatus using the same
CN101785198A (en) * 2007-08-31 2010-07-21 摩托罗拉公司 The automatic a plurality of method of matching and the equipment that are used for bluetooth equipment
DE602006019926D1 (en) * 2006-12-13 2011-03-10 Phonak Ag
CN102752029A (en) * 2011-04-18 2012-10-24 中兴通讯股份有限公司 Method for matching Bluetooth accessory with Bluetooth devices and Bluetooth accessory
CN102882560A (en) * 2011-07-13 2013-01-16 通用汽车环球科技运作有限责任公司 Bluetooth low energy approach detections through vehicle paired capable devices
CN103391121A (en) * 2013-07-31 2013-11-13 北京爱德发科技有限公司 Method for pairing and connecting multiple devices and Bluetooth device
US20140137159A1 (en) * 2012-11-09 2014-05-15 Michael C. Ryan System and method for using a user device to select and wirelessly receive television audio
CN106104672A (en) * 2014-02-28 2016-11-09 博士有限公司 Directly selecting of audio-source
CN106210762A (en) * 2016-07-08 2016-12-07 乐视控股(北京)有限公司 Method, source device, purpose equipment, TV and the terminal that audio frequency is play
CN108650668A (en) * 2018-05-17 2018-10-12 歌尔科技有限公司 Connection request processing method, bluetooth headset, wearable device and system
CN109168153A (en) * 2018-10-17 2019-01-08 杭州兆华电子有限公司 A kind of Bluetooth audio equipment test method based on double Bluetooth adapter unipaths

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602006019926D1 (en) * 2006-12-13 2011-03-10 Phonak Ag
CN101785198A (en) * 2007-08-31 2010-07-21 摩托罗拉公司 The automatic a plurality of method of matching and the equipment that are used for bluetooth equipment
US20090298428A1 (en) * 2008-05-30 2009-12-03 Samsung Electronics Co., Ltd Method of connecting multiple bluetooth profiles and bluetooth apparatus using the same
CN102752029A (en) * 2011-04-18 2012-10-24 中兴通讯股份有限公司 Method for matching Bluetooth accessory with Bluetooth devices and Bluetooth accessory
CN102882560A (en) * 2011-07-13 2013-01-16 通用汽车环球科技运作有限责任公司 Bluetooth low energy approach detections through vehicle paired capable devices
US20140137159A1 (en) * 2012-11-09 2014-05-15 Michael C. Ryan System and method for using a user device to select and wirelessly receive television audio
CN103391121A (en) * 2013-07-31 2013-11-13 北京爱德发科技有限公司 Method for pairing and connecting multiple devices and Bluetooth device
CN106104672A (en) * 2014-02-28 2016-11-09 博士有限公司 Directly selecting of audio-source
CN106210762A (en) * 2016-07-08 2016-12-07 乐视控股(北京)有限公司 Method, source device, purpose equipment, TV and the terminal that audio frequency is play
CN108650668A (en) * 2018-05-17 2018-10-12 歌尔科技有限公司 Connection request processing method, bluetooth headset, wearable device and system
CN109168153A (en) * 2018-10-17 2019-01-08 杭州兆华电子有限公司 A kind of Bluetooth audio equipment test method based on double Bluetooth adapter unipaths

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632474A (en) * 2020-12-28 2021-04-09 湖北亿咖通科技有限公司 Vehicle-mounted machine software and hardware activation method
US11659331B2 (en) 2021-01-22 2023-05-23 Toyota Motor Engineering & Manufacturing North America, Inc. Systems and methods for audio balance adjustment
CN113347617A (en) * 2021-05-31 2021-09-03 东风电子科技股份有限公司 Method for realizing vehicle-mounted machine Bluetooth data communication and audio call

Also Published As

Publication number Publication date
CN111132117B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN106658359B (en) Bluetooth connection method, device and communication system
CN111132117A (en) Bluetooth connection method, device, vehicle and storage medium
JP5966718B2 (en) Near field communication system and near field communication terminal
US11350200B2 (en) Wireless audio source switching
CN110784846B (en) Vehicle-mounted Bluetooth equipment identification method and device, electronic equipment and storage medium
KR101538143B1 (en) Peripheral device detection with short-range communication
US20220322059A1 (en) Bluetooth data transmission method and apparatus, terminal and storage medium
KR102368054B1 (en) Head unit of vehicle and control method thereof
CN111131951A (en) Wireless earphone positioning method, wireless earphone, electronic equipment and storage medium
US9886283B2 (en) Adaptive boot sequence for vehicle infotainment system
CN107835518B (en) Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium
JP5726008B2 (en) Display control apparatus and display control method for connected device list
CN116193413B (en) Bluetooth connection method, system, storage medium and device
WO2021098015A1 (en) Earphone upgrade method, earphone assembly, upgrade device and readable storage medium
CN116528202A (en) Connection control method, device, electronic equipment and storage medium
US10694553B2 (en) Connection method of communication device and the communication device
CN115278624A (en) Information updating method and device, audio sharing method and system and electronic equipment
CN113613226A (en) Connection method and device of Bluetooth equipment, electronic equipment and storage medium
CN112153611B (en) Wireless service configuration method, device, equipment and storage medium
JP2015126442A (en) Call system and computer program
CN114095992B (en) Multi-core chipset to external access point prioritized connection method and vehicle using same
KR20120136480A (en) Car audio apparatus and control method
JP6387174B2 (en) Connection apparatus and connection method
CN113115276A (en) Bluetooth device identification method and device, storage medium and electronic device
CN116801164A (en) Automatic adjusting method for vehicle-mounted audio equipment, computer equipment and storage medium

Legal Events

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