CN115734206A - Vehicle-mounted machine Bluetooth connection method and device, electronic equipment, storage medium and vehicle - Google Patents
Vehicle-mounted machine Bluetooth connection method and device, electronic equipment, storage medium and vehicle Download PDFInfo
- Publication number
- CN115734206A CN115734206A CN202211425536.9A CN202211425536A CN115734206A CN 115734206 A CN115734206 A CN 115734206A CN 202211425536 A CN202211425536 A CN 202211425536A CN 115734206 A CN115734206 A CN 115734206A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- vehicle
- connection
- face data
- mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000004044 response Effects 0.000 claims abstract description 20
- 238000012544 monitoring process Methods 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a vehicle-mounted machine Bluetooth connection method, a vehicle-mounted machine Bluetooth connection device, electronic equipment, a storage medium and a vehicle; the method comprises the following steps: in response to successful pairing with a preset Bluetooth device, selecting a mode for Bluetooth connection with the Bluetooth device, wherein the mode comprises a first connection mode; responding to the selection of the first connection mode, and judging whether local face information corresponding to the Bluetooth equipment is stored in the local car machine; responding to the fact that the corresponding local face information is not stored locally in the vehicle, acquiring face data of a current driver and a current passenger, storing the face data as the corresponding local face information, establishing Bluetooth connection with Bluetooth equipment, and adjusting the connection state between the Bluetooth equipment according to monitoring of the face data of the current driver and the passenger; responding to the local storage of the corresponding local face information in the vehicle-mounted device, identifying the face data of the current driver and passenger, and controlling the connection with the Bluetooth device according to the identification result.
Description
Technical Field
The embodiment of the application relates to the technical field of vehicle communication, in particular to a vehicle-mounted machine Bluetooth connection method, a device, electronic equipment, a storage medium and a vehicle.
Background
In a related Bluetooth connection mode of the vehicle-mounted device, after the vehicle-mounted device of the vehicle is connected with the Bluetooth device in a Bluetooth mode, the connection is always kept as long as the Bluetooth device is kept within a Bluetooth signal range of the vehicle-mounted device; further, after the driver or passenger using the bluetooth device moves out of the vehicle cabin, the driver or passenger cannot directly use the bluetooth device outside the vehicle, but the bluetooth connection needs to be disconnected first.
Disclosure of Invention
In view of this, embodiments of the present invention provide a vehicle-mounted bluetooth connection method, apparatus, electronic device, storage medium, and vehicle, so as to solve the problem that a bluetooth device remains connected to a vehicle after a bluetooth device user leaves the vehicle.
Based on the above purpose, the application provides a vehicle-mounted machine bluetooth connection method, which is applied to a vehicle-mounted machine of a vehicle, and the method comprises the following steps:
in response to successful pairing with a preset Bluetooth device, selecting a mode for Bluetooth connection with the Bluetooth device, wherein the mode comprises a first connection mode;
responding to the selection of the first connection mode, and judging whether local face information corresponding to the Bluetooth equipment is stored locally in the vehicle machine;
responding to the fact that the corresponding local face information is not stored locally in the vehicle-mounted device, acquiring face data of a current driver, storing the face data as the corresponding local face information, establishing Bluetooth connection with the Bluetooth device, and adjusting the connection state between the vehicle-mounted device and the Bluetooth device according to monitoring of the face data of the current driver;
and responding to the local storage of the corresponding local face information in the vehicle-mounted terminal, identifying the face data of the current driver and passenger, and controlling the connection with the Bluetooth equipment according to the identification result.
Further, the modes also include a second connection mode;
after the selecting the mode of bluetooth connection with the bluetooth device, the method further includes:
in response to selecting the second connection mode, establishing a Bluetooth connection with the Bluetooth device;
and maintains the bluetooth connection.
Further, whether the local human face information corresponding to the bluetooth device is stored in the local car-to-car machine is judged, including:
acquiring device information from the Bluetooth device;
and judging whether the local face information with the equipment information is stored locally on the vehicle machine.
Further, controlling the connection with the bluetooth device according to the recognized result includes:
responding to the situation that the face data of the current driver and passenger are identified to be consistent with the corresponding local face information, and establishing Bluetooth connection with the Bluetooth equipment;
and adjusting the connection state between the Bluetooth equipment according to the monitoring of the face data of the current driver and passenger.
Further, controlling the connection with the bluetooth device according to the result of the identification, further comprising:
and in response to recognizing that the face data of the current driver and passenger is inconsistent with the corresponding local face information, not establishing Bluetooth connection with the Bluetooth equipment.
Further, according to the monitoring of the face data of the current driver and passenger, adjusting the connection state with the bluetooth device includes:
continuously monitoring the face data of the current driver and passengers;
in response to monitoring that the face data disappears, disconnecting the Bluetooth connection established with the Bluetooth equipment;
and establishing Bluetooth connection with the Bluetooth equipment again until the human face data is monitored to reappear.
Based on the same inventive concept, the application also provides a vehicle Bluetooth connecting device, which comprises: the system comprises a mode selection module, a local face information query module, a first query result execution module and a second query result execution module;
the mode selection module is configured to select a mode for Bluetooth connection with a preset Bluetooth device in response to successful pairing with the Bluetooth device, wherein the mode comprises a first connection mode;
the local face information inquiry module is configured to respond to the selection of the first connection mode and judge whether the local face information corresponding to the Bluetooth equipment is locally stored in the vehicle machine;
the first query result execution module is configured to, in response to the local car-mounted device not storing the corresponding local face information locally, acquire face data of a current driver, store the face data as the corresponding local face information, establish bluetooth connection with the bluetooth device, and adjust a connection state between the bluetooth device and the current driver according to monitoring of the face data of the current driver;
the second query result execution module is configured to respond to that the corresponding local face information is locally stored in the car machine, recognize face data of a current driver and passenger, and control connection with the Bluetooth device according to a recognition result.
Based on the same inventive concept, the application further provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the program, the bluetooth connection method of the vehicle machine is realized.
Based on the same inventive concept, the present application further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions for causing the computer to execute the bluetooth connection method for the vehicle machine.
Based on the same inventive concept, the application also provides a vehicle, wherein the vehicle comprises the vehicle-mounted Bluetooth connecting device and the electronic equipment, and the electronic equipment executes the vehicle-mounted Bluetooth connecting method.
As can be seen from the above, in one or more technical solutions provided in the embodiments of the present application, connection with a bluetooth device is established based on comprehensive consideration of different modes, where in a first connection mode, a car machine can actively determine whether local face information corresponding to the bluetooth device is stored in the car machine before establishing bluetooth connection, and based on this, recognition of the bluetooth device is implemented, and different policies are executed according to different recognition results; therefore, when the corresponding local face information is not stored, the Bluetooth connection can be established after the face data of the current driver and passenger are collected and stored; when the corresponding local face information is stored, the face data of the current driver and passenger can be identified so as to establish Bluetooth connection after the driver and passenger are determined to be the user of the Bluetooth equipment; after the Bluetooth connection is established, the driver and the passengers can be continuously monitored for the face data, the car machine actively breaks the Bluetooth connection after the face data disappears, the situation that the Bluetooth equipment still keeps a connection state with the car machine after a user of the Bluetooth equipment leaves the car is avoided, the privacy of the user of the Bluetooth equipment is guaranteed, and the Bluetooth connection is established again after the face data reappearance is monitored, so that the situation that the Bluetooth equipment can be continuously communicated with the car machine after the driver returns to the car is guaranteed.
Drawings
Further details, features and advantages of the invention are disclosed in the following description of exemplary embodiments with reference to the accompanying drawings, in which:
fig. 1 is a flowchart illustrating a bluetooth connection method for a vehicle machine according to an exemplary embodiment of the present invention;
FIG. 2 shows a schematic diagram of the execution logic in which the various methods described herein may be implemented, according to an example embodiment of the present invention;
FIG. 3 shows a schematic block diagram of a Bluetooth connection of a vehicle machine according to an exemplary embodiment of the present invention;
FIG. 4 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the invention are for illustration purposes only and are not intended to limit the scope of the invention.
It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description. It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
It can be understood that, before the technical solutions of the embodiments in the present disclosure are used, the user is informed of the type, the use range, the use scenario, etc. of the related personal information in a proper manner, and obtains the authorization of the user.
For example, in response to receiving a user's active request, a prompt is sent to the user to explicitly prompt the user that the requested operation to be performed would require the acquisition and use of personal information to the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the disclosed technical solution, according to the prompt information.
As an optional but non-limiting implementation manner, in response to receiving an active request from the user, the manner of sending the prompt information to the user may be, for example, a pop-up window, where the prompt information may be presented in a text manner. In addition, a selection control for providing personal information to the electronic device by the user's selection of "agreeing" or "disagreeing" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and is not intended to limit the implementation of the present disclosure, and other ways of satisfying the relevant laws and regulations may be applied to the implementation of the present disclosure.
The names of messages or information exchanged between devices in the embodiments of the present invention are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As described in the background section, the related bluetooth connection method for the vehicle device is also difficult to meet the actual use requirements of users.
The applicant finds that the related vehicle-mounted machine bluetooth connection method has the main problems in the process of implementing the application: in the related Bluetooth connection mode of the vehicle, after the vehicle and the Bluetooth equipment of the vehicle establish Bluetooth connection, as long as the Bluetooth equipment is kept in the Bluetooth signal range of the vehicle, if the Bluetooth connection is not manually cut off, the connection is always kept; however, when the driver using the bluetooth device leaves the vehicle cabin, for example, the driver moves outside the vehicle cabin to make a call, the user of the mobile phone cannot directly use the mobile phone outside the vehicle because the mobile phone serving as the bluetooth device is still within the bluetooth connection range of the vehicle, but needs to disconnect the bluetooth connection first.
In addition, the user of the mobile phone may forget that the bluetooth connection is not disconnected, thereby exposing privacy.
Based on the above, one or more embodiments of the present application provide a bluetooth connection method for a vehicle to solve the problem that when a bluetooth device user leaves a vehicle, the bluetooth device remains connected to the vehicle.
The following describes aspects of the present invention with reference to the drawings.
Referring to fig. 1, a bluetooth connection method for a vehicle machine according to an embodiment of the present application is applied to a vehicle machine of a vehicle, and specifically includes the following steps:
step S101, responding to successful pairing with a preset Bluetooth device, and selecting a mode for Bluetooth connection with the Bluetooth device, wherein the mode comprises a first connection mode.
In the embodiment of the application, a face recognition intelligent Bluetooth connection system is preset in a vehicle machine for implementing the method, wherein the face recognition intelligent Bluetooth connection system comprises a face recognition subsystem and an intelligent Bluetooth connection subsystem.
The face recognition subsystem can be used for recognizing the faces of drivers and passengers, specifically collecting face data, monitoring the faces and matching the face data.
Furthermore, the intelligent Bluetooth connection system can be used for controlling the vehicle machine and the Bluetooth equipment to establish or break Bluetooth connection.
In this embodiment, after the bluetooth device is successfully paired with the car machine, the car machine may bind with the bluetooth device, and provide multiple bluetooth connection modes for the user before establishing bluetooth connection with the bluetooth device, so that the user can select the bluetooth connection modes.
The bluetooth device connected to the car machine via bluetooth may be a mobile terminal such as a mobile phone, and the user indicates a user of the car machine, such as a driver of a vehicle.
In a specific example, after the bluetooth function of the bluetooth device is turned on by the driver, the face recognition intelligent bluetooth connection system of the vehicle-mounted device may be started at the vehicle-mounted end, so that the vehicle-mounted device executes the steps shown in fig. 2: s201, searching Bluetooth equipment.
Specifically, in a bluetooth search interface of the car machine, a bluetooth device with a bluetooth function opened near the car machine may be searched, and the searched bluetooth device may be displayed in the search interface of the car machine.
Further, the steps shown in fig. 2 are performed: s202, selecting equipment and binding.
Specifically, based on the bluetooth device that shows in the search interface of car machine, the driver can select the bluetooth device as required and pair, and after the bluetooth device of selection successfully paired with the car machine, realized the binding of car machine and this bluetooth device.
Further, after the binding is completed, the steps shown in fig. 2 may be performed: s203, inquiring to open the intelligent connection.
Specifically, as described above, the intelligent bluetooth connection subsystem of the car machine may provide multiple bluetooth connection modes, including an intelligent connection mode, i.e., the first connection mode in this embodiment, and a conventional connection mode, i.e., the second connection mode in this embodiment.
It can be seen that, for the bound bluetooth device, the user can select a bluetooth connection mode with the bluetooth device through interaction with the vehicle-mounted device.
And S102, responding to the selection of the first connection mode, and judging whether local face information corresponding to the Bluetooth equipment is stored locally in the vehicle.
In the embodiment of the application, the vehicle-mounted device can execute different connection logics based on the mode selection of the user, and after the user starts the first connection mode through interaction with the vehicle-mounted device, the vehicle-mounted device determines whether the local face information corresponding to the Bluetooth device is stored locally in the vehicle-mounted device in advance through a communication mode with the bound Bluetooth device.
In a specific example, as shown in fig. 2, when the execution result of the foregoing step S203 is yes, step S204 may be executed to query whether face information is bound.
Specifically, based on the bluetooth device and the car machine having been successfully bound in the foregoing steps, the car machine may obtain the relevant device information from the bluetooth device.
The device information includes information of the bluetooth device and its user, such as a device identification of the bluetooth device, a user identification of the user, and the like.
Further, the car machine can locally inquire whether consistent equipment identification and user identification are stored or not from the car machine based on the obtained equipment identification and user identification, if the consistent equipment identification is stored, the car machine is considered to be bound with the bluetooth equipment, and if the consistent user identification is stored, the bluetooth equipment and a user of the bluetooth equipment are considered to be old users, the car machine is already bound with face information of the user of the bluetooth equipment, that is, local face information corresponding to the bluetooth equipment is stored in the car machine locally.
Based on the method, the car machine can locally recognize local face information with the equipment identification and the user identification from the car machine.
Further, if the car machine does not recognize the device identifier and the user identifier which are consistent with the bluetooth device from the car machine local, the car machine is considered to not store the local face information corresponding to the bluetooth device, that is, the face information of the user of the bluetooth device is not bound.
It can be seen that, in the first connection mode, the car machine can determine whether the bluetooth device and the user thereof are an old user or a new user according to the acquired device information before the bluetooth connection is established, so as to adopt the following corresponding different processing modes.
In some other embodiments of the present application, after the user starts the second connection mode through the interaction of the car machine, step S205 and the second connection mode connection in fig. 2 may be executed.
Specifically, the car machine will directly establish bluetooth connection with bluetooth equipment to, under the second connected mode, the car machine need not to judge whether the car machine is local to be stored with the local people's face information that bluetooth equipment corresponds.
Step S103, in response to the fact that the corresponding local face information is not stored locally in the vehicle-mounted device, acquiring face data of a current driver, storing the face data as the corresponding local face information, establishing Bluetooth connection with the Bluetooth device, and adjusting the connection state between the Bluetooth device and the driver according to monitoring of the face data of the current driver.
In the embodiment of the application, based on the query result of the local face information, when the local face information corresponding to the bluetooth device is not stored locally in the car machine, the face data of the user can be acquired, and the face information is bound.
In a specific example, when the execution result of the foregoing step S204 is no, step S206 may be executed, the acquisition function is turned on, and step S207 acquires the face data.
Specifically, a camera is further disposed in the vehicle cabin as a specific example, the camera can be started to shoot the face of the driver, and the car machine can acquire the face data of the driver according to the shot face image of the driver.
Further, based on the collected face data, step S208 in fig. 2, binding the face information may be performed.
Specifically, based on the obtained device information of the bluetooth device, the collected face data is associated with a device identifier and a user identifier in the device information to obtain local face information, and the local face information is locally stored in the vehicle-mounted device, and the stored local face information contains the device information of the bluetooth device.
Based on this, can realize the binding of driver's face data and bluetooth equipment.
Further, step S210, the first connection mode connection is executed, and through this step, the bluetooth connection is established between the car machine and the bluetooth device.
In this embodiment, based on the bluetooth connection established in step S210, step S206 may be executed again, the collecting function is started, and the real-time face data collection and monitoring of the driver are continuously performed.
Further, the car machine can perform step S208 to monitor whether to leave the cabin.
Specifically, according to real-time supervision's people's face data, the car machine can judge whether the driver stops in the vehicle cockpit, and the car machine will be according to the result of judging, the connection state between adjustment and the bluetooth equipment.
Specifically, if the face data disappears, judging that the driver leaves the vehicle cabin; if the face data is not monitored to disappear, the driver is judged to be still in the vehicle cabin.
Further, when the execution result of step S208 is yes, that is, it is determined that the driver leaves the vehicle cabin, step S211 of disconnecting the bluetooth connection is executed.
Therefore, the vehicle-mounted device can actively disconnect the Bluetooth connection with the Bluetooth equipment when a driver leaves a vehicle cabin, so that the player of the vehicle stops playing the content played by the Bluetooth equipment.
Further, when the result of the step S208 is negative, that is, it is not detected that the driver leaves the cabin, the bluetooth connection currently with the bluetooth device is maintained.
Further, after the car machine is disconnected from the bluetooth, step S212 is executed to monitor the returning cabin.
Specifically, step S206 may be continuously executed after the bluetooth connection is actively disconnected on the vehicle, so as to continuously monitor the face data of the driver, and when the face data is monitored to appear again, it is determined that the driver returns to the vehicle cabin.
Further, after the driver returns to the vehicle cabin, the bluetooth connection is established again with the bluetooth device, that is, step S210 is performed again.
And S104, responding to the local storage of the corresponding local face information in the vehicle-mounted device, identifying the face data of the current driver and passenger, and controlling the connection with the Bluetooth device according to the identification result.
In the embodiment of the application, based on the query result of the local face information, when the local face information corresponding to the bluetooth device is locally stored in the in-vehicle device, whether the driver is the user of the bluetooth device is judged by identifying the current driver, and the in-vehicle device controls whether to establish bluetooth connection with the bluetooth device based on the identification result.
Specifically, if the execution result of the step S204 is negative, that is, the car machine locally stores the local face information bound to the bluetooth device, step S213 in fig. 2 is executed, and the face recognition is started.
Specifically, the car machine shoots the face of the driver and the passenger by controlling the camera, collects the face data of the driver and the passenger according to the shot face image,
furthermore, the acquired face data is matched with the bound face information, when the matching result is consistent, the current driver is judged to be the user of the Bluetooth device, and when the matching result is inconsistent, the current driver is judged to be the user of the non-Bluetooth device.
Further, when it is determined that the current driver is the user of the bluetooth device, step S210, the first connection mode connection is performed, and through this step, the bluetooth connection is established between the vehicle and the bluetooth device.
In this embodiment, based on the bluetooth connection established in step S210, step S206 may be executed again, the acquisition function is started, and the driver is continuously subjected to real-time face data acquisition and monitoring.
Further, the car machine can perform step S208 to monitor whether to leave the cabin.
Specifically, according to real-time supervision's people's face data, the car machine can judge whether the driver stops in the vehicle cockpit, and the car machine will be according to the result of judging, the connection state between adjustment and the bluetooth equipment.
Specifically, if the face data disappears, judging that the driver leaves the vehicle cabin; if the face data is not monitored to disappear, the driver is judged to be still in the vehicle cabin.
Further, when the execution result of step S208 is yes, that is, it is determined that the driver leaves the vehicle cabin, step S211 of disconnecting the bluetooth connection is executed.
Therefore, the car machine can actively disconnect the Bluetooth connection with the Bluetooth equipment when a driver leaves the vehicle cabin, so that the player of the vehicle stops playing the content played by the Bluetooth equipment.
Further, when the result of the step S208 is negative, that is, it is not detected that the driver leaves the cabin, the bluetooth connection currently with the bluetooth device is maintained.
Further, after the car machine is disconnected from the bluetooth, step S212 is executed to monitor the returning cabin.
Specifically, step S206 may be continuously executed after the bluetooth connection is actively disconnected, so as to continuously monitor the face data of the driver, and when the face data is monitored to appear again, it is determined that the driver returns to the vehicle cabin.
Further, after the driver returns to the vehicle cabin, the bluetooth connection is established again with the bluetooth device, that is, step S210 is performed again.
Therefore, the vehicle-mounted device Bluetooth connection method provided by the embodiment of the application establishes connection with the Bluetooth device by comprehensively considering different modes based on pairing of the vehicle-mounted device and the Bluetooth device, wherein in a first connection mode, the vehicle-mounted device can actively judge whether local face information corresponding to the Bluetooth device is stored in the vehicle-mounted device before Bluetooth connection is established, and based on the local face information, the Bluetooth device is identified, and different strategies are executed according to different identification results; therefore, when the corresponding local face information is not stored, the Bluetooth connection can be established after the face data of the current driver and passengers are collected and stored; when the corresponding local face information is stored, the face data of the current driver and passenger can be identified so as to establish Bluetooth connection after the driver and passenger are determined to be the user of the Bluetooth equipment; after the Bluetooth connection is established, the driver and the passengers can be continuously monitored for the face data, the car machine actively breaks the Bluetooth connection after the face data disappears, the situation that the Bluetooth equipment still keeps a connection state with the car machine after a user of the Bluetooth equipment leaves the car is avoided, the privacy of the user of the Bluetooth equipment is guaranteed, and the Bluetooth connection is established again after the face data reappearance is monitored, so that the situation that the Bluetooth equipment can be continuously communicated with the car machine after the driver returns to the car is guaranteed.
Based on the same inventive concept, corresponding to any embodiment method, the embodiment of the application further provides a vehicle-mounted machine Bluetooth connecting device.
Referring to fig. 3, the bluetooth connection device 300 for a vehicle machine includes: a mode selection module 301, a local face information query module 302, a first query result execution module 303 and a second query result execution module 304;
the mode selection module 301 is configured to, in response to successful pairing with a preset bluetooth device, select a mode for bluetooth connection with the bluetooth device, where the mode includes a first connection mode;
the local face information query module 302 is configured to, in response to selection of the first connection mode, determine whether a local face information corresponding to the bluetooth device is locally stored in a vehicle;
the first query result execution module 303 is configured to, in response to that the corresponding local face information is not stored locally on the car-mounted device, acquire face data of a current driver, store the face data as the corresponding local face information, establish a bluetooth connection with the bluetooth device, and adjust a connection state between the bluetooth device and the current driver according to monitoring of the face data of the current driver;
the second query result execution module 304 is configured to, in response to that the corresponding local face information is locally stored in the car machine, identify face data of a current driver and passenger, and control connection with the bluetooth device according to an identification result.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more pieces of software and/or hardware in practicing embodiments of the present application.
The device of the above embodiment is used to implement the corresponding vehicle-mounted machine bluetooth connection method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to the method of any embodiment, the application further provides a vehicle, where the vehicle includes a vehicle-machine bluetooth connection device and an electronic device, and the electronic device executes the vehicle-machine bluetooth connection method.
An exemplary embodiment of the present invention also provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, is for causing the electronic device to perform a method according to an embodiment of the invention.
Exemplary embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is operable to cause the computer to perform a method according to an embodiment of the present invention.
The exemplary embodiments of the invention also provide a computer program product comprising a computer program, wherein the computer program, when being executed by a processor of a computer, is adapted to cause the computer to carry out the method according to the embodiments of the invention.
Referring to fig. 4, a block diagram of a structure of an electronic device 400, which may be a server or a client of the present invention, which is an example of a hardware device that may be applied to aspects of the present invention, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 400 includes a computing unit 401 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
A number of components in the electronic device 400 are connected to the I/O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 may be any type of device capable of inputting information to the electronic device 400, and the input unit 406 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. Output unit 407 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. Storage unit 408 may include, but is not limited to, magnetic or optical disks. The communication unit 409 allows the electronic device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
Claims (10)
1. The Bluetooth connection method for the vehicle machine is characterized by being applied to the vehicle machine of a vehicle, and comprises the following steps:
in response to successful pairing with a preset Bluetooth device, selecting a mode for Bluetooth connection with the Bluetooth device, wherein the mode comprises a first connection mode;
responding to the selection of the first connection mode, and judging whether local face information corresponding to the Bluetooth equipment is stored locally in the vehicle machine;
responding to the fact that the corresponding local face information is not stored locally in the vehicle-mounted device, acquiring face data of a current driver, storing the face data as the corresponding local face information, establishing Bluetooth connection with the Bluetooth device, and adjusting the connection state between the vehicle-mounted device and the Bluetooth device according to monitoring of the face data of the current driver;
and responding to the local storage of the corresponding local face information in the vehicle-mounted terminal, identifying the face data of the current driver and passenger, and controlling the connection with the Bluetooth equipment according to the identification result.
2. The Bluetooth connection method for the vehicle machine according to claim 1, wherein the modes further include a second connection mode;
after the selecting the mode of bluetooth connection with the bluetooth device, the method further includes:
establishing a Bluetooth connection with the Bluetooth device in response to selecting the second connection mode;
and maintains the bluetooth connection.
3. The vehicle-mounted device Bluetooth connection method according to claim 1, wherein the determining whether the vehicle-mounted device locally stores local face information corresponding to the Bluetooth device includes:
acquiring device information from the Bluetooth device;
and judging whether the local face information with the equipment information is stored locally on the vehicle machine.
4. The vehicle-mounted Bluetooth connection method according to claim 1, wherein the controlling of the connection with the Bluetooth device according to the result of the recognition comprises:
responding to the situation that the face data of the current driver and passenger are identified to be consistent with the corresponding local face information, and establishing Bluetooth connection with the Bluetooth equipment;
and adjusting the connection state between the Bluetooth equipment according to the monitoring of the face data of the current driver and passenger.
5. The vehicle-mounted Bluetooth connection method according to claim 1, wherein the controlling of the connection with the Bluetooth device according to the result of the recognition further comprises:
and in response to recognizing that the face data of the current driver and passenger is inconsistent with the corresponding local face information, not establishing Bluetooth connection with the Bluetooth equipment.
6. The vehicle-mounted Bluetooth connection method according to claim 4, wherein the adjusting the connection state with the Bluetooth device according to the monitoring of the face data of the current driver and passenger comprises:
continuously monitoring the face data of the current driver and passenger;
in response to monitoring that the face data disappears, disconnecting the Bluetooth connection established with the Bluetooth equipment;
and establishing Bluetooth connection with the Bluetooth equipment again until the face data is monitored to appear again.
7. The utility model provides a car machine bluetooth connecting device which characterized in that includes: the system comprises a mode selection module, a local face information query module, a first query result execution module and a second query result execution module;
the mode selection module is configured to select a mode for Bluetooth connection with a preset Bluetooth device in response to successful pairing with the Bluetooth device, wherein the mode comprises a first connection mode;
the local face information query module is configured to respond to the selection of the first connection mode and judge whether local face information corresponding to the Bluetooth equipment is stored locally in the vehicle machine;
the first query result execution module is configured to, in response to the local car-mounted device not storing the corresponding local face information locally, acquire face data of a current driver, store the face data as the corresponding local face information, establish bluetooth connection with the bluetooth device, and adjust a connection state between the bluetooth device and the current driver according to monitoring of the face data of the current driver;
the second query result execution module is configured to respond to that the corresponding local face information is locally stored in the vehicle-mounted device, identify face data of a current driver and a current passenger, and control connection with the Bluetooth device according to an identification result.
8. An electronic device, comprising:
a processor; and
a memory for storing the program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by the processor, cause the processor to carry out the method according to any one of claims 1-6.
9. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-6.
10. A vehicle, characterized by comprising a vehicle Bluetooth connecting device as claimed in claim 7 and/or an electronic device as claimed in claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211425536.9A CN115734206A (en) | 2022-11-15 | 2022-11-15 | Vehicle-mounted machine Bluetooth connection method and device, electronic equipment, storage medium and vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211425536.9A CN115734206A (en) | 2022-11-15 | 2022-11-15 | Vehicle-mounted machine Bluetooth connection method and device, electronic equipment, storage medium and vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115734206A true CN115734206A (en) | 2023-03-03 |
Family
ID=85295710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211425536.9A Pending CN115734206A (en) | 2022-11-15 | 2022-11-15 | Vehicle-mounted machine Bluetooth connection method and device, electronic equipment, storage medium and vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115734206A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116600416A (en) * | 2023-03-07 | 2023-08-15 | 芜湖雄狮汽车科技有限公司 | Connection method and device of vehicle Bluetooth, vehicle and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111510886A (en) * | 2020-04-20 | 2020-08-07 | 肇庆小鹏汽车有限公司 | Vehicle-mounted Bluetooth control method, vehicle-mounted Bluetooth control system, vehicle and storage medium |
CN112153610A (en) * | 2019-08-01 | 2020-12-29 | 安波福电子(苏州)有限公司 | Bluetooth device selection system and method |
CN113347742A (en) * | 2021-06-11 | 2021-09-03 | 阿波罗智联(北京)科技有限公司 | Vehicle-mounted machine Bluetooth connection method and device, electronic equipment and storage medium |
WO2022127171A1 (en) * | 2020-12-14 | 2022-06-23 | 深圳Tcl新技术有限公司 | Bluetooth connection method and system, intelligent terminal and computer storage medium |
CN115314837A (en) * | 2022-07-11 | 2022-11-08 | 珠海市魅族科技有限公司 | Bluetooth connection control method, device, terminal and storage medium |
-
2022
- 2022-11-15 CN CN202211425536.9A patent/CN115734206A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153610A (en) * | 2019-08-01 | 2020-12-29 | 安波福电子(苏州)有限公司 | Bluetooth device selection system and method |
CN111510886A (en) * | 2020-04-20 | 2020-08-07 | 肇庆小鹏汽车有限公司 | Vehicle-mounted Bluetooth control method, vehicle-mounted Bluetooth control system, vehicle and storage medium |
WO2022127171A1 (en) * | 2020-12-14 | 2022-06-23 | 深圳Tcl新技术有限公司 | Bluetooth connection method and system, intelligent terminal and computer storage medium |
CN113347742A (en) * | 2021-06-11 | 2021-09-03 | 阿波罗智联(北京)科技有限公司 | Vehicle-mounted machine Bluetooth connection method and device, electronic equipment and storage medium |
CN115314837A (en) * | 2022-07-11 | 2022-11-08 | 珠海市魅族科技有限公司 | Bluetooth connection control method, device, terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
沈陆垚;周剑涛;: "模块化智能车用蓝牙语音控制及安全保障***", 科技创新导报, no. 05, 4 July 2016 (2016-07-04) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116600416A (en) * | 2023-03-07 | 2023-08-15 | 芜湖雄狮汽车科技有限公司 | Connection method and device of vehicle Bluetooth, vehicle and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11676601B2 (en) | Voice assistant tracking and activation | |
CN112654020B (en) | Method, device, equipment and storage medium for establishing wireless connection | |
US10059348B2 (en) | Notification management | |
CN113347742B (en) | Vehicle-mounted machine Bluetooth connection method and device, electronic equipment and storage medium | |
CN110704582B (en) | Information processing method, device and equipment | |
CN111131966B (en) | Mode control method, earphone system, and computer-readable storage medium | |
CN109284144B (en) | Fast application processing method and mobile terminal | |
CN110659013A (en) | Message processing method and device and storage medium | |
CN115734206A (en) | Vehicle-mounted machine Bluetooth connection method and device, electronic equipment, storage medium and vehicle | |
CN113722105A (en) | Cloud application operation method, device, equipment, medium and product | |
CN114360554A (en) | Vehicle remote control method, device, equipment and storage medium | |
CN115273289A (en) | Physical key activation method, system, device, equipment and medium | |
CN111845630B (en) | Vehicle personalized control method, device and system, electronic equipment and storage medium | |
CN113270096A (en) | Voice response method and device, electronic equipment and computer readable storage medium | |
CN114338770A (en) | Cross-block-chain data processing method and device, storage medium and terminal equipment | |
CN112216276A (en) | Real-time response method, computer-readable storage medium and vehicle-mounted terminal | |
US20240172309A1 (en) | Regulating communication between a vehicle and a user device | |
CN109542483A (en) | Firmware upgrading method and device for electric appliance, storage medium, terminal and electric appliance | |
US20220174128A1 (en) | Data processing method and apparatus, electronic device and medium | |
CN112970060B (en) | Assistance method and device for assisting use of voice assistant in vehicle | |
CN116016578B (en) | Intelligent voice guiding method based on equipment state and user behavior | |
US20210082428A1 (en) | Information processing system, client device, information processing method, and information processing program | |
CN117183948A (en) | Non-inductive interconnection method and device, electronic equipment and storage medium | |
CN115762502A (en) | Wake-up-free voice recognition method, device, equipment and storage medium | |
CN115348556A (en) | Method for assisting car machine system operation by using mobile terminal, car machine system and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |