CN106681873B - System and method for identifying abnormal opening of data storage device of pure electric vehicle - Google Patents

System and method for identifying abnormal opening of data storage device of pure electric vehicle Download PDF

Info

Publication number
CN106681873B
CN106681873B CN201611209590.4A CN201611209590A CN106681873B CN 106681873 B CN106681873 B CN 106681873B CN 201611209590 A CN201611209590 A CN 201611209590A CN 106681873 B CN106681873 B CN 106681873B
Authority
CN
China
Prior art keywords
main control
control chip
data
storage device
data storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611209590.4A
Other languages
Chinese (zh)
Other versions
CN106681873A (en
Inventor
杨建利
张涛
周洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongqin Beijing Technology Co ltd
Original Assignee
Hongqin Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongqin Beijing Technology Co ltd filed Critical Hongqin Beijing Technology Co ltd
Priority to CN201611209590.4A priority Critical patent/CN106681873B/en
Publication of CN106681873A publication Critical patent/CN106681873A/en
Application granted granted Critical
Publication of CN106681873B publication Critical patent/CN106681873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The invention discloses a system and a method for identifying abnormal opening of a data storage device of a pure electric vehicle, wherein the system comprises a shell and a cover plate for sealing the shell, the shell is provided with screw holes, metal screws matched with the screw holes are connected to the cover plate in a penetrating way, and the metal screws are connected with a high level of the system through metal wires; the device also comprises a main control chip and a storage chip connected with the main control chip, wherein an interrupt pin of the main control chip is connected with the screw hole through a wire, and the main control chip is connected with the data query device through a serial port. The invention adopts the structure, can identify whether the shell of the electric automobile comprehensive information data storage device is opened abnormally, and can effectively identify and prevent the electric automobile comprehensive information data storage device from being tampered and destroyed maliciously.

Description

System and method for identifying abnormal opening of data storage device of pure electric vehicle
Technical Field
The invention relates to the field of pure electric vehicles, in particular to a system and a method for identifying abnormal opening of a data storage device of a pure electric vehicle, and particularly relates to a system and a method capable of recording and indicating whether a shell of the data storage device is normally opened or not.
Background
The pure electric vehicle is an important direction of the development of new energy vehicles. The country encourages the installation of the comprehensive information data storage device on the pure electric vehicle to record the running condition of the pure electric vehicle, so as to provide basis for the work such as accident responsibility identification, actual driving mileage identification and the like. At present, the shell of the known pure electric vehicle comprehensive information data storage device mainly provides functions of water resistance, high temperature resistance, external mechanical impact collision protection and the like for electronic equipment in the shell, but when the comprehensive information data storage device is opened, the shell does not have identification and recording capabilities when the comprehensive information data storage device is tampered with the pure electric vehicle comprehensive information data recorded by the storage device.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a system and a method for identifying abnormal opening of a data storage device of a pure electric vehicle, which are used for identifying whether the shell of the data storage device is normally opened or not, marking and storing if the abnormal opening of the shell is identified, and prompting that the shell of the comprehensive information data storage device of the electric vehicle is abnormally opened when the data query operation is executed on the comprehensive information data storage device of the electric vehicle next time.
The invention adopts the following technical scheme to realize the aim:
the system for identifying abnormal opening of the data storage device of the pure electric vehicle comprises a shell and a cover plate for sealing the shell, wherein a screw hole is formed in the shell, a metal screw matched with the screw hole is connected to the cover plate in a penetrating manner, and the metal screw is connected with a high level of the system through a metal wire;
the device also comprises a main control chip and a storage chip connected with the main control chip, wherein an interrupt pin of the main control chip is connected with the screw hole through a wire, and the main control chip is connected with the data query device through a serial port.
In the scheme, the high level of the system is transmitted to a pin with an interrupt detection function of the main control chip through a metal wire, a metal screw and a screw hole, when the shell of the electric vehicle integrated information data storage device is normally opened, an operation code required by the operation of opening the shell is required to be input through a serial interface on the electric vehicle integrated information data storage device, the main control chip detects the operation code, if the operation code is consistent with the operation code set when the electric vehicle integrated information data storage device leaves a factory, the main control chip shields the interrupt detection on the corresponding pin, if the operation code is inconsistent with the operation code set when the electric vehicle integrated information data storage device leaves a factory, the interrupt detection on the corresponding pin is not shielded, and if the operation code is not input correctly, the operation of disassembling the shell by disassembling the metal screw inevitably leads to the pin with the interrupt detection function of the main control chip losing the high level and generating the interrupt, and the operation of abnormally opening the shell is recorded in a specified storage address by setting a special mark when the main control chip is in interrupt processing. When the comprehensive information data storage device of the electric automobile is subjected to data query operation, the storage address is read first, if no mark exists, the shell is never opened abnormally and corresponding query data are transmitted, and if the mark exists, the shell is opened abnormally and transmits an alarm data to the query port and does not transmit subsequent query data.
Further, as the preferable technical scheme, the intelligent control system further comprises a CAN wire, and the main control chip is connected with an OBD interface of the pure electric vehicle through the CAN wire. The OBD interface comes from the OBD system of the pure electric vehicle, and the main control chip CAN read the comprehensive data of the running state of the vehicle through the CAN line and finally store the data on the storage chip.
Further, as a preferable technical scheme, the main control chip is an FPGA or a microcontroller.
Further, as a preferable technical scheme, the memory chip is a FLASH memory chip.
A method for identifying abnormal opening of a data storage device of a pure electric vehicle by using a system comprises the following steps:
(a) Judging whether the main control chip detects the input of the operation code of the data query device, if yes, performing the step (b), otherwise, performing the step (d);
(b) Judging whether the operation code input from the data inquiry device is consistent with the operation code set when the electric automobile data storage device leaves the factory, if so, performing the step (c), otherwise, performing the step (d);
(c) The main control chip shields interrupt detection on a pin connected with the screw hole;
(d) The main control chip does not shield interrupt detection on a pin connected with the screw hole;
(e) When the main control chip processes the interrupt, the interrupt is recorded at a specified storage address in a mode of setting a special mark;
(f) When the data storage device of the electric automobile is subjected to data query operation, the storage address is read first, if the storage address is marked, alarm data are sent to the query port, subsequent query data are not sent, and otherwise, corresponding query data are transmitted.
Further, as a preferred technical solution, in the step (f), each time the operation of data query is performed through the serial port, the storage address is read first, and if there is a flag, an alarm data is sent to the serial port and no subsequent query data is sent.
Compared with the prior art, the invention has the following advantages:
according to the invention, the serial port input detection operation code on the pure electric vehicle comprehensive information data storage device is detected through the main control chip, when no operation code exists or the input operation code is inconsistent with the operation code set when the pure electric vehicle comprehensive information data storage device leaves a factory, the main control chip does not shield the interrupt detection on the corresponding pin, when the shell of the pure electric vehicle comprehensive information data storage device is opened abnormally, the interrupt is triggered, the abnormal opening operation is recorded in the storage chip in a mode of setting a mark, when the data query operation is executed through the serial port, the storage address of the record operation in the storage chip is read first, and as the storage address is marked, alarm data is sent to the serial port and subsequent query data is not sent, so that whether the shell of the electric vehicle comprehensive information data storage device is opened abnormally can be identified, and malicious tampering and damage to the electric vehicle comprehensive information data storage device can be effectively identified and prevented.
Drawings
FIG. 1 is a system block diagram of the present invention;
fig. 2 is a process diagram of an implementation method of the present invention.
The names corresponding to the reference numerals in the figures are:
1. high level of the system, 2, metal screws, 3, screw holes, 4, cover plates, 5, a shell, 6, serial ports, 7, wires, 8, a main control chip, 9, CAN wires, 10 and a memory chip.
Detailed Description
The present invention will be described in further detail with reference to examples, but embodiments of the present invention are not limited thereto.
Examples:
as shown in fig. 1, the system for identifying abnormal opening of a data storage device of a pure electric vehicle in this embodiment includes a housing 5 and a cover plate 4 for sealing the housing 5, wherein a screw hole 3 is provided on the housing 5, a metal screw 2 matched with the screw hole 3 is connected to the cover plate 4 in a penetrating way, the metal screw 2 is connected with a system high level 1 through a metal wire, and the system high level 1 is provided by an electronic system of the integrated information data storage device of the pure electric vehicle.
In addition, the system further comprises a main control chip 8 and a memory chip 10 connected with the main control chip 8, wherein the main control chip 8 can be an FPGA or a microcontroller, the memory chip 10 can be a FLASH memory chip, and an interrupt pin of the main control chip 8 is connected with the screw hole 3 through a wire 7, so that the interrupt pin of the main control chip 8 is connected to the system high level 1 through the wire 7, the screw hole 3 and the metal screw 2.
The main control chip 8 of the embodiment is connected with the data query device through the serial port 6, and the data query device sends an operation code to the main control chip 8 through the serial port 6, wherein the operation code is used for verifying whether the operation code is consistent with the operation code set when the pure electric vehicle comprehensive information data storage device leaves the factory.
The embodiment further comprises a CAN line 9, the main control chip 8 is connected with an OBD interface of the pure electric vehicle through the CAN line 9, the OBD interface is from an OBD system of the pure electric vehicle, and the main control chip CAN read comprehensive data of the running state of the vehicle through the CAN line and finally store the data on the storage chip.
As shown in fig. 2, the following method is specifically adopted in the embodiment to realize the identification of whether the shell of the integrated information data storage device of the pure electric vehicle is normally opened, and the specific steps are as follows:
firstly, judging whether an operation code is input into a data query device by a main control chip 8, if the operation code is identical to the operation code set when the electric automobile data storage device leaves a factory, shielding interrupt detection on a pin connected with a screw hole 3 by the main control chip 8, namely, opening the shell of the electric automobile data storage device at the moment, not triggering interrupt, normally opening the shell of the electric automobile data storage device, and sending corresponding query data to a request end at the moment;
furthermore, if the operation code is not consistent with the operation code set when the electric automobile data storage device leaves the factory, the main control chip 8 does not shield the interrupt detection on the pin connected with the screw hole 3, at the moment, if the shell of the electric automobile data storage device is opened, namely, the metal screw 2 is unscrewed, the interrupt pin of the main control chip 8 loses high level to trigger interrupt, the main control chip 8 records the interrupt in a specific storage address by setting a special mark when the interrupt is processed, when the data query operation is performed on the electric automobile data storage device through the serial port 6, the storage address is read first, and because of the mark, alarm data are sent to the serial port 6 and follow-up query data are not sent.
If the operation code does not exist, the execution result inconsistent with the operation code is the same, namely the main control chip 8 does not shield the interrupt detection on the pin connected with the screw hole 3, at the moment, if the shell of the electric automobile data storage device is started, namely the metal screw 2 is unscrewed, the interrupt pin of the main control chip 8 loses high level to trigger interrupt, when the main control chip 8 processes interrupt, the interrupt is recorded at a specified storage address in a mode of setting a special mark, when the data query operation is performed on the electric automobile data storage device through the serial port 6, the storage address is read first, and because of the mark, alarm data are sent to the serial port 6 and subsequent query data are not sent.
The foregoing description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and any simple modification, equivalent variation, etc. of the above embodiment according to the technical matter of the present invention fall within the scope of the present invention.

Claims (6)

1. The system for identifying abnormal opening of the data storage device of the pure electric vehicle is characterized by comprising a shell (5) and a cover plate (4) for sealing the shell (5), wherein a screw hole (3) is formed in the shell (5), a metal screw (2) matched with the screw hole (3) is connected to the cover plate (4) in a penetrating manner, and the metal screw (2) is connected with a high level (1) of the system through a metal wire;
the device also comprises a main control chip (8) and a storage chip (10) connected with the main control chip (8), wherein an interrupt pin of the main control chip (8) is connected with the screw hole (3) through a lead (7), and the main control chip (8) is connected with the data query device through a serial port (6);
(a) Judging whether the main control chip (8) detects the input of an operation code of the data query device, if yes, performing the step (b), otherwise, performing the step (d);
(b) Judging whether the operation code input from the data inquiry device is consistent with the operation code set when the electric automobile data storage device leaves the factory, if so, performing the step (c), otherwise, performing the step (d);
(c) The main control chip (8) shields interrupt detection on a pin connected with the screw hole (3);
(d) The main control chip (8) does not shield interruption detection on a pin connected with the screw hole (3);
(e) When the main control chip (8) processes the interrupt, the interrupt is recorded at a specified storage address in a mode of setting a special mark;
(f) When the data storage device of the electric automobile is subjected to data query operation, the storage address is read first, if the storage address is marked, alarm data are sent to the query port, subsequent query data are not sent, and otherwise, corresponding query data are transmitted.
2. The system for identifying abnormal opening of the data storage device of the pure electric vehicle according to claim 1, further comprising a CAN line (9), wherein the main control chip (8) is connected with an OBD interface of the pure electric vehicle through the CAN line (9).
3. The system for identifying abnormal opening of the data storage device of the pure electric vehicle according to claim 1 or 2, wherein the main control chip (8) is an FPGA or a microcontroller.
4. The system for identifying abnormal opening of the data storage device of the pure electric vehicle according to claim 1 or 2, wherein the storage chip (10) is a FLASH storage chip.
5. A method for identifying abnormal opening of a data storage device of a pure electric vehicle by using the system for identifying abnormal opening of a data storage device of a pure electric vehicle according to any one of claims 1 to 4, comprising the following steps:
(a) Judging whether the main control chip (8) detects the input of an operation code of the data query device, if yes, performing the step (b), otherwise, performing the step (d);
(b) Judging whether the operation code input from the data inquiry device is consistent with the operation code set when the electric automobile data storage device leaves the factory, if so, performing the step (c), otherwise, performing the step (d);
(c) The main control chip (8) shields interrupt detection on a pin connected with the screw hole (3);
(d) The main control chip (8) does not shield interruption detection on a pin connected with the screw hole (3);
(e) When the main control chip (8) processes the interrupt, the interrupt is recorded at a specified storage address in a mode of setting a special mark;
(f) When the data storage device of the electric automobile is subjected to data query operation, the storage address is read first, if the storage address is marked, alarm data are sent to the query port, subsequent query data are not sent, and otherwise, corresponding query data are transmitted.
6. The method for identifying abnormal opening of the data storage device for the pure electric vehicle according to claim 5, wherein in the step (f), each time the operation of data query is performed through the serial port (6), the storage address is read first, and if the storage address has a flag, an alarm data is sent to the serial port (6) and no subsequent query data is sent.
CN201611209590.4A 2016-12-23 2016-12-23 System and method for identifying abnormal opening of data storage device of pure electric vehicle Active CN106681873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611209590.4A CN106681873B (en) 2016-12-23 2016-12-23 System and method for identifying abnormal opening of data storage device of pure electric vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611209590.4A CN106681873B (en) 2016-12-23 2016-12-23 System and method for identifying abnormal opening of data storage device of pure electric vehicle

Publications (2)

Publication Number Publication Date
CN106681873A CN106681873A (en) 2017-05-17
CN106681873B true CN106681873B (en) 2023-05-02

Family

ID=58870304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611209590.4A Active CN106681873B (en) 2016-12-23 2016-12-23 System and method for identifying abnormal opening of data storage device of pure electric vehicle

Country Status (1)

Country Link
CN (1) CN106681873B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473878A (en) * 2009-09-28 2012-05-23 株式会社日立制作所 Battery system
CN102611694A (en) * 2012-01-18 2012-07-25 中国电力科学研究院 Handheld terminal, system and battery information processing method thereof
CN204314959U (en) * 2014-12-31 2015-05-06 北京市汇聚电动汽车科技发展有限公司 A kind of new-energy automobile safety record and data fetch device thereof
CN204719761U (en) * 2015-06-04 2015-10-21 鸿秦(北京)科技有限公司 A kind of intelligence destroys solid state hard disc

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9485247B2 (en) * 2014-03-04 2016-11-01 Nissan North America, Inc. On-board vehicle communication system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473878A (en) * 2009-09-28 2012-05-23 株式会社日立制作所 Battery system
CN102611694A (en) * 2012-01-18 2012-07-25 中国电力科学研究院 Handheld terminal, system and battery information processing method thereof
CN204314959U (en) * 2014-12-31 2015-05-06 北京市汇聚电动汽车科技发展有限公司 A kind of new-energy automobile safety record and data fetch device thereof
CN204719761U (en) * 2015-06-04 2015-10-21 鸿秦(北京)科技有限公司 A kind of intelligence destroys solid state hard disc

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于MSP430的车载CAN总线数据记录仪;于成毅等;《国外电子测量技术》;20110222(第02期);35-37 *

Also Published As

Publication number Publication date
CN106681873A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN107646155B (en) Battery cell for a motor vehicle battery, motor vehicle and method for operating a battery cell
EP2472408B1 (en) Bus monitor for improving system safety of system on chip (soc) and realizing method thereof
US11394727B2 (en) System and method for side-channel based detection of cyber-attack
US20140058583A1 (en) Event Data Recording for Vehicles
US5991673A (en) Vehicle anti-theft system including vehicle identification numbers programmed into on-board computers
US20140165206A1 (en) Security parameter zeroization
CN203543895U (en) Vehicle-mounted anti-theft device
WO2013164120A1 (en) Method and device for triggering at least one safety function in the event of a safety-critical condition of an electrochemical energy store, and electrochemical energy store system
CN111835737B (en) WEB attack protection method based on automatic learning and related equipment thereof
CN105405258A (en) Vehicle fault alarming method and device
US20200410829A1 (en) Method and device for detecting breakage of window glass
CN1834994A (en) Method of recognizing problem vehicles
CN111178798A (en) Data processing method, system, equipment and storage medium
CN101515406A (en) Method for distinguishing fake license plate at distant range
CN106681873B (en) System and method for identifying abnormal opening of data storage device of pure electric vehicle
CN115879162B (en) Illegal operation alarm blocking system for database monitoring
US11694489B2 (en) Message monitoring system, message transmission electronic control unit, and monitoring electronic control unit
CN109756483B (en) Safety protection method aiming at MELASEC protocol
CN106899977B (en) Abnormal flow detection method and device
US20050044403A1 (en) Detection circuit for a smart card
US20100122056A1 (en) Method and Device for Securely Storing and Securely Reading User Data
CN212586888U (en) Trigger structure for self-destruction of illegal shutdown data
CN206353309U (en) A kind of system for recognizing pure electric automobile data storage device abnormal start-up
CN106029516A (en) Method and apparatus for tamper detection
CN214587164U (en) Intelligent lock monitoring system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant