Data measurement calibration method, device, vehicle controller, vehicle and medium
By obtaining and matching the process identification and virtual address information to be calibrated, parallel data calibration of vehicle controllers is achieved, which solves the problem of low calibration efficiency in the existing technology, meets the data measurement needs of high-performance vehicles, and improves user experience.
Patent Information
- Application Number
- CN202210385700.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-04-13
AI Technical Summary
Existing vehicle controllers are inefficient at online measurement and calibration of vehicle data and cannot meet the data measurement and calibration requirements of high-performance vehicles, affecting vehicle performance and user experience.
By obtaining the process identifier and virtual address information to be calibrated, and matching it with the application process in the vehicle controller, the corresponding data to be calibrated can be calibrated based on the virtual address information in its own process in parallel, thereby improving calibration efficiency.
It effectively improves the calibration efficiency of each data to be calibrated in the vehicle controller, meets the data calibration needs of high-performance vehicles, and improves the user's product experience.
Smart Images

Figure CN114740825B
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to measurement and calibration technology, and more particularly to a data measurement and calibration method, device, vehicle controller, vehicle, and medium. Background Art
[0002] During the R&D and application phases of automotive products, it is usually necessary to measure and calibrate various data involved in vehicle operation, so as to optimize the vehicle's operating conditions by determining the parameter variables corresponding to each data. Accordingly, with the complexity of the control logic of the vehicle's electronic control system and the addition of autonomous driving functions, it is particularly important to efficiently measure and calibrate various types of vehicle data.
[0003] In the prior art, vehicles usually use microcontroller units (MCU) type vehicle controllers to measure and calibrate the data to be calibrated in the vehicle controller. However, when the MCU type vehicle controller performs online measurement and calibration of the data to be calibrated in the vehicle controller, the calibration efficiency is low and cannot meet the data measurement and calibration requirements of vehicles with higher performance, which affects the performance of the vehicle and brings a bad product experience to users. Summary of the invention
[0004] The present application provides a data measurement calibration method, device, vehicle controller, vehicle and medium to improve the calibration efficiency of each data to be calibrated in the vehicle controller.
[0005] In a first aspect, an embodiment of the present application provides a data measurement calibration method, the method comprising:
[0006] Acquire at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated;
[0007] Matching each of the process identifiers to be calibrated with the application process in the vehicle controller;
[0008] If the match is successful, the corresponding data to be calibrated is calibrated based on the virtual address information of the own process in parallel according to the matched application process.
[0009] In a second aspect, an embodiment of the present application further provides a data measurement calibration device, the device comprising:
[0010] A virtual address information acquisition module, used to acquire at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated;
[0011] An application process matching module, used for matching each of the process identifiers to be calibrated with the application process in the vehicle controller;
[0012] The data to be calibrated calibration module is used to calibrate the corresponding data to be calibrated based on the virtual address information of its own process in parallel according to the matched application process if the match is successful.
[0013] In a third aspect, an embodiment of the present application further provides a vehicle controller, the vehicle controller comprising:
[0014] one or more processors;
[0015] A memory for storing one or more programs;
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the data measurement calibration methods provided in the embodiments of the present application.
[0017] In a fourth aspect, an embodiment of the present application further provides a vehicle, in which any vehicle controller provided by the embodiment of the present application is provided.
[0018] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, characterized in that when the program is executed by a processor, any data measurement and calibration method provided in the embodiment of the present application is implemented.
[0019] The embodiment of the present application can match at least one application process in the vehicle controller by acquiring at least one process identifier to be calibrated and the virtual address information of the data to be calibrated corresponding to the process identifier to be calibrated, thereby realizing the simultaneous execution of measurement and calibration operations on the data to be calibrated under multiple application processes, without the need to perform measurement and calibration operations on each data to be calibrated separately in turn. Therefore, the calibration efficiency of each data to be calibrated in the vehicle controller is effectively improved, and at the same time, the data calibration requirements of high-performance vehicles can be met, which helps users obtain a good product experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a flow chart of a data measurement and calibration method provided in Example 1 of the present application;
[0021] Figure 2 is a flow chart of a data measurement and calibration method provided in Embodiment 2 of the present application;
[0022] Figure 3 This is a flow chart of a data measurement and calibration method provided in Embodiment 3 of the present application;
[0023] Figure 4 This is a flow chart of a data measurement and calibration method provided in Embodiment 4 of the present application;
[0024] Figure 5It is a structural schematic diagram of a data measurement and calibration device provided in Embodiment 5 of the present application;
[0025] Figure 6 This is a block diagram of a vehicle controller provided in Example 6 of the present application. DETAILED DESCRIPTION
[0026] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0027] Embodiment 1
[0028] Figure 1 This is a flow chart of a data measurement and calibration method provided in the first embodiment of the present application. The embodiment of the present application can be applied to the case of measuring and calibrating data in a vehicle controller. The method can be executed by a data measurement and calibration device, which can be implemented in hardware and / or software and can be configured in a vehicle controller. Figure 1 , the method comprises the following specific steps:
[0029] S110: Obtain at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated.
[0030] The process identifier to be calibrated may be identification information for identifying each application process in the vehicle controller. The data to be calibrated may be data that needs to be measured and calibrated in each application process. The virtual address information may include the address information corresponding to each data in the vehicle controller in the corresponding application process.
[0031] In an embodiment of the present application, the address information corresponding to each data associated with each application process in the vehicle controller may be virtual address information, which is not fixed but changes dynamically with the startup of the vehicle controller. Accordingly, if it is necessary to perform a measurement and calibration operation of the corresponding data to be calibrated, it is necessary to obtain the virtual address information corresponding to the data to be calibrated at the current moment in real time. Specifically, the corresponding identification information can be configured in advance for each application process in the vehicle controller. If there is a need to measure and calibrate specific data in each application process, the process identifier to be calibrated corresponding to the application process that needs to perform data calibration can be obtained, and the virtual address information of the data to be calibrated corresponding to the process identifier to be calibrated that needs to be calibrated can be determined.
[0032] S120: Match each of the process identifiers to be calibrated with an application process in the vehicle controller.
[0033] The application process may be the execution process of corresponding programs for realizing different functions in the vehicle controller, and multiple application processes may exist in the vehicle controller at the same time. The application processes may be independent of each other and have no influence on each other.
[0034] Specifically, after the process identifier to be calibrated is obtained, the process identifier to be calibrated is matched with each application process in the vehicle controller respectively until the application process corresponding to the process identifier to be calibrated is determined.
[0035] S130: If the match is successful, the corresponding data to be calibrated is calibrated based on the virtual address information of the own process in parallel according to the matched application process.
[0036] Specifically, if the obtained process identifier to be calibrated successfully matches the identification information of a certain application process in the vehicle controller, it can be determined that the application process is an application process that needs to perform data calibration operations. Based on this, the location of the data to be calibrated in the corresponding application process can be determined according to the virtual address information of the data to be calibrated corresponding to the obtained process identifier to be calibrated, so as to carry out the calibration operation on the data to be calibrated. Furthermore, if after matching the obtained process identifier to be calibrated with the identification information of each application process contained in the vehicle controller, it is still impossible to determine any application process corresponding to the process identifier to be calibrated, it can be determined that the match fails, and the corresponding measurement and calibration operation on the data to be calibrated is suspended.
[0037] In an optional embodiment, the vehicle controller may be implemented based on a chip with higher computing power, for example, may be implemented based on a system on chip (SOC).
[0038] Among them, the system-level chip can be a system integrated chip including embedded software and all system contents.
[0039] Specifically, a corresponding system-level chip can be configured for the vehicle controller so that it can handle more complex functional requirements of the vehicle during operation, so that the corresponding vehicle has higher performance.
[0040] The embodiment of the present application can match at least one application process in the vehicle controller by acquiring at least one process identifier to be calibrated and the virtual address information of the data to be calibrated corresponding to the process identifier to be calibrated, thereby realizing the simultaneous execution of measurement and calibration operations on the data to be calibrated under multiple application processes, without the need to perform measurement and calibration operations on each data to be calibrated separately in turn. Therefore, the calibration efficiency of each data to be calibrated in the vehicle controller is effectively improved, and at the same time, the data calibration requirements of high-performance vehicles can be met, which helps users obtain a good product experience.
[0041] Embodiment 2
[0042] Figure 2 It is a flow chart of a data measurement calibration method provided in the second embodiment of the present application. This embodiment is further optimized based on the above embodiments.
[0043] Furthermore, before "obtaining at least one process identifier to be calibrated and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated", the operation of "obtaining virtual address information of each calibrable data in the vehicle controller in response to the operating system startup operation of the vehicle controller; sending the virtual address information of each calibrable data to the calibration tool" is added; accordingly, "obtaining at least one process identifier to be calibrated and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated" is refined into "obtaining calibration protocol information sent by the calibration tool; wherein the calibration protocol information includes at least one process identifier to be calibrated and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated; parsing the calibration protocol information to obtain virtual address information of each process identifier to be calibrated and the data to be calibrated corresponding to each process identifier to be calibrated" so as to improve the mechanism for obtaining virtual address information of process identifiers to be calibrated and the data to be calibrated corresponding to each process identifier to be calibrated.
[0044] refer to Figure 2 The data measurement calibration method shown includes:
[0045] S210: In response to the operating system startup operation of the vehicle controller, obtain virtual address information of each calibratable data in the vehicle controller.
[0046] The calibratable data may be data that can be measured and calibrated among various types of data contained in the vehicle controller. Optionally, when there is a need to measure and calibrate a certain type of data in the vehicle controller, the calibratable data corresponding to the type of data may be used as the corresponding data to be calibrated.
[0047] Specifically, each time the operating system of the vehicle controller is started, the virtual address information of each calibratable data in the vehicle controller will change, which will cause the virtual address information obtained after the previous startup of the operating system to become invalid. Therefore, it is necessary to respond after the operating system in the vehicle controller is started, and traverse the data that can be measured and calibrated in the vehicle controller to re-acquire the virtual address information corresponding to each calibratable data. It can be understood that by re-acquiring the virtual address information of each calibratable data in the vehicle controller after the operating system is started, the virtual address information corresponding to each dynamically changing calibratable data can be obtained in real time, which helps to accurately locate the corresponding calibratable data.
[0048] The vehicle controller may be implemented using at least one operating system in the prior art, and this application does not impose any limitation thereto.
[0049] Exemplarily, the operating system of the vehicle controller may be an operating system built based on the Portable Operating System Interface (POSIX).
[0050] It can be understood that building an operating system in a vehicle controller based on POSIX can support switching between different SOC hardware platforms, thereby making the operating system of the vehicle controller have good portability, which helps to improve the versatility of the data measurement method in this application.
[0051] S220 , sending virtual address information of each calibrable data to a calibration tool.
[0052] The calibration tool may be a third-party tool with a data calibration function, such as an automobile diagnostic instrument.
[0053] Specifically, after obtaining the virtual address information of each calibrable data after the corresponding operating system is started, the virtual address information can be sent to the calibration tool, and correspondingly, the calibration tool can receive the virtual address information.
[0054] S230, obtaining calibration protocol information sent by the calibration tool; wherein the calibration protocol information includes at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated.
[0055] The calibration protocol information may be information generated based on a pre-set protocol, and may be used to instruct the vehicle controller to perform a measurement calibration operation on the calibration data. The pre-set protocol may be set or adjusted by a technician according to needs or experience, such as a Universal Calibration Protocol (XCP).
[0056] Specifically, after receiving the virtual address information of each calibrable data, the calibration tool can generate virtual address information including at least one process identifier to be calibrated and the data to be calibrated corresponding to each process identifier to be calibrated according to the specific needs of the operator, and send the calibration protocol information to the vehicle controller. Correspondingly, the vehicle controller can obtain the calibration protocol information.
[0057] S240, parsing the calibration protocol information to obtain the identifiers of the to-be-calibrated processes and the virtual address information of the to-be-calibrated data corresponding to the identifiers of the to-be-calibrated processes.
[0058] Specifically, after receiving the calibration protocol information sent by the calibration tool, the vehicle controller can parse the calibration protocol information to obtain at least one process identifier to be calibrated contained in the calibration protocol information and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated.
[0059] S250: Match each of the process identifiers to be calibrated with an application process in the vehicle controller.
[0060] S260: If the match is successful, the corresponding data to be calibrated is calibrated based on the virtual address information of the own process in parallel according to the matched application process.
[0061] The embodiment of the present application can obtain the virtual address information of each calibrable data in the vehicle controller by responding to the operating system startup operation of the vehicle controller, and can realize the real-time acquisition of the virtual address information of each dynamically changing calibrable data by the calibration tool, thereby ensuring that after the vehicle controller parses the calibration protocol information sent by the calibration tool, the virtual address information of the data to be calibrated obtained is actually valid, avoiding the situation where the data to be calibrated cannot be located due to the invalidity of the virtual address information, thereby facilitating the rapid positioning of the data to be calibrated, and improving the efficiency of the measurement and calibration operations on the corresponding data to be calibrated.
[0062] Embodiment 3
[0063] Figure 3 This is a flow chart of a data measurement calibration method provided in Embodiment 3 of the present application. This embodiment is further optimized based on the above embodiments.
[0064] Furthermore, "sending the virtual address information of each calibrable data to the calibration tool" is refined into "generating a data description file based on the virtual address information of each calibrable data; sending the data description file to the calibration tool, so that the calibration tool generates the calibration protocol information based on the data description file" to improve the mechanism for the calibration tool to obtain the virtual address information of the calibrable data and determine the generation mechanism of the calibration protocol information in the calibration tool.
[0065] See also Figure 3 The data measurement calibration method shown includes:
[0066] S310: In response to the operating system startup operation of the vehicle controller, obtain virtual address information of each calibratable data in the vehicle controller.
[0067] S320, generating a data description file according to the virtual address information of each calibrable data.
[0068] The data description file may be a standard file for describing virtual address information corresponding to calibrable data.
[0069] Specifically, after obtaining the virtual address information of each calibratable data in the vehicle controller, the preset data description file template can be edited according to the virtual address information to generate a corresponding data description file. The preset data description file template can be a pre-set file template that can describe the calibratable data.
[0070] S330. Send the data description file to a calibration tool, so that the calibration tool generates the calibration protocol information according to the data description file.
[0071] Specifically, the generated data description file can be sent to the calibration tool, and the calibration tool can obtain specific information of the calibrable data that needs to be calibrated, such as virtual address information, etc. based on the data description file, thereby generating corresponding calibration protocol information based on the corresponding information obtained.
[0072] S340, obtaining calibration protocol information sent by the calibration tool; wherein the calibration protocol information includes at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated.
[0073] S350, parsing the calibration protocol information to obtain the identifiers of the to-be-calibrated processes and the virtual address information of the to-be-calibrated data corresponding to the identifiers of the to-be-calibrated processes.
[0074] S360: Match each of the process identifiers to be calibrated with the application process in the vehicle controller.
[0075] S370: If the match is successful, the corresponding data to be calibrated is calibrated based on the virtual address information of the own process in parallel according to the matched application process.
[0076] The embodiment of the present application can generate a data description file based on the virtual address information of the calibrable data, so that the calibration tool can generate calibration protocol information based on the data description file, thereby ensuring that the calibration tool can obtain the specific information corresponding to the data to be calibrated in the vehicle controller and generate corresponding calibration protocol information, which helps to implement measurement and calibration operations on each data to be calibrated in the vehicle controller.
[0077] Embodiment 4
[0078] Figure 4 It is a flow chart of a data measurement calibration method provided in the fourth embodiment of the present application. This embodiment is further optimized based on the above embodiments.
[0079] Furthermore, "obtaining the calibration protocol information sent by the calibration tool" is refined into "obtaining business protocol information; determining whether the business protocol information is the calibration protocol information based on the message communication identifier in the business protocol information; if so, triggering the execution of the parsing operation of the protocol information to be calibrated" to realize the screening of the acquired business protocol information and improve the mechanism for obtaining the calibration protocol information.
[0080] See also Figure 4 The data measurement calibration method shown includes:
[0081] S410: In response to the operating system startup operation of the vehicle controller, obtain virtual address information of each calibratable data in the vehicle controller.
[0082] S420, sending virtual address information of each calibrable data to a calibration tool.
[0083] S430: Obtain service agreement information.
[0084] The service protocol information may be service information received by the vehicle controller for implementing different functions.
[0085] Specifically, the vehicle controller can acquire various types of business information for implementing different business functions.
[0086] S440. Determine whether the business protocol information is the calibration protocol information according to the message communication identifier in the business protocol information; wherein the calibration protocol information includes at least one process identifier to be calibrated and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated.
[0087] The message communication identifier may be identification information used to identify the corresponding type of the service protocol information.
[0088] Specifically, after acquiring various types of business protocol information, the vehicle controller can identify the message communication identifier contained in the acquired business protocol information, and based on the corresponding identification result, determine whether the corresponding business protocol information is calibration protocol information.
[0089] S450: If yes, trigger the execution of the parsing operation of the protocol information to be calibrated.
[0090] Specifically, if the vehicle controller determines that the received service protocol information is calibration protocol information, it can trigger the parsing operation of the protocol information to be calibrated. Further, if the vehicle controller determines that the received service protocol information is not calibration protocol information, it refuses to perform the data measurement calibration function.
[0091] S460, parsing the calibration protocol information to obtain the identifiers of the to-be-calibrated processes and the virtual address information of the to-be-calibrated data corresponding to the identifiers of the to-be-calibrated processes.
[0092] S470: Match each of the process identifiers to be calibrated with the application process in the vehicle controller.
[0093] S480: If the match is successful, the corresponding data to be calibrated is calibrated based on the virtual address information of the own process in parallel according to the matched application process.
[0094] In the embodiment of the present application, the vehicle controller identifies the message communication identifier in the acquired business protocol information to determine whether the business protocol information is calibration protocol information, and can filter out the received non-calibration protocol information, thereby avoiding indiscriminate execution of the corresponding measurement and calibration process for all acquired business protocol information, thereby avoiding the occupation of processing resources and helping to improve the measurement and calibration efficiency of the calibration data.
[0095] Embodiment 5
[0096] Figure 5 This is a schematic diagram of the structure of a data measurement and calibration device provided in the fifth embodiment of the present application. The present embodiment of the present application can be applied to the situation where data in multiple application processes in a vehicle controller are measured and calibrated at the same time. The device can be implemented in hardware and / or software and can be configured in the vehicle controller. Figure 5 , the device comprises:
[0097] The virtual address information acquisition module 510 is used to acquire at least one process identifier to be calibrated and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated.
[0098] The application process matching module 520 is used to match each of the process identifiers to be calibrated with the application process in the vehicle controller.
[0099] The data to be calibrated calibration module 530 is used to calibrate the corresponding data to be calibrated based on the virtual address information of the own process in parallel according to the matched application process if the match is successful.
[0100] Optionally, the device may further include:
[0101] The operating system startup response module can be used to respond to the operating system startup operation of the vehicle controller and obtain virtual address information of each calibratable data in the vehicle controller.
[0102] A virtual address information sending module can be used to send the virtual address information of each calibrable data to the calibration tool;
[0103] Accordingly, the virtual address information acquisition module 510 may include:
[0104] The calibration protocol information acquisition unit can be used to acquire the calibration protocol information sent by the calibration tool; wherein the calibration protocol information includes at least one process identifier to be calibrated and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated;
[0105] The calibration protocol parsing unit may be used to parse the calibration protocol information to obtain the identifiers of the processes to be calibrated and the virtual address information of the data to be calibrated corresponding to the identifiers of the processes to be calibrated.
[0106] Optionally, the virtual address information sending module may include:
[0107] A data description file generating unit can be used to generate a data description file according to virtual address information of each calibratable data;
[0108] The calibration protocol information generating unit may be used to send the data description file to the calibration tool, so that the calibration tool generates the calibration protocol information according to the data description file.
[0109] Optionally, the calibration protocol information acquisition unit may include:
[0110] A business protocol information acquisition subunit can be used to acquire business protocol information;
[0111] The calibration protocol information determination subunit may be used to determine whether the service protocol information is the calibration protocol information according to the message communication identifier in the service protocol information;
[0112] The parsing operation triggering unit may be configured to trigger the execution of a parsing operation on the protocol information to be calibrated if yes.
[0113] Optionally, the vehicle controller may be implemented based on a system-on-chip (SOC).
[0114] Optionally, the operating system of the vehicle controller is an operating system built based on the Portable Operating System Interface (POSIX).
[0115] The data measurement and calibration device provided in the embodiment of the present application can execute any one of the data measurement and calibration methods provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing each data measurement and calibration method. For the contents not described in detail in the embodiment of the present application, reference can be made to the description of any one of the data measurement and calibration methods in the embodiment of the present application.
[0116] Embodiment 6
[0117] Figure 6This is a structural diagram of a vehicle controller provided in Example 7 of the present application. Figure 6 A block diagram of an exemplary vehicle controller 612 suitable for implementing embodiments of the present application is shown. Figure 6 The vehicle controller 612 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0118] like Figure 6 As shown, the vehicle controller 612 is in the form of a general purpose computing device. The components of the vehicle controller 612 may include, but are not limited to: one or more processors or processing units 616, a system memory 628, and a bus 618 connecting different system components (including the system memory 628 and the processing unit 616).
[0119] Bus 618 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0120] The vehicle controller 612 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the vehicle controller 612, including volatile and non-volatile media, removable and non-removable media.
[0121] The system memory 628 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 630 and / or cache memory 632. The vehicle controller 612 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 634 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical medium) may be provided. In these cases, each drive may be connected to bus 618 via one or more data medium interfaces. Memory 628 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.
[0122] A program / utility 640 having a set (at least one) of program modules 642 may be stored, for example, in the memory 628, such program modules 642 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 642 generally perform the functions and / or methods of the embodiments described herein.
[0123] The vehicle controller 612 may also communicate with one or more external devices 614 (e.g., keyboards, pointing devices, displays 624, etc.), one or more devices that enable a user to interact with the vehicle controller 612, and / or any device that enables the vehicle controller 612 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 622. In addition, the vehicle controller 612 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 620. As shown, the network adapter 620 communicates with other modules of the vehicle controller 612 via a bus 618. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the vehicle controller 612, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0124] The processing unit 616 executes various functional applications and data processing by running at least one of the other programs among the multiple programs stored in the system memory 628, such as implementing any one of the data measurement and calibration methods provided in the embodiments of the present application.
[0125] Embodiment 7
[0126] An embodiment of the present application also provides a vehicle, in which any vehicle controller provided in the aforementioned embodiments is provided.
[0127] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A data measurement calibration method, applied to a vehicle controller, characterized in that: include: Acquire at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated; Matching each of the process identifiers to be calibrated with the application process in the vehicle controller; If the match is successful, the corresponding data to be calibrated is calibrated based on the virtual address information of the own process in parallel according to the matched application process; Wherein, the method further comprises: In response to the operating system startup operation of the vehicle controller, the virtual address information of each calibratable data in the vehicle controller is acquired in real time; wherein the virtual address information of each calibratable data changes dynamically with the startup of the vehicle controller; Sending virtual address information of each calibratable data to a calibration tool; Correspondingly, the step of obtaining at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated includes: Acquire calibration protocol information sent by the calibration tool; wherein the calibration protocol information includes at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated; Parsing the calibration protocol information to obtain the process identifiers to be calibrated and the virtual address information of the data to be calibrated corresponding to the process identifiers to be calibrated; The vehicle controller is implemented based on a system-on-chip (SOC); the operating system of the vehicle controller is an operating system built based on a portable operating system interface (POSIX); and the operating system supports switching between different SOC hardware platforms. Among them, by obtaining at least one process identifier to be calibrated and the virtual address information of the data to be calibrated corresponding to the process identifier to be calibrated, it is matched with at least one application process in the vehicle controller, so as to realize the simultaneous execution of measurement and calibration operations on the data to be calibrated under multiple application processes, without the need to perform measurement and calibration operations on each data to be calibrated separately in turn.
2. The method according to claim 1, characterized in that The step of sending the virtual address information of each calibratable data to the calibration tool comprises: Generate a data description file according to the virtual address information of each calibrable data; The data description file is sent to a calibration tool, so that the calibration tool generates the calibration protocol information according to the data description file.
3. The method according to claim 1, characterized in that The obtaining of the calibration protocol information sent by the calibration tool includes: Obtain business agreement information; Determining whether the service protocol information is the calibration protocol information according to the message communication identifier in the service protocol information; If so, the parsing operation of the calibration protocol information is triggered.
4. A data measurement and calibration device, characterized in that: include: A virtual address information acquisition module, used to acquire at least one process identifier to be calibrated and virtual address information of data to be calibrated corresponding to each process identifier to be calibrated; An application process matching module, used for matching each of the process identifiers to be calibrated with the application process in the vehicle controller; The calibration module for the data to be calibrated is used to calibrate the corresponding data to be calibrated based on the virtual address information of the matched application process and the process itself in parallel if the match is successful; Wherein, the device further comprises: An operating system startup response module, used to respond to the operating system startup operation of the vehicle controller and obtain virtual address information of each calibrable data in the vehicle controller in real time; wherein the virtual address information of each calibrable data changes dynamically with the startup of the vehicle controller; A virtual address information sending module, used for sending the virtual address information of each calibrable data to the calibration tool; Correspondingly, the virtual address information acquisition module includes: A calibration protocol information acquisition unit, used to acquire the calibration protocol information sent by the calibration tool; wherein the calibration protocol information includes at least one process identifier to be calibrated and virtual address information of the data to be calibrated corresponding to each process identifier to be calibrated; A calibration protocol parsing unit, used for parsing the calibration protocol information, and obtaining the identifiers of the processes to be calibrated and the virtual address information of the data to be calibrated corresponding to the identifiers of the processes to be calibrated; The vehicle controller is implemented based on a system-on-chip (SOC); the operating system of the vehicle controller is an operating system built based on a portable operating system interface (POSIX); and the operating system supports switching between different SOC hardware platforms. Among them, by obtaining at least one process identifier to be calibrated and the virtual address information of the data to be calibrated corresponding to the process identifier to be calibrated, it is matched with at least one application process in the vehicle controller, so as to realize the simultaneous execution of measurement and calibration operations on the data to be calibrated under multiple application processes, without the need to perform measurement and calibration operations on each data to be calibrated separately in turn.
5. A vehicle controller, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement a data measurement calibration method as described in any one of claims 1-3.
6. A vehicle, characterized in that: The vehicle is provided with the vehicle controller according to claim 5.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a data measurement calibration method as described in any one of claims 1 to 3 is implemented.
