Internet of Vehicles data processing method, system, terminal and storage medium

By desensitizing vehicle information and matrix calculation to generate a key matrix, the Internet of Vehicle data is encrypted, which solves the problem of poor security in Internet of Vehicle data transmission and achieves higher data security.

CN118590235BActive Publication Date: 2024-11-12XIAMEN MAGNETIC NORTH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411067964.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-12
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

During the existing data processing of Internet of Vehicles, data transmission is poor and there is a risk of sensitive information leakage.

Method used

By desensitizing vehicle information, generating position numbers and matrix elements, calculating the key matrix and encrypting the Internet of Vehicle data, ensuring the security of data transmission.

Benefits of technology

It effectively prevents the leakage of user sensitive information, improves the security of data transmission, and changes in the key matrix with vehicle position and vehicle speed, enhancing the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590235B_ABST
    Figure CN118590235B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, terminal and storage medium for processing vehicle network data, the method comprising: numbering traveling vehicles to obtain position numbers; generating a first matrix element according to position relative distance; generating a second matrix element according to vehicle speed, generating a first vehicle matrix according to the position number, the first matrix element and the second matrix element; generating a third matrix element according to the destination relative distance; generating a fourth matrix element according to the vehicle color, generating a second vehicle matrix according to the position number, the third matrix element and the fourth matrix element; performing matrix operations on the first vehicle matrix and the second vehicle matrix according to an operation formula to obtain a key matrix, and encrypting vehicle network data according to the key matrix. In an embodiment of the present invention, the key matrix changes with the vehicle position, position relative distance, vehicle speed, destination relative distance and number of vehicles traveling of each traveling vehicle on the target road section, thereby improving the security of vehicle network data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle networking, and in particular to a vehicle networking data processing method, system, terminal and storage medium. Background Art

[0002] With the development of computer, data communication, intelligent sensor and other technologies and the ubiquitous use of mobile intelligent terminals, technologies such as big data, cloud computing, Internet of Things, social network and artificial intelligence are further integrated into the entire ground traffic management system such as transportation, service recommendation and vehicle management. The Internet of Vehicles is an important part of the Internet of Things. It effectively combines vehicles, roads, people and other buildings through the information center, and realizes the extraction and effective use of attribute information and static / dynamic information of all vehicles (i.e. intelligent vehicles) on the information network platform. As a computable, controllable, manageable, guideable and trustworthy open and integrated network system that coordinates multiple people, multiple vehicles, multiple roadside units and an open environment, the Internet of Vehicles provides new ideas and approaches for the intelligent management and control of vehicles.

[0003] In the existing Internet of Vehicles data processing process, symmetric encryption is generally used to encrypt Internet of Vehicles data, resulting in poor security of Internet of Vehicles data transmission. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a method, system, terminal and storage medium for processing Internet of Vehicles data, so as to solve the problem of poor data transmission security in the Internet of Vehicles data processing process in the prior art.

[0005] The embodiment of the present invention is implemented as follows: a method for processing vehicle network data, the method comprising:

[0006] Obtaining vehicle information of each vehicle traveling on the target road section, and performing desensitization processing on the vehicle information to obtain Internet of Vehicles data;

[0007] Respectively obtaining the vehicle position of each traveling vehicle, and numbering each traveling vehicle according to the vehicle position to obtain a position number;

[0008] Determining the relative distances between the moving vehicles according to the vehicle positions, and generating a first matrix element according to the relative distances;

[0009] generating a second matrix element according to the speed of each traveling vehicle, and generating a first vehicle matrix according to the position number, the first matrix element and the second matrix element;

[0010] The destinations of the traveling vehicles are obtained respectively, and a third matrix element is generated according to the relative distances between the destinations;

[0011] generating a fourth matrix element according to the vehicle color of each traveling vehicle, and generating a second vehicle matrix according to the position number, the third matrix element and the fourth matrix element;

[0012] Obtaining the number of vehicles traveling on the target road section, and determining a calculation formula according to the number of vehicles traveling;

