Bluetooth connection method and system, electronic equipment and computer storage equipment

By introducing a preset priority mechanism into the multi-screen Bluetooth system in the car, ensuring that electronic devices only connect to one Bluetooth device, solving the problem of disorderly connect to multiple screens and improving user privacy and security and connection experience.

CN120128904APending Publication Date: 2025-06-10ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510433471.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

In the existing multi-screen Bluetooth system in the car, multiple screens initiate a return connection to the same Bluetooth device at the same time, causing confusion among users and risk of privacy leakage.

Method used

By introducing a preset priority mechanism in the Bluetooth communication system, the return signal of the electronic device is received and the target Bluetooth device to be connected to the electronic device is determined based on the preset priority, ensuring that the electronic device is connected to only one Bluetooth device.

Benefits of technology

It improves the privacy and security of device users and Bluetooth connection experience, avoiding the problem of disorderly connection of multiple Bluetooth devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128904A_ABST
    Figure CN120128904A_ABST
Patent Text Reader

Abstract

The invention provides a Bluetooth connection method and system, electronic equipment and computer storage equipment. The Bluetooth connection method comprises the following steps: receiving a reconnection signal of the electronic equipment; determining a first target Bluetooth device which is reconnected with the electronic equipment from the plurality of Bluetooth devices based on a preset priority; the preset priorities sequentially comprise the first Bluetooth device and the Bluetooth device which is finally connected with the electronic equipment before the last Bluetooth connection is disconnected from high to low; and based on a reconnection signal of the electronic equipment, controlling the first target Bluetooth device to perform reconnection with the electronic equipment. In the application, the electronic equipment and the plurality of Bluetooth devices are reconnected according to the preset priority, and the electronic equipment is preferentially reconnected with the first Bluetooth device with the preset Bluetooth equipment configuration relationship, so that the electronic equipment can only be reconnected with one Bluetooth device, disordered reconnection of the electronic equipment and the plurality of Bluetooth devices is avoided, and the user experience is improved. Therefore, the privacy security and the Bluetooth connection experience of the device user are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of displays, and in particular, to a Bluetooth connection method, system, electronic device, and computer storage device. Background Art

[0002] Currently, some vehicle models are equipped with two screens in the vehicle. For example, a center control screen is set in the front row driver's seat and a rear row screen is set in the rear row cockpit. If both screens are equipped with Bluetooth modules, based on the reconnection strategy, the center control screen and the rear row screen will simultaneously initiate a reconnection to the same Bluetooth device. The Bluetooth device can be connected to the center control screen or the rear row screen, but which screen it is specifically connected to is random, which will confuse users and there is also a risk of leaking the privacy of the Bluetooth device user. Summary of the Invention

[0003] To solve the problems in the prior art, this application provides a Bluetooth connection method, system, electronic device, and computer storage device, which improve the privacy security of device users and the Bluetooth connection experience.

[0004] This application provides a Bluetooth connection method, which is applied to a Bluetooth communication system. The Bluetooth communication system includes multiple Bluetooth devices, and multiple Bluetooth devices have all completed Bluetooth pairing with an electronic device. The electronic device is further configured to be a preset Bluetooth device of a first Bluetooth device among the multiple Bluetooth devices, and the number of the first Bluetooth devices is one; the Bluetooth connection method includes: Receiving a reconnection signal from the electronic device; Determining a first target Bluetooth device for reconnection with the electronic device from the multiple Bluetooth devices based on a preset priority; the preset priority includes, from high to low in sequence, the first Bluetooth device, the Bluetooth device that the electronic device was last connected to before the last Bluetooth connection was disconnected; Based on the reconnection signal of the electronic device, controlling the first target Bluetooth device to reconnect with the electronic device.

[0005] In an embodiment, after controlling the first target Bluetooth device to reconnect with the electronic device based on the reconnection signal of the electronic device, the Bluetooth connection method further includes: Any one of the multiple Bluetooth devices responds to a Bluetooth connection operation, switches a second target Bluetooth device among the multiple Bluetooth devices to perform a Bluetooth connection with the electronic device, or disconnects the Bluetooth connection between the first target Bluetooth device and the electronic device.

[0006] In an embodiment, the Bluetooth connection method further includes: Any one of the multiple Bluetooth devices switches the electronic device to the preset Bluetooth device of the second Bluetooth device among the multiple Bluetooth devices in response to the setting operation of the preset Bluetooth device; the number of the second Bluetooth devices is one.

[0007] In one embodiment, the number of the electronic devices is multiple, and the multiple electronic devices are all configured as the preset Bluetooth devices of the first Bluetooth device; the Bluetooth connection method further includes: Receiving the reconnection signals of the multiple electronic devices; Determining a target electronic device for reconnection based on the connection time between the first Bluetooth device and the multiple electronic devices before the last Bluetooth connection is disconnected; Controlling the first Bluetooth device to reconnect with the target electronic device.

