Bluetooth connection method, device, equipment and medium for vehicle
By determining the current application scenario in the car and automatically selecting the Bluetooth connection target terminal, the problem in the existing technology that the user needs to actively select the connection device is solved, and the user experience and connection adaptability are improved.
Patent Information
- Application Number
- CN202310302814.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-09-24
AI Technical Summary
Existing Bluetooth connections in automobiles require users to actively choose, resulting in low intelligence, affecting user experience, and frequent operations.
By determining the current application scenario of the vehicle, it receives Bluetooth connection requests from multiple mobile terminals, and selects the target terminal with the highest adaptability based on the scenario for automatic connection.
It improves the user experience, reduces the frequency of user operations, ensures a high degree of adaptability between the connected target terminal and the vehicle scene, and meets the real connection needs of the vehicle occupants.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of wireless communications, and more particularly to a method, apparatus, device and medium for Bluetooth connection of a vehicle. Background Art
[0002] With the rapid development of automobile technology, cars have become one of the important means of transportation in people's daily lives. Usually, the car computer (the in-vehicle infotainment product installed in the car) supports Bluetooth connection and can establish a Bluetooth connection with the user's mobile terminal. In related technologies, users usually actively select the mobile terminal to be connected. However, in scenarios such as private cars, users have to select the connection device every time, which is less intelligent and will greatly affect the user experience. Summary of the invention
[0003] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a method, apparatus, device and medium for Bluetooth connection of a vehicle, which can intelligently select a target mobile terminal for establishing a Bluetooth connection, reduce the frequency of user operations, and improve the user experience.
[0004] In a first aspect, an embodiment of the present application provides a method for Bluetooth connection of a vehicle, comprising:
[0005] Determine the current application scenario of the vehicle;
[0006] Receiving Bluetooth connection requests from multiple mobile terminals;
[0007] A target terminal to be connected to by Bluetooth is selected from the multiple mobile terminals based on the current application scenario, and a connection is established with the target terminal.
[0008] In some embodiments, determining the current application scenario of the vehicle includes:
[0009] Acquire vehicle scene information, and determine the current application scene based on the vehicle scene information.
[0010] In some embodiments, determining the current application scenario according to the vehicle scenario information includes:
[0011] Determining the state of a corresponding in-vehicle occupant according to the vehicle scenario information, and determining a candidate application scenario that matches the state of the in-vehicle occupant;
[0012] The current application scenario is determined according to candidate application scenarios that match the status of the vehicle occupant.
[0013] In some embodiments, the determining of a candidate application scenario that matches the state of the vehicle occupant includes:
[0014] Determining the attributes and actions of the vehicle occupant according to the state of the vehicle occupant;
[0015] According to the attributes and actions of the vehicle occupant, the candidate application scenario matching the state of the vehicle occupant is determined.
[0016] In some embodiments, determining the current application scenario according to the candidate application scenarios matching the state of the vehicle occupant includes:
[0017] A candidate application scene with the highest matching degree with the vehicle scene information is selected from the multiple candidate application scenes as the current application scene.
[0018] In some embodiments, determining the current application scenario according to the candidate application scenarios matching the state of the vehicle occupant includes:
[0019] Modifying the candidate application scenarios matching the status of the vehicle occupants according to the status of other vehicle occupants;
[0020] The current application scenario is determined according to the corrected candidate application scenario.
[0021] In some embodiments, selecting a target terminal to be connected to via Bluetooth from the multiple mobile terminals based on the current application scenario includes:
[0022] Acquire historical connection data of the vehicle, and determine the connection frequency between the current application scenario and the multiple mobile terminals from the historical connection data;
[0023] The mobile terminal with the highest connection frequency is selected as the target terminal to be connected to by Bluetooth.
[0024] In some embodiments, selecting a target terminal to be connected to via Bluetooth from the multiple mobile terminals based on the current application scenario includes:
[0025] For each of the mobile terminals, obtaining candidate identity information corresponding to the mobile terminal;
[0026] The mobile terminal corresponding to the candidate identity information that matches the identity information corresponding to the current application scenario is used as the target terminal.
[0027] In some embodiments, before acquiring the candidate identity information corresponding to the mobile terminal, the method further includes:
[0028] Acquire vehicle scene information corresponding to when the mobile terminal is in a connected state;
[0029] The identity information corresponding to the mobile terminal in the connected state is determined according to the vehicle scene information.
[0030] In a second aspect, an embodiment of the present application provides a device for Bluetooth connection of a vehicle, comprising:
[0031] A determination module, used to determine the current application scenario of the vehicle;
[0032] A receiving module, used for receiving Bluetooth connection requests from multiple mobile terminals;
[0033] The selection module is used to select a target terminal to be connected to through Bluetooth from the multiple mobile terminals based on the current application scenario, and establish a connection with the target terminal.
[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the embodiment of the present application when executing the program.
[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the embodiment of the present application.
[0036] The method for Bluetooth connection of a vehicle provided in the embodiment of the present application, after determining the current application scenario of the vehicle, selects a target terminal to be connected to Bluetooth from multiple mobile terminals requesting connection based on the current application scenario, and establishes a connection with the target terminal, so that the target terminal finally connected is more compatible with the current application scenario of the vehicle and can better meet the real connection needs of the passengers in the vehicle. At the same time, connecting by automatic connection can provide users with a senseless operation experience without the need for intervention by the driver or other passengers, which can greatly save operation time and improve user experience in emergencies, for example.
[0037] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0039] Figure 1 The following is a diagram showing an implementation environment architecture of a method for controlling a Bluetooth connection provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram showing a flow chart of a method for controlling a Bluetooth connection provided in an embodiment of the present application is shown;
[0041] Figure 3A schematic diagram showing a flow chart of a method for controlling a Bluetooth connection provided in yet another embodiment of the present application;
[0042] Figure 4 The structure block diagram of the vehicle computer provided by an embodiment of the present application is shown;
[0043] Figure 5 A schematic diagram of the structure of a computer system of an electronic device or server suitable for implementing an embodiment of the present application is shown. DETAILED DESCRIPTION
[0044] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.
[0045] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0046] For the specific implementation environment of the Bluetooth connection control method proposed in this application, please refer to Figure 1 . Figure 1 The following is a diagram showing an implementation environment architecture of a method for controlling a Bluetooth connection provided in an embodiment of the present application.
[0047] like Figure 1 As shown, the implementation environment architecture includes: a mobile terminal 10, a vehicle computer 20 and a server 30.
[0048] The mobile terminal 10 is a mobile terminal carried by the user and has a Bluetooth connection function. After being connected to the vehicle computer 20 by Bluetooth, the mobile terminal 10 can play its own multimedia information or voice information through the multimedia device of the vehicle computer 20 .
[0049] The vehicle computer (also called the in-vehicle audio and video entertainment system) 20 can be fixedly located on the center console of the vehicle, and its screen can also be called the center control display screen or center control screen, which can functionally realize information communication between people and vehicles, and between vehicles. In the embodiment of the present application, the vehicle computer 20 includes an image acquisition device 21, a screen component, a Bluetooth communication component 22, a Bluetooth-connected control device 23, and a voice acquisition device 24. Among them, the image acquisition device 21 and the voice acquisition device 24 can be used separately or jointly to collect vehicle scene information.
[0050] In some embodiments, the vehicle scene information is image information, and the image acquisition device 21 is used to acquire image information inside and outside the vehicle, including but not limited to image information of the passengers in the vehicle and environmental image information, wherein the image information of the passengers in the vehicle includes facial information, motion information, etc. of the passengers in the vehicle, and the environmental information includes weather information, time information, etc.
[0051] In some embodiments, the vehicle scene information is voice information, and the voice collection device 24 is used to collect sound information in the vehicle, including but not limited to the voice commands of the passengers in the vehicle. The screen component is used to receive the user's operation on the vehicle computer, such as adjusting the playback volume, establishing / disconnecting the Bluetooth connection with the mobile terminal, switching songs, etc.
[0052] In a feasible embodiment, the server 30 is connected to the vehicle computer 20 in communication to analyze the vehicle scene information collected by the vehicle computer 20 to obtain the current application scene. Exemplarily, the vehicle computer 20 sends the image information of the occupants in the vehicle collected by the image acquisition device 21 to the server 30, and the server 30 analyzes the image information to obtain a parameter value corresponding to at least one application scene, and returns the parameter value to the vehicle computer 20, and the vehicle computer 20 determines the current application scene of the vehicle according to the parameter value of the application scene, and selects a target terminal to be connected to Bluetooth from multiple mobile terminals requesting connection based on the current application scene, and establishes a connection with the target terminal.
[0053] It should be understood that the operations performed by the vehicle computer 20 can also be completed by the server 30. Exemplarily, the server 30 analyzes the image information to obtain the parameter value of at least one application scenario, and then determines the current application scenario of the vehicle according to the parameter value of at least one application scenario, and selects the target terminal for Bluetooth connection based on the current application scenario and the Bluetooth request list uploaded by the vehicle computer 20, and sends a control instruction to establish a connection with the target terminal to the vehicle computer 20, so that the vehicle computer 20 establishes a connection with the target terminal.
[0054] In another feasible embodiment, the vehicle computer 20 can also collect sound information in the user's car through the voice collection device 24, especially the status sounds and conversations of the passengers in the car, such as the crying of a child, the conversations between a couple, etc., and then the vehicle computer 20 sends the sound information in the car to the server 30. The server 30 analyzes the sound information to obtain a parameter value corresponding to at least one application scenario, and returns the parameter value to the vehicle computer 20. The vehicle computer 20 then determines the current application scenario of the vehicle according to the parameter value of the application scenario, and selects a target terminal to be connected to Bluetooth from multiple mobile terminals requesting connection based on the current application scenario, and establishes a connection with the target terminal.
[0055] Server 30 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, as well as big data and artificial intelligence platforms.
[0056] The vehicle computer 20 and the server 30 are directly or indirectly connected via wired or wireless communication. Optionally, the wireless network or wired network uses standard communication technology and / or protocols. The network is usually the Internet, but can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network.
[0057] The Bluetooth connection control method proposed in the present application can be implemented by a Bluetooth connection control device, and the Bluetooth connection control device can be installed on a vehicle device or a server.
[0058] In order to further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation instruction steps shown in the following embodiments or drawings, more or less operation instruction steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method may be executed in the order of the method shown in the embodiment or drawings or in parallel during the actual processing process or when the device is executed.
[0059] Please refer to Figure 2 , Figure 2 The flowchart of the control method of Bluetooth connection provided by an embodiment of the present application is shown. The execution subject of the method is the aforementioned vehicle computer 20 or server 30.
[0060] like Figure 2 As shown, the method comprises the following steps:
[0061] 201, determining a current application scenario of the vehicle.
[0062] It should be noted that the current application scenario of the vehicle is used to characterize the application scenario that at least one occupant in the vehicle is in. Optionally, the application scenario can be a scenario type, such as a call scenario, a parenting scenario, an entertainment scenario, a navigation scenario, etc., or a specific scenario, such as a crying child scenario, a child comforting scenario, a voice call scenario, etc.
[0063] In a feasible embodiment, vehicle scene information may be acquired, and the current application scene may be determined based on the vehicle scene information.
[0064] That is to say, the vehicle scene information can be obtained by using the acquisition device configured in the vehicle, and then the current application scene can be determined based on the vehicle scene information. Among them, the vehicle scene information can correspond to the type of acquisition device configured in the vehicle computer. For example, when the vehicle computer is equipped with an image acquisition device, the vehicle scene information can be the image information of the passengers in the vehicle, and when the vehicle computer is equipped with a voice acquisition device, the vehicle scene information can be the voice information of the passengers in the vehicle. It should be understood that the vehicle computer can be equipped with at least one acquisition device, and this application does not make specific limitations.
[0065] It should be noted that the purpose of acquiring vehicle scene information is to determine the status of the corresponding occupants in the vehicle, so as to determine the current corresponding application scene in the vehicle based on the status of the occupants in the vehicle, that is, the current application scene.
[0066] Exemplarily, the status of the corresponding vehicle occupants is determined based on the vehicle scenario information, and candidate application scenarios that match the status of the vehicle occupants are determined, and the current application scenario is determined based on the candidate application scenarios that match the status of the vehicle occupants.
[0067] That is to say, the current application scenario is determined by the status of the occupants in the vehicle. Different status of a occupant in the vehicle can correspond to different candidate application scenarios. The status of multiple occupants in the vehicle can match multiple different candidate application scenarios. The current application scenario is then determined based on the candidate application scenarios that match the status of one or more occupants in the vehicle.
[0068] Optionally, at least one occupant in the vehicle may be determined based on the vehicle scene information, and then the state of each occupant in the vehicle may be determined based on the vehicle scene information, thereby determining a candidate application scenario that matches the state of each occupant in the vehicle.
[0069] In a feasible embodiment, determining candidate application scenarios that match the status of the occupants in the vehicle includes: determining the attributes and actions of the occupants in the vehicle based on the status of the occupants in the vehicle, and determining candidate application scenarios that match the status of the occupants in the vehicle based on the attributes and actions of the occupants in the vehicle.
[0070] That is, the state of the occupant in the vehicle is determined by the occupant's attributes and actions, where the occupant's attributes include but are not limited to the member's gender, age, seat, etc., and the occupant's actions include but are not limited to the member's facial expressions and body movements, etc. In other words, when a occupant sits in different seats and makes different actions, different candidate application scenarios can be determined.
[0071] Therefore, the present application analyzes the status of each occupant in the vehicle based on the collected vehicle scene information, and determines the candidate application scenarios that match each occupant in the vehicle, thereby fully considering the status of the occupants in the vehicle, avoiding omissions and deficiencies in scene selection, and improving the reliability of determining the final current application scenario, so that the determined current application scenario is more in line with the actual situation in the vehicle, thereby improving the user experience.
[0072] Furthermore, a candidate application scenario with the highest matching degree with the vehicle scenario information may be selected from a plurality of candidate application scenarios as the current application scenario.
[0073] That is to say, the multiple candidate application scenarios respectively have parameter values that match the vehicle scenario information, and the parameter values are used to characterize the degree of match between the candidate application scenarios and the vehicle scenario information. Therefore, selecting the candidate application scenario with the highest degree of match as the current application scenario means selecting the candidate application scenario that best matches the vehicle scenario information as the current application scenario, so that the selected current application scenario can better meet the current actual needs of the user.
[0074] 202: Receive Bluetooth connection requests from multiple mobile terminals.
[0075] It should be understood that the multiple mobile terminals making Bluetooth connection requests are mobile terminals in the vehicle, that is, the vehicle computer receives Bluetooth connection requests initiated by mobile terminals carried by passengers in the vehicle.
[0076] In a feasible embodiment, the vehicle computer sends the received Bluetooth connection protocols of multiple mobile terminals to the server, so that the server executes the subsequent step of selecting the target terminal to be connected to Bluetooth based on the Bluetooth connection request, and sends the selected target terminal to the vehicle computer to control the vehicle computer to establish a connection with the target terminal.
[0077] In another feasible embodiment, after determining the current application scenario, the vehicle computer can also obtain Bluetooth connection requests received by multiple mobile terminals, and execute the subsequent step of selecting a target terminal to be connected to Bluetooth, and establish a connection with the target terminal.
[0078] 203 : Select a target terminal to be connected to through Bluetooth from multiple mobile terminals based on the current application scenario, and establish a connection with the target terminal.
[0079] It should be noted that since the first Bluetooth connection requires an authorization process, and it is difficult for a mobile terminal that has not been connected to Bluetooth to determine the correspondence between the device and the occupant or the application scenario, it is preferred to determine the target terminal from at least one mobile terminal that has been connected to the vehicle computer via Bluetooth.
[0080] In a feasible embodiment, historical connection data of the vehicle is obtained, and the connection frequency between the current application scenario and multiple mobile terminals is determined from the historical connection data; the mobile terminal with the highest connection frequency is used as the target terminal.
[0081] It should be understood that in historical data, a higher connection frequency indicates that such a connection method is more in line with user preferences. Therefore, the embodiment of the present application determines the mobile terminal corresponding to the current application scenario by analyzing the connection frequency with the current application scenario, and uses it as the target terminal. This can make the final connected target terminal more in line with the user's usage preferences and improve the user experience.
[0082] Exemplarily, the stored historical connection data is obtained, and the application scenarios corresponding to each connection status in the historical connection data are determined, the historical connection data that matches the current application scenario is filtered, and the number of matches between the mobile terminals in the current application scenario is counted, and the mobile terminal with the highest number of matches is used as the terminal device corresponding to the current application scenario, and it is used as the target terminal to be connected.
[0083] In a feasible embodiment, a target terminal for Bluetooth connection is selected from multiple mobile terminals based on the current application scenario, including: for each mobile terminal, obtaining candidate identity information corresponding to the mobile terminal; and using the mobile terminal corresponding to the candidate identity matching the identity information corresponding to the current application scenario as the target terminal.
[0084] It should be noted that the candidate identity information is the identity information of the user to which the mobile terminal belongs, including but not limited to user name, face image, relationship map with the driver and other information with identity identification.
[0085] In a feasible embodiment, before obtaining the candidate identity information corresponding to the mobile terminal, it also includes: obtaining the vehicle scene information corresponding to when the mobile terminal is in a connected state, and determining the identity information corresponding to the mobile terminal in the connected state according to the vehicle scene information.
[0086] The candidate identity information corresponding to the mobile terminal is the face image of the user to whom the mobile terminal belongs. Exemplarily, before obtaining the candidate identity information corresponding to each mobile terminal, it also includes: obtaining the historical image information corresponding to each candidate device when it is in a connected state, determining the face image information corresponding to the mobile terminal based on the historical image information, and using the face image information as the candidate identity information corresponding to the mobile terminal.
[0087] That is to say, the occupants present in the vehicle when the mobile terminal is connected can be determined through the image information corresponding to the mobile terminal when the mobile terminal is connected, and their facial images can be used as candidate identity information corresponding to the mobile terminal.
[0088] For example, a private car is usually driven by a male owner. Therefore, the male owner's mobile terminal is in a matched state with the car computer. In the historical images when the male owner's mobile terminal is in a connected state, there are pictures in which the male owner is the only one driving the car. Therefore, the facial image in the picture can be used as the candidate identity information corresponding to the male owner's mobile terminal, that is, the male owner's facial image can be used as the male owner's identity information.
[0089] Correspondingly, when the hostess rides together and connects the terminal device, the car computer and the hostess's terminal device are also in a matched state. At this time, the car computer can determine that the candidate identity information corresponding to the newly connected mobile terminal is the hostess's face image based on the recognized face image of the male host.
[0090] By analogy, the vehicle computer can obtain candidate identity information of multiple mobile terminals and store the mapping relationship between the multiple mobile terminals and their candidate identity information.
[0091] Then, based on the current application scenario, the target identity information to be connected is determined, wherein the target identity information may be a user attribute or a specific user feature.
[0092] In a feasible embodiment, when the target identity information is a user attribute, the user attribute can be determined by analyzing the current application scenario. For example, when the current application scenario is a crying child or comforting a child, the attribute of the target user can be a mother, and the corresponding target identity information can be information such as female.
[0093] In another feasible embodiment, the target identity information is a user feature, such as a user's facial image. Exemplarily, historical image information corresponding to the current application scenario is obtained, and the facial image with the highest frequency in the historical image information corresponding to the current application scenario is used as the target identity information corresponding to the current application scenario.
[0094] For example, in a typical family environment, the father usually drives the car and the mother takes care of the child. Therefore, in a crying child scene, the facial images of the father, mother and child are the most frequently appearing candidate facial images. At this time, it is necessary to distinguish them in combination with the application scenario. Specifically, the child obviously does not have the ability to own a mobile terminal, and the father is in a driving state and is not suitable for multimedia playback to comfort the child. Therefore, it can be determined that the most appropriate target identity information is the mother's facial image information.
[0095] In a feasible embodiment, when the target identity information is a user feature, the face image as the candidate identity information is matched with the user feature, and the mobile terminal corresponding to the successfully matched candidate identity information is used as the target terminal corresponding to the current application scenario.
[0096] For example, if the user feature is a mother, a female face image is determined from the candidate face images, and women aged 25-40 are taken as candidate identity information for successful matching, and then the mobile terminal corresponding to the candidate identity information is taken as the device corresponding to the current application scenario.
[0097] In another feasible embodiment, when the target identity information is a user feature, such as a user's face image, the face image information as the target identity information can be directly used to perform feature matching with the face image as the candidate identity information, and the candidate identity information that matches the target identity information with a preset similarity is matched with the candidate identity information, and then the mobile terminal corresponding to the candidate identity information is used as the target terminal corresponding to the current application scenario.
[0098] Therefore, the embodiment of the present application can determine a reasonable target terminal based on the mapping relationship between the facial image and the mobile terminal determined by historical data, which can effectively ensure that the selection of the target terminal is more reasonable, more in line with the actual application scenario requirements, and improve the user experience.
[0099] In a feasible embodiment, the candidate identity information and the target identity information may also be the MAC address of the terminal device, that is, the Bluetooth connection requests received from multiple mobile terminals also include the MAC address of each mobile terminal. In addition to analyzing the parameter values corresponding to each application scenario based on the image information, the MAC address of at least one mobile terminal corresponding to each application scenario is further analyzed, and the parameter value of the application scenario is matched with the corresponding at least one MAC address. After determining the current application scenario, the MAC address corresponding to the current application scenario is used as the MAC address of the target terminal, and a connection is established with the target terminal according to the MAC address.
[0100] In a feasible embodiment, the candidate identity information can also be entered by the user. For example, when the mobile terminal is connected to the vehicle computer through Bluetooth for the first time, the user's identity information and the application scenario that the user expects to match can be entered by the user through the identity authentication process during the connection. This can effectively avoid the problem of missing data when the vehicle computer matches the mobile terminal that lacks historical data.
[0101] In a feasible embodiment, after the vehicle computer is connected to a mobile terminal via Bluetooth, it can continue to collect vehicle scene information, and determine the current application scene and the target terminal corresponding to the current application scene based on the vehicle scene information, and then determine whether the currently connected mobile terminal and the target terminal are the same terminal. If so, maintain the current connection status; if not, disconnect the connection with the currently connected mobile terminal and establish a connection with the target terminal.
[0102] The method for Bluetooth connection of a vehicle provided in the embodiment of the present application, after determining the current application scenario of the vehicle, selects a target terminal to be connected to Bluetooth from multiple mobile terminals requesting connection based on the current application scenario, and establishes a connection with the target terminal, so that the target terminal finally connected is more compatible with the current application scenario of the vehicle and can better meet the real connection needs of the passengers in the vehicle. At the same time, connecting by automatic connection can provide users with a senseless operation experience without the need for intervention by the driver or other passengers, which can greatly save operation time and improve user experience in emergencies, for example.
[0103] In another embodiment of the present application, a specific implementation method for determining the current application scenario based on vehicle scenario information is also provided. Exemplarily, the vehicle scenario information includes image information of passengers in the vehicle, and determining the current application scenario based on the vehicle scenario information includes: determining a parameter value corresponding to at least one application scenario based on the image information of passengers in the vehicle, and determining the current application scenario based on the parameter value corresponding to at least one application scenario.
[0104] The parameter value is used to characterize the matching degree between the candidate application scenario and the vehicle scenario information.
[0105] That is to say, by analyzing the image information of the occupants in the vehicle, it is possible to obtain the parameter value that matches at least one occupant in the vehicle with each application scenario. The application scenario with a higher parameter value indicates a higher degree of match between the vehicle scene information and the application scenario, and the application scenario with a lower parameter value indicates a lower degree of match between the vehicle scene information and the application scenario.
[0106] In a feasible embodiment, based on the image information of the occupants in the vehicle, a parameter value corresponding to at least one application scenario is determined, including: analyzing the image information of the occupants in the vehicle to obtain the attributes and actions of each occupant in the vehicle, and for each occupant, based on the attributes and actions, determining at least one application scenario corresponding to the occupant, as well as a reference value for the impact on each application scenario.
[0107] The attribute is at least used to characterize the identity of the passenger, such as male, female, child, etc. Optionally, the attribute can also be used to characterize the identity relationship between the passenger and other passengers. For example, when the passengers in the car include children and females, the attribute corresponding to the female can be determined to be mother, and when the passengers in the car include children and males, the attribute corresponding to the male can be determined to be father. The action is the current action of the passenger, such as a child crying, making a phone call, taking a nap, etc.
[0108] Furthermore, the image information of the passengers in the vehicle is analyzed to obtain the attributes and actions of each passenger in the vehicle, including but not limited to using a recognition model to identify at least one passenger in the image from the image information, and then using a classification model to determine the attributes and actions of the passenger. When the classification model is used to determine the attributes of the passenger, an attention module can also be added to the classification model to improve the relationship analysis between the user attributes and other passengers when analyzing the user attributes, improve the accuracy of the user attribute classification, and thus improve the accuracy of determining the corresponding parameters of the application scenario.
[0109] Exemplarily, the facial image and limb image of each occupant can be determined from the image information of the occupants in the vehicle, and then at least one application scenario corresponding to the occupant and the possibility that the limb movement of the member belongs to the application scenario can be determined based on the facial image and limb image of each occupant. For example, when the occupant in the vehicle is a child, the facial image determined in the image information can be analyzed to determine that the occupant is less than 5 years old. At this time, it can be determined that the occupant is related to the application scenario related to children, such as comforting children, crying children, etc. Then, the child's movements are analyzed based on the limb image of the occupant. For example, if the child's limb posture is fixed, it means that the child is emotionally stable, then the parameter value of the application scenario of comforting children is increased, and the parameter value of the application scenario of crying children is reduced. If the child's limb posture is chaotic and waving frequently, it means that the child is emotionally unstable, then the parameter value of the child crying scene is increased, and the parameter value of the child comforting scene is increased at the same time. Optionally, in order to further improve the accuracy of application scenario analysis, expression analysis can be performed on the facial images of the occupants in the vehicle, and the results of expression analysis and motion analysis can be combined to determine the true state of the occupants, thereby determining the parameter values of each application scenario corresponding to the occupants.
[0110] In a feasible embodiment, based on a parameter value corresponding to at least one application scenario, determining a current application scenario of the vehicle includes: determining an application scenario with a highest parameter value as the current application scenario.
[0111] It should be understood that when the parameter value corresponding to a certain application scenario is much higher than the parameter value corresponding to other application scenarios, it means that the application scenario is most likely the current application scenario, and the possibility of other application scenarios being the current application scenario is very low. Therefore, the application scenario can be directly used as the current application scenario.
[0112] Exemplarily, when there is a child in the car but the child is emotionally stable and in a calm or happy state, and no one is holding a phone or making a call in the car, the parameter values of the multiple application scenarios obtained based on the image information of the passengers in the car are: soothing the child scene +50; making a phone call scene -80; crying child scene +20, among which the soothing child scene +50> crying child scene +20> making a phone call scene -80, indicating that the target application scenario in the car at this time should be the soothing child scene. When there is a child in the car and the child is emotionally stable and in a calm or happy state, and the driver is a male holding a mobile device, the parameter values of the multiple application scenarios obtained based on the image information of the passengers in the car are: soothing the child scene +50; driver making a phone call scene +80, crying child scene +20, among which the driver making a phone call scene +80> soothing the child scene +50> crying child scene +20, indicating that the target application scenario in the car at this time should be the assisting driver making a phone call scene.
[0113] In a feasible embodiment, the current application scenario is determined based on candidate application scenarios that match the status of the vehicle occupants, including: modifying the candidate application scenarios that match the status of the vehicle occupants based on the status of other vehicle occupants; and determining the current application scenario based on the modified candidate application scenarios.
[0114] For example, when there is a child in the car and the child is emotionally unstable and crying, and a woman near the child comforts the child, the parameter values of multiple application scenarios obtained based on the image information of the passengers in the car are: comforting the child scene +50; mother making a phone call scene -50; child crying scene +30. At this time, the child comforting scene can be determined as the reference application scenario, and then the final current application scenario is determined based on the weight of the influence of the child crying scene and the mother making a phone call scene on the child comforting scene. For example, if the child crying scene has a greater impact on the child comforting scene and the parameter value is higher, then the current application scenario based on the calculation can be either the child comforting scene or the child crying scene, which is determined according to the actual calculation rules set.
[0115] It should be understood that the parameter value setting can be set according to needs. For example, the parameter value corresponding to the child crying scene can be directly increased to 80 to ensure that the child crying scene is the application scene with the highest weight value, thereby reducing the complexity of scene judgment.
[0116] Therefore, the present application provides a variety of ways to determine the current application scenario, especially through the facial image and limb image of the occupant in the car to analyze the application scenario corresponding to the occupant, which can fully consider the actual situation of the occupant in the car, reduce the possibility of misjudgment of the scene, and improve the accuracy of the parameter value corresponding to the application scenario. On the other hand, the present application can comprehensively utilize the influence weights between multiple application scenarios to determine the current application scenario, fully consider the influence between multiple application scenarios, and improve the reliability of determining the current application scenario.
[0117] In another embodiment, Figure 3 As shown, the control method of Bluetooth connection includes the following steps:
[0118] 401, the vehicle computer collects image information of the passengers in the vehicle.
[0119] 402, the vehicle computer obtains the matched mobile terminals and obtains the MAC address of each mobile terminal.
[0120] 403, the vehicle computer sends the image information of the passengers in the vehicle and the MAC address of each mobile terminal to the server.
[0121] 404. The server analyzes the image information and the MAC addresses of the mobile terminals to obtain a parameter value of at least one application scenario and at least one MAC address corresponding to each application scenario.
[0122] 405. The server sends the parameter value of at least one application scenario and at least one MAC address corresponding to each application scenario to the server.
[0123] 406. The vehicle computer determines a target device to be connected according to a parameter value of at least one application scenario and at least one MAC address corresponding to each application scenario.
[0124] 407, the vehicle computer determines whether there is a currently connected mobile terminal.
[0125] If yes, execute step 408; if no, execute step 409.
[0126] 408, disconnect the currently connected mobile terminal.
[0127] 409, calling a Bluetooth connection request to establish a Bluetooth connection with the target terminal.
[0128] It should be noted that although the operations of the method of the present invention are described in a particular order in the drawings, this does not require or imply that the operations must be performed in this particular order or that all illustrated operations must be performed to achieve desired results.
[0129] Figure 4FIG. 1 is a block diagram showing a structure of a control device for Bluetooth connection provided by an embodiment of the present application. Figure 4 As shown, the control device 23 of the Bluetooth connection includes:
[0130] A determination module 231 is used to determine the current application scenario of the vehicle;
[0131] The receiving module 232 is used to receive Bluetooth connection requests from multiple mobile terminals;
[0132] The selection module 233 is configured to select a target terminal to be connected to through Bluetooth from the multiple mobile terminals based on the current application scenario, and establish a connection with the target terminal.
[0133] In some embodiments, the determination module 231 is further used to obtain vehicle scene information and determine the current application scene based on the vehicle scene information.
[0134] In some embodiments, the determination module 231 is further used to determine the state of the corresponding in-vehicle occupant according to the vehicle scene information, and determine the candidate application scene matching the state of the in-vehicle occupant;
[0135] The current application scenario is determined according to candidate application scenarios that match the status of the vehicle occupant.
[0136] In some embodiments, the determination module 231 is further used to determine the attributes and actions of the occupant in the vehicle according to the state of the occupant in the vehicle;
[0137] According to the attributes and actions of the vehicle occupant, the candidate application scenario matching the state of the vehicle occupant is determined.
[0138] In some embodiments, the determination module 231 is further used to select a candidate application scenario with the highest matching degree with the vehicle scenario information from the multiple candidate application scenarios as the current application scenario.
[0139] In some embodiments, the determination module 231 is further used to modify the candidate application scenario matching the state of the vehicle occupant according to the state of other vehicle occupants;
[0140] The current application scenario is determined according to the corrected candidate application scenario.
[0141] In some embodiments, the selection module 233 is further used to obtain historical connection data of the vehicle, and determine the connection frequency between the current application scenario and the multiple mobile terminals from the historical connection data;
[0142] The mobile terminal with the highest connection frequency is used as the target terminal.
[0143] In some embodiments, the selection module 233 is further configured to obtain, for each of the mobile terminals, candidate identity information corresponding to the mobile terminal;
[0144] The mobile terminal corresponding to the candidate identity information that matches the identity information corresponding to the current application scenario is used as the target terminal.
[0145] In some embodiments, the selection module 233 is further used to obtain vehicle scene information corresponding to when the mobile terminal is in a connected state;
[0146] The identity information corresponding to the mobile terminal in the connected state is determined according to the vehicle scene information.
[0147] It should be understood that the units or modules described in the control device 23 connected by Bluetooth are similar to those described in the reference Figure 2 The various steps in the described method correspond to each other. Therefore, the operations and features described above for the method are also applicable to the Bluetooth-connected control device 23 and the units contained therein, and will not be repeated here. The Bluetooth-connected control device 23 can be pre-implemented in a browser or other security application of an electronic device, or can be loaded into a browser or its security application of an electronic device by downloading or the like. The corresponding units in the Bluetooth-connected control device 23 can cooperate with the units in the electronic device to implement the solution of the embodiment of the present application.
[0148] For the several modules or units mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0149] The device for Bluetooth connection of a vehicle provided in the embodiment of the present application, after determining the current application scenario of the vehicle, selects a target terminal to be connected to Bluetooth from multiple mobile terminals requesting connection based on the current application scenario, and establishes a connection with the target terminal, so that the target terminal finally connected is more compatible with the current application scenario of the vehicle and can better meet the real connection needs of the passengers in the vehicle. At the same time, connecting by automatic connection can provide users with a senseless operation experience without the need for intervention by the driver or other passengers, which can greatly save operation time and improve user experience in emergencies, for example.
[0150] Reference below Figure 5 , Figure 5 A schematic diagram of the structure of a computer system of an electronic device or server suitable for implementing an embodiment of the present application is shown.
[0151] like Figure 5 As shown, the computer system includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation instructions of the system are also stored. The CPU 601, the ROM 602 and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0152] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0153] In particular, according to an embodiment of the present application, the above reference flow chart Figure 2 The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.
[0154] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium such as a computer-readable storage medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0155] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operating instructions of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the aforementioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operating instruction, or can be implemented with a combination of dedicated hardware and computer instructions.
[0156] The units or modules involved in the embodiments described in the present application may be implemented by software or by hardware. The described units or modules may also be arranged in a processor. For example, they may be described as: a processor includes a sending module, a receiving module, and a determining module. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves. For example, the determining module may also be described as "determining the current application scenario of the vehicle".
[0157] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the control method of the Bluetooth connection described in the present application.
[0158] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for Bluetooth connection of a vehicle, characterized in that: include: Determine the current application scenario of the vehicle; Receiving Bluetooth connection requests from multiple mobile terminals; A target terminal to be connected to by Bluetooth is selected from the multiple mobile terminals based on the current application scenario, and a connection is established with the target terminal.
2. The method according to claim 1, characterized in that The determining of the current application scenario of the vehicle includes: Acquire vehicle scene information, and determine the current application scene based on the vehicle scene information.
3. The method according to claim 2, characterized in that The determining the current application scenario according to the vehicle scenario information includes: Determining the state of a corresponding in-vehicle occupant according to the vehicle scenario information, and determining a candidate application scenario that matches the state of the in-vehicle occupant; The current application scenario is determined according to candidate application scenarios that match the status of the corresponding vehicle occupant.
4. The method according to claim 3, characterized in that The determining of a candidate application scenario matching the state of the vehicle occupant includes: Determining the attributes and actions of the vehicle occupant according to the state of the vehicle occupant; According to the attributes and actions of the vehicle occupant, the candidate application scenario matching the state of the vehicle occupant is determined.
5. The method according to claim 3, characterized in that: The determining the current application scenario according to the candidate application scenarios matching the state of the vehicle occupant includes: A candidate application scene with the highest matching degree with the vehicle scene information is selected from the multiple candidate application scenes as the current application scene.
6. The method according to claim 3, characterized in that: The determining the current application scenario according to the candidate application scenarios matching the state of the vehicle occupant includes: Modifying the candidate application scenarios matching the status of the vehicle occupants according to the status of other vehicle occupants; The current application scenario is determined according to the corrected candidate application scenario.
7. The method according to claim 1, characterized in that The selecting a target terminal to be connected to by Bluetooth from the multiple mobile terminals based on the current application scenario includes: Acquire historical connection data of the vehicle, and determine the connection frequency between the current application scenario and the multiple mobile terminals from the historical connection data; The mobile terminal with the highest connection frequency is selected as the target terminal to be connected to by Bluetooth.
8. The method according to claim 1, characterized in that The selecting a target terminal to be connected to by Bluetooth from the multiple mobile terminals based on the current application scenario includes: For each of the mobile terminals, obtaining candidate identity information corresponding to the mobile terminal; The mobile terminal corresponding to the candidate identity information that matches the identity information corresponding to the current application scenario is used as the target terminal.
9. The method according to claim 8, characterized in that Before acquiring the candidate identity information corresponding to the mobile terminal, the method further includes: Acquire vehicle scene information corresponding to when the mobile terminal is in a connected state; The identity information corresponding to the mobile terminal in the connected state is determined according to the vehicle scene information.
10. A device for Bluetooth connection of a vehicle, characterized in that: include: A determination module, used to determine the current application scenario of the vehicle; A receiving module, used for receiving Bluetooth connection requests from multiple mobile terminals; The selection module is used to select a target terminal to be connected to through Bluetooth from the multiple mobile terminals based on the current application scenario, and establish a connection with the target terminal.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the Bluetooth connection control method as described in any one of claims 1 to 9 is implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for controlling a Bluetooth connection as described in any one of claims 1 to 9 is implemented.
