Vehicle discrete configuration method, electronic equipment, storage medium and program product

By parsing vehicle configuration words through multi-segment configuration and byte order concatenation, and using the configuration words to generate discrete logic tables in the cloud and write them discretely into the electronic control unit, the flexibility and scalability problems of traditional configuration word parsing methods are solved, and efficient configuration word distribution and parsing across platforms and vehicle models are achieved.

CN121501331APending Publication Date: 2026-02-10VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511605753.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-04
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Traditional configuration word parsing methods lack flexibility and scalability, failing to meet the demands of rapid platform iteration in automotive cockpits.

Method used

The vehicle configuration word is parsed using a multi-segment configuration and byte order concatenation method. The configuration data is stored through discrete and discontinuous byte bits. The configuration word is used to generate a discrete logic table in the cloud and write it discretely into the electronic control unit. The vehicle system controller parses and converts it into string configuration data.

Benefits of technology

It achieves flexible extensibility of configuration words, improves development and release efficiency, solves the risk of shifting caused by insufficient configuration word planning bits, and supports systematic distribution and parsing of configuration words across platforms and vehicle models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121501331A_ABST
    Figure CN121501331A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle discrete configuration method, electronic equipment, a storage medium and a program product, and can be applied to the technical field of vehicle configuration. The method is applied to a vehicle-mounted system controller of a vehicle, the vehicle-mounted system controller is in communication connection with an electronic control unit, and the method comprises the following steps: acquiring original configuration byte data stored by the electronic control unit; wherein the original configuration byte data comprises configuration data fragments discretely stored through at least one data bit field in the electronic control unit; analyzing the original configuration byte data to obtain logic configuration data; and converting the logic configuration data to obtain character string configuration data and storing the character string configuration data. According to the method, the configuration data is stored based on discrete and discontinuous byte bits, the shifting risk caused by insufficient configuration word planning bits can be flexibly processed, expansion can be achieved only through discrete configuration, analysis codes do not need to be modified, and the development and release efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle configuration technology, and in particular to a vehicle discrete configuration method, electronic device, storage medium and program product. Background Technology

[0002] As automobiles become increasingly electronic and intelligent, the functions of electronic control units (ECUs) are becoming more complex, requiring the configuration and management of an ever-growing number of parameters. These parameters are typically stored in the ECU's non-volatile memory in the form of configuration words.

[0003] Since the configuration words contain key parameters about vehicle hardware configuration and function settings, other vehicle systems such as the in-vehicle infotainment system (IVI) and advanced driver assistance system (ADAS) need to read and correctly parse these configuration words from the electronic control unit to adapt to different vehicle models, regions or user preferences and achieve specific functions (such as whether specific hardware exists, whether a certain function is enabled, etc.).

[0004] However, traditional configuration word parsing methods often lack flexibility and scalability, have high development complexity, and cannot meet the needs of rapid iteration and platformization of automotive cockpits. Summary of the Invention

[0005] This application provides a vehicle discrete configuration method, electronic device, storage medium, and program product to effectively increase the flexibility and scalability of configuration word technology solutions.

[0006] In a first aspect, embodiments of this application provide a vehicle discrete configuration method, applied to a vehicle's on-board system controller, wherein the on-board system controller is communicatively connected to an electronic control unit, comprising:

[0007] Obtain the original configuration byte data stored in the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, and the configuration data segments include logical configuration values ​​corresponding to configuration items;

[0008] The original configuration byte data is parsed to obtain logical configuration data; wherein, the logical configuration data includes the logical configuration value of at least one configuration item;

[0009] The logical configuration data is converted to obtain string configuration data and stored; wherein, the string configuration data includes string configuration values ​​of at least one configuration item, and the string configuration values ​​are used by the applications or services configured by the vehicle system controller to call them in order to adjust the configuration parameters of the vehicle system according to the string configuration values.

[0010] In one possible implementation, parsing the original configuration byte data to obtain logical configuration data includes:

[0011] The original configuration byte data is traversed to extract the logical configuration values ​​of the configuration items corresponding to each configuration data fragment;

[0012] The logical configuration values ​​of each configuration item are concatenated to obtain the logical configuration data.

[0013] In one possible implementation, the original configuration byte data is traversed to extract the logical configuration values ​​of the configuration items corresponding to each configuration data fragment, including:

[0014] Traverse the original configuration byte data to obtain at least one configuration data fragment;

[0015] For each configuration data segment, traverse the configuration data segment and extract the logical configuration value of the corresponding configuration item in the configuration data segment.

[0016] In one possible implementation, the logical configuration values ​​of each configuration item are concatenated to obtain the logical configuration data, including:

[0017] Based on preset multi-segment splicing rules, the logical configuration values ​​of the configuration items corresponding to each configuration data segment are spliced ​​together to obtain the logical configuration data.

[0018] In one possible implementation, the method further includes, before parsing the original configuration byte data:

[0019] The original configuration byte data is converted into a data structure that can be processed by the vehicle system controller.

[0020] In one possible implementation, obtaining the raw configuration byte data stored in the electronic control unit includes:

[0021] Send a configuration data request to the electronic control unit; wherein the configuration data request is used to request the electronic control unit to send the original configuration byte data to the vehicle system controller;

[0022] Receive the original configuration byte data transmitted by the electronic control unit.

[0023] In one possible implementation, the method further includes, before sending a configuration data request to the electronic control unit:

[0024] Listen to the raw configuration byte data stored in the electronic control unit;

[0025] When a change is detected in the original configuration byte data, a configuration data request is sent to the electronic control unit.

[0026] Secondly, embodiments of this application provide a vehicle discrete configuration method applied to a vehicle's electronic control unit, wherein the electronic control unit is communicatively connected to at least one on-board system controller, comprising:

[0027] Obtain raw configuration byte data imported from the configuration word cloud; wherein, the configuration word cloud is used to store discrete configuration logic tables generated based on the configuration word summary table, and the raw configuration byte data is extracted from the discrete configuration logic tables according to the vehicle information of the vehicle;

[0028] The original configuration byte data is discretely written into the non-volatile storage area of ​​the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, the configuration data segments include logical configuration values ​​corresponding to configuration items, and the original configuration byte data is used for the vehicle system controller to read and parse.

[0029] In one possible implementation, the original configuration byte data is discretely written into the non-volatile storage area of ​​the electronic control unit, including:

[0030] The original configuration byte data is discretely written into the non-volatile storage area of ​​the electronic control unit using diagnostic tools.

[0031] Thirdly, embodiments of this application provide a vehicle discrete configuration device applied to a vehicle's on-board system controller, wherein the on-board system controller is communicatively connected to an electronic control unit, and includes:

[0032] The data acquisition module is used to acquire the original configuration byte data stored in the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, and the configuration data segments include logical configuration values ​​corresponding to configuration items;

[0033] The data parsing module is used to parse the original configuration byte data to obtain logical configuration data; wherein, the logical configuration data includes the logical configuration value of at least one configuration item;

[0034] The data conversion module is used to convert the logical configuration data, obtain string configuration data, and store it; wherein, the string configuration data includes string configuration values ​​of at least one configuration item, and the string configuration values ​​are used for applications or services configured by the vehicle system controller to call, so as to adjust the configuration parameters of the vehicle system according to the string configuration values.

[0035] Fourthly, embodiments of this application provide a vehicle discrete configuration device applied to an electronic control unit of a vehicle, wherein the electronic control unit is communicatively connected to at least one on-board system controller, comprising:

[0036] The data import module is used to obtain raw configuration byte data imported from the configuration word cloud; wherein, the configuration word cloud is used to store discrete configuration logic tables generated based on the configuration word summary table, and the raw configuration byte data is extracted from the discrete configuration logic tables according to the vehicle information of the vehicle;

[0037] The data writing module is used to discretely write the original configuration byte data into the non-volatile storage area of ​​the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, the configuration data segments include logical configuration values ​​corresponding to configuration items, and the original configuration byte data is used for the vehicle system controller to read and parse.

[0038] Fifthly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0039] The memory stores computer-executed instructions;

[0040] The processor executes computer execution instructions stored in the memory, causing the processor to perform various possible implementations of the first and / or second aspects described above.

[0041] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement various possible implementations of the first and / or second aspects described above.

[0042] In a seventh aspect, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements various possible implementations of the first and / or second aspects described above.

[0043] Eighthly, embodiments of this application provide a vehicle including the electronic equipment described in the fifth aspect above.

[0044] Compared with the prior art, this application has the following advantages:

[0045] This application provides a vehicle discrete configuration method, electronic device, storage medium, and program product. It stores configuration data based on discrete, discontinuous byte bits, thus offering a solution for parsing vehicle configuration words based on multi-segment configuration and byte-order concatenation. This flexibly handles the shift risk caused by insufficient planned bits in the configuration word, and expansion can be achieved simply through discrete configuration without modifying the parsing code, improving development and release efficiency. Furthermore, based on discrete storage of configuration words, it effectively solves the problem of how to combine multiple scattered, discontinuous bit segments from the original data of the electronic control unit into logical configuration data, increasing the flexibility and scalability of the configuration word technology solution. Attached Figure Description