[0008] In one embodiment, the Bluetooth connection method further includes: If the number of the preset Bluetooth devices of the first Bluetooth device is equal to a preset value, the electronic device is prohibited from being configured as the preset Bluetooth device of the first Bluetooth device.

[0009] The present application also provides a Bluetooth connection method, which is applied to an electronic device. The electronic device has completed Bluetooth pairing with multiple Bluetooth devices. The first Bluetooth device among the multiple Bluetooth devices is configured as the preset Bluetooth device of the electronic device, and the number of the first Bluetooth devices is one; the Bluetooth connection method includes: Receiving the reconnection signals of the multiple Bluetooth devices; Determining a target Bluetooth device for reconnection from the multiple Bluetooth devices based on a preset priority; the preset priority includes a preset Bluetooth device and the Bluetooth device that the electronic device was last connected to before the last Bluetooth connection was disconnected in descending order; Reconnecting with the target Bluetooth device based on the reconnection signal of the target Bluetooth device.

[0010] In one embodiment, the Bluetooth connection method further includes: In response to the setting operation of the preset Bluetooth device, switching the preset Bluetooth device of the electronic device to the second Bluetooth device among the multiple Bluetooth devices; the number of the second Bluetooth devices is one.

[0011] The present application also provides a computer storage medium, which stores a computer program. The computer program includes program instructions, and the program instructions are executed by a processing device to execute the above Bluetooth connection method.

[0012] The present application also provides an electronic device, including: A storage device, on which a computer program is stored; A processing device for executing the computer program in the storage device to implement the above-mentioned Bluetooth connection method.

[0013] The present application also provides a Bluetooth connection system, which includes: A Bluetooth communication system, which includes a control device and a plurality of Bluetooth devices; An electronic device, which has completed Bluetooth pairing with a plurality of the Bluetooth devices; the electronic device is further configured to be a preset Bluetooth device of a first Bluetooth device among the plurality of Bluetooth devices; the number of the first Bluetooth devices is one; The control device is further configured to determine a target Bluetooth device for reconnecting with the electronic device from the plurality of Bluetooth devices based on a preset priority, and control the target Bluetooth device to reconnect with the electronic device; the preset priority includes, from high to low, the first Bluetooth device and the Bluetooth device that the electronic device last connected to before the previous Bluetooth connection was disconnected.

[0014] In the present application, the electronic device and the plurality of Bluetooth devices perform reconnection according to the preset priority, and preferentially reconnect with the first Bluetooth device having a preset Bluetooth device configuration relationship. If there is no first Bluetooth device having a preset Bluetooth device configuration relationship, then reconnect with the Bluetooth device that the electronic device last connected to before the previous Bluetooth connection was disconnected. In this way, it is ensured that the electronic device can only reconnect with one Bluetooth device, avoiding disordered reconnection between the electronic device and the plurality of Bluetooth devices, thereby improving the privacy security and Bluetooth connection experience of the device user. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of the module structure of an embodiment of the Bluetooth connection system of the present application.

[0016] Figure 2 It is a schematic diagram of an embodiment of the preset Bluetooth device configuration interface of the present application.

[0017] Figure 3 It is a flowchart of an embodiment of the Bluetooth connection method of the present application.

[0018] Figure 4 It is a flowchart of another embodiment of the Bluetooth connection method of the present application.

[0019] Figure 5 It is a flowchart of yet another embodiment of the Bluetooth connection method of the present application.

[0020] Figure 6 It is a schematic diagram of another embodiment of the preset Bluetooth device configuration interface of the present application.

[0021] Figure 7Flowchart of an embodiment of the Bluetooth connection method of this application.

[0022] Figure 8 Flowchart of another embodiment of the Bluetooth connection method of this application.

[0023] Main element symbol description: Bluetooth connection system - 100; Bluetooth communication system - 110; electronic device - 120; control device - 111; Bluetooth device - 112.

[0024] The following specific embodiments will further illustrate this application in conjunction with the above - mentioned drawings. Specific Embodiments

[0025] The following description will refer to the drawings to more comprehensively describe the content of this application. The exemplary embodiments shown in the drawings are of this application. However, this application can be implemented in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. These exemplary embodiments are provided to make this application thorough and complete and to fully convey the scope of this application to those skilled in the art. Similar reference numerals denote the same or similar components.

[0026] The terms used herein are for the purpose of describing specific exemplary embodiments only and are not intended to limit this application. As used herein, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms as well. Further, when used herein, "comprises" and / or "comprising" and / or "has", integers, steps, operations, components and / or groups of components, but does not exclude the presence or addition of one or more other features, regions, integers, steps, operations, components and / or their groups.

[0027] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. Moreover, unless clearly defined in the text, terms such as those defined in a general dictionary should be construed as having a meaning consistent with their meaning in the relevant art and the content of this application and will not be construed as idealized or overly formal.

[0028] The following content will describe the exemplary embodiments in conjunction with the drawings. It should be noted that the components depicted in the reference drawings are not necessarily shown to scale; and the same or similar components will be denoted by the same or similar reference numerals or similar technical terms.

