APP integrity checking method based on UDS-FBL

An integrity check and application technology, applied in the field of data processing, can solve problems such as the inability to guarantee whether the APP has been tampered with or lost some data

Pending Publication Date: 2022-07-12
CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the current solution, from the generation of the application program APP to the completion of the upgrade to the control unit, it needs to be saved after multiple transmissions, and it cannot guarantee whether the APP has been tampered with or lost some data.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • APP integrity checking method based on UDS-FBL
  • APP integrity checking method based on UDS-FBL
  • APP integrity checking method based on UDS-FBL

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0028] like Figure 1 to Figure 5 As shown, a UDS-FBL-based APP integrity check method in this specific embodiment includes:

[0029] Send flash-related request packets through the UDS unified diagnostic service;

[0030] Generate and download the binary data corresponding to the bootloader program, and store the binary data corresponding to the bootloader program in the ROM space of the controller, which is a non-programmable area;

[0031] Generate and download the binary data corresponding to the application program, and store the binary data corresponding to the application program in the ROM space of the controller, which is a programmable area that is erased and written when the program is flashed;

[0032] The UDS unified diagnosis service supports default, extension and programming modes; the Bootloader program includes UDS diagnosis protocol layer,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an APP integrity checking method based on UDS-FBL. The method comprises the following steps: sending a request message related to flashing through a UDS unified diagnosis service; the method comprises the following steps of: generating and downloading a bootloader program and binary data corresponding to an application program, storing the bootloader program and the binary data in an ROM (Read Only Memory) space of a controller, entering a Bootloader programming mode, receiving FALSHDRIVER downloaded through diagnosis service, then erasing the application program through the FALSHDRIVER, writing an effective flag bit of the application program as invalid by the Bootloader program, and erasing a region corresponding to the application program in the ROM space; writing the new binary data of the application program into the ROM space corresponding to the application program; and the Bootloader program performs integrity verification on the new application program, if the verification is successful, the validity of the new application program is set to be valid, and the controller restarts and enters the new application program.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an APP integrity checking method based on UDS-FBL. Background technique [0002] With the new iteration of automotive electronic technology, more and more automotive electronic devices need to be upgraded based on the original hardware; at the same time, due to the development of embedded software, bugs that cannot be detected in the design and testing stage cannot be avoided. The upgrade of application software and the repair of problems all require the electronic device itself to have the capability of application software. [0003] The commonly used software upgrade method for automotive electronic devices is to use the diagnostic commands in the unified diagnostic service protocol IOS-14229 to send a series of diagnostic requests through the diagnostic instrument / refresher connected to the in-vehicle network to transmit the new software from the external device to the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/64G06F21/52G06F9/445
CPCG06F21/64G06F21/52G06F9/44589
Inventor 胡运杨涛王忠才
Owner CHONGQING CHANGAN AUTOMOBILE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products