[0046] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0047] Figure 1 This is a schematic diagram of the architecture of a vehicle discrete configuration system provided in an embodiment of this application;

[0048] Figure 2 A flowchart illustrating a vehicle discrete configuration method provided in an embodiment of this application;

[0049] Figure 3 A flowchart illustrating another vehicle discrete configuration method provided in an embodiment of this application;

[0050] Figure 4 A flowchart illustrating yet another vehicle discrete configuration method provided in this application embodiment;

[0051] Figure 5 This is a schematic diagram of the structure of a vehicle discrete configuration device provided in an embodiment of this application;

[0052] Figure 6 This is a schematic diagram of another vehicle discrete configuration device provided in an embodiment of this application;

[0053] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0054] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0055] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0056] First, let me explain the terms used in this application:

[0057] Electronic Control Unit (ECU): The core control module of an automotive electronic control system, based on a microcontroller (MCU) architecture, is responsible for receiving sensor signals, processing data, and controlling the working state of vehicle subsystems to achieve intelligent management of various vehicle systems.

[0058] Vehicle system controller: This refers to the control module that controls various vehicle systems (such as in-vehicle infotainment system (IVI), advanced driver assistance system (ADAS), etc.). It is responsible for managing and controlling the various subsystems of the vehicle to ensure the safe, efficient and comfortable operation of the vehicle.

[0059] Configuration word: In fields such as computers, microcontrollers, and automotive electronics, this refers to a key data structure used to define hardware or software functional parameters. It is typically stored in non-volatile memory (such as EEPROM, Flash, etc.) as binary bit fields or encoded values. Its core function is to control device functions, adapt to hardware differences, or customize system behavior through specific combinations of configuration words.

[0060] As automobiles become increasingly electronic and intelligent, the functions of electronic control units (ECUs) are becoming more complex, requiring the configuration and management of an ever-growing number of parameters. These parameters are typically stored in the ECU's non-volatile memory in the form of configuration words.

[0061] Since the configuration words contain key parameters about vehicle hardware configuration and function settings, other vehicle systems such as the in-vehicle infotainment system (IVI) and advanced driver assistance system (ADAS) need to read and correctly parse these configuration words from the electronic control unit to adapt to different vehicle models, regions or user preferences and achieve specific functions (such as whether specific hardware exists, whether a certain function is enabled, etc.).

[0062] However, traditional configuration word parsing methods often lack flexibility and scalability, have high development complexity, and cannot meet the needs of rapid iteration and platformization of automotive cockpits.

[0063] To address the aforementioned technical issues, this application provides a vehicle discrete configuration method, electronic device, storage medium, and program product. By configuring multiple segments and concatenating them according to byte order, the vehicle configuration word is parsed, effectively increasing the flexibility and scalability of the configuration word technical solution.

[0064] Below, in conjunction with Figure 1 This application describes the architecture of the vehicle discrete configuration system involved.

[0065] Figure 1 This is a schematic diagram of the architecture of a vehicle discrete configuration system provided in an embodiment of this application. (See attached diagram.) Figure 1 In some embodiments, the vehicle discrete configuration system includes a configuration word cloud 101, a vehicle electronic control unit 102, and at least one vehicle system controller 103. The electronic control unit 102 is communicatively connected to both the configuration word cloud 101 and the at least one vehicle system controller 103.

[0066] Configuration word cloud 101 is used to store discrete logic configuration tables, which include basic information for each configuration word, such as the name, description, number of retries, and multiple discrete data bit field tables.

[0067] Specifically, the name is used to assign a unique identifier to the configuration word, facilitating quick identification; the description briefly explains the core function of the configuration word, including the corresponding hardware module and configuration range; the retry count is the maximum retry threshold when writing the configuration word to the hardware register. When a write fails (e.g., bus busy, hardware not responding), it will automatically retry. If it still fails after the retry count, an error will be reported. For example, if the retry count is set to 3, an error will be reported after 3 retries to ensure the reliability of the configuration; the discrete data bit field table is used to discretely record the independent bit regions (data bit fields are not contiguous) corresponding to different functions in the configuration word. Each data bit field corresponds to the basic information of a configuration item and is the carrier of the configuration word bit structure.

[0068] Specifically, the discrete logic configuration table is generated based on the configuration word summary table. The project products summarize and organize the configuration word summary table (e.g., an Excel spreadsheet) according to the vehicle definition and product selection, and upload it to the configuration word cloud platform 101. The configuration word cloud platform 101 then uses an automated script to parse the configuration word summary table and generate the discrete logic configuration table (e.g., a JSON table).