[0013] A matrix operation is performed on the first vehicle matrix and the second vehicle matrix according to the operation formula to obtain a key matrix, and data encryption is performed on the Internet of Vehicles data according to the key matrix.

[0014] Preferably, desensitizing the vehicle information to obtain Internet of Vehicles data includes:

[0015] Obtaining a desensitization parameter, and performing data desensitization on the vehicle information according to the desensitization parameter to obtain desensitized information;

[0016] Obtaining the vehicle identification of each traveling vehicle respectively, and generating a group signature according to the vehicle identification;

[0017] The desensitized information is encrypted according to the group signature to obtain desensitized data, and the vehicle information after desensitization is combined to obtain the Internet of Vehicles data.

[0018] Preferably, before numbering each traveling vehicle according to the vehicle position and obtaining the position number, the method further includes:

[0019] Obtaining the vehicle identification of each traveling vehicle respectively, and determining the safety level according to the vehicle identification;

[0020] If the safety level of any of the moving vehicles is greater than the level threshold, the moving vehicle is set as a vehicle to be hidden, and a first associated area and a second associated area are determined according to the vehicle position of the vehicle to be hidden;

[0021] Setting the vehicles traveling in the first associated area and the second associated area as first hidden associated vehicles and second hidden associated vehicles respectively;

[0022] A target position is determined according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle, and the target position is set as the vehicle position of the vehicle to be hidden.

[0023] Preferably, the formula used to determine the target position according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle includes:

[0024] When the total number of vehicles traveling in the first associated area and the second associated area is an odd number:

[0025]

[0026] When the total number of vehicles traveling in the first associated area and the second associated area is an even number:

[0027]

[0028] Among them, A is the horizontal coordinate of the target position, B is the vertical coordinate of the target position, x is the number of vehicles traveling in the first associated area, y is the number of vehicles traveling in the second associated area, ax is the horizontal coordinate of the x-th vehicle traveling in the first associated area, ay is the horizontal coordinate of the y-th vehicle traveling in the second associated area, bx is the vertical coordinate of the x-th vehicle traveling in the first associated area, and by is the vertical coordinate of the y-th vehicle traveling in the second associated area.

[0029] Preferably, after obtaining the number of vehicles traveling on the target road section and determining the calculation formula according to the number of vehicles traveling, the method further includes:

[0030] Obtaining the body angle and front wheel angle of each traveling vehicle at the target time, and respectively obtaining the road test distance and road test angle between each traveling vehicle and the road test equipment in the target road section;

[0031] generating a third vehicle matrix according to the vehicle body angle, the front wheel angle, the road test distance and the road test angle, and performing matrix operations on the first vehicle matrix, the second vehicle matrix and the third vehicle matrix according to the operation formula to obtain the key matrix;

[0032] The Internet of Vehicles data is encrypted according to the key matrix.

[0033] Another object of an embodiment of the present invention is to provide a vehicle networking data processing system, the system comprising:

[0034] A desensitization processing module is used to obtain vehicle information of each vehicle traveling on the target road section, and perform desensitization processing on the vehicle information to obtain Internet of Vehicles data;

[0035] The vehicle numbering module is used to obtain the vehicle position of each traveling vehicle respectively, and number each traveling vehicle according to the vehicle position to obtain a position number;

[0036] A matrix generation module, used to determine the relative distances between the moving vehicles according to the vehicle positions, and generate a first matrix element according to the relative distances;

[0037] generating a second matrix element according to the speed of each traveling vehicle, and generating a first vehicle matrix according to the position number, the first matrix element and the second matrix element;

[0038] The destinations of the traveling vehicles are obtained respectively, and a third matrix element is generated according to the relative distances between the destinations;

[0039] generating a fourth matrix element according to the vehicle color of each traveling vehicle, and generating a second vehicle matrix according to the position number, the third matrix element and the fourth matrix element;