[0029] Refer to Figure 1, this application proposes a Bluetooth connection system 100, and the Bluetooth connection system 100 includes a Bluetooth communication system 110 and an electronic device 120. The Bluetooth communication system 110 includes a control device 111 and multiple Bluetooth devices 112. The electronic device 120 has completed Bluetooth pairing with multiple Bluetooth devices 112; the electronic device 120 is further configured to be a preset Bluetooth device of the first Bluetooth device among multiple Bluetooth devices 112; the number of the first Bluetooth devices is one. The control device 111 is further configured to determine a first target Bluetooth device for reconnecting with the electronic device 120 from multiple Bluetooth devices 112 based on a preset priority, and control the first target Bluetooth device to reconnect with the electronic device 120; the preset priority includes the first Bluetooth device and the Bluetooth device 112 that the electronic device 120 was last connected to before the previous Bluetooth connection was disconnected, in descending order.

[0030] In this embodiment, the Bluetooth communication system 110 can be applied to vehicles, home facilities, conference rooms, etc. For example, in a vehicle, the Bluetooth communication system 110 can include multiple Bluetooth devices 112 such as a front-row central control screen, a rear-row display screen, and a Bluetooth speaker. In home facilities, the Bluetooth communication system 110 can include multiple Bluetooth devices 112 such as a floor sweeping robot, a TV set, and a light switch. In a conference room, the Bluetooth communication system 110 can include multiple display screens, microphones, projectors, etc. The electronic device 120 can be a mobile phone, a computer, a tablet, a smart watch, etc.

[0031] Taking the Bluetooth connection system 100 applied in a vehicle and the electronic device 120 being a mobile phone as an example, the Bluetooth connection system 100 in the vehicle includes three Bluetooth devices 112, namely a front-row central control screen, a rear-row display screen, and a Bluetooth speaker, and the mobile phone has completed Bluetooth pairing with the front-row central control screen, the rear-row display screen, and the Bluetooth speaker.

[0032] When the mobile phone is configured as the preset Bluetooth device of the front-row central control screen, and the Bluetooths of the mobile phone, the front-row central control screen, the rear-row display screen, and the Bluetooth speaker are all turned on and within the connectable range, the control device 111 receives the reconnection signal of the mobile phone, and determines that the front-row central control screen with a preset Bluetooth device configuration relationship with the mobile phone has the highest reconnection priority based on the reconnection signal, so as to control the front-row central control screen to reconnect with the mobile phone. Further, the control device 111 can also control the rear-row display screen and the Bluetooth speaker not to reconnect with the electronic device 120 to ensure that the mobile phone only reconnects with one Bluetooth device 112.

[0033] In one embodiment, a user in the front row of the vehicle can set their mobile phone as a preset Bluetooth device for the front row center control screen, and a user in the rear row of the vehicle can set their mobile phone as a preset Bluetooth device for the rear row display screen. In this way, the front row center control screen and the rear row display screen are independently reconnected to their respective preset Bluetooth devices, so that the front row user can answer their mobile phone calls, view mobile phone information, etc. on the front row center control screen, and the rear row user can play music on their mobile phone, transfer mobile phone data, etc. on the rear row display screen, realizing that the Bluetooth reconnection and display playback of the front row center control screen and the rear row display screen do not interfere with each other.

[0034] If the mobile phone is not configured as a preset Bluetooth device of any Bluetooth device 112, or the first Bluetooth device does not turn on Bluetooth, the control device 111 controls the Bluetooth device 112 that was last connected to the mobile phone before the last Bluetooth connection was disconnected to reconnect to the mobile phone. For example, before the last Bluetooth connection was disconnected, the rear row display screen that was last connected to the mobile phone. When the Bluetooth of the mobile phone, the front row center control screen, the rear row display screen, and the Bluetooth speaker are all turned on and within the connectable range, the control device 111 controls the rear row display screen to reconnect to the mobile phone, and controls the front row center control screen and the Bluetooth speaker not to reconnect to the electronic device 120.

[0035] Further, if the Bluetooth of the Bluetooth device 112 that was last connected to the mobile phone before the last Bluetooth connection was disconnected is not turned on or is out of the correction connection range, the control device 111 can control the second-to-last Bluetooth device 112 that was connected to the mobile phone before the last Bluetooth connection was disconnected to reconnect. For example, in the case where the mobile phone is not configured as a preset Bluetooth device of any Bluetooth device 112, the mobile phone was last connected to the rear row display screen before the last Bluetooth connection was disconnected, and was connected to the Bluetooth speaker before connecting to the rear row display screen. If the rear row display screen is not turned on, the control device 111 controls the Bluetooth speaker to reconnect to the mobile phone. In this way, the Bluetooth device 112 that reconnects to the mobile phone is determined in the order from the most recent to the farthest according to the connection time before the last Bluetooth connection was disconnected, ensuring that the mobile phone only reconnects to one Bluetooth device 112.

