Vehicle controller flashing method and device, electronic equipment and storage medium

By detecting work order instances and version numbers, remote activation and management of vehicle products were achieved, avoiding the duplication of development processes for each product, reducing costs and improving efficiency.

CN115344288BActive Publication Date: 2025-11-25CHONGQING CHANGAN TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211013837.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2025-11-25
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

The lack of existing technologies for products with remotely activated pluggable hardware functionality leads to increased development costs and longer development cycles.

Method used

By detecting whether a work order instance has been triggered, obtaining the work order engine request version number, and creating an OTA task when the version number is higher than that of the vehicle system, or directly entering the configuration code waiting state, sending the configuration code to the target vehicle and performing the flashing activation operation, the problem of remote activation and management of vehicle products is solved.

Benefits of technology

There is no need to develop a separate process for each product, which reduces development costs and improves the efficiency and flexibility of remote activation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115344288B_ABST
    Figure CN115344288B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of vehicles, in particular to a vehicle controller flashing method and device, an electronic device and a storage medium, wherein the method comprises the following steps: detecting whether a work order instance is triggered, and when it is detected that the work order instance is triggered, obtaining a work order engine request version number of a current open instance from the work order instance; when the work order engine request version number is higher than a vehicle machine version number of a target vehicle, creating an OTA task of the work order engine, and after the OTA task of the work order engine is executed, entering a configuration code waiting flashing state, otherwise, directly entering the configuration code waiting flashing state; after detecting an ignition request of a user, sending the configuration code to the target vehicle, and executing a configuration code flashing activation operation to flash the configuration code into a corresponding controller of the target vehicle. Thus, the problem of remote opening and management of a vehicle product is solved, a set of processes need not be developed for one kind of commodity, development cycle is avoided from being increased, and cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a method, apparatus, electronic device, and storage medium for flashing a vehicle controller. Background Technology

[0002] With the rapid development of the internet industry and communication technology, users' requirements for vehicles are no longer limited to the powertrain; they are paying more attention to the driving experience, making automatic control systems and intelligent in-vehicle services hot topics. Currently, there are not many service-oriented products on the vehicle market; most are pre-installed with hardware and users need to purchase software to use them. However, with increasing market demand and the growing availability of pluggable hardware, users can choose pluggable products according to their needs, which places greater demands on remote and efficient activation technology.

[0003] A customized function activation system is proposed in the related technology. When the vehicle system receives a request to activate the customized function, it obtains the user's permission information for using the customized function, and activates the customized function when the user has the permission to use the customized function.

[0004] However, the relevant technologies do not provide a solution for remotely activating functional products such as those with pluggable hardware. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and storage medium for flashing a vehicle controller, to solve the problem of remote activation and management of vehicle products. It eliminates the need to develop a separate process for each product, thereby avoiding increased development cycles and reducing costs.

[0006] The first aspect of this application provides a method for flashing a vehicle controller, comprising the following steps: detecting whether a work order instance is triggered, and when the work order instance is detected to be triggered, obtaining the work order engine request version number of the currently activated instance from the work order instance; when the work order engine request version number is higher than the vehicle infotainment system version number of the target vehicle, creating an OTA (Over-the-Air Technology) task for the work order engine, and after completing the OTA task for the work order engine, entering a configuration code waiting-to-flash state; otherwise, directly entering the configuration code waiting-to-flash state; after detecting a user's ignition request, sending the configuration code to the target vehicle, and performing the configuration code flashing activation action to flash the configuration code into the corresponding controller of the target vehicle.

[0007] Based on the aforementioned technical means, this application can solve the problem of remote activation and management of vehicle products, eliminating the need to develop a separate process for each product, thus avoiding increased development cycles and reducing costs.

[0008] Optionally, in some embodiments, the above-described vehicle controller flashing method further includes: sending a test instance to the target vehicle; receiving the execution result generated by the target vehicle based on the test instance; if the execution result is successful, sending a process end instruction to a preset mobile terminal; if the execution result is a failure, resending the test instance to the target vehicle until the number of failures exceeds a preset number, and then sending a process failure instruction to the preset mobile terminal.

[0009] Based on the aforementioned technical means, this application can provide feedback on the execution results, thus avoiding unnecessary waste.