[0040] A formula determination module, used to obtain the number of vehicles traveling on the target road section and determine the calculation formula according to the number of vehicles traveling;

[0041] A data encryption module is used to perform matrix operations on the first vehicle matrix and the second vehicle matrix according to the operation formula to obtain a key matrix, and encrypt the Internet of Vehicles data according to the key matrix.

[0042] In the embodiment of the present invention, by desensitizing vehicle information, leakage of user sensitive information is effectively prevented, and the security of user sensitive information is improved. The relative distance between each traveling vehicle can be effectively determined through the vehicle position, and the first matrix element can be effectively generated based on the relative distance. The second matrix element can be effectively generated through the speed of each traveling vehicle. The first vehicle matrix can be effectively generated based on the position number, the first matrix element and the second matrix element. The second vehicle matrix can be effectively generated based on the position number, the third matrix element and the fourth matrix element. By obtaining the number of vehicles traveling in the target section, the operation formula can be effectively determined based on the number of vehicles traveling. Matrix operations are performed on the first vehicle matrix and the second vehicle matrix based on the operation formula to effectively obtain a key matrix, and data encryption is performed on the Internet of Vehicles data based on the key matrix. In this embodiment, the key matrix changes with the vehicle position, relative distance, speed, destination relative distance and number of vehicles traveling of each traveling vehicle on the target section, thereby improving the security of the key matrix and further improving the security of Internet of Vehicles data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 is a flow chart of a method for processing Internet of Vehicles data provided by a first embodiment of the present invention;

[0044] Figure 2 is a schematic diagram of the structure of a vehicle networking data processing system provided by a second embodiment of the present invention;

[0045] Figure 3 It is a schematic diagram of the structure of a terminal device provided in the third embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0047] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.

[0048] Embodiment 1

[0049] See also Figure 1 , is a flow chart of a method for processing vehicle network data provided by a first embodiment of the present invention. The method for processing vehicle network data can be applied to any device or system. The method for processing vehicle network data includes the following steps:

[0050] Step S10, obtaining vehicle information of each vehicle traveling on the target road section, and performing desensitization processing on the vehicle information to obtain Internet of Vehicles data;

[0051] Among them, vehicle information includes information such as vehicle status, driving behavior and road environment. In this step, by desensitizing the vehicle information, the leakage of user sensitive information is effectively prevented and the security of user sensitive information is improved. The user sensitive information includes collected user voice, user facial image and other information.

[0052] Optionally, desensitizing the vehicle information to obtain Internet of Vehicles data includes:

[0053] Obtaining desensitization parameters, and performing data desensitization on the vehicle information according to the desensitization parameters to obtain desensitized information; wherein the desensitization parameters can be set according to requirements, for example, the desensitization parameters can be set to parameters such as user facial images, user pupil images, user voices, etc., and performing data desensitization on the vehicle information based on the desensitization parameters to obtain desensitized information in the vehicle information;

[0054] The vehicle identification of each traveling vehicle is obtained respectively, and a group signature is generated according to the vehicle identification; wherein the vehicle identification can be set as required, for example, the vehicle identification can be set to a frame number or a license plate number, etc. In this step, the group signature can be obtained by obtaining the last two digits of each vehicle identification and randomly combining the obtained numbers;

[0055] The desensitized information is encrypted according to the group signature to obtain desensitized data, and the vehicle information after desensitization is combined to obtain the Internet of Vehicles data; wherein, the desensitized information is encrypted through the group signature, which effectively prevents the leakage of the desensitized information and improves the security of user sensitive information.

[0056] Step S20, respectively obtaining the vehicle position of each traveling vehicle, and numbering each traveling vehicle according to the vehicle position to obtain a position number;

[0057] The device position of the road test device on the target road section is obtained, and the device position of the road test device is used as the origin, and each traveling vehicle is sorted from left to right and from top to bottom according to the vehicle position, and each traveling vehicle is numbered according to the vehicle sorting result to obtain a position number.

