Driving variable calibration value determination method and device, storage medium and electronic device

By using the XCP protocol in the vehicle communication network, the measurement task is generated in response to the interactive interface operation and the task instructions are sent to the central computing platform. This realizes the real-time calibration value acquisition and update of the driving variables, solves the problem of low vehicle operation accuracy, and improves The accuracy of vehicle calibration is improved.

CN118570898AActive Publication Date: 2024-08-30CHINA AUTOMOTIVE INNOVATION CORP

Patent Information

Application Number
CN202410618788.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30
Estimated Expiration
2044-05-17

AI Technical Summary

Technical Problem

The existing vehicle communication network lacks real-time measurement and calibration functions, resulting in low vehicle operation accuracy and inability to effectively determine the calibration values ​​of driving variables.

Method used

By responding to the triggering operation of the interactive interface, a measurement task is generated for the target vehicle, and the task instructions are sent to the central computing platform, and the XCP protocol is used to obtain and update the real-time calibration value of the driving variables.

Benefits of technology

It improves the operating accuracy of the vehicle during driving, and solves the problem of lack of real-time measurement and calibration functions of the vehicle calibration quantity by obtaining and updating the driving variable calibration values ​​in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570898A
    Figure CN118570898A
Patent Text Reader

Abstract

The invention discloses a method and device for determining a driving variable calibration value, a storage medium and an electronic device, and relates to the technical field of intelligent vehicles, and the method for determining the driving variable calibration value comprises the steps: responding to a triggering operation from an interactive interface, and generating a measurement task for current vehicle-mounted data generated in the driving process of a target vehicle; sending a task instruction required when the measurement task is executed to a central computing platform, so that the central computing platform analyzes the task instruction to obtain a driving variable calibration value corresponding to the current vehicle-mounted data; and updating the current value of the driving variable of the target vehicle to the driving variable calibration value, and by adopting the technical scheme, the technical problem of how to determine the driving variable calibration value of the vehicle in the driving process to improve the operation accuracy of the vehicle is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent vehicle technology, and in particular to a method, device, storage medium and electronic device for determining a driving variable calibration value. Background Art

[0002] At present, the new generation of vehicle communication networks already supports vehicle operating systems that meet the POSIX standard. Multiple different tasks can run in isolated processes, and each process has its own independent resources and virtual address space. With the networking and intelligence of vehicle operating systems, automobile manufacturers can operate cars remotely. However, the central computing platform system in the vehicle communication network currently lacks the function of real-time measurement and calibration of vehicle calibration, and cannot determine the vehicle calibration in real time, resulting in low vehicle operation accuracy.

[0003] Therefore, in the related art, there exists a technical problem of how to determine the calibration value of the driving variable of the vehicle during driving to improve the accuracy of vehicle operation.

[0004] In the related art, there is no effective solution to the technical problem of how to determine the calibration value of the driving variable of the vehicle during driving to improve the accuracy of vehicle operation. Summary of the invention

[0005] The embodiments of the present application provide a method, device, storage medium and electronic device for determining a driving variable calibration value, so as to at least solve the technical problem in the related art of how to determine the driving variable calibration value of a vehicle during driving to improve the vehicle operation accuracy.

[0006] According to an embodiment of the present application, a method for determining a driving variable calibration value is provided, comprising: generating a measurement task for current on-board data generated by a target vehicle during driving in response to a trigger operation from an interactive interface; sending task instructions required when the measurement task is executed to a central computing platform, so that the central computing platform parses the task instructions to obtain a driving variable calibration value corresponding to the current on-board data; and updating the current value of the driving variable of the target vehicle to the driving variable calibration value.

[0007] In an exemplary embodiment, sending the task instructions required when the measurement task is executed to a central computing platform includes: determining a target transmission interface from a data transmission interface provided by an Ethernet network where the target vehicle is located; generating a TCP server based on the XCP protocol based on the target transmission interface and the TCP communication protocol, and generating a UDP server based on the XCP protocol based on the target transmission interface and the UDP communication protocol, wherein a TCP communication channel based on the TCP communication protocol exists between the TCP server and the external device, and a UDP communication channel based on the UDP communication protocol exists between the UDP server and the external device; sending the task instructions required when the measurement task is executed to the central computing platform via the TCP communication channel, and / or sending the task instructions required when the measurement task is executed to the central computing platform via the UDP communication channel.

[0008] In an exemplary embodiment, before sending the task instructions required for the execution of the measurement task to the central computing platform, the method also includes: for multiple measurement tasks, determining the task priority of each measurement task, and determining the execution order of the multiple measurement tasks according to the task priority of each measurement task, wherein the task priority of each measurement task is determined according to the data storage address corresponding to the task instructions corresponding to each measurement task, and the data storage addresses corresponding to the task instructions corresponding to any two measurement tasks are different.

[0009] In an exemplary embodiment, the task instructions required when the measurement task is executed are sent to a central computing platform so that the central computing platform parses the task instructions and obtains the driving variable calibration value corresponding to the current vehicle-mounted data, including: when it is determined that the measurement task is used to implement the basic protocol function of the XCP protocol, generating a first task instruction required when the measurement task is executed, wherein the basic protocol function at least includes an initialization protocol function and an asynchronous calibration value acquisition function; sending the first task instruction to the central computing platform so that the central computing platform generates an initialization protocol channel between the central computing platform and the external device based on the first task instruction, and parsing the task instruction to obtain the driving variable calibration value corresponding to the current vehicle-mounted data; and obtaining the driving variable calibration value from the central computing platform based on the initialization protocol channel.

[0010] In an exemplary embodiment, the method also includes: when determining that the measurement task is used to implement the data calibration function of the XCP protocol, generating a second task instruction required when the measurement task is executed, wherein the data calibration function represents writing data to the central computing platform; sending the second task instruction to the central computing platform so that the central computing platform parses the second task instruction, obtains the driving variable calibration value, and writes the driving variable calibration value corresponding to the current vehicle-mounted data in the application software connected to the central computing platform.

[0011] In an exemplary embodiment, the method also includes: when determining that the measurement task is used to implement the data synchronization function of the XCP protocol, generating a third task instruction required when the measurement task is executed, wherein the data synchronization function is used to synchronize the driving variable calibration value from the central computing platform to the external device; sending the third task instruction to the central computing platform so that the central computing platform parses the third task instruction, obtains the driving variable calibration value, and sends the driving variable calibration value according to a preset period.

