Updating method, device and equipment for operating Bluetooth function at vehicle end, and storage medium
By maintaining two independent Bluetooth links on the vehicle side and determining the target Bluetooth function based on priority and the link to which it belongs, the problem of frequent switching of Bluetooth links among multiple devices in the vehicle is solved, and flexible and efficient Bluetooth function updates are achieved.
Patent Information
- Application Number
- CN202510874415.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-09-16
AI Technical Summary
Existing vehicle Bluetooth modules can only achieve one-to-one connection, resulting in the need to frequently switch Bluetooth links between multiple devices in the car, which is cumbersome and inflexible.
By maintaining two independent Bluetooth links on the vehicle side at the same time, the target Bluetooth function is determined according to the priority and link of the currently running Bluetooth function and the required Bluetooth function, so as to quickly update the currently running Bluetooth function.
This eliminates the need to frequently switch Bluetooth connections and enables the simultaneous response to Bluetooth function requirements of multiple devices, improving operational flexibility and efficiency.
Smart Images

Figure CN120659033A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, equipment and storage medium for updating a vehicle-side Bluetooth function. Background Art
[0002] The vehicle's Bluetooth module is integrated into the vehicle's head unit, which only allows for one-to-one Bluetooth connections. If multiple devices in the vehicle all require Bluetooth functionality, frequent switching between Bluetooth link devices and corresponding Bluetooth functions is necessary, which is very cumbersome. Summary of the Invention
[0003] In view of the above problems, the present application provides a method, device, equipment and storage medium for updating the Bluetooth function running on the vehicle side, providing two Bluetooth link connection access devices to quickly update the currently running Bluetooth function to meet.
[0004] According to one aspect of the present application, a method for updating a vehicle-side Bluetooth function is provided, the updating method comprising: when both a first Bluetooth link and a second Bluetooth link are in a connected state, determining a target Bluetooth function based on the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, as well as the priority of the required Bluetooth function and the Bluetooth link to which it belongs, so as to update the currently running Bluetooth function; wherein the required Bluetooth function is the Bluetooth function that the access device in the corresponding Bluetooth link expects to run, and the first Bluetooth link and the second Bluetooth link are each independent Bluetooth link.
[0005] In an optional manner, the target Bluetooth function is determined based on the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, and the priority of the required Bluetooth function and the Bluetooth link to which it belongs, including: if the currently running Bluetooth function belongs to the first Bluetooth link, and the priority of the currently running Bluetooth function is not the target priority, or the currently running Bluetooth function belongs to the second Bluetooth link, then the target Bluetooth function is determined based on the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs.
[0006] In an optional manner, the target Bluetooth function is determined based on the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs, including: detecting whether the required Bluetooth function belongs to the first Bluetooth link, and detecting whether the priority of the required Bluetooth function is the target priority; if both are yes, the required Bluetooth function is used as the target Bluetooth function; if either is no, the target Bluetooth function is determined based on the priority of the currently running Bluetooth function and the priority of the required Bluetooth function.
[0007] In an optional manner, the target Bluetooth function is determined based on the priority of the currently running Bluetooth function and the priority of the required Bluetooth function, including: if the priority of the currently running Bluetooth function is lower than the priority of the required Bluetooth function, then the required Bluetooth function is used as the target Bluetooth function, or the Bluetooth function specified in the feedback instruction is used as the target Bluetooth function; wherein the feedback instruction is an instruction returned by the user in response to the inquiry information sent.
[0008] In an optional manner, the number of required Bluetooth functions is multiple, and the update method also includes: when the first Bluetooth link is disconnected and the second Bluetooth link is in a connected state, comparing the priority of the currently running Bluetooth function and the priority of each required Bluetooth function to determine the Bluetooth function with the highest priority, and using the Bluetooth function with the highest priority as the target Bluetooth function to update the currently running Bluetooth function.
[0009] In an optional manner, the second Bluetooth link is a Bluetooth link provided by the vehicle-side T-Box; the update method also includes: when the first Bluetooth link is disconnected and the second Bluetooth link is in a connected state, if it is detected that the second Bluetooth link is disconnected from all access devices, determining that the T-Box is powered off.
[0010] In an optional manner, the update method also includes: matching the identifier of the target access device with a preset identifier; if the match is successful, establishing a Bluetooth connection between the first Bluetooth link corresponding to the preset identifier and the target access device; if the match fails, establishing a Bluetooth connection between the second Bluetooth link and the target access device.
[0011] According to another aspect of the present application, a device for updating the Bluetooth function running on the vehicle side is provided, and the updating device includes: a first updating module, which is used to determine the target Bluetooth function according to the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, and the priority of the required Bluetooth function and the Bluetooth link to which it belongs, when both the first Bluetooth link and the second Bluetooth link are in a connected state, so as to update the currently running Bluetooth function; wherein, the required Bluetooth function is the Bluetooth function that the access device in the corresponding Bluetooth link expects to run.
[0012] According to one aspect of the present application, an electronic device is provided, comprising: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the above-mentioned updating method is executed.
[0013] According to one aspect of the present application, a computer-readable storage medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the above-mentioned updating method.
[0014] According to one aspect of the present application, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described update method.
[0015] This application does not require frequent switching of Bluetooth connections. Relevant access devices can be connected simultaneously through two Bluetooth links. When the first Bluetooth link and the second Bluetooth link are both in a connected state, the target Bluetooth function is determined based on the priority of the currently running Bluetooth function and the priority of the Bluetooth link to which it belongs, and the priority of the required Bluetooth function and the priority of the Bluetooth link to which it belongs, so as to quickly update the currently running Bluetooth function, thereby responding to the required Bluetooth functions of different access devices if current conditions permit.
[0016] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and it is clear that a person of ordinary skill in the art can derive other drawings based on these drawings without inventive effort.
[0018] Figure 1 This is a flow chart of a method for updating a vehicle-side Bluetooth function shown in an exemplary embodiment of the present application.
[0019] Figure 2 It is a schematic diagram of the module structure in the vehicle-side T-Box shown in an exemplary embodiment of the present application.
[0020] Figure 3 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for updating the Bluetooth function running on the vehicle side.
[0021] Figure 4 is based on Figure 3The exemplary embodiment shown is a flow chart of another method for updating the Bluetooth function running on the vehicle side.
[0022] Figure 5 is based on Figure 1 、 Figures 3 and 4 A flowchart of another method for updating the Bluetooth function running on the vehicle side is shown in any of the exemplary embodiments shown in FIG.
[0023] Figure 6 This is a schematic diagram of an application scenario of the method for updating the Bluetooth function running on the vehicle side of the present application.
[0024] Figure 7 This is a schematic diagram of the connection between the first Bluetooth link, the second Bluetooth link and the server, shown in an exemplary embodiment of the present application.
[0025] Figure 8 It is a structural diagram of an updating device for running Bluetooth function on a vehicle side shown in an exemplary embodiment of the present application.
[0026] Figure 9 It is a structural diagram of a computer system of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0027] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0028] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0029] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0030] In this application, "plurality" refers to two or more. "And / or" describes the relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0031] The relevant car computer can only realize one-to-one Bluetooth connection. If multiple devices in the car need to use related Bluetooth functions, it is necessary to frequently switch the access device of the Bluetooth link and switch the corresponding Bluetooth functions one by one, which is very cumbersome.
[0032] To this end, one aspect of this application provides a method for updating the Bluetooth function of the vehicle. Figure 1 , Figure 1 This is a flow chart of a method for updating a vehicle-side Bluetooth function according to an exemplary embodiment of the present application. The updating method includes at least S110, which is described in detail as follows: S110: When both the first Bluetooth link and the second Bluetooth link are in a connected state, determine the target Bluetooth function according to the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, as well as the priority of the required Bluetooth function and the Bluetooth link to which it belongs, so as to update the currently running Bluetooth function; wherein the required Bluetooth function is the Bluetooth function that the access device in the corresponding Bluetooth link expects to run, and the first Bluetooth link and the second Bluetooth link are independent Bluetooth links.
[0033] Two Bluetooth links can be connected to different access devices simultaneously to avoid frequent switching of access devices. The first Bluetooth link may have more Bluetooth functions available than the second Bluetooth link, meaning that the first Bluetooth link has more Bluetooth functions than the second Bluetooth link. For example, the Bluetooth call function may only be available to access devices in the first Bluetooth link and not to access devices in the second Bluetooth link.
[0034] The currently running Bluetooth function is the Bluetooth function that is running in the current scenario on the vehicle side. It can be understood as the demand Bluetooth function that the vehicle side is responding to. The currently running Bluetooth function can come from the access device connected to the first Bluetooth link, or from the access device connected to the second Bluetooth link, and it has a corresponding priority.
[0035] Each required Bluetooth function has its own priority, which is associated with the response order. The higher the priority level, the higher the response order. In this embodiment, the response order of the required Bluetooth function is also related to the Bluetooth link to which the Bluetooth function belongs.
[0036] The target Bluetooth function is the Bluetooth function with the highest response order in the current scenario. "Update" can be understood to have different meanings in different scenarios, and its representational meaning can be adaptively adjusted according to the different objects represented by the target Bluetooth function. In one embodiment, the target Bluetooth function is the currently running Bluetooth function, that is, the currently running Bluetooth function has the highest response order. "Update the currently running Bluetooth function" can be understood as maintaining the currently running Bluetooth function. "Update" in this scenario can be understood as maintaining, that is, there is no need to switch the currently running Bluetooth function. In another embodiment, the target Bluetooth function is the required Bluetooth function, that is, the required Bluetooth function has the highest response order. "Update" in this scenario can be understood as switching or replacing. It is necessary to switch the currently running Bluetooth function to the required Bluetooth function to complete the update of the currently running Bluetooth function. In another embodiment, the number of target Bluetooth functions is multiple, including the currently running Bluetooth function, and one or more required Bluetooth functions that do not affect the currently running Bluetooth function, that is, the relevant required Bluetooth function and the currently running Bluetooth function can be executed at the same time. "Update" in this scenario can be understood as "adding".
[0037] In another exemplary embodiment, the number of required Bluetooth functions is multiple. When the first Bluetooth link is disconnected and the second Bluetooth link is connected, the priority of the currently running Bluetooth function and the priorities of each required Bluetooth function are compared to determine the Bluetooth function with the highest priority, and the Bluetooth function with the highest priority is used as the target Bluetooth function to update the currently running Bluetooth function.
[0038] When the first Bluetooth link is disconnected and the second Bluetooth link is connected, it indicates that the currently running Bluetooth function and the required Bluetooth function both come from the second Bluetooth link. Since the second Bluetooth link has the same permissions for all access devices, it is only necessary to compare the priorities of each Bluetooth function (i.e., the currently running Bluetooth function and each required Bluetooth function) to quickly determine the target Bluetooth function, thereby simplifying the process of determining the target Bluetooth function and making it possible to determine the target Bluetooth function more quickly.
[0039] In the process of determining the target Bluetooth function, this embodiment not only considers the required Bluetooth functions of all Bluetooth links in the connected state, but also combines the currently running Bluetooth functions, fully analyzes their respective sources and priorities, so as to quickly determine the target Bluetooth function that meets the current scenario, so as to meet the Bluetooth function requirements of multiple parties as much as possible while meeting the current operating conditions.
[0040] This embodiment does not require frequent switching of Bluetooth connections, and relevant access devices can be connected simultaneously through two Bluetooth links. When the first Bluetooth link and the second Bluetooth link are both in a connected state, the target Bluetooth function is determined based on the priority of the currently running Bluetooth function and the priority of the Bluetooth link to which it belongs, and the priority of the required Bluetooth function and the priority of the Bluetooth link to which it belongs, so as to quickly update the currently running Bluetooth function, thereby responding to the required Bluetooth functions of different access devices if current conditions permit.
[0041] In some embodiments, the second Bluetooth link is a Bluetooth link provided by a vehicle-side T-Box (Telematics BOX, telematics processor), such as Figure 2 As shown, this application sets up a new Bluetooth module in the vehicle-side T-Box to provide a second Bluetooth link for Bluetooth connection. Since the power of the new Bluetooth module comes from the T-Box, the power of the T-Box comes not only from the entire vehicle but also from the backup battery. Therefore, by detecting the connection status of the second Bluetooth link, it is possible to determine whether the T-Box is powered off, and thus whether the backup battery is powered off.
[0042] For example, when the first Bluetooth link is disconnected and the second Bluetooth link is in a connected state, if it is detected that the second Bluetooth link is disconnected from all access devices, it is determined that the T-Box is powered off. This situation indicates that the first Bluetooth link is not enabled and the second Bluetooth link is in a connected state, that is, the second Bluetooth link is connected to an access device. Because the first Bluetooth link is disconnected, it is impossible for the access device to switch from the second link to the first link. If it is detected in this case that the second Bluetooth link is disconnected from all access devices, it indicates that the Bluetooth module providing the second Bluetooth link is powered off, and it can be determined that the T-Box is powered off, thereby determining that the backup battery powering the T-Box is powered off.
[0043] In the related art, the switching method of Bluetooth function is a replacement method, that is, the new required Bluetooth function directly replaces the currently running Bluetooth function, without performing refined Bluetooth function switching, and cannot meet the needs of different scenarios.
[0044] To this end, in another exemplary embodiment of the present application, it is described in detail how to determine the target Bluetooth function according to the current scene requirements based on the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, and the priority of the required Bluetooth function and the Bluetooth link to which it belongs, so as to update the currently running Bluetooth function. For details, please refer to Figure 3 , Figure 3 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for updating the Bluetooth function of the vehicle side. Figure 1 The S110 shown includes at least S310, which is described in detail as follows: S310: If the currently running Bluetooth function belongs to the first Bluetooth link and the priority of the currently running Bluetooth function is not the target priority, or the currently running Bluetooth function belongs to the second Bluetooth link, the target Bluetooth function is determined according to the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs.
[0045] The target priority is a priority of a specified preset level, which is associated with a specified Bluetooth function. The Bluetooth function of the target priority is the Bluetooth function that responds first. In this embodiment, the Bluetooth function of the target priority is open to the first Bluetooth link and the second Bluetooth link, but the response order of the Bluetooth function of the target priority in the first Bluetooth link precedes the response order of the Bluetooth function of the target priority in the second Bluetooth link.
[0046] In certain embodiments, the target priority level can be understood as the priority level of a specified Bluetooth function in the first Bluetooth link. This specified Bluetooth function is only available in the first Bluetooth link and is disabled in the second Bluetooth link. That is, there is no Bluetooth function with the target priority level in the second Bluetooth link. In this case, if the priority level of the currently running Bluetooth function is not the target priority level, or the currently running Bluetooth function belongs to the second Bluetooth link, the target Bluetooth function is determined based on the priority level of the currently running Bluetooth function, the priority level of the requested Bluetooth function, and the Bluetooth link to which it belongs. For example, if the Bluetooth call function is only available in the first Bluetooth link and is disabled in the second Bluetooth link, the Bluetooth call function can be assigned a special preset level to facilitate a quick response to the Bluetooth call function.
[0047] In certain embodiments, the target priority is the highest priority level, and the Bluetooth function at this level is the Bluetooth function that requires a timely response. Furthermore, if the response order of the first Bluetooth link is higher than the response order of the second link, if the currently running Bluetooth function belongs to the first Bluetooth link and the priority of the currently running Bluetooth function is the target priority level, then the currently running Bluetooth function is the Bluetooth function that requires a timely response and has the highest response order among all Bluetooth links. The currently running Bluetooth function is then designated as the target Bluetooth function to maintain the current Bluetooth function.
[0048] The situation shown in S310 indicates that the currently running Bluetooth function is not the Bluetooth function with the absolute highest response order. It is necessary to analyze the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs in order to determine the target Bluetooth function with the highest response order. For example, the currently running Bluetooth function is the navigation screen projection function, and its priority is not the target priority. Only the priority of the Bluetooth call function belonging to the first Bluetooth link is the target priority. If the required Bluetooth function is the Bluetooth call function opened by the first Bluetooth link, the Bluetooth call function will be used as the target Bluetooth function, and the navigation screen projection function will be directly switched or replaced. Alternatively, on the premise of maintaining the navigation screen projection function, the Bluetooth call function will be allowed to run in parallel, giving priority to the Bluetooth call function, lowering the sound effect of the navigation screen projection function, and increasing the volume of the Bluetooth call function. For another example, the currently running Bluetooth function is the Bluetooth audio playback function belonging to the second Bluetooth link, and the required Bluetooth function is also an audio playback function, belonging to the first or second Bluetooth link. In this case, the required Bluetooth function can replace the currently running Bluetooth function, that is, the original playback audio is paused, and the audio corresponding to the required Bluetooth function is played as the new playback audio.
[0049] This exemplary embodiment provides a method for determining a target Bluetooth function, performing a pre-analysis based on the priority of the currently running Bluetooth function and the Bluetooth link to which the currently running Bluetooth function belongs, and when it is determined that the response order of the currently running Bluetooth function is not absolutely the first, determining the target Bluetooth function based on the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs, so as to update the currently running Bluetooth function.
[0050] In another exemplary embodiment of the present application, it is described in detail how to determine the target Bluetooth function according to the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs. For details, please refer to Figure 4 , Figure 4 is based on Figure 3 The exemplary embodiment shown is a flow chart of another method for updating the Bluetooth function of the vehicle side. Figure 3 The S310 shown includes at least S410 to S430, which are described in detail as follows: S410: Detect whether the required Bluetooth function belongs to the first Bluetooth link, and detect whether the priority of the required Bluetooth function is the target priority.
[0051] According to the Bluetooth link to which the required Bluetooth function belongs and the priority, it can be determined whether the required Bluetooth function is a Bluetooth function of the target priority belonging to the first Bluetooth link.
[0052] S420: If both are yes, the required Bluetooth function is used as the target Bluetooth function.
[0053] If the required Bluetooth function belongs to the first Bluetooth link and its priority is the target priority, then the response order of the required Bluetooth function is absolutely the highest, and the required Bluetooth function can be directly used as the target Bluetooth function to switch or replace the currently running Bluetooth function. For example, the required Bluetooth function is the Bluetooth call function belonging to the first Bluetooth link (its corresponding priority is the target priority). Because the currently running Bluetooth function belongs to the first Bluetooth link and its priority is not the target priority, or the currently running Bluetooth function belongs to the second Bluetooth link, that is, the currently running Bluetooth function is not the Bluetooth call function and is not the Bluetooth function with the highest response order, the response order of the currently running Bluetooth function must be later than that of the required Bluetooth function. The required Bluetooth function can be directly used as the target Bluetooth function to update the currently running Bluetooth function.
[0054] S430: If any one of the answers is no, then determine the target Bluetooth function according to the priority of the currently running Bluetooth function and the priority of the required Bluetooth function.
[0055] If the required Bluetooth function belongs to the second Bluetooth link, or the priority is not the target priority, it means that the response order of the required Bluetooth function is not absolutely the first, and it needs to be compared with the priority of the currently running Bluetooth function to determine the target Bluetooth function.
[0056] Exemplarily, the priority of the currently running Bluetooth function is compared with the priority of the required Bluetooth function. If the priority of the currently running Bluetooth function is higher than the priority of the required Bluetooth function, the required Bluetooth function is used as the target Bluetooth function to maintain the currently running Bluetooth function.
[0057] If the priority of the currently running Bluetooth function is lower than the priority of the required Bluetooth function, the required Bluetooth function is used as the target Bluetooth function, or the Bluetooth function specified in the feedback instruction is used as the target Bluetooth function; wherein the feedback instruction is an instruction returned by the user in response to the query information sent.
[0058] If the priority of the currently running Bluetooth function is lower than that of the desired Bluetooth function, the desired Bluetooth function may be used as the target Bluetooth function to switch or replace the currently running Bluetooth function. Alternatively, an inquiry message may be sent to the in-vehicle large screen or relevant user terminal to inquire whether the user should switch the desired Bluetooth function to the currently running Bluetooth function. The feedback instruction issued by the user specifies the target Bluetooth function, i.e., the currently running Bluetooth function or the desired Bluetooth function as the target Bluetooth function. If the currently running Bluetooth function is specified, the currently running Bluetooth function is maintained; if the desired Bluetooth function is specified, the currently running Bluetooth function is switched or replaced with the desired Bluetooth function.
[0059] If the priority of the currently running Bluetooth function equals the priority of the desired Bluetooth function, the currently running Bluetooth function may be maintained to ensure the stability of the currently running Bluetooth function. In some embodiments, the desired Bluetooth function may represent a new requirement, meaning that the desired Bluetooth function may directly replace the currently running Bluetooth function. In some embodiments, a query message may also be sent to allow the user to determine the target Bluetooth function.
[0060] In the related art, a single Bluetooth link can only be connected to different access devices by switching devices. The switching process is relatively cumbersome and has poor flexibility.
[0061] To this end, in another exemplary embodiment of the present application, how the access device is connected to the first Bluetooth link and the second Bluetooth link is described in detail. Figure 5 , Figure 5 is based on Figure 1 、 Figures 3 and 4 A flowchart of another method for updating the Bluetooth function of a vehicle side is shown in any of the exemplary embodiments shown in FIG. The updating method at least includes S510 to S530, which are described in detail as follows: S510: Match the identifier of the target access device with a preset identifier.
[0062] S520: If the match is successful, a Bluetooth connection is established between the first Bluetooth link corresponding to the preset identifier and the target access device.
[0063] S530: If the matching fails, establish a Bluetooth connection between the second Bluetooth link and the target access device.
[0064] The preset identifier is associated with the first Bluetooth link. Only devices with the preset identifier can establish a Bluetooth connection with the first Bluetooth link. Devices with other identifiers can only establish a connection with the second Bluetooth link. The second Bluetooth link does not restrict access devices; that is, the second Bluetooth link can also establish a connection with devices with the preset identifier.
[0065] In private mode, the first Bluetooth link is only open to access devices with a preset identifier, which is generally an access device bound to a Bluetooth MAC (Media Access Control) address, that is, the MAC address corresponds to the preset identifier, and the uniqueness of the use of the first Bluetooth link can be guaranteed based on the uniqueness of the MAC address. In some embodiments, the first Bluetooth link can be shared, provided that the device with the preset identifier is accessed in advance. Specifically, when the access device with the preset identifier successfully accesses the first Bluetooth link, the in-vehicle large screen displays a button indicating whether to trigger the sharing mode of the first Bluetooth link. If the user determines to trigger the sharing mode of the first Bluetooth link, subsequent access devices can connect to the first Bluetooth link without the need for identifier matching.
[0066] This exemplary embodiment provides a connection method for the first and second Bluetooth links, binding the access device through a unique preset identifier so that the access device with the preset identifier can quickly establish a connection with the first Bluetooth link, and the access device without the preset identifier can establish a connection with the second Bluetooth link, thereby flexibly establishing a connection with the corresponding Bluetooth link quickly according to the identifier of the access device.
[0067] In another exemplary embodiment of the present application, the application scenarios of the above multiple update methods are exemplarily described. Figure 6 , Figure 6 This is a schematic diagram of an application scenario of the method for updating the Bluetooth function of a vehicle. The vehicle 100, T-Box 200, and server 300 may be connected via wired or wireless communication, and this application does not limit the connection method.
[0068] The Bluetooth module in the vehicle terminal 100 provides the first Bluetooth link, and the Bluetooth module in the T-Box 200 provides the second Bluetooth link. Different access devices can access different Bluetooth links, such as Figure 7 As shown, the driver's mobile phone can be connected to the first Bluetooth link provided by the vehicle Bluetooth module, and other people's mobile phones can be connected to the second Bluetooth link provided by the Bluetooth module in the T-Box 200 to exchange data with the server 300 through the CAN line.
[0069] The server 300 may serve as the execution subject of the update method shown in any of the above exemplary embodiments to execute any of the above update methods, as exemplified below: When both the first Bluetooth link and the second Bluetooth link are in a connected state, the server 300 determines the target Bluetooth function based on the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, as well as the priority of the required Bluetooth function and the Bluetooth link to which it belongs, to update the currently running Bluetooth function; wherein the required Bluetooth function is the Bluetooth function that the access device in the corresponding Bluetooth link expects to run, and the first Bluetooth link and the second Bluetooth link are independent Bluetooth links.
[0070] The server 300 can Figure 6As shown, it is placed in the vehicle end 100 and is connected to the vehicle-mounted Bluetooth module in the vehicle end 100 and the Bluetooth module in the T-Box 200 through a CAN line. It can also be a physical server independent of the vehicle end 100, establishing a communication connection with the relevant Bluetooth module through wireless communication. It can also be a server cluster or distributed system composed of multiple physical servers, where multiple servers can form a blockchain, and the server is a node on the blockchain. The server 300 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 (Content Delivery Network) and big data and artificial intelligence platforms. This is not restricted here.
[0071] Another aspect of the present application also provides a vehicle-side Bluetooth function update device, such as Figure 8 As shown, Figure 8 FIG. 8 is a schematic diagram of a vehicle-side Bluetooth function update device according to an exemplary embodiment of the present invention. The update device 800 includes: The first update module 810 is used to determine the target Bluetooth function based on the priority of the currently running Bluetooth function and the Bluetooth link it belongs to, as well as the priority of the required Bluetooth function and the Bluetooth link it belongs to, so as to update the currently running Bluetooth function when both the first Bluetooth link and the second Bluetooth link are in a connected state; wherein the required Bluetooth function is the Bluetooth function that the access device in the corresponding Bluetooth link expects to run, and the first Bluetooth link and the second Bluetooth link are independent Bluetooth links.
[0072] In another exemplary embodiment, the first update module 810 includes: The first update unit is used to determine the target Bluetooth function according to the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs, if the currently running Bluetooth function belongs to the first Bluetooth link and the priority of the currently running Bluetooth function is not the target priority, or the currently running Bluetooth function belongs to the second Bluetooth link.
[0073] In another exemplary embodiment, the first updating unit includes: The detection section is used to detect whether the required Bluetooth function belongs to the first Bluetooth link and whether the priority of the required Bluetooth function is the target priority.
[0074] The first determination section is used to set the required Bluetooth function as the target Bluetooth function if all the answers are yes.
[0075] The second determination section is used to determine the target Bluetooth function according to the priority of the currently running Bluetooth function and the priority of the required Bluetooth function if any one of the conditions is no.
[0076] In another exemplary embodiment, the second determination section includes: The determination sub-module is used to set the required Bluetooth function as the target Bluetooth function if the priority of the currently running Bluetooth function is lower than the priority of the required Bluetooth function, or to set the Bluetooth function specified in the feedback instruction as the target Bluetooth function; wherein the feedback instruction is an instruction returned by the user in response to the query information sent.
[0077] In another exemplary embodiment, the number of Bluetooth functions required is multiple, and the updating apparatus 800 further includes: The second update module is used to compare the priority of the currently running Bluetooth function and the priority of each required Bluetooth function when the first Bluetooth link is disconnected and the second Bluetooth link is in a connected state, determine the Bluetooth function with the highest priority, and use the Bluetooth function with the highest priority as the target Bluetooth function to update the currently running Bluetooth function.
[0078] In another exemplary embodiment, the second Bluetooth link is a Bluetooth link provided by the vehicle-side T-Box; the updating apparatus 800 further includes: The T-Box power-off detection module is used to determine that the T-Box is powered off if it is detected that the second Bluetooth link is disconnected from all access devices when the first Bluetooth link is disconnected and the second Bluetooth link is in a connected state.
[0079] In another exemplary embodiment, the updating apparatus 800 further includes: The matching module is used to match the identifier of the target access device with a preset identifier.
[0080] The matching success module is used to establish a Bluetooth connection between the first Bluetooth link corresponding to the preset identifier and the target access device if the matching is successful.
[0081] The matching failure module is used to establish a Bluetooth connection between the second Bluetooth link and the target access device if the matching fails.
[0082] The updating device of the present application does not need to frequently switch Bluetooth connections, and can simultaneously connect to relevant access devices through two Bluetooth links. When the first Bluetooth link and the second Bluetooth link are both in a connected state, the target Bluetooth function is determined according to the priority of the currently running Bluetooth function and the priority of the Bluetooth link to which it belongs, and the priority of the required Bluetooth function and the priority of the Bluetooth link to which it belongs, so as to quickly update the currently running Bluetooth function, thereby responding to the required Bluetooth functions of different access devices if current conditions permit.
[0083] It should be noted that the updating device provided in the above embodiment and the updating method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here.
[0084] Another aspect of the present application provides an electronic device, comprising: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the above-mentioned updating method is executed.
[0085] See also Figure 9 , Figure 9 1 is a structural diagram of a computer system of an electronic device shown in an exemplary embodiment of the present application, which shows a structural diagram of a computer system of an electronic device suitable for implementing an embodiment of the present application.
[0086] It should be noted that Figure 9 The computer system 900 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0087] like Figure 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 902 or the program loaded from the storage part 908 into the random access memory (RAM) 903, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 903. The CPU 901, ROM 902 and RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0088] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output section 907 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. Removable media 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like, are installed in the drive 910 as needed, so that computer programs read therefrom can be installed into the storage section 908 as needed.
[0089] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart 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 computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909, and / or installed from a removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the various functions defined in the system of the present application are executed.
[0090] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, 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 can 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), a 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 can 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 can include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0091] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession 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 or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0092] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.
[0093] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described updating method. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently and not be incorporated into the electronic device.
[0094] Another aspect of the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the update method provided in each of the above embodiments.
[0095] According to one aspect of an embodiment of the present application, a computer system is further provided, including a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM), such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM. The CPU, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0096] The following components are connected to the I / O interface: an input section including a keyboard, mouse, etc.; an output section including a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section including a hard disk; and a communication section including a network interface card such as a LAN (Local Area Network) card and a modem. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc. are installed in the drive as needed so that computer programs read from them can be installed into the storage section as needed.
[0097] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main ideas and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A method for updating the Bluetooth function of a vehicle, characterized in that: The updating method includes: When both the first Bluetooth link and the second Bluetooth link are in a connected state, a target Bluetooth function is determined based on the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, as well as the priority of the required Bluetooth function and the Bluetooth link to which it belongs, so as to update the currently running Bluetooth function; wherein the required Bluetooth function is the Bluetooth function that the access device in the corresponding Bluetooth link expects to run, and the first Bluetooth link and the second Bluetooth link are independent Bluetooth links.
2. The updating method according to claim 1, characterized in that: The step of determining the target Bluetooth function according to the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, and the priority of the required Bluetooth function and the Bluetooth link to which it belongs, includes: If the currently running Bluetooth function belongs to the first Bluetooth link and the priority of the currently running Bluetooth function is not the target priority, or the currently running Bluetooth function belongs to the second Bluetooth link, the target Bluetooth function is determined based on the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs.
3. The updating method according to claim 2, characterized in that: The determining of the target Bluetooth function according to the priority of the currently running Bluetooth function, the priority of the required Bluetooth function and the Bluetooth link to which it belongs includes: detecting whether the required Bluetooth function belongs to the first Bluetooth link, and detecting whether the priority of the required Bluetooth function is the target priority; If both are yes, then the required Bluetooth function is used as the target Bluetooth function; If any one of the above is negative, the target Bluetooth function is determined according to the priority of the currently running Bluetooth function and the priority of the required Bluetooth function.
4. The updating method according to claim 3, characterized in that: The determining the target Bluetooth function according to the priority of the currently running Bluetooth function and the priority of the required Bluetooth function includes: If the priority of the currently running Bluetooth function is lower than the priority of the required Bluetooth function, the required Bluetooth function is used as the target Bluetooth function, or the Bluetooth function specified in the feedback instruction is used as the target Bluetooth function; wherein the feedback instruction is an instruction returned by the user in response to the query information sent.
5. The updating method according to claim 1, characterized in that: The number of Bluetooth functions required is multiple, and the updating method further includes: When the first Bluetooth link is disconnected and the second Bluetooth link is in a connected state, the priority of the currently running Bluetooth function and the priority of each required Bluetooth function are compared to determine the Bluetooth function with the highest priority, and the Bluetooth function with the highest priority is used as the target Bluetooth function to update the currently running Bluetooth function.
6. The updating method according to claim 1, characterized in that: The second Bluetooth link is a Bluetooth link provided by the vehicle-side T-Box; the updating method further includes: In a case where the first Bluetooth link is disconnected and the second Bluetooth link is in a connected state, if it is detected that the second Bluetooth link is disconnected from all access devices, it is determined that the T-Box is powered off.
7. The updating method according to any one of claims 1 to 6, characterized in that: The updating method further includes: Matching the target access device's identifier with a preset identifier; If the match is successful, establishing a Bluetooth connection between the first Bluetooth link corresponding to the preset identifier and the target access device; If the matching fails, a Bluetooth connection is established between the second Bluetooth link and the target access device.
8. A device for updating the Bluetooth function of a vehicle, characterized in that: The updating device comprises: The first update module is used to determine the target Bluetooth function based on the priority of the currently running Bluetooth function and the Bluetooth link to which it belongs, as well as the priority of the required Bluetooth function and the Bluetooth link to which it belongs, so as to update the currently running Bluetooth function when both the first Bluetooth link and the second Bluetooth link are in a connected state; wherein the required Bluetooth function is the Bluetooth function that the access device in the corresponding Bluetooth link expects to run, and the first Bluetooth link and the second Bluetooth link are independent Bluetooth links.
9. An electronic device, characterized in that: include: Controller; A memory for storing one or more programs, which, when executed by a controller, enables the controller to implement the updating method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the updating method according to any one of claims 1 to 7.