[0036] In one embodiment, the electronic device 120 can only be configured as a preset Bluetooth device of one Bluetooth device 112. For example, referring to Figure 2 , in the configuration interface of the preset Bluetooth device, if the mobile phone is configured as a preset Bluetooth device of the front row center control screen, the option of the front row center control screen is in the selected state, and the option of the rear row display screen is in the unselected state.

[0037] In this way, through the setting of the preset priority, the mobile phone only reconnects to one Bluetooth device 112, and the mobile phone user can view the audio and video played on the reconnected Bluetooth device 112, and it will not be displayed and played on other Bluetooth devices 112. Thereby protecting the privacy of users and improving the Bluetooth connection experience of users.

[0038] In one embodiment, the control device 111 can be implemented by a microprocessing device, a system-on-chip, etc. Alternatively, the control device 111 can be integrated into any one of the Bluetooth devices 112.

[0039] In this application, the electronic device 120 and multiple Bluetooth devices 112 perform reconnection according to a preset priority, and preferentially reconnect to the Bluetooth device 112 having a preset Bluetooth device configuration relationship. If there is no Bluetooth device 112 having a preset Bluetooth device configuration relationship, then reconnect to the Bluetooth device 112 that was last connected before the last Bluetooth connection was disconnected. In this way, it is ensured that the electronic device 120 can only reconnect to one Bluetooth device 112, avoiding disordered reconnection between the electronic device 120 and multiple Bluetooth devices 112, thereby improving the privacy security and Bluetooth connection experience of the device user.

[0040] Refer to Figure 3 , this application also proposes a Bluetooth connection method, which is applied to the Bluetooth communication system 110. The Bluetooth connection method includes: S11: Receive the reconnection signal of the electronic device 120.

[0041] S12: Determine a first target Bluetooth device for reconnecting with the electronic device 120 from multiple Bluetooth devices 112 based on a preset priority; the preset priority includes the first Bluetooth device and the Bluetooth device 112 that the electronic device 120 was last connected to before the last Bluetooth connection was disconnected in descending order.

[0042] S13: Based on the reconnection signal of the electronic device 120, control the first target Bluetooth device to reconnect with the electronic device 120.

[0043] In this embodiment, taking the Bluetooth connection system 100 applied in a vehicle and the electronic device 120 being a mobile phone as an example, the Bluetooth connection system 100 in the vehicle includes three Bluetooth devices 112, namely a front row center control screen, a rear row display screen, and a Bluetooth speaker. The mobile phone has completed Bluetooth pairing with the front row center control screen, the rear row display screen, and the Bluetooth speaker.

[0044] When the mobile phone is configured as the preset Bluetooth device of the front row center control screen, and the Bluetooths of the mobile phone, the front row center control screen, the rear row display screen, and the Bluetooth speaker are all turned on and within the connectable range, the control device 111 receives the reconnection signal of the mobile phone, and determines that the front row center control screen having a preset Bluetooth device configuration relationship with the mobile phone has the highest reconnection priority based on the reconnection signal, so as to control the front row center control screen to reconnect with the mobile phone. Further, the control device 111 can also control the rear row display screen and the Bluetooth speaker not to reconnect with the electronic device 120 to ensure that the mobile phone only reconnects to one Bluetooth device 112.

[0045] In one embodiment, a user in the front row of the vehicle can set their mobile phone as a preset Bluetooth device for the front row center control screen, and a user in the rear row of the vehicle can set their mobile phone as a preset Bluetooth device for the rear row display screen. In this way, the front row center control screen and the rear row display screen are independently reconnected to their respective preset Bluetooth devices, so that the front row user can answer their mobile phone calls, view mobile phone information, etc. on the front row center control screen, and the rear row user can play music on their mobile phone, transfer mobile phone data, etc. on the rear row display screen, realizing that the Bluetooth reconnection and display playback of the front row center control screen and the rear row display screen do not interfere with each other.

[0046] If the mobile phone is not configured as a preset Bluetooth device of any Bluetooth device 112, or the first Bluetooth device does not turn on Bluetooth, the control device 111 controls the Bluetooth device 112 that was last connected to the mobile phone before the last Bluetooth connection was disconnected to reconnect to the mobile phone. For example, before the last Bluetooth connection was disconnected, the rear row display screen that was last connected to the mobile phone. When the Bluetooth of the mobile phone, the front row center control screen, the rear row display screen, and the Bluetooth speaker is turned on and within the connectable range, the control device 111 controls the rear row display screen to reconnect to the mobile phone, and controls the front row center control screen and the Bluetooth speaker not to reconnect to the electronic device 120.