[0012] According to another aspect of an embodiment of the present application, a method for determining a driving variable calibration value is also provided, which is applied to a central computing platform based on the XCP protocol, including: parsing a task instruction from an external device based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes a task type of the task instruction; calling a proxy interface corresponding to the task type, and sending the task instruction to an application of the central computing platform through the proxy interface to control the application to execute the task instruction to obtain the driving variable calibration value of the target vehicle.

[0013] In an exemplary embodiment, a task instruction from an external device based on the XCP protocol is parsed to obtain a parsing result, including: decrypting the task instruction using a decryption format pre-agreed upon by the external device and the central computing platform to obtain message information; performing a format check on the message information, and when it is determined that the message information passes the format check, determining the message information as the parsing result.

[0014] In an exemplary embodiment, a proxy interface corresponding to the task type is called, and the task instruction is sent to an application of the central computing platform through the proxy interface to control the application to execute the task instruction and obtain a driving variable calibration value of the target vehicle, including: when it is determined that the task instruction is a basic instruction based on the XCP protocol, calling a first proxy interface corresponding to the task type; sending the task instruction to the application of the central computing platform through the first proxy interface to control the application to establish an initialization protocol channel between the central computing platform and the external device based on the task instruction, and executing the task instruction to obtain the driving variable calibration value.

[0015] In an exemplary embodiment, the method also includes: when it is determined that the task instruction is a calibration instruction based on the XCP protocol, calling a second proxy interface corresponding to the task type; sending the task instruction to the application of the central computing platform through the second proxy interface to control the application to execute the task instruction, obtain the driving variable calibration value, and write the driving variable calibration value into the application software connected to the central computing platform.

[0016] In an exemplary embodiment, the method also includes: when it is determined that the task instruction is a synchronization instruction based on the XCP protocol, calling a third proxy interface corresponding to the task type; sending the task instruction to the application of the central computing platform through the third proxy interface to control the application to send the acquired driving variable calibration value to the external device according to a preset period according to the start instruction of the task instruction, and stop sending the driving variable calibration value according to the end instruction of the task instruction.

[0017] According to another aspect of an embodiment of the present application, a device for determining a driving variable calibration value is also provided, including: a generation module, for generating a measurement task for current on-board data generated by a target vehicle during driving in response to a trigger operation from an interactive interface; a sending module, for sending the task instructions required when the measurement task is executed to a central computing platform, so that the central computing platform parses the task instructions to obtain a driving variable calibration value corresponding to the current on-board data; and an updating module, for updating the current value of the driving variable of the target vehicle to the driving variable calibration value.

[0018] According to another aspect of an embodiment of the present application, a device for determining a driving variable calibration value is also provided, comprising: a parsing module, used to parse a task instruction from an external device based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes a task type of the task instruction; a calling module, used to call a proxy interface corresponding to the task type, and send the task instruction to an application of a central computing platform based on the XCP protocol through the proxy interface to control the application to execute the task instruction to obtain the driving variable calibration value of the target vehicle.

[0019] According to another aspect of the embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for determining the driving variable calibration value when running.

[0020] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for determining the calibration value of the driving variable through the computer program.

[0021] In an embodiment of the present application, a measurement task is generated for the current on-board data generated by the target vehicle during driving in response to a trigger operation from an interactive interface; the task instructions required when the measurement task is executed are sent to a central computing platform, so that the central computing platform parses the task instructions to obtain the driving variable calibration value corresponding to the current on-board data; the current value of the driving variable of the target vehicle is updated to the driving variable calibration value; the above-mentioned technical solution is used to solve the technical problem of how to determine the driving variable calibration value of the vehicle during driving to improve the vehicle operation accuracy, thereby improving the vehicle operation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0024] Figure 1 It is a hardware environment diagram of a method for determining a driving variable calibration value according to an embodiment of the present application;

[0025] Figure 2It is a schematic diagram of an automotive electronic and electrical architecture and network topology in the related art;

[0026] Figure 3 is a flow chart (I) of a method for determining a driving variable calibration value according to an embodiment of the present application;

[0027] Figure 4 is a flow chart (II) of a method for determining a driving variable calibration value according to an embodiment of the present application;

[0028] Figure 5 is a schematic diagram of a measurement and calibration system architecture according to an embodiment of the present application;

[0029] Figure 6 is a timing diagram of XCP protocol data according to an embodiment of the present application;

[0030] Figure 7 is a structural block diagram of a device for determining a driving variable calibration value according to an embodiment of the present application (I);

[0031] Figure 8 This is a structural block diagram (II) of a device for determining a driving variable calibration value according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] Next, relevant technical terms of this application are explained.

[0035] Taking the Adaptive AUTOSAR system (AUTOSAR adaptive platform system) as an example, the software standard architecture on which the vehicle operating system in this application relies is explained. Adaptive AUTOSAR is a software architecture based on the AUTOSAR standard that supports autonomous driving functions and Internet connections, enabling vehicles to have more advanced intelligence and connectivity, and is designed to provide more flexible, scalable and adaptive solutions for automotive electronic systems. As a standardized middleware for high-performance ECUs that support a new generation of electronic and electrical architectures, Adaptive AUTOSAR is designed and developed based on the principles of service-oriented architecture design (SOA). The Adaptive AUTOSAR system provides a unified software architecture and interface standards that can integrate hardware and software in vehicles, helping to simplify the development, integration and maintenance of automotive electronic systems.

[0036] The Adaptive AUTOSAR system is equipped with the central computing platform (AP) and regional controllers of the AP system. The central computing platform (AP) and regional controllers can communicate with each other in a service-oriented manner, and the central computing platform and external devices can communicate based on Ethernet. Figure 2 As shown, four regional computing units are connected via Ethernet with the central computing unit as the center, and the four regional computing units communicate with the external network through the central computing unit.

[0037] In the vehicle operating system, vehicle ECU development refers to the process of developing software and hardware for the electronic control unit (ECU) of the vehicle. The vehicle ECU is the core component of the vehicle's electronic system, responsible for managing and controlling various functions and systems of the vehicle, including engine control, transmission system, body control, safety system, etc. The development process of the vehicle ECU includes demand analysis, software design, programming, hardware design, test verification and other links, aiming to ensure that the vehicle ECU can meet the requirements of vehicle performance, safety and environmental protection. At the same time, it is also necessary to comprehensively consider the compatibility, stability and reliability of software and hardware, as well as the support for multiple communication protocols and standards. It is an important link in the development of vehicle electronic control systems.

[0038] Measurement and calibration run through the entire process of vehicle ECU development and are an important part of vehicle development, from the calibration of bench software parameters of individual components to the calibration of different time and seasons in the vehicle environment.

