A method, device, equipment and medium for backing up multiple Bluetooth keys
By setting up a dual Bluetooth module backup mechanism in the vehicle, the vehicle control problem caused by the Bluetooth key failure is solved, the stability and safety of the vehicle are improved, and the user can still use the vehicle normally in the event of a failure.
Patent Information
- Application Number
- CN202211603409.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-12-13
AI Technical Summary
When the Bluetooth key in the vehicle fails, the user cannot lock and control the vehicle, resulting in stability, robustness and safety issues.
The multi-Bluetooth key backup method is adopted, and the dual backup mechanism of the first Bluetooth module and the second Bluetooth module on the car side is used to realize the active scanning, connection request, control command sending and feedback of the Bluetooth key, ensuring that when one Bluetooth module fails, the other module Can take over control functions.
It improves the stability, robustness and security of the vehicle's Bluetooth car key, enhances the user experience, and ensures that the vehicle can still be locked and controlled normally when the Bluetooth key fails.
Smart Images

Figure CN116110150B
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of vehicle-side multi-Bluetooth key backup, and in particular, relates to a method, device, equipment and medium for multi-Bluetooth key backup. Background Art
[0002] The low-power Bluetooth of the data transmission carrier has a long communication distance, stable connection and scanning, and is used as a vehicle Bluetooth key for locking and controlling the vehicle. However, for vehicles that rely entirely on Bluetooth keys, the vehicle Bluetooth key often has problems such as Bluetooth key hardware, software or power failure during use, resulting in the vehicle user being unable to lock and control the vehicle. In view of this, the present invention provides a method, device, equipment and medium for backing up multiple Bluetooth keys to solve the problem of having another backup Bluetooth key that can be used when a Bluetooth key in a vehicle fails. Summary of the invention
[0003] The present invention provides a method, device, equipment and medium for backing up multiple Bluetooth keys to solve the problem that when a Bluetooth key in a vehicle fails, the vehicle user is unable to lock and control the vehicle. The present application uses multiple Bluetooth key backups, so when one Bluetooth key of the vehicle fails, another backup Bluetooth key can lock and control the vehicle, thereby improving the stability and robustness of the vehicle's Bluetooth car key, the safety, and the user experience.
[0004] The purpose of this application and the solution of its technical problems are achieved by adopting the following technical solutions.
[0005] The present application provides a method for backing up multiple Bluetooth keys, which is applied to backing up Bluetooth keys on a vehicle side. The method for backing up multiple Bluetooth keys includes:
[0006] Actively scan the Bluetooth broadcast of the vehicle-side Bluetooth module; initiate a connection request to the vehicle-side Bluetooth module; obtain a connection response from the vehicle-side Bluetooth module; initiate a control instruction to the vehicle-side Bluetooth module; obtain a control response from the vehicle-side Bluetooth module; the vehicle-side Bluetooth module includes a first vehicle-side Bluetooth module and a second vehicle-side Bluetooth module;
[0007] Obtain a connection request from the first Bluetooth module on the vehicle side, respond to the connection request from the first Bluetooth module on the vehicle side and communicate with the first Bluetooth module on the vehicle side via Bluetooth; obtain a vehicle control instruction from the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to a vehicle controller; obtain a result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module on the vehicle side;
[0008] Acquire a vehicle control instruction sent by the second Bluetooth module on the vehicle side; execute the vehicle control instruction on the vehicle side; and feed back the result of executing the control instruction to the second Bluetooth module on the vehicle side.
[0009] Optionally, the second Bluetooth module on the vehicle side includes at least two Bluetooth modules, and each Bluetooth module broadcasts its own Bluetooth broadcast name.
[0010] Optionally, it further comprises a Bluetooth module in the second Bluetooth module on the vehicle side obtaining a connection request from the first Bluetooth module on the vehicle side, responding to the connection request from the first Bluetooth module on the vehicle side and communicating with the first Bluetooth module on the vehicle side via Bluetooth;
[0011] Obtain a vehicle control instruction from the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to a vehicle controller; obtain a result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module on the vehicle side.
[0012] Optionally, the vehicle-side second Bluetooth module includes a second Bluetooth master module and at least one second Bluetooth slave module;
[0013] The second Bluetooth slave module backs up the Bluetooth communication information of the second Bluetooth master module in real time.
[0014] Optionally, the second Bluetooth main module also obtains a connection request from the first Bluetooth module on the vehicle side, responds to the connection request from the first Bluetooth module on the vehicle side, and communicates with the first Bluetooth module on the vehicle side via Bluetooth;
[0015] Obtain the vehicle control instruction of the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module.
[0016] Optionally, the second Bluetooth slave module also obtains a connection request from the first Bluetooth module on the vehicle side, and communicates with the first Bluetooth module on the vehicle side via Bluetooth in response to the connection request from the first Bluetooth module on the vehicle side;
[0017] Obtain the vehicle control instruction of the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module.
[0018] Optionally, the second Bluetooth slave module obtains a connection request from the vehicle-side first Bluetooth module, and responds to the connection request from the vehicle-side first Bluetooth module to communicate with the vehicle-side first Bluetooth module via Bluetooth, including:
[0019] The second Bluetooth slave module obtains a connection request from the first Bluetooth module at the vehicle end,
[0020] Responding to a connection request from the first Bluetooth module on the vehicle side, communicating with the first Bluetooth module on the vehicle side via Bluetooth;
[0021] The second Bluetooth master module and the second Bluetooth slave module not connected to the first Bluetooth module on the vehicle side back up the Bluetooth communication information of the second Bluetooth slave module connected to the first Bluetooth module on the vehicle side in real time.
[0022] The present application also provides a device for backing up multiple Bluetooth keys, which is applied to backing up Bluetooth keys on a vehicle side. The device for backing up multiple Bluetooth keys includes:
[0023] The first Bluetooth module at the vehicle end is used to actively scan the Bluetooth broadcast of the Bluetooth module at the vehicle end; initiate a connection request to the Bluetooth module at the vehicle end; obtain a connection response from the Bluetooth module at the vehicle end; initiate a control command to the Bluetooth module at the vehicle end; and obtain a control response from the Bluetooth module at the vehicle end;
[0024] The second Bluetooth module at the vehicle end is used to obtain the connection request of the first Bluetooth module at the vehicle end, respond to the connection request of the first Bluetooth module at the vehicle end and communicate with the first Bluetooth module at the vehicle end through Bluetooth; obtain the vehicle control instruction of the first Bluetooth module at the vehicle end, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of the vehicle executing the control instruction to the first Bluetooth module at the vehicle end;
[0025] The vehicle controller is used to obtain the vehicle control instructions sent by the second Bluetooth module on the vehicle side; execute the obtained vehicle control instructions on the vehicle side; and feed back the results of executing the vehicle control instructions to the second Bluetooth module on the vehicle side.
[0026] The present application also provides an electronic device, the electronic device comprising:
[0027] a memory for storing non-transitory computer-readable instructions; and
[0028] The processor is used to run the computer-readable instructions, so that the computer-readable instructions implement the above-mentioned method when executed by the processor.
[0029] The present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on a device, the device executes the method described above.
[0030] Compared with the prior art, the present application has obvious advantages and beneficial effects. By means of the above technical solution, the present application has at least one of the following advantages and beneficial effects:
[0031] 1. A method for backing up multiple Bluetooth keys provided in the present application is applied to backing up Bluetooth keys on the vehicle side. The method for backing up multiple Bluetooth keys includes: actively scanning the Bluetooth broadcast of the Bluetooth module on the vehicle side; initiating a connection request to the Bluetooth module on the vehicle side; obtaining a connection response from the Bluetooth module on the vehicle side; initiating a control instruction to the Bluetooth module on the vehicle side; obtaining a control response from the Bluetooth module on the vehicle side; the Bluetooth module on the vehicle side includes a first Bluetooth module on the vehicle side and a second Bluetooth module on the vehicle side; obtaining a connection request from the first Bluetooth module on the vehicle side, responding to the connection request from the first Bluetooth module on the vehicle side and communicating with the first Bluetooth module on the vehicle side via Bluetooth; obtaining a vehicle control instruction from the first Bluetooth module on the vehicle side, and sending the obtained vehicle control instruction to a vehicle controller; obtaining a result of executing the vehicle control instruction fed back by the vehicle controller; feeding back the result of executing the vehicle control instruction to the first Bluetooth module on the vehicle side; obtaining a vehicle control instruction sent by the second Bluetooth module on the vehicle side; executing the vehicle control instruction on the vehicle side; and feeding back the result of executing the control instruction to the second Bluetooth module on the vehicle side. This application uses a multi-Bluetooth key backup method. When one Bluetooth key of the vehicle fails, another backup Bluetooth key can lock and control the vehicle, thereby improving the stability, robustness and security of the vehicle's Bluetooth car key and enhancing the user experience.
[0032] 2. The present application includes at least two Bluetooth modules through the second Bluetooth module on the vehicle side, and each Bluetooth module broadcasts its own Bluetooth broadcast name. The present application also includes a Bluetooth module in the second Bluetooth module on the vehicle side obtaining a connection request from the first Bluetooth module on the vehicle side, responding to the connection request from the first Bluetooth module on the vehicle side and communicating with the first Bluetooth module on the vehicle side via Bluetooth; obtaining a vehicle control instruction from the first Bluetooth module on the vehicle side, sending the obtained vehicle control instruction to the vehicle controller; obtaining the result of executing the vehicle control instruction fed back by the vehicle controller; and feeding back the result of executing the vehicle control instruction to the first Bluetooth module on the vehicle side. The present application includes at least two Bluetooth modules in the second Bluetooth module on the vehicle side, so that at least two Bluetooths in the second Bluetooth module can realize a backup function with each other in real time, thereby ensuring the robustness of the vehicle Bluetooth car key.
[0033] 3. The present application includes a second Bluetooth main module and at least one second Bluetooth slave module through the second Bluetooth module on the vehicle side; the second Bluetooth slave module backs up the Bluetooth communication information of the second Bluetooth main module in real time. The present application also obtains the connection request of the first Bluetooth module on the vehicle side through the second Bluetooth main module, responds to the connection request of the first Bluetooth module on the vehicle side and communicates with the first Bluetooth module on the vehicle side through Bluetooth; obtains the vehicle control instruction of the first Bluetooth module on the vehicle side, and sends the obtained vehicle control instruction to the vehicle controller; obtains the result of executing the vehicle control instruction fed back by the vehicle controller; and feeds back the result of executing the vehicle control instruction to the first Bluetooth module. The present application sets the second Bluetooth main module and the second Bluetooth main module slave module in the second Bluetooth main module, and performs Bluetooth communication of the main module by default, and the slave module performs the real-time backup function, thereby avoiding disordered connection and interaction of multiple second Bluetooth modules on the vehicle side, and avoiding backup redundancy and backup interruption.
[0034] 4. This application obtains the connection request of the first Bluetooth module on the vehicle side through the second Bluetooth slave module, responds to the connection request of the first Bluetooth module on the vehicle side and communicates with the first Bluetooth module on the vehicle side through Bluetooth, obtains the connection request of the first Bluetooth module on the vehicle side through one of the second Bluetooth slave modules; responds to the connection request of the first Bluetooth module on the vehicle side and communicates with the first Bluetooth module on the vehicle side through Bluetooth; the second Bluetooth master module and the second Bluetooth slave module that is not connected to the first Bluetooth module on the vehicle side back up the Bluetooth communication information of the second Bluetooth slave module connected to the first Bluetooth module on the vehicle side in real time. This application uses one of the second Bluetooth slave modules to obtain the connection request of the first Bluetooth module on the vehicle side and backs it up, so that when the second Bluetooth master module performs Bluetooth communication, it only performs real-time backup through one of the multiple second Bluetooth slave modules, avoiding the waste of resources caused by the simultaneous backup of other second Bluetooth slave modules, and ensuring the real-time and high efficiency of Bluetooth communication data backup.
[0035] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, 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 invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a flowchart of a method for backing up multiple Bluetooth keys according to an embodiment of the present application;
[0037] Figure 2 It is a structural schematic diagram of a multi-Bluetooth key backup device according to an embodiment of the present application;
[0038] Figure 3is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;
[0039] Figure 4 is a schematic diagram of the structure of a second Bluetooth module on the vehicle side according to another embodiment of the present application;
[0040] Figure 5 It is a flowchart of a multi-Bluetooth key backup method according to another embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects proposed according to the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0042] This application provides a method for backing up multiple Bluetooth keys, which is applied to backing up Bluetooth keys on the vehicle side. Figure 1 The method for backing up multiple Bluetooth keys includes:
[0043] S1, actively scan the Bluetooth broadcast of the vehicle-side Bluetooth module; initiate a connection request to the vehicle-side Bluetooth module; obtain a connection response from the vehicle-side Bluetooth module; initiate a control command to the vehicle-side Bluetooth module; obtain a control response from the vehicle-side Bluetooth module; the vehicle-side Bluetooth module includes a first vehicle-side Bluetooth module and a second vehicle-side Bluetooth module;
[0044] S2, obtaining a connection request from the first Bluetooth module on the vehicle side, responding to the connection request from the first Bluetooth module on the vehicle side and communicating with the first Bluetooth module on the vehicle side via Bluetooth; obtaining a vehicle control instruction from the first Bluetooth module on the vehicle side, and sending the obtained vehicle control instruction to the vehicle controller; obtaining a result of executing the vehicle control instruction fed back by the vehicle controller; and feeding back the result of executing the vehicle control instruction to the first Bluetooth module on the vehicle side;
[0045] S3, obtaining a vehicle control instruction sent by the second Bluetooth module on the vehicle side; executing the vehicle control instruction on the vehicle side; and feeding back a result of executing the control instruction to the second Bluetooth module on the vehicle side.
[0046] It should be noted that the communication carrier of the present application is the Bluetooth key of the mobile intelligent terminal, and the present application uses at least one of the two Bluetooth modules on the vehicle side for communication and backup. For example, one of the first Bluetooth modules on the vehicle side can be arranged inside or outside the vehicle, or in a similar vehicle position such as an armrest box or a vehicle ceiling light; and the other of the second Bluetooth modules on the vehicle side can be arranged in a similar vehicle position such as inside or outside the vehicle, a rearview mirror, a door handle, a vehicle B-pillar and a front bumper. The present application performs double backup or multiple backup through the first Bluetooth module on the vehicle side and the second Bluetooth module on the vehicle side. When one Bluetooth module on the vehicle side fails, the other modules can be used as backup modules of the Bluetooth main module for vehicle control and vehicle unlocking and locking functions. For example, the first Bluetooth module on the vehicle side and the second Bluetooth module on the vehicle side can back up the Bluetooth key to each other through Bluetooth communication connection. Two or more devices on the vehicle side can be used as Bluetooth broadcast terminals. When the main module Bluetooth in the second Bluetooth module of the vehicle fails, the second Bluetooth module on the vehicle side can be connected to the slave module to control the vehicle. Or when the main module is valid, the user can also choose to use the slave module to control the vehicle. This application uses a multi-Bluetooth key backup method. When one Bluetooth key of the vehicle fails, another backup Bluetooth key can lock and control the vehicle, thereby improving the stability, robustness and security of the vehicle's Bluetooth car key and enhancing the user experience.
[0047] Optionally, the second Bluetooth module on the vehicle side includes at least two Bluetooth modules, and each Bluetooth module broadcasts its own Bluetooth broadcast name.
[0048] It should be noted that there can be multiple second Bluetooth modules on the vehicle side, each of which is configured with a Bluetooth broadcast name. The multiple Bluetooth modules broadcast their own configured Bluetooth broadcast names with identity identification through Bluetooth broadcast. By setting multiple second Bluetooth modules on the vehicle side and enabling the multiple Bluetooth modules to broadcast with Bluetooth broadcast names with their own identity identification, users can choose different Bluetooth keys with different Bluetooth broadcast names with their own identity identification for Bluetooth connection according to actual conditions. For example, when leaning against the right side of the vehicle, use the Bluetooth broadcast name with the "right side" identity identification to ensure barrier-free information transmission between the Bluetooth module of the smart mobile terminal and the vehicle Bluetooth module, thereby ensuring the stability and efficiency of Bluetooth communication transmission.
[0049] Optionally, it further comprises a Bluetooth module in the second Bluetooth module on the vehicle side obtaining a connection request from the first Bluetooth module on the vehicle side, responding to the connection request from the first Bluetooth module on the vehicle side and communicating with the first Bluetooth module on the vehicle side via Bluetooth;
[0050] Obtain a vehicle control instruction from the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to a vehicle controller; obtain a result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module on the vehicle side.
[0051] It should be noted that one of the second Bluetooth modules on the vehicle side performs Bluetooth communication by sending communication instructions and feedback communication instructions, so that the first Bluetooth module on the vehicle side can obtain the communication information and feedback results of the second Bluetooth module on the vehicle side in real time, and realize the real-time backup of the second Bluetooth module on the vehicle side. In addition, the present application includes at least two Bluetooth modules in the second Bluetooth module on the vehicle side, so that at least two Bluetooth modules in the second Bluetooth module can realize the backup function with each other in real time.
[0052] Optionally, the vehicle-side second Bluetooth module includes a second Bluetooth master module and at least one second Bluetooth slave module;
[0053] The second Bluetooth slave module backs up the Bluetooth communication information of the second Bluetooth master module in real time.
[0054] It should be noted that the multiple Bluetooth modules in the second Bluetooth module on the vehicle side are divided into a second Bluetooth main module and at least one second Bluetooth slave module, and the Bluetooth communication data of the second Bluetooth main module is backed up in real time by using multiple second Bluetooth slave modules to achieve real-time backup of multiple second Bluetooth slave modules.
[0055] Optionally, the second Bluetooth main module also obtains a connection request from the first Bluetooth module on the vehicle side, responds to the connection request from the first Bluetooth module on the vehicle side, and communicates with the first Bluetooth module on the vehicle side via Bluetooth;
[0056] Obtain the vehicle control instruction of the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module.
[0057] It should be noted that, by using the second Bluetooth main module to perform Bluetooth communication with the first Bluetooth module on the vehicle side, the Bluetooth communication data information of the first Bluetooth module on the vehicle side can be backed up in real time.
[0058] Optionally, the second Bluetooth slave module also obtains a connection request from the first Bluetooth module on the vehicle side, and communicates with the first Bluetooth module on the vehicle side via Bluetooth in response to the connection request from the first Bluetooth module on the vehicle side;
[0059] Obtain the vehicle control instruction of the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module.
[0060] It should be noted that the present application sets up a second Bluetooth main module and a second Bluetooth main module slave module in the second Bluetooth main module, and performs Bluetooth communication of the main module by default, and the slave module performs real-time backup function, thereby avoiding disordered connection and interaction of multiple second Bluetooth modules on the vehicle side, and avoiding backup redundancy and backup interruption.
[0061] Optionally, the second Bluetooth slave module obtains a connection request from the vehicle-side first Bluetooth module, and responds to the connection request from the vehicle-side first Bluetooth module to communicate with the vehicle-side first Bluetooth module via Bluetooth, including:
[0062] The second Bluetooth slave module obtains a connection request from the first Bluetooth module at the vehicle end,
[0063] Responding to a connection request from the first Bluetooth module on the vehicle side, communicating with the first Bluetooth module on the vehicle side via Bluetooth;
[0064] The second Bluetooth master module and the second Bluetooth slave module not connected to the first Bluetooth module on the vehicle side back up the Bluetooth communication information of the second Bluetooth slave module connected to the first Bluetooth module on the vehicle side in real time.
[0065] It should be noted that one of the second Bluetooth slave modules obtains the first Bluetooth module on the vehicle side, responds to the connection request of the first Bluetooth module on the vehicle side, and communicates with the first Bluetooth module on the vehicle side via Bluetooth; the second Bluetooth master module and the second Bluetooth slave module that is not connected to the first Bluetooth module on the vehicle side back up the Bluetooth communication information of the second Bluetooth slave module connected to the first Bluetooth module on the vehicle side in real time. This application uses one of the second Bluetooth slave modules to obtain the connection request of the first Bluetooth module on the vehicle side and backs it up, so that when the second Bluetooth master module performs Bluetooth communication, only one of the multiple second Bluetooth slave modules performs real-time backup, thereby avoiding the waste of resources caused by the simultaneous backup of other second Bluetooth slave modules, and ensuring the real-time and high efficiency of Bluetooth communication data backup.
[0066] The present application also provides a device for backing up multiple Bluetooth keys, which is applied to backing up Bluetooth keys on the vehicle side. Figure 2 As shown, the multi-Bluetooth key backup device 200 includes:
[0067] The first vehicle-side Bluetooth module 210 is used to actively scan the Bluetooth broadcast of the vehicle-side Bluetooth module; initiate a connection request to the vehicle-side Bluetooth module; obtain a connection response from the vehicle-side Bluetooth module; initiate a control command to the vehicle-side Bluetooth module; and obtain a control response from the vehicle-side Bluetooth module;
[0068] The second Bluetooth module 220 at the vehicle end is used to obtain the connection request of the first Bluetooth module at the vehicle end, respond to the connection request of the first Bluetooth module at the vehicle end and communicate with the first Bluetooth module at the vehicle end through Bluetooth; obtain the vehicle control instruction of the first Bluetooth module at the vehicle end, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of the vehicle executing the control instruction to the first Bluetooth module at the vehicle end;
[0069] The vehicle controller 230 is used to obtain the vehicle control instruction sent by the second Bluetooth module on the vehicle side; execute the obtained vehicle control instruction on the vehicle side; and feed back the result of executing the vehicle control instruction to the second Bluetooth module on the vehicle side.
[0070] It should be noted that the multi-Bluetooth key backup device 200 in the present application corresponds to the above-mentioned method for multi-Bluetooth key backup, the first Bluetooth module 210 and the second Bluetooth module 220 on the vehicle side respectively broadcast Bluetooth to the outside, and the mobile smart terminal is used to actively scan the Bluetooth broadcast of the vehicle-side Bluetooth module; initiate a connection request to the vehicle-side Bluetooth module; obtain a connection response from the vehicle-side Bluetooth module; initiate a control command to the vehicle-side Bluetooth module; obtain a control response from the vehicle-side Bluetooth module, wherein the vehicle-side Bluetooth module includes the first Bluetooth module 210 and the second Bluetooth module 220 on the vehicle side. The operation of the above-mentioned multi-Bluetooth key backup device 200 is described with reference to the contents of the multi-Bluetooth key backup method in the above-mentioned embodiment, and will not be repeated here.
[0071] The present application also provides an electronic device, such as the attached Figure 3 As shown, the electronic device 300 includes:
[0072] Memory 310 for storing non-transitory computer-readable instructions 330; and
[0073] The processor 320 is used to run the computer-readable instructions 330, so that the computer-readable instructions 330 are executed by the processor 320 to implement the above-mentioned method.
[0074] The present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on a device, the device executes the method described above.
[0075] In the embodiments of the present application, as shown in the attached Figure 4As shown, the first Bluetooth module 210 on the vehicle side is set as the main module at the top light position of the front row of the vehicle, and the broadcast name of the identity authentication of the main module is set to "xxxx_AAA_0005", such as the broadcast name of the identity authentication "first Bluetooth module on the vehicle side_top light_0005", or the second Bluetooth module 220 is set as a slave module in front of the vehicle on the vehicle side, and there are multiple slave modules, which are respectively set at the left front mirror slave module of the vehicle, the right front mirror slave module of the vehicle, and the left rear mirror slave module of the vehicle and the right rear mirror slave module of the vehicle. Such as the broadcast name of the identity authentication "second Bluetooth module on the vehicle side_left mirror_0005"
[0076] In the embodiments of the present application, as shown in the attached Figure 5 As shown, the intelligent mobile terminal includes but is not limited to mobile phones. In this embodiment, the intelligent mobile terminal adopts a smart phone. The first Bluetooth module 210 on the vehicle side is a Bluetooth master module, and the first Bluetooth module 220 on the vehicle side is a Bluetooth slave module. The Bluetooth master module and the Bluetooth slave module respectively start Bluetooth broadcasting. On the user's mobile phone side, by actively scanning the surrounding Bluetooth broadcast names, for example, a connection request is initiated to the Bluetooth master module on the vehicle side. When the connection of the Bluetooth master module on the vehicle side fails, the Bluetooth master module on the vehicle side feeds back the communication information of the connection failure to the smart phone side. The user's mobile phone side then initiates a connection request to the Bluetooth slave module on the vehicle side. The Bluetooth slave module on the vehicle side is a backup module of the Bluetooth master module on the vehicle side. The Bluetooth slave module on the vehicle side can be connected. The Bluetooth module on the user's mobile phone side is connected to the backup module Bluetooth slave module on the vehicle side through Bluetooth. The Bluetooth slave module on the vehicle side sends feedback information of successful Bluetooth connection to the Bluetooth module on the user's mobile phone side. After the Bluetooth module on the user's mobile phone obtains the information of successful Bluetooth connection fed back by the Bluetooth slave module on the vehicle side, it initiates a vehicle control command to the Bluetooth slave module on the vehicle side. The vehicle Bluetooth slave module obtains the vehicle control command information sent by the Bluetooth module on the user's mobile phone, transmits the control command information to the vehicle controller 230, and the vehicle controller 230 executes the relevant operations of the control command information, and feeds back the message of successful vehicle control or failed control execution to the Bluetooth module on the user's mobile phone, and displays the result of the feedback control command execution to the user on the mobile phone.
[0077] It should be noted that any process or method description in the flowchart or otherwise described herein may be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations, in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0078] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0079] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0080] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0081] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be partially implemented in the form of hardware, or may be implemented in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0082] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
[0083] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as a preferred embodiment as above, it is not intended to limit the present application. Any technician familiar with the profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A method for backing up multiple Bluetooth keys, characterized in that: Applied to the backup of vehicle-side Bluetooth keys, including: Actively scan the Bluetooth broadcast of the vehicle-side Bluetooth module; initiate a connection request to the vehicle-side Bluetooth module; obtain a connection response from the vehicle-side Bluetooth module; initiate a control instruction to the vehicle-side Bluetooth module; obtain a control response from the vehicle-side Bluetooth module; the vehicle-side Bluetooth module includes a first vehicle-side Bluetooth module and a second vehicle-side Bluetooth module; The vehicle-side second Bluetooth module includes a second Bluetooth master module and at least one second Bluetooth slave module, and each Bluetooth module broadcasts its own Bluetooth broadcast name; Obtain a connection request from the first Bluetooth module on the vehicle side, respond to the connection request from the first Bluetooth module on the vehicle side and communicate with the first Bluetooth module on the vehicle side via Bluetooth; obtain a vehicle control instruction from the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to a vehicle controller; obtain a result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module on the vehicle side; One of the second Bluetooth modules on the vehicle side obtains a connection request from the first Bluetooth module on the vehicle side, responds to the connection request from the first Bluetooth module on the vehicle side, and communicates with the first Bluetooth module on the vehicle side via Bluetooth; The second Bluetooth slave module backs up the Bluetooth communication information of the second Bluetooth master module in real time; Acquire a vehicle control instruction sent by the second Bluetooth module on the vehicle side; execute the vehicle control instruction on the vehicle side; and feed back the result of executing the control instruction to the second Bluetooth module on the vehicle side.
2. The method according to claim 1, characterized in that The second Bluetooth main module also includes obtaining a connection request from the first Bluetooth module on the vehicle side, responding to the connection request from the first Bluetooth module on the vehicle side and communicating with the first Bluetooth module on the vehicle side via Bluetooth; Obtain the vehicle control instruction of the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module.
3. The method according to claim 1, characterized in that The second Bluetooth slave module also includes obtaining a connection request from the first Bluetooth module on the vehicle side, and communicating with the first Bluetooth module on the vehicle side via Bluetooth in response to the connection request from the first Bluetooth module on the vehicle side; Obtain the vehicle control instruction of the first Bluetooth module on the vehicle side, and send the obtained vehicle control instruction to the vehicle controller; obtain the result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of executing the vehicle control instruction to the first Bluetooth module.
4. The method according to claim 3, characterized in that The second Bluetooth slave module obtains a connection request from the vehicle-side first Bluetooth module, and responds to the connection request from the vehicle-side first Bluetooth module and communicates with the vehicle-side first Bluetooth module via Bluetooth, including: The second Bluetooth slave module obtains a connection request from the first Bluetooth module at the vehicle end, Responding to a connection request from the first Bluetooth module on the vehicle side, communicating with the first Bluetooth module on the vehicle side via Bluetooth; The second Bluetooth master module and the second Bluetooth slave module not connected to the first Bluetooth module on the vehicle side back up the Bluetooth communication information of the second Bluetooth slave module connected to the first Bluetooth module on the vehicle side in real time.
5. A device for backing up multiple Bluetooth keys, characterized in that: Applied to the backup of vehicle-side Bluetooth keys, including: The first Bluetooth module at the vehicle end is used to actively scan the Bluetooth broadcast of the Bluetooth module at the vehicle end; initiate a connection request to the Bluetooth module at the vehicle end; obtain a connection response from the Bluetooth module at the vehicle end; initiate a control command to the Bluetooth module at the vehicle end; and obtain a control response from the Bluetooth module at the vehicle end; A second Bluetooth module at the vehicle end, the second Bluetooth module at the vehicle end includes a second Bluetooth master module and at least one second Bluetooth slave module, each Bluetooth module broadcasts its own Bluetooth broadcast name, and is used to obtain a connection request from the first Bluetooth module at the vehicle end, respond to the connection request from the first Bluetooth module at the vehicle end, and communicate with the first Bluetooth module at the vehicle end via Bluetooth; obtain a vehicle control instruction from the first Bluetooth module at the vehicle end, and send the obtained vehicle control instruction to a vehicle controller; obtain a result of executing the vehicle control instruction fed back by the vehicle controller; and feed back the result of the vehicle executing the control instruction to the first Bluetooth module at the vehicle end; One of the second Bluetooth modules on the vehicle side obtains a connection request from the first Bluetooth module on the vehicle side, responds to the connection request from the first Bluetooth module on the vehicle side, and communicates with the first Bluetooth module on the vehicle side via Bluetooth; The second Bluetooth slave module backs up the Bluetooth communication information of the second Bluetooth master module in real time; The vehicle controller is used to obtain the vehicle control instructions sent by the second Bluetooth module on the vehicle side; execute the obtained vehicle control instructions on the vehicle side; and feed back the results of executing the vehicle control instructions to the second Bluetooth module on the vehicle side.
6. An electronic device, characterized in that: include: a memory for storing non-transitory computer-readable instructions; as well as A processor is used to run the computer-readable instructions, so that when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on a device, cause the device to perform the method according to any one of claims 1 to 4.
