CN115379415A - Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment - Google Patents

Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment Download PDF

Info

Publication number
CN115379415A
CN115379415A CN202110534472.5A CN202110534472A CN115379415A CN 115379415 A CN115379415 A CN 115379415A CN 202110534472 A CN202110534472 A CN 202110534472A CN 115379415 A CN115379415 A CN 115379415A
Authority
CN
China
Prior art keywords
bluetooth
connection
user equipment
vehicle
authentication code
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
CN202110534472.5A
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 Pateo Network Technology Service Co Ltd
Original Assignee
Shanghai Pateo Network Technology Service 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 Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN202110534472.5A priority Critical patent/CN115379415A/en
Publication of CN115379415A publication Critical patent/CN115379415A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention provides a Bluetooth automatic connection method, a device, user equipment and vehicle-mounted equipment, wherein the Bluetooth automatic connection method is applied to the user equipment and comprises the following steps: when a Bluetooth demand signal sent by an application program is detected, starting Bluetooth connection and judging whether the Bluetooth connection is the first connection; when the Bluetooth connection is the first connection, acquiring an authentication code from the vehicle-mounted equipment through a non-Bluetooth wireless network which is connected in advance; authenticating the Bluetooth connection initiated by the application program based on the authentication code; and after the Bluetooth connection initiated by the application program passes the authentication, confirming that the Bluetooth connection initiated by the application program is a safe connection, and establishing the Bluetooth connection between the user equipment and the vehicle-mounted equipment. The invention can avoid the authentication certification by the manual operation of the user when the Bluetooth connection is established for the first time, and realize the automatic certification without the user access confirmation when the Bluetooth connection is established for the first time.