[0058] Optionally, before numbering each traveling vehicle according to the vehicle position and obtaining the position number, the method further includes:

[0059] The vehicle identification of each traveling vehicle is obtained respectively, and the safety level is determined according to the vehicle identification; wherein the vehicle identification can be set according to the demand, for example, the vehicle identification can be set to the license plate number, the frame number or the identity card number of the owner, and the vehicle identification is matched with the level query table to obtain the safety level, and the level query table stores the corresponding relationship between different vehicle identifications and corresponding safety levels;

[0060] If the safety level of any of the moving vehicles is greater than the level threshold, the moving vehicle is set as a vehicle to be hidden, and a first associated area and a second associated area are determined according to the vehicle position of the vehicle to be hidden; wherein the level threshold can be set according to demand, and if the safety level of any of the moving vehicles is greater than the level threshold, it is determined that the position of the moving vehicle needs to be hidden to prevent leakage of information such as the position and driving route of the moving vehicle, thereby improving the security of vehicle network data; preferably, in this step, with the vehicle position of the vehicle to be hidden as the center, the associated areas are drawn with the first preset distance and the second preset distance as the radius respectively, to obtain the first area and the second area, the first area is set as the first associated area, and the first associated area is deleted in the second area to obtain the second associated area, the first preset distance and the second preset distance can be set according to demand, and the first preset distance is smaller than the second preset distance;

[0061] Setting the vehicles traveling in the first associated area and the second associated area as first hidden associated vehicles and second hidden associated vehicles respectively;

[0062] A target position is determined according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle, and the target position is set as the vehicle position of the vehicle to be hidden.

[0063] Furthermore, the formula used to determine the target position according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle includes:

[0064] When the total number of vehicles traveling in the first associated area and the second associated area is an odd number:

[0065]

[0066] When the total number of vehicles traveling in the first associated area and the second associated area is an even number:

[0067]

[0068] Among them, A is the horizontal coordinate of the target position, B is the vertical coordinate of the target position, x is the number of vehicles traveling in the first associated area, y is the number of vehicles traveling in the second associated area, ax is the horizontal coordinate of the x-th vehicle traveling in the first associated area, ay is the horizontal coordinate of the y-th vehicle traveling in the second associated area, bx is the vertical coordinate of the x-th vehicle traveling in the first associated area, and by is the vertical coordinate of the y-th vehicle traveling in the second associated area.

[0069] Step S30, determining the relative distances between the moving vehicles according to the vehicle positions, and generating a first matrix element according to the relative distances;

[0070] Optionally, generating a first matrix element according to the relative distance of the positions includes:

[0071] A position distance vector is generated according to the relative position distance, and a vector sum between each running vehicle and different running vehicles on the target road section is calculated according to the position distance vector to obtain a total distance vector;

[0072] The horizontal vector parameter and the vertical vector parameter in the total distance vector are set to the first sub-element and the second sub-element respectively, wherein the first matrix element includes the first sub-element and the second sub-element.

[0073] Step S40, generating a second matrix element according to the speed of each traveling vehicle, and generating a first vehicle matrix according to the position number, the first matrix element and the second matrix element;

[0074] The speed of each running vehicle is set as the second matrix element, and the first matrix elements and the second matrix elements corresponding to each running vehicle are sorted according to the position number to obtain the first vehicle matrix.

[0075] Step S50, respectively obtaining the destinations of the traveling vehicles, and generating third matrix elements according to the relative distances between the destinations;

[0076] Wherein, a destination distance vector is generated according to the destination relative distance, and the vector sum between each destination and different destinations is calculated according to the destination distance vector to obtain a total destination vector;

[0077] The horizontal vector parameter and the vertical vector parameter in the overall destination vector are set to the third sub-element and the fourth sub-element respectively, wherein the third matrix element includes the third sub-element and the fourth sub-element.

[0078] Step S60, generating a fourth matrix element according to the vehicle color of each traveling vehicle, and generating a second vehicle matrix according to the position number, the third matrix element and the fourth matrix element;