[0010] Optionally, in some embodiments, detecting whether a work order instance is triggered includes: receiving a user's instruction to obtain an activation template list; obtaining a target activation template list from a preset template library based on the activation template list acquisition instruction, and sending the target activation template list to the user; after the user completes the list payment, generating a trigger instruction for the work order instance based on the target activation template list and the product identifier in the target activation template list, and detecting whether the work order instance is triggered based on the trigger instruction.

[0011] Based on the aforementioned technical means, this application can trigger a detection work order example after the user completes the list payment according to user needs.

[0012] Optionally, in some embodiments, before obtaining the target activation template list from the preset list template library based on the activation template list acquisition instruction, the method further includes: creating a new business work order template, wherein the new business work order template includes a configuration template name and a process node; and generating the preset list template library based on the configuration template name and the process node.

[0013] Based on the aforementioned technical means, this application can continuously expand the list template library, adding the functional products required by users.

[0014] Optionally, in some embodiments, after writing the configuration code into the corresponding controller of the target vehicle, the method further includes: saving the currently activated instance to the user's rights center to increase the user's rights.

[0015] Based on the aforementioned technical means, this application can increase user rights according to usage needs.

[0016] A second aspect of this application provides a vehicle controller flashing device, comprising: a detection module, configured to detect whether a work order instance is triggered, and when the work order instance is detected to be triggered, to obtain the work order engine request version number of the currently activated instance from the work order instance; a configuration module, configured to create an OTA task for the work order engine when the work order engine request version number is higher than the vehicle infotainment system version number of the target vehicle, and after completing the OTA task for the work order engine, to enter a configuration code waiting-to-flash state, otherwise directly enter the configuration code waiting-to-flash state; and a flashing module, configured to send the configuration code to the target vehicle after detecting a user's ignition request, and to execute the configuration code flashing activation action to flash the configuration code into the corresponding controller of the target vehicle.

[0017] Optionally, in some embodiments, the vehicle controller flashing device described above is further configured to: send a test instance to the target vehicle; receive the execution result generated by the target vehicle based on the test instance; if the execution result is successful, send a process end instruction to a preset mobile terminal; if the execution result is a failure, resend the test instance to the target vehicle until the number of failures exceeds a preset number, and send a process failure instruction to the preset mobile terminal.

[0018] Optionally, in some embodiments, the detection module is further configured to: receive a user's instruction to obtain an activation template list; obtain a target activation template list from a preset template library based on the activation template list acquisition instruction, and send the target activation template list to the user; after the user completes the list payment, generate a trigger instruction for the work order instance based on the target activation template list and the product identifier in the target activation template list, and detect whether the work order instance has been triggered based on the trigger instruction.

[0019] Optionally, in some embodiments, before obtaining the target activation template list from the preset list template library based on the activation template list acquisition instruction, the detection module is further configured to: create a new business work order template, wherein the new business work order template includes a configuration template name and a process node; and generate the preset list template library according to the configuration template name and the process node.

[0020] Optionally, in some embodiments, after the configuration code is written into the corresponding controller of the target vehicle, the writing module is further configured to: save the current activation instance to the user's rights center to increase the user's rights.

[0021] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle controller flashing method as described in the above embodiments.

[0022] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the vehicle controller flashing method as described in the above embodiments.

[0023] Therefore, by detecting whether a work order instance has been triggered, and upon detection, retrieving the work order engine request version number of the currently activated instance from the work order instance, and if the work order engine request version number is higher than the vehicle's in-vehicle infotainment system version number, an OTA task for the work order engine is created. After completing the OTA task, the system enters a configuration code waiting-to-flash state; otherwise, it directly enters the configuration code waiting-to-flash state. Upon detecting a user's ignition request, the system sends the configuration code to the target vehicle and executes the configuration code flashing activation action, flashing the configuration code into the corresponding controller of the target vehicle. This solves the problem of remote activation and management of vehicle products, eliminating the need to develop a separate process for each product, avoiding increased development cycles, and reducing costs.

[0024] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0025] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0026] Figure 1 This is a flowchart of a vehicle controller flashing method according to an embodiment of this application;

[0027] Figure 2 This is a schematic diagram of the activation system framework provided according to an embodiment of this application;

[0028] Figure 3 This is a flowchart illustrating the system activation process according to one embodiment of this application;