[0039] With the development of intelligent and networked automobiles, the software system on the computing chip has become complex, and the number of internal variables of the ECU is huge. During the operation of the vehicle, key variables need to be observed and controlled in real time. In order for the system to run well, it is necessary to initially assign values ​​to the key variables that the control algorithm depends on, and dynamically update or correct them according to the effective actual values ​​or errors of the operation process to find an optimal state value.

[0040] Regarding the parameter measurement and calibration methods in the vehicle system, the traditional measurement and calibration CCP protocol based on the CAN (Controller Area Network) network is adopted. It is generally applicable to MCUs running the CP system (AUTOSAR classic platform system). The transmission of calibration information in the CAN network is based on the variable access and calibration of the physical address, and the calibration quantity is usually directly associated with its physical storage address.

[0041] However, in the Adaptive AUTOSAR system of the new generation of computing chips, multi-process and multi-task are supported. Different tasks can run in different processes, and resources are isolated between processes. Each process has its own independent resources and virtual address space, and variable addresses are all virtual addresses in the virtual address space. Therefore, the traditional CCP system cannot be applied to the Adaptive AUTOSAR system of the new generation of computing chips.

[0042] In the Adaptive AUTOSAR system of the new generation of computing chips, its official standards and architecture still lack functional modules for measuring and calibrating ECU internal variables.

[0043] This application proposes an Ethernet-based vehicle ECU measurement and calibration for the Adaptive AUTOSAR system, and introduces the XCP-ON-Ethernet protocol XCP for real-time measurement and calibration of ECU internal variables.

[0044] The basic communication model of XCP On IP under the Ethernet-based measurement and calibration protocol (XCP Over Internet Protocol) is a process of request and response, exchanging data and commands. The Master (such as XCP Master) is the Request requester, and the Slave (such as XCP Slave) is the Response responder. The data of the XCP protocol uses the TCP / UDP protocol as the transport layer protocol and is regarded as the payload data of TCP / UDP. It has the advantages of being independent of the physical transport layer, large communication capacity, strong portability, flexible deployment, and strong scalability.

[0045] According to one aspect of an embodiment of the present application, a method for determining a driving variable calibration value is provided. The method for determining a driving variable calibration value is widely used in smart IoT application scenarios such as smart vehicles. Optionally, in this embodiment, the method for determining a driving variable calibration value can be applied to Figure 1 In the hardware environment composed of the vehicle terminal 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the vehicle terminal 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0046] The above network may include but is not limited to at least one of the following: wired network, wireless network. The above wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the above wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth.

[0047] In this embodiment, a method for determining a driving variable calibration value is provided, which is applied to the above-mentioned vehicle terminal, the above-mentioned vehicle terminal supports the Adaptive AUTOSAR system, and the XCP-ON-Ethernet protocol is introduced into the Adaptive AUTOSAR system. Figure 3 As shown, this process is implemented by an external device with an XCP graphical interface (the above-mentioned external device), wherein the external device corresponds to the XCP Master inside the XCP-ON-Ethernet protocol. Figure 3 1 is a flow chart of a method for determining a driving variable calibration value according to an embodiment of the present application (I), the flow chart comprising the following steps:

[0048] Step S302, in response to a trigger operation from the interactive interface, generating a measurement task for current vehicle-mounted data generated during driving of the target vehicle;

[0049] It can be understood that by providing interactive instructions to users through the above-mentioned interactive interface, users can interact with the interactive interface based on touch, click, tap, voice control, etc., and the interactive interface further generates trigger operations.

[0050] Among them, the current on-board data may be, for example, vehicle speed, vehicle direction, vehicle position, environmental perception data, vehicle driving status, obstacle detection data, traffic signal recognition and inter-vehicle communication data, etc.

[0051] Step S304, sending the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform analyzes the task instructions and obtains the driving variable calibration value corresponding to the current vehicle data;

[0052] Optionally, it should be noted that the above-mentioned driving variable calibration values, such as constant string identifiers, are stored in a pre-defined and configured editable file, such as using the Per module provided by Adaptive AUTOSAR to read this editable file into the virtual storage space of the corresponding memory, and then complete the read and write access to the editable file in the virtual storage space.

[0053] Among them, the above-mentioned task instructions include but are not limited to XCP protocol standard basic commands for measurement tasks used to implement the basic protocol functions of the XCP protocol, XCP protocol Calibration commands for measurement tasks used to implement the data calibration function of the XCP protocol, and XCP protocol synchronization data requests for measurement tasks used to implement the data synchronization function of the XCP protocol.

[0054] Step S306: updating the current value of the driving variable of the target vehicle to the calibrated value of the driving variable.

[0055] Through the above steps, an external device based on the XCP protocol responds to a trigger operation from an interactive interface to generate a measurement task for the current on-board data generated by the target vehicle during driving; the task instructions required when the measurement task is executed are sent to the central computing platform, and then the central computing platform parses the task instructions to obtain the driving variable calibration value corresponding to the current on-board data; the current value of the driving variable of the target vehicle is updated to the driving variable calibration value, which solves the technical problem in the related art of how to determine the driving variable calibration value of the vehicle during driving to improve the vehicle operation accuracy, thereby improving the vehicle operation accuracy.

[0056] In an exemplary embodiment, the implementation process of sending the task instructions required when the measurement task is executed to the central computing platform in the above-mentioned step S304 specifically includes: step S11, determining the target transmission interface from the data transmission interface provided by the Ethernet network where the target vehicle is located; step S12, generating a TCP server based on the XCP protocol based on the target transmission interface and the TCP communication protocol, and generating a UDP server based on the XCP protocol based on the target transmission interface and the UDP communication protocol, wherein a TCP communication channel based on the TCP communication protocol exists between the TCP server and the external device, and a UDP communication channel based on the UDP communication protocol exists between the UDP server and the external device; step S13, sending the task instructions required when the measurement task is executed to the central computing platform through the TCP communication channel, and / or sending the task instructions required when the measurement task is executed to the central computing platform through the UDP communication channel.

[0057] In this embodiment, the target transmission interface is first determined from the data transmission interfaces provided by the Ethernet network where the target vehicle is located, and then a TCP server based on the XCP protocol is generated according to the target transmission interface and the TCP communication protocol, and a UDP server based on the XCP protocol is generated according to the target transmission interface and the UDP communication protocol. A TCP communication channel based on the TCP communication protocol can be established between the TCP server and the external device, and a UDP communication channel based on the UDP communication protocol can be established between the UDP server and the external device. In this way, communication between the external device and the central computing platform can be achieved through two different communication channels, thereby improving communication efficiency and communication accuracy.