[0079] Among them, the vehicle color of each moving vehicle is matched with the element query table to obtain the fourth matrix element. The element query table stores the correspondence between different vehicle colors and the corresponding fourth matrix elements. The third matrix elements and the fourth matrix elements corresponding to each moving vehicle are sorted according to the position number to obtain the second vehicle matrix.

[0080] Step S70, obtaining the number of vehicles traveling on the target road section, and determining a calculation formula according to the number of vehicles traveling;

[0081] The number of vehicles traveled is matched with a formula query table to obtain a calculation formula, and the formula query table stores the corresponding relationship between different numbers of vehicles traveled and corresponding calculation formulas.

[0082] Optionally, after obtaining the number of vehicles traveling on the target road section and determining the calculation formula according to the number of vehicles traveling, the method further includes:

[0083] Obtain the body angle and front wheel angle of each traveling vehicle at the target time, and respectively obtain the road test distance and road test angle between each traveling vehicle and the road test equipment in the target road section; wherein the target time can be set according to demand, for example, the target time can be set to the time point for obtaining the vehicle information of each traveling vehicle, and the road test angle is the angle between the connecting line between the traveling vehicle and the road test equipment and the horizontal direction;

[0084] A third vehicle matrix is ​​generated according to the vehicle body angle, the front wheel angle, the drive test distance and the drive test angle, and a matrix operation is performed on the first vehicle matrix, the second vehicle matrix and the third vehicle matrix according to the operation formula to obtain the key matrix; wherein the vehicle body angle, the front wheel angle, the drive test distance and the drive test angle corresponding to each traveling vehicle are sorted in matrix according to the position number to obtain the third vehicle matrix;

[0085] The Internet of Vehicles data is encrypted according to the key matrix.

[0086] Step S80, performing matrix operation on the first vehicle matrix and the second vehicle matrix according to the operation formula to obtain a key matrix, and encrypting the Internet of Vehicles data according to the key matrix.

[0087] In this embodiment, by desensitizing the vehicle information, the leakage of user sensitive information is effectively prevented, and the security of user sensitive information is improved. The relative distance between each traveling vehicle can be effectively determined through the vehicle position, and the first matrix element can be effectively generated based on the relative distance. The second matrix element can be effectively generated through the speed of each traveling vehicle. The first vehicle matrix can be effectively generated based on the position number, the first matrix element and the second matrix element. The second vehicle matrix can be effectively generated based on the position number, the third matrix element and the fourth matrix element. By obtaining the number of vehicles traveling in the target section, the operation formula can be effectively determined based on the number of vehicles traveling. Matrix operations are performed on the first vehicle matrix and the second vehicle matrix based on the operation formula to effectively obtain the key matrix, and the Internet of Vehicles data is encrypted based on the key matrix. In this embodiment, the key matrix changes with the vehicle position, relative distance, speed, destination relative distance and number of vehicles traveling on the target section, thereby improving the security of the key matrix and further improving the security of Internet of Vehicles data transmission.

[0088] Embodiment 2

[0089] See also Figure 2 , is a schematic diagram of the structure of a vehicle networking data processing system 100 provided in a second embodiment of the present invention, including:

[0090] The desensitization processing module 10 is used to obtain the vehicle information of each vehicle traveling on the target road section, and perform desensitization processing on the vehicle information to obtain Internet of Vehicles data.

[0091] Optionally, the desensitization processing module 10 is further used to: obtain a desensitization parameter, and perform data desensitization on the vehicle information according to the desensitization parameter to obtain desensitized information;

[0092] Obtaining the vehicle identification of each traveling vehicle respectively, and generating a group signature according to the vehicle identification;

[0093] The desensitized information is encrypted according to the group signature to obtain desensitized data, and the vehicle information after desensitization is combined to obtain the Internet of Vehicles data.

