Intelligent vehicle-mounted terminal based on SM1 cryptographic algorithm
By using the Guoxin SM1 algorithm and CPU module as the main control CPU in the smart car terminal, combined with the encryption chip and monitoring function, the problems of system redundancy and lack of functions in the existing technology are solved, and high cost-effectiveness and data security are achieved.
Patent Information
- Application Number
- CN202421507714.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2034-06-28
AI Technical Summary
The existing smart car terminals do not have hardware-level national secret SM1 encryption when communicating with cloud platforms, resulting in redundant system design, wasted CPU resources, and lack of collision and rollover status monitoring functions.
It adopts an intelligent vehicle-mounted terminal based on the Guomi SM1 algorithm, uses the CPU module as the main control CPU, combines the encryption chip Guomi SM1 for data encryption, and integrates collision and rollover monitoring functions to improve system cost-effectiveness and data security.
It realizes high reliability data security between vehicle terminals and cloud platforms, has collision and rollover monitoring functions, and improves product cost-effectiveness and chip choice diversity.
Smart Images

Figure CN223310051U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of intelligent vehicle-mounted terminals, in particular to an intelligent vehicle-mounted terminal based on the national secret SM1 algorithm. Background Art
[0002] The intelligent vehicle terminal uses China Mobile / China Unicom / China Telecom's 2G, 3G, and 4G full-network communication for data transmission with the cloud platform; it has an OBD (on-board diagnostic) function; when the car battery cannot power the vehicle terminal, it is powered by a backup lithium battery to continue communicating with the cloud platform; it supports RS232 and RS485 communication with other external devices; the application program runs only in the microcontroller, and the communication module, positioning module, status reading, analog acquisition, etc. are all controlled by the microcontroller as the main CPU.
[0003] However, the existing intelligent vehicle terminals and cloud platform communications do not have hardware-level national secret SM1 encryption communication; when the main control CPU can only be a single-chip microcomputer, its performance and storage functions are required to be high and expensive, which wastes the function of the CPU in the communication module and causes redundant design of the system; it does not have the collision and rollover status monitoring function.
[0004] To this end, we propose an intelligent vehicle-mounted terminal based on the national secret SM1 algorithm to solve the above problems. Utility Model Content
[0005] The purpose of the present utility model is to provide an intelligent vehicle-mounted terminal based on the national secret SM1 algorithm. When in use, the communication data uploaded by the vehicle-mounted terminal to the cloud platform has no useful value if the encryption chip (national secret SM1) algorithm is unknown, that is, the location of the vehicle and the corresponding vehicle information cannot be obtained; due to the adjustment of the system solution, the CPU module (communication module) serves as the main control CPU, which greatly improves the cost performance of the product, improves the communication performance of the product, and increases the diversity of chip selection; and has a vehicle driving safety monitoring function for collision and rollover. When in use, the communication between the vehicle-mounted terminal and the cloud platform has high and reliable data security, which improves the cost performance of the product and the diversity of chip selection, so as to solve the problems raised in the above background technology.
[0006] To achieve the above objectives, the present invention provides the following technical solutions:
[0007] A smart vehicle terminal based on the national secret SM1 algorithm includes a shell, a front panel and a rear panel 3. The front panel surface is respectively provided with a drawer-type SIM card slot, a drawer-type TF card slot, a MIC3.5mm audio jack, a backup battery toggle switch, a positioning indicator light, a communication indicator light and an SMA communication radio frequency head; and the rear panel surface is respectively provided with a Type-A USB socket, an RS485 interface, an OBD interface, a handle / debugging IO interface, and a power interface; and the inside of the shell is provided with a CPU module and a power module.
[0008] In a further embodiment, the RS485 interface is 5V output, RS485+, RS485-, and GND.
[0009] In a further embodiment, the OBD interface includes OBD_CANH, OBD_CANL, CAN2_H, CAN2_L, GND, analog input 0-5V, 5V output, pulse input 9-36V, general switch input-low active, and controlled system power output-high level control.
[0010] In a further embodiment, the handle / debug IO interface is 5V output, MIC-, MIC+, SPK+, SPK-, RS232-RXD, RS232-TXD, and GND.
[0011] In a further embodiment, the power interface is the positive electrode of the vehicle power supply 9-36V, ACC status monitoring, the negative electrode of the vehicle power supply, and the emergency alarm button.
[0012] In a further embodiment, the CPU module is specifically a communication module, which is responsible for communicating and controlling each unit, including: SIM card unit, collision or rollover monitoring G-Sensor unit, positioning unit, lithium battery, TF card unit, LED indicator unit, encryption chip unit National Secret SM1, Audio unit, interface driver, MCU unit; after receiving the data and pulse, the MCU transmits it to the CPU module according to the UART serial port protocol, the MCU drives OBD_CAN, CAN2, and pulse input 9-36V, and the remaining interfaces are all directly communicated and collected by the CPU module, and performed calculations.
[0013] In a further embodiment, the power module is responsible for supplying power to the corresponding units, including: CPU module 3.8V, positioning module unit 3.3V, lithium battery unit 5V, TF card unit 3V, LED indicator unit 3.8V, encryption chip is national secret SM13.3V, Audio unit 3.3V and 5V, interface drive unit 3.3V, MCU unit 3.3V and 5V power output, and the 5V, 3.3V, 3V output by the power module do not include all power supplies of 3.8V.
[0014] Compared with the prior art, the beneficial effects of the present invention are:
[0015] According to the utility model, when the vehicle-mounted terminal is in use, the communication data uploaded to the cloud platform is of no use if the encryption chip (national encryption SM1) algorithm is unknown, that is, the location of the vehicle and the corresponding vehicle information cannot be obtained; due to the adjustment of the system solution, the CPU module (communication module) serves as the main control CPU, which greatly improves the cost performance of the product, improves the communication performance of the product, and increases the diversity of chip selection; and it has the function of vehicle driving safety monitoring for collision and rollover. When in use, the communication between the vehicle-mounted terminal and the cloud platform has high and reliable data security, which improves the cost performance of the product and the diversity of chip selection. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a schematic diagram of the overall structure of an intelligent vehicle terminal based on the national secret SM1 algorithm;
[0017] Figure 2 This is a structural diagram of the front panel of an intelligent vehicle terminal based on the national secret SM1 algorithm;
[0018] Figure 3 This is a structural diagram of the rear panel of an intelligent vehicle terminal based on the national secret SM1 algorithm;
[0019] Figure 4 This is a structural diagram of the CPU module of an intelligent vehicle terminal based on the national secret SM1 algorithm;
[0020] Figure 5 This is a structural diagram of the power module of an intelligent vehicle terminal based on the national secret SM1 algorithm;
[0021] Figure 6 This is a schematic diagram of the circuit connection structure of an intelligent vehicle terminal based on the national secret SM1 algorithm.
[0022] In the figure: 1. Housing; 2. Front panel; 3. Rear panel; 4. Drawer-type SIM card slot; 5. Drawer-type TF card slot; 6. MIC 3.5mm audio jack; 7. Backup battery toggle switch; 8. Position indicator light; 9. Communication indicator light; 10. SMA communication radio head; 11. Type-A USB socket; 12. RS485 interface; 13. OBD interface; 14. Handle / debugging IO interface; 15. Power interface; 16. CPU module; 17. Power module. DETAILED DESCRIPTION
[0023] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0024] In the description of this utility model, it should be noted that, unless otherwise expressly specified or limited, the terms "installed," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections, electrical connections; direct connections, indirect connections through an intermediate medium, and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in this utility model based on specific circumstances.
[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0026] See also Figure 1-6 , an intelligent vehicle terminal based on the national secret SM1 algorithm, including a shell 1, a front panel 2 and a rear panel 3, and the product adopts a drawer-type structure. The shell is made of aluminum alloy and is divided into three parts: the front panel 2, the rear panel 3 and the shell 1;
[0027] The surface of the front panel 2 is respectively provided with a drawer-type SIM card slot 4, a drawer-type TF card slot 5, a MIC3.5mm audio jack 6, a backup battery toggle switch 7, a positioning indicator light 8, a communication indicator light 9 and an SMA communication radio frequency head 10, and the surface of the rear panel 3 is respectively provided with a Type-A USB socket 11, an RS485 interface 12, an OBD interface 13, a handle / debugging IO interface 14, and a power interface 15, and the CPU module 16 and the power module 17 are provided inside the shell 1.
[0028] Among them, RS485 interface 12 is 5V output, RS485+, RS485-, GND; OBD interface 13 is OBD_CANH, OBD_CANL, CAN2_H, CAN2_L, GND, analog input 0-5V, 5V output, pulse input 9-36V, general switch input - low active, controlled system power output - high level control;
[0029] The handle / debugging IO interface 14 is 5V output, MIC-, MIC+, SPK+, SPK-, RS232-RXD, RS232-TXD, GND; the power interface 15 is the vehicle power positive electrode 9-36V, ACC status monitoring, vehicle power negative electrode, emergency alarm button;
[0030] The CPU module 16 (communication module) is responsible for communicating and controlling various units, including: SIM card unit, collision or rollover monitoring G-Sensor unit, positioning unit, lithium battery, TF card unit, LED indicator unit, encryption chip unit (National Secret SM1), Audio unit, interface driver, and MCU unit;
[0031] After receiving the data and pulses, the MCU transmits them to the CPU module according to the UART serial port protocol. The MCU drives the OBD_CAN, CAN2, and pulse input 9-36V. The rest of the interfaces are directly collected and processed by the CPU module.
[0032] The power module 17 is responsible for supplying power to the corresponding units, including: CPU module 3.8V, positioning module unit 3.3V, lithium battery unit 5V, TF card unit 3V, LED indicator unit 3.8V, encryption chip (national secret SM1) 3.3V, Audio unit 3.3V and 5V, interface driver unit 3.3V, MCU unit 3.3V and 5V power output. All power supplies output by the power module, such as 5V, 3.3V, 3V, excluding 3.8V, are controlled by the CPU module (communication module) so that the device has better low-power performance when in standby mode;
[0033] The voltage domain of the CPU module 16 (communication module) is 1.8V, so when communicating and controlling with each power supply, the problem of level conversion must be considered. A transistor and level conversion IC solution can be used. In this embodiment, after the CPU module 16 communicates with each unit and collects status, it arranges the corresponding data according to the protocol. Before communicating with the server, it first encrypts the data with the encryption chip (National Secret SM1) through the SPI interface. The data is converted from recognizable plaintext to unrecognizable ciphertext after encryption. The encryption process is as follows: read the chip serial number → obtain the encrypted random number → calculate the registration message ciphertext → organize the registration message (license plate number, license plate color, manufacturer ID, terminal type, terminal model, SN serial number of the terminal device, encryption information, key version, encrypted random number, chip random number) → send to the encryption chip → obtain the encrypted ciphertext, and then send it to the cloud platform via TCP. The data downlinked from the cloud platform also needs to be decrypted by the encryption chip (National Secret SM1) to obtain the corresponding plaintext, and then parse it according to the specified communication protocol. After parsing, the corresponding logic / function is executed, such as data response, TTS voice broadcast, etc.
[0034] The audio unit has a built-in speaker. Since it has both SPK+ and SPK- interfaces, it is also compatible with external speakers, enabling TTS voice broadcasting. TTS voice broadcasting is a function of the CPU module, but requires a corresponding codec chip as a driver chip. This implementation uses the ALC5616 chip, but due to its limited speaker driving capability, an audio power amplifier is still required to drive the speaker.
[0035] The G-Sensor unit is implemented using an accelerometer chip with an SPI interface. Its function is to obtain the X, Y, and Z axis acceleration in real time, so as to calculate the terminal posture. When a certain angle is reached, it is considered that the vehicle has rolled over. At the same time, a collision has caused a large acceleration in a short period of time. By using this principle and characteristic, it can be calculated that the vehicle has collided.
[0036] The working principle of the present invention is as follows: as shown in the figure, the RS485 interface 12 is 5V output, RS485+, RS485-, GND; the OBD interface 13 is OBD_CANH, OBD_CANL, CAN2_H, CAN2_L, GND, analog input 0-5V, 5V output, pulse input 9-36V, general switch input-low active, controlled system power output-high level control; the handle / debugging IO interface 14 is 5V output, MIC-, MIC+, SPK+, SPK-, RS232-RXD, RS232-TXD, GND; the power interface 15 is the vehicle power positive electrode 9-36V, ACC status monitoring, vehicle power negative electrode, emergency alarm button; the CPU module 16 (communication module) is responsible for communicating and controlling with each unit, including: SIM card unit, collision or rollover monitoring G-Sensor unit, positioning unit, lithium battery, TF card unit, LED indication unit, encryption The chip unit includes the National Secret SM1, the Audio unit, the interface driver, and the MCU unit. After receiving data and pulses, the MCU transmits them to the CPU module according to the UART serial port protocol. The MCU drives the OBD_CAN, CAN2, and pulse inputs (9-36V). All other interfaces are directly collected and processed by the CPU module. The power module 17 is responsible for powering the corresponding units, including: the CPU module 3.8V, the positioning module unit 3.3V, the lithium battery unit 5V, the TF card unit 3V, the LED indicator unit 3.8V, the encryption chip (National Secret SM1) 3.3V, the Audio unit 3.3V and 5V, the interface driver unit 3.3V, and the MCU unit 3.3V and 5V power output. All power supplies output by the power module, including 5V, 3.3V, 3V, and so on, excluding 3.8V, are controlled by the CPU module (communication module) to ensure better low-power performance when the device is in standby mode. The voltage domain of the CPU module 16 (communication module) is 1.8V, so when communicating and controlling with each power supply, the problem of level conversion must be considered. A transistor and level conversion IC solution can be used. In this implementation case, the CPU module 16 communicates with each unit and collects status, and then arranges the corresponding data according to the protocol. Before communicating with the server, it first encrypts the data with the encryption chip (National Secret SM1) through the SPI interface. The data is converted from recognizable plain text to unrecognizable cipher text after encryption. The encryption process is: read the chip serial number → obtain the encrypted random number → calculate the registration letter cipher text → organize the registration message (license plate number, license plate color, manufacturer ID, terminal type, terminal model, SN serial number of the terminal device, encryption information, key version, encrypted random number, chip random number) → send to the encryption chip → obtain the encrypted cipher text, and then send it to the cloud platform through TCP. The data downloaded from the cloud platform also needs to be decrypted by the encryption chip (National Secret SM1) before the corresponding plain text can be obtained. , then parses it according to the specified communication protocol. After parsing, the corresponding logic / function is executed, such as data response and TTS voice broadcast. The audio unit has a built-in speaker. Because the interface has SPK+ and SPK-, it is also compatible with external speakers, enabling TTS voice broadcast. TTS voice broadcast is a function of the CPU module, but it requires a corresponding codec chip as a driver chip. This implementation uses the ALC5616 chip. Due to its limited speaker driving capability, it still requires an audio power amplifier to drive the speaker. The G-Sensor unit uses an SPI interface accelerometer chip. Its function can obtain X, Y, and Z axis acceleration in real time, and can be used to calculate the terminal's posture. When a certain angle is reached, it is considered that the vehicle has rolled over. At the same time, the occurrence of a collision has generated a large acceleration in a short period of time. Using this principle and characteristic, it can be calculated that the vehicle has collided.
[0037] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention. Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the present invention is defined by the appended claims, not the foregoing description, and all variations within the meaning and range of equivalents of the claims are intended to be encompassed within the present invention. Any reference sign in a claim should not be construed as limiting the claim to which it relates.
[0038] In addition, it should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. An intelligent vehicle-mounted terminal based on the national secret SM1 algorithm, comprising a housing (1), a front panel (2) and a rear panel (3), characterized in that: The surface of the front panel (2) is respectively provided with a drawer-type SIM card slot (4), a drawer-type TF card slot (5), a MIC 3.5mm audio jack (6), a backup battery toggle switch (7), a positioning indicator light (8), a communication indicator light (9) and an SMA communication radio frequency head (10); The surface of the rear panel (3) is respectively provided with a Type-A USB socket (11), an RS485 interface (12), an OBD interface (13), a handle / debugging IO interface (14), and a power interface (15); The housing (1) is internally provided with a CPU module (16) and a power supply module (17).
2. The intelligent vehicle-mounted terminal based on the national secret SM1 algorithm according to claim 1, characterized in that: The RS485 interface (12) is 5V output, RS485+, RS485-, and GND.
3. The intelligent vehicle-mounted terminal based on the national secret SM1 algorithm according to claim 1, characterized in that: The OBD interface (13) includes OBD_CANH, OBD_CANL, CAN2_H, CAN2_L, GND, analog input 0-5V, 5V output, pulse input 9-36V, general switch input-low active, and controlled system power output-high level control.
4. The intelligent vehicle-mounted terminal based on the national secret SM1 algorithm according to claim 1, characterized in that: The handle / debugging IO interface (14) is 5V output, MIC-, MIC+, SPK+, SPK-, RS232-RXD, RS232-TXD, and GND.
5. The intelligent vehicle-mounted terminal based on the national secret SM1 algorithm according to claim 1, characterized in that: The power interface (15) is a vehicle-mounted power positive electrode 9-36V, ACC status monitoring, a vehicle-mounted power negative electrode, and an emergency alarm button.
6. The intelligent vehicle-mounted terminal based on the national secret SM1 algorithm according to claim 1, characterized in that: The CPU module (16) is specifically a communication module, which is responsible for communicating and controlling various units, including: a SIM card unit, a collision or rollover monitoring G-Sensor unit, a positioning unit, a lithium battery, a TF card unit, an LED indicator unit, an encryption chip unit (National Secret SM1), an Audio unit, an interface driver, and an MCU unit; after receiving the data and pulses, the MCU transmits them to the CPU module according to the UART serial port protocol, and the MCU drives the OBD_CAN, CAN2, and the pulse input 9-36V. The remaining interfaces are all directly communicated and collected by the CPU module, and are then processed.
7. The intelligent vehicle-mounted terminal based on the national secret SM1 algorithm according to claim 1, characterized in that: The power supply module (17) is responsible for supplying power to the corresponding units, including: CPU module 3.8V, positioning module unit 3.3V, lithium battery unit 5V, TF card unit 3V, LED indicator light unit 3.8V, encryption chip for national secret SM13.3V, Audio unit 3.3V and 5V, interface drive unit 3.3V, MCU unit 3.3V and 5V power output, and the 5V, 3.3V, 3V output by the power supply module do not include all power supplies of 3.8V.