[0058] In an exemplary embodiment, before sending the task instructions required for the execution of the measurement task to the central computing platform, it further includes: step S21, for multiple measurement tasks, determining the task priority of each measurement task, and determining the execution order of the multiple measurement tasks according to the task priority of each measurement task, wherein the task priority of each measurement task is determined according to the data storage address corresponding to the task instructions corresponding to each measurement task.

[0059] It is understandable that the smaller the data storage address, the higher the priority. By allocating data storage addresses to different task instructions and then determining the task priority of the measurement task according to the data storage address, it is possible to determine the execution order according to the task priority, without having to analyze the measurement tasks one by one to determine their execution order, thereby improving the execution efficiency of the measurement tasks. At the same time, each measurement task has an independent process and can be executed using its own independent process resources, further improving the execution speed of the measurement task.

[0060] In an exemplary embodiment, further, step S306 also includes the following execution steps: step S31, when determining that the measurement task is used to implement the basic protocol function of the XCP protocol, generating a first task instruction required when the measurement task is executed, wherein the basic protocol function at least includes an initialization protocol function and an asynchronous calibration value acquisition function; S32, sending the first task instruction to the central computing platform, so that the central computing platform generates an initialization protocol channel between the central computing platform and the external device based on the task instruction, and parses the task instruction to obtain the driving variable calibration value corresponding to the current vehicle-mounted data; S33, obtaining the driving variable calibration value from the central computing platform based on the initialization protocol channel.

[0061] Through this embodiment, the first task instruction can be sent to the central computing platform, and an initialization protocol channel between the central computing platform and the external device is generated based on the first task instruction, thereby realizing the initialization protocol function. And through the initialization protocol channel, a communication channel is established between the external device and the central computing platform, and the driving variable calibration value calculated by the central computing platform can be obtained according to the communication channel.

[0062] In an exemplary embodiment, further, after executing the above-mentioned step S21, it also includes: step S22, when it is determined that the measurement task is used to implement the data calibration function of the XCP protocol, generating a second task instruction required when the measurement task is executed, wherein the data calibration function represents writing data to the central computing platform; step S23, sending the second task instruction to the central computing platform, so that the central computing platform parses the task instruction, obtains the driving variable calibration value, and writes the driving variable calibration value corresponding to the current vehicle-mounted data in the central computing platform.

[0063] Through this embodiment, the second task instruction can be sent to the central computing platform, and the driving variable calibration value can be obtained after parsing the task instruction based on the second task instruction. Then, the driving variable calibration value corresponding to the current vehicle data is written into the central computing platform according to the second task instruction. In this way, the central computing platform can write the driving variable calibration value into the application connected to it, and update the driving variable calibration value in real time in the application, so as to display the latest results to the user and improve the user experience.

[0064] In an exemplary embodiment, further, after executing the above-mentioned step S21, it may also include: step S41, when determining that the measurement task is used to implement the data synchronization function of the XCP protocol, generating a third task instruction required when the measurement task is executed, wherein the data synchronization function is used to synchronize the driving variable calibration value from the central computing platform to the external device; step S42, sending the third task instruction to the central computing platform, so that the central computing platform parses the task instruction, obtains the driving variable calibration value corresponding to the current vehicle-mounted data, and sends the driving variable calibration value according to a preset period.

[0065] This embodiment realizes synchronization of the driving variable calibration value from the central computing platform to the external device based on the third task instruction, and when the third task instruction is sent to the central computing platform, the task instruction can be parsed by the central computing platform to obtain the driving variable calibration value corresponding to the current vehicle-mounted data, and the driving variable calibration value can be sent according to a preset period. On the one hand, data security is improved through data synchronization, and on the other hand, the driving variable calibration value is sent multiple times in a period to reduce the probability of data loss.

[0066] In order to better understand the process of the method for determining the above-mentioned driving variable calibration value, the implementation method flow of determining the above-mentioned driving variable calibration value is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.

[0067] In this embodiment, a method for determining a driving variable calibration value is provided. Figure 4 is a flow chart (II) of a method for determining a driving variable calibration value according to an embodiment of the present application, such as Figure 4 As shown, the specific steps are as follows:

[0068] Step S402: parsing the task instruction from the external device based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes the task type of the task instruction;

[0069] Step S404: calling the proxy interface corresponding to the task type, and sending the task instruction to the application of the central computing platform through the proxy interface to control the application to execute the task instruction and obtain the driving variable calibration value of the target vehicle.

[0070] Through the above steps, the task instruction from the external device based on the XCP protocol is parsed by the central computing platform based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes the task type of the task instruction; the proxy interface corresponding to the task type is called, and the task instruction is sent to the application of the central computing platform through the proxy interface to control the application to execute the task instruction, and obtain the driving variable calibration value of the target vehicle, which solves the technical problem in the related technology of how to determine the driving variable calibration value of the vehicle during driving to improve the vehicle operation accuracy, thereby improving the vehicle operation accuracy.

[0071] It can be understood that the driving variable calibration value of the above-mentioned target vehicle and the driving variable calibration value corresponding to the current on-board data are essentially the same. The two are merely different descriptions for different subjects. The driving variable calibration value of the target vehicle corresponds to the central computing platform based on the XCP protocol, that is, the driving variable calibration value corresponding to the current on-board data corresponds to the external device of the XCP protocol.

[0072] In an exemplary embodiment, the implementation process of parsing the task instruction from the external device based on the XCP protocol to obtain the parsing result in step S402 further includes the following steps: step S51, decrypting the task instruction using the decryption format pre-agreed by the external device and the central computing platform to obtain message information; step S52, performing a format check on the message information, and when it is determined that the message information passes the format check, determining the message information as the parsing result.

[0073] Through this embodiment, the task instruction can be decrypted using the decryption format pre-agreed upon by the external device and the central computing platform to obtain message information, and then the message information that passes the format check is determined as the parsing result, thereby improving the confidentiality and security of the data.

[0074] In an exemplary embodiment, the above step S404 further includes: step S61, when it is determined that the task instruction is a basic instruction based on the XCP protocol, calling the first proxy interface corresponding to the task type; step S62, sending the task instruction to the application of the central computing platform through the first proxy interface to control the application to establish an initialization protocol channel between the central computing platform and the external device based on the task instruction, and execute the task instruction to obtain the driving variable calibration value.

[0075] In this embodiment, the first proxy interface corresponding to the task type can be called through the basic instructions of the XCP protocol, and the task instructions can be sent to the application of the central computing platform. Then, the application establishes an initialization protocol channel between the central computing platform and the external device based on the task instructions, and executes the task instructions to obtain the driving variable calibration value. In this way, the central computing platform can interact with the external device through the initialization protocol channel, such as sending the driving variable calibration value to the external device.

