Automobile button function control method and device

Through the connection between the mobile App and the CANBUS protocol box, the function setting and control of the car buttons are realized, which solves the dependency problem of installation in specialized stores, provides the ability to redefine the original button functions, and improves the convenience and convenience of vehicle management. flexibility.

CN118740970APending Publication Date: 2024-10-01SHENZHEN TEXINGXING INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411223004.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Current automotive aftermarket modification buttons require specialized auto repair shops to dismantle the car, install them and set their functions, and the functions of the original buttons cannot be redefined.

Method used

Obtain the user's vehicle login information through the mobile App, log in to the CANBUS protocol box, obtain vehicle data, set the functions of the car buttons in the mobile App, send functional instructions to the CANBUS protocol box via Bluetooth to control the vehicle, and support unified management by the cloud server and control.

Benefits of technology

It enables users to independently set and control car button functions, avoids dependence on installation in specialized stores, supports redefining the functions of original buttons, and improves the convenience and flexibility of vehicle management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740970A_ABST
    Figure CN118740970A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automobile control, in particular to an automobile button function control method and device.Firstly, user vehicle login information is obtained, a mobile phone App is logged in according to the user vehicle login information, a CANBUS protocol box is connected through Bluetooth, and vehicle data are obtained; the method comprises the steps of performing function setting on an automobile button of a current automobile in a mobile phone App according to automobile data, obtaining a trigger signal of the automobile button, determining a function instruction of the automobile button according to the automobile data, sending the function instruction to a CANBUS protocol box through Bluetooth, and controlling the automobile through the CANBUS protocol box according to the function instruction. Therefore, the problems that the function of the newly-installed button needs to be set by disassembling and installing the button in a special automobile repair shop and the function of the original button cannot be redefined when the button is additionally installed on the automobile at present are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile control, and in particular to an automobile button function control method and device. Background Art

[0002] CAN (Controller Area Network) is an automotive communication protocol, also known as a controller area network. CANbus is the abbreviation of controller area network. It is a serial communication protocol used to achieve data exchange and information transmission between different control systems in a car. In a car, the CAN protocol is a very important protocol. It can connect various control units in a car together to form a local area network. This communication protocol uses a distributed data communication network, so that various control units in the car can exchange and share information. Through the CAN protocol, data transmission and information exchange can be carried out between various systems such as the engine, brakes, and transmissions, thereby achieving efficient control and management of the car. Bluetooth low energy, also known as low-power Bluetooth, is a personal area network technology designed and sold by the Bluetooth Technology Alliance. It is intended for emerging applications in the fields of healthcare, sports and fitness, beacons, security, and home entertainment. Compared with classic Bluetooth, low-power Bluetooth aims to significantly reduce power consumption and cost while maintaining the same communication range.

[0003] Currently, there are many physical buttons in the aftermarket car modifications, which are mainly achieved by disassembling the original car, breaking the original car wiring harness or adapting the original car plug, and then directly connecting the wiring harness to the physical button. The button is then directly connected through the wiring harness, or communicates through Bluetooth BLE and the CANBUS protocol box, so as to realize the control of the car with the newly added physical buttons. However, the current solution requires going to a special auto repair shop to dismantle the car and install it to set the function of the newly installed buttons, and it is impossible to redefine the function of the original buttons. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a method and device for controlling the function of automobile buttons, so as to overcome the problem that the current vehicle must be installed with buttons in a special auto repair shop, where the vehicle must be dismantled and installed to set the functions of the newly installed buttons, and the original buttons cannot be redefined.

[0005] To achieve the above objectives, the present invention adopts the following technical solutions: On the one hand, the present application provides a method for controlling a car button function, comprising: Get the user's vehicle login information; Log in to the mobile app according to the user's vehicle login information, and connect to the CANBUS protocol box via Bluetooth to obtain vehicle data; According to the vehicle data, function settings are performed on the car buttons of the current vehicle in the mobile phone App; Acquire a trigger signal of the car button, and determine a function instruction of the car button according to the vehicle data; The function instruction is sent to the CANBUS protocol box via Bluetooth, and the vehicle is controlled according to the function instruction via the CANBUS protocol box.