[0069] The electronic control unit 102 sends a request to the configuration word cloud 101 based on vehicle information such as vehicle model, order, or region. The configuration word cloud 101 determines the logical configuration values ​​(e.g., air conditioning type: automatic, sunroof: present) for each configuration data segment based on the vehicle information carried in the request. Then, the configuration word cloud 101 encodes or packages these logical configuration values ​​into a continuous raw byte stream (i.e., raw configuration byte data) and sends it to the electronic control unit 102. The electronic control unit 102 then discretly writes this raw configuration byte data to a specific non-volatile storage area. Simultaneously, the raw configuration byte data is written in a scattered and discontinuous manner using discrete bit segments.

[0070] The vehicle system controller 103 is used to acquire and parse the original configuration byte data stored in the electronic control unit 102 to obtain the logical configuration value contained in the original configuration byte data, and then adjust the configuration of the vehicle system based on the acquired logical configuration value.

[0071] In this embodiment, the vehicle system controller 103 needs to enable relevant functions based on the vehicle's hardware configuration. Traditional configuration words, when encountering insufficient planned configuration bits during the expansion iteration process, require re-shifting and adding new bits to meet the expansion needs, resulting in poor scalability and inability to meet platform requirements. Therefore, to improve the flexibility and scalability of vehicle configuration word distribution and increase efficiency, an automated tool is used to generate a configuration word mapping table based on the product selection configuration summary table. The current software solution implements parsing, combination, and retry strategies for multiple discontinuous, cross-byte original configuration data segments. Storing configuration data based on discrete, discontinuous byte bits can flexibly handle the shifting risk caused by insufficient planned configuration bits. Expansion can be achieved simply through discrete configuration without modifying the parsing code, effectively improving development and release efficiency.

[0072] It should be noted that, Figure 1 This is merely a schematic diagram of the architecture of a vehicle discrete configuration system provided in an embodiment of this application. This embodiment of the application does not represent... Figure 1 The document does not limit the actual form of the various devices included, nor does it specify the form of the devices. Figure 1 The interaction or connection methods between various devices are limited, and can be set according to actual needs in the specific application of the technical solution.

[0073] Based on the aforementioned vehicle discrete configuration system architecture, the technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0074] Figure 2 This is a flowchart illustrating a vehicle discrete configuration method provided in an embodiment of this application. (See attached diagram.) Figure 2 In some embodiments, this vehicle discrete configuration method is applied to the vehicle's onboard system controller, which communicates with the electronic control unit. The specific process includes the following steps:

[0075] S201, Obtain the original configuration byte data stored in the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, and the configuration data segments include the logical configuration values ​​of the corresponding configuration items.

[0076] Optionally, the acquisition of raw configuration byte data specifically includes:

[0077] Step 1: Send a configuration data request to the electronic control unit; wherein, the configuration data request is used to request the electronic control unit to send raw configuration byte data to the vehicle system controller.

[0078] Specifically, the vehicle system controller sends a configuration data request to the electronic control unit, requesting the electronic control unit to send the stored raw configuration byte data to the vehicle system controller.

[0079] Specifically, the configuration data request carries information such as a unique identifier, timestamp, data range, and authentication information.

[0080] Specifically, when the vehicle system controller and the electronic control unit communicate via the CAN channel, the configuration data request uses a CAN diagnostic request frame.

[0081] Step 2: Receive the raw configuration byte data transmitted by the electronic control unit.

[0082] In this process, after the electronic control unit sends the raw configuration byte data to the vehicle system controller, the vehicle system controller receives the raw configuration byte data.

[0083] Optionally, before sending the configuration data request to the electronic control unit, the following may also be included:

[0084] Step 1: Listen to the raw configuration byte data stored in the electronic control unit.

[0085] The vehicle system controller continuously monitors the original configuration byte data stored in the electronic control unit to check whether the original configuration byte data stored in the electronic control unit has changed.

[0086] Specifically, the vehicle system controller can use techniques such as polling, event-driven mechanisms, and message queues to monitor the raw configuration bytes stored in the electronic control unit. Polling detects data changes by periodically and proactively querying the data source, a simple technique to implement. Event-driven mechanisms capture changes in real time by listening to events proactively triggered by the data source, offering fast response times and low resource consumption. Message queues allow producers to push messages to the queue when data changes, and consumers subscribe to the queue to receive change notifications, decoupling system components and supporting asynchronous processing.

[0087] Step 2: When a change is detected in the original configuration byte data, a configuration data request is sent to the electronic control unit.