[0029] Figure 4 This is a schematic diagram illustrating the creation of a work order template according to an embodiment of this application;

[0030] Figure 5 This is a flowchart illustrating an activation example according to an embodiment of this application;

[0031] Figure 6This is a flowchart illustrating the system activation process according to one embodiment of this application;

[0032] Figure 7 This is a block diagram of a vehicle controller flashing device according to an embodiment of this application;

[0033] Figure 8 This is a schematic diagram of an electronic device provided according to an embodiment of this application.

[0034] Explanation of reference numerals in the attached drawings: 10-Writing device for vehicle controller, 100-Detection module, 200-Configuration module, and 300-Writing module. Detailed Implementation

[0035] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0036] The following description, with reference to the accompanying drawings, details a vehicle controller flashing method, apparatus, electronic device, and storage medium according to embodiments of this application. Addressing the issues of remote activation and management of vehicle products mentioned in the background art, this application provides a vehicle controller flashing method. In this method, the method detects whether a work order instance is triggered. When a work order instance is detected as triggered, the method obtains the work order engine request version number of the current activation instance from the work order instance. If the work order engine request version number is higher than the vehicle infotainment system version number of the target vehicle, an OTA task for the work order engine is created. After completing the OTA task, the method enters a configuration code waiting-to-flash state; otherwise, it directly enters the configuration code waiting-to-flash state. Upon detecting a user's ignition request, the method sends a configuration code to the target vehicle and executes a configuration code flashing activation action, flashing the configuration code into the corresponding controller of the target vehicle. This solves the problem of remote activation and management of vehicle products, eliminating the need to develop a separate process for each product, avoiding increased development cycles, and reducing costs.

[0037] Specifically, Figure 1 This is a flowchart illustrating a method for flashing a vehicle controller according to an embodiment of this application.

[0038] like Figure 1 As shown, the flashing method for this vehicle controller includes the following steps:

[0039] In step S101, it is detected whether the work order instance has been triggered, and when the work order instance is detected to be triggered, the work order engine request version number of the currently activated instance is obtained from the work order instance.

[0040] It should be noted that, as Figure 2 As shown, work order management mainly includes: work order template management and activation record (work order instance) management. Template management includes template creation, deletion, and querying; activation record management mainly manages the viewing of activation records; the work order execution engine retrieves the work order template and certain triggering conditions (in), initiates the work order process, proceeds, and ends, and then specifically adds benefits (out).

[0041] Optionally, in some embodiments, detecting whether a work order instance is triggered includes: receiving a user's instruction to obtain an activation template list; obtaining a target activation template list from a preset list template library based on the activation template list acquisition instruction, and sending the target activation template list to the user; after the user completes the list payment, generating a trigger instruction for a work order instance based on the target activation template list and the product identifier in the target activation template list, and detecting whether the work order instance is triggered based on the trigger instruction.

[0042] Specifically, the service activation process in this application embodiment can be as follows: Figure 3 As shown, the Digital Product Center is the business system for managing digital products, and opening a module means opening the system; the Digital Commodity Center is the back-end management system for configuring digital commodities; and the Rights Center is the system for managing order rights.

[0043] After receiving the user's instruction to activate a template, dedicated personnel (initially developers, later product managers, or operations staff) activate the management page to create a new service's work order template. The work order template can be, for example... Figure 4 As shown, the work order template includes configuration template name, process nodes, etc. The business system digital product center will then define whether each product needs to be activated. If so, it will bind the activation work order template and send the target activation template list to the user. After the user completes the list payment, the system will generate a trigger instruction for the work order instance based on the target activation template list and the product identifier in the target activation template list, and check whether the work order instance has been triggered based on the trigger instruction.

[0044] Optionally, in some embodiments, before obtaining the target activation template list from the preset list template library based on the activation template list retrieval instruction, the method further includes: creating a new business work order template, wherein the new business work order template includes a configuration template name and process nodes; and generating a preset list template library based on the configuration template name and process nodes.

[0045] Specifically, such as Figure 4 As shown, users can add a work order template according to business requirements. The work order nodes are: determine controller version, OTA upgrade, and ignition screen refresh configuration code (the node code is maintained by the developers).