[0047] Further, if the Bluetooth of the Bluetooth device 112 that was last connected to the mobile phone before the last Bluetooth connection was disconnected is not turned on or is out of the correction connection range, the control device 111 can control the second-to-last Bluetooth device 112 that was connected to the mobile phone before the last Bluetooth connection was disconnected to reconnect. For example, in the case where the mobile phone is not configured as a preset Bluetooth device of any Bluetooth device 112, the mobile phone was last connected to the rear row display screen before the last Bluetooth connection was disconnected, and was connected to the Bluetooth speaker before connecting to the rear row display screen. If the rear row display screen is not turned on, the control device 111 controls the Bluetooth speaker to reconnect to the mobile phone. In this way, the Bluetooth device 112 that reconnects to the mobile phone is determined in the order from the most recent to the farthest according to the connection time before the last Bluetooth connection was disconnected, ensuring that the mobile phone only reconnects to one Bluetooth device 112.

[0048] In one embodiment, the electronic device 120 can only be configured as a preset Bluetooth device of one Bluetooth device 112. For example, referring to Figure 2 , in the configuration interface of the preset Bluetooth device, if the mobile phone is configured as a preset Bluetooth device of the front row center control screen, the option of the front row center control screen is in the selected state, and the option of the rear row display screen is in the unselected state.

[0049] In this way, through the setting of the preset priority, the mobile phone only reconnects to one Bluetooth device 112, and the mobile phone user can view the audio and video played on the reconnected Bluetooth device 112, and it will not be displayed and played on other Bluetooth devices 112. Thereby protecting the privacy of users and improving the Bluetooth connection experience of users.

[0050] In this application, the electronic device 120 and multiple Bluetooth devices 112 perform reconnection according to a preset priority, and preferentially reconnect with the Bluetooth device 112 having a preset Bluetooth device configuration relationship. If there is no Bluetooth device 112 having a preset Bluetooth device configuration relationship, then reconnect with the Bluetooth device 112 that was last connected before the previous Bluetooth connection was disconnected. In this way, it is ensured that the electronic device 120 can only reconnect with one Bluetooth device 112, avoiding disorderly reconnection between the electronic device 120 and multiple Bluetooth devices 112, thereby improving the privacy security of device users and the Bluetooth connection experience.

[0051] Referring to Figure 4 , in an embodiment, after controlling the first target Bluetooth device to reconnect with the electronic device 120 based on the reconnection signal of the electronic device 120, the Bluetooth connection method further includes: S14: Any one of the multiple Bluetooth devices 112 responds to a Bluetooth connection operation, switches the second target Bluetooth device among the multiple Bluetooth devices 112 to perform a Bluetooth connection with the electronic device 120, or disconnects the Bluetooth connection between the first target Bluetooth device and the electronic device 120.

[0052] In this embodiment, the multiple Bluetooth devices 112 can communicate with each other. The user can operate on any one of the Bluetooth devices 112 to control the Bluetooth connection between the electronic device 120 and the first target Bluetooth device.

[0053] For example, after the mobile phone reconnects with the front row center console screen, the user can operate on the rear row display screen to switch the electronic device 120 to perform a Bluetooth connection with the rear row display screen / Bluetooth speaker, or disconnect the Bluetooth connection between the front row center console screen and the electronic device 120. Among them, the Bluetooth connection operation includes button operation, touch operation, voice command, etc.

[0054] In an embodiment, the Bluetooth connection method further includes: S15: Any one of the multiple Bluetooth devices 112 responds to a setting operation of a preset Bluetooth device, and switches the electronic device 120 to be the preset Bluetooth device of the second Bluetooth device 112 among the multiple Bluetooth devices 112; the number of the second Bluetooth devices 112 is one.

[0055] In this embodiment, the multiple Bluetooth devices 112 can communicate with each other. The user can operate on any one of the Bluetooth devices 112 to set the preset Bluetooth device of other Bluetooth devices 112.

[0056] For example, the preset Bluetooth device configuration interfaces of the front-row center control screen and the rear-row display screen can be set to be the same. Both the front-row center control screen and the rear-row display screen can display the Bluetooth connection status of all Bluetooth devices 112. The user can configure the preset Bluetooth devices of the rear-row display screen on the preset Bluetooth device configuration interface of the front-row center control screen, or can configure the preset Bluetooth devices of the front-row center control screen on the preset Bluetooth device configuration interface of the rear-row display screen.

[0057] When the user often sits in the front row, the user's mobile phone can be set as the preset Bluetooth device of the front-row center control screen, and the mobile phone can automatically reconnect to the front-row center control screen every time the user gets in the car. If the user needs to often sit in the rear row, the user can configure the mobile phone as the preset Bluetooth device of the rear-row display screen on the rear-row display screen. When getting in the car later, the mobile phone can automatically reconnect to the rear-row display screen. In this way, it is convenient for the user to configure the preset Bluetooth devices on different Bluetooth devices 112 according to their own needs.

[0058] In addition, the user can also configure the preset Bluetooth devices of multiple Bluetooth devices 112 on any one Bluetooth device 112 through button operations, voice commands, etc.

[0059] Referring to Figure 5 , in an embodiment, the number of the electronic devices 120 is multiple, and multiple said electronic devices 120 are all configured as the preset Bluetooth devices of the first Bluetooth device among the multiple said Bluetooth devices 112; the Bluetooth connection method further includes: S16: Receive the reconnection signals of the multiple electronic devices 120.