[0076] In an exemplary embodiment, the above-mentioned step S404, in addition to step S61-step S62, may also include: step S71, when it is determined that the task instruction is a calibration instruction based on the XCP protocol, calling the second proxy interface corresponding to the task type; step S72, sending the task instruction to the application of the central computing platform through the second proxy interface to control the application to execute the task instruction, obtain the driving variable calibration value, and write the driving variable calibration value into the application software connected to the central computing platform.

[0077] Through this embodiment, the second proxy interface corresponding to the task type can be called based on the calibration instruction of the XCP protocol, and the task instruction can be sent to the application of the central computing platform, which then executes the task instruction to obtain the driving variable calibration value. In this way, the central computing platform can write the driving variable calibration value into the application software connected to the central computing platform, and update the driving variable calibration value in real time within the application, thereby improving the accuracy of real-time data display to users.

[0078] In an exemplary embodiment, in addition to step S61-step S62 and step S71-step S72, the above step S404 further includes: step S81, when it is determined that the task instruction is a synchronization instruction based on the XCP protocol, calling a third agent interface corresponding to the task type; step S82, sending the task instruction to the application of the central computing platform through the third agent interface to control the application to send the acquired driving variable calibration value to the external device according to a preset period according to the start instruction of the task instruction, and stop sending the driving variable calibration value according to the end instruction of the task instruction.

[0079] Through this embodiment, the synchronization instruction based on the XCP protocol calls the third proxy interface corresponding to the task type, and the task instruction is sent to the application of the central computing platform through the third proxy interface. The application sends the acquired driving variable calibration value to the external device according to a preset period according to the start instruction of the task instruction, and stops sending the driving variable calibration value according to the end instruction of the task instruction. Not only can the driving variable calibration value be sent multiple times to reduce the probability of data loss, but also after the sending is successful, the sending of the driving variable calibration value can be stopped according to the end instruction of the task instruction, thereby improving the control efficiency of sending the driving variable calibration value.

[0080] In one embodiment, Figure 5 As shown, the measurement and calibration software architecture based on the Adaptive AUTOSAR architecture standard includes an XCP protocol stack platform module (platform layer) and an XCP APP application software (application layer). As the implementation component of the measurement and calibration protocol, the XCP Stack (slave) belongs to the application layer protocol of the TCP / UDP protocol. The configured XCP calibration configuration file can be represented as a collection of calibration quantities to be read or written during subsequent measurement and calibration, and is used as a basis for judging whether a certain calibration quantity is legal. The Per interface can be called to read the memory guest space corresponding to the XCP calibration configuration file. Under the measurement and calibration software architecture, when using sub-function services, it is necessary to call across processes through the "ara::com" interface. In short, this application is based on the POSIX standard interface. Under the XCP Protocol protocol, the XCP Deamon Slave program is used as the XCP basic function module of the AP to establish communication with the XCP Master, thereby providing XCP measurement and calibration function services. Among them, the "ara::com" interface can represent an application programming interface (API) or an interface used for communication and data exchange between different software modules of communication protocols such as the XCP Protocol.

[0081] Among them, the calibration variables (such as constant string identifiers) in the above-configured XCP calibration configuration file can be a pre-defined and configured editable file. By using the Per module provided by Adaptive AUTOSAR to read and write access to this editable file, the read calibration values ​​can also be persistently stored to achieve dynamic configurability of the calibration amount and improve the dynamic flexibility of measurement and calibration.

[0082] The calibrated variable may be understood as the above-mentioned driving variable calibration value.

[0083] It should be noted that the XCP protocol contains several sub-protocol functions, each of which has its own business functions. Business functions are completed through independent processes, such as using the CM module provided by Adaptive AUTOSAR to perform cross-process communication between the XCPDeamon process and the XCP App.

[0084] Further, the specific communication and interaction process can be referred to Figure 6 The timing diagram of Figure 6 As shown in the figure, the basic mode of measurement and calibration is request-response, i.e., Master-Slave. The Master is, for example, an external device with an XCP graphical interface. The external device can be used to observe the calibration value and trigger calibration, and is the initiator of the command. The Slave corresponds to the XCP Stack / Deamon, which serves as the central computing unit and receives instructions from the external device. Then, the XCP Application cooperates with the SlaveDeamon to complete the specific tasks of measurement and calibration.

[0085] Specifically, the implementation process is as follows:

[0086] Step 1. Based on the socket interface of the Ethernet protocol stack of the POSIX OS, build the TCP / UDP communication service and create the XCP TCP server and XCP UDP server respectively.

[0087] Step 2. Generate an XCP protocol standard basic command (corresponding to the measurement task for implementing the basic protocol function of the XCP protocol) according to the Ethernet-based XCP Protocol specification, send the XCP protocol standard basic command to XCPDeamon, and XCP Deamon parses the command transmission object CTO, and when the CTO task is completed, constructs the response command of the command transmission object CTO. Among them, the XCP protocol standard basic command (i.e. the first task instruction) is used to complete the basic protocol functions such as connection initialization for measurement and calibration, and the range is 0xF1-0xFF.

[0088] Specific correspondence Figure 6 In:

[0089] Step S601: The Master end (ie, XCP Tool) constructs an FF command CTO (ie, XCP-CTO / CONNECT(FF)) and sends it to establish a Master-Slave connection (TCP or UDP).

[0090] Step S602, the Slave (ie, XCP Deamon) receives the FF command, performs initialization, and returns RES FF (ie, XCP-CTO / RES(FF)) to the Master, indicating that the connection is established.

[0091] Step S603: The Master constructs an asynchronous measurement F4 message CTO (ie, XCP-CTO / SHORT UPLOAD (F4)) and sends it to Slave n.

[0092] In step S604, the Slave decapsulates the message, and sends the decapsulated data (ie, read data1()) to the F4 App application, ie, the XCP Application, and reads the calibration value in the F4 App application.

[0093] Step S605, sending the return value (i.e., read data1()) to the Slave, so that the Slave forwards the return value to the Master.

[0094] Step S606: The Slave returns a RES FF response (ie, XCP-CTO / RES(FF)) to the Master.

[0095] Step 3. Generate an XCP protocol Calibration command (corresponding to the measurement task for implementing the data calibration function of the XCP protocol, i.e., the second task instruction) according to the Ethernet-based XCP Protocol specification, and send the XCP protocol Calibration command to the XCP Deamon. The XCP Deamon parses the calibration command transmission object CTO, and when the task of writing the calibration value is completed, constructs a response command of the calibration command transmission object CTO.