[0088] If the original configuration byte data stored in the electronic control unit changes, the vehicle system controller sends a configuration data request to the electronic control unit to request the latest original configuration byte data.

[0089] S202, parse the original configuration byte data to obtain the logical configuration data.

[0090] Optionally, the acquisition of logical configuration data specifically includes:

[0091] Step 1: Traverse the original configuration byte data and extract the logical configuration values ​​of the corresponding configuration items for each configuration data fragment.

[0092] Step 2: Concatenate the logical configuration values ​​of each configuration item to obtain the logical configuration data.

[0093] This involves combining the various logical configuration values ​​extracted from the original configuration byte data into a meaningful and complete logical configuration data.

[0094] Optionally, the extraction of logical configuration values ​​for configuration items corresponding to each configuration data fragment specifically includes:

[0095] Step 1: Traverse the original configuration byte data to obtain at least one configuration data fragment.

[0096] Step 2: For each configuration data fragment, traverse the configuration data fragments and extract the logical configuration values ​​of the corresponding configuration items in the configuration data fragments.

[0097] Specifically, the structure of the original configuration byte data is traversed through a double loop. The starting byte, starting bit, and number of bits occupied by each configuration word in the original configuration byte data are extracted. The byte is located through shift and mask operations. Based on the starting bit and the number of bits to be extracted in the byte, the logical configuration value represented by the current data bit segment is accurately extracted.

[0098] Optionally, the basic information of the configuration item includes multi-segment concatenation rules, which concatenate the logical configuration values ​​of each configuration item to obtain logical configuration data. This includes: for each configuration data segment, concatenating the logical configuration values ​​of the corresponding configuration items based on the multi-segment concatenation rules of the configuration item to obtain logical configuration data.

[0099] Among them, the correct concatenation of multiple logical configuration values ​​is achieved through the multi-segment concatenation rules of configuration items.

[0100] Optionally, before parsing the raw configuration byte data, the method further includes: converting the raw configuration byte data into a data structure that can be processed by the vehicle system controller.

[0101] This involves converting external, human-readable configuration rules into data structures that can be efficiently processed by the internal program of the vehicle system controller, thus preparing the data for subsequent rapid lookup and parsing of each logical configuration item.

[0102] S203, convert the logical configuration data, obtain string configuration data and store it; wherein, the string configuration data includes the string configuration value of at least one configuration item, and the string configuration value is used for the application or service configured by the vehicle system controller to call, so as to adjust the configuration parameters of the vehicle system according to the string configuration value.

[0103] The vehicle system controller calls an interface to convert logical configuration data into string configuration data and sets the converted string values ​​to the corresponding storage system for exposure to upper-layer applications or services. This allows upper-layer applications to adjust their behavior based on the string configuration data, thereby achieving personalization and adaptation of the vehicle's in-vehicle system functions.

[0104] In this embodiment, configuration data is stored based on discrete, non-contiguous byte bits, providing a solution for parsing vehicle configuration words based on multi-segment configuration and byte-order concatenation. This approach flexibly handles the shift risk caused by insufficient planned bits in the configuration word, and expansion can be achieved simply through discrete configuration without modifying the parsing code, thus improving development and release efficiency. Furthermore, based on discrete storage of configuration words, it effectively solves the problem of how to combine multiple scattered, non-contiguous bit segments from the original data of the electronic control unit into logical configuration data, increasing the flexibility and scalability of the configuration word technology solution.

[0105] Figure 3 A flowchart illustrating another vehicle discrete configuration method provided in this application embodiment is shown below. Figure 3 In some embodiments, this vehicle discrete configuration method is applied to the vehicle's electronic control unit, which is communicatively connected to at least one on-board system controller. The specific process includes the following steps:

[0106] S301, Obtain the raw configuration byte data imported from the configuration word cloud; wherein, the configuration word cloud is used to store the discrete configuration logic table generated based on the configuration word summary table, and the raw configuration byte data is extracted from the discrete configuration logic table according to the vehicle information.

[0107] The project products summarize the configuration words into an Excel summary table based on the vehicle definition and product selection. An automated script is used to parse the summary table to generate a logical table EcuTable.json, which contains the basic information of each configuration word (name, description, number of retries, and multiple scattered, non-contiguous data segment tables).

[0108] S302, the original configuration byte data is discretely written into the non-volatile storage area of ​​the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, the configuration data segments include the logical configuration values ​​of the corresponding configuration items, and the original configuration byte data is used for the vehicle system controller to read and parse.