[0060] S17: Determine the target electronic device 120 for reconnection based on the connection time between the first Bluetooth device and the multiple electronic devices 120 before the last Bluetooth connection is disconnected.

[0061] S18: Control the first Bluetooth device to reconnect to the target electronic device 120.

[0062] In this embodiment, if there are multiple preset Bluetooth devices for a Bluetooth device 112, the electronic device 120 that was last connected to the Bluetooth device 112 before the last Bluetooth disconnection is selected for reconnection.

[0063] For example, if the front-row center control screen includes two preset Bluetooth devices, namely the driver's mobile phone and the passenger's mobile phone, and both the driver's mobile phone and the passenger's mobile phone are within the connectable range, and the control device 111 determines that the last device connected to the front-row center control screen before the last Bluetooth disconnection is the driver's mobile phone based on the reconnection signal of the driver's mobile phone and the reconnection signal of the passenger's mobile phone, then the front-row center control screen is controlled to reconnect to the driver's mobile phone.

[0064] In one embodiment, if there are multiple preset Bluetooth devices for a Bluetooth device 112, the Bluetooth device reconnects to all the multiple preset Bluetooth devices. For example, if the front-row center console screen includes two preset Bluetooth devices, namely the driver's mobile phone and the passenger's mobile phone, and both the driver's mobile phone and the passenger's mobile phone are within the connectable range, the control device 111 controls the front-row center console screen to reconnect to both the driver's mobile phone and the passenger's mobile phone based on the reconnect signals of the driver's mobile phone and the passenger's mobile phone.

[0065] In one embodiment, if the number of preset Bluetooth devices of the first Bluetooth device is equal to a preset value, the electronic device 120 is prohibited from being configured as a preset Bluetooth device of the first Bluetooth device.

[0066] The processing capacity and resources of the Bluetooth communication system 110 are limited. Processing the reconnect signals of multiple preset Bluetooth devices simultaneously may cause problems such as overload of the Bluetooth communication system 110 and data transmission delay. Therefore, to ensure the performance and stability of the Bluetooth communication system 110, in this embodiment, by setting an upper limit on the number of preset Bluetooth devices, it is ensured that the Bluetooth communication system 110 can operate normally.

[0067] Among them, the preset value can be set according to actual applications. For example, referring to Figure 6 , the preset value of the preset Bluetooth devices of the front-row center console screen can be set to two. If the preset Bluetooth devices of the front-row center console screen include the driver's mobile phone and the passenger's mobile phone, then in the configuration interface of the preset Bluetooth devices, the options of other electronic devices 120 are in an unselectable state.

[0068] Referring to Figure 7 , the present application also proposes a Bluetooth connection method, which is applied to the electronic device 120. The electronic device 120 has completed Bluetooth pairing with multiple Bluetooth devices 112. The first Bluetooth device among the multiple Bluetooth devices 112 is configured as a preset Bluetooth device of the electronic device 120, and the number of the first Bluetooth devices is one; the Bluetooth connection method includes: S21: Receive the reconnect signals of the multiple Bluetooth devices 112.

[0069] S22: Determine a target Bluetooth device for reconnecting from the multiple Bluetooth devices 112 based on a preset priority; the preset priority includes a preset Bluetooth device, and the Bluetooth device 112 that the electronic device 120 was last connected to before the previous Bluetooth connection was disconnected, in descending order.

[0070] S23: Reconnect to the target Bluetooth device based on the reconnect signal of the target Bluetooth device.

[0071] In this embodiment, the electronic device 120 may be a mobile phone, a computer, a tablet, a smart watch, etc. The multiple Bluetooth devices 112 may be vehicle-mounted devices, home devices, conference devices, etc.

[0072] For example, the electronic device 120 is a mobile phone, and the multiple Bluetooth devices 112 include the front-row center console screen, the rear-row display screen, and the Bluetooth speaker of the vehicle. The mobile phone has completed Bluetooth pairing with the front-row center console screen, the rear-row display screen, and the Bluetooth speaker.

[0073] When the front-row center console screen is configured as the preset Bluetooth device of the mobile phone, and the Bluetooths of the mobile phone, the front-row center console screen, the rear-row display screen, and the Bluetooth speaker are all turned on and within the connectable range, the mobile phone receives the reconnection signals from the front-row center console screen, the rear-row display screen, and the Bluetooth speaker, and determines that the front-row center console screen with the preset Bluetooth device configuration relationship with the mobile phone has the highest reconnection priority based on the three reconnection signals, so as to perform reconnection with the front-row center console screen and not perform reconnection with the rear-row display screen and the Bluetooth speaker.