[0046] In step S102, when the work order engine request version number is higher than the vehicle infotainment system version number of the target vehicle, an OTA task for the work order engine is created, and after the OTA task for the work order engine is completed, the configuration code waiting to be flashed is entered; otherwise, the configuration code waiting to be flashed is entered directly.

[0047] Specifically, in this embodiment, the controller can compare the OS version number requested by the work order engine with the OS version number of the vehicle's infotainment system. If the vehicle's OS version is too low (the cloud-based OS is usually a newer version), an OTA task is created, and a task request is sent to the OTA system. When the vehicle is powered on again, the vehicle will obtain the user's list of pending tasks and the OTA task from the work order engine. After the vehicle completes the OTA upgrade, it will inform the HU-API (Application Program Interface) that the OTA task is complete, thus informing the process engine module that the OTA task is complete and the next step can proceed. After the OTA upgrade task is completed, the process enters the configuration code flashing business node; if the version comparison detects a match, the process directly proceeds to the configuration code flashing business node.

[0048] In step S103, after detecting the user's ignition request, a configuration code is sent to the target vehicle, and a configuration code flashing activation action is performed to flash the configuration code into the corresponding controller of the target vehicle.

[0049] Specifically, when a user requests to restart the engine, and there are no unexecuted work order nodes before flashing the configuration code, the configuration code flashing activation action is performed. The cloud sends the configuration code, the vehicle's TBOX (Telematics-BOX) receives the configuration code, flashes it into the corresponding controller, and the target function can then be used normally.

[0050] Optionally, in some embodiments, after writing the configuration code into the corresponding controller of the target vehicle, the method further includes: saving the currently activated instance to the user's rights center to increase the user's rights.

[0051] In actual execution, after a user purchases the product, the activation system will generate an activation instance, and the work order engine will execute the work order process. After the execution is completed, it will inform the rights center that rights can be added and rights calculated.

[0052] Specifically, in the process definition and creation phase, such as Figure 5As shown, the work order engine uses a flowchart editor or an XML (eXtensible Markup Language) text editor to draw flowcharts. After drawing, it calls the process deployment interface to upload the process file and corresponding forms. The workflow system in the work order engine configures the corresponding version of the process definition for testing vehicles / users.

[0053] During the execution phase of the process instance, such as Figure 5 As shown, after starting a process instance, the work order engine determines the process definition version of the vehicle / user instance based on the configured control policy. Specifically, it adds the process definition version number to the received parameters and then calls the process instance startup interface, along with parameters such as the process definition ID (Identity document), VIN (Vehicle Identification Number), user ID, and other business-related parameters. After the process instance node starts execution, it calls the business system service interface to process the workflow. The process also includes exception detection. The system determines whether the process instance node executes normally. If it does, the process instance execution ends, and the system notifies the third-party system that the process has ended, sending a message to the corresponding business system. If the process instance node executes abnormally, after three consecutive requests all indicating an execution error, a WeChat notification is sent to indicate that the process has abnormally ended.

[0054] Optionally, in some embodiments, the above-described vehicle controller flashing method further includes: sending a test instance to the target vehicle; receiving the execution result generated by the target vehicle based on the test instance; if the execution result is successful, sending a process end instruction to a preset mobile terminal; if the execution result is a failure, resending the test instance to the target vehicle until the number of failures exceeds a preset number, and then sending a process failure instruction to the preset mobile terminal.

[0055] The preset number of attempts can be set by the user, obtained through a limited number of experiments, or obtained through a limited number of computer simulations. No specific limitation is made here. The preset mobile terminal can be a cloud server, mobile phone, PC (Personal Computer), etc. No specific limitation is made here.

[0056] Specifically, in this embodiment of the application, the anti-test instance is sent to the target vehicle, and the execution result is fed back to the preset mobile terminal. If the execution is successful, a process end command can be sent to the preset service terminal. If it is unsuccessful, it is tried again until the number of failures exceeds the preset number. Then, a process failure command is sent to the preset mobile terminal so that relevant technical personnel can handle and resolve the issue.

