A method for extracting data from a lossy drive recorder data storage chip
By building a data storage chip protocol library and using the RT809H programmer to connect pins, the problem of difficult reading of damaged data storage chips in driving recorders was solved, enabling fast and lossless data extraction and improving the efficiency of traffic accident investigation.
Patent Information
- Application Number
- CN202211424344.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-11-15
AI Technical Summary
In existing technologies, damaged data storage chips in driving recorders are difficult to read quickly, resulting in low efficiency in traffic accident investigations and affecting the integrity of evidence.
Build a data storage chip protocol library, use an RT809H programmer to connect the data storage chip pins via an adapter or wire soldering, read and decrypt the stored data according to the protocol library, and convert it into a displayable format.
Even if the circuit board of the dashcam is damaged, as long as the data storage chip is intact, the data can be quickly read using this method, reducing the probability of secondary damage and improving investigation efficiency.
Smart Images

Figure CN115756944B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of driving recorder technology, specifically to a method for extracting data from a damaged driving recorder data storage chip. Background Technology
[0002] Currently, most large trucks, lorries, and buses are equipped with driving recorders (DRLs). These DRLs record real-time vehicle data, including time, speed, braking, latitude, and longitude. In the event of a traffic accident, this data can be retrieved for judgment or analysis. However, in major accidents, the DRL may be damaged, such as by a faulty power interface, data read port, or even the entire circuit board. When the entire circuit board is damaged, even if the flash data storage chip is intact, the stored data cannot be accessed. Hardware engineers must perform complex repairs or disassemble and reassemble the data storage chip, a time-consuming and labor-intensive process that may further damage the chip, significantly impacting the efficiency of traffic accident investigations and the integrity of evidence. Summary of the Invention
[0003] To address the problem of difficulty in reading data from damaged dashcams in existing technologies, this invention provides a method for extracting data from damaged dashcam data storage chips. This method can quickly retrieve the stored data from intact flash data storage chips for subsequent analysis.
[0004] The technical solution of the present invention is as follows: a method for extracting data from a data storage chip of a destructive driving recorder, characterized in that it includes the following steps: S1: Construct the data storage chip protocol library; The data storage chip protocol library includes data information from the data storage chips currently used in driving recorders; The data information includes: dashcam model, dashcam production date, chip model, chip manufacturer, data storage encoding format, data chip storage protocol, and chip pin function information; The data chip storage protocol includes: data location information of each field in the chip during data storage; the data location information includes: data type, data length, and corresponding storage address; S2: Obtain the damaged driving recorder that needs to be read, determine the location and chip model of the data storage chip in the recorder, and connect the pins of the data storage chip with a data reading tool; The data reading tool is implemented based on a programmable device, including a hardware structure connected to the data storage chip and software that implements the data reading function; S3: Based on the data reading tool, extract the running data stored in the data storage chip and store it separately as data to be identified; S4: Confirm the model of the driving recorder and the model of the data storage chip. Based on the driving recorder model and the chip model, confirm the corresponding data chip storage protocol in the data storage chip protocol library. S5: According to the data chip storage protocol, confirm that all driving data corresponds to the data location information and storage format in the data storage chip; the storage format includes: ciphertext or plaintext; S6: Read the data to be identified according to the data location information and storage protocol; after reading, confirm the storage format of the data and decrypt the data that needs to be decrypted; S7: Display all the data.
[0005] Its further features are: The data reading tool includes: an RT809H programmer; In step S2, the data reading tool is connected to the pins of the data storage chip via a chip adapter or wire bonding. Step S7 also includes the following steps: Before displaying the data, confirm the encoding format of the data acquired by the data reading tool. If the data acquired by the data reading tool is stored in a format other than decimal, convert the data to decimal before displaying it. In step S7, the read data is converted and displayed using the WinHex tool.
[0006] This invention provides a method for extracting data from a damaged driving recorder's data storage chip. Even if the driving recorder's circuit board is damaged in an accident, as long as the flash data storage chip is not damaged, there is no need to repair the driving recorder or replace any parts. By referring to the data storage chip protocol library, the data can be directly read from the data storage chip through a programmable device, reducing the probability of secondary damage to the chip and enabling the data reading process to be completed quickly, which greatly improves the overall investigation efficiency. Attached Figure Description
[0007] Figure 1 This is a flowchart of the method in this application. Detailed Implementation
[0008] like Figure 1 As shown, the present invention includes a method for extracting data from a damaged driving recorder data storage chip, which includes the following steps.
[0009] S1: Construct the data storage chip protocol library; The data storage chip protocol library includes data information from the data storage chips currently used in driving recorders; The data information includes: dashcam model, dashcam production date, chip model, chip manufacturer, data storage encoding format, data chip storage protocol, and chip pin function information; The data chip storage protocol includes: the data location information of each field in the chip during data storage; the data location information includes: data type, data length and corresponding storage address.
[0010] Data types include: vehicle basic information, speed, braking, longitude, latitude, altitude, time, speed and total mileage, etc. The specific data types are implemented according to the specifications of the driving recorder.
[0011] Different models of dashcams use different data chip storage protocols, which means they store different data types such as speed, braking, and latitude / longitude in different storage addresses. The data chip storage protocol records where the different data types from different dashcam models are stored within the data storage chip, at which storage address, and using what method.
[0012] Therefore, before data encoding and conversion, it is necessary to find the corresponding protocol to determine which addresses of the data storage chip contain the driving data. Thus, in this method, the data information from all currently used driving recorders' data storage chips is first constructed into a data storage chip protocol library for subsequent data retrieval, ensuring improved data retrieval speed and investigation efficiency.
[0013] S2: Determine the location and model of the data storage chip in the damaged driving recorder, and connect the pins of the data storage chip using a data reading tool through a matching adapter or wire soldering. The data reading tool is based on existing programmable devices, including a hardware structure that connects to the data storage chip and software that implements the data reading function, enabling the reading of data from the data storage chip.
[0014] In practice, the flash data storage chip is first connected to the data reading tool. Then, the data reading tool is connected to a computer, and the software on the computer controls the tool to perform power-on, instruction input, and data transmission operations on the data storage chip. In this embodiment, the data reading tool is implemented using an RT809H programmer, which comes with matching software and is commercially available. The RT809H software itself is very powerful and can perform many functions. This embodiment only requires its function of reading data from other chips.
[0015] S3: Based on the data reading tool, the running data stored in the data storage chip is extracted and stored separately as data to be identified.
[0016] S4: Confirm the model of the dashcam and the model of the data storage chip. Based on the dashcam model and the chip model, confirm the corresponding data chip storage protocol in the data storage chip protocol library.
[0017] S5: According to the data chip storage protocol, confirm the data location information and storage format of all driving data in the data storage chip; the storage format includes: encrypted or plaintext.
[0018] S6: Read the data to be identified according to the data location information and storage protocol. After reading, confirm the storage format of the data and decrypt the data that needs to be decrypted. The specific decryption method is based on the encryption technology corresponding to the data storage chip.
[0019] S7: Before displaying the data, confirm the encoding format of the data acquired by the data reading tool. If the data acquired by the data reading tool is stored in a format other than decimal, convert the data to decimal before displaying it.
[0020] In practice, based on the dashcam model and chip model information, the corresponding protocol is selected from the data storage chip protocol library. According to the storage address of the driving data, decimal data conversion software can read the driving data from the corresponding storage address through a bootloader, perform decimal data conversion on the data, and generate all the intuitive driving data information. The conversion of the data encoding format can be achieved using existing software tools. In this embodiment, the WinHex tool is used to perform encoding format conversion and data display of the read data.
[0021] In Example 1, the original hexadecimal code content stored in the data storage chip is as follows: 00000000h:796B0312020001007A718E1749C8312A 00000010h:FE4E791864C6D9040000D64DF025411A 00000020h:0000DB0000000000004000880E50100 The corresponding translation protocol is: Translation Agreement: typedef struct CSeg_tagSECTHEAD{ / / Segment sector header u8 uSegId[2]; / / "yw" u8 uSegKind; u8 uChecksum; / / Checksum. u16 uFirstAddr; / / The starting address of the first entry in this sector, aligned to 4 bytes. Address relative to the sector header, starting from 8 bytes.
[0022] u16 uLogicCode; / / Logical number. Used to identify the starting position of a logical sector. Currently, it can be used as the write cycle.
[0023] }CSeg_SECTHEAD; / / Public: / / Track enum IPos_TRACKSAVEMASK_ENUM{ / / Track storage mask IPos_TSM_GSMLOC=0X1, / / GSM base station information (4 bytes) IPos_TSM_ODOMETER=0X2, / / Total mileage (4 bytes) IPos_TSM_STATUS=0X8, / / Status (8 bytes) IPos_TSM_PULSESPEED=0X20, / / Pulse velocity (2 bytes) IPos_TSM_ALTITUDE=0X40, / / Height (2 bytes) IPos_TSM_BASEPOS=0X100, / / Basic location information (20 bytes) }; / / Basic location information (20 bytes) u8 check; / / Checksum u8 kind; / / Information type. Location type.
[0024] u8 flags; / / Flags: validity, latitude and longitude direction. See also
IPos_FLAGS_ENUM
[0025] CTime_time_t time; / / Time. The overflow time relative to January 1, 2000, up to January 18, 2068.
[0026] u32 longi; / / Longitude, in 0.001 seconds u32 lati; / / Latitude, in 0.001 seconds u16 speed; / / GPS speed. Unit: 0.01 knots = 0.01 knots / hour, maximum 655 knots / hour. u16 direct; / / Direction. Unit: 0.01 degrees.
[0027] The translated information is as follows: Longitude: 0x18794efe = 410603.262 seconds = 114 degrees 3 minutes 23.262 seconds Latitude: 0x04d9c664 = 81380.964 seconds = 22 degrees 36 minutes 20.964 seconds Height: 0xdb = 219, Time: 0x2A31C849=707905609, 2022-06-07 08:26:49 Speed: 0 Number of satellites: 0x17 = 22 Total mileage: 0x1e580 = 124288.
[0028] Example 1 illustrates the translation protocol for storing latitude and longitude coordinates. Only with a matching protocol can the hexadecimal data content of latitude and longitude be found at the corresponding address in the data storage chip.
[0029] In Example 2, the hexadecimal code content stored in the data storage chip is as follows: 7E0100002B0152103008270F150003006E37303231384B352D50000000000000000000000000000000003033303038323702413030303536707E.
[0030] The translation using the matching translation protocol is as follows: { "[7E] Begins": 126, "
[0100] Message ID": 256, "Message Body Property Object": { "[0000000000101011]Message Body Attributes": 43, Version number: JTT2013 "[bit15] Reserved": 0, "[bit14] Reserved": 0, "[bit13] Whether to split the packet": false, [bit10~bit12] Data Encryption: "None", "[bit0~bit9] Message body length": 43 }, "[015210300827] Terminal mobile phone number": "015210300827", "[0F15] Message Serial Number": 3861, "Data body object": { "Terminal Registration": "0003006E37303231384B352D500000000000000000000000000000000000003033303038323702413030303536", "
[0003] Province ID": 3, "[006E] City / County ID": 110, "[3730323138] Manufacturer ID(5)": "70218", "[4B352D50000000000000000000000000000000000000000000]Terminal Model (20)": "K5-P", "[30333030383237]Terminal ID(7)": "0300827", "
[02] License plate color": 2, License plate number: "[413030303536]": "A00056" }, "
[70] Check code": 112.
[0031] "[7E] End": 126.
[0032] Example 2 demonstrates the reading and translation of basic vehicle information. Based on the technical solution of this application, even if the circuit board of the driving recorder is damaged in an accident but the data storage chip is intact, and driving data cannot be read normally, the driving data can still be obtained through the data storage chip.
[0033] Using the technical solution of this application, even if the vehicle is involved in an accident and the circuit board of the driving recorder is damaged, as long as the flash data storage chip is not damaged, the data stored in the driving recorder can still be effectively read, which is beneficial for reference and processing in accident investigation. Moreover, this method does not require disassembly of the data storage chip. It only requires connecting the RT809H programmer to the corresponding pins of the data storage chip on-site using an adapter or lead wire, which facilitates quick processing by on-site personnel.
Claims
1. A method for extracting data from a damaged driving recorder data storage chip, characterized in that, It includes the following steps: S1: Construct the data storage chip protocol library; The data storage chip protocol library includes data information from the data storage chips currently used in driving recorders; The data information includes: dashcam model, dashcam production date, chip model, chip manufacturer, data storage encoding format, data chip storage protocol, and chip pin function information; The data chip storage protocol includes: data location information of each field in the chip during data storage; the data location information includes: data type, data length, and corresponding storage address; S2: Obtain the damaged driving recorder that needs to be read, determine the location and chip model of the data storage chip in the recorder, and connect the pins of the data storage chip with a data reading tool; The data reading tool is implemented based on a programmable device, including a hardware structure connected to the data storage chip and software that implements the data reading function; S3: Based on the data reading tool, extract the running data stored in the data storage chip and store it separately as data to be identified; S4: Confirm the model of the driving recorder and the model of the data storage chip. Based on the driving recorder model and the chip model, confirm the corresponding data chip storage protocol in the data storage chip protocol library. S5: According to the data chip storage protocol, confirm that all driving data corresponds to the data location information and storage format in the data storage chip; the storage format includes: ciphertext or plaintext; S6: Read the data to be identified according to the data location information and storage protocol; after reading, confirm the storage format of the data and decrypt the data that needs to be decrypted; S7: Display all the data. The aforementioned damaged driving recorder is a driving recorder whose circuit board is damaged. The data reading tool includes: an RT809H programmer. Step S7 also includes the following steps: Before displaying the data, confirm the encoding format of the data acquired by the data reading tool. If the data acquired by the data reading tool is stored in a format other than decimal, convert the data to decimal before displaying it. In step S7, the read data is converted and displayed using the WinHex tool.
2. The method for extracting data from a damaged driving recorder data storage chip according to claim 1, characterized in that: In step S2, the data reading tool connects to the pins of the data storage chip via a chip adapter or wire bonding.
Citation Information
Patent Citations
Flash memory chip data analyzing method and flash memory chip data analyzing device
CN102567209A
Data extraction method for mobile phone storage chip
CN105183395A
Automobile data recorder reading device and system
CN110490993A