[0109] The configuration word settlement system determines the specific value of each configuration item (e.g., air conditioning type = automatic, sunroof = present) based on the needs of a specific vehicle model, order, or region. Then, according to the physical location (byte index, bit offset, bit length) of each configuration item (and its segments) defined in the summary table in the ECU storage, these logical values ​​are "encoded" or "packed" into a continuous raw byte stream. During the EOL vehicle generation process, diagnostic tools write the data to a specific non-volatile storage area of ​​the first system.

[0110] Specifically, the EOL (End of Line) vehicle production process is the final checkpoint in automobile manufacturing to ensure product quality. Its core is to conduct comprehensive verification of the assembled vehicle through systematic testing and adjustments, ultimately ensuring that every vehicle off the production line meets safety and performance standards.

[0111] Optionally, the original configuration byte data can be discretely written to the non-volatile storage area of ​​the electronic control unit, including: using a diagnostic tool to discretely write the original configuration byte data to the non-volatile storage area of ​​the electronic control unit.

[0112] The core function of writing data into the non-volatile storage area of ​​the vehicle's electronic control unit (ECU) through diagnostic tools is to achieve persistent storage and flexible configuration of critical data, while improving diagnostic efficiency, ensuring system security, and adapting to the diverse needs throughout the vehicle's life cycle.

[0113] In this embodiment, the configuration word scheme is based on an extension scheme of the same configuration word for multiple electronic control units, which can effectively avoid maintaining multiple configuration word schemes and realize a systematic configuration word distribution, configuration, parsing and storage scheme across platforms and vehicle models.

[0114] Figure 4 A flowchart illustrating another vehicle discrete configuration method provided in this application embodiment is shown below. Figure 4 In some embodiments, the vehicle discrete configuration method is applied to a vehicle discrete configuration system, which includes a configuration word cloud, an electronic control unit of the vehicle, and at least one on-board system controller. The process includes the following steps:

[0115] S401, Configuration word cloud receives configuration word summary table.

[0116] S402, a discrete configuration logic table generated by the configuration word cloud based on the configuration word summary table.

[0117] S403, the configuration word cloud extracts the original configuration byte data from the discrete configuration logic table based on the vehicle information.

[0118] S404, the configuration word cloud imports the discrete configuration logic table into the electronic control unit.

[0119] S405, the electronic control unit uses diagnostic tools to discretely write the original configuration byte data into a non-volatile memory area.

[0120] S406, the vehicle system controller listens to the raw configuration byte data stored in the electronic control unit.

[0121] S407: When the vehicle system controller detects a change in the original configuration byte data, it sends a configuration data request to the electronic control unit.

[0122] S408, the vehicle system controller receives raw configuration byte data transmitted by the electronic control unit.

[0123] S409, the vehicle system controller traverses the original configuration byte data and extracts the logical configuration values ​​of the corresponding configuration items for each configuration data segment.

[0124] S410, the vehicle system controller concatenates the logical configuration values ​​of each configuration item to obtain logical configuration data.

[0125] S411, the vehicle system controller converts the logical configuration data, obtains the string configuration data, and stores it.

[0126] In this embodiment, it should be noted that, Figure 4 The implementation principles and technical effects of each step in the process shown can be found in the previous text. Figure 2 and Figure 3 The relevant explanations will not be repeated here.

[0127] Figure 5 This is a schematic diagram of the structure of a vehicle discrete configuration device provided in an embodiment of this application. (See attached diagram.) Figure 5 The vehicle discrete configuration device is applied to the vehicle system controller and includes various functional modules for implementing the aforementioned vehicle discrete configuration method. Any functional module can be implemented by software and / or hardware.

[0128] In some embodiments, the vehicle discrete configuration device 500 includes a data acquisition module 501, a data parsing module 502, and a data conversion module 503. Wherein:

[0129] The data acquisition module 501 is used to acquire the original configuration byte data stored in the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, and the configuration data segments include the logical configuration values ​​of the corresponding configuration items;

[0130] The data parsing module 502 is used to parse the original configuration byte data to obtain logical configuration data; wherein, the logical configuration data includes the logical configuration value of at least one configuration item;

[0131] The data conversion module 503 is used to convert logical configuration data, obtain string configuration data and store it; wherein, the string configuration data includes at least one string configuration value of a configuration item, and the string configuration value is used for the application or service configured by the vehicle system controller to call, so as to adjust the configuration parameters of the vehicle system according to the string configuration value.

[0132] In one possible implementation, the data parsing module 502 is specifically used for:

[0133] The original configuration byte data is converted to obtain format parsing data;

[0134] The original configuration byte data is traversed to extract the logical configuration values ​​of the corresponding configuration items for each configuration data fragment;