[0096] Among them, the XCP protocol Calibration command is used to write data to the XCP Slave, with a range of 0xEC—0xFO.

[0097] It can be understood that the Calibration command in the XCP protocol is a command used to send calibration data or parameters to the ECU. Through this command, the parameters in the ECU can be adjusted, calibrated and optimized. These parameters can include curves, mappings, calibration coefficients, etc., which are used to adjust functions such as engine control, transmission control, fuel system, emission control, etc. Through the Calibration command, engineers can adjust the performance and characteristics of the vehicle to meet different performance and environmental requirements.

[0098] Specifically, for example, the Master constructs the FO command data CTO and sends it. The Slave receives the FO command data and parses it, and further writes the calibration value in the FO App application, and returns RES FF to the Master.

[0099] Step 4. Generate an XCP protocol synchronization data request (corresponding to the measurement task for implementing the data synchronization function of the XCP protocol, i.e., the third task instruction) according to the Ethernet-based XCP Protocol specification, send the XCP protocol synchronization data request to the XCP Deamon, and the XCP Deamon parses the command transmission object CTO. After the command task business is completed, the data transmission object DTO is constructed to complete the periodic transmission of the DAQ command data of the data transmission object DTO, that is, periodically return the DAQ data from the XCP Slave to the XCP Master.

[0100] Among them, the XCP protocol synchronization data request is used to synchronize XCP Slave data to XCP Master, and the range is 0xE3-0xC7.

[0101] Specific correspondence Figure 6 In:

[0102] Step S607: The Master constructs a DD synchronous measurement start command CTO (ie, XCP-CTO / START STOP SYNC (DD)) and sends a message.

[0103] Step S608: After receiving the DD CTO, the Slave returns a RES FF response (ie, XCP-CTO / RES(FF)).

[0104] Step S609: while responding, the Slave periodically sends DTO / DAQ (ie XCP-DTO / DAQ()) messages to the Master according to the instruction trigger.

[0105] Among them, steps S610 to S611 can refer to the above steps S604-S605.

[0106] Step S612: The Master constructs a DD synchronization measurement end command CTO and sends a message.

[0107] Step S613, after receiving the DD CTO, the Slave ends the cycle of sending the DAQ message and returns a RES FF response.

[0108] Step 5. Each sub-function of the XCP protocol needs to be implemented by the application layer XCP App. When data needs to be read or written, the XCP application programming interface API is designed accordingly, such as: read or write data interface.

[0109] After designing the client / server communication code framework of CM communication, you can flexibly design the Method / Event / Field type interface, and then use the Adaptive AutoSar CM module interface to realize the communication between the XCP App process and the XCP StackDeamon process. That is, by providing the XCP application programming interface header file and the dynamic library form encapsulating the cross-process communication framework, it can be called by external XCP measurement and calibration application scenarios.

[0110] In this embodiment, after receiving and parsing the F4 / FO / DD instruction CTO through the Slave, the corresponding CMProxy end interface is called, and the request is sent to the XCP Application where the corresponding F4 / FO / DD functional service CM Skeleton is located, and the reading and writing of the calibration value are completed in the XCP Application.

[0111] Through the above steps, the XCP-ON-Ethernet protocol XCP is introduced into the Adaptive AUTOSAR system for real-time measurement and calibration of ECU internal variables, which improves the rationality of ECU calibration values.

[0112] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a vehicle terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0113] Optionally, in one embodiment, a system for determining a driving variable calibration value is also proposed, including: an external device based on the XCP protocol, and a central computing platform based on the XCP protocol.

[0114] Among them, the external device based on the XCP protocol is used to: generate a measurement task for the current on-board data generated by the target vehicle during driving in response to a trigger operation from an interactive interface; send the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform parses the task instructions to obtain the driving variable calibration value corresponding to the current on-board data; and update the current value of the driving variable of the target vehicle to the driving variable calibration value.

[0115] A central computing platform based on the XCP protocol is used to: parse task instructions from external devices based on the XCP protocol to obtain parsing results, wherein the parsing results at least include the task type of the task instructions; call a proxy interface corresponding to the task type, and send the task instructions to an application of the central computing platform through the proxy interface to control the application to execute the task instructions and obtain a driving variable calibration value of a target vehicle.

[0116] Figure 7 is a structural block diagram of a device for determining a driving variable calibration value according to an embodiment of the present application (I), such as Figure 7 As shown, including:

[0117] A generating module 702, for generating a measurement task for current vehicle-mounted data generated by the target vehicle during driving in response to a trigger operation from the interactive interface;

[0118] A sending module 704 is used to send the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform analyzes the task instructions and obtains the driving variable calibration value corresponding to the current vehicle data;

[0119] The updating module 706 is used to update the current value of the driving variable of the target vehicle to the calibrated value of the driving variable.

[0120] Through the above-mentioned device, an external device based on the XCP protocol responds to a trigger operation from an interactive interface to generate a measurement task for the current on-board data generated by the target vehicle during driving; the task instructions required when the measurement task is executed are sent to a central computing platform, and then the central computing platform parses the task instructions to obtain the driving variable calibration value corresponding to the current on-board data; the current value of the driving variable of the target vehicle is updated to the driving variable calibration value, which solves the technical problem in the related art of how to determine the driving variable calibration value of the vehicle during driving to improve the vehicle operation accuracy, thereby improving the vehicle operation accuracy.

[0121] In an exemplary embodiment, the sending module 704 is further used to implement: step S11, determining a target transmission interface from the data transmission interface provided by the Ethernet network where the target vehicle is located; step S12, generating a TCP server based on the XCP protocol based on the target transmission interface and the TCP communication protocol, and generating a UDP server based on the XCP protocol based on the target transmission interface and the UDP communication protocol, wherein a TCP communication channel based on the TCP communication protocol exists between the TCP server and the external device, and a UDP communication channel based on the UDP communication protocol exists between the UDP server and the external device; step S13, sending the task instructions required when the measurement task is executed to the central computing platform through the TCP communication channel, and / or sending the task instructions required when the measurement task is executed to the central computing platform through the UDP communication channel.

[0122] In an exemplary embodiment, the above-mentioned sending module 704 is also used to further implement the following steps before sending the task instructions required for the execution of the measurement task to the central computing platform: Step S21, for multiple measurement tasks, determine the task priority of each measurement task, and determine the execution order of the multiple measurement tasks according to the task priority of each measurement task, wherein the task priority of each measurement task is determined according to the data storage address corresponding to the task instructions corresponding to each measurement task, and the data storage addresses corresponding to the task instructions corresponding to any two measurement tasks are different.