[0074] In one embodiment, the user in the front row of the vehicle can set the front-row center console screen as the preset Bluetooth device of their own mobile phone, and the user in the rear row of the vehicle can set the rear-row display screen as the preset Bluetooth device of their own mobile phone. In this way, the mobile phones of the front-row users and the rear-row users can perform independent reconnection with the front-row center console screen and the rear-row display screen respectively after entering the connection range, so that the front-row users can answer their own mobile phone calls, view mobile phone information, etc. on the front-row center console screen, and the rear-row users can play the music on their own mobile phones, transfer mobile phone data, etc. on the rear-row display screen, realizing that the Bluetooth reconnection and display playback of the front-row center console screen and the rear-row display screen do not interfere with each other.

[0075] If none of the front-row center console screen, the rear-row display screen, and the Bluetooth speaker are configured as the preset Bluetooth device of the mobile phone, the mobile phone reconnects with the Bluetooth device 112 that was last connected before the last Bluetooth connection was disconnected. For example, before the last Bluetooth connection was disconnected, the last device connected to the mobile phone was the rear-row display screen. When the Bluetooths of the mobile phone, the front-row center console screen, the rear-row display screen, and the Bluetooth speaker are all turned on and within the connectable range, the mobile phone reconnects with the rear-row display screen and does not reconnect with the front-row center console screen and the Bluetooth speaker.

[0076] In one embodiment, the preset Bluetooth device of the electronic device 120 is set to one. For example, in the preset Bluetooth device configuration interface of the mobile phone, if the mobile phone is configured as the preset Bluetooth device of the front-row center console screen, the option of the front-row center console screen is in the selected state, and the option of the rear-row display screen is in the unselected state.

[0077] In this way, through the setting of the preset priority, it is realized that the mobile phone only reconnects to one Bluetooth device 112. The mobile phone user can play audio and pictures on the Bluetooth device 112 that has been reconnected, and they will not be displayed and played on other Bluetooth devices 112. Thus, the privacy of the user is protected and the Bluetooth connection experience of the user is improved.

[0078] In this application, the electronic device 120 and multiple Bluetooth devices 112 perform reconnection according to the preset priority, and preferentially reconnect to the Bluetooth device 112 with the preset Bluetooth device configuration relationship. If there is no Bluetooth device 112 with the preset Bluetooth device configuration relationship, it reconnects to the Bluetooth device 112 that was last connected before the last Bluetooth connection was disconnected. In this way, it is ensured that the electronic device 120 can only reconnect to one Bluetooth device 112, avoiding the disorderly reconnection of the electronic device 120 and multiple Bluetooth devices 112, thereby improving the privacy security and Bluetooth connection experience of the device user.

[0079] Refer to Figure 8 , in an embodiment, the Bluetooth connection method further includes: S24: In response to the setting operation of the preset Bluetooth device, switch the preset Bluetooth device of the electronic device 120 to the second Bluetooth device 112 among the multiple Bluetooth devices 112; the number of the second Bluetooth devices 112 is one.

[0080] In this embodiment, the user can switch the preset Bluetooth device on the electronic device 120 according to the actual application.

[0081] For example, when the user often sits in the front row, the front-row center console screen can be set as the preset Bluetooth device of the mobile phone, and the mobile phone can automatically reconnect to the front-row center console screen every time getting in the car. If the user needs to often sit in the back row, the rear-row display screen can be configured as the preset Bluetooth device of the mobile phone on the mobile phone. When getting in the car later, the mobile phone can automatically reconnect to the rear-row display screen. In this way, it is convenient for the user to configure the preset Bluetooth device according to their own needs.

[0082] This application embodiment also provides an electronic device. The electronic device may include a processing device and a storage device. The storage device is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processing device. The one or more computer programs include instructions, and the above instructions can be used to implement the above method in the electronic device.

[0083] It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements.

[0084] The processing device may also be provided with a storage device for storing instructions and data. In some embodiments, the storage device in the processing device is a cache storage device. This storage device can save the instructions or data that the processing device has just used or recycled. If the processing device needs to use the instruction or data again, it can be directly called from this storage device. This avoids repeated accesses, reduces the waiting time of the processing device, and thus improves the efficiency of the system.

[0085] In some embodiments, the processing device may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.

[0086] In some embodiments, the processing device is used to execute acceleration schemes such as single instruction multiple data (SIMD) and very long instruction word (VLIW).

[0087] In some embodiments, the storage device may include a high-speed random access storage device, and may also include a non-volatile storage device, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, at least one magnetic disk storage device, a flash device, or other volatile solid-state storage devices.

[0088] This embodiment also provides a computer-readable storage medium, in which computer instructions are stored. When the instructions run on an electronic device, the electronic device is caused to execute the above-related method steps to implement the method in the above embodiment.

[0089] Among them, the electronic device and the computer-readable storage medium provided in this embodiment are both used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.

[0090] In practical applications, the above functions can be assigned to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0091] In several embodiments provided in the present application, the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are illustrative. For example, the division of the module or unit is a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling, direct coupling, or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical, or other forms.

[0092] The unit described as a separated component may or may not be physically separated. The component displayed as a unit may be a physical unit or multiple physical units, that is, it can be located in one place or distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0093] In addition, each functional unit in each embodiment of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0094] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processing device (processor) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.

