Raster vehicle data encryption method, apparatus and device, and medium
Through the rasterized encryption method, the raster information of the vehicle data is determined using the pre-set raster map and the corresponding encryption key is obtained to encrypt the vehicle data, which solves the problem of using a set of keys for all data in the prior art. The encryption insecurity issue improves data security and storage efficiency.
Patent Information
- Application Number
- CN202411363283.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-07
AI Technical Summary
In the prior art, all data is encrypted using a set of keys, which makes encrypted data unsafe and all data will be affected when the key is leaked.
The raster information corresponding to the vehicle data is determined through the pre-set raster map, and the vehicle data is encrypted based on the raster information to realize rasterized encryption.
Improve the security of vehicle data, avoid the impact of key leakage on all data, and realize regionalized classification and secure storage of data.
Smart Images

Figure CN119272301A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle data encryption, and in particular to a rasterized vehicle data encryption method, device, equipment and medium. Background Art
[0002] In the prior art, current OEMs encrypt or desensitize the collected data, and then store the data in the vehicle or transmit it outside the vehicle. If encryption is used, the usual method is to encrypt all data with a unified key.
[0003] All data is encrypted with a set of keys. If the key is leaked, all data will be affected. Summary of the invention
[0004] The present invention provides a gridded vehicle data encryption method, device, equipment and medium to solve the problem in the prior art that all data are encrypted using a set of keys, resulting in insecurity of the encrypted data.
[0005] In a first aspect, an embodiment of the present invention provides a rasterized vehicle data encryption method, comprising:
[0006] Get vehicle data;
[0007] Determining grid information corresponding to the vehicle data based on a preset grid map;
[0008] An encryption operation is performed on the vehicle data based on the grid information to obtain encrypted vehicle data.
[0009] Optionally, the vehicle data includes at least one of vehicle multimedia data, vehicle location data and driver vehicle operation data.
[0010] Optionally, determining grid information corresponding to the vehicle data based on a preset grid map includes:
[0011] Get the preset grid map;
[0012] Based on the vehicle position data, a grid corresponding to the vehicle position data is queried from a preset grid map to obtain corresponding grid information.
[0013] Optionally, performing an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data includes:
[0014] Acquire a corresponding key slot ID based on the grid information;
[0015] Obtaining a corresponding encryption key based on the key slot ID;
[0016] The vehicle data is encrypted based on the encryption key to obtain encrypted vehicle data.
[0017] Optionally, performing an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data further includes:
[0018] Acquire corresponding interface information based on the grid information;
[0019] Uploading the vehicle data to the cloud based on the interface corresponding to the interface information, so that the cloud calls the corresponding encryption key according to the interface information to encrypt the vehicle data;
[0020] Receive the encrypted vehicle data returned from the cloud.
[0021] Optionally, after performing an encryption operation on the vehicle data based on the grid information to obtain the encrypted vehicle data, the method further includes: securely storing the encrypted vehicle data.
[0022] Optionally, the vehicle location data is represented by longitude and latitude.
[0023] In a second aspect, an embodiment of the present invention provides a rasterized vehicle data encryption device, comprising:
[0024] An acquisition module, used to acquire vehicle data;
[0025] A determination module, used to determine grid information corresponding to the vehicle data based on a preset grid map;
[0026] The encryption module is used to perform an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data.
[0027] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:
[0028] at least one processor; and
[0029] a memory communicatively connected to the at least one processor; wherein,
[0030] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the rasterized vehicle data encryption method described in any embodiment of the present invention.
[0031] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the rasterized vehicle data encryption method described in any embodiment of the present invention when executed.
[0032] The technical solution of the embodiment of the present invention obtains vehicle data; determines the grid information corresponding to the vehicle data based on a preset grid map; performs encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data; solves the problem in the prior art that all data are encrypted using a set of keys, resulting in insecure encrypted data. The present invention determines the grid information corresponding to the vehicle data through a preset grid map, which can facilitate the storage and regional classification of vehicle data; performs encryption operation on the vehicle data through grid information, uses different encryption keys for different grids, and then obtains grid-encrypted vehicle data, effectively improving the security of vehicle data.
[0033] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 A flowchart of a rasterized vehicle data encryption method provided in Embodiment 1 of the present invention;
[0036] Figure 2 A flowchart of a rasterized vehicle data encryption method provided in Embodiment 2 of the present invention;
[0037] Figure 3 A timing diagram of a rasterized vehicle data encryption method provided in Embodiment 2 of the present invention;
[0038] Figure 4 A schematic diagram of the structure of a rasterized vehicle data encryption device provided in Embodiment 3 of the present invention;
[0039] Figure 5 A schematic diagram of the structure of an electronic device that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0041] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0042] Embodiment 1
[0043] Figure 1 This is a flowchart of a rasterized vehicle data encryption method provided in the first embodiment of the present invention. This embodiment is applicable to the case of encrypting vehicle data. The method can be executed by a rasterized vehicle data encryption device. The rasterized vehicle data encryption device can be implemented in the form of hardware and / or software. The rasterized vehicle data encryption device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0044] S110: Acquire vehicle data.
[0045] Among them, vehicle data may refer to vehicle-related data, such as audio and video data inside and outside the vehicle, vehicle location data, driver's operating data of driving the vehicle, etc.
[0046] Specifically, the audio and video data inside and outside the vehicle can be obtained in real time through sensors installed on the vehicle, such as cameras, ultrasonic radars, millimeter-wave radars, lidars, etc. The vehicle's location data, driver's vehicle operation data, etc. can also be collected through the vehicle network bus, such as the Controller Area Network (CAN), Ethernet, etc.
[0047] In this embodiment, the audio and video data inside and outside the vehicle can be acquired in real time through sensors installed on the vehicle, and the driver's vehicle operation data, location data, etc. can also be collected in real time through the vehicle CAN bus, etc.
[0048] S120: Determine grid information corresponding to the vehicle data based on a preset grid map.
[0049] Among them, the grid map can refer to a grid-based map representation method, which can be understood as dividing the map area into multiple small location areas, each of which is called a grid; each grid is provided with corresponding grid information, such as a grid name, etc. For example, the grid names corresponding to different grids can be set as administrative areas, key sensitive areas, etc.
[0050] Specifically, the grid map may be pre-set and stored in a vehicle electronic control unit (ECU), or the grid map may be pre-set and stored in a cloud.
[0051] In this embodiment, the grid corresponding to the vehicle data can be queried from the grid map preset in the vehicle ECU, and the grid name corresponding to the grid can be obtained; or the cloud can be connected to query the grid corresponding to the vehicle data from the grid map preset in the cloud, and the grid information corresponding to the grid can be obtained.
[0052] S130. Perform an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data.
[0053] Specifically, different grids can use different keys. By presetting a one-to-one correspondence between grid information and keys of different grids, the encryption key corresponding to the grid can be determined according to the grid information of the grid. For example, the corresponding encryption key can be determined according to the grid name; the encryption operation is performed on the vehicle data corresponding to the grid according to the determined encryption key to obtain the encrypted vehicle data. For example, an encryption algorithm can be called to encrypt the vehicle data to obtain the encrypted vehicle data; or a cloud encryption interface can be called to encrypt the vehicle data to obtain the encrypted vehicle data.
[0054] In this embodiment, by acquiring vehicle data, the grid corresponding to the vehicle data is determined based on a preset grid map, and then the corresponding grid information is obtained; based on the grid information, the corresponding encryption key is determined, and the vehicle data is encrypted according to the determined encryption key to obtain the encrypted vehicle data; this solves the problem in the prior art that all data are encrypted using a set of keys, resulting in insecure encrypted data. The present invention determines the grid and grid information corresponding to the vehicle data through a preset grid map, which can facilitate the storage and regional classification of vehicle data; the corresponding encryption key is determined through the grid information to perform encryption operations on the vehicle data, and different grids use different encryption keys, so that rasterized encryption of the vehicle data can be achieved, effectively improving the security of the vehicle data.
[0055] Optionally, the vehicle data includes at least one of vehicle multimedia data, vehicle location data and driver vehicle operation data.
[0056] Among them, vehicle multimedia data can refer to the audio and video data inside and outside the vehicle; vehicle location data can be represented by the longitude and latitude data of the vehicle, which can be specifically understood as representing the vehicle location data by two coordinates of longitude and latitude. Driver vehicle operation data can refer to the speed and acceleration of the driver driving the vehicle.
[0057] In this embodiment, the audio and video data inside and outside the vehicle can be acquired in real time through sensors installed on the vehicle, such as cameras, radars, etc., and the vehicle's location data, driver's vehicle operation data, etc. can be acquired in real time through the vehicle network bus, such as CAN, Ethernet, etc.
[0058] Optionally, determining grid information corresponding to the vehicle data based on a preset grid map includes:
[0059] Get the preset grid map;
[0060] Based on the vehicle position data, a grid corresponding to the vehicle position data is queried from a preset grid map to obtain corresponding grid information.
[0061] Specifically, a pre-set grid map can be obtained from the vehicle ECU or the cloud. According to the vehicle location data, i.e., the vehicle latitude and longitude coordinates, the pre-set grid map is used to query which grid area the vehicle is located in; and then the grid information corresponding to the grid, such as the grid name, is obtained.
[0062] In this embodiment, by acquiring vehicle data, based on the vehicle position data in the vehicle data, it is queried from the acquired pre-set grid map which grid the vehicle is located in, and then the grid information corresponding to the grid is obtained; by confirming the grid information of the acquired vehicle data, the storage and regional classification of the vehicle data can be facilitated.
[0063] Embodiment 2
[0064] Figure 2 This is a flowchart of a gridded vehicle data encryption method provided in the second embodiment of the present invention. The technical solution of this embodiment is further refined on the basis of the above embodiment. Figure 2 As shown, the method includes:
[0065] S210: Acquire vehicle data.
[0066] S220: Determine grid information corresponding to the vehicle data based on a preset grid map.
[0067] If the key is pre-set in the vehicle security encryption module (Trusted Execution Environment, TEE), execute S230-S250.
[0068] S230. Obtain a corresponding key slot ID based on the grid information.
[0069] The key slot ID may refer to a unique identifier of a stored key slot, and each key slot has a unique ID. Specifically, if the key is pre-set in the vehicle security encryption module TEE, the slot ID of the key corresponding to the grid information may be determined from the vehicle security encryption module TEE according to the one-to-one correspondence between the preset grid information and the key.
[0070] In this embodiment, the corresponding key slot ID can be obtained from the vehicle security encryption module TEE by presetting the correspondence between the grid information and the key.
[0071] S240. Obtain a corresponding encryption key based on the key slot ID.
[0072] In this embodiment, the corresponding encryption key can be obtained from the vehicle security encryption module TEE according to the key slot ID.
[0073] S250, encrypting the vehicle data based on the encryption key to obtain encrypted vehicle data;
[0074] Specifically, the encryption algorithm is called to encrypt all vehicle data through the obtained encryption key to obtain the encrypted vehicle data. The encryption algorithm may adopt a symmetric encryption algorithm, such as AES algorithm, SM4, etc.
[0075] In this embodiment, by acquiring vehicle data, grid information corresponding to the vehicle data is determined based on a preset grid map. If the key is preset in the vehicle security encryption module TEE in advance, the corresponding key slot ID is obtained based on the grid information, and the corresponding encryption key is obtained based on the key slot ID; the vehicle data is encrypted based on the encryption key to obtain encrypted vehicle data; the encryption operation is performed by determining the corresponding encryption key through the grid information, and then the gridded encrypted vehicle data is obtained, which effectively improves the security of the vehicle data.
[0076] If the key is stored in the cloud in advance, execute S260-S280.
[0077] S260. Acquire corresponding interface information based on the grid information.
[0078] The interface information may refer to the name or identifier of the interface, etc. Specifically, if the key is stored in the cloud in advance, the interface information of the key corresponding to the grid information, ie, the grid name, may be queried from the cloud according to the preset one-to-one correspondence between the grid name and the key.
[0079] In this embodiment, the corresponding relationship between the grid information and the key can be preset to obtain the interface information of the key corresponding to the grid information from the cloud.
[0080] S270. Upload the vehicle data to the cloud based on the interface corresponding to the interface information, so that the cloud calls the corresponding encryption key according to the interface information to encrypt the vehicle data.
[0081] In this embodiment, all vehicle data can be uploaded to the cloud through the interface corresponding to the interface information. After receiving the vehicle information uploaded by the interface, the cloud calls the encryption key corresponding to the interface to encrypt the vehicle data.
[0082] S280. Receive the encrypted vehicle data returned from the cloud.
[0083] Specifically, after the cloud completes encryption of the vehicle data, the encrypted vehicle data is returned through the interface corresponding to the interface information.
[0084] In this embodiment, by acquiring vehicle data, grid information corresponding to the vehicle data is determined based on a pre-set grid map. If the key is stored in the cloud in advance, the corresponding interface information is acquired based on the grid information, and the vehicle data is uploaded to the cloud based on the interface corresponding to the interface information, so that the cloud calls the corresponding encryption key according to the interface information to encrypt the vehicle data, receives the encrypted vehicle data returned by the cloud, determines the corresponding encryption key through the grid information, performs encryption operation, and obtains gridded encrypted vehicle data, thereby effectively improving the security of the vehicle data.
[0085] Optionally, after performing an encryption operation on the vehicle data based on the grid information to obtain the encrypted vehicle data, the method further includes: securely storing the encrypted vehicle data.
[0086] Specifically, the encrypted vehicle data can be securely stored in a storage module inside the vehicle, or sent to a server outside the vehicle or a cloud storage service for secure storage.
[0087] In this embodiment, after obtaining the encrypted vehicle data, the encrypted vehicle data can be securely stored in a storage module inside the vehicle to ensure the privacy and security of the vehicle data; or sent to an external server or cloud storage service of the vehicle for secure storage, which can effectively prevent the data from being tampered with or lost, and facilitate remote access and management of vehicle data by vehicle owners or relevant organizations.
[0088] For example, Figure 3 A timing diagram of a rasterized vehicle data encryption method provided in the second embodiment of the present invention, such as Figure 3 As shown, the process of acquiring vehicle data, determining grid information corresponding to the vehicle data, and performing encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data may be:
[0089] 1. Data collection (i.e., obtaining vehicle data): Through sensors installed on the vehicle, such as cameras, ultrasonic radars, millimeter-wave radars, and lidars; through vehicle buses, such as CAN, Ethernet, etc., real-time collection of internal and external audio and video data (i.e., vehicle multimedia data), vehicle location data, and driver vehicle operation data, etc.
[0090] 2. Sending position data (i.e., vehicle position data): After the vehicle data is collected, a grid position query is performed based on the vehicle position data in the vehicle data to confirm the grid position of the vehicle.
[0091] 3. Grid query based on location data: Based on the vehicle location data, query the grid where the vehicle is located from a pre-set grid map, where the grid map can be pre-set in the vehicle ECU in advance or pre-stored in the cloud.
[0092] 4. Return the grid query result (i.e. grid information): obtain the grid information of the grid where the vehicle is located, such as the grid name, etc.
[0093] 5. Apply for grid key: Determine the corresponding encryption key information based on the grid information, wherein the encryption key information includes the key slot ID or interface information.
[0094] 6. Return the grid encryption key information: If the key is pre-set to the vehicle security encryption module, the encryption key information obtained is the key slot ID; if the key is stored in the cloud in advance, the encryption key information obtained is the interface information.
[0095] 7. Application data encryption (i.e., vehicle data encryption): Determine the corresponding encryption key through the obtained encryption key information, encrypt the vehicle data based on the encryption key, and obtain the encrypted vehicle data.
[0096] 8. Return the encrypted data (i.e. the encrypted vehicle data) and store the encrypted vehicle data securely.
[0097] In this embodiment, by acquiring vehicle data, performing a grid position query based on the vehicle position data in the vehicle data, querying the grid where the vehicle is located from a pre-set grid map, and acquiring the grid information of the grid where the vehicle is located, the storage and regional classification of vehicle data can be facilitated; corresponding encryption key information is determined based on the grid information, and a corresponding encryption key is determined based on the encryption key information obtained, and the vehicle data is encrypted based on the encryption key to obtain encrypted vehicle data; different grids use different encryption keys, which effectively improves the security of vehicle data; the encrypted vehicle data is securely stored, further improving the security of vehicle data.
[0098] Embodiment 3
[0099] Figure 4 This is a schematic diagram of the structure of a grid-based vehicle data encryption device provided in Embodiment 3 of the present invention. Figure 4 As shown, the device comprises:
[0100] An acquisition module 310, for acquiring vehicle data;
[0101] A determination module 320, configured to determine grid information corresponding to the vehicle data based on a preset grid map;
[0102] The encryption module 330 is used to perform an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data.
[0103] Optionally, the vehicle data includes at least one of vehicle multimedia data, vehicle location data and driver vehicle operation data.
[0104] Optionally, the determination module 320 is specifically configured to:
[0105] Get the preset grid map;
[0106] Based on the vehicle position data, a grid corresponding to the vehicle position data is queried from a preset grid map to obtain corresponding grid information.
[0107] Optionally, the encryption module 330 is specifically used for:
[0108] Acquire a corresponding key slot ID based on the grid information;
[0109] Obtaining a corresponding encryption key based on the key slot ID;
[0110] The vehicle data is encrypted based on the encryption key to obtain encrypted vehicle data.
[0111] Optionally, the encryption module 330 is further configured to:
[0112] Acquire corresponding interface information based on the grid information;
[0113] Uploading the vehicle data to the cloud based on the interface corresponding to the interface information, so that the cloud calls the corresponding encryption key according to the interface information to encrypt the vehicle data;
[0114] Receive the encrypted vehicle data returned from the cloud.
[0115] Optionally, the device further comprises:
[0116] The storage module is used to securely store the encrypted vehicle data.
[0117] Optionally, the vehicle location data is represented by longitude and latitude.
[0118] The rasterized vehicle data encryption device provided in the embodiment of the present invention can execute the rasterized vehicle data encryption method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0119] Embodiment 4
[0120] Figure 5A schematic diagram of an electronic device that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0121] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by the at least one processor 11, and the computer program is executed by the at least one processor 11 so that the at least one processor 11 can execute the method provided by the present invention.
[0122] The processor 11 can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 12 or a computer program loaded from a storage unit 18 into a random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0123] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0124] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the rasterized vehicle data encryption method.
[0125] In some embodiments, the rasterized vehicle data encryption method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the rasterized vehicle data encryption method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the rasterized vehicle data encryption method in any other appropriate manner (e.g., by means of firmware).
[0126] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard parts (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0127] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0128] In the context of the present invention, a computer-readable storage medium stores computer instructions, which are used to implement the rasterized vehicle data encryption method provided by the present invention when the processor executes. A computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0129] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD monitor)) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball), through which the user may provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0130] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by digital data communication (e.g., a communication network) in any form or medium. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN), blockchain network, and the Internet.
[0131] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.
[0132] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0133] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A rasterized vehicle data encryption method, characterized in that: include: Get vehicle data; Determining grid information corresponding to the vehicle data based on a preset grid map; An encryption operation is performed on the vehicle data based on the grid information to obtain encrypted vehicle data.
2. The method according to claim 1, characterized in that The vehicle data includes at least one of vehicle multimedia data, vehicle position data, and driver vehicle operation data.
3. The method according to claim 2, characterized in that Determining grid information corresponding to the vehicle data based on a preset grid map includes: Get the preset grid map; Based on the vehicle position data, a grid corresponding to the vehicle position data is queried from a preset grid map to obtain corresponding grid information.
4. The method according to claim 1, characterized in that: Performing an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data includes: Acquire a corresponding key slot ID based on the grid information; Obtaining a corresponding encryption key based on the key slot ID; The vehicle data is encrypted based on the encryption key to obtain encrypted vehicle data.
5. The method according to claim 1, characterized in that Performing an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data further includes: Acquire corresponding interface information based on the grid information; Uploading the vehicle data to the cloud based on the interface corresponding to the interface information, so that the cloud calls the corresponding encryption key according to the interface information to encrypt the vehicle data; Receive the encrypted vehicle data returned from the cloud.
6. The method according to claim 1, characterized in that After performing an encryption operation on the vehicle data based on the grid information to obtain the encrypted vehicle data, the method further includes: securely storing the encrypted vehicle data.
7. The method according to any one of claims 1 to 6, characterized in that: The vehicle position data is represented by longitude and latitude.
8. A rasterized vehicle data encryption device, characterized in that: include: An acquisition module, used to acquire vehicle data; A determination module, used to determine grid information corresponding to the vehicle data based on a preset grid map; The encryption module is used to perform an encryption operation on the vehicle data based on the grid information to obtain encrypted vehicle data.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the rasterized vehicle data encryption method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the rasterized vehicle data encryption method according to any one of claims 1 to 7 when executed.