Description

Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment
Technical Field
The invention relates to the technical field of automobiles, in particular to the technical field of intelligent automobiles, and specifically relates to a Bluetooth automatic connection method, a Bluetooth automatic connection device, user equipment and vehicle-mounted equipment.
Background
Bluetooth is a sophisticated open wireless communication standard that can wirelessly connect desktop computers with notebook computers, portable devices, PDAs, mobile phones, camera phones, printers, digital cameras, headsets, keyboards, and even computer mice over short distances.
The bluetooth wireless technology uses a worldwide universal frequency band (2.4 GHz) and is freely available around the world. With the wider and wider application of the bluetooth technology in unlimited terminals, the bluetooth technology also becomes a catalyst for the development and industrialization of the internet of things. The bluetooth baseband part provides protection and information security mechanisms for users at the physical layer. The personal information in the connection is protected by encryption. Encryption keys are typically managed by higher layers of the program. Network transport protocols and applications may also provide security mechanisms for users.
Authentication, among other things, is a key part of bluetooth communication, allowing a user to establish a trust domain for a personal bluetooth device, such as allowing only the owner's own laptop to communicate via the owner's own mobile phone. Authentication is based on a "request-response" algorithm. At present, when the Bluetooth is established for the first time, a user is required to perform manual operation to perform authentication and authentication, and the Bluetooth communication is performed again after the first authentication, so that automatic connection can be performed based on the first authentication and authentication information.
Disclosure of Invention
An object of the present invention is to provide a method, an apparatus, a user device and a vehicle-mounted device for bluetooth automatic connection, wherein the method, the apparatus, the user device and the vehicle-mounted device can avoid the need of user manual operation for authentication when bluetooth connection is first established, and realize automatic authentication without user access confirmation when bluetooth connection is first established.
Another object of the present invention is to provide an automatic bluetooth connection method, apparatus, user equipment and vehicle-mounted device, wherein when the bluetooth connection is a first connection, an authentication code is obtained through a non-bluetooth wireless network, and the bluetooth connection is authenticated based on the authentication code, so that a user can avoid the need of manual operation of the user for authentication when the bluetooth connection is first established, and automatic authentication without user access confirmation when the bluetooth connection is first established is achieved, thereby improving convenience of the bluetooth connection.
Another object of the present invention is to provide a method, an apparatus, a user device, and a vehicle-mounted device for bluetooth automatic connection, wherein an application program that sends a bluetooth demand signal is authenticated as a trusted application program by an authentication code, a trust relationship of a higher level of bluetooth connection is established, and automatic authentication without user access confirmation when bluetooth connection is first established is implemented.
In order to achieve the above object, in a first aspect, the present invention provides an automatic bluetooth connection method, which is applied to a user equipment, and includes the following steps: when a Bluetooth demand signal sent by an application program is detected, starting Bluetooth connection and judging whether the Bluetooth connection is the first connection; when the Bluetooth connection is the first connection, acquiring an authentication code from the vehicle-mounted equipment through a non-Bluetooth wireless network which is connected in advance; authenticating the Bluetooth connection initiated by the application program based on the authentication code; after the Bluetooth connection initiated by the application program passes the authentication, the Bluetooth connection initiated by the application program is confirmed to be safe connection, and the Bluetooth connection between the user equipment and the vehicle-mounted equipment is established, so that the condition that the authentication is performed by manual operation of a user when the Bluetooth connection is established for the first time is avoided, and the automatic authentication without the user access confirmation when the Bluetooth connection is established for the first time is realized.
Wherein the authenticating the Bluetooth connection initiated by the application program based on the authentication code comprises: matching the acquired authentication code with a local authentication code prestored in the user equipment; when the authentication code is matched with a local authentication code prestored in the user equipment, authenticating the application program to be a trusted application program; and after the application program is authenticated to be a trusted application program, determining that the Bluetooth connection initiated by the application program is a safe connection. The application program sending the Bluetooth requirement signal is authenticated as a trusted application program through the authentication code, a trust relationship of a Bluetooth connection with a higher level is established, and automatic authentication without user access confirmation is realized when the Bluetooth connection is established for the first time.
In a second aspect, the invention provides an automatic bluetooth connection method, which is applied to vehicle-mounted equipment and comprises the following steps: when a Bluetooth demand signal sent by an application program which is projected by user equipment in the vehicle-mounted equipment is detected, acquiring a prestored authentication code of the user equipment; sending the authentication code to the user equipment so that the user equipment can authenticate the Bluetooth connection; and after the user equipment passes the Bluetooth connection authentication, establishing connection with the user equipment.
In a third aspect, the present invention provides an automatic bluetooth connection device, applied to a user equipment, including: the first connection detection module starts Bluetooth connection and judges whether the Bluetooth connection is the first connection or not when detecting a Bluetooth demand signal sent by an application program; the authentication code acquisition module acquires an authentication code from the vehicle-mounted equipment through a non-Bluetooth wireless network which establishes connection in advance when the Bluetooth connection is the first connection; the authentication module authenticates the Bluetooth connection initiated by the application program based on the authentication code; and the connection confirming module confirms that the Bluetooth connection initiated by the application program is safe connection after the Bluetooth connection initiated by the application program passes authentication, and establishes the Bluetooth connection between the user equipment and the vehicle-mounted equipment.
In a fourth aspect, the present invention provides an automatic bluetooth connection device, which is applied to a vehicle-mounted device, and includes: the authentication code acquisition module acquires a prestored authentication code of the user equipment when detecting a Bluetooth demand signal sent by an application program projected by the user equipment in the vehicle-mounted equipment; the authentication code sending module sends the authentication code to the user equipment so that the user equipment can authenticate the Bluetooth connection; and the Bluetooth connection module establishes connection with the user equipment after the user equipment passes the Bluetooth connection authentication.
In a fifth aspect, the present invention provides a user equipment, comprising a memory for storing a computer program; a processor connected to the memory for running the computer program to implement the bluetooth automatic connection method applied to the user equipment as described above.
In a sixth aspect, the present invention provides an in-vehicle apparatus, comprising a memory for storing a computer program; and the processor is connected with the memory and is used for running the computer program to realize the Bluetooth automatic connection method applied to the vehicle-mounted equipment.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a Bluetooth automatic connection method according to the present invention;
FIG. 2 is a schematic flow chart diagram illustrating an embodiment of the Bluetooth automatic connection method of the present invention applied to a UE;
FIG. 3 is a schematic flowchart illustrating the Bluetooth authentication in one embodiment of the present invention when the method for automatic Bluetooth connection is applied to a UE;
FIG. 4 is a schematic diagram of network transmission of screen projection data in an embodiment when the Bluetooth automatic connection method of the present invention is applied to a user equipment;
FIG. 5 is a schematic flow chart diagram illustrating an embodiment of the Bluetooth automatic connection method of the present invention applied to a vehicle-mounted device;
FIG. 6 is a schematic block diagram of an embodiment of the Bluetooth automatic connection apparatus of the present invention;
FIG. 7 is a schematic block diagram of an embodiment of the Bluetooth automatic connection apparatus of the present invention;
FIG. 8 is a schematic block diagram of a UE according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of an in-vehicle device according to an embodiment of the present invention;
description of the element reference
10. User equipment
101. Processor with a memory having a plurality of memory cells
102. Memory device
20. Vehicle-mounted device
201. Processor with a memory having a plurality of memory cells
202. Memory device
30. Vehicle with a steering wheel
100. Bluetooth automatic connection device
110. First connection detection module
120. Authentication code acquisition module
130. Authentication module
140. Confirming connection module
200. Bluetooth automatic connection device
210. Authentication code acquisition module
220. Authentication code sending module
230. Bluetooth connection module
S110 to S140
S131 to S133
S210-S220
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, so that the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, the type, quantity and proportion of the components in actual implementation can be changed freely, and the layout of the components can be more complicated.
The embodiment provides a Bluetooth automatic connection method, a Bluetooth automatic connection device, user equipment and vehicle-mounted equipment, which can avoid authentication certification by manual operation of a user when Bluetooth connection is established for the first time, and realize automatic certification without user access confirmation when Bluetooth connection is established for the first time.
Fig. 1 is a schematic diagram illustrating an application of the bluetooth automatic connection method of the present embodiment. The user device 10 in fig. 1 includes, but is not limited to, a mobile phone, a PAD, a wearable device, a smart AI device, etc., wherein an application (e.g., a screen-casting application, a car controller, etc.) is installed in the user device 10. The vehicle-mounted device 20 shown in fig. 1 is mounted in a vehicle 30, and the vehicle 30 is a car or a two-wheeled electric vehicle. The vehicle-mounted device 20 includes, but is not limited to, a vehicle mounted device or a vehicle mounted box installed in a bluetooth module, and the like, which can establish a connection with the user device 10 through bluetooth and interact with an application program in the user device 10. As shown in fig. 1, in the bluetooth automatic connection method of this embodiment, when the user equipment 10 with an application program and the vehicle-mounted device 20 in the vehicle 30 have established a connection through a non-bluetooth wireless network (e.g., wifi, GPRS,2/3/4/5G wireless network), when the user equipment 10 and the vehicle-mounted device 20 perform a bluetooth connection for the first time, the bluetooth connection is authenticated based on an authentication code of the user equipment 10 pre-stored in the vehicle-mounted device 20, the bluetooth connection is determined to be a secure connection, and the bluetooth connection between the user equipment 10 and the vehicle-mounted device 20 is established, so that the user can avoid the need of manual operation of the user to perform authentication when the bluetooth connection is established for the first time, automatic authentication without user access confirmation when the bluetooth connection is established for the first time is implemented, and convenience of the bluetooth connection is improved.
The principles and embodiments of the bluetooth automatic connection method, the user equipment 10 and the storage medium according to the present embodiment will be described in detail below, so that those skilled in the art can understand the bluetooth automatic connection method, the user equipment 10 and the storage medium according to the present embodiment without any creative work.
Fig. 2 is a schematic flowchart illustrating the method for bluetooth connection in the present embodiment when applied to a user equipment. As shown in fig. 2, the bluetooth automatic connection method includes the following steps:
step S110: when a Bluetooth demand signal sent by an application program is detected, starting Bluetooth connection and judging whether the Bluetooth connection is the first connection;
step S120: when the Bluetooth connection is the first connection, acquiring an authentication code from the vehicle-mounted equipment through a non-Bluetooth wireless network which is connected in advance;
step S130: authenticating the Bluetooth connection initiated by the application program based on the authentication code;
step S140: and after the Bluetooth connection initiated by the application program passes the authentication, confirming that the Bluetooth connection initiated by the application program is safe connection, and establishing the Bluetooth connection between the user equipment and the vehicle-mounted equipment.
The following describes steps S110 to S140 of the bluetooth automatic connection method according to this embodiment in detail.
Step S110: when a Bluetooth demand signal sent by an application program is detected, bluetooth connection is started and whether the Bluetooth connection is the first connection or not is judged.
Specifically, in this embodiment, the ue 10 detects a bluetooth request signal sent by the application, starts a bluetooth connection, scans connectable bluetooth signals, detects bluetooth signal strength of the connectable bluetooth signals, and determines whether the bluetooth connection is a first connection when the detected bluetooth signal strength is within a predetermined signal strength range: judging whether the connection information of the vehicle-mounted device 20 corresponding to the connectable Bluetooth signal exists in the Bluetooth connection list, namely determining whether the vehicle-mounted device 20 corresponding to the connectable Bluetooth signal establishes Bluetooth connection with the user equipment 10, if not, determining that the Bluetooth connection is the first connection, and if so, determining that the Bluetooth connection is not the first connection.
Step S120: when the bluetooth connection is the first connection, the authentication code is acquired from the in-vehicle device 20 through the non-bluetooth wireless network in which the connection is established in advance.
In this embodiment, the user equipment 10 and the vehicle-mounted device 20 establish a non-bluetooth wireless network such as wifi, GPRS,2/3/4/5G wireless network in advance.
The vehicle-mounted device 20 stores an authentication code of the user device 10 in advance, wherein the authentication code of the user device 10 is an authentication code provided by a manufacturer of the user device 10 and dedicated to the user device 10. The authentication code of the user equipment 10 is stored in the vehicle-mounted equipment 20 in advance, and when the user equipment 10 requests to establish Bluetooth communication with the vehicle-mounted equipment 20, the authentication code, which is exclusive to the user equipment 10, in the vehicle-mounted equipment 20 is sent to the user equipment 10 through non-Bluetooth wireless networks such as wifi, GPRS,2/3/4/5G wireless networks and the like which are established in advance with the vehicle-mounted equipment 20.
In this embodiment, the authentication code dedicated to the user equipment 10 may be directly stored in the vehicle-mounted device 20, or may be stored in a cloud server of the vehicle-mounted device 20, and when the user equipment 10 requests to establish bluetooth communication with the vehicle-mounted device 20, the vehicle-mounted device 20 downloads and obtains the corresponding authentication code from the cloud server.
Step S130: and authenticating the Bluetooth connection initiated by the application program based on the authentication code.
Specifically, in this embodiment, as shown in fig. 3, the authenticating the bluetooth connection initiated by the application based on the authentication code includes:
step S131: matching the acquired authentication code with a local authentication code pre-stored in the user equipment 10;
step S132: when the authentication code matches with a local authentication code pre-stored in the user equipment 10, authenticating the application program as a trusted application program;
step S133: and after the application program is authenticated to be a trusted application program, determining that the Bluetooth connection initiated by the application program is a safe connection.
In this embodiment, the authentication code obtained from the vehicle-mounted device 20 is compared with the local authentication code of the user device 10, and it is determined that the application program initiating the bluetooth connection is a safe and trusted application program, so as to confirm that the bluetooth connection initiated by the application program is a safe connection.
Step S140: after the bluetooth connection initiated by the application program passes the authentication, the bluetooth connection initiated by the application program is confirmed to be a safe connection, and the bluetooth connection between the user equipment 10 and the vehicle-mounted equipment 20 is established.
In this embodiment, the application program that sends the bluetooth requirement signal is authenticated as a trusted application program through the authentication code, and a trust relationship of a higher level of bluetooth connection is established, so that automatic authentication without user access confirmation when bluetooth connection is established for the first time is realized.
In addition, in this embodiment, the bluetooth automatic connection method further includes: prompting the user equipment 10 to establish connection with the vehicle-mounted equipment 20 in response to the connection between the user equipment 10 and the vehicle-mounted equipment 20; wherein, the prompting mode comprises the following steps: controlling one or more combinations of the user equipment 10 to light a screen, pop-up a window, and voice prompts.
For example, after the user equipment 10 establishes the connection with the vehicle-mounted device 20, the user equipment 10 is prompted to establish the connection with the vehicle-mounted device 20 by controlling the user equipment 10 to be lightened. For example, when the car machine and the mobile phone are successfully connected through Bluetooth, the mobile phone is triggered to lock the screen to display and light the screen.
For another example, after the user device 10 establishes a connection with the in-vehicle device 20, a pop-up window presentation may be performed by popping up an information frame under the lock screen of the user device 10. For example, when the car machine and the mobile phone are successfully connected by bluetooth, pop up on the mobile phone screen: "Bluetooth connection established".
After the user device 10 establishes a connection with the in-vehicle device 20, the prompt may be provided by voice or vibration sound. For example, when the bluetooth link between the car machine and the mobile phone is successful, the mobile phone plays: "bluetooth connection established".
Therefore, in the bluetooth automatic connection method of the embodiment, when the bluetooth connection is first established between the user equipment 10 and the vehicle-mounted device 20, the authentication is automatically performed, so as to achieve the effect of non-inductive authentication, and effectively improve the user experience.
In the present embodiment, the audio signal is transmitted to the vehicle-mounted device 20 through the established bluetooth connection, and the video signal is transmitted to the vehicle-mounted device 20 through the non-bluetooth wireless network.
In this embodiment, as shown in fig. 4, the application program of the user equipment 10 is a screen projection application program, and when the video stream of the user equipment 10 is projected into the vehicle-mounted device 20, the audio signal is transmitted through a bluetooth network, and the video signal is transmitted through a non-bluetooth wireless network such as wifi. After the user equipment 10 and the vehicle-mounted equipment 20 are connected through wifi and when the bluetooth connection needs to be established, the bluetooth connection between the user equipment 10 and the vehicle-mounted equipment 20 is automatically established through the bluetooth automatic connection method of the embodiment, then an audio signal is transmitted to the vehicle-mounted equipment 20 through the established bluetooth connection, and a video signal is transmitted to the vehicle-mounted equipment 20 through the non-bluetooth wireless network.
Fig. 5 is a schematic flowchart of the bluetooth automatic connection method applied to the vehicle-mounted device 20 in this embodiment, and as shown in fig. 5, the bluetooth automatic connection method applied to the vehicle-mounted device 20 includes the following steps:
in step S210, when a bluetooth request signal sent by an application program projected by the user equipment 10 in the vehicle-mounted device 20 is detected, a pre-stored authentication code of the user equipment 10 is acquired.
The vehicle-mounted device 20 prestores the authentication code of the user device 10, or the vehicle-mounted device 20 acquires the authentication code of the user device 10 prestored in the cloud server from the cloud server.
Step S220, sending the authentication code to the user equipment 10, so that the user equipment 10 authenticates the bluetooth connection.
Step S230, after the user equipment 10 passes the bluetooth connection authentication, establishing a connection with the user equipment 10.
That is to say, in this embodiment, when the application initiating the bluetooth connection needs to be authenticated, the authentication code (authentication code) may be obtained from the in-vehicle device 20 or the cloud server, and the application is authenticated as a safe application, and the user device 10 may authenticate the bluetooth connection initiated by the application as a safe connection, which is not a connection initiated by a third-party application, and may perform quick authentication.
As shown in fig. 6, the present embodiment further provides a bluetooth automatic connection apparatus 100, which is applied to a user device 10, where the bluetooth automatic connection apparatus 100 includes: a first connection detection module 110, an authentication code acquisition module 120, an authentication module 130 and a connection confirmation module 140.
In this embodiment, the first connection detecting module 110 starts the bluetooth connection and determines whether the bluetooth connection is the first connection when detecting the bluetooth requirement signal sent by the application.
In this embodiment, the authentication code obtaining module 120 obtains the authentication code from the vehicle-mounted device 20 through the non-bluetooth wireless network that is pre-established when the bluetooth connection is the first connection.
In this embodiment, the authentication module 130 authenticates the bluetooth connection initiated by the application based on the authentication code.
In this embodiment, the connection confirmation module 140 confirms that the bluetooth connection initiated by the application is a secure connection after the bluetooth connection initiated by the application is authenticated, and establishes the bluetooth connection between the user equipment 10 and the vehicle-mounted device 20.
In this embodiment, the technical features and implementation principles of the bluetooth automatic connection apparatus 100 applied to the user equipment 10 are the same as those of steps S110 to S140 in the bluetooth automatic connection method applied to the user equipment 10 in this embodiment, and the technical features common between the apparatus and the method are not described again.
As shown in fig. 7, the present embodiment further provides a bluetooth automatic connection apparatus 200 applied to the vehicle-mounted device 20, where the bluetooth automatic connection apparatus 200 includes: an authentication code acquisition module 210, an authentication code transmission module 220 and a bluetooth connection module 230.
In this embodiment, the authentication code obtaining module 210 obtains a pre-stored authentication code of the user equipment 10 when detecting a bluetooth request signal sent by an application program that is projected by the user equipment 10 in the vehicle-mounted device 20;
in this embodiment, the authentication code sending module 220 sends the authentication code to the user equipment 10, so that the user equipment 10 can authenticate the bluetooth connection;
in this embodiment, the bluetooth connection module 230 establishes a connection with the user equipment 10 after the user equipment 10 passes the bluetooth connection authentication.
In this embodiment, the technical features and implementation principles of the bluetooth automatic connection apparatus 100 applied to the vehicle-mounted device 20 are the same as those of steps S210 to S220 of the bluetooth automatic connection method applied to the vehicle-mounted device 20 in this embodiment, and the technical features common between the apparatus and the method are not described again.
As shown in fig. 8, this embodiment further provides a user device 10, where the user device 10 is a mobile device of a user, such as a mobile phone, a PAD, a wearable device, or an intelligent AI device; the user equipment 10 comprises a memory 102 for storing a computer program; a processor 101 for running said computer program to implement the bluetooth automatic connection method as applied in the user equipment 10.
The memory 102 is connected to the processor 101 through the system bus and performs communication with each other, the memory 102 is used for storing computer programs, and the processor 101 is used for running the computer programs, so that the user equipment 10 performs the bluetooth automatic connection method shown in fig. 2 to 4. The above-mentioned bluetooth automatic connection method has been described in detail, and is not described herein again.
It should be noted that the above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory 102 may include a Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor 101 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
As shown in fig. 9, this embodiment further provides a vehicle-mounted device 20, where the vehicle-mounted device 20 is an electronic device that establishes a connection with the user equipment 10 through bluetooth, and interacts with an application program in the user equipment 10, such as a car machine and a vehicle-mounted box; the in-vehicle apparatus 20 includes a memory 202 for storing a computer program; a processor 201 for running the computer program to implement the bluetooth automatic connection method as applied to the in-vehicle apparatus 20.
The memory 202 is connected to the processor 201 through the system bus and performs communication with each other, the memory 102 is used for storing computer programs, and the processor 201 is used for running the computer programs, so that the user equipment 10 executes the bluetooth automatic connection method shown in fig. 5. The above-mentioned bluetooth automatic connection method has been described in detail, and is not described herein again.
It should be noted that the above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory 202 may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor 201 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In addition, the present embodiment also provides a storage medium storing program instructions, which when executed by the processor 101 or the processor 201, implement the above-mentioned bluetooth automatic connection method. The above-mentioned bluetooth automatic connection method has been described in detail, and is not described herein again.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
In conclusion, the invention can avoid the authentication by the manual operation of the user when the Bluetooth connection is established for the first time, and realize the automatic authentication without the user access confirmation when the Bluetooth connection is established for the first time; the application program sending the Bluetooth requirement signal is authenticated as a trusted application program through the authentication code, a trust relationship of a Bluetooth connection with a higher level is established, and automatic authentication without user access confirmation is realized when the Bluetooth connection is established for the first time. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which may be made by those skilled in the art without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims (10)