[0095] In the foregoing, specific embodiments of the present application have been described with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that various changes and substitutions can be made to the specific embodiments of the present application without departing from the spirit and scope of the present application. These changes and substitutions all fall within the scope defined by the present application.

Claims

1. A Bluetooth connection method, applied to a Bluetooth communication system, wherein the Bluetooth communication system comprises a plurality of Bluetooth devices, wherein the plurality of Bluetooth devices are paired with an electronic device via Bluetooth, and the electronic device is further configured as a preset Bluetooth device for a first Bluetooth device among the plurality of Bluetooth devices, wherein the number of the first Bluetooth device is one; characterized in that: The Bluetooth connection method comprises: receiving a return connection signal from the electronic device; Determine a first target Bluetooth device for reconnecting to the electronic device from the plurality of Bluetooth devices based on a preset priority; the preset priorities include, from high to low, the first Bluetooth device and the Bluetooth device to which the electronic device was last connected before the last Bluetooth connection was disconnected; Based on the back-connection signal of the electronic device, the first target Bluetooth device is controlled to back-connect with the electronic device.

2. The Bluetooth connection method according to claim 1, wherein: After controlling the first target Bluetooth device to reconnect to the electronic device based on the reconnection signal of the electronic device, the Bluetooth connection method further includes: In response to the Bluetooth connection operation, any one of the plurality of Bluetooth devices switches a second target Bluetooth device among the plurality of Bluetooth devices to establish a Bluetooth connection with the electronic device, or disconnects the Bluetooth connection between the first target Bluetooth device and the electronic device.

3. The Bluetooth connection method according to claim 1 or 2, characterized in that: The Bluetooth connection method further includes: Any one of the plurality of Bluetooth devices switches the electronic device to a preset Bluetooth device of a second Bluetooth device among the plurality of Bluetooth devices in response to a setting operation of the preset Bluetooth device; the number of the second Bluetooth device is one.

4. The Bluetooth connection method according to claim 1, wherein: There are multiple electronic devices, and each of the multiple electronic devices is configured as a preset Bluetooth device of the first Bluetooth device; The Bluetooth connection method further includes: Receiving return connection signals from a plurality of electronic devices; Determine a target electronic device to connect back based on the connection time between the first Bluetooth device and the plurality of electronic devices before the last Bluetooth connection is disconnected; Control the first Bluetooth device to connect back to the target electronic device.

5. The Bluetooth connection method according to claim 1, wherein: The Bluetooth connection method further includes: If the number of preset Bluetooth devices of the first Bluetooth device is equal to a preset value, it is prohibited to configure the electronic device as a preset Bluetooth device of the first Bluetooth device.

6. A Bluetooth connection method, applied to an electronic device, wherein the electronic device completes Bluetooth pairing with multiple Bluetooth devices, a first Bluetooth device among the multiple Bluetooth devices is configured as a preset Bluetooth device of the electronic device, and the number of the first Bluetooth device is one; characterized in that: The Bluetooth connection method comprises: Receiving return connection signals of a plurality of the Bluetooth devices; Determine a target Bluetooth device for reconnection from the plurality of Bluetooth devices based on a preset priority; the preset priorities include, from high to low, a preset Bluetooth device and a Bluetooth device to which the electronic device was last connected before the last Bluetooth connection was disconnected; Based on the back-connection signal of the target Bluetooth device, back-connect to the target Bluetooth device.

7. The Bluetooth connection method according to claim 6, characterized in that: The Bluetooth connection method further includes: In response to a setting operation of a preset Bluetooth device, the preset Bluetooth device of the electronic device is switched to a second Bluetooth device among the plurality of Bluetooth devices; the number of the second Bluetooth device is one.

8. A computer storage medium, characterized in that: The computer storage medium stores a computer program, which includes program instructions. The program instructions are executed by a processing device to execute the Bluetooth connection method according to any one of claims 1 to 5 or the Bluetooth connection method according to any one of claims 6 to 7.

9. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, used to execute the computer program in the storage device to implement the Bluetooth connection method according to any one of claims 1 to 5 or the Bluetooth connection method according to any one of claims 6 to 7.

10. A Bluetooth connection system, characterized in that: The Bluetooth connection system comprises: A Bluetooth communication system, the Bluetooth communication system comprising a control device and a plurality of Bluetooth devices; An electronic device, wherein the electronic device completes Bluetooth pairing with the plurality of Bluetooth devices; the electronic device is further configured as a preset Bluetooth device for a first Bluetooth device among the plurality of Bluetooth devices; the number of the first Bluetooth device is one; The control device is also used to determine a target Bluetooth device to reconnect to the electronic device from a plurality of the Bluetooth devices based on a preset priority, and control the target Bluetooth device to reconnect to the electronic device; the preset priorities include, from high to low, the first Bluetooth device and the Bluetooth device to which the electronic device was last connected before the last Bluetooth connection was disconnected.