[0057] The vehicle controller flashing method proposed in this application detects whether a work order instance is triggered. When a work order instance is detected, the work order engine request version number of the currently activated instance is obtained from the work order instance. If the work order engine request version number is higher than the vehicle's in-vehicle system version number, an OTA task for the work order engine is created. After completing the OTA task, the system enters a configuration code waiting-to-flash state; otherwise, it directly enters the configuration code waiting-to-flash state. Upon detecting a user's ignition request, a configuration code is sent to the target vehicle, and a configuration code flashing activation action is performed to flash the configuration code into the corresponding controller of the target vehicle. This solves the problem of remote activation and management of vehicle products, eliminating the need to develop a separate process for each product, avoiding increased development cycles, and reducing costs.

[0058] Next, the vehicle controller flashing device according to an embodiment of this application is described with reference to the accompanying drawings.

[0059] Figure 7 This is a block diagram of a vehicle controller flashing device according to an embodiment of this application.

[0060] like Figure 7 As shown, the vehicle controller's flashing device 10 includes: a detection module 100, a configuration module 200, and a flashing module 300.

[0061] The detection module 100 is used to detect whether a work order instance has been triggered, and when a work order instance is detected to be triggered, it obtains the work order engine request version number of the currently activated instance from the work order instance; the configuration module 200 is used to create an OTA task for the work order engine when the work order engine request version number is higher than the vehicle infotainment system version number of the target vehicle, and enters the configuration code waiting state after the OTA task of the work order engine is completed, otherwise it directly enters the configuration code waiting state; the flashing module 300 is used to send the configuration code to the target vehicle after detecting the user's ignition request, and execute the configuration code flashing activation action to flash the configuration code into the corresponding controller of the target vehicle.

[0062] Optionally, in some embodiments, the vehicle controller flashing device 10 described above is further configured to: send test instances to the target vehicle; receive the execution results generated by the target vehicle based on the test instances; if the execution result is successful, send a process end instruction to a preset mobile terminal; if the execution result is a failure, resend the test instances to the target vehicle until the number of failures exceeds a preset number, and then send a process failure instruction to the preset mobile terminal.

[0063] Optionally, in some embodiments, the detection module 100 is further configured to: receive a user's instruction to obtain an activation template list; obtain a target activation template list from a preset list template library based on the activation template list acquisition instruction, and send the target activation template list to the user; after the user completes the list payment, generate a trigger instruction for a work order instance based on the target activation template list and the product identifier in the target activation template list, and detect whether the work order instance has been triggered based on the trigger instruction.

[0064] Optionally, in some embodiments, before obtaining the target activation template list from the preset list template library based on the activation template list acquisition instruction, the detection module 100 is further configured to: create a new business work order template, wherein the new business work order template includes a configuration template name and process nodes; and generate a preset list template library based on the configuration template name and process nodes.

[0065] Optionally, in some embodiments, after the configuration code is written into the corresponding controller of the target vehicle, the writing module 300 is further used to: save the currently activated instance to the user's rights center to increase the user's rights.

[0066] It should be noted that the foregoing explanation of the vehicle controller flashing method embodiment also applies to the vehicle controller flashing device of this embodiment, and will not be repeated here.

[0067] The vehicle controller flashing device proposed in this application detects whether a work order instance is triggered. When a work order instance is detected to be triggered, the device obtains the work order engine request version number of the currently activated instance from the work order instance. If the work order engine request version number is higher than the vehicle's in-vehicle infotainment system version number, an OTA task for the work order engine is created. After completing the OTA task, the device enters a configuration code waiting-to-flash state; otherwise, it directly enters the configuration code waiting-to-flash state. Upon detecting a user's ignition request, the device sends a configuration code to the target vehicle and performs a configuration code flashing activation action, flashing the configuration code into the corresponding controller of the target vehicle. This solves the problem of remote activation and management of vehicle products, eliminating the need to develop a separate process for each product, avoiding increased development cycles, and reducing costs.

[0068] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:

[0069] The memory 801, the processor 802, and the computer program stored on the memory 801 and capable of running on the processor 802.

[0070] When the processor 802 executes the program, it implements the vehicle controller flashing method provided in the above embodiments.

[0071] Furthermore, electronic devices also include:

[0072] Communication interface 803 is used for communication between memory 801 and processor 802.

[0073] The memory 801 is used to store computer programs that can run on the processor 802.

[0074] The memory 801 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.

[0075] If the memory 801, processor 802, and communication interface 803 are implemented independently, then the communication interface 803, memory 801, and processor 802 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0076] Optionally, in a specific implementation, if the memory 801, processor 802, and communication interface 803 are integrated on a single chip, then the memory 801, processor 802, and communication interface 803 can communicate with each other through an internal interface.

