Vehicle calibration method, device and apparatus
By introducing a remote information processor into the vehicle to convert and control the calibration request receiving device to generate calibration instructions, the problem of low calibration efficiency and high cost of multiple devices to be calibrated in the vehicle is solved, and an efficient and low-cost calibration process is achieved.
Patent Information
- Application Number
- CN202310475511.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2043-04-27
AI Technical Summary
When calibrating multiple devices to be calibrated in a vehicle, there are problems of low calibration efficiency and high cost.
By setting up a remote information processor in the vehicle, the initial calibration request from the calibration device is received and converted into a target calibration request, which is then sent to the calibration request receiving device. The calibration request receiving device parses the target calibration parameters and generates calibration instructions to control the target device to be calibrated to perform calibration. Only a communication connection needs to be established between the calibration device and the remote information processor, avoiding direct connections with other devices to be calibrated.
It improves calibration efficiency, reduces calibration costs, simplifies the calibration process, and saves time and costs associated with connecting various devices to be calibrated.
Smart Images

Figure CN116501014B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle calibration, and in particular to a vehicle calibration method, device and equipment. BACKGROUND
[0002] In the field of automatic driving, in order to enable a to-be-calibrated device of a vehicle to perform corresponding control according to a set parameter value, it is usually necessary to calibrate the to-be-calibrated device in the vehicle. The types of the to-be-calibrated device can include a system on chip (SOC) in an automatic driving domain controller, a microcontroller unit (MCU), or other devices that need to be calibrated.
[0003] In related technologies, in the case where at least one SOC and at least one MCU, or multiple SOCs, or multiple MCUs are provided in a vehicle, it is difficult to calibrate these devices at low cost and high efficiency. That is, in related technologies, when multiple to-be-calibrated devices in a vehicle are calibrated, there is a technical problem of low calibration efficiency and high calibration cost. SUMMARY
[0004] Embodiments of the present application provide a vehicle calibration method, device and equipment to solve the technical problem of low calibration efficiency and high calibration cost when multiple to-be-calibrated devices in a vehicle are calibrated in the prior art.
[0005] In a first aspect, embodiments of the present application provide a vehicle calibration method, which is applied to a calibration request receiving device, the calibration request receiving device being a preset to-be-calibrated device among multiple to-be-calibrated devices, and the method comprising: receiving a target calibration request sent by a telematics processor, the target calibration request being obtained by the telematics processor converting an initial calibration request sent by a calibration device, the initial calibration request comprising a target calibration parameter for calibrating a target to-be-calibrated device; parsing the target calibration request to obtain the target calibration parameter; in response to the calibration request receiving device and the target to-be-calibrated device being different, generating a target calibration instruction according to the target calibration parameter, and sending the target calibration instruction to the target to-be-calibrated device to control the target to-be-calibrated device to calibrate according to the target calibration instruction.
[0006] Optionally, the target calibration request further comprises an identifier of the target to-be-calibrated device; determining whether the calibration request receiving device and the target to-be-calibrated device are the same comprises: parsing the target calibration request to obtain the identifier of the target to-be-calibrated device; and determining whether the calibration request receiving device and the target to-be-calibrated device are the same according to the identifier of the target to-be-calibrated device and an identifier of the calibration request receiving device.
[0007] Optionally, the target calibration request is subject to a general measurement and calibration protocol XCP; and the parsing the target calibration request to obtain the target calibration parameter comprises: parsing the target calibration request based on the XCP to obtain the target calibration parameter from a position where the target calibration parameter is stored in the target calibration request.
[0008] Optionally, the generating the target calibration instruction according to the target calibration parameter comprises: generating the target calibration instruction according to the target calibration parameter in accordance with a Service-Oriented MiddlewarK based on Internet Protocol (SOME / IP) protocol, and the target calibration parameter is stored in a preset parameter storage position in the target calibration instruction.
[0009] Optionally, the calibration request receiving device is in communication connection with a plurality of to-be-calibrated devices; and before the sending the target calibration instruction to the target to-be-calibrated device, the method further comprises: determining the target to-be-calibrated device from the plurality of to-be-calibrated devices according to an identifier of the target to-be-calibrated device.
[0010] Optionally, the initial calibration request is a request obtained by decrypting an encrypted initial calibration request sent by the telematics processor to the calibration device.
[0011] Optionally, the method further comprises: in response to the calibration request receiving device being the same as the target to-be-calibrated device, determining that the calibration request receiving device is the target to-be-calibrated device; and calibrating the calibration request receiving device based on the target calibration parameter.
[0012] In a second aspect, an embodiment of the present application provides a vehicle calibration method, which is applied to a telematics processor, and the method comprises the following steps: receiving an initial calibration request sent by a calibration device, wherein the initial calibration request comprises a target calibration parameter used for calibrating a target to-be-calibrated device; converting the initial calibration request into a target calibration request; and sending the target calibration request to a calibration request receiving device, so as to instruct the calibration request receiving device to obtain the target calibration parameter according to the target calibration request, and in response to the calibration request receiving device being different from the target to-be-calibrated device, to generate a target calibration instruction according to the target calibration parameter, and to send the target calibration instruction to the target to-be-calibrated device, so as to control the target to-be-calibrated device to calibrate according to the target calibration parameter, wherein the calibration request receiving device is a preset to-be-calibrated device in a plurality of to-be-calibrated devices.
[0013] Optionally, the target calibration request further comprises an identifier of the target to-be-calibrated device; and the identifier of the target to-be-calibrated device is used to instruct the calibration request receiving device to determine whether the calibration request receiving device is the same as the target to-be-calibrated device.
[0014] Optionally, the receiving the initial calibration request sent by the calibration device comprises: receiving an encrypted initial calibration request sent by the calibration device, the encrypted initial calibration request being obtained by encrypting the initial calibration request by the calibration device using a target public key; and decrypting the encrypted initial calibration request using a target private key corresponding to the target public key to obtain the initial calibration request.
[0015] Optionally, the converting the initial calibration request into a target calibration request comprises: converting the initial calibration request into a target calibration request according to a general measurement and calibration protocol XCP.
[0016] In a third aspect, an embodiment of the present application provides a vehicle calibration device, the device being located in a calibration request receiving device, the calibration request receiving device being a preset calibration device in a plurality of calibration devices, and the device comprising: a first receiving module configured to receive a target calibration request sent by a telematics processor, the target calibration request being obtained by converting an initial calibration request sent by a calibration device by the telematics processor, and the initial calibration request comprising a target calibration parameter used for calibrating a target calibration device; an analysis module configured to analyze the target calibration request to obtain the target calibration parameter; and a first sending module configured to, in response to the calibration request receiving device and the target calibration device being different, generate a target calibration instruction according to the target calibration parameter, and send the target calibration instruction to the target calibration device to control the target calibration device to calibrate according to the target calibration parameter.
[0017] In a fourth aspect, an embodiment of the present application provides a vehicle calibration device, the device being located in a telematics processor, and the device comprising: a second receiving module configured to receive an initial calibration request sent by a calibration device, the initial calibration request comprising a target calibration parameter used for calibrating a target calibration device; a conversion module configured to convert the initial calibration request into a target calibration request; and a second sending module configured to send the target calibration request to a calibration request receiving device, to instruct the calibration request receiving device to obtain the target calibration parameter according to the target calibration request, and in response to the calibration request receiving device and the target calibration device being different, to generate a target calibration instruction according to the target calibration parameter, and to send the target calibration instruction to the target calibration device to control the target calibration device to calibrate according to the target calibration parameter, the calibration request receiving device being a preset calibration device in a plurality of calibration devices.
[0018] In a fifth aspect, an embodiment of the present application provides a calibration request receiving device, comprising: a processor, a memory connected with the processor in communication, and a transceiver; the memory stores computer-executable instructions; the transceiver is used for transceiving data; and the processor executes the computer-executable instructions stored in the memory to implement the method according to any one of the first aspect or the second aspect.
[0019] In a sixth aspect, an embodiment of the present application provides a telematics processor, comprising: a processor, a memory connected with the processor in communication, and a transceiver; the memory stores computer-executable instructions; the transceiver is used for transceiving data; and the processor executes the computer-executable instructions stored in the memory to implement the method according to any one of the first aspect or the second aspect.
[0020] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the vehicle calibration method according to any one of the first aspect or the second aspect.
[0021] The embodiment of the present application provides a vehicle calibration method, device and equipment, the vehicle calibration method is applied to a calibration request receiving device, the calibration request receiving device is a preset calibration device in a plurality of calibration devices, and the method comprises the following steps: receiving a target calibration request sent by a telematics processor, the target calibration request is obtained by converting an initial calibration request sent by the telematics processor to the calibration device, and the initial calibration request comprises a target calibration parameter used for calibrating a target calibration device; analyzing the target calibration request to obtain the target calibration parameter; in response to the calibration request receiving device being different from the target calibration device, generating a target calibration instruction according to the target calibration parameter, and sending the target calibration instruction to the target calibration device to control the target calibration device to calibrate according to the target calibration instruction. The calibration device sends the initial calibration request to the telematics processor, the telematics processor converts the initial calibration request into the target calibration request and then sends the target calibration request to the calibration request receiving device, and in this process, only a communication connection between the calibration device and the telematics processor needs to be established, and a communication connection between the calibration device and the plurality of calibration devices does not need to be established. The calibration request receiving device analyzes the target calibration request sent by the telematics processor to obtain the target calibration parameter, and in response to the calibration request receiving device being different from the target calibration device, sends a calibration instruction generated according to the target calibration parameter to the target calibration device, so that the target calibration device calibrates according to the target calibration instruction, and in this process, only a communication connection between the calibration request receiving device and the telematics processor needs to be established, and a communication connection between the telematics processor and other calibration devices except the calibration request receiving device does not need to be established. That is, only by establishing the communication connection between the calibration device and the telematics processor and the communication connection between the telematics processor and the calibration request receiving device, data transmission can be realized, and calibration of the target calibration device can be completed. Through the method, the calibration device and the telematics processor do not need to be connected with each calibration device respectively, and calibration of the target calibration device can be realized, so that time and cost for connecting each calibration device by the calibration device can be saved, and the calibration method is simple. The technical problems of low calibration efficiency and high calibration cost in the prior art are solved.
[0022] It should be understood that the content described in the foregoing summary section is not intended to limit or define key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0024] Figure 1 A structural schematic diagram of a vehicle calibration device in the prior art;
[0025] Figure 2 A schematic diagram of an application scenario of a vehicle calibration method provided by an embodiment of the present application;
[0026] Figure 3 A flowchart of a vehicle calibration method provided by an embodiment of the present application;
[0027] Figure 4 A flowchart of a vehicle calibration method provided by another embodiment of the present application;
[0028] Figure 5 A signaling flowchart of a vehicle calibration method provided by an embodiment of the present application;
[0029] Figure 6 A connection structure schematic diagram of devices in a system formed by a vehicle calibration method provided by an embodiment of the present application;
[0030] Figure 7 A connection structure schematic diagram of devices in a system formed by a vehicle calibration method provided by another embodiment of the present application;
[0031] Figure 8 A structural schematic diagram of a vehicle calibration device provided by an embodiment of the present application;
[0032] Figure 9 A structural schematic diagram of a vehicle calibration device provided by another embodiment of the present application;
[0033] Figure 10 A structural schematic diagram of a calibration request receiving device provided by an embodiment of the present application;
[0034] Figure 11 A structural schematic diagram of a remote information processor provided by an embodiment of the present application.
[0035] The above drawings have shown the specific embodiments of the present application, and the following will have more detailed description. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application by any means, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0036] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The following description is made with reference to the accompanying drawings in which like reference numerals refer to like elements throughout the several figures. The following exemplary embodiments described below are not meant to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.
[0037] First, the terms involved in the present application are explained:
[0038] Universal Measurement and Calibration Protocol (XCP for short), refers to a protocol used when transmitting data between a T-BOX and a SOC of a vehicle, or between a T-BOX and an MCU.
[0039] Telematics BOX (T-BOX for short), refers to a device in a vehicle used to receive an initial calibration request sent by a calibration device through wireless communication.
[0040] Scalable Service-Oriented Middleware over Internet Protocol (SOME / IP for short) protocol, refers to a protocol used for communication between different devices to be calibrated inside a vehicle.
[0041] Autonomous driving domain controller, refers to a controller in an autonomous driving vehicle that can integrate multiple devices to be calibrated into a control unit.
[0042] Currently, an automatic driving domain controller is usually arranged in an automatic driving vehicle, and at least one SOC or at least one MCU, or at least one SOC and at least one MCU are usually arranged in the automatic driving domain controller. The SOC or MCU serves as a micro control unit of the vehicle, and can control corresponding devices of the vehicle according to internal setting parameters. Taking a temperature parameter for controlling the on or off of an air conditioning system in the vehicle as an example, the functions of the SOC and MCU are exemplarily described: the SOC or MCU is set with a temperature parameter for controlling the on or off of the air conditioning system in the vehicle, and when the actual temperature in the vehicle reaches the set temperature parameter, the SOC or MCU controls the air conditioning system to perform corresponding actions. In actual application, a user-set target calibration parameter can be input in a calibration device, and then the target calibration parameter is sent to the SOC or MCU by the calibration device, so that the SOC or MCU is calibrated based on the target calibration parameter, and controls corresponding devices in the vehicle according to the target calibration parameter. In this application scenario, the SOC or MCU is a to-be-calibrated device, and the calibration device for calibrating the to-be-calibrated device can be a host computer. Specifically, a communication connection needs to be established between the calibration device and the to-be-calibrated device, and the transmission of the target calibration parameter is realized based on the communication connection.
[0043] However, when multiple to-be-calibrated devices exist in the vehicle at the same time, the calibration device needs to be connected to each to-be-calibrated device respectively, and the corresponding target calibration parameters need to be sent to the corresponding to-be-calibrated devices respectively, so as to calibrate the corresponding to-be-calibrated devices. Figure 1 A structural diagram of a vehicle calibration device in the prior art is shown in FIG. 1. Figure 1 As shown in FIG. 1, the to-be-calibrated devices are SOC and MCU respectively, and the calibration device is a host computer. When the SOC and MCU are calibrated, the host computer needs to be connected to the SOC and MCU respectively, and the corresponding target calibration parameters are sent to the SOC and MCU through XCP protocol. Based on this method, the calibration device needs to be connected to multiple to-be-calibrated devices respectively when multiple to-be-calibrated devices are calibrated, which will increase the calibration time and increase the calibration cost. In addition, because the SOC and MCU usually do not have remote communication function, the target calibration data can only be sent to the SOC and MCU by the host computer in a short distance communication range, that is, when the SOC and MCU are calibrated, the host computer needs to be brought close to the vehicle, which will also increase the calibration time and increase the difficulty of calibration. That is, in the prior art, when multiple to-be-calibrated devices in the vehicle are calibrated, there is a technical problem of low calibration efficiency and high calibration cost.
[0044] To solve the technical problem of low calibration efficiency and high calibration cost when calibrating multiple to-be-calibrated devices in a vehicle in the related art, a remote information processor for remotely communicating with the calibration device needs to be arranged in the vehicle, an initial calibration request including target calibration parameters sent by the calibration device is received through the remote information processor, the initial calibration request is converted into a target calibration request, and then the target calibration request is sent to a certain preset to-be-calibrated device acting as a calibration request receiving device in the multiple to-be-calibrated devices. If the calibration request receiving device is different from the target to-be-calibrated device corresponding to the target calibration request, the calibration request receiving device generates a target calibration instruction according to the target calibration parameters, and sends the target calibration instruction to the corresponding target to-be-calibrated device, so that the target to-be-calibrated device calibrates according to the target calibration instruction. In this process, only a communication connection between the calibration request receiving device and the remote information processor needs to be established, and a communication connection between the remote information processor and other to-be-calibrated devices except the calibration request receiving device does not need to be established. That is, the calibration device only needs to be in communication connection with the remote information processor, and the remote information processor only needs to be connected with a preset to-be-calibrated device in the multiple to-be-calibrated devices, without the need to be connected with each to-be-calibrated device respectively, so that the calibration of the multiple to-be-calibrated devices can be realized, which can save the time of connecting each to-be-calibrated device respectively, and the calibration method is simple. The technical problem of low calibration efficiency and high calibration cost when calibrating multiple to-be-calibrated devices in a vehicle in the prior art is solved.
[0045] The application scenario of the vehicle calibration method, device and equipment provided by the present application is introduced as follows.
[0046] Figure 2 An application scenario of the vehicle calibration method provided by the embodiment of the present application is shown in FIG. 1. Figure 2 As shown in the figure, the application scenario includes a calibration device 101, a remote information processor 102, a calibration request receiving device 103, and at least one to-be-calibrated device 104. The remote information processor 102, the calibration request receiving device 103, and the at least one to-be-calibrated device 104 are arranged in a target vehicle 105. Further, the at least one to-be-calibrated device 104 is arranged in an automatic driving domain controller 106 of the target vehicle 105. The calibration device 101 and the remote information processor 102 are in communication connection, the remote information processor 102 and the calibration request receiving device 103 are in communication connection, and the calibration request receiving device 103 and each to-be-calibrated device 104 are in communication connection.
[0047] Specifically, the calibration device 101 sends an initial calibration request including a target calibration parameter for calibrating a target to-be-calibrated device to the telematics processor 102, the telematics processor 102 converts the initial calibration request into a target calibration request and sends the target calibration request to the calibration request receiving device 103, the calibration request receiving device 103 parses the target calibration request to obtain the target calibration parameter, and determines the target to-be-calibrated device from at least one to-be-calibrated device 104 in response to the calibration request receiving device 103 and the target to-be-calibrated device being different, generates a target calibration instruction according to the target calibration parameter, and sends the target calibration instruction to the target to-be-calibrated device to control the target to-be-calibrated device to calibrate according to the target calibration parameter.
[0048] It should be noted that the present application can implement various vehicle calibration methods, for example, the SOC or MCU of the vehicle can be calibrated, or the parameters in the SOC or MCU of the target vehicle for controlling the opening or closing of the air conditioning system can be calibrated, or the ignition angle in the SOC or MCU of the vehicle for controlling engine ignition can be calibrated, or the parameters in the SOC or MCU of the vehicle for controlling other devices to perform corresponding actions can be calibrated. In addition, the calibration device can be a cloud server, a physical server, or a mobile terminal, or other devices that can send an initial calibration request to a telematics processor.
[0049] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in detail in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0050] The optional embodiment provides a vehicle calibration method, and the execution subject of the method is a vehicle calibration device, which is located in a calibration request receiving device, wherein the calibration request receiving device is a preset to-be-calibrated device in a plurality of to-be-calibrated devices. Figure 3 The flowchart of the vehicle calibration method provided by an embodiment of the present application is shown in Figure 3 The vehicle calibration method is further described as follows. Figure 3 As shown in the figure, the method of the embodiment includes the following steps.
[0051] S201, receiving a target calibration request sent by a telematics processor, the target calibration request being obtained by the telematics processor converting an initial calibration request sent by a calibration device, the initial calibration request including a target calibration parameter for calibrating a target to-be-calibrated device.
[0052] The remote information processor is configured to receive an initial calibration request sent by the calibration device, convert the initial calibration request into a target calibration request, and send the target calibration request to the calibration request receiving device.
[0053] The calibration device is configured to send an initial calibration request to the remote information processor.
[0054] The target calibration request is converted from the initial calibration request sent by the calibration device and not converted.
[0055] In some embodiments, the calibration device can be a terminal device, for example, the calibration device can be a mobile terminal such as a mobile computer, a terminal device such as a desktop computer, or other terminal devices that can send an initial calibration request to the remote information processor.
[0056] In some embodiments, the calibration device can be a server, for example, the calibration device can be a cloud server or a physical server.
[0057] In some embodiments, the remote information processor converts the initial calibration request sent by the calibration device into a target calibration request through a preset communication protocol.
[0058] In some embodiments, the calibration request receiving device obtains the target calibration request sent by the remote information processor through a wired communication mode. In other embodiments, the calibration request receiving device obtains the target calibration request sent by the remote information processor through a wireless communication mode.
[0059] S202, parsing the target calibration request to obtain a target calibration parameter.
[0060] In some optional embodiments, the remote information processor converts the initial calibration request sent by the calibration device into a target calibration request through a preset communication protocol, and accordingly, the calibration request receiving device parses the target calibration request according to the preset communication protocol used to convert the initial calibration request, and further obtains the target calibration parameter therein.
[0061] S203, in response to the calibration request receiving device and the target calibration device being different, generating a target calibration instruction according to the target calibration parameter, and sending the target calibration instruction to the target calibration device to control the target calibration device to calibrate according to the target calibration instruction.
[0062] The target calibration instruction is generated according to the target calibration parameter and is used to control the target calibration device to calibrate.
[0063] In one embodiment, determining whether the target calibration request receiving device and the target device to be calibrated are the same can include the following scheme: determining whether the target calibration request receiving device and the target device to be calibrated are the same according to the identification of the target device to be calibrated contained in the target calibration request and the identification of the target calibration request receiving device.
[0064] In one embodiment, generating the target calibration instruction according to the target calibration parameter can include the following scheme: generating the target calibration instruction according to the target calibration parameter based on a preset data transmission protocol.
[0065] In one embodiment, sending the target calibration instruction to the target device to be calibrated can include the following scheme: sending the target calibration instruction to the target device to be calibrated through a preset communication interface.
[0066] In one embodiment, the method for the target device to be calibrated to calibrate according to the target calibration instruction can include the following scheme: the target device to be calibrated extracts the target calibration parameter from the target calibration instruction based on a preset data transmission protocol, and calibrates based on the target calibration parameter.
[0067] In the optional embodiment, the vehicle calibration method is applied to a calibration request receiving device, the calibration request receiving device is a preset calibration target device in the plurality of calibration target devices, and the method comprises the following steps: receiving a target calibration request sent by a telematics processor, the target calibration request is obtained by converting an initial calibration request sent by the calibration device to the calibration device, and the initial calibration request comprises target calibration parameters for calibrating the target calibration target device; analyzing the target calibration request to obtain the target calibration parameters; in response to the calibration request receiving device being different from the target calibration target device, generating a target calibration instruction according to the target calibration parameters, and sending the target calibration instruction to the target calibration target device to control the target calibration target device to calibrate according to the target calibration instruction. The calibration device sends the initial calibration request to the telematics processor, and the telematics processor sends the target calibration request to the calibration request receiving device after converting the initial calibration request. In this process, only a communication connection between the calibration device and the telematics processor needs to be established, and a communication connection between the calibration device and the plurality of calibration target devices does not need to be established. The calibration request receiving device analyzes the target calibration request sent by the telematics processor to obtain the target calibration parameters, and in response to being different from the target calibration target device, sends a calibration instruction generated according to the target calibration parameters to the target calibration target device, so that the target calibration target device calibrates according to the target calibration instruction. In this process, only a communication connection between the calibration request receiving device and the telematics processor needs to be established, and a communication connection between the telematics processor and other calibration target devices except the calibration request receiving device does not need to be established. That is, only by establishing a communication connection between the calibration device and the telematics processor, and a communication connection between the telematics processor and the calibration request receiving device, data transmission can be realized, and calibration of the target calibration target device can be completed. Through the method, the calibration device and the telematics processor do not need to be connected to each calibration target device respectively, and calibration of the target calibration target device can be realized. In this way, time and cost for connecting each calibration target device to the calibration device respectively can be saved, and the calibration method is simple. The technical problem of low calibration efficiency and high calibration cost in the prior art when calibrating the plurality of calibration target devices in the vehicle is solved.
[0068] In some embodiments, the calibration device and the telematics processor can transmit data in various ways. For example, the calibration device and the telematics processor are remotely connected through wireless communication, and the calibration device sends an initial calibration request to the telematics processor through wireless communication. In the prior art, because the device to be calibrated cannot communicate remotely, it is usually necessary to take the host computer to the vicinity of the target vehicle to calibrate the target device to be calibrated in the target vehicle at close range. In the method of the present embodiment, the calibration device and the telematics processor are remotely connected through wireless communication, and the target device to be calibrated in the target vehicle can be calibrated at a long distance, solving the problem that calibration cannot be performed at close range in the prior art. In addition, because the calibration device does not need to be taken to the vicinity of the target vehicle for calibration, the method also saves calibration time and improves calibration efficiency.
[0069] In some optional embodiments, if the calibration request receiving device and the target device to be calibrated are not the same, after the calibration request device sends the target calibration instruction to the target device to be calibrated to control the target device to be calibrated to calibrate according to the target calibration instruction, the following scheme can be further included: the target device to be calibrated generates initial calibration request response data after calibrating according to the target calibration instruction, and sends the initial calibration request response data to the calibration request receiving device; the calibration request receiving device converts the initial calibration request response data to obtain target calibration request response data, and sends the target calibration request response data to the telematics processor; the telematics processor analyzes the target calibration request response data to obtain the initial calibration request response data included therein, and sends the initial calibration request response data to the calibration device.
[0070] In some optional embodiments, the target calibration request further includes the identification of the target device to be calibrated.
[0071] Correspondingly, determining whether the calibration request receiving device and the target device to be calibrated are the same includes:
[0072] S301, analyzing the target calibration request to obtain the identification of the target device to be calibrated.
[0073] It should be noted that the initial calibration request includes the identification of the target device to be calibrated, and correspondingly, the target calibration request converted by the initial calibration device also includes the identification of the target device to be calibrated.
[0074] In one embodiment, the identification of the target device to be calibrated can be the media access control address (English: Media Access Control Address, abbreviated as: MAC) of the target device to be calibrated.
[0075] In another embodiment, the identification of the target device to be calibrated can be a memory address in the target device to be calibrated for writing the target calibration parameter. It should be noted that the memory address for writing the calibration parameter is different in different devices to be calibrated, and therefore, the memory address for writing the calibration parameter can also be used as the identification of the device to be calibrated.
[0076] In one embodiment, the telematics processor converts the initial calibration request sent by the calibration device into a target calibration request through a preset communication protocol, and accordingly, the calibration request receiving device parses the target calibration request according to the preset communication protocol used to convert the initial calibration request, and further obtains the identification of the target device to be calibrated.
[0077] In one embodiment, the telematics processor converts the initial calibration request sent by the calibration device into a target calibration request through a preset communication protocol, and accordingly, the calibration request receiving device parses the target calibration request according to the preset communication protocol used to convert the initial calibration request, and further obtains the identification of the target device to be calibrated.
[0078] In one embodiment, the telematics processor converts the initial calibration request sent by the calibration device into a target calibration request through a preset communication protocol, and accordingly, the calibration request receiving device parses the target calibration request according to the preset communication protocol used to convert the initial calibration request, and further obtains the identification of the target device to be calibrated.
[0079] In this optional embodiment, the target calibration request further includes the identification of the target device to be calibrated; determining whether the calibration request receiving device and the target device to be calibrated are the same includes: parsing the target calibration request to obtain the identification of the target device to be calibrated; and determining whether the calibration request receiving device and the target device to be calibrated are the same according to the identification of the target device to be calibrated and the identification of the calibration request receiving device. By parsing the target calibration request, the identification of the target device to be calibrated can be quickly and accurately obtained, and based on the identification of the target device to be calibrated and the identification of the calibration request receiving device, it can be accurately determined whether the calibration request receiving device and the target device to be calibrated are the same.
[0080] In some optional embodiments, the target calibration request is subject to the XCP (XCP: eXtended Calibration Protocol) protocol.
[0081] Accordingly, parsing the target calibration request to obtain the target calibration parameter includes: based on the XCP protocol, parsing the target calibration request to obtain the target calibration parameter from a position where the target calibration parameter is stored in the target calibration request.
[0082] In some embodiments, the calibration request receiving device is provided with an XCP protocol stack, and the telematics processor converts the initial calibration request into the target calibration request through the XCP protocol and sends it to the calibration request receiving device. Accordingly, after receiving the target calibration request, the calibration request receiving device can parse the target calibration request through the XCP protocol, and obtain the target calibration parameter from a position where the target calibration parameter is stored in the target calibration request.
[0083] In the optional embodiment, the target calibration request complies with the universal measurement and calibration protocol XCP, and accordingly, the calibration request receiving device parses the target calibration request based on the XCP protocol, and obtains the target calibration parameter from the position where the target calibration parameter is stored in the target calibration request. In the automobile field, the XCP protocol is mainly applied to the calibration of parameters in the internal control or processing unit of the automobile. In the embodiment, the target calibration request complies with the universal measurement and calibration protocol XCP, and the calibration request receiving device can successfully parse the target calibration request based on the XCP protocol, and then accurately obtain the target calibration parameter from the position where the target calibration parameter is stored in the target calibration request. Through the method of the optional embodiment, it can be ensured that the calibration request receiving device can accurately obtain the target calibration parameter.
[0084] In some optional embodiments, the target calibration instruction is generated according to the target calibration parameter, including: generating the target calibration instruction according to the target calibration parameter based on the SOME / IP protocol of the extensible service-oriented communication middleware based on the Internet protocol, and storing the target calibration parameter in a preset parameter storage position in the target calibration instruction.
[0085] In one embodiment, the calibration request receiving device converts the target calibration parameter into the target calibration instruction based on the SOME / IP protocol, and further stores the target calibration parameter in the position for storing the calibration parameter in the target calibration instruction according to the requirement of the SOME / IP protocol.
[0086] In the optional embodiment, the target calibration instruction is generated according to the target calibration parameter based on the SOME / IP protocol of the extensible service-oriented communication middleware based on the Internet protocol, and the target calibration parameter is stored in a preset parameter storage position in the target calibration instruction. The target calibration instruction generated by the SOME / IP protocol is subject to the SOME / IP protocol, because the SOME / IP protocol can enable the corresponding programs in different target devices to be calibrated to communicate according to the agreed service interface, and therefore the target calibration instruction obtained by the method of the optional embodiment can be transmitted between the calibration request receiving device and the target device to be calibrated, and it can be ensured that the target device to be calibrated can parse the target calibration parameter included therein.
[0087] In one embodiment, the calibration request receiving device and the target device to be calibrated are both provided with a SOME / IP communication interface based on the transport layer protocol (English: User Datagram Protocol, abbreviated as: UDP). By providing the communication interface, it can be ensured that the target calibration instruction generated by the SOME / IP protocol can be transmitted between the calibration request receiving device and the target device to be calibrated, and it can be ensured that the target device to be calibrated can parse the target calibration parameter included therein.
[0088] In some optional embodiments, the calibration request receiving device is in communication connection with the plurality of calibration target devices.
[0089] Accordingly, before sending the target calibration instruction to the target calibration target device, the following scheme is further included: determining the target calibration target device from the plurality of calibration target devices according to the identification of the target calibration target device.
[0090] In one embodiment, the identification of the target calibration target device and the identification of the plurality of calibration target devices are compared respectively, and the target calibration target device is determined from the plurality of calibration target devices according to the comparison result. Specifically, the calibration target device whose identification is the same as the identification of the target calibration target device is determined as the target calibration target device.
[0091] In the optional embodiments, the calibration request receiving device is in communication connection with the plurality of calibration target devices; accordingly, before sending the target calibration instruction to the target calibration target device, the following scheme is further included: determining the target calibration target device from the plurality of calibration target devices according to the identification of the target calibration target device. Through the identification of the target calibration target device, the target calibration target device can be accurately and quickly determined from the plurality of calibration target devices.
[0092] In some optional embodiments, the initial calibration request received by the telematics processor is a request obtained by the telematics processor decrypting the encrypted initial calibration request sent by the calibration device.
[0093] In one embodiment, the calibration device encrypts the initial calibration request by using a symmetric encryption method, and the telematics processor decrypts the encrypted initial calibration request by using a corresponding symmetric decryption method to obtain the initial calibration request.
[0094] In another embodiment, the calibration device encrypts the initial calibration request by using an asymmetric encryption method, and the telematics processor decrypts the encrypted initial calibration request by using a corresponding asymmetric decryption method to obtain the initial calibration request.
[0095] In the optional embodiment, the initial calibration request received by the telematics processor is the request obtained by the telematics processor decrypting the encrypted initial calibration request sent by the calibration device. That is, the telematics processor and the calibration device transmit the initial calibration request by means of encrypted transmission, and by this method, the transmission of the initial calibration request can be ensured to be secure. In addition, by means of encrypted transmission for transmitting the initial calibration request, only when the key used by the calibration device to obtain the encrypted initial calibration request matches the key used by the telematics processor to decrypt the encrypted initial calibration request, the telematics processor can obtain the initial calibration request corresponding to the encrypted initial calibration request sent by the calibration device, and then calibrate the target vehicle, so that the calibration device without vehicle calibration permission can be prevented from calibrating the target vehicle, and the reliability of the data source for calibrating the target vehicle can be ensured.
[0096] In some optional embodiments, the vehicle calibration method can further include the following scheme:
[0097] S401, in response to the calibration request receiving device being the same as the target to-be-calibrated device, determining that the calibration request receiving device is the target to-be-calibrated device.
[0098] In one embodiment, the target calibration request further includes an identification of the target to-be-calibrated device, and the calibration request receiving device and the target to-be-calibrated device are determined to be the same according to the identification of the target to-be-calibrated device and the identification of the calibration request receiving device.
[0099] Further, if the identification of the target to-be-calibrated device and the identification of the calibration request receiving device are the same, it is determined that the calibration request receiving device and the target to-be-calibrated device are the same. That is, if the identification of the target to-be-calibrated device and the identification of the calibration request receiving device are the same, it is indicated that the calibration request receiving device is a device that needs to be calibrated according to the target calibration parameter.
[0100] S402, calibrating the calibration request receiving device based on the target calibration parameter.
[0101] In one embodiment, the calibration request receiving device writes the target calibration parameter in a position in the request receiving device where the target calibration parameter needs to be written according to the target calibration parameter, thereby realizing calibration of the request receiving device.
[0102] In the optional embodiment, if the calibration request receiving device and the target device to be calibrated are the same, the calibration request receiving device determines that the calibration request receiving device is the target device to be calibrated in response to the calibration request receiving device and the target device to be calibrated being the same, and calibrates the calibration request receiving device based on the target calibration parameter. If the calibration request receiving device and the target device to be calibrated are the same, the calibration request receiving device is calibrated based on the target calibration parameter, so that when the calibration request receiving device is the target device to be calibrated corresponding to the target calibration request, the calibration request receiving device can be calibrated based on the target calibration parameter.
[0103] The vehicle calibration method is further exemplarily described below.
[0104] In the optional embodiment, the vehicle calibration method is applied to a telematics processor. Figure 4 A flowchart of the vehicle calibration method provided for another embodiment of the present application is shown in FIG. 5. Figure 4 As shown in FIG. 5, the vehicle calibration method includes the following solutions.
[0105] S501, receiving an initial calibration request sent by a calibration device, the initial calibration request including a target calibration parameter for calibrating a target device to be calibrated.
[0106] In one embodiment, the telematics processor receives the initial calibration request sent by the calibration device through wireless communication.
[0107] S502, converting the initial calibration request into a target calibration request.
[0108] In one embodiment, the telematics processor converts the initial calibration request into the target calibration request through a preset communication protocol.
[0109] S503, sending the target calibration request to a calibration request receiving device, for instructing the calibration request receiving device to obtain the target calibration parameter according to the target calibration request, and in response to the calibration request receiving device and the target device to be calibrated being different, generating a target calibration instruction according to the target calibration parameter, and sending the target calibration instruction to the target device to be calibrated, so as to control the target device to be calibrated to be calibrated according to the target calibration parameter, the calibration request receiving device being a preset device to be calibrated in a plurality of devices to be calibrated.
[0110] In one embodiment, the telematics processor sends a target calibration request to the calibration request receiving device, the target calibration request is parsed by the calibration request receiving device according to a preset communication protocol to obtain target calibration parameters, and in response to the calibration request receiving device and the target device to be calibrated being different, the target calibration instruction is generated based on the preset data transmission protocol according to the target calibration parameters, and the target calibration instruction is sent to the target device to be calibrated to control the target device to be calibrated to calibrate according to the target calibration parameters.
[0111] In the optional embodiment, the initial calibration request sent by the calibration device is received, the initial calibration request includes target calibration parameters for calibrating the target device to be calibrated; the initial calibration request is converted into a target calibration request; and the target calibration request is sent to the calibration request receiving device to instruct the calibration request receiving device to obtain target calibration parameters according to the target calibration request, and in response to the calibration request receiving device and the target device to be calibrated being different, generate a target calibration instruction according to the target calibration parameters, and send the target calibration instruction to the target device to be calibrated to control the target device to be calibrated to calibrate according to the target calibration parameters. The telematics processor receives the initial calibration request sent by the calibration device, and the telematics processor converts the initial calibration request into a target calibration request and sends it to the calibration request receiving device. In this process, only a communication connection between the calibration device and the telematics processor needs to be established, and a communication connection between the calibration device and multiple devices to be calibrated does not need to be established. The calibration request receiving device parses the target calibration request sent by the telematics processor to obtain target calibration parameters, and in response to being different from the target device to be calibrated, sends a calibration instruction generated according to the target calibration parameters to the target device to be calibrated, so that the target device to be calibrated calibrates according to the target calibration instruction. In this process, only a communication connection between the calibration request receiving device and the telematics processor needs to be established, and a communication connection between the telematics processor and other devices to be calibrated except the calibration request receiving device can be established to realize data transmission. That is, only by establishing a communication connection between the calibration device and the telematics processor, and a communication connection between the telematics processor and the calibration request receiving device, data transmission can be realized, and calibration of the target device to be calibrated can be completed. Through this method, the calibration device does not need to be connected to each device to be calibrated, and calibration of the target device to be calibrated can be realized. This can save the time of connecting the calibration device to each device to be calibrated, and the calibration method is simple. The technical problems of low calibration efficiency and high calibration cost in the prior art when multiple devices to be calibrated in a vehicle are calibrated are solved.
[0112] In some optional embodiments, the initial calibration request further includes an identification of the target device to be calibrated; and the identification of the target device to be calibrated is used to instruct the calibration request receiving device to determine whether the calibration request receiving device and the target device to be calibrated are the same.
[0113] It should be noted that the initial calibration request includes the identification of the target device to be calibrated, and the target calibration request converted according to the initial calibration request also includes the identification of the target device to be calibrated.
[0114] In the optional embodiment, the initial calibration request further includes the identification of the target device to be calibrated; the identification of the target device to be calibrated is used to indicate whether the calibration request receiving device and the target device to be calibrated are the same. According to the identification of the target device to be calibrated, it can be quickly and accurately determined whether the calibration request receiving device and the target device to be calibrated are the same.
[0115] In some optional embodiments, receiving the initial calibration request sent by the calibration device can include the following scheme:
[0116] S601, receiving the encrypted initial calibration request sent by the calibration device, the encrypted initial calibration request being obtained by encrypting the initial calibration request by the calibration device using a target public key.
[0117] The target public key is a public key used to encrypt the initial calibration request to obtain the encrypted initial calibration request.
[0118] In one embodiment, the telematics processor receives the encrypted initial calibration request sent by the calibration device through wireless communication.
[0119] In one embodiment, the calibration device encrypts the initial calibration request using the target public key based on an asymmetric encryption method to obtain the encrypted initial calibration request.
[0120] S602, decrypting the encrypted initial calibration request using a target private key corresponding to the target public key to obtain the initial calibration request.
[0121] The target private key is a private key that can decrypt the encrypted initial calibration request obtained by using the target public key.
[0122] The target public key and the target private key are a public key and a private key in a key pair generated based on a preset asymmetric encryption algorithm.
[0123] In one embodiment, the calibration device encrypts the initial calibration request using the target public key according to a preset asymmetric encryption algorithm to obtain the encrypted initial calibration request, and correspondingly, the telematics processor decrypts the encrypted initial calibration request according to the preset asymmetric encryption algorithm and a target private key corresponding to the target public key to obtain the initial calibration request.
[0124] In the optional embodiment, the encrypted initial calibration request sent by the calibration device is encrypted by the calibration device using the target public key, and the encrypted initial calibration request is decrypted using the target private key corresponding to the target public key to obtain the initial calibration request. The calibration device sends the encrypted initial calibration request to the telematics processor, and the telematics processor decrypts the encrypted initial calibration request to obtain the initial calibration request, thereby ensuring the secure transmission of the initial calibration request.
[0125] In some optional embodiments, in step S502, converting the initial calibration request into the target calibration request comprises: converting the initial calibration request into the target calibration request according to the XCP.
[0126] In one embodiment, the target calibration request converted according to the XCP is obtained by acquiring the target calibration parameters included in the initial calibration request and writing the target calibration parameters into a position in the target calibration request for storing the target calibration parameters according to the XCP.
[0127] In the optional embodiment, the initial calibration request is converted into the target calibration request according to the XCP. In the automotive field, the XCP is mainly applied to the calibration of parameters in the internal unit of the automobile. In this embodiment, the initial calibration request is converted into the target calibration request according to the XCP, so that the target calibration request obtained is subject to the XCP protocol, which can ensure that the calibration request receiving device receiving the target calibration request can obtain the target calibration request subject to the XCP protocol and acquire the target calibration parameters from the position for storing the target calibration parameters in the target calibration request.
[0128] The vehicle calibration method is further exemplarily described below.
[0129] Figure 5 The signaling flowchart of the vehicle calibration method provided by one embodiment of the present application is shown in FIG. 7. Figure 5 As shown in FIG. 7, the vehicle calibration method comprises the following solutions:
[0130] S701, the calibration device encrypts the initial calibration request using the target public key to obtain the encrypted initial calibration request.
[0131] S702, the calibration device sends the encrypted initial calibration request to the telematics processor.
[0132] S703, the telematics processor decrypts the encrypted initial calibration request using the target private key corresponding to the target public key to obtain the initial calibration request, and converts the initial calibration request into the target calibration request.
[0133] S704, the remote information processor sends the target calibration request to the calibration request receiving device.
[0134] S705, the calibration request receiving device determines whether the calibration request receiving device and the target device to be calibrated are the same according to the target calibration request, if not, steps S706 to S708 are executed, otherwise, step S709 is executed.
[0135] S706, the calibration request receiving device generates a target calibration instruction according to the target calibration parameter in response to the calibration request receiving device and the target device to be calibrated being different.
[0136] S707, the calibration request receiving device sends the target calibration instruction to the target device to be calibrated.
[0137] S708, the target device to be calibrated calibrates according to the target calibration instruction.
[0138] S709, the calibration request receiving device determines that the calibration request receiving device is the target device to be calibrated in response to the calibration request receiving device and the target device to be calibrated being the same; and calibrates the calibration request receiving device based on the target calibration parameter.
[0139] The vehicle calibration method is further exemplarily described below. Specifically, the vehicle calibration method can include the following scheme:
[0140] S801, the remote information processor obtains a target key pair and sends a target public key in the target key pair to the calibration device.
[0141] Optionally, the remote information processor can be a T-BOX, and the calibration device can be a server.
[0142] Optionally, the calibration request receiving device and the remote information processor can be configured in a terminal device. Further, in the above embodiments, the steps performed by the calibration request receiving device and the remote information processor respectively can be executed by the terminal device, that is, the terminal device can execute steps S201-S203 and S501-S503, etc.
[0143] For example, the key generation device generates a key pair through a preset asymmetric encryption algorithm, and stores a target public key and a target private key in the key pair in the T-BOX and the server.
[0144] The T-BOX extracts the target public key in the pre-stored key pair in response to a calibration request for calibrating the target vehicle where the T-BOX is located, and sends it to the server.
[0145] S802, the calibration device encrypts an initial calibration request using the target public key to obtain an encrypted initial calibration request, and sends the encrypted initial calibration request to the remote information processor.
[0146] It should be noted that the server transmits the encrypted initial calibration request to the T-BOX, and in this process, the server is equivalent to an upper computer with vehicle calibration authority, and the T-BOX is equivalent to a lower computer with vehicle calibration authority.
[0147] S803, the remote information processor decrypts the encrypted initial calibration request using the target private key in the target public key pair to obtain the initial calibration request, and converts the initial calibration request into a target calibration request through an XCP protocol, and then sends the target calibration request to a calibration request receiving device.
[0148] Wherein, the remote information processor T-BOX sends the target calibration request to the calibration request receiving device through the XCP protocol. Specifically, the target calibration request is sent to the calibration request receiving device through the XCP protocol based on Ethernet (XCP on Eth).
[0149] S804, the calibration request receiving device determines whether the calibration request receiving device and the target to-be-calibrated device are the same. If they are the same, the calibration request receiving device is calibrated based on the target calibration parameters, otherwise step S805 is entered.
[0150] S805, the calibration request device parses the target calibration request to obtain the target calibration parameters, and generates a target calibration instruction according to the target calibration parameters, and sends the target calibration instruction to the target to-be-calibrated device.
[0151] S806, the target to-be-calibrated device is calibrated according to the target request instruction.
[0152] Next, taking the calibration device as the server, the calibration request receiving device as the SOC, and the target to-be-calibrated device as the MCU as an example, the vehicle calibration method is further described.
[0153] Figure 6 The connection structure diagram of the system formed by the vehicle calibration method provided by an embodiment of the present application is shown. Referring to Figure 6 The server and the remote information processor (T-BOX) are connected in communication through wireless communication, and the T-BOX and the system chip (SOC) are connected in communication through Ethernet, wherein the SOC side is provided with an XCP protocol stack.
[0154] The SOC and the micro control unit (MCU) are connected through Ethernet communication. Further, a UDP-based SOME / IP communication interface for reading and writing parameters is arranged between the SOC and the MCU, and the SOC and the MCU implement reading and writing of target calibration parameters based on a data transmission protocol SOME / IP. The UDP-based SOME / IP communication interface for reading and writing parameters can be defined according to user requirements.
[0155] Because the SOC side is provided with an XCP protocol stack, the T-BOX is the master device in the XCP protocol, and the SOC is the slave device in the XCP protocol. The server sends an encrypted initial calibration request to the T-BOX, and the T-BOX decrypts the encrypted initial calibration request to obtain an initial calibration request. The T-BOX converts the initial calibration request into a target calibration request through the XCP protocol, and sends the target calibration request to the SOC through the XCPonEth protocol. The SOC obtains the target calibration parameters and the identification of the target device to be calibrated from the target calibration request, and determines whether the SOC is the same as the target device to be calibrated according to the identification of the target device to be calibrated. If the SOC is the same as the target device to be calibrated, the SOC is the target device to be calibrated, and the SOC directly responds to the target calibration request, that is, the SOC directly calibrates itself according to the target calibration parameters. If the SOC is not the same as the target device to be calibrated, the SOC is not the target device to be calibrated, and in this case, the MCU needs to be calibrated through the target calibration request on the SOC side, that is, the SOC determines whether the MCU is the target device to be calibrated according to the identification of the target device to be calibrated and the identification of the MCU. If yes, the SOC sends a target request instruction including the target calibration parameters to the target device to be calibrated MCU, and the MCU calibrates according to the target calibration parameters.
[0156] That is, if the target device to be calibrated is MCU, the SOC calibrates the MCU, specifically, the SOC parses the target calibration request to obtain the target calibration parameters included therein, obtains the target calibration instruction according to the target calibration parameters, and sends the target calibration instruction to the MCU for calibration through the SOME / IP communication interface, the MCU reads the target calibration parameters included in the target calibration instruction and writes them into the corresponding memory address. In addition, the MCU generates an initial calibration request response after reading and writing the target calibration parameters, and returns the initial calibration request response to the SOC through the SOME / IP communication interface, and then the SOC converts the initial calibration request response into a target calibration request response based on the XCP protocol, and returns the target calibration request response to the T-BOX, and then the T-BOX returns it to the server. Wherein, when the T-BOX returns the target calibration request response to the server, the target calibration request can be encrypted before transmission to the server, or the target calibration request can be directly transmitted to the server.
[0157] Next, taking the calibration device as the server, the calibration request receiving device as the MCU, and the target device to be calibrated as the SOC as an example, the vehicle calibration method is further described.
[0158] Figure 7 The connection structure diagram of the system formed by the vehicle calibration method provided by another embodiment of the present application is shown. Referring to Figure 7 The server and the remote information processor T-BOX are connected in communication through wireless communication, and the remote information processor T-BOX and the MCU are connected in communication through Ethernet, wherein the MCU side is provided with an XCP protocol stack.
[0159] Because the MCU side is provided with the XCP protocol stack, the T-BOX is an XCP master device, the MCU is an XCP slave device, the server sends the encrypted initial calibration request to the T-BOX, the T-BOX decrypts the encrypted initial calibration request to obtain the initial calibration request, the T-BOX converts the initial calibration request into a target calibration request through the XCP protocol, and sends the target calibration request to the MCU through the XCPonEth protocol. The MCU obtains the target calibration parameters and the identification of the target device to be calibrated contained in the target calibration request by analyzing the target calibration request, and determines whether the MCU is the same as the target device to be calibrated according to the identification of the target device to be calibrated. If the MCU is the same as the target device to be calibrated, the MCU is the target device to be calibrated, and the MCU directly responds to the target calibration request, that is, the MCU directly calibrates itself according to the target calibration parameters. If the MCU is not the same as the target device to be calibrated, the MCU is not the target device to be calibrated, and in this case, the SOC needs to be calibrated through the target calibration request on the MCU side, that is, the MCU determines whether the SOC is the target device to be calibrated according to the identification of the target device to be calibrated and the identification of the SOC. If yes, the MCU sends a target request instruction including the target calibration parameters to the target device to be calibrated SOC, and the SOC calibrates according to the target calibration parameters.
[0160] That is, if the target device to be calibrated is the SOC, the SOC is calibrated through the target calibration request in the MCU, specifically, the MCU analyzes the target calibration request to obtain the target calibration parameters contained therein, obtains a target calibration instruction according to the target calibration parameters, and sends the target calibration instruction to the SOC for calibration through the SOME / IP communication interface. The SOC reads the target calibration parameters included in the target calibration instruction and writes them into the corresponding memory address. In addition, the SOC generates an initial calibration request response after reading and writing the target calibration parameters, and returns the initial calibration request response to the MCU through the SOME / IP communication interface. The MCU converts the initial calibration request response into a target calibration request response based on the XCP protocol, and returns the target calibration request response to the T-BOX, and then the T-BOX returns it to the server. When the T-BOX returns the target calibration request response to the server, the target calibration request can be encrypted and then transmitted to the server, or the target calibration request can be directly transmitted to the server.
[0161] In the optional embodiment, the server sends the encrypted initial calibration request obtained by the encrypted initial calibration request to the T-BOX through wireless communication, so as to ensure the safety of data transmission. In addition, the encrypted initial calibration request sent by the server can be remotely received by the T-BOX, and then the remote calibration of the to-be-calibrated device in the vehicle is realized, and the user related to the calibration of the target vehicle does not need to calibrate in the real vehicle field. Compared with the method of calibrating the target vehicle in the close range of the target vehicle in the related art, the method improves the convenience of calibration, reduces the calibration cost, reduces the vehicle calibration time, and improves the vehicle calibration efficiency. By setting the SOME / IP communication interface based on the UDP reading and writing parameters between the SOC and the MCU, the communication connection between the SOC and the MCU is realized. Based on the communication connection between the SOC and the MCU, the T-BOX sends the target calibration request obtained by converting the initial calibration request through the XCP protocol to the SOC or the MCU provided with the XCP protocol stack. The SOC or the MCU provided with the XCP protocol stack generates a target calibration instruction according to the target calibration parameter included in the target calibration request, and sends the target calibration instruction to the target to-be-calibrated device corresponding to the target calibration instruction through the SOC or the MCU provided with the XCP protocol stack. Therefore, the distributed calibration of a plurality of to-be-calibrated devices including the aforementioned SOC and MCU is realized. Thus, the technical problem of low calibration efficiency and high calibration cost when calibrating a plurality of to-be-calibrated devices in the vehicle in the related art is solved.
[0162] Figure 8 The structure diagram of the vehicle calibration device provided by an embodiment of the application is shown in the figure. Figure 8 As shown in the figure, the vehicle calibration device provided by the embodiment is applied to a calibration request receiving device, and the calibration request receiving device is a preset to-be-calibrated device in a plurality of to-be-calibrated devices. The vehicle calibration device 90 provided by the embodiment can include a first receiving module 901, an analysis module 902, and a first sending module 903.
[0163] The first receiving module 901 is configured to receive a target calibration request sent by a telematics processor. The target calibration request is obtained by converting an initial calibration request sent by the telematics processor to a calibration device. The initial calibration request includes a target calibration parameter for calibrating a target to-be-calibrated device. The analysis module 902 is configured to analyze the target calibration request to obtain the target calibration parameter. The first sending module 903 is configured to generate a target calibration instruction according to the target calibration parameter in response to the calibration request receiving device being different from the target to-be-calibrated device, and send the target calibration instruction to the target to-be-calibrated device to control the target to-be-calibrated device to calibrate according to the target calibration instruction.
[0164] The vehicle calibration device provided by the embodiment can perform Figure 3 The technical solutions of the method embodiments shown have similar implementation principles and technical effects, and thus will not be described here.
[0165] Optionally, in the case that the target calibration request further comprises the identification of the target device to be calibrated, the vehicle calibration device further comprises a first determination module, which is specifically configured to: parse the target calibration request to obtain the identification of the target device to be calibrated; and determine whether the calibration request receiving device and the target device to be calibrated are the same according to the identification of the target device to be calibrated and the identification of the calibration request receiving device.
[0166] Optionally, in the case that the target calibration request is subject to the general measurement and calibration protocol XCP, the parsing module 902 is further configured to: based on the XCP protocol, parse the target calibration request to obtain the target calibration parameter from the position where the target calibration parameter is stored in the target calibration request.
[0167] Optionally, the first sending module 903 is further configured to: according to the target calibration parameter, generate a target calibration instruction according to the extensible service-oriented communication middleware SOME / IP protocol based on the Internet protocol, and store the target calibration parameter in a preset parameter storage position in the target calibration instruction.
[0168] Optionally, in the case that the calibration request receiving device is in communication connection with a plurality of devices to be calibrated, the vehicle calibration device further comprises a second determination module, which is specifically configured to: according to the identification of the target device to be calibrated, determine the target device to be calibrated from the plurality of devices to be calibrated.
[0169] Optionally, the initial calibration request is a request obtained by decrypting an encrypted initial calibration request sent by the telematics processor to the calibration device.
[0170] Optionally, the vehicle calibration device further comprises a third sending module, which is configured to: in response to the calibration request receiving device being the same as the target device to be calibrated, determine that the calibration request receiving device is the target device to be calibrated; and calibrate the calibration request receiving device based on the target calibration parameter.
[0171] Figure 9 The structure diagram of the vehicle calibration device provided by another embodiment of the present application is shown. As shown in the figure, Figure 9 The vehicle calibration device provided by the embodiment is applied in the telematics processor. The vehicle calibration device 100 provided by the embodiment can comprise a second receiving module 1001, a conversion module 1002, and a second sending module 1003.
[0172] The second receiving module 1001 is configured to receive an initial calibration request sent by a calibration device, the initial calibration request comprising target calibration parameters for calibrating a target device to be calibrated; the conversion module 1002 is configured to convert the initial calibration request into a target calibration request; and the second sending module 1003 is configured to send the target calibration request to a calibration request receiving device, so as to instruct the calibration request receiving device to obtain target calibration parameters according to the target calibration request, and in response to the calibration request receiving device being different from the target device to be calibrated, generate a target calibration instruction according to the target calibration parameters, and send the target calibration instruction to the target device to be calibrated, so as to control the target device to be calibrated to calibrate according to the target calibration parameters. The calibration request receiving device is a preset device to be calibrated in a plurality of devices to be calibrated.
[0173] The vehicle calibration device provided in the embodiment can perform Figure 4 The technical solutions of the method embodiments shown in the drawings have similar implementation principles and technical effects, and thus detailed descriptions are omitted here.
[0174] Optionally, the target calibration request further comprises an identifier of the target device to be calibrated; and the identifier of the target device to be calibrated is used to instruct the calibration request receiving device to determine whether the calibration request receiving device and the target device to be calibrated are the same.
[0175] Optionally, the second receiving module 1001 is further configured to receive an encrypted initial calibration request sent by the calibration device, the encrypted initial calibration request being obtained by encrypting the initial calibration request by the calibration device using a target public key; and decrypt the encrypted initial calibration request using a target private key corresponding to the target public key to obtain the initial calibration request.
[0176] Optionally, the conversion module 1002 is configured to convert the initial calibration request into the target calibration request according to a general measurement and calibration protocol XCP.
[0177] Figure 10 FIG. 1 is a structural schematic diagram of a calibration request receiving device provided in an embodiment of the present application. As shown in Figure 10 The calibration request receiving device 110 provided in the embodiment comprises a processor 1101, a memory 1102 in communication connection with the processor, and a transceiver 1103.
[0178] The memory stores computer execution instructions; the transceiver is configured to receive and send data; and the processor executes the computer execution instructions stored in the memory, so as to implement the vehicle calibration method provided in the corresponding embodiment.
[0179] The related descriptions can be understood in correspondence with the related descriptions and effects of the steps in the drawings, and thus detailed descriptions are omitted here.
[0180] Figure 11is a structural schematic diagram of a telematics processor provided by an embodiment of the present application. As shown in Figure 11 The telematics processor 120 provided by the embodiment includes a processor 1201, a memory 1202 in communication connection with the processor, and a transceiver 1203.
[0181] The memory stores computer execution instructions; the transceiver is configured to receive and send data; and the processor executes the computer execution instructions stored in the memory to implement the vehicle calibration method provided by the corresponding embodiment.
[0182] The relevant description can be understood in correspondence with the relevant description and effects of the steps in the drawings, and will not be described in detail here.
[0183] In Figure 10 and Figure 11 In the corresponding embodiment, the program can include program code, and the program code includes computer execution instructions. The memory can include a high-speed RAM memory, and can also include a non-volatile memory such as at least one disk memory.
[0184] The memory, the transceiver, and the processor are connected through a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 10 and Figure 11 Only one thick line is used in the above-mentioned bus to represent the bus, but it does not mean that there is only one bus or only one type of bus.
[0185] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the vehicle calibration method provided by any one of the embodiments of the present application.
[0186] The embodiment of the present application also provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the vehicle calibration method provided by any one of the embodiments.
[0187] In several embodiments provided by the present application, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the described apparatus embodiments are merely schematic. For example, the division of the modules is merely a logical function division. For example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or modules, and can be in electrical, mechanical or other forms.
[0188] The modules illustrated as separated components can or can not be physically separated, and the components illustrated as modules can or can not be physical modules, i.e., can be located in one place or distributed to a plurality of network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment.
[0189] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can be physically present alone, or two or more modules can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a hardware plus software functional module.
[0190] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing apparatus, so that the program code, when executed by the processor or controller, causes the functions / operations specified in the flowcharts and / or block diagrams to be performed. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a separate software package, and partially on a remote machine or server.
[0191] In the context of the present application, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
[0192] Moreover, while operations have been depicted in a particular order, this should not be understood as requiring such order nor that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, while several specific implementation details have been discussed, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.
[0193] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A method of calibrating a vehicle, characterized by, The method is applied to a calibration request receiving device, the calibration request receiving device is a preset calibration device in a plurality of calibration devices, the calibration request receiving device is in communication connection with a telematics processor, the telematics processor is connected with a calibration device, and the method comprises: Receiving a target calibration request sent by the telematics processor, the target calibration request being obtained by the telematics processor converting an initial calibration request sent by the calibration device, the initial calibration request comprising a target calibration parameter for calibrating a target calibration device; Parses the target calibration request to obtain the target calibration parameter; In response to the calibration request receiving device and the target calibration device being different, generating a target calibration instruction according to the target calibration parameter, and sending the target calibration instruction to the target calibration device to control the target calibration device to calibrate according to the target calibration instruction.
2. The method of claim 1, wherein, The target calibration request further comprises an identification of the target calibration device; Determining whether the calibration request receiving device and the target calibration device are the same comprises: Parses the target calibration request to obtain the identification of the target calibration device; According to the identification of the target calibration device and the identification of the calibration request receiving device, it is determined whether the calibration request receiving device and the target calibration device are the same.
3. The method of claim 1, wherein, The target calibration request is subject to the XCP. The parsing of the target calibration request to obtain the target calibration parameter comprises: Based on the XCP, the target calibration parameter is obtained from the position where the target calibration parameter is stored in the target calibration request.
4. The method of claim 1, wherein, The target calibration instruction is generated according to the target calibration parameter, comprising: According to the target calibration parameter, the target calibration instruction is generated according to the SOME / IP protocol based on the extensible service-oriented communication middleware based on the Internet protocol, and the target calibration parameter is stored in a preset parameter storage position of the target calibration instruction.
5. The method of claim 1, wherein, The initial calibration request is a request obtained by the telematics processor decrypting an encrypted initial calibration request sent by the calibration device.
6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: In response to the calibration request receiving device and the target calibration device being the same, determining that the calibration request receiving device is the target calibration device; Calibrating the calibration request receiving device based on the target calibration parameter.
7. A vehicle calibration method, characterized by, The method is applied to a telematics processor, the telematics processor is connected with a calibration device and a calibration request receiving device, and the method comprises: Receiving an initial calibration request sent by the calibration device, the initial calibration request comprising a target calibration parameter for calibrating a target calibration device; Converting the initial calibration request into a target calibration request; The target calibration request is sent to the calibration request receiving device for instructing the calibration request receiving device to obtain the target calibration parameter according to the target calibration request, and in response to the calibration request receiving device and the target device to be calibrated being different, to generate a target calibration instruction according to the target calibration parameter, and to send the target calibration instruction to the target device to be calibrated to control the target device to be calibrated to calibrate according to the target calibration parameter. The calibration request receiving device is a preset device to be calibrated among a plurality of devices to be calibrated.
8. A vehicle calibration device, characterized by The device is located in a calibration request receiving device, which is a preset device to be calibrated among a plurality of devices to be calibrated, and is in communication connection with a telematics processor connected with a calibration device. The device comprises: A first receiving module receives a target calibration request sent by the telematics processor, the target calibration request being obtained by the telematics processor converting an initial calibration request sent by the calibration device, the initial calibration request comprising a target calibration parameter for calibrating a target device to be calibrated; An analysis module is configured to analyze the target calibration request to obtain the target calibration parameter; A first sending module is configured to, in response to the calibration request receiving device and the target device to be calibrated being different, generate a target calibration instruction according to the target calibration parameter, and send the target calibration instruction to the target device to be calibrated to control the target device to be calibrated to calibrate according to the target calibration instruction.
9. A vehicle calibration device, characterized by The device is located in a telematics processor connected with a calibration device and a calibration request receiving device. The device comprises: A second receiving module is configured to receive an initial calibration request sent by the calibration device, the initial calibration request comprising a target calibration parameter for calibrating a target device to be calibrated; A conversion module is configured to convert the initial calibration request into a target calibration request; A second sending module is configured to send the target calibration request to the calibration request receiving device for instructing the calibration request receiving device, the instruction comprising: obtaining the target calibration parameter according to the target calibration request, and in response to the calibration request receiving device and the target device to be calibrated being different, generating a target calibration instruction according to the target calibration parameter, and sending the target calibration instruction to the target device to be calibrated to control the target device to be calibrated to calibrate according to the target calibration parameter. The calibration request receiving device is a preset device to be calibrated among a plurality of devices to be calibrated.
10. A calibration request receiving apparatus comprising: A processor, a memory in communication connection with the processor, and a transceiver; The memory stores computer execution instructions; The transceiver is configured to transceive data; The processor executes the computer execution instructions stored in the memory to implement the method of any one of claims 1 to 6.
11. A telematics processor comprising: A processor, a memory in communication connection with the processor, and a transceiver; The memory stores computer execution instructions; The transceiver is configured to transceive data. The processor executes the computer-executable instructions stored in the memory to implement the method of claim 7.
Citation Information
Patent Citations
Control method based on CCP or XCP protocol
CN111781909A
Data measurement calibration method and device, vehicle controller, vehicle and medium
CN114740825A