[0006] Furthermore, the method described above, wherein the function instruction is sent to the CANBUS protocol box via Bluetooth, and the vehicle is controlled by the CANBUS protocol box according to the function instruction, further includes: Sending the function instruction to the CANBUS protocol box via Bluetooth, and sending the function instruction to the mobile phone App via the CANBUS protocol box; The mobile phone App sends the function instruction to the automobile cloud server, and controls the vehicle according to the function instruction through the automobile cloud server.

[0007] Furthermore, in the method described above, the user vehicle login information includes: a user vehicle login account and a user vehicle login password.

[0008] Furthermore, in the above method, the vehicle data includes: vehicle button ID and vehicle function ID.

[0009] Furthermore, in the above method, the step of obtaining a trigger signal of a car button and determining a function instruction of the car button according to the vehicle data includes: Get the trigger signal of the car button; According to the trigger signal, determine the vehicle button ID; Confirm whether the current vehicle button id is set to the vehicle function id; If so, determining the function instruction of the vehicle button according to the vehicle function id corresponding to the vehicle button id; If not, set the vehicle function id for the vehicle button id.

[0010] Furthermore, the above method further includes: Get the trigger signal of the car button; Displaying the vehicle button ID and vehicle function ID corresponding to the car button on the mobile phone App according to the trigger signal; The vehicle function id corresponding to the car button is modified through the mobile phone App, and the vehicle button id and vehicle function id corresponding to the modified car button are uploaded to the car cloud server.

[0011] Furthermore, the above method further includes: Display all vehicle button IDs and vehicle function IDs of the current vehicle in the mobile app according to the vehicle data; Setting a virtual button in the mobile phone App for the vehicle function ID for which the vehicle button ID is not set; Obtaining a trigger signal of the virtual button, and determining the corresponding vehicle function ID according to the trigger signal; A function instruction is determined according to the vehicle function ID, and the function instruction is sent to a car cloud server, and the vehicle is controlled according to the function instruction by the car cloud server.

[0012] Furthermore, the above method further includes: Obtaining the version numbers of the CANBUS protocol box and the automobile cloud server; Compare the version numbers of the CANBUS protocol box and the automobile cloud server, and when the version number of the automobile cloud server is greater than the version number of the CANBUS protocol box, download the latest firmware package to the mobile phone App through the App; The latest firmware package is sent to the CANBUS protocol box via Bluetooth to upgrade the CANBUS protocol box.

[0013] Furthermore, the above method further includes: The mobile phone App is connected to the CANBUS protocol box via Bluetooth and obtains the underlying data of the vehicle; wherein the underlying data includes: vehicle speed, engine speed, vehicle gear position, vehicle temperature and motor status; The underlying data is displayed to the user through the mobile phone App.

[0014] On the other hand, the present application also provides a car button function control device, including a processor and a memory, wherein the processor is connected to the memory: Wherein, the processor is used to call and execute the program stored in the memory; The memory is used to store the program, and the program is at least used to execute any one of the above-mentioned methods for controlling the function of a car button.

[0015] The beneficial effects of the present invention are: This application first obtains the user's vehicle login information, logs in to the mobile phone App according to the user's vehicle login information, connects to the CANBUS protocol box via Bluetooth, obtains vehicle data, sets the functions of the car buttons of the current vehicle in the mobile phone App according to the vehicle data, obtains the trigger signal of the car button, determines the function instructions of the car button according to the vehicle data, sends the function instructions to the CANBUS protocol box via Bluetooth, and controls the vehicle according to the function instructions through the CANBUS protocol box. In this application, the mobile phone App can communicate with the CANBUS protocol box to obtain vehicle data, and then the functions of all the car buttons of the current vehicle can be set in the mobile phone App, thereby solving the problem that the current vehicle must go to a special auto repair shop to dismantle the car and install the new buttons to set the functions, and the original buttons cannot be redefined. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 It is a flow chart provided by an embodiment of a method for controlling a function of a car button of the present invention; Figure 2 The present invention is a structural diagram of an embodiment of a vehicle button function control device provided by the present invention. DETAILED DESCRIPTION