[0135] The logical configuration values ​​of each configuration item are concatenated to obtain the logical configuration data.

[0136] In one possible implementation, the data parsing module 502 is specifically used for:

[0137] Iterate through the original configuration byte data to obtain at least one configuration data fragment;

[0138] For each configuration data fragment, iterate through the configuration data fragments and extract the logical configuration values ​​of the corresponding configuration items in the configuration data fragments.

[0139] In one possible implementation, the data parsing module 502 is specifically used for:

[0140] For each configuration data fragment, the logical configuration values ​​of the corresponding configuration items are concatenated based on the multi-segment concatenation rules of the configuration items to obtain the logical configuration data.

[0141] In one possible implementation, before parsing the original configuration byte data, the data acquisition module 501 is further used for:

[0142] The original configuration byte data is transformed into a data structure that can be processed by the vehicle system controller.

[0143] In one possible implementation, the data acquisition module 501 is specifically used for:

[0144] Send a configuration data request to the electronic control unit; wherein, the configuration data request is used to request the electronic control unit to send raw configuration byte data to the vehicle system controller;

[0145] Receive raw configuration byte data transmitted by the electronic control unit.

[0146] In one possible implementation, before sending a configuration data request to the electronic control unit, the data acquisition module 501 is further configured to:

[0147] Listen to the raw configuration byte data stored in the electronic control unit;

[0148] When a change is detected in the original configuration byte data, a configuration data request is sent to the electronic control unit.

[0149] The vehicle discrete configuration device 500 provided in this embodiment can perform the following: Figure 2 The method provided in the embodiment of the vehicle discrete configuration method shown has a similar implementation principle and technical effect, and will not be described in detail here.

[0150] Figure 6 This is a schematic diagram of the structure of a vehicle discrete configuration device provided in an embodiment of this application. (See attached diagram.) Figure 6 The vehicle discrete configuration device is applied to the vehicle's electronic control unit, which is communicatively connected to at least one on-board system controller. It includes various functional modules for implementing the aforementioned vehicle discrete configuration method, and any functional module can be implemented by software and / or hardware.

[0151] In some embodiments, the vehicle discrete configuration device 600 includes a data import module 601 and a data writing module 602. Wherein:

[0152] The data import module 601 is used to obtain the raw configuration byte data imported from the configuration word cloud; wherein, the configuration word cloud is used to store the discrete configuration logic table generated based on the configuration word summary table, and the raw configuration byte data is extracted from the discrete configuration logic table according to the vehicle information;

[0153] The data writing module 602 is used to discretely write the original configuration byte data into the non-volatile storage area of ​​the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, the configuration data segments include the logical configuration values ​​of the corresponding configuration items, and the original configuration byte data is used for the vehicle system controller to read and parse.

[0154] In one possible implementation, the data writing module 602 is specifically used for:

[0155] The original configuration byte data is discretely written to the non-volatile storage area of ​​the electronic control unit using diagnostic tools.

[0156] The vehicle discrete configuration device 600 provided in this embodiment can perform the following: Figure 3 The method provided in the embodiment of the vehicle discrete configuration method shown has a similar implementation principle and technical effect, and will not be described in detail here.

[0157] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing elements, entirely in hardware, or partially in software via processing elements and partially in hardware. For example, the data acquisition module 501 can be a separate processing element, or it can be integrated into a chip in the above device. Alternatively, it can be stored as program code in the memory of the above device, and its functions can be called and executed by a processing element. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.

[0158] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 7As shown, the electronic device 700 provided in this embodiment includes at least one processor 701 and a memory 702. The processor 701 and the memory 702 are connected via a bus.

[0159] In a specific implementation, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to perform the above-described method.

[0160] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0161] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0162] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0163] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0164] This application also provides a vehicle that includes the aforementioned electronic equipment.

[0165] In this embodiment, the vehicle uses a discrete configuration method to automatically parse the original configuration byte data within a time frame. Through a cross-byte, multi-segment discontinuous operation scheme, it achieves a cross-platform and cross-model implementation scheme for the vehicle system configuration words.

[0166] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0167] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0168] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0169] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0170] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0171] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0172] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0173] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0174] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0175] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.

[0176] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the appended claims.

[0177] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for discrete vehicle configuration, characterized in that, An on-board system controller for vehicles, wherein the on-board system controller is communicatively connected to an electronic control unit, comprising: Obtain the original configuration byte data stored in the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, and the configuration data segments include logical configuration values ​​corresponding to configuration items; The original configuration byte data is parsed to obtain logical configuration data; wherein, the logical configuration data includes the logical configuration value of at least one configuration item; The logical configuration data is converted to obtain string configuration data and stored; wherein, the string configuration data includes string configuration values ​​of at least one configuration item, and the string configuration values ​​are used by the applications or services configured by the vehicle system controller to call them in order to adjust the configuration parameters of the vehicle system according to the string configuration values.