[0077] The processor 802 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of this application.

[0078] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described vehicle controller flashing method.

[0079] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0080] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0081] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0082] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (FPGAs), field-programmable gate arrays (FPGAs), etc.

[0083] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0084] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A method for flashing a vehicle controller, characterized in that, The method includes the following steps: Create and configure a work order template containing multiple ordered process nodes, wherein the process nodes of the work order template include at least a controller version determination node, an OTA upgrade node, and an ignition screen refresh configuration code node. Receive the user's command to retrieve the list of activation templates; Based on the instruction to obtain the activation template list, the target activation template list is obtained from the preset template list library and sent to the user; After the user completes the list payment, a trigger instruction for a work order instance is generated based on the target activation template list and the product identifier in the target activation template list. The trigger instruction is used to detect whether the work order instance has been triggered. When the work order instance is detected to be triggered, the work order engine request version number of the current activation instance is obtained from the work order instance. The execution process of the work order instance includes: when the work order engine request version number is higher than the vehicle infotainment system version number of the target vehicle, an OTA task of the work order engine is created, and after the OTA task of the work order engine is completed, the configuration code waiting to be flashed is entered; otherwise, the configuration code waiting to be flashed is entered directly; and after detecting the user's ignition request, the configuration code is sent to the target vehicle, and the configuration code flashing activation action is executed to flash the configuration code into the corresponding controller of the target vehicle. Send the test instance to the target vehicle; Receive the execution result generated by the target vehicle based on the test instance; If the execution result is successful, a process end command is sent to the preset mobile terminal; if the execution result is unsuccessful, the test instance is resent to the target vehicle until the number of failures exceeds a preset number, and a process failure command is sent to the preset mobile terminal.

2. The method according to claim 1, characterized in that, Before obtaining the target activation template list from the preset template library based on the activation template list acquisition instruction, the method further includes: Create a new business work order template, wherein the new business work order template includes a configuration template name and process nodes; The preset list template library is generated based on the configuration template name and the process node.

3. The method according to claim 1, characterized in that, After writing the configuration code into the corresponding controller of the target vehicle, the process also includes: The currently activated instance is saved to the user's rights center to increase the user's rights.

4. A flashing device for a vehicle controller performing the method as described in any one of claims 1-3, characterized in that, The device includes: The detection module is used to detect whether a work order instance has been triggered, and when the work order instance is detected to have been triggered, to obtain the work order engine request version number of the currently activated instance from the work order instance. The configuration module is used to create an OTA task for the work order engine when the version number requested by the work order engine is higher than the vehicle infotainment system version number of the target vehicle, and to enter the configuration code waiting-to-flash state after completing the OTA task; otherwise, it directly enters the configuration code waiting-to-flash state. The flashing module is used to send the configuration code to the target vehicle after detecting the user's ignition request, and to perform the configuration code flashing activation action to flash the configuration code into the corresponding controller of the target vehicle.

5. The apparatus according to claim 4, characterized in that, Also used for: Send the test instance to the target vehicle; Receive the execution result generated by the target vehicle based on the test instance; If the execution result is successful, a process end command is sent to the preset mobile terminal; if the execution result is unsuccessful, the test instance is resent to the target vehicle until the number of failures exceeds a preset number, and a process failure command is sent to the preset mobile terminal.

6. The apparatus according to claim 4, characterized in that, The detection module is also used for: Receive the user's command to retrieve the list of activation templates; Based on the instruction to obtain the activation template list, the target activation template list is obtained from the preset template list library and sent to the user; After the user completes the list payment, a trigger instruction for the work order instance is generated based on the target activation template list and the product identifier in the target activation template list, and the trigger instruction is used to detect whether the work order instance has been triggered.

7. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the flashing method for a vehicle controller as described in any one of claims 1-4.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the flashing method for the vehicle controller as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Vehicle service upgrading method, device and system

    CN111090445A

  • Consumption order process management method and device, computer equipment and storage medium

    CN112330298A

  • Automobile software function configuration remote management system and method

    CN112953779A

  • Vehicle cloud platform architecture system and method for realizing payment authorization of vehicle-mounted software

    CN114710521A