[0018] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0019] Figure 1 This is a flow chart of an embodiment of a method for controlling a car button function according to the present invention. Figure 1 , this embodiment may include the following steps: S1. Obtain the user's vehicle login information.

[0020] S2. Log in to the mobile app according to the user's vehicle login information, and connect to the CANBUS protocol box via Bluetooth to obtain vehicle data.

[0021] S3. Set the functions of the car buttons of the current vehicle in the mobile phone App according to the vehicle data.

[0022] S4. Obtain a trigger signal of a car button, and determine a function instruction of the car button according to the vehicle data.

[0023] S5. Send the function command to the CANBUS protocol box via Bluetooth, and control the vehicle according to the function command via the CANBUS protocol box.

[0024] It should be noted that mobile apps can be mini programs.

[0025] It can be understood that the present embodiment first obtains the user's vehicle login information, logs in to the mobile phone App according to the user's vehicle login information, connects to the CANBUS protocol box via Bluetooth, obtains vehicle data, sets the functions of the car buttons of the current vehicle in the mobile phone App according to the vehicle data, obtains the trigger signal of the car button, determines the function instructions of the car button according to the vehicle data, sends the function instructions to the CANBUS protocol box via Bluetooth, and controls the vehicle according to the function instructions through the CANBUS protocol box. In the present embodiment, the mobile phone App can communicate with the CANBUS protocol box to obtain vehicle data, and then the functions of all the car buttons of the current vehicle can be set in the mobile phone App, thereby solving the problem that the current vehicle must go to a special auto repair shop to dismantle the vehicle and install the buttons to set the functions of the newly installed buttons, and the original buttons cannot be redefined.

[0026] Preferably, step S5 further includes: Send the function command to the CANBUS protocol box via Bluetooth, and send the function command to the mobile phone App via the CANBUS protocol box; The mobile phone App sends the function instructions to the car cloud server, and controls the vehicle according to the function instructions through the car cloud server.

[0027] It is understandable that when the car owner clicks the physical button, the function command is sent to the CANBUS protocol box via Bluetooth. Then the CANBUS protocol box directly controls the vehicle on the one hand, and gives the function command to the mobile phone App on the other hand. The mobile phone App then sends the command to the vehicle's cloud server, and the cloud server then sends the command to the vehicle. This can solve the problem that the vehicle status cannot be synchronized after some commands sent through the CANBUS protocol box, and at the same time can increase the scope of controllable vehicle commands.

[0028] In some optional embodiments, after the CANBUS protocol box controls the vehicle through functional instructions, it will monitor the vehicle status. If the vehicle does not make a corresponding status within a preset time, the CANBUS protocol box will give the functional instructions to the mobile phone App, and the mobile phone App will send the instructions to the vehicle cloud server, and the cloud server will send the instructions to the vehicle.

[0029] In some optional embodiments, when the car button is a Bluetooth physical button, the Bluetooth physical button is connected to the mobile phone App via Bluetooth. When the Bluetooth physical button is triggered, the mobile phone App directly sends the corresponding function instructions to the car cloud server, and the vehicle is controlled by the car cloud server according to the function instructions.

[0030] Preferably, the user's vehicle login information includes: a user's vehicle login account number and a user's vehicle login password.

[0031] It is understandable that when the user logs in to the mobile app, the car owner can choose to log in to the vehicle account. After logging in, he will obtain access_token and refresh_token. Access_token is the key used to control the vehicle, and refresh_token is the key used to refresh access_token. Access_token will automatically expire every 8 hours. After logging in, the car owner can unlock the most comprehensive vehicle control functions.

[0032] Preferably, the vehicle data includes: vehicle button ID and vehicle function ID.

[0033] Preferably, step S4 comprises: Get the trigger signal of the car button; According to the trigger signal, determine the vehicle button ID; Confirm whether the current vehicle button id is set to the vehicle function id; If yes, then determine the function instruction of the car button according to the vehicle function id corresponding to the vehicle button id; If not, set the vehicle function id for the vehicle button id.