[0094] The vehicle numbering module 11 is used to respectively obtain the vehicle position of each traveling vehicle, and number each traveling vehicle according to the vehicle position to obtain a position number.

[0095] Optionally, the vehicle number module 11 is further used to: respectively obtain the vehicle identification of each traveling vehicle, and determine the safety level according to the vehicle identification;

[0096] If the safety level of any of the moving vehicles is greater than the level threshold, the moving vehicle is set as a vehicle to be hidden, and a first associated area and a second associated area are determined according to the vehicle position of the vehicle to be hidden;

[0097] Setting the vehicles traveling in the first associated area and the second associated area as first hidden associated vehicles and second hidden associated vehicles respectively;

[0098] A target position is determined according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle, and the target position is set as the vehicle position of the vehicle to be hidden.

[0099] Furthermore, the formula used to determine the target position according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle includes:

[0100] When the total number of vehicles traveling in the first associated area and the second associated area is an odd number:

[0101]

[0102] When the total number of vehicles traveling in the first associated area and the second associated area is an even number:

[0103]

[0104] Among them, A is the horizontal coordinate of the target position, B is the vertical coordinate of the target position, x is the number of vehicles traveling in the first associated area, y is the number of vehicles traveling in the second associated area, ax is the horizontal coordinate of the x-th vehicle traveling in the first associated area, ay is the horizontal coordinate of the y-th vehicle traveling in the second associated area, bx is the vertical coordinate of the x-th vehicle traveling in the first associated area, and by is the vertical coordinate of the y-th vehicle traveling in the second associated area.

[0105] A matrix generating module 12, for determining the relative distances between the moving vehicles according to the vehicle positions, and generating a first matrix element according to the relative distances;

[0106] generating a second matrix element according to the speed of each traveling vehicle, and generating a first vehicle matrix according to the position number, the first matrix element and the second matrix element;

[0107] The destinations of the traveling vehicles are obtained respectively, and a third matrix element is generated according to the relative distances between the destinations;

[0108] A fourth matrix element is generated according to the vehicle color of each traveling vehicle, and a second vehicle matrix is ​​generated according to the position number, the third matrix element, and the fourth matrix element.

[0109] The formula determination module 13 is used to obtain the number of vehicles traveling in the target road section and determine the calculation formula according to the number of vehicles traveling.

[0110] The data encryption module 14 is used to perform matrix operations on the first vehicle matrix and the second vehicle matrix according to the operation formula to obtain a key matrix, and encrypt the Internet of Vehicles data according to the key matrix.

[0111] The data encryption module 14 is also used to: obtain the body angle and front wheel angle of each traveling vehicle at the target time, and respectively obtain the road test distance and road test angle between each traveling vehicle and the road test equipment in the target road section;

[0112] generating a third vehicle matrix according to the vehicle body angle, the front wheel angle, the road test distance and the road test angle, and performing matrix operations on the first vehicle matrix, the second vehicle matrix and the third vehicle matrix according to the operation formula to obtain the key matrix;

[0113] The Internet of Vehicles data is encrypted according to the key matrix.

[0114] In this embodiment, by desensitizing the vehicle information, the leakage of user sensitive information is effectively prevented, and the security of user sensitive information is improved. The relative distance between each traveling vehicle can be effectively determined through the vehicle position, and the first matrix element can be effectively generated based on the relative distance. The second matrix element can be effectively generated through the speed of each traveling vehicle. The first vehicle matrix can be effectively generated based on the position number, the first matrix element and the second matrix element. The second vehicle matrix can be effectively generated based on the position number, the third matrix element and the fourth matrix element. By obtaining the number of vehicles traveling in the target section, the operation formula can be effectively determined based on the number of vehicles traveling. Matrix operations are performed on the first vehicle matrix and the second vehicle matrix based on the operation formula to effectively obtain the key matrix, and the Internet of Vehicles data is encrypted based on the key matrix. In this embodiment, the key matrix changes with the vehicle position, relative distance, speed, destination relative distance and number of vehicles traveling on the target section, thereby improving the security of the key matrix and further improving the security of Internet of Vehicles data transmission.

