Vehicle function implementation method and device, terminal, storage medium and product
By setting up custom applications and cloud-generating task scripts in the vehicle, the problem of vehicle functions in the prior art cannot be customized, and personalized function implementation and cost savings are achieved.
Patent Information
- Application Number
- CN202411607531.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, vehicle function implementation cannot meet users' personalized needs, and functional customization is limited, so functional changes cannot be achieved by modifying the controller software, resulting in low development efficiency and high cost.
By setting up custom applications in the vehicle, users can enter custom function information and send it to the cloud, and the cloud generates corresponding task scripts. The vehicle receives and runs task scripts, and triggers the controller to perform preset operations to realize custom functions.
It realizes personalized customization of vehicle functions to meet users' unique needs, while no need to modify the controller software, saving development costs and time.
Smart Images

Figure CN119536024A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle control technology, and in particular, relates to a method, device, terminal, storage medium and product for realizing vehicle functions. Background Art
[0002] The traditional development model for realizing vehicle functions is usually that the OEM confirms the requirements, designs the software for the controller, completes the software development, and tests it. After the test is qualified, the controller is upgraded using over-the-air technology. Among them, over-the-air technology (OTA) is an upgrade technology for updating the system, software, and configuration.
[0003] Usually, the software package is sent to the vehicle by OTA cloud. The software package is written by the OEM based on R&D needs or the needs of a large number of users. After the vehicle's controller receives the software package, it is automatically flashed to upgrade the controller's software, allowing the vehicle to achieve more functions.
[0004] However, in the above method, since the software package is universal, the functions that can be realized by the vehicle are all the same, and the user cannot customize the functions of the vehicle, and the personalized needs of the user cannot be met. Summary of the invention
[0005] The embodiments of the present application provide a method, device, terminal, storage medium and product for implementing vehicle functions, which can solve the problem that users cannot customize the functions of the vehicle and cannot meet the personalized needs of users.
[0006] In a first aspect, an embodiment of the present application provides a method for implementing a vehicle function, the method comprising:
[0007] In response to an input operation for at least one customized function of the vehicle, sending function information of the at least one customized function to a cloud;
[0008] receiving at least one task script sent by the cloud, wherein the at least one task script is generated by the cloud according to the function information of the at least one custom function, and each custom function corresponds to one task script;
[0009] During the running of the at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, the controller of the vehicle is triggered to execute the preset operation set in the first task script, and the preset operation is used to implement the custom function corresponding to the first task script. The first task script is a script in the at least one task script.
[0010] In one example, during the running of the at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, triggering the controller of the vehicle to execute the preset operation set in the first task script includes:
[0011] In the process of running the at least one task script, a bus monitoring task is set according to the at least one task script, wherein the bus monitoring task is used to monitor the bus of the vehicle;
[0012] If the target signal corresponding to the first task script is detected in the bus, it is determined that the vehicle signal meets the preset triggering condition of the first task script;
[0013] The controller of the vehicle is triggered to execute a preset operation set in the first task script.
[0014] In one example, triggering the controller of the vehicle to execute a preset operation set in the first task script includes:
[0015] If the diagnostic channel of the vehicle is available, obtaining a diagnostic instruction from the first task script, and transmitting the diagnostic instruction through the diagnostic channel;
[0016] The controller is triggered by the diagnostic instruction to drive the actuator to perform a preset operation set in the first task script.
[0017] In one example, after the controller is triggered to drive the actuator action by the diagnostic instruction, the method further includes:
[0018] Obtaining an execution result of the executor, wherein the execution result is used to indicate execution success or execution failure;
[0019] Feedback information is generated according to the execution result, and the feedback information is sent to the cloud. The feedback information is used by the cloud to count the number of execution successes or execution failures.
[0020] In one example, the at least one task script includes a plurality of task scripts, and each task script of the plurality of task scripts includes script description information;
[0021] In the process of running the at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, triggering the controller of the vehicle to perform the preset operation set in the first task script includes:
[0022] Determining the running order of each task script in the multiple task scripts according to the script description information of each task script in the multiple task scripts;
[0023] Run each of the multiple task scripts in sequence according to the running order;
[0024] During the execution of the plurality of task scripts, if the vehicle signal satisfies a preset trigger condition of a first task script, the controller of the vehicle is triggered to execute a preset operation set in the first task script.
[0025] In one example, in response to an input operation for at least one customized function of the vehicle, sending function information of the at least one customized function to a cloud includes:
[0026] In a case where a customized application is installed on the vehicle-mounted terminal of the vehicle, receiving an input operation for at least one customized function of the vehicle through the customized application;
[0027] Obtaining function information of the at least one customized function through the customized application;
[0028] Sending function information of the at least one custom function to the cloud.
[0029] In a second aspect, an embodiment of the present application provides a device for implementing a vehicle function, the device comprising:
[0030] an interaction module, configured to send function information of at least one customized function to a cloud in response to an input operation for at least one customized function of the vehicle;
[0031] A transceiver module, used for receiving at least one task script sent by the cloud, wherein the at least one task script is generated by the cloud according to the function information of the at least one custom function, and each custom function corresponds to one task script;
[0032] A processing module is used to trigger the controller of the vehicle to execute a preset operation set in a first task script if the vehicle signal of the vehicle meets a preset trigger condition of the first task script during the running of the at least one task script. The preset operation is used to implement a custom function corresponding to the first task script. The first task script is a script in the at least one task script.
[0033] In a third aspect, an embodiment of the present application provides a vehicle-mounted terminal, the device comprising: a processor and a memory storing computer program instructions;
[0034] When the processor executes the computer program instructions, the method for realizing the vehicle function as described in the first aspect is implemented.
[0035] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for implementing the vehicle function as described in the first aspect is implemented.
[0036] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of a vehicle terminal, the vehicle terminal executes the method for implementing the vehicle function as described in the first aspect.
[0037] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising the vehicle-mounted terminal as described in the third aspect.
[0038] The vehicle function implementation method, device, terminal, storage medium and product of the embodiments of the present application respond to the input operation of at least one custom function of the vehicle, send at least one custom function to the cloud, receive at least one task script sent by the cloud, at least one task script is generated by the cloud according to the functional information of at least one custom function, each custom function corresponds to a task script, and in the process of running at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, the vehicle controller is triggered to execute the preset operation set in the first task script, so that the corresponding custom function is realized through the preset operation set in the script. The user can customize the vehicle function according to his own needs, receive the task script sent by the cloud according to the functional information of the custom function, and realize the corresponding custom function by running the task script, which can meet the personalized needs of the user. At the same time, the controller can be triggered by running the task script without modifying the controller's own software, which can also save costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0040] Figure 1 It is a flowchart of an embodiment of a method for realizing a vehicle function provided by the present application;
[0041] Figure 2 is another flowchart diagram of an embodiment of a method for implementing a vehicle function provided by the present application;
[0042] Figure 3 Another flow chart of an embodiment of a method for implementing a vehicle function provided by the present application is shown;
[0043] Figure 4A schematic diagram of a system architecture for implementing vehicle functions provided in an embodiment of the present application is shown;
[0044] Figure 5 Another flowchart of an embodiment of a method for implementing a vehicle function provided by the present application is shown;
[0045] Figure 6 It is a structural schematic diagram of an embodiment of a device for realizing a vehicle function provided by the present application;
[0046] Figure 7 It is a structural schematic diagram of an embodiment of the vehicle-mounted terminal provided by the present application. DETAILED DESCRIPTION
[0047] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0048] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0049] Glossary:
[0050] Script: A computer program consisting of a series of instructions used to perform a specific task in a specific environment.
[0051] ECU: ECU is also called "driving computer" or "on-board computer". It has the same functions as ordinary computers and is composed of microprocessor (MCU), memory (ROM, RAM), input / output interface (I / O), analog-to-digital converter (A / D), and large-scale integrated circuits such as shaping and driving. The function of the electronic control unit is to calculate, process and judge the information input by the air flow meter and various sensors according to the programs and data in its memory, and then output instructions and command the actuator to work.
[0052] The vehicle may be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle may also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle may be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it may be a hybrid vehicle or a pure electric vehicle.
[0053] In related technologies, software packages are usually sent to vehicles via the OTA cloud. The software packages are written by the OEM based on R&D needs or the needs of a large number of users. After receiving the software package, the vehicle's controller automatically flashes the software to upgrade the controller's software, thereby enabling the vehicle to achieve more functions.
[0054] However, in the above method, since the software package is universal, the functions that can be realized by the vehicle are the same, and users cannot customize the functions of the vehicle, which cannot meet the personalized needs of users. Moreover, the realization or change of vehicle functions requires the modification of the vehicle's own controller software, and the development of the software package requires a series of links such as design and testing before it can be used, resulting in low development efficiency and high costs.
[0055] Based on this, the embodiments of the present application provide a method, device, terminal, storage medium and product for implementing vehicle functions. Users can customize the functions of the vehicle according to their own needs, receive task scripts sent by the cloud based on the functional information of the customized functions, and implement the corresponding customized functions by running the task scripts, which can meet the personalized needs of users. Moreover, the controller can be triggered by running the task script without modifying the controller's own software, which can save costs.
[0056] In order to solve the technical problems in the related art, the embodiments of the present application provide a method, device, terminal, storage medium and product for realizing a vehicle function. The following first introduces the method for realizing a vehicle function provided by the embodiments of the present application.
[0057] Figure 1 A flow chart of an embodiment of a method for implementing a vehicle function provided by the present application is shown. The method for implementing a vehicle function of the present application can be applied to a vehicle terminal, which can include a vehicle computer.
[0058] like Figure 1 As shown, the method for implementing the vehicle function provided in the embodiment of the present application includes the following steps S101 to S103, wherein:
[0059] S101. In response to an input operation for at least one customized function of a vehicle, function information of at least one customized function is sent to a cloud.
[0060] In this embodiment, a customized application is set up on the vehicle side, and the user uses the customization to input at least one customized function. For example, the operation page of the customized application includes multiple vehicle function identifiers, such as opening the car door to play songs, and long pressing the P gear to level the main driver's seat, thereby entering the nap mode; select the corresponding custom function identifier in the custom function, select at least one custom function identifier, and in response to the input operation of at least one custom function of the vehicle, the vehicle terminal sends the function information of at least one custom function to the cloud. After receiving the function information of at least one custom function, the cloud generates a task script according to the function information of at least one custom function. It should be noted that playing songs and leveling the main driver's seat are both specific conventional functions of the vehicle. Through customization, the opening of the car door can be associated with playing songs, and the P gear can be associated with the main driver's seat, making the vehicle more functional.
[0061] S102, receiving at least one task script sent by the cloud, where the at least one task script is generated by the cloud according to function information of at least one custom function, and each custom function corresponds to one task script.
[0062] In this embodiment, at least one task script is sent from the cloud, and the vehicle-mounted terminal receives at least one task script sent from the cloud. Each custom function corresponds to a task script. For example, opening the car door to play a song corresponds to a task script, and long pressing the P gear of the vehicle for more than 10 seconds and the vehicle is currently stationary, the driver's seat is flat, and entering the nap mode corresponds to a task script.
[0063] S103. During the running of at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, the vehicle controller is triggered to execute the preset operation set in the first task script. The preset operation is used to implement the custom function corresponding to the first task script. The first task script is a script in at least one task script.
[0064] In this embodiment, a task script is received and executed. In the process of executing at least one task script, it is determined whether the vehicle signal of the vehicle satisfies the preset trigger condition of the task script. If the vehicle signal of the vehicle satisfies the preset trigger condition of the first task script, wherein the first task script is a script in at least one task script, such as the first task script is a task script corresponding to long pressing the P gear of the vehicle, such as for more than 10 seconds and the vehicle is currently stationary, the driver's seat is flat, and the nap mode is entered. When the user long presses the P gear of the vehicle for more than 10 seconds and the vehicle is stationary, the preset trigger condition of the first task script is met, then the vehicle controller is triggered to execute the preset operation set in the first task script, such as triggering the vehicle controller to level the driver's seat, thereby realizing the function, and the preset operation is used to realize the custom function corresponding to the first task script.
[0065] It should be noted that if the user's customized function is to play songs and turn on the air conditioner while opening the door, then a task script corresponds to the customized function. During the running of the task script, the vehicle signal of the vehicle meets the preset trigger conditions of the task script, then the vehicle controller is triggered to execute the preset operations set in the task script, that is, play songs and turn on the air conditioner. The preset operations executed are not limited to one preset operation, but can also be multiple preset operations, depending on how the customized function is set.
[0066] In this embodiment, in response to an input operation for at least one custom function of the vehicle, at least one custom function is sent to the cloud, and at least one task script sent by the cloud is received. The at least one task script is generated by the cloud based on the functional information of the at least one custom function. Each custom function corresponds to a task script. In the process of running at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, the controller of the vehicle is triggered to execute the preset operation set in the first task script, so that the corresponding custom function is realized through the preset operation set in the script. The user can customize the function of the vehicle according to his own needs, receive the task script sent by the cloud based on the functional information of the custom function, and realize the corresponding custom function by running the task script, which can meet the personalized needs of users. At the same time, the controller can be triggered by running the task script without modifying the controller's own software, which can also save costs.
[0067] Figure 2 Another flow chart of an embodiment of the method for implementing a vehicle function provided by the present application is shown. The method for implementing a vehicle function of the present application can be applied to a vehicle-mounted terminal, which can include a vehicle computer.
[0068] like Figure 2As shown, the method for implementing the vehicle function provided in the embodiment of the present application includes the following steps S201 to S205, wherein:
[0069] S201. In response to an input operation for at least one customized function of a vehicle, function information of at least one customized function is sent to a cloud.
[0070] In this embodiment, a customized application is set up on the vehicle side, and the user uses the customization to input at least one customized function. For example, the operation page of the customized application includes multiple vehicle function identifiers, such as opening the car door to play songs, and long pressing the P gear to level the main driver's seat, thereby entering the nap mode; select the corresponding custom function identifier in the custom function, select at least one custom function identifier, and in response to the input operation of at least one custom function of the vehicle, the vehicle terminal sends the function information of at least one custom function to the cloud. After receiving the function information of at least one custom function, the cloud generates a task script according to the function information of at least one custom function. It should be noted that playing songs and leveling the main driver's seat are both specific conventional functions of the vehicle. Through customization, the opening of the car door can be associated with playing songs, and the P gear can be associated with the main driver's seat, making the vehicle more functional.
[0071] In one example, in response to an input operation for at least one customized function of a vehicle, sending function information of at least one customized function to a cloud includes:
[0072] In the case where a customized application is installed on the vehicle terminal, an input operation for at least one customized function of the vehicle is received through the customized application; functional information of at least one customized function is obtained through the customized application; and the functional information of at least one customized function is sent to the cloud.
[0073] In this embodiment, a customized application is pre-installed on the vehicle terminal of the vehicle, and the user interacts with the customized application, such as opening the customized application, selecting a customized function identifier in the interface of the customized application, and the vehicle terminal accepts the input operation of at least one customized function for the vehicle through the customized application, obtains the function information of at least one customized function through the customized application, and the function information includes the above-mentioned customized function identifier, and the vehicle terminal sends the function information of at least one customized function to the cloud. Or, the user wakes up the customized application through a language instruction, speaks at least one desired customized function, and interacts with the customized application through voice input. The customized application recognizes the voice and converts it into text, obtains the function information of at least one customized function, and the vehicle terminal sends the function information of at least one customized function to the cloud. Or, the user opens the customized application, enters the function information of the customized function in the interface of the customized application, the customized application obtains the function information of at least one customized function, and the vehicle terminal sends the function information of at least one customized function to the cloud. In the above process, the setting of the customized function is realized through the customized application, which is convenient for the user to operate and use.
[0074] S202. Receive at least one task script sent by the cloud, where the at least one task script is generated by the cloud according to function information of at least one custom function, and each custom function corresponds to one task script.
[0075] In this embodiment, at least one task script is sent from the cloud, and the vehicle-mounted terminal receives at least one task script sent from the cloud. Each custom function corresponds to a task script. For example, opening the car door to play a song corresponds to a task script, and long pressing the P gear of the vehicle for more than 10 seconds and the vehicle is currently stationary, leveling the driver's seat corresponds to a task script.
[0076] S203. In the process of running at least one task script, a bus monitoring task is set according to the at least one task script, where the bus monitoring task is used to monitor the bus of the vehicle.
[0077] In this embodiment, during the running of at least one task script, bus task monitoring is set according to at least one task script. Specifically, the vehicle-mounted terminal includes a bus data acquisition module, and the customized application of the vehicle-mounted terminal assigns the bus monitoring task to the bus data acquisition module. The bus data acquisition module is used to set the bus monitoring task, and the bus monitoring task is used to monitor the vehicle's bus, such as setting a preset period to periodically monitor the vehicle's bus, or monitoring the vehicle's bus in real time.
[0078] S204: If a target signal corresponding to the first task script is detected in the bus, it is determined that the vehicle signal meets a preset trigger condition of the first task script.
[0079] In this embodiment, the vehicle bus is monitored mainly to identify whether there is a target signal to determine whether the vehicle signal meets the preset trigger conditions of the first task script. If the target signal corresponding to the first task script is detected in the bus, such as the P gear signal corresponding to the first task script is detected in the bus, and the signal lasts for more than 10s, and the vehicle is stationary, it is determined that the vehicle signal meets the preset trigger conditions of the first task script.
[0080] S205, triggering the vehicle controller to execute a preset operation set in the first task script, where the preset operation is used to implement a custom function corresponding to the first task script, and the first task script is a script in at least one task script.
[0081] In this embodiment, the vehicle's controller is triggered to execute the preset operation set in the first task script. The function can be realized by triggering the vehicle's controller to execute the preset operation set in the first task script, such as triggering the vehicle's controller to level the driver's seat. The preset operation is used to realize the custom function corresponding to the first task script.
[0082] In one example, triggering a controller of a vehicle to execute a preset operation set in a first task script includes:
[0083] If the vehicle's diagnostic channel is available, the diagnostic instruction is obtained from the first task script and transmitted through the diagnostic channel; the controller is triggered by the diagnostic instruction to drive the actuator to perform the preset operation set in the first task script.
[0084] In this embodiment, it is determined whether the vehicle's diagnostic channel is available. If other channels of the vehicle with a higher priority than the diagnostic channel are occupied, such as the OTA channel is occupied, indicating that an OTA upgrade is in progress, then it is determined that the vehicle's diagnostic channel is unavailable; if other channels of the vehicle with a lower priority than the diagnostic channel are occupied, then it is determined that the vehicle's diagnostic channel is available. If it is determined that the diagnostic channel is available, the diagnostic instruction is obtained from the first task script. Specifically, the vehicle terminal also includes a diagnostic control module. When the trigger condition is met, the bus data acquisition module triggers the diagnostic task to the diagnostic control module, and the diagnostic control module applies for the diagnostic channel. If it is determined that the diagnostic channel is available, the diagnostic control module obtains the diagnostic instruction from the first task script, and the diagnostic control module transmits the diagnostic instruction through the diagnostic channel. Further, the diagnostic instruction is transmitted to the controller, and the controller drives the corresponding actuator action after receiving the diagnostic instruction, and the actuator executes the preset operation set in the first task script. The triggering of the controller can be achieved by running the task script, without modifying the controller's own software, which can save costs. The vehicle end can use scripts to implement event monitoring and actuator driving without additional software development and testing.
[0085] In one example, after the controller is triggered to drive the actuator to act through the diagnostic instruction, the method further includes:
[0086] Obtain the execution result of the executor, which is used to indicate whether the execution is successful or failed; generate feedback information based on the execution result and send the feedback information to the cloud. The feedback information is used by the cloud to count the number of successful or failed executions.
[0087] In this embodiment, the feedback information includes first feedback information and second feedback information. The vehicle controller monitors whether the actuator action is executed successfully. If the execution result of the actuator indicates successful execution, the first feedback information is generated through a customized application. Specifically, the controller gives a positive response or a negative response according to the execution result of the actuator. A positive response means successful execution, and a negative response means failed execution. If the execution result of the actuator indicates successful execution, the customized application generates the first feedback information. The first feedback information includes the identifier of the first task script and the basic information of the vehicle. The first feedback information is sent to the cloud by the vehicle terminal, wherein the basic information includes at least one of the vehicle identifier, model, manufacturer, controller model, and controller software package version. The cloud determines that the task script is correct based on the first feedback information, and counts the number of successful executions. If the number of successful executions exceeds the first preset number, it indicates that the vehicle controller and the task script are not correct. If there is no problem with the task script, the cloud will send the task script to other vehicles, such as vehicles of the same model as the vehicle in the first feedback information, and the vehicle-mounted terminal of the vehicle will run the task script to realize the corresponding custom function; or, the cloud will write the custom function into the software package, and send the software package to other vehicles. After the vehicle receives the software package, it will automatically flash the software package to upgrade the controller software so that other vehicles also have this function; if the execution result of the actuator indicates that the execution failed, the second feedback information is generated through the customized application, and the second feedback information includes the identifier of the first task script and the basic information of the vehicle. The cloud counts the number of execution failures according to the second feedback information. If the number of execution failures exceeds the second preset number, it means that there is a problem with the vehicle's controller or task script, which is convenient for R&D personnel to further analyze and discover existing problems in time.
[0088] It should be noted that the first preset number of times and the second preset number of times are set according to actual needs.
[0089] In one example, at least one task script includes multiple task scripts, each of the multiple task scripts includes script description information; during the execution of at least one task script, if a vehicle signal of a vehicle meets a preset trigger condition of a first task script, a controller of the vehicle is triggered to execute a preset operation set in the first task script, including:
[0090] Determine the running order of each task script in the multiple task scripts according to the script description information of each task script in the multiple task scripts; run each task script in the multiple task scripts in sequence according to the running order; in the process of running the multiple task scripts, if the vehicle signal meets the preset trigger condition of the first task script, trigger the vehicle's controller to execute the preset operation set in the first task script.
[0091] In this embodiment, at least one task script includes multiple task scripts, each of the multiple task scripts corresponds to a custom function, and each task script includes script description information. According to the script description information of each task script in the multiple task scripts, the running order of each task script in the multiple task scripts is determined. Specifically, the running order is determined based on the priority of the task script. The priorities of the multiple task scripts are compared, and each of the multiple task scripts is run in order from high to low priority. In one example, if the priorities of the multiple task scripts are consistent, one of the multiple scripts that have never been run is selected to run, and the steps of running one of the multiple scripts that have never been run are returned until the multiple task scripts have been run, or the running order is determined based on the urgency of the task scripts. The urgency of the multiple task scripts is compared, and each of the multiple task scripts is run in order from high to low urgency. In one example, if the urgency of the multiple task scripts is consistent, one of the multiple scripts that have never been run is selected to run, and the steps of running one of the multiple scripts that have never been run are returned until the multiple task scripts have been run.
[0092] Furthermore, in the process of running multiple task scripts, if the vehicle signal meets the preset trigger condition of the first task script, the vehicle's controller is triggered to execute the preset operation set in the first task script, such as triggering the vehicle's controller to level the driver's seat, thereby realizing the function. The preset operation is used to realize the custom function corresponding to the first task script.
[0093] In this embodiment, corresponding customized functions are implemented by running task scripts, which can meet the personalized needs of users. At the same time, the controller can be triggered by running the task script without modifying the controller's own software, which can also save costs.
[0094] Figure 3 Another flow chart of an embodiment of the method for realizing a vehicle function provided by the present application is shown. The method for realizing a vehicle function of the present application can be applied to a system for realizing a vehicle function, which includes: a vehicle end and a cloud end.
[0095] S301. The vehicle side responds to an input operation for at least one customized function of the vehicle through a customized application of the vehicle terminal, and sends function information of at least one customized function to the cloud.
[0096] In this embodiment, the vehicle terminal pre-sets a customized application, and the user customizes it to input at least one customized function. For example, the operation page of the customized application includes multiple vehicle function identifiers, such as opening the car door to play a song, and long pressing the P gear to make the driver's seat flat to enter the nap mode; select the corresponding custom function identifier in the custom function, select at least one custom function identifier, and in response to the input operation of at least one custom function of the vehicle, the vehicle terminal sends the function information of at least one custom function to the cloud.
[0097] S302. The cloud generates at least one task script according to the function information of at least one custom function, and each custom function corresponds to a task script.
[0098] In this embodiment, the cloud generates at least one task script according to the function information of at least one custom function, wherein each custom function corresponds to the task script one by one.
[0099] S303: The cloud sends at least one task script to the vehicle.
[0100] In this embodiment, the cloud sends at least one task script to the vehicle side, and the vehicle side receives the at least one task script and runs the at least one task script.
[0101] S304a, the vehicle side allocates bus diagnostic tasks through customized applications; S304b the vehicle side allocates diagnostic control tasks through customized applications.
[0102] In this embodiment, the vehicle-side onboard terminal includes a bus data acquisition module and a diagnosis control module. The customized application assigns bus monitoring tasks to the bus data acquisition module, and the customized application assigns diagnosis control tasks to the diagnosis control module.
[0103] S305. During the execution of at least one task script, the bus data acquisition module at the vehicle end sets a bus monitoring task according to at least one task script, and the bus monitoring task is used to monitor the bus of the vehicle.
[0104] In this embodiment, during the execution of at least one task script, the bus data acquisition module sets a bus monitoring task, and the bus monitoring task is used to monitor the bus of the vehicle, such as setting a preset period to periodically monitor the bus of the vehicle, or monitoring the bus of the vehicle in real time.
[0105] S306. If the target signal corresponding to the first task script is detected in the bus, the bus data acquisition module on the vehicle side determines that the vehicle signal meets the preset triggering condition of the first task script.
[0106] In this embodiment, the vehicle bus is monitored mainly to identify whether there is a target signal. If the target signal corresponding to the first task script is detected in the bus, such as the P gear signal corresponding to the first task script is detected in the bus, and the signal lasts for more than 10 seconds, and the vehicle is stationary, it is determined that the vehicle signal meets the preset trigger conditions of the first task script, and the bus data acquisition module triggers the diagnostic task to the diagnostic control module.
[0107] S307: If the diagnostic channel of the vehicle is available, the diagnostic control module of the vehicle obtains the diagnostic instruction from the first task script and transmits the diagnostic instruction through the diagnostic channel.
[0108] In this embodiment, if the vehicle's diagnostic channel is available, the diagnostic control module is used to trigger the diagnostic instruction, and the diagnostic control module applies for diagnostic approval. If it is determined that the diagnostic channel is available, the diagnostic control module obtains the diagnostic instruction from the first task script, and the diagnostic control module transmits the diagnostic instruction through the diagnostic channel.
[0109] S308. The vehicle end triggers the controller to drive the actuator through the diagnostic instruction, so that the actuator executes the preset operation set in the first task script.
[0110] In this embodiment, the diagnostic control module transmits the diagnostic instruction to the vehicle controller, and the controller drives the corresponding actuator to act after receiving the diagnostic instruction. Specifically, the vehicle controller sends the drive instruction to the actuator so that the actuator performs the preset operation set in the first task script. The controller can be triggered by running the task script without modifying the controller's own software, which can save costs.
[0111] S309: The vehicle-side actuator feeds back the execution status to the vehicle-side controller.
[0112] In this embodiment, the actuator on the vehicle side feeds back the execution status to the controller on the vehicle side, and the execution status is divided into execution failure and execution success.
[0113] S310. The vehicle-side controller feeds back a positive response or a negative response to the diagnosis control module according to the execution status.
[0114] In this embodiment, if the execution status is a failure, the controller on the vehicle side will feedback a negative response to the diagnostic control module according to the execution status (a negative response indicates a failure); if the execution status is a success, the controller on the vehicle side will feedback a positive response to the diagnostic control module according to the execution status (a positive response indicates a success).
[0115] S311. The vehicle-side diagnostic control module feeds back the execution result of the actuator to the customized application based on the positive response / negative response.
[0116] In this embodiment, the vehicle-side diagnostic control module feeds back the result of successful execution of the actuator to the customized application according to a positive response, or feeds back the result of failed execution of the actuator to the customized application according to a negative response.
[0117] S312. The vehicle side generates feedback information based on the execution results through a customized application.
[0118] In this embodiment, if the execution result of the actuator indicates that the execution is successful, the vehicle side generates first feedback information through a customized application, and the first feedback information includes the identifier of the first task script and the basic information of the vehicle. The first feedback information is sent to the cloud by the vehicle terminal, wherein the basic information includes at least one of the vehicle identifier, model, manufacturer, controller model, and controller software package version. If the execution result of the actuator indicates that the execution fails, the vehicle side generates second feedback information through a customized application, and the second feedback information includes the identifier of the first task script and the basic information of the vehicle.
[0119] S313. The vehicle sends feedback information to the cloud.
[0120] In this embodiment, the cloud determines that the task script is correct based on the first feedback information, and counts the number of successful executions. If the number of successful executions exceeds the first preset number, it means that there is no problem with the vehicle's controller and the task script. The cloud sends the task script to other vehicles, such as vehicles of the same model as the vehicle in the first feedback information, and the vehicle-mounted terminal of the vehicle runs the task script to implement the corresponding custom function; or the cloud writes the custom function into a software package, and sends the software package to other vehicles. After the vehicle receives the software package, it automatically flashes to upgrade the controller software, so that other vehicles also have this function. The cloud counts the number of failed executions based on the second feedback information. If the number of failed executions exceeds the second preset number, it means that there is a problem with the vehicle's controller or task script, and further analysis is required by R&D personnel, wherein the first preset number and the second preset number are set according to actual needs.
[0121] In this embodiment, the system includes a cloud side and a vehicle side. The vehicle side reports the functional information of at least one custom function to the cloud side. The cloud side generates at least one task script based on the functional information of at least one custom function and sends it to the vehicle side. The vehicle side implements the corresponding custom function by running the task script, which can meet the user's personalized needs. At the same time, the controller can be triggered by running the task script without modifying the controller's own software, which can save costs.
[0122] The implementation method of the vehicle function provided in the embodiment of the present application can be executed by a vehicle function implementation device. In the embodiment of the present application, the implementation method of the vehicle function implemented by the vehicle function implementation device is taken as an example to illustrate the vehicle function implementation device provided in the embodiment of the present application.
[0123] Figure 4 The schematic diagram of the system architecture for realizing the vehicle functions provided by the embodiment of the present application is shown. Figure 4 As shown, the vehicle function implementation system of the present application includes: a vehicle end and a distributed computing background (the background is the cloud mentioned above), the distributed computing background is connected to at least one vehicle end for communication; the vehicle end is provided with a vehicle-mounted terminal, the vehicle-mounted terminal is installed with an edge computing application (the customized application mentioned above), a diagnostic control module and a bus data acquisition module, wherein the edge computing application, the diagnostic control module and the bus data acquisition module are connected to each other for communication. The vehicle function implementation system provided in the embodiment of the present application can execute the technical solution shown in the method embodiment above, and its implementation principle and beneficial effects are similar, so they will not be repeated here.
[0124] The following is an example of a method for implementing a vehicle function provided in an embodiment of the present application. Figure 5 Another flow chart of an embodiment of the method for realizing a vehicle function provided by the present application is shown as follows: Figure 5 As shown, the method for implementing the vehicle function includes:
[0125] S501, the cloud sends the edge computing script (i.e. the task script mentioned above) to the edge computing application of the vehicle computer (i.e. the customized application mentioned above).
[0126] In this embodiment, the vehicle-side computer responds to the input operation of at least one customized function of the vehicle, sends the functional information of at least one customized function to the cloud, the cloud generates an edge computing script (i.e., the task script mentioned above) based on the functional information of at least one customized function, and the cloud sends at least one edge computing script to the edge computing application of the vehicle-side computer (i.e., the customized application mentioned above).
[0127] S502, the vehicle computer's edge computing application parses the edge computing script recognition task.
[0128] In this embodiment, the edge computing application of the vehicle computer parses at least one edge computing script identification task and assigns corresponding tasks to the diagnostic control module and the bus data acquisition module.
[0129] S503, the edge computing application of the vehicle computer assigns tasks to the diagnosis control module and the bus data acquisition module.
[0130] In this embodiment, the vehicle computer includes a diagnostic control module and a bus data acquisition module. The edge computing application of the vehicle computer assigns tasks to the diagnostic control module and also assigns tasks to the bus data acquisition module.
[0131] S504, the bus data acquisition module sets a bus monitoring task.
[0132] In this embodiment, the bus data acquisition module sets a bus monitoring task, and the bus monitoring task is used to monitor the bus of the vehicle.
[0133] S505, the diagnosis control module sets a monitoring task.
[0134] In this embodiment, the diagnosis control module sets a monitoring task to monitor the bus data acquisition module.
[0135] S506, the bus data acquisition module monitors the bus.
[0136] In this embodiment, a preset period is set, and the bus data acquisition module periodically monitors the bus of the vehicle, or the bus data acquisition module monitors the bus of the vehicle in real time.
[0137] S507, judging whether the triggering condition of the first edge computing script is met (i.e., determining whether the vehicle signal meets the preset triggering condition of the first task script in the above text).
[0138] In this embodiment, the judgment is to meet the triggering conditions of the first edge computing script. Specifically, it is determined whether the vehicle signal meets the preset triggering conditions of the first edge computing script (that is, the determination of whether the vehicle signal meets the preset triggering conditions of the first task script in the above text). If so, execute step 508; if not, monitor the bus.
[0139] S508: If satisfied, determine whether the instruction triggering condition is satisfied.
[0140] In this embodiment, if a target signal corresponding to the first edge computing script (i.e., the first task script mentioned above) is monitored in the bus, it is determined that the vehicle signal meets the preset trigger conditions of the first edge computing script (i.e., the first task script mentioned above), and the diagnostic control module determines whether the instruction trigger conditions are met.
[0141] S509: If the instruction triggering condition is met, the diagnosis control module applies for a diagnosis channel to determine whether the diagnosis channel is available.
[0142] In this embodiment, if the instruction trigger condition is met, the diagnostic control module applies for a diagnostic channel to determine whether the diagnostic channel is available. Specifically, it determines whether the vehicle's diagnostic channel is available. If other channels of the vehicle with a higher priority than the diagnostic channel are occupied, such as the OTA channel is occupied, indicating that an OTA upgrade is in progress, then it is determined that the vehicle's diagnostic channel is unavailable; if other channels of the vehicle with a lower priority than the diagnostic channel are occupied, then it is determined that the vehicle's diagnostic channel is available.
[0143] S510: If the diagnostic channel is available, the diagnostic control module sends a diagnostic instruction to the controller.
[0144] In this embodiment, if the diagnostic channel is available, the diagnostic control module obtains diagnostic instructions from the first edge computing script (i.e., the first task script mentioned above) and transmits the diagnostic instructions through the diagnostic channel; the controller is triggered by the diagnostic instructions to drive the actuator to perform the preset operations set in the first edge computing script (i.e., the first task script mentioned above).
[0145] S511, the controller drives the corresponding actuator to act.
[0146] In this embodiment, the controller is triggered by diagnostic instructions to drive the actuator to execute the preset operation set in the first edge computing script (i.e., the first task script mentioned above).
[0147] S512, determining whether the actuator driving is successful.
[0148] In this embodiment, it is determined whether the actuator is driven successfully (ie, the controller in the above text monitors whether the actuator action is executed successfully).
[0149] S513, if failed, the controller replies with a negative response.
[0150] In this embodiment, if the drive fails (if the execution result of the actuator indicates execution failure), the controller replies with a negative response (that is, the controller in the above text feeds back a negative response to the diagnosis control module according to the execution situation).
[0151] S514, reporting the execution failure to the cloud.
[0152] In this embodiment, the edge computing application (i.e., the customized application mentioned above) reports the execution failure to the cloud. Specifically, the edge computing application generates first feedback information, and the first feedback information includes the identifier of the first edge computing script (i.e., the first task script mentioned above) and the basic information of the vehicle. The first feedback information is sent to the cloud by the vehicle terminal, wherein the basic information includes: at least one of the vehicle identifier, model, manufacturer, controller model, and controller software package version.
[0153] S515, if successful, the controller replies with a positive response.
[0154] In this embodiment, if the driving is successful (if the execution result of the actuator indicates successful execution), the controller replies with a positive response (that is, the controller in the above text feeds back a positive response to the diagnostic control module according to the execution situation).
[0155] S516, reporting the execution success to the cloud.
[0156] In this embodiment, the edge computing application (i.e., the customized application mentioned above) reports the execution success to the cloud. Specifically, the edge computing application generates second feedback information, and the second feedback information includes the identifier of the first edge computing script (i.e., the first task script mentioned above) and the basic information of the vehicle.
[0157] The embodiment of the present application can separate the function implementation from the software of the controller itself, so that the vehicle side can use a dedicated edge computing application to implement monitoring and actuator driving. This solves the problem that the current vehicle function implementation or change requires modifying the vehicle controller software itself, which can save development time and cost and improve efficiency.
[0158] Figure 6 The schematic diagram of the structure of the device for realizing the vehicle function provided by the embodiment of the present application is shown. Figure 6 As shown, the vehicle function implementation device 60 of the present application includes: an interaction module 601, a transceiver module 602 and a processing module 603.
[0159] Among them, the interaction module 601 is used to respond to the input operation of at least one custom function of the vehicle and send the function information of at least one custom function to the cloud. The transceiver module 602 is used to receive at least one task script sent by the cloud, and the at least one task script is generated by the cloud according to the function information of at least one custom function, and each custom function corresponds to a task script. The processing module 603 is used to trigger the controller of the vehicle to execute the preset operation set in the first task script if the vehicle signal of the vehicle meets the preset trigger condition of the first task script during the operation of at least one task script. The preset operation is used to implement the custom function corresponding to the first task script, and the first task script is a script in at least one task script.
[0160] In one example, the processing module 603 is also used to set a bus monitoring task according to at least one task script during the running of at least one task script, and the bus monitoring task is used to monitor the bus of the vehicle; if a target signal corresponding to the first task script is detected in the bus, it is determined that the vehicle signal meets the preset trigger condition of the first task script; and the vehicle controller is triggered to execute the preset operation set in the first task script.
[0161] In one example, the processing module 603 is also used to obtain diagnostic instructions from the first task script and transmit the diagnostic instructions through the diagnostic channel if the vehicle's diagnostic channel is available; trigger the controller to drive the actuator to act through the diagnostic instructions so that the actuator performs the preset operation set in the first task script.
[0162] In one example, the transceiver module 602 is also used to obtain the execution result of the executor, which is used to indicate the success or failure of the execution; feedback information is generated according to the execution result, and the feedback information is sent to the cloud, and the feedback information is used by the cloud to count the number of successful or failed executions.
[0163] In one example, the processing module 603 is also used to determine the running order of each task script in multiple task scripts based on the script description information of each task script in the multiple task scripts; run each task script in the multiple task scripts in sequence according to the running order; in the process of running multiple task scripts, if the vehicle signal meets the preset trigger condition of the first task script, trigger the vehicle's controller to execute the preset operation set in the first task script.
[0164] In one example, the interaction module 601 is also used to receive input operations for at least one customized function of the vehicle through the customized application when a customized application is installed on the vehicle's onboard terminal; obtain functional information of at least one customized function through the customized application; and send functional information of at least one customized function to the cloud.
[0165] The device for implementing the vehicle function provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, so they will not be repeated here.
[0166] Figure 7 A schematic diagram of the hardware structure of the vehicle-mounted terminal provided in an embodiment of the present application is shown.
[0167] The vehicle-mounted terminal may include a processor 701 and a memory 702 storing computer program instructions.
[0168] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0169] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.
[0170] In some embodiments, the memory 702 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0171] The processor 701 reads and executes the computer program instructions stored in the memory 702 to implement any one of the vehicle function implementation methods in the above embodiments.
[0172] In one example, the vehicle terminal may further include a communication interface 707 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 707 are connected via a bus 710 and communicate with each other.
[0173] The communication interface 707 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0174] Bus 710 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0175] The vehicle terminal can execute the vehicle function implementation method in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 6 The invention relates to a method and device for implementing the vehicle functions described.
[0176] In addition, in combination with the implementation method of the vehicle function in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the implementation method of the vehicle function in the above embodiment is implemented.
[0177] In combination with the method for implementing the vehicle functions in the above embodiments, an embodiment of the present application may provide a computer program product. When the instructions in the computer program product are executed by the processor of the vehicle terminal, the vehicle terminal implements the method for implementing the vehicle functions in the above embodiments.
[0178] In combination with the vehicle-mounted terminal in the above embodiment, an embodiment of the present application may provide a vehicle, which includes the vehicle-mounted terminal in the above embodiment.
[0179] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0180] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0181] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0182] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0183] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for realizing a vehicle function, characterized in that: include: In response to an input operation for at least one customized function of the vehicle, sending function information of the at least one customized function to a cloud; receiving at least one task script sent by the cloud, wherein the at least one task script is generated by the cloud according to the function information of the at least one custom function, and each custom function corresponds to one task script; During the running of the at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, the controller of the vehicle is triggered to execute the preset operation set in the first task script, and the preset operation is used to implement the custom function corresponding to the first task script. The first task script is a script in the at least one task script.
2. The method for realizing vehicle functions according to claim 1, characterized in that: In the process of running the at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, triggering the controller of the vehicle to execute the preset operation set in the first task script includes: In the process of running the at least one task script, a bus monitoring task is set according to the at least one task script, wherein the bus monitoring task is used to monitor the bus of the vehicle; If the target signal corresponding to the first task script is detected in the bus, it is determined that the vehicle signal meets the preset triggering condition of the first task script; The controller of the vehicle is triggered to execute a preset operation set in the first task script.
3. The method for realizing vehicle functions according to claim 2, characterized in that: The triggering of the controller of the vehicle to execute the preset operation set in the first task script includes: If the diagnostic channel of the vehicle is available, obtaining a diagnostic instruction from the first task script, and transmitting the diagnostic instruction through the diagnostic channel; The controller is triggered by the diagnostic instruction to drive the actuator to perform a preset operation set in the first task script.
4. The method for realizing vehicle functions according to claim 3, characterized in that: After the controller is triggered to drive the actuator to act by the diagnostic instruction, the method further includes: Obtaining an execution result of the executor, wherein the execution result is used to indicate execution success or execution failure; Feedback information is generated according to the execution result, and the feedback information is sent to the cloud. The feedback information is used by the cloud to count the number of execution successes or execution failures.
5. The method for realizing a vehicle function according to any one of claims 1 to 4, characterized in that: The at least one task script includes a plurality of task scripts, each of the plurality of task scripts includes script description information; In the process of running the at least one task script, if the vehicle signal of the vehicle meets the preset trigger condition of the first task script, triggering the controller of the vehicle to perform the preset operation set in the first task script includes: Determining the running order of each task script in the multiple task scripts according to the script description information of each task script in the multiple task scripts; Run each of the multiple task scripts in sequence according to the running order; During the execution of the plurality of task scripts, if the vehicle signal satisfies a preset trigger condition of a first task script, the controller of the vehicle is triggered to execute a preset operation set in the first task script.
6. The method for realizing a vehicle function according to any one of claims 1 to 4, characterized in that: The step of sending, in response to an input operation for at least one customized function of the vehicle, function information of the at least one customized function to a cloud comprises: In a case where a customized application is installed on the vehicle-mounted terminal of the vehicle, receiving an input operation for at least one customized function of the vehicle through the customized application; Obtaining function information of the at least one customized function through the customized application; Sending function information of the at least one custom function to the cloud.
7. A device for realizing vehicle functions, characterized in that: The device comprises: an interaction module, configured to send function information of at least one customized function to a cloud in response to an input operation for at least one customized function of the vehicle; A transceiver module, used for receiving at least one task script sent by the cloud, wherein the at least one task script is generated by the cloud according to the function information of the at least one custom function, and each custom function corresponds to one task script; A processing module is used to trigger the controller of the vehicle to execute a preset operation set in a first task script if the vehicle signal of the vehicle meets a preset trigger condition of the first task script during the running of the at least one task script. The preset operation is used to implement a custom function corresponding to the first task script. The first task script is a script in the at least one task script.
8. A vehicle-mounted terminal, characterized in that: The vehicle-mounted terminal includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for implementing the vehicle function as described in any one of claims 1-6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for implementing the vehicle function as described in any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that When the instructions in the computer program product are executed by the processor of the vehicle terminal, the vehicle terminal executes the method for implementing the vehicle function as described in any one of claims 1 to 6.
11. A vehicle, characterized in that: Comprising the vehicle-mounted terminal as claimed in claim 8.