Authentication method, device, equipment and storage medium for Internet of Vehicles
By realizing Internet of Vehicles authentication at the physical layer and using the short-distance communication PC5 information to convert it into channel state information for comparison, the problem of poor security of Internet of Vehicles authentication in the existing technology is solved, and the identification and identification of malicious vehicles is realized, which is improved. Overall security.
Patent Information
- Application Number
- CN202410417482.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-09
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-04-09
AI Technical Summary
The existing Internet of Vehicle authentication method is implemented at the application level, with poor security and is easily verified by criminals as legal entities.
By realizing Internet of Vehicles authentication at the physical layer, the short-range communication PC5 information of the target vehicle is obtained, converted into the target channel status information, and compared with the reference channel status information of the legal vehicle to identify legality and improve security.
Even if criminals pretend to be the credential information of a legal vehicle, they can identify malicious vehicles through the physical layer information of the vehicle, improving the authentication security of the Internet of Vehicles.
Smart Images

Figure CN118019003B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Vehicles, and in particular to an authentication method, device, equipment and storage medium for Internet of Vehicles. Background Art
[0002] With the development of society and the improvement of human living standards, Internet of Vehicles technology has gradually entered people's lives. This technology can realize information interaction between vehicles, vehicles and roadside infrastructure, vehicles and pedestrians, etc. It can not only improve the overall intelligent driving level of vehicles, but also provide users with a safe, comfortable and intelligent driving experience.
[0003] At present, authentication of the Internet of Vehicles is an important part of the Internet of Vehicles. In scenarios where different entities (such as vehicle-to-vehicle, vehicle-to-cloud, etc.) interact, the identities of different entities can be verified through credential information such as certificates, accounts, and passwords.
[0004] The above authentication method is implemented at the application layer. After criminals obtain the credential information of the legitimate subject, they can also pass the verification, which has poor security. Summary of the invention
[0005] The present application provides an Internet of Vehicles authentication method, device, equipment and storage medium, which can improve the security of Internet of Vehicles authentication.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides an authentication method for an Internet of Vehicles, including:
[0008] Obtaining the short-range communication PC5 information of the target vehicle and the type of the PC5 information;
[0009] Convert the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determine reference channel state information corresponding to the type of the PC5 information, wherein the reference channel state information is the channel state information corresponding to a legitimate vehicle;
[0010] Comparing the target channel state information with each channel state information in the reference channel state information to obtain a comparison result;
[0011] According to the comparison result, the legitimacy of the target vehicle is authenticated.
[0012] In some possible implementations, comparing the target channel state information with each channel state information in the reference channel state information to obtain a comparison result includes:
[0013] Calculating a similarity between the target channel state information and each channel state information in the reference channel state information;
[0014] If there is channel state information with a similarity greater than a similarity threshold, a comparison result indicating that the target vehicle is a legitimate vehicle is obtained;
[0015] If there is no channel state information with a similarity greater than the similarity threshold, a comparison result indicating that the target vehicle is an illegal vehicle is obtained.
[0016] In some possible implementations, the method further includes:
[0017] Obtaining target credential information of the target vehicle;
[0018] Determining a verification result according to the target credential information and the reference credential information;
[0019] The step of authenticating the legitimacy of the target vehicle according to the comparison result includes:
[0020] The legitimacy of the target vehicle is authenticated according to the verification result and a weighted result of the comparison result.
[0021] In some possible implementations, the PC5 information includes the following parameters:
[0022] Channel noise, time domain representation information of the received signal, and reception duration of the received signal;
[0023] The converting the PC5 information of the target vehicle into the target channel state information of the target vehicle comprises:
[0024]
[0025] in, For the The status information of each channel, For the The time domain representation information of the received signal of each channel, For the The reception time of the received signal of each channel, is the channel noise;
[0026] The target channel state information of the target vehicle is obtained by The vector representation of the state information of each channel.
[0027] In some possible implementations, the types of PC5 information include: vehicle safety messages, map messages, traffic event and sign messages, roadside safety messages, and signal light messages.
[0028] In some possible implementations, the method further includes:
[0029] If the target vehicle fails to pass the legality authentication, the target vehicle is marked and the target channel state information of the target vehicle is broadcast.
[0030] In a second aspect, the present application provides an authentication device for an Internet of Vehicles, including:
[0031] An acquisition module, used to acquire the short-range communication PC5 information of the target vehicle and the type of the PC5 information;
[0032] A conversion module, used to convert the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determine reference channel state information corresponding to the type of the PC5 information, wherein the reference channel state information is the channel state information corresponding to a legitimate vehicle;
[0033] A comparison module, used to compare the target channel state information with each channel state information in the reference channel state information to obtain a comparison result;
[0034] The authentication module is used to authenticate the legitimacy of the target vehicle according to the comparison result.
[0035] In some possible implementations, the comparison module is specifically configured to calculate a similarity between the target channel state information and each channel state information in the reference channel state information;
[0036] If there is channel state information with a similarity greater than a similarity threshold, a comparison result indicating that the target vehicle is a legitimate vehicle is obtained;
[0037] If there is no channel state information with a similarity greater than the similarity threshold, a comparison result indicating that the target vehicle is an illegal vehicle is obtained.
[0038] In some possible implementations, the acquisition module is further used to acquire target credential information of the target vehicle; the determination module is used to determine the verification result according to the target credential information and the reference credential information;
[0039] The authentication module is specifically used to authenticate the legality of the target vehicle according to the verification result and the weighted result of the comparison result.
[0040] In some possible implementations, the PC5 information includes the following parameters:
[0041] Channel noise, time domain representation information of the received signal, and reception duration of the received signal;
[0042] The conversion module is specifically used to determine the target channel state information of the target vehicle through the following formula:
[0043] in, For the The status information of each channel, For the The time domain representation information of the received signal of each channel, For the The reception time of the received signal of each channel, is the channel noise;
[0044] The target channel state information of the target vehicle is obtained by The vector representation of the state information of each channel.
[0045] In some possible implementations, the types of PC5 information include: vehicle safety messages, map messages, traffic event and sign messages, roadside safety messages, and signal light messages.
[0046] In some possible implementations, the device further includes a broadcast module, and the broadcast module is used to mark the target vehicle and broadcast target channel state information of the target vehicle if the target vehicle fails to pass the legality authentication.
[0047] In a third aspect, the present application provides a computing device, including a memory and a processor;
[0048] One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as described in any one of the first aspects.
[0049] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method as described in any one of the first aspects.
[0050] It can be seen from the above technical solution that the present application has at least the following beneficial effects:
[0051] The present application provides a method for authenticating a vehicle network, which includes obtaining the short-range communication PC5 information of a target vehicle and the type of the PC5 information, converting the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determining the reference channel state information corresponding to the type of the PC5 information, the reference channel state information being the channel state information corresponding to a legitimate vehicle, and then comparing the target channel state information with each channel state information in the reference channel state information to obtain a comparison result, and authenticating the legitimacy of the target vehicle based on the comparison result. In this method, the process of authenticating the vehicle network is implemented at the physical layer, and even if the criminals impersonate the credential information of a legitimate vehicle, the malicious vehicle can be identified through the physical layer information of the vehicle, thereby improving the security of the authentication of the vehicle network.
[0052] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A flowchart of a vehicle networking authentication method provided in an embodiment of the present application;
[0054] Figure 2 A schematic diagram of an Internet of Vehicles authentication device provided in an embodiment of the present application;
[0055] Figure 3 A schematic diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The terms "first", "second", "third", etc. in the specification of this application and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.
[0057] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0058] In order to make the description of the following embodiments clear and concise, a brief introduction to the related technology is first given:
[0059] PC5 in the Internet of Vehicles refers to proximity communication at 5 GHz technology. PC5 is a technology for direct communication between devices and is widely used in 5G and LTE mobile communication systems. PC5 technology is based on short-range communication standards such as wireless local area network (WLAN) or Bluetooth, and is used in application scenarios such as Internet of Vehicles, intelligent transportation and the Internet of Things.
[0060] Currently, the Internet of Vehicles mainly verifies the identities of different entities through credential information such as certificates, accounts and passwords. However, once these credential information is obtained by other criminals, other criminals can also pass the verification, resulting in poor security.
[0061] In view of this, the Internet of Vehicles authentication method provided in this application can be implemented based on the physical layer. The wireless technology used for vehicle-to-vehicle communication is short-distance communication, which adopts a single carrier frequency domain equalization (SC-FDE) modulation and demodulation method. The theoretical basis for the authentication of the Internet of Vehicles through the physical layer is:
[0062] Short-time reciprocity: In time division duplex mode, within the coherence time, the uplink and downlink channel responses (channel gains) of the communication are the same; time-varying: the wireless channel is constantly changing and cannot be predicted; time-space uniqueness: when the distance between the communicating entities is greater than half a wavelength, the channel fading becomes unrelated and unique.
[0063] Based on the above theory, in a large-scale Internet of Vehicles scenario, the physical layer characteristics of different vehicles are different. Therefore, different vehicles, that is, the identities of different entities, can be distinguished by physical layer characteristics. During the communication process between two legal vehicles, a malicious vehicle used the identity authentication information of a legal vehicle to send a maliciously forged Internet of Vehicles message. If only the application layer identity authentication information is used, malicious data packets cannot be distinguished. In this application, physical layer characteristic information can be used to distinguish legal vehicles from illegal vehicles based on the differences in physical layer characteristics. Furthermore, in conjunction with application layer identity authentication, disguised authentication for identifying malicious vehicles in Internet of Vehicles scenarios can be achieved.
[0064] Specifically, the present application provides an authentication method for the Internet of Vehicles, which includes: obtaining the PC5 information of the target vehicle and the type of the PC5 information, converting the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determining the reference channel state information corresponding to the type of the PC5 information, the reference channel state information is the channel state information corresponding to a legitimate vehicle, comparing the target channel state information with each channel state information in the reference channel state information to obtain a comparison result, and authenticating the legitimacy of the target vehicle based on the comparison result.
[0065] In this method, the process of authenticating the Internet of Vehicles is implemented at the physical layer. Even if criminals impersonate the credential information of a legitimate vehicle, malicious vehicles can be identified through the physical layer information of the vehicle, thereby improving the security of the authentication of the Internet of Vehicles.
[0066] In order to make the technical solution of the present application clearer and easier to understand, the authentication method of the Internet of Vehicles provided in the embodiment of the present application is introduced below with reference to the accompanying drawings.
[0067] It should be noted that the authentication method of the Internet of Vehicles can be executed by a server or by the vehicle itself. This application does not specifically limit the execution subject of the authentication method. In different scenarios, the execution subject may be different.
[0068] like Figure 1 As shown in FIG. 1 , the figure is a flow chart of a vehicle networking authentication method provided in an embodiment of the present application. The method includes:
[0069] S101. Obtain PC5 information of a target vehicle and the type of PC5 information.
[0070] The target vehicle refers to the vehicle to be authenticated. During the communication between the target vehicle and other entities (servers, roadside equipment, other vehicles, terminals, etc.), other entities can obtain the PC5 information of the target vehicle and determine the type of PC5 information.
[0071] The PC5 information may include parameters such as channel noise, time domain representation information of the received signal, and reception duration of the received signal. The types of PC5 information may include vehicle safety messages, map messages, traffic incident and sign messages, roadside safety messages, and signal light messages.
[0072] S102: Convert the PC5 information of the target vehicle into the target channel state information of the target vehicle.
[0073] Channel State Information (CSI) refers to the state information of the channel between the transmitter and the receiver in the communication system. Specifically, CSI contains information such as the amplitude, phase, and delay of the channel. This information is very important for signal modulation at the transmitter and signal demodulation at the receiver. CSI can help the communication system optimize the modulation and demodulation algorithms, thereby improving the reliability and performance of the communication system.
[0074] After obtaining the PC5 information of the target vehicle, the PC5 information can be converted into the target channel state information of the target vehicle. Setting the target channel state information ,in, is the state information of the first sub-channel, L is the number of channels, and the superscript T represents transposition.
[0075] In some examples, the PC5 information of the target vehicle can be converted into the target channel state information by the following formula:
[0076]
[0077] in, For the The status information of each channel, For the The time domain representation information of the received signal of each channel, For the The reception time of the received signal of each channel, is the channel noise;
[0078] The target channel state information of the target vehicle is obtained by The vector representation composed of the state information of the channels, that is, .
[0079] In the embodiment of the present application, taking the short-range communication channel of 5.905~5.925GHz as an example, where the uplink and downlink use 10MHz respectively, in the vehicle-to-end communication scenario, the 10MHz bandwidth can be further divided into 5 sub-channels, each sub-channel is 2MHz, so that the target channel state information can be represented by the state information of the 5 sub-channels, that is, .
[0080] The following are the mathematical expressions for the transmitter and receiver:
[0081] When PC5 uses the modulation and demodulation method of single carrier frequency domain equalization (SC-FDE), the single carrier here refers to the modulation within a subchannel, and the mathematical expression at the transmitter is:
[0082]
[0083] in, It is a symbol sequence (signal in the time domain). Symbol is the basic unit in the communication system. A symbol can represent a discrete information or signal state. Symbols are usually digital and can be binary (0 and 1), multi-base (for example, symbols in 4-QAM or 16-QAM), or discrete samples of other analog signals. A symbol sequence is an arrangement of a series of symbols, which are transmitted or received in a certain time order. n represents the transmission time of the signal, n=0 represents the transmission time of the 0th symbol in the symbol sequence, and n=N-1 represents the time taken to transmit N symbols. N is the length of the symbol sequence. k is the frequency domain index. The frequency domain index is a numerical value or label used to indicate the position or nature of a specific frequency, frequency range or frequency domain component in the frequency domain. It needs to be determined in combination with Fourier transform in the calculation. is the frequency domain representation of the transmitter, i.e., the kth frequency component. Corresponds to a specific frequency component of the signal in the frequency domain.
[0084] Next, based on the inverse Fourier transform, the signal at the transmitting end can be converted from the frequency domain to the time domain:
[0085]
[0086] Among them, X(n) is the time domain representation information of the transmitted signal.
[0087] The expression of the receiving end signal is as follows:
[0088]
[0089] in, Indicates The time domain representation information of the received signal of the sub-channel, Indicates The channel response of the subchannels, Indicates The noise corresponding to each sub-channel.
[0090] The following describes how to solve the above expression.
[0091] In this embodiment, the channel model used in PC5 wireless communication is a Rayleigh fading channel model as an example. The channel gain is a random variable, which is usually expressed as . Its distribution is:
[0092]
[0093] in, represents the real part of the Rayleigh distribution, Represents the imaginary part of the Rayleigh distribution, which obeys a Gaussian distribution with zero mean and variance sigma: , .
[0094] In short-range communications, the signal bandwidth commonly used is 10MHz, so the channel noise can be calculated based on this bandwidth , and then calculate the channel gain based on the signal power and noise power.
[0095] Calculation process:
[0096]
[0097] in, is the channel noise, is the Boltzmann constant, is the absolute temperature, is the signal bandwidth (e.g. 10MHz).
[0098] Channel gain model of PC5 wireless channel:
[0099]
[0100] in, For the The energy of each bit of the subchannel is For the The duration of each bit corresponding to the subchannel. Further:
[0101]
[0102] in, For the The receiving time of the received signal of each channel can be substituted into the above formula. In the expression of The state information of each sub-channel, that is, Then, the state information corresponding to multiple sub-channels is combined to obtain the target channel state information H.
[0103] S103: Determine reference channel state information corresponding to the type of PC5 information.
[0104] The types of PC5 information include: vehicle safety messages, map messages, traffic event and sign messages, roadside safety messages, and signal light messages. The reference channel state information is the channel state information corresponding to a legitimate vehicle.
[0105] In some examples, the PC5 information of the legal vehicle can be extracted in advance to obtain the channel state information corresponding to the legal vehicle. Different types of PC5 information may have different byte lengths, so the types of PC5 information can be distinguished, thereby further improving the accuracy of the subsequent comparison process.
[0106] Exemplarily, a correspondence between the type of PC5 information and the reference channel state information may be pre-established. For example, after determining that the PC5 information is a vehicle safety message, based on the above correspondence, the reference channel state information corresponding to the vehicle safety message is determined, and then a subsequent comparison is performed.
[0107] It should be noted that the present application does not specifically limit the execution order of S102 and S103. In other examples, S103 may be executed first and then S102, or S102 and S103 may be executed simultaneously.
[0108] S104: Compare the target channel state information with each channel state information in the reference channel state information to obtain a comparison result.
[0109] After obtaining the target channel status information After that, the target channel state information may be compared with each channel state information in the reference channel state information to obtain a comparison result.
[0110] In some examples, the similarity between the target channel state information and each channel state information in the reference channel state information can be calculated. If there is channel state information with a similarity greater than a similarity threshold, a comparison result that the target vehicle is a legal vehicle is obtained, and subsequent calculations are stopped, thereby saving computing resources. If there is no channel state information with a similarity greater than a similarity threshold, a comparison result that the target vehicle is an illegal vehicle is obtained.
[0111] S105: Authenticate the legality of the target vehicle based on the comparison result.
[0112] After the comparison result is obtained, the legality of the target vehicle can be authenticated based on the comparison result. If the comparison result shows that the target vehicle is an illegal vehicle, the legality authentication fails, and if the comparison result shows that the target vehicle is a legal vehicle, the legality authentication passes.
[0113] In some embodiments, the method further comprises:
[0114] The target credential information of the target vehicle is obtained, and the verification result is determined based on the target credential information and the reference credential information. The target credential information is the certificate, account number and password of the target vehicle, and the reference credential information is the certificate, account number and password of the legal vehicle.
[0115] Then, based on the weighted result of the verification result and the comparison result, the legality of the target vehicle is authenticated. For example, when both the verification result and the comparison result indicate that the target vehicle is a legal vehicle, it is determined that the target vehicle has passed the legality authentication.
[0116] In some embodiments, if the target vehicle fails to pass the legality authentication, the target vehicle is marked and the target channel state information of the target vehicle is broadcast, so that other vehicles can record the target channel state information of the illegal vehicle and obtain a database of illegal vehicles. Other vehicles obtain the target channel state information of the target vehicle and compare it with the database of illegal vehicles. If it is determined that the target channel state information of the target vehicle is highly similar to the channel state information in the database of illegal vehicles, the target vehicle is determined to be an illegal vehicle. At the same time, it can also be compared with the reference channel state information. Whichever process obtains the result first can stop the comparison, thereby improving the comparison efficiency and saving computing resources.
[0117] Based on the above description, an embodiment of the present application provides an authentication method for the Internet of Vehicles, which includes obtaining the PC5 information of the target vehicle and the type of the PC5 information, converting the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determining the reference channel state information corresponding to the type of the PC5 information, the reference channel state information is the channel state information corresponding to a legitimate vehicle, and then comparing the target channel state information with each channel state information in the reference channel state information to obtain a comparison result, and authenticating the legitimacy of the target vehicle based on the comparison result. In this method, the process of authenticating the Internet of Vehicles is implemented at the physical layer. Even if criminals impersonate the credential information of a legitimate vehicle, malicious vehicles can be identified through the physical layer information of the vehicle, thereby improving the security of the authentication of the Internet of Vehicles.
[0118] In some embodiments, traffic density changes in real time. In order to increase the speed of vehicle authentication and save resources, if the number of broadcast signals in the PC5 channel exceeds a preset threshold, these broadcast signals can be clustered. After clustering, the channel state information corresponding to each category can be compared with the reference channel state information to obtain the corresponding comparison result of the category.
[0119] The clustering process may be: first obtain the eigenvector corresponding to the signal state information to be verified on the PC5 channel, set the number of eigenvector sub-element groupings a, the system will randomly generate a eigenvector sub-elements, random center points, and center point values, assign the eigenvector sub-elements to be verified to the circles within the center point radius, calculate the mean in each circle, and update the center point value until the center point value is constant, and output 5 groups of a clustering results. Each group of clustering results corresponds to the type of PC5 message.
[0120] The following will introduce the devices and equipment provided in the embodiments of the present application in conjunction with the accompanying drawings.
[0121] like Figure 2 As shown, this figure is a schematic diagram of an Internet of Vehicles authentication device provided in an embodiment of the present application, and the device includes:
[0122] An acquisition module 201 is used to acquire the short-range communication PC5 information of the target vehicle and the type of the PC5 information;
[0123] A conversion module 202, configured to convert the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determine reference channel state information corresponding to the type of the PC5 information, wherein the reference channel state information is the channel state information corresponding to a legitimate vehicle;
[0124] A comparison module 203, configured to compare the target channel state information with each channel state information in the reference channel state information to obtain a comparison result;
[0125] The authentication module 204 is used to authenticate the legitimacy of the target vehicle according to the comparison result.
[0126] In some possible implementations, the comparison module 203 is specifically configured to calculate a similarity between the target channel state information and each channel state information in the reference channel state information;
[0127] If there is channel state information with a similarity greater than a similarity threshold, a comparison result indicating that the target vehicle is a legitimate vehicle is obtained;
[0128] If there is no channel state information with a similarity greater than the similarity threshold, a comparison result indicating that the target vehicle is an illegal vehicle is obtained.
[0129] In some possible implementations, the acquisition module 201 is further used to acquire target credential information of the target vehicle; the determination module is used to determine the verification result according to the target credential information and the reference credential information;
[0130] The authentication module 204 is specifically configured to authenticate the legality of the target vehicle according to the verification result and the weighted result of the comparison result.
[0131] In some possible implementations, the PC5 information includes the following parameters:
[0132] Channel noise, time domain representation information of the received signal, and reception duration of the received signal;
[0133] The conversion module 202 is specifically used to determine the target channel state information of the target vehicle through the following formula:
[0134] in, For the The status information of each channel, For the The time domain representation information of the received signal of each channel, For the The reception time of the received signal of each channel, is the channel noise;
[0135] The target channel state information of the target vehicle is obtained by The vector representation of the state information of each channel.
[0136] In some possible implementations, the types of PC5 information include: vehicle safety messages, map messages, traffic event and sign messages, roadside safety messages, and signal light messages.
[0137] In some possible implementations, the device further includes a broadcast module, and the broadcast module is used to mark the target vehicle and broadcast target channel state information of the target vehicle if the target vehicle fails to pass the legality authentication.
[0138] The authentication device of the Internet of Vehicles according to the embodiment of the present application may correspond to the method described in the embodiment of the present application, and the above and other operations and / or functions of each module / unit of the authentication device of the Internet of Vehicles are respectively to realize Figure 1 For the sake of brevity, the corresponding processes of each method in the illustrated embodiment are not described in detail here.
[0139] The present application also provides a computing device. Figure 3 As shown, this figure is a schematic diagram of a computing device provided in an embodiment of the present application, such as Figure 3 As shown, computing device 300 includes bus 301, processor 302, communication interface 303 and memory 304. Processor 302, memory 304 and communication interface 303 communicate with each other via bus 301.
[0140] The bus 301 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0141] The processor 302 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0142] The communication interface 303 is used for communicating with the outside. For example, the communication interface 303 can be used to broadcast the target channel state information of the target vehicle.
[0143] The memory 304 may include a volatile memory, such as a random access memory (RAM). The memory 304 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0144] The memory 304 stores executable codes, and the processor 302 executes the executable codes to perform the aforementioned Internet of Vehicles authentication method.
[0145] Specifically, in implementing Figure 2 In the case of the embodiment shown, and Figure 2 When each module or unit of the authentication device of the Internet of Vehicles described in the embodiment is implemented by software, the execution Figure 2 The software or program code required for the functions of each module / unit in the system may be partially or completely stored in the memory 304. The processor 302 executes the program code corresponding to each unit stored in the memory 304 to execute the aforementioned authentication method of the Internet of Vehicles.
[0146] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned vehicle network authentication method for the authentication device of the vehicle network.
[0147] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.
[0148] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
[0149] When the computer program product is executed by a computer, the computer executes any of the aforementioned methods for authenticating the Internet of Vehicles. The computer program product may be a software installation package, and when any of the aforementioned methods for authenticating the Internet of Vehicles is required, the computer program product may be downloaded and executed on a computer.
[0150] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0151] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A method for authenticating a connected vehicle. It is characterized in that include: Obtaining the short-range communication PC5 information of the target vehicle and the type of the PC5 information; Convert the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determine reference channel state information corresponding to the type of the PC5 information, wherein the reference channel state information is the channel state information corresponding to a legitimate vehicle; Comparing the target channel state information with each channel state information in the reference channel state information to obtain a comparison result; Authenticating the legitimacy of the target vehicle according to the comparison result; The PC5 information includes the following parameters: Channel noise, time domain representation information of the received signal, and reception duration of the received signal; The converting the PC5 information of the target vehicle into the target channel state information of the target vehicle comprises: in, For the The energy of each bit of the subchannel is For the The duration of each bit corresponding to the subchannel is For the The status information of each channel, is the channel noise; in, ; For the The time domain representation information of the received signal of each channel, Indicates The noise corresponding to the sub-channels is To represent information in the time domain of the transmitted signal; ; is the frequency domain representation of the transmitter, k is the frequency domain index; ; is a symbol sequence; The target channel state information of the target vehicle is obtained by A vector representation composed of the state information of each channel; The comparing the target channel state information with each channel state information in the reference channel state information includes: If the number of broadcast signals on the PC5 channel exceeds a preset threshold, cluster the broadcast signals, and compare the channel state information corresponding to each clustering result with the reference channel state information; The method further comprises: If the target vehicle fails to pass the legality authentication, the target vehicle is marked and the target channel state information of the target vehicle is broadcast.
2. The method according to claim 1, It is characterized in that The comparing the target channel state information with each channel state information in the reference channel state information to obtain a comparison result includes: Calculating a similarity between the target channel state information and each channel state information in the reference channel state information; If there is channel state information with a similarity greater than a similarity threshold, a comparison result indicating that the target vehicle is a legitimate vehicle is obtained; If there is no channel state information with a similarity greater than the similarity threshold, a comparison result indicating that the target vehicle is an illegal vehicle is obtained.
3. The method according to claim 1, It is characterized in that The method further comprises: Obtaining target credential information of the target vehicle; Determining a verification result according to the target credential information and the reference credential information; The step of authenticating the legitimacy of the target vehicle according to the comparison result includes: The legitimacy of the target vehicle is authenticated according to the verification result and a weighted result of the comparison result.
4. The method according to claim 1, It is characterized in that The types of PC5 information include: vehicle safety messages, map messages, traffic event and sign messages, roadside safety messages, and signal light messages.
5. An authentication device for Internet of Vehicles, It is characterized in that include: An acquisition module, used to acquire the short-range communication PC5 information of the target vehicle and the type of the PC5 information; A conversion module, used to convert the PC5 information of the target vehicle into the target channel state information of the target vehicle, and determine reference channel state information corresponding to the type of the PC5 information, wherein the reference channel state information is the channel state information corresponding to a legitimate vehicle; A comparison module, used to compare the target channel state information with each channel state information in the reference channel state information to obtain a comparison result; An authentication module, used to authenticate the legitimacy of the target vehicle according to the comparison result; The PC5 information includes the following parameters: Channel noise, time domain representation information of the received signal, and reception duration of the received signal; The conversion module is specifically used to determine the target channel state information of the target vehicle through the following formula: in, For the The energy of each bit of the subchannel is For the The duration of each bit corresponding to the subchannel is For the The status information of each channel, is the channel noise; in, ; For the The time domain representation information of the received signal of each channel, Indicates The noise corresponding to the sub-channels is To represent information in the time domain of the transmitted signal; ; is the frequency domain representation of the transmitter, k is the frequency domain index; ; is a symbol sequence; The target channel state information of the target vehicle is obtained by A vector representation composed of the state information of each channel; The comparison module is specifically used to cluster the broadcast signals if the number of broadcast signals on the PC5 channel exceeds a preset threshold, and compare the channel state information corresponding to each clustering result with the reference channel state information; The device further comprises a broadcast module, wherein the broadcast module is used to mark the target vehicle and broadcast target channel state information of the target vehicle if the target vehicle fails to pass the legality authentication.
6. The device according to claim 5, It is characterized in that The comparison module is specifically used to calculate the similarity between the target channel state information and each channel state information in the reference channel state information; If there is channel state information with a similarity greater than a similarity threshold, a comparison result indicating that the target vehicle is a legitimate vehicle is obtained; If there is no channel state information with a similarity greater than the similarity threshold, a comparison result indicating that the target vehicle is an illegal vehicle is obtained.
7. A computing device, It is characterized in that including memory and processor; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method according to any one of claims 1 to 4.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 4.