[0034] It is understandable that after the button is clicked, a broadcast signal will be sent to the surrounding area. If the button ID has been registered in the CANBUS box and has a corresponding function, the function will be executed. If there is no record, no processing will be done to avoid interference between different devices.

[0035] Preferably, it also includes: Get the trigger signal of the car button; Display the vehicle button ID and vehicle function ID corresponding to the car button on the mobile app according to the trigger signal; The vehicle function id corresponding to the car button is modified through the mobile phone App, and the vehicle button id and vehicle function id corresponding to the modified car button are uploaded to the car cloud server.

[0036] It can be understood that when modifying the function of a vehicle button, the user first clicks on the car button that needs to be modified. At this time, the mobile app will display the vehicle button id and vehicle function id corresponding to the car button according to the trigger signal of the car button. The user can then modify the vehicle function id corresponding to the car button through the mobile app. When modifying the vehicle function id, the user clicks on the vehicle function id in the mobile app to display all the vehicle function ids of the current vehicle. The function modification of the car button is completed by clicking on the corresponding vehicle function id. Finally, the vehicle button id and vehicle function id corresponding to the modified car button are uploaded to the car cloud server.

[0037] Preferably, it also includes: Display all vehicle button IDs and vehicle function IDs of the current vehicle in the mobile app according to vehicle data; In the mobile app, set a virtual button for the vehicle function ID that has not set a vehicle button ID; Obtain a trigger signal of a virtual button, and determine the corresponding vehicle function ID according to the trigger signal; The function instruction is determined according to the vehicle function ID, and the function instruction is sent to the car cloud server, and the vehicle is controlled according to the function instruction through the car cloud server.

[0038] It is understandable that in order to ensure that the user can control all functions of the vehicle, a virtual button will be set in the user's mobile phone App for the vehicle function ID for which the vehicle button ID is not set, and then the user can control the corresponding functions of the vehicle through the virtual button in the mobile phone App.

[0039] Preferably, it also includes: Get the version number of the CANBUS protocol box and the car cloud server; Compare the version numbers of the CANBUS protocol box and the car cloud server. If the version number of the car cloud server is greater than that of the CANBUS protocol box, download the latest firmware package to the mobile phone App through the App. Send the latest firmware package to the CANBUS protocol box via Bluetooth to upgrade the CANBUS protocol box.

[0040] It is understandable that users can determine whether there is the latest firmware available for upgrade based on the comparison of the local and cloud firmware version numbers. If the cloud firmware version number is greater than the local version number, the latest firmware package can be downloaded to the local mobile phone App through the App, and then transmitted to the CANBUS box via Bluetooth for upgrading. It is very convenient and is an over-the-air upgrade without the need for any wiring harness.

[0041] Preferably, it also includes: The mobile phone App connects to the CANBUS protocol box via Bluetooth and obtains the underlying data of the vehicle, including vehicle speed, engine speed, vehicle gear position, vehicle temperature and motor status. The underlying data is displayed to users through the mobile app.

[0042] It is understandable that the mobile phone App can communicate between Bluetooth and the CAN protocol box to continuously read the underlying data of the car, such as speed, gear, temperature, motor status, etc. The mobile phone can be placed in front of the steering wheel and used as a dashboard.

[0043] The present invention also provides a car button function control device for implementing the above method embodiment. Figure 2 FIG. 1 is a schematic diagram of a structure of an embodiment of a car button function control device provided by the present invention. Figure 2 As shown, the automobile button function control device of this embodiment includes a processor 21 and a memory 22, and the processor 21 is connected to the memory 22. The processor 21 is used to call and execute the program stored in the memory 22; the memory 22 is used to store the program, and the program is at least used to execute the automobile button function control method in the above embodiment.

[0044] The specific implementation scheme of the automobile button function control device provided in the embodiment of the present application can refer to the implementation scheme of the automobile button function control method in any of the above embodiments, which will not be repeated here.

[0045] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0046] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0047] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes 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 invention 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 the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0048] It should be understood that the various parts of the present invention 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.

[0049] 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.

[0050] In addition, each functional unit in each embodiment of the present invention 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 implemented in the form of hardware or 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.

[0051] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0052] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0053] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for controlling a car button function, characterized in that: include: Get the user's vehicle login information; Log in to the mobile app according to the user's vehicle login information, and connect to the CANBUS protocol box via Bluetooth to obtain vehicle data; According to the vehicle data, function settings are performed on the car buttons of the current vehicle in the mobile phone App; Acquire a trigger signal of the car button, and determine a function instruction of the car button according to the vehicle data; The function instruction is sent to the CANBUS protocol box via Bluetooth, and the vehicle is controlled according to the function instruction via the CANBUS protocol box.

2. The method according to claim 1, characterized in that The method further includes sending the function instruction to the CANBUS protocol box via Bluetooth, and controlling the vehicle according to the function instruction via the CANBUS protocol box: Sending the function instruction to the CANBUS protocol box via Bluetooth, and sending the function instruction to the mobile phone App via the CANBUS protocol box; The mobile phone App sends the function instruction to the automobile cloud server, and controls the vehicle according to the function instruction through the automobile cloud server.

3. The method according to claim 2, characterized in that The user vehicle login information includes: a user vehicle login account and a user vehicle login password.

4. The method according to claim 3, characterized in that The vehicle data includes: vehicle button ID and vehicle function ID.

5. The method according to claim 4, characterized in that The step of obtaining a trigger signal of a car button and determining a function instruction of the car button according to the vehicle data includes: Get the trigger signal of the car button; According to the trigger signal, determine the vehicle button ID; Confirm whether the current vehicle button id is set to the vehicle function id; If so, determining the function instruction of the vehicle button according to the vehicle function id corresponding to the vehicle button id; If not, set the vehicle function id for the vehicle button id.

6. The method according to claim 5, characterized in that Also includes: Get the trigger signal of the car button; Displaying the vehicle button ID and vehicle function ID corresponding to the car button on the mobile phone App according to the trigger signal; The vehicle function id corresponding to the car button is modified through the mobile phone App, and the vehicle button id and vehicle function id corresponding to the modified car button are uploaded to the car cloud server.

7. The method according to claim 6, characterized in that Also includes: Display all vehicle button IDs and vehicle function IDs of the current vehicle in the mobile app according to the vehicle data; Setting a virtual button in the mobile phone App for the vehicle function ID for which the vehicle button ID is not set; Obtaining a trigger signal of the virtual button, and determining the corresponding vehicle function ID according to the trigger signal; A function instruction is determined according to the vehicle function ID, and the function instruction is sent to a car cloud server, and the vehicle is controlled according to the function instruction by the car cloud server.

8. The method according to claim 7, characterized in that Also includes: Obtaining the version numbers of the CANBUS protocol box and the automobile cloud server; Compare the version numbers of the CANBUS protocol box and the automobile cloud server, and when the version number of the automobile cloud server is greater than the version number of the CANBUS protocol box, download the latest firmware package to the mobile phone App through the App; The latest firmware package is sent to the CANBUS protocol box via Bluetooth to upgrade the CANBUS protocol box.

9. The method according to claim 8, characterized in that Also includes: The mobile phone App is connected to the CANBUS protocol box via Bluetooth and obtains the underlying data of the vehicle; wherein the underlying data includes: vehicle speed, engine speed, vehicle gear position, vehicle temperature and motor status; The underlying data is displayed to the user through the mobile phone App.

10. A car button function control device, characterized in that: The invention comprises a processor and a memory, wherein the processor is connected to the memory: Wherein, the processor is used to call and execute the program stored in the memory; The memory is used to store the program, and the program is at least used to execute the automobile button function control method according to any one of claims 1-9.

Citation Information

Patent Citations

  • Vehicle electronic control unit function setting method and relevant device

    CN110758280A

  • Vehicle, information processing method, system and device thereof and processor

    CN115550499A

  • Key reuse method and device of steering wheel, vehicle and storage medium

    CN115946628A

Cited By

  • Vehicle-mounted afterloading voice control interaction method

    CN119296538A