1. A Bluetooth automatic connection method is applied to user equipment and is characterized by comprising the following steps:
when a Bluetooth demand signal sent by an application program is detected, starting Bluetooth connection and judging whether the Bluetooth connection is the first connection;
when the Bluetooth connection is the first connection, acquiring an authentication code from the vehicle-mounted equipment through a non-Bluetooth wireless network which is connected in advance;
authenticating the Bluetooth connection initiated by the application program based on the authentication code;
and after the Bluetooth connection initiated by the application program passes the authentication, confirming that the Bluetooth connection initiated by the application program is safe connection, and establishing the Bluetooth connection between the user equipment and the vehicle-mounted equipment.
2. The method of claim 1, wherein the authenticating the application-initiated bluetooth connection based on the authentication code comprises:
matching the acquired authentication code with a local authentication code prestored in the user equipment;
when the authentication code is matched with a local authentication code prestored in the user equipment, authenticating the application program as a trustable application program;
and after the application program is authenticated to be a trustable application program, confirming that the Bluetooth connection initiated by the application program is a safe connection.
3. The method of claim 1, wherein the audio signal is transmitted to the in-vehicle device over the established bluetooth connection and the video signal is transmitted to the in-vehicle device over the non-bluetooth wireless network.
4. A Bluetooth automatic connection method is applied to vehicle-mounted equipment and is characterized by comprising the following steps:
when a Bluetooth demand signal sent by an application program projected by user equipment in the vehicle-mounted equipment is detected, acquiring a prestored authentication code of the user equipment;
sending the authentication code to the user equipment so that the user equipment can authenticate the Bluetooth connection;
and after the user equipment passes the Bluetooth connection authentication, establishing connection with the user equipment.
5. The method of claim 4, wherein the authentication code is pre-stored in the vehicle-mounted device or a cloud server of the vehicle-mounted device.
6. The method according to claim 4 or 5, wherein the obtaining of the pre-stored authentication code of the user equipment comprises:
acquiring user equipment information of user equipment which is connected with the vehicle-mounted equipment through a wireless network;
and searching whether an authentication code associated with the user equipment exists from a pre-stored authentication code list based on the user equipment information.
7. The utility model provides a bluetooth automatic connecting device, is applied to user equipment, its characterized in that includes:
the first connection detection module starts Bluetooth connection and judges whether the Bluetooth connection is the first connection or not when detecting a Bluetooth demand signal sent by an application program;
the authentication code acquisition module acquires an authentication code from the vehicle-mounted equipment through a non-Bluetooth wireless network which establishes connection in advance when the Bluetooth connection is the first connection;
the authentication module authenticates the Bluetooth connection initiated by the application program based on the authentication code;
and the connection confirming module confirms that the Bluetooth connection initiated by the application program is safe connection after the Bluetooth connection initiated by the application program passes authentication, and establishes the Bluetooth connection between the user equipment and the vehicle-mounted equipment.
8. The utility model provides a bluetooth automatic connecting device, is applied to the mobile unit, its characterized in that includes:
the authentication code acquisition module acquires a prestored authentication code of the user equipment when detecting a Bluetooth demand signal sent by an application program projected by the user equipment in the vehicle-mounted equipment;
the authentication code sending module sends the authentication code to the user equipment so that the user equipment can authenticate the Bluetooth connection;
and the Bluetooth connection module establishes connection with the user equipment after the user equipment passes the Bluetooth connection authentication.
9. A user equipment, comprising a memory for storing a computer program; a processor coupled to the memory for executing the computer program to implement the method of any of claims 1 to 3.
10. An in-vehicle apparatus, comprising a memory for storing a computer program; a processor coupled to the memory for executing the computer program to implement the method of any of claims 4 to 6.
CN202110534472.5A 2021-05-17 2021-05-17 Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment Pending CN115379415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110534472.5A CN115379415A (en) 2021-05-17 2021-05-17 Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110534472.5A CN115379415A (en) 2021-05-17 2021-05-17 Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment

Publications (1)

Publication Number Publication Date
CN115379415A true CN115379415A (en) 2022-11-22

Family

ID=84059731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110534472.5A Pending CN115379415A (en) 2021-05-17 2021-05-17 Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment

Country Status (1)

Country Link
CN (1) CN115379415A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095636A (en) * 2023-04-07 2023-05-09 宁波均联智行科技股份有限公司 Method for guiding vehicle-mounted equipment to establish connection with mobile equipment and vehicle-mounted equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095636A (en) * 2023-04-07 2023-05-09 宁波均联智行科技股份有限公司 Method for guiding vehicle-mounted equipment to establish connection with mobile equipment and vehicle-mounted equipment

Similar Documents

Publication Publication Date Title
US9688247B1 (en) Method and apparatus for digital temporary vehicle key utilization
CN111639319B (en) User resource authorization method, device and computer readable storage medium
US10097993B2 (en) Method and apparatus for remote authentication
JP7326471B2 (en) Bluetooth scanning method and electronic device
KR101951973B1 (en) Resource access authorization
US11200018B2 (en) Electronic device and method for sharing screen data
US20150024688A1 (en) Automatic Pairing of a Vehicle and a Mobile Communications Device
US20120259480A1 (en) Vehicle-mounted device, method for activating the vehicle-mounted device and vehicle-mounted system
JP2009135688A (en) Authentication method, authentication system, and on-vehicle device
CN105282088A (en) Method and system for controlling verification server and method and system for controlling verification
JP2010519631A (en) Authorization of secure resources
US10812592B2 (en) Method and apparatus for utilizing NFC to establish a secure connection
US10803681B2 (en) Server side security preventing spoofing of vin provisioning service
US9691193B2 (en) Method for securely authorizing vehicle owners to an in-vehicle telematics feature absent in-car screen
WO2023124499A1 (en) Automatic screen unlocking method and apparatus, and electronic device and readable storage medium
CN108460251B (en) Method, device and system for running application program
CN115379415A (en) Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment
CN111432409A (en) Network access method, terminal device and storage medium
CN114222277A (en) Wireless Bluetooth headset connection method and device, terminal equipment and wireless Bluetooth headset
KR20130123149A (en) Method for data network access authentication and an electronic device thereof
CN115171248B (en) Bluetooth key-based connection method and device and related equipment
CN113055884A (en) Network access method, network access device and terminal
CN110944320A (en) Smart card identification method, system and computer readable storage medium
CN114285583A (en) Method and device for equipment to safely access Internet of things, electronic equipment and storage medium
CN117082446B (en) Equipment searching and positioning method and related equipment

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