Method and device for sending vehicle control message of vehicle-mounted intelligent terminal
By introducing encryption, decryption, and legitimacy verification of agent and gateway modules into the in-vehicle intelligent terminal, the problem of loss of vehicle control capabilities and tampering caused by external intrusion is solved, realizing secure transmission and anti-forgery of vehicle control commands and reducing the risk of accidents.
Patent Information
- Application Number
- CN202411506124.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-01-10
AI Technical Summary
Existing in-vehicle intelligent terminals are prone to loss of vehicle control capabilities and tampering after being subjected to external intrusion, lacking effective defense measures and leading to potential security risks.
The proxy module encrypts identity information and applies for a gateway. The gateway module decrypts and verifies the legality of the data to ensure the legality and integrity of vehicle control commands, including verification of the gateway's unique identifier, identity information, message information, and timestamp, to prevent unauthorized tampering.
It effectively prevents the loss and tampering of vehicle control capabilities caused by external intrusion, reduces the risk of accidents, and ensures the security and reliability of vehicle control commands.
Smart Images

Figure CN119299108A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automobile technology, and in particular to a method and device for sending a vehicle control message of a vehicle-mounted intelligent terminal. Background Art
[0002] With the rapid development of automotive electronic technology, the control ability of the car central control over the vehicle has been gradually released. From the initial central control screen that was only a multimedia device, it has become an existing intelligent terminal, which is not only a multimedia device, but also the brain of the entire vehicle. It can control the information of the vehicle. Because the functions have become more complex, once the central control is invaded, it will cause great harm to the driver or the car.
[0003] However, current in-vehicle applications have basically no defense against vehicle control functions. If message hijacking or identity forgery occurs, control of the vehicle will be lost. Summary of the invention
[0004] The present invention proposes a method and device for sending vehicle control messages of an on-board intelligent terminal, which can reduce or avoid accidents, prevent the forgery of vehicle control command information through unknown applications and unknown means, and solve the loss and tampering of vehicle control capabilities caused by external intrusion on the on-board intelligent terminal.
[0005] The technical solution of the present invention is described as follows in conjunction with the accompanying drawings:
[0006] In a first aspect, an embodiment of the present invention provides a method for sending a vehicle control message of a vehicle-mounted intelligent terminal, comprising the following steps:
[0007] Step 1: Pass in identity information through the proxy module;
[0008] Step 2: The proxy module encrypts the proxy module identity information according to the secret key and applies for a gateway;
[0009] Step 3: The gateway module decrypts the identity information and verifies the legitimacy of the data. If it is legal, the gateway is assigned and the unique identification of the gateway is returned. At this time, the proxy module holds the unique identification of the gateway.
[0010] Step 4: Send vehicle control instructions through the proxy module;
[0011] Step 5: Encrypt the vehicle control command;
[0012] Step 6: The gateway module decrypts the instruction and verifies the legitimacy of the gateway, identity information, message information and timestamp;
[0013] Step 7: Find the corresponding gateway and perform a reverse query on the proxy module to verify whether the information is issued by this application;
[0014] Step 8: After verification, the vehicle control information is correctly issued.
[0015] Furthermore, in step five, the encrypted information includes the gateway unique identifier, identity information, message information and timestamp.
[0016] Furthermore, in step six, the gateway module verifies the legitimacy of the gateway, identity information, message information and timestamp.
[0017] Furthermore, in step six, after successful verification, a gateway is assigned and a unique identifier is generated and cached internally.
[0018] Furthermore, in step seven, the gateway is found by parsing the unique identifier of the gateway.
[0019] In a second aspect, an embodiment of the present invention further provides a device for sending a vehicle control message of a vehicle-mounted intelligent terminal, comprising:
[0020] The module for inputting identity information is used to input identity information through the proxy module;
[0021] The gateway application module is used by the management module to encrypt the identity information of the proxy module according to the secret key and apply for the gateway;
[0022] The verification module is used by the gateway module to decrypt the identity information and verify the legitimacy of the data. If it is legal, the gateway is assigned and the unique identification of the gateway is returned. At this time, the unique identification of the gateway is held by the proxy module;
[0023] The command issuing module is used to issue vehicle control commands through the proxy module;
[0024] Command encryption module, used to encrypt vehicle control commands;
[0025] The instruction decryption module is used by the gateway module to decrypt instructions and verify the legitimacy of the gateway, identity information, message information and timestamp;
[0026] The query module is used to find the corresponding gateway and perform a reverse query on the proxy module to verify whether the information is issued by this application;
[0027] The vehicle control information sending module is used to correctly send the vehicle control information after verification.
[0028] In a third aspect, a terminal is provided, including:
[0029] one or more processors;
[0030] a memory for storing the one or more processor-executable instructions;
[0031] Wherein, the one or more processors are configured to:
[0032] Execute the method described in the first aspect of the embodiment of the present invention.
[0033] In a fourth aspect, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method described in the first aspect of an embodiment of the present invention.
[0034] In a fifth aspect, an application product is provided. When the application product is running on a terminal, the terminal executes the method described in the first aspect of the embodiment of the present invention.
[0035] The beneficial effects of the present invention are:
[0036] The present invention solves the problem of vehicle control capability loss and tampering caused by external intrusion on a vehicle-mounted intelligent terminal, thereby reducing or avoiding accidents and preventing the falsification of vehicle control command information through unknown applications and unknown means. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 It is a structural schematic diagram of the present invention;
[0039] Figure 2 Schematic diagram of the gateway application process;
[0040] Figure 3 This is a schematic diagram of the message sending process;
[0041] Figure 4 This is a structural schematic diagram of a device for sending vehicle control messages of a vehicle-mounted intelligent terminal according to the present invention;
[0042] Figure 5 The present invention is a schematic block diagram of a terminal structure. DETAILED DESCRIPTION
[0043] 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 described embodiments 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 creative work are within the scope of protection of the present invention.
[0044] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0045] Embodiment 1
[0046] This embodiment provides a method for sending a vehicle control message of a vehicle-mounted intelligent terminal. The method can be executed by a vehicle control message sending device of a vehicle-mounted intelligent terminal in an embodiment of the present invention. The device can be implemented in software and / or hardware. The details are as follows:
[0047] See Figure, Figure 2 and Figure 3 A method for sending a vehicle control message of a vehicle-mounted intelligent terminal comprises the following steps:
[0048] Step 1: Pass in identity information through the proxy module;
[0049] Step 2: The proxy module encrypts the proxy module identity information according to the secret key and applies for a gateway;
[0050] Step 3: The gateway module decrypts the identity information and verifies the legitimacy of the data. If it is legal, the gateway is assigned and the unique identification of the gateway is returned. At this time, the proxy module holds the unique identification of the gateway.
[0051] Step 4: Send vehicle control instructions through the proxy module;
[0052] Step 5: Encrypt the vehicle control command; the encrypted information includes the gateway unique identifier, identity information, message information and timestamp. After successful verification, the gateway is assigned and a unique identifier is generated, which is cached internally.
[0053] Step 6: The gateway module decrypts the instruction and verifies the legitimacy of the gateway, identity information, message information and timestamp. The gateway module verifies the legitimacy of the gateway, identity information, message information and timestamp.
[0054] When verifying the gateway, first verify the identity information, then verify the timestamp information, and finally verify the control message. After completion, the message is returned to the corresponding gateway holder to inquire about the validity of the message and confirm whether the message is sent by this gateway. If the message is valid, it will be sent down. If it is abnormal, it will not be sent down.
[0055] Step 7: Find the gateway through the resolved gateway unique identifier and perform a reverse query on the proxy module to verify whether the information is issued by this application;
[0056] Step 8: After verification, the vehicle control information is correctly issued.
[0057] In summary, the present invention solves the problem of loss of vehicle control capability and tampering caused by external intrusion on the vehicle-mounted intelligent terminal, thereby reducing or avoiding accidents and preventing the forgery of vehicle control command information through unknown applications and unknown means.
[0058] Embodiment 2
[0059] See also Figure 4 This embodiment provides a device for sending a vehicle control message of a vehicle-mounted intelligent terminal, including:
[0060] The module for inputting identity information is used to input identity information through the proxy module;
[0061] The gateway application module is used by the management module to encrypt the identity information of the proxy module according to the secret key and apply for the gateway;
[0062] The verification module is used by the gateway module to decrypt the identity information and verify the legitimacy of the data. If it is legal, the gateway is assigned and the unique identification of the gateway is returned. At this time, the unique identification of the gateway is held by the proxy module;
[0063] The command issuing module is used to issue vehicle control commands through the proxy module;
[0064] Command encryption module, used to encrypt vehicle control commands;
[0065] The instruction decryption module is used by the gateway module to decrypt instructions and verify the legitimacy of the gateway, identity information, message information and timestamp;
[0066] The query module is used to find the corresponding gateway and perform a reverse query on the proxy module to verify whether the information is issued by this application;
[0067] The vehicle control information sending module is used to correctly send the vehicle control information after verification.
[0068] Embodiment 3
[0069] Figure 5 1 is a block diagram of a terminal provided in an embodiment of the present application, and the terminal may be a terminal in the above embodiment. The terminal may be a portable mobile terminal, such as a smart phone or a tablet computer. The terminal may also be referred to as a user device, a portable terminal, or other names.
[0070] Typically, the terminal includes: a processor 301 and a memory 302 .
[0071] The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0072] The memory 302 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 302 is used to store at least one instruction, which is executed by the processor 301 to implement a method for sending a vehicle control message of a vehicle-mounted intelligent terminal provided in this application.
[0073] In some embodiments, the terminal may further include: a peripheral device interface 303 and at least one peripheral device. Specifically, the peripheral device includes: at least one of a radio frequency circuit 304 , a touch display screen 305 , a camera 306 , an audio circuit 307 , a positioning component 308 and a power supply 309 .
[0074] The peripheral device interface 303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 301 and the memory 302. In some embodiments, the processor 301, the memory 302, and the peripheral device interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302, and the peripheral device interface 303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0075] The radio frequency circuit 304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 304 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 304 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 304 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0076] The touch display screen 305 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos and any combination thereof. The touch display screen 305 also has the ability to collect touch signals on the surface or above the surface of the touch display screen 305. The touch signal can be input to the processor 301 as a control signal for processing. The touch display screen 305 is used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the touch display screen 305 can be one, and the front panel of the terminal is set; in other embodiments, the touch display screen 305 can be at least two, which are respectively set on different surfaces of the terminal or are folded; in some other embodiments, the touch display screen 305 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal. Even, the touch display screen 305 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The touch display screen 305 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
[0077] The camera assembly 306 is used to capture images or videos. Optionally, the camera assembly 306 includes a front camera and a rear camera. Typically, the front camera is used to realize video calls or selfies, and the rear camera is used to realize the shooting of photos or videos. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, and a wide-angle camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, and the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting functions. In some embodiments, the camera assembly 306 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0078] The audio circuit 307 is used to provide an audio interface between the user and the terminal. The audio circuit 307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 301 for processing, or input them into the radio frequency circuit 304 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 301 or the radio frequency circuit 304 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 307 may also include a headphone jack.
[0079] The positioning component 308 is used to locate the current geographical location of the terminal to implement navigation or LBS (Location Based Service). The positioning component 308 can be a positioning component based on the US GPS (Global Positioning System) or China's Beidou system.
[0080] The power supply 309 is used to power various components in the terminal. The power supply 309 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 309 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0081] Those skilled in the art will understand that Figure 5The structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0082] Embodiment 4
[0083] In an exemplary embodiment, a computer-readable storage medium is also provided, on which a computer program is stored. When the program is executed by a processor, a method for sending a vehicle control message of a vehicle-mounted intelligent terminal as provided in all the inventive embodiments of the present application is implemented.
[0084] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0085] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0086] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0087] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0088] Embodiment 5
[0089] In an exemplary embodiment, an application product is also provided, including one or more instructions, which can be executed by the processor 301 of the above-mentioned device to complete the above-mentioned method for sending a vehicle control message of a vehicle-mounted intelligent terminal.
[0090] Although the embodiments of the present invention have been disclosed above, they are not limited to the applications listed in the specification and implementation mode. It can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily realized. Therefore, without departing from the general concept defined by the claims and equivalent scope, the present invention is not limited to the specific details and the illustrations shown and described here.
Claims
1. A method for sending vehicle control messages of a vehicle-mounted intelligent terminal, characterized in that: The following steps are involved: Step 1: Pass in identity information through the proxy module; Step 2: The proxy module encrypts the proxy module identity information according to the secret key and applies for a gateway; Step 3: The gateway module decrypts the identity information and verifies the legitimacy of the data. If it is legal, the gateway is assigned and the unique identification of the gateway is returned. At this time, the proxy module holds the unique identification of the gateway. Step 4: Send vehicle control instructions through the proxy module; Step 5: Encrypt the vehicle control command; Step 6: The gateway module decrypts the instruction and verifies the legitimacy of the gateway, identity information, message information and timestamp; Step 7: Find the corresponding gateway and perform a reverse query on the proxy module to verify whether the information is issued by this application; Step 8: After verification, the vehicle control information is correctly issued.
2. A method for sending vehicle control messages of a vehicle-mounted intelligent terminal according to claim 1, characterized in that: In the step five, the encrypted information includes the gateway unique identifier, identity information, message information and timestamp.
3. The method for sending vehicle control messages of a vehicle-mounted intelligent terminal according to claim 1, characterized in that: In step six, the gateway module verifies the legitimacy of the gateway, identity information, message information and timestamp.
4. The method for sending vehicle control messages of a vehicle-mounted intelligent terminal according to claim 1, characterized in that: In step six, after successful verification, a gateway is assigned and a unique identifier is generated and cached internally.
5. The method for sending vehicle control messages of a vehicle-mounted intelligent terminal according to claim 1, characterized in that: The step seven is to find the gateway by parsing the unique identifier of the gateway.
6. A device for sending vehicle control messages of a vehicle-mounted intelligent terminal, characterized in that: include: The module for inputting identity information is used to input identity information through the proxy module; The gateway application module is used by the management module to encrypt the identity information of the proxy module according to the secret key and apply for the gateway; The verification module is used by the gateway module to decrypt the identity information and verify the legitimacy of the data. If it is legal, the gateway is assigned and the unique identification of the gateway is returned. At this time, the unique identification of the gateway is held by the proxy module; The command issuing module is used to issue vehicle control commands through the proxy module; Command encryption module, used to encrypt vehicle control commands; The instruction decryption module is used by the gateway module to decrypt instructions and verify the legitimacy of the gateway, identity information, message information and timestamp; The query module is used to find the corresponding gateway and perform a reverse query on the proxy module to verify whether the information is issued by this application; The vehicle control information sending module is used to correctly send the vehicle control information after verification.
7. A terminal, characterized in that: include: one or more processors; a memory for storing the one or more processor-executable instructions; Wherein, the one or more processors are configured to: Execute a method for sending a vehicle control message of an in-vehicle intelligent terminal as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to execute the method for sending vehicle control messages of a vehicle-mounted intelligent terminal as described in any one of claims 1 to 5.