[0123] In an exemplary embodiment, further, the above-mentioned update module 706 is also used to execute: step S31, when it is determined that the measurement task is used to implement the basic protocol function of the XCP protocol, generate the first task instruction required when the measurement task is executed, wherein the basic protocol function at least includes an initialization protocol function and an asynchronous calibration value acquisition function; S32, sending the first task instruction to the central computing platform, so that the central computing platform generates an initialization protocol channel between the central computing platform and the external device based on the first task instruction, and parses the task instruction to obtain the driving variable calibration value corresponding to the current vehicle-mounted data; S33, obtaining the driving variable calibration value from the central computing platform based on the initialization protocol channel.

[0124] In an exemplary embodiment, further, the above-mentioned update module 706 is also used to execute: step S22, when it is determined that the measurement task is used to implement the data calibration function of the XCP protocol, generating a second task instruction required when the measurement task is executed, wherein the data calibration function represents writing data to the central computing platform; step S23, sending the second task instruction to the central computing platform, so that the central computing platform parses the second task instruction, obtains the driving variable calibration value, and writes the driving variable calibration value corresponding to the current vehicle-mounted data in the application software connected to the central computing platform.

[0125] In an exemplary embodiment, further, the above-mentioned update module 706 is also used to execute: step S41, when it is determined that the measurement task is used to implement the data synchronization function of the XCP protocol, generating a third task instruction required when the measurement task is executed, wherein the data synchronization function is used to synchronize the driving variable calibration value from the central computing platform to the external device; step S42, sending the third task instruction to the central computing platform, so that the central computing platform parses the third task instruction, obtains the driving variable calibration value, and sends the driving variable calibration value according to a preset period.

[0126] Figure 8 is a structural block diagram (II) of a device for determining a driving variable calibration value according to an embodiment of the present application, such as Figure 8 As shown, including:

[0127] The parsing module 802 is used to parse the task instruction from the external device based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes the task type of the task instruction;

[0128] The calling module 804 is used to call the proxy interface corresponding to the task type, and send the task instruction to the application of the central computing platform through the proxy interface to control the application to execute the task instruction and obtain the driving variable calibration value of the target vehicle.

[0129] Through the above device, the task instruction from the external device based on the XCP protocol is parsed by the central computing platform based on the XCP protocol to obtain the parsing result, wherein the parsing result at least includes the task type of the task instruction; the proxy interface corresponding to the task type is called, and the task instruction is sent to the application of the central computing platform through the proxy interface to control the application to execute the task instruction, and obtain the driving variable calibration value of the target vehicle, which solves the technical problem in the related technology of how to determine the driving variable calibration value of the vehicle during driving to improve the vehicle operation accuracy, thereby improving the vehicle operation accuracy.

[0130] In an exemplary embodiment, the above-mentioned parsing module 802 is also used to implement the following steps: Step S51, use the decryption format pre-agreed by the external device and the central computing platform to decrypt the task instruction to obtain message information; Step S52, perform format verification on the message information, and when it is determined that the message information passes the format verification, determine the message information as the parsing result.

[0131] In an exemplary embodiment, the above-mentioned calling module 804 is also used to further execute: step S61, when it is determined that the task instruction is a basic instruction based on the XCP protocol, calling the first proxy interface corresponding to the task type; step S62, sending the task instruction to the application of the central computing platform through the first proxy interface to control the application to establish an initialization protocol channel between the central computing platform and the external device based on the task instruction, and execute the task instruction to obtain the driving variable calibration value.

[0132] In an exemplary embodiment, the above-mentioned calling module 804 is also used to further execute: step S71, when it is determined that the task instruction is a calibration instruction based on the XCP protocol, calling the second proxy interface corresponding to the task type; step S72, sending the task instruction to the application of the central computing platform through the second proxy interface to control the application to execute the task instruction, obtain the driving variable calibration value, and write the driving variable calibration value into the application software connected to the central computing platform.

[0133] In an exemplary embodiment, the above-mentioned calling module 804 is also used to further execute: step S81, when it is determined that the task instruction is a synchronization instruction based on the XCP protocol, calling the third agent interface corresponding to the task type; step S82, sending the task instruction to the application of the central computing platform through the third agent interface to control the application to send the acquired driving variable calibration value to the external device according to the preset period according to the start instruction of the task instruction, and stop sending the driving variable calibration value according to the end instruction of the task instruction.

[0134] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0135] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0136] S1, in response to a trigger operation from an interactive interface, generating a measurement task for current vehicle-mounted data generated during driving of a target vehicle;

[0137] S2, sending the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform parses the task instructions to obtain the driving variable calibration value corresponding to the current vehicle data;

[0138] S3, updating the current value of the driving variable of the target vehicle to the calibrated value of the driving variable.

[0139] Alternatively, in this embodiment, the storage medium may also be configured to store program codes for executing the following steps:

[0140] S1, parsing a task instruction from an external device based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes a task type of the task instruction;

[0141] S2, calling the proxy interface corresponding to the task type, and sending the task instruction to the application of the central computing platform based on the XCP protocol through the proxy interface to control the application to execute the task instruction and obtain the driving variable calibration value of the target vehicle.

[0142] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0143] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0144] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0145] S1, in response to a trigger operation from an interactive interface, generating a measurement task for current vehicle-mounted data generated during driving of a target vehicle;

[0146] S2, sending the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform parses the task instructions to obtain the driving variable calibration value corresponding to the current vehicle data;

[0147] S3, updating the current value of the driving variable of the target vehicle to the calibrated value of the driving variable.

[0148] Alternatively, in this embodiment, the storage medium may also be configured to store program codes for executing the following steps:

[0149] S1, parsing a task instruction from an external device based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes a task type of the task instruction;

[0150] S2, calling the proxy interface corresponding to the task type, and sending the task instruction to the application of the central computing platform based on the XCP protocol through the proxy interface to control the application to execute the task instruction and obtain the driving variable calibration value of the target vehicle.

[0151] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0152] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0153] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0154] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for determining a driving variable calibration value, characterized in that: Applicable to external devices based on XCP protocol, including: In response to a trigger operation from the interactive interface, a measurement task is generated for current vehicle-mounted data generated during driving of the target vehicle; Sending the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform analyzes the task instructions and obtains the driving variable calibration value corresponding to the current vehicle data; The current value of the driving variable of the target vehicle is updated to the calibrated value of the driving variable.