2. The method according to claim 1, characterized in that, The original configuration byte data is parsed to obtain logical configuration data, including: The original configuration byte data is traversed to extract the logical configuration values ​​of the configuration items corresponding to each configuration data fragment; The logical configuration values ​​of each configuration item are concatenated to obtain the logical configuration data.

3. The method according to claim 2, characterized in that, The original configuration byte data is traversed to extract the logical configuration values ​​of the corresponding configuration items for each configuration data fragment, including: Traverse the original configuration byte data to obtain at least one configuration data fragment; For each configuration data segment, traverse the configuration data segment and extract the logical configuration value of the corresponding configuration item in the configuration data segment.

4. The method according to claim 2, characterized in that, The logical configuration values ​​of each configuration item are concatenated to obtain the logical configuration data, including: Based on preset multi-segment splicing rules, the logical configuration values ​​of the configuration items corresponding to each configuration data segment are spliced ​​together to obtain the logical configuration data.

5. The method according to any one of claims 2-4, characterized in that, Before parsing the original configuration byte data, the method further includes: The original configuration byte data is converted into a data structure that can be processed by the vehicle system controller.

6. The method according to any one of claims 1-4, characterized in that, Obtaining the raw configuration byte data stored in the electronic control unit includes: Send a configuration data request to the electronic control unit; wherein the configuration data request is used to request the electronic control unit to send the original configuration byte data to the vehicle system controller; Receive the original configuration byte data transmitted by the electronic control unit.

7. The method according to claim 6, characterized in that, Before sending a configuration data request to the electronic control unit, the method further includes: Listen to the raw configuration byte data stored in the electronic control unit; When a change is detected in the original configuration byte data, a configuration data request is sent to the electronic control unit.

8. A method for discrete vehicle configuration, characterized in that, An electronic control unit for use in a vehicle, the electronic control unit being communicatively connected to at least one on-board system controller, comprising: Obtain raw configuration byte data imported from the configuration word cloud; wherein, the configuration word cloud is used to store discrete configuration logic tables generated based on the configuration word summary table, and the raw configuration byte data is extracted from the discrete configuration logic tables according to the vehicle information of the vehicle; The original configuration byte data is discretely written into the non-volatile storage area of ​​the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, the configuration data segments include logical configuration values ​​corresponding to configuration items, and the original configuration byte data is used for the vehicle system controller to read and parse.

9. The method according to claim 8, characterized in that, Discretely write the original configuration byte data into the non-volatile storage area of ​​the electronic control unit, including: The original configuration byte data is discretely written into the non-volatile storage area of ​​the electronic control unit using diagnostic tools.

10. A vehicle discrete configuration device, characterized in that, An on-board system controller for vehicles, wherein the on-board system controller is communicatively connected to an electronic control unit, comprising: The data acquisition module is used to acquire the original configuration byte data stored in the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, and the configuration data segments include logical configuration values ​​corresponding to configuration items; The data parsing module is used to parse the original configuration byte data to obtain logical configuration data; wherein, the logical configuration data includes the logical configuration value of at least one configuration item; The data conversion module is used to convert the logical configuration data, obtain string configuration data, and store it; wherein, the string configuration data includes string configuration values ​​of at least one configuration item, and the string configuration values ​​are used for applications or services configured by the vehicle system controller to call, so as to adjust the configuration parameters of the vehicle system according to the string configuration values.

11. A vehicle discrete configuration device, characterized in that, An electronic control unit for use in a vehicle, the electronic control unit being communicatively connected to at least one on-board system controller, comprising: The data import module is used to obtain raw configuration byte data imported from the configuration word cloud; wherein, the configuration word cloud is used to store discrete configuration logic tables generated based on the configuration word summary table, and the raw configuration byte data is extracted from the discrete configuration logic tables according to the vehicle information of the vehicle; The data writing module is used to discretely write the original configuration byte data into the non-volatile storage area of ​​the electronic control unit; wherein, the original configuration byte data includes configuration data segments discretely stored in the electronic control unit through at least one data bit segment, the configuration data segments include logical configuration values ​​corresponding to configuration items, and the original configuration byte data is used for the vehicle system controller to read and parse.

12. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-9.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-9.

14. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-8.

15. A vehicle, characterized in that, The vehicle includes the electronic equipment as described in claim 12.