[0115] Embodiment 3

[0116] Figure 3 2 is a block diagram of a terminal device 2 provided in the third embodiment of the present application. Figure 3 As shown, the terminal device 2 of this embodiment includes: a processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on the processor 20, such as a program of the vehicle networking data processing method. When the processor 20 executes the computer program 22, the steps in each embodiment of the vehicle networking data processing method described above are implemented.

[0117] Exemplarily, the computer program 22 may be divided into one or more modules, which are stored in the memory 21 and executed by the processor 20 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 22 in the terminal device 2. The terminal device may include, but is not limited to, a processor 20 and a memory 21.

[0118] The processor 20 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0119] The memory 21 may be an internal storage unit of the terminal device 2, such as a hard disk or memory of the terminal device 2. The memory 21 may also be an external storage device of the terminal device 2, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 2. Further, the memory 21 may also include both an internal storage unit and an external storage device of the terminal device 2. The memory 21 is used to store the computer program and other programs and data required by the terminal device. The memory 21 may also be used to temporarily store data that has been output or is to be output.

[0120] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional unit.

[0121] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium can be non-volatile or volatile. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in computer-readable storage media can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, computer-readable storage media do not include electrical carrier signals and telecommunication signals.

[0122] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for processing Internet of Vehicles data, characterized in that: The method comprises: Obtaining vehicle information of each vehicle traveling on the target road section, and performing desensitization processing on the vehicle information to obtain Internet of Vehicles data; Respectively obtaining the vehicle position of each traveling vehicle, and numbering each traveling vehicle according to the vehicle position to obtain a position number; Determining the relative distances between the moving vehicles according to the vehicle positions, and generating a first matrix element according to the relative distances; generating a second matrix element according to the speed of each traveling vehicle, and generating a first vehicle matrix according to the position number, the first matrix element and the second matrix element; The destinations of the traveling vehicles are obtained respectively, and a third matrix element is generated according to the relative distances between the destinations; generating a fourth matrix element according to the vehicle color of each traveling vehicle, and generating a second vehicle matrix according to the position number, the third matrix element and the fourth matrix element; Obtaining the number of vehicles traveling on the target road section, and determining a calculation formula according to the number of vehicles traveling; Performing a matrix operation on the first vehicle matrix and the second vehicle matrix according to the operation formula to obtain a key matrix, and encrypting the Internet of Vehicles data according to the key matrix; The vehicle information is desensitized to obtain Internet of Vehicles data, including: Obtaining a desensitization parameter, and performing data desensitization on the vehicle information according to the desensitization parameter to obtain desensitized information; Obtaining the vehicle identification of each traveling vehicle respectively, and generating a group signature according to the vehicle identification; Encrypting the desensitized information according to the group signature to obtain desensitized data, and combining the desensitized vehicle information to obtain the Internet of Vehicles data; Numbering each traveling vehicle according to the vehicle position, before obtaining the position number, further comprising: Obtaining the vehicle identification of each traveling vehicle respectively, and determining the safety level according to the vehicle identification; If the safety level of any of the moving vehicles is greater than the level threshold, the moving vehicle is set as a vehicle to be hidden, and a first associated area and a second associated area are determined according to the vehicle position of the vehicle to be hidden; Setting the vehicles traveling in the first associated area and the second associated area as first hidden associated vehicles and second hidden associated vehicles respectively; Determining a target position according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle, and setting the target position as the vehicle position of the vehicle to be hidden; The formula used to determine the target position according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle includes: When the total number of vehicles traveling in the first associated area and the second associated area is an odd number: When the total number of vehicles traveling in the first associated area and the second associated area is an even number: Among them, A is the horizontal coordinate of the target position, B is the vertical coordinate of the target position, x is the number of vehicles traveling in the first associated area, y is the number of vehicles traveling in the second associated area, ax is the horizontal coordinate of the x-th vehicle traveling in the first associated area, ay is the horizontal coordinate of the y-th vehicle traveling in the second associated area, bx is the vertical coordinate of the x-th vehicle traveling in the first associated area, and by is the vertical coordinate of the y-th vehicle traveling in the second associated area.