2. The method for determining the driving variable calibration value according to claim 1, characterized in that: Sending the task instructions required for executing the measurement task to the central computing platform includes: Determine a target transmission interface from the data transmission interfaces provided by the Ethernet network where the target vehicle is located; Generate a TCP server based on the XCP protocol based on the target transmission interface and the TCP communication protocol, and generate a UDP server based on the XCP protocol based on the target transmission interface and the UDP communication protocol, wherein a TCP communication channel based on the TCP communication protocol exists between the TCP server and the external device, and a UDP communication channel based on the UDP communication protocol exists between the UDP server and the external device; The task instructions required when the measurement task is executed are sent to the central computing platform via the TCP communication channel, and / or the task instructions required when the measurement task is executed are sent to the central computing platform via the UDP communication channel.

3. The method for determining the driving variable calibration value according to claim 1, characterized in that: Before sending the task instructions required for the execution of the measurement task to the central computing platform, the method also includes: determining the task priority of each measurement task for multiple measurement tasks, and determining the execution order of the multiple measurement tasks according to the task priority of each measurement task, wherein the task priority of each measurement task is determined according to the data storage address corresponding to the task instructions corresponding to each measurement task, and the data storage addresses corresponding to the task instructions corresponding to any two measurement tasks are different.

4. The method for determining the driving variable calibration value according to claim 3, characterized in that: Sending the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform parses the task instructions and obtains the driving variable calibration value corresponding to the current vehicle data, including: In the case where it is determined that the measurement task is used to implement a basic protocol function of the XCP protocol, generating a first task instruction required when the measurement task is executed, wherein the basic protocol function at least includes an initialization protocol function and an asynchronous calibration value acquisition function; Sending the first task instruction to the central computing platform, so that the central computing platform generates an initialization protocol channel between the central computing platform and the external device based on the first task instruction, and parsing the task instruction to obtain a driving variable calibration value corresponding to the current vehicle-mounted data; The driving variable calibration value is obtained from the central computing platform based on the initialization protocol channel.

5. The method for determining the driving variable calibration value according to claim 3, characterized in that: The method further comprises: In the case where it is determined that the measurement task is used to implement a data calibration function of the XCP protocol, generating a second task instruction required when the measurement task is executed, wherein the data calibration function represents writing data to the central computing platform; Sending the second task instruction to the central computing platform, so that the central computing platform analyzes the second task instruction and obtains the driving variable calibration value; The driving variable calibration value is written into the application software connected to the central computing platform.

6. The method for determining the driving variable calibration value according to claim 3, characterized in that: The method further comprises: In the case where it is determined that the measurement task is used to implement a data synchronization function of the XCP protocol, generating a third task instruction required when the measurement task is executed, wherein the data synchronization function is used to synchronize the driving variable calibration value from the central computing platform to the external device; The third task instruction is sent to the central computing platform, so that the central computing platform parses the third task instruction, obtains the driving variable calibration value, and sends the driving variable calibration value according to a preset period.

7. A method for determining a driving variable calibration value, characterized in that: Applied to the central computing platform based on XCP protocol, including: Parsing a task instruction from an external device based on the XCP protocol to obtain a parsing result, wherein the parsing result at least includes a task type of the task instruction; The proxy interface corresponding to the task type is called, and the task instruction is sent to the application of the central computing platform through the proxy interface to control the application to execute the task instruction and obtain the driving variable calibration value of the target vehicle.

8. The method for determining the driving variable calibration value according to claim 7, characterized in that: Parse the task instructions from the external device based on the XCP protocol to obtain the parsing results, including: Decrypt the task instruction using a decryption format pre-agreed between the external device and the central computing platform to obtain message information; Performing a format check on the message information, and when it is determined that the message information passes the format check, determining the message information as the parsing result.

9. The method for determining the driving variable calibration value according to claim 8, characterized in that: Calling a proxy interface corresponding to the task type, and sending the task instruction to the application of the central computing platform through the proxy interface to control the application to execute the task instruction and obtain the driving variable calibration value of the target vehicle, including: In the case where it is determined that the task instruction is a basic instruction based on the XCP protocol, calling a first proxy interface corresponding to the task type; The task instruction is sent to the application of the central computing platform through the first proxy interface to control the application to establish an initialization protocol channel between the central computing platform and the external device based on the task instruction, and to execute the task instruction to obtain the driving variable calibration value.

10. The method for determining the driving variable calibration value according to claim 9, characterized in that: The method further comprises: In the case where it is determined that the task instruction is a calibration instruction based on the XCP protocol, calling a second proxy interface corresponding to the task type; The task instruction is sent to the application of the central computing platform through the second proxy interface to control the application to execute the task instruction, obtain the driving variable calibration value, and write the driving variable calibration value into the application software connected to the central computing platform.

11. The method for determining the driving variable calibration value according to claim 9, characterized in that: The method further comprises: In the case where it is determined that the task instruction is a synchronization instruction based on the XCP protocol, calling a third proxy interface corresponding to the task type; The task instruction is sent to the application of the central computing platform through the third proxy interface to control the application to send the acquired driving variable calibration value to the external device according to a preset period according to the start instruction of the task instruction, and to stop sending the driving variable calibration value according to the end instruction of the task instruction.

12. A device for determining a driving variable calibration value, characterized in that: include: A generation module, for generating a measurement task for current vehicle-mounted data generated by the target vehicle during driving in response to a trigger operation from the interactive interface; A sending module, used to send the task instructions required when the measurement task is executed to the central computing platform, so that the central computing platform analyzes the task instructions and obtains the driving variable calibration value corresponding to the current vehicle data; An updating module is used to update the current value of the driving variable of the target vehicle to the calibrated value of the driving variable.

13. A device for determining a driving variable calibration value, characterized in that: include: The parsing module is used to parse the task instructions from external devices based on the XCP protocol. Obtaining a parsing result, wherein the parsing result at least includes a task type of the task instruction; The calling module is used to call the proxy interface corresponding to the task type, and send the task instruction to the application of the central computing platform based on the XCP protocol through the proxy interface to control the application to execute the task instruction and obtain the driving variable calibration value of the target vehicle.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 11 when executed.

15. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 11 through the computer program.

Citation Information

Patent Citations

  • Low power periodic and triggered location of a mobile device using early data transmission

    CN112314021A

  • Data table updating method and device

    CN113127489A

  • Data measurement calibration method and device, vehicle controller, vehicle and medium

    CN114740825A

  • Data processing upper computer, method and device, electronic equipment and storage medium

    CN116700207A

  • Domain name resolution method and device, equipment and storage medium

    CN116743699A

Cited By

  • CAN bus communication matrix automatic test method and test system thereof

    CN119854159A