2. The method for processing Internet of Vehicles data according to claim 1, characterized in that: After obtaining the number of vehicles traveling on the target road section and determining the calculation formula according to the number of vehicles traveling, the method further includes: Obtaining the body angle and front wheel angle of each traveling vehicle at the target time, and respectively obtaining the road test distance and road test angle between each traveling vehicle and the road test equipment in the target road section; generating a third vehicle matrix according to the vehicle body angle, the front wheel angle, the drive test distance and the drive test angle, and performing matrix operations on the first vehicle matrix, the second vehicle matrix and the third vehicle matrix according to the operation formula to obtain the key matrix; The Internet of Vehicles data is encrypted according to the key matrix.

3. A vehicle networking data processing system, characterized in that: The system comprises: A desensitization processing module is used to obtain vehicle information of each vehicle traveling on the target road section, and perform desensitization processing on the vehicle information to obtain Internet of Vehicles data; The vehicle numbering module is used to obtain the vehicle position of each traveling vehicle respectively, and number each traveling vehicle according to the vehicle position to obtain a position number; A matrix generation module, used to determine the relative distances between the moving vehicles according to the vehicle positions, and generate a first matrix element according to the relative distances; generating a second matrix element according to the speed of each traveling vehicle, and generating a first vehicle matrix according to the position number, the first matrix element and the second matrix element; The destinations of the traveling vehicles are obtained respectively, and a third matrix element is generated according to the relative distances between the destinations; generating a fourth matrix element according to the vehicle color of each traveling vehicle, and generating a second vehicle matrix according to the position number, the third matrix element and the fourth matrix element; A formula determination module, used to obtain the number of vehicles traveling on the target road section and determine the calculation formula according to the number of vehicles traveling; A data encryption module, used for performing matrix operation on the first vehicle matrix and the second vehicle matrix according to the operation formula to obtain a key matrix, and encrypting the Internet of Vehicles data according to the key matrix; The desensitization processing module is also used for: Obtaining a desensitization parameter, and performing data desensitization on the vehicle information according to the desensitization parameter to obtain desensitized information; Obtaining the vehicle identification of each traveling vehicle respectively, and generating a group signature according to the vehicle identification; Encrypting the desensitized information according to the group signature to obtain desensitized data, and combining the desensitized vehicle information to obtain the Internet of Vehicles data; The vehicle number module is also used for: Obtaining the vehicle identification of each traveling vehicle respectively, and determining the safety level according to the vehicle identification; If the safety level of any of the moving vehicles is greater than the level threshold, the moving vehicle is set as a vehicle to be hidden, and a first associated area and a second associated area are determined according to the vehicle position of the vehicle to be hidden; Setting the vehicles traveling in the first associated area and the second associated area as first hidden associated vehicles and second hidden associated vehicles respectively; Determining a target position according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle, and setting the target position as the vehicle position of the vehicle to be hidden; The formula used to determine the target position according to the vehicle position of the first hidden associated vehicle and the vehicle position of the second hidden associated vehicle includes: When the total number of vehicles traveling in the first associated area and the second associated area is an odd number: When the total number of vehicles traveling in the first associated area and the second associated area is an even number: Among them, A is the horizontal coordinate of the target position, B is the vertical coordinate of the target position, x is the number of vehicles traveling in the first associated area, y is the number of vehicles traveling in the second associated area, ax is the horizontal coordinate of the x-th vehicle traveling in the first associated area, ay is the horizontal coordinate of the y-th vehicle traveling in the second associated area, bx is the vertical coordinate of the x-th vehicle traveling in the first associated area, and by is the vertical coordinate of the y-th vehicle traveling in the second associated area.

4. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.

5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.