[go: up one dir, main page]

WO2024164523A1 - Internet-of-vehicles encryption communication method and apparatus, and electronic device and storage medium - Google Patents

Internet-of-vehicles encryption communication method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2024164523A1
WO2024164523A1 PCT/CN2023/116538 CN2023116538W WO2024164523A1 WO 2024164523 A1 WO2024164523 A1 WO 2024164523A1 CN 2023116538 W CN2023116538 W CN 2023116538W WO 2024164523 A1 WO2024164523 A1 WO 2024164523A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication data
communication
terminal
channel measurement
measurement pilot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2023/116538
Other languages
French (fr)
Chinese (zh)
Inventor
彭林宁
马一鸣
付华
胡爱群
杨彦召
胡红星
郭鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Automotive Innovation Corp
Network Communication and Security Zijinshan Laboratory
Original Assignee
China Automotive Innovation Corp
Network Communication and Security Zijinshan Laboratory
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Automotive Innovation Corp, Network Communication and Security Zijinshan Laboratory filed Critical China Automotive Innovation Corp
Publication of WO2024164523A1 publication Critical patent/WO2024164523A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • H04W12/041Key generation or derivation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of information security technology, and in particular to an Internet of Vehicles encrypted communication method, device, electronic equipment and storage medium.
  • Physical layer wireless key generation is a physical layer security protection technology that uses the reciprocity, time-varying and spatial properties of wireless channels to generate keys and encrypt information. Its algorithm complexity is low and power consumption is low, making it particularly suitable for distributed vehicle networks.
  • the communicating parties use the randomness, time-varying and short-term reciprocity of the wireless channel between the vehicle terminals to measure the common channel characteristics as a random source to generate keys.
  • the embodiments of the present disclosure provide a method, device, electronic device and storage medium for Internet of Vehicles encrypted communication, which can improve channel reciprocity and increase the key consistency rate between the communicating parties.
  • the embodiment of the present application provides a vehicle networking encryption communication method, which is applied to a first terminal, and the method includes: sending first communication data to a second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal; determining parameter information of a filter according to the second communication data; constructing a filter based on the parameter information; inputting the second communication data into the filter, and obtaining Predicting communication data; generating a first key based on the predicted communication data; encrypting target information using the first key, and sending the encrypted target information to a second terminal; the second terminal is used to generate a second key based on the first communication data; and decrypting the target information based on the second key.
  • sending first communication data to the second terminal according to a preset communication protocol and receiving second communication data sent by the second terminal include: sending broadcast frame data to the second terminal; sending the first communication data to the second terminal based on a preset time slot, and receiving second communication data sent by the second terminal based on the preset time slot.
  • the communication subframe data includes communication subframe data including multiple channel measurement pilot symbols generated according to a preset communication protocol.
  • Determining the parameter information of the filter according to the second communication data includes: determining the wireless channel state information CSI of the latter two channel measurement pilot symbols according to the communication subframe data of the latter two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data; and determining the parameter information based on the CSI of the latter two channel measurement pilot symbols.
  • the second communication data is input into the filter to obtain predicted communication data, including: inputting the CSI of the last channel measurement pilot symbol into the filter to obtain predicted communication data; wherein the predicted communication data is a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal; the second terminal is used to generate a second key based on the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data.
  • the CSI includes amplitude response information of the channel.
  • the wireless channel state information CSI of the last two channel measurement pilot symbols is determined, including: performing channel estimation according to the communication subframe data of the last two channel measurement pilot symbols, obtaining the communication subframe data of the last two channel measurement pilot symbols, and determining them as the input signal and the reference signal respectively.
  • Determining parameter information based on the CSI of the last two channel measurement pilot symbols includes: determining the autocorrelation function of the input signal; determining the cross-correlation function of the input signal and the reference signal; determining parameter information based on the autocorrelation function and the cross-correlation function.
  • the CSI of the last channel measurement pilot symbol is input into the filter to obtain Predicting communication data, including: inputting the CSI of the last channel measurement pilot symbol into a filter to obtain an output sequence; determining the output sequence as predicted communication data when the channel subframe interval meets a first preset condition; constructing a linear function based on the output sequence and a reference signal when the channel subframe interval meets a second preset condition; determining the predicted communication data based on the linear function; wherein the channel subframe interval is an interval between a symbol position of a first channel measurement pilot symbol in the first communication data received by the second terminal and a symbol position of a last channel measurement pilot symbol received by the first terminal.
  • the filter comprises a Wiener filter.
  • an embodiment of the present application provides a vehicle networking communication device, which is applied to a first terminal, and the device includes:
  • the transceiver module is used to send the first communication data to the second terminal according to the preset communication protocol, and receive the second communication data sent by the second terminal; the second terminal is used to generate a second key based on the first communication data;
  • a parameter module used to determine parameter information of the filter according to the second communication data
  • a construction module for constructing a filter based on parameter information
  • a prediction module used for inputting the second communication data into a filter to obtain predicted communication data
  • a key generation module used to generate a first key based on the predicted communication data
  • the encryption module is used to encrypt the target information using the first key and send the encrypted target information to the second terminal; the second terminal is used to decrypt the target information based on the second key.
  • the transceiver module is used to: send broadcast frame data to the second terminal; send first communication data to the second terminal based on a preset time slot, and receive second communication data sent by the second terminal based on the preset time slot.
  • the communication subframe data includes communication subframe data including multiple channel measurement pilot symbols generated according to a preset communication protocol.
  • the parameter module is used to: determine the wireless channel state information CSI of the latter two channel measurement pilot symbols according to the communication subframe data of the latter two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data; and determine the parameter information based on the CSI of the latter two channel measurement pilot symbols.
  • the prediction module is used to: calculate the CSI of the last channel measurement pilot symbol
  • An input filter is used to obtain predicted communication data; wherein the predicted communication data is a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal; and the second terminal is used to generate a second key based on the CSI of the first channel measurement pilot symbol among the multiple channel measurement pilot symbols in the first communication data.
  • the CSI includes amplitude response information of the channel.
  • the prediction module is used to: perform channel estimation based on the communication subframe data of the last two channel measurement pilot symbols, obtain the communication subframe data of the last two channel measurement pilot symbols, and determine them as input signals and reference signals respectively; determine the autocorrelation function of the input signal; determine the cross-correlation function of the input signal and the reference signal; and determine parameter information based on the autocorrelation function and the cross-correlation function.
  • the prediction module is used to: input the CSI of the last channel measurement pilot symbol into the filter to obtain an output sequence; when the channel subframe interval meets the first preset condition, determine the output sequence as the predicted communication data; when the channel subframe interval meets the second preset condition, construct a linear function based on the output sequence and the reference signal; determine the predicted communication data based on the linear function; wherein the channel subframe interval is the interval between the symbol position of the first channel measurement pilot symbol in the first communication data received by the second terminal and the symbol position of the last channel measurement pilot symbol received by the first terminal.
  • an embodiment of the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the above-mentioned Internet of Vehicles encryption communication method.
  • an embodiment of the present disclosure provides a computer-readable storage medium, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the above-mentioned Internet of Vehicles encrypted communication method.
  • a Wiener filter that reflects the time-varying process of the channel is constructed by using the result of the most recent secondary channel estimation on the vehicle networking terminal side, and the most recent channel estimation value is input based on the constructed Wiener filter to predict the reception of the other party.
  • the channel estimation result at the receiving signal position can realize the compensation of channel reciprocity. In the simulation and actual test process, facing the channel conditions in different environments, the channel correlation coefficient can be improved;
  • One party in communication uses the predicted channel estimation result as a random source for generating a key, and the other party uses the actually measured channel estimation result as a random source for generating a key.
  • the keys are generated after quantization respectively. Thanks to the result of Wiener filter extrapolation prediction, the inconsistency rate of generated keys can be reduced, and ultimately better performance of secure information transmission of shared wireless channel characteristics can be achieved, which has good practicality.
  • FIG1 is a schematic diagram of an application scenario of an Internet of Vehicles encryption communication method provided by an embodiment of the present application
  • FIG2 is a schematic diagram of a first flow chart of a vehicle networking encryption communication method provided by an embodiment of the present application
  • FIG3 is a schematic diagram of a second flow chart of a vehicle networking encryption communication method provided by an embodiment of the present application.
  • FIG4 is a frequency domain subcarrier amplitude response channel characteristic diagram of a vehicle networking encryption communication method provided by an embodiment of the present application.
  • FIG5 is a schematic diagram of a third flow chart of a vehicle networking encryption communication device provided in an embodiment of the present application.
  • FIG. 6 is a channel correlation coefficient diagram with and without Wiener filter interpolation at different channel measurement subframe intervals of a vehicle networking encryption communication method provided by an embodiment of the present application;
  • FIG. 7 is a frequency domain subcarrier amplitude response channel characteristic diagram after Wiener filter interpolation prediction of a vehicle networking encryption communication method provided in an embodiment of the present application;
  • FIG8 is a multiple comparison diagram of channel cross-correlation coefficients after Wiener filter interpolation prediction and without preprocessing in a vehicle networking encryption communication method provided by an embodiment of the present application;
  • FIG10 is a schematic diagram of the structure of an Internet of Vehicles encryption communication device provided in an embodiment of the present application.
  • FIG11 is a hardware structure block diagram of a server of a vehicle networking encryption communication method provided in an embodiment of the present application.
  • the “embodiment” referred to herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present application.
  • the orientation or positional relationship indicated by the terms “upper”, “lower”, “left”, “right”, “top”, “bottom”, etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device/system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present application.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as “first” and “second” may include one or more of the features explicitly or implicitly. Moreover, the terms “first”, “second”, etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here. In addition, the terms “comprise”, “have”/”are” and any variations thereof are intended to cover a non-exclusive inclusion, for example, comprising a series of steps or units/modules. The processes, methods, systems/apparatus, products or apparatuses are not necessarily limited to those steps or units/modules explicitly listed, but may include other steps or units/modules not explicitly listed or inherent to such processes, methods, products or apparatuses.
  • Figure 1 is a schematic diagram of an application scenario of a vehicle networking encryption communication method provided by an embodiment of the present application.
  • a vehicle 101 and one or more sensors 1011 and one or more controllers 1012 included in the vehicle 101 are included.
  • the vehicle 101 may include a sensor 1011 for sensing the surrounding environment.
  • the sensor 1011 may include one or more of the following sensors: an ultrasonic sensor, a millimeter wave radar, a laser radar (LiDAR), a visual camera, and an infrared camera. Different sensors may provide different detection accuracy and range.
  • Ultrasonic sensors may be installed around the vehicle to measure the distance of an object outside the vehicle from the vehicle by utilizing the characteristics of strong ultrasonic directionality.
  • Millimeter wave radars may be installed in front of, behind, or at other locations of the vehicle to measure the distance of an object outside the vehicle from the vehicle by utilizing the characteristics of electromagnetic waves.
  • the vehicle 101 may include a controller 1012.
  • the controller 1012 may include a processor that communicates with various types of computer-readable storage devices or media, such as a central processing unit (CPU) or a graphics processing unit (GPU), or other dedicated processors, etc.
  • CPU central processing unit
  • GPU graphics processing unit
  • other dedicated processors etc.
  • the vehicle 101 may also include a communication device 1013.
  • the communication device 1013 includes a satellite positioning module capable of receiving satellite positioning signals from a satellite and generating coordinates based on these signals.
  • the communication device 1013 also includes a module for communicating with a mobile communication network, and the mobile communication network can implement any suitable communication technology, such as GSM/GPRS, CDMA, LTE and other current or developing wireless communication technologies (such as 5G technology).
  • the communication device 1013 may also have a vehicle network or a vehicle-to-everything (V2X) module, which is configured to realize, for example, vehicle-to-vehicle (V2V) communication with other vehicles and vehicle-to-infrastructure (V2I) communication with the infrastructure. Communication between the vehicle and the outside world.
  • V2X vehicle-to-everything
  • the communication device 1013 may also have a module configured to communicate with a user terminal (including but not limited to a smart phone, a tablet computer or a wearable device such as a watch) by using a wireless local area network or Bluetooth using the IEEE802.11 standard.
  • a user terminal including but not limited to a smart phone, a tablet computer or a wearable device such as a watch
  • the vehicle 101 can access an online server or a cloud server via a wireless communication system.
  • the online server or the cloud server is configured to provide corresponding data processing, data storage, data transmission and other services for the vehicle.
  • the vehicle 101 also includes a powertrain, a steering system, a braking system, etc. for realizing the driving function of the motor vehicle, which are not shown in FIG. 1 .
  • the first terminal may be the vehicle 101
  • the second terminal may be another vehicle or other device that can communicate with the vehicle 101 based on the Internet of Vehicles.
  • the method may include: sending first communication data to the second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal; determining parameter information of the filter according to the second communication data; constructing the filter based on the parameter information; inputting the second communication data into the filter to obtain predicted communication data; generating a first key based on the predicted communication data; encrypting the target information using the first key, and sending the encrypted target information to the second terminal;
  • the second terminal is used to generate a second key based on the first communication data; and decrypt the target information based on the second key.
  • FIG1 is only an application environment of the vehicle network encryption communication method provided by the present disclosure. In actual applications, other application environments may also be included. This embodiment is not limited to this.
  • the vehicle disclosed in the present disclosure may include one or more of the structures or functions of the vehicle 101 shown in FIG1.
  • the communicating parties use the randomness, time-varying and short-term reciprocity of the wireless channel between the vehicle terminals to measure the common channel characteristics as a random source to generate keys.
  • the two parties obtain their respective channel state information (CSI) through channel estimation, and the channel reciprocity can be expressed by the Pearson correlation coefficient.
  • CSI channel state information
  • channels in static or slow-moving environments are mostly considered.
  • the channel has a strong time-varying property, which will lead to poor channel reciprocity. If the CSI obtained by channel estimation is directly used for key generation, the key inconsistency rate of the initial keys of the communicating parties will be very high. Therefore, it is necessary to pre-process the CSI to enhance the reciprocity of the channels of both parties.
  • FIG. 1 is a schematic diagram of the first process of an Internet of Vehicles encrypted communication method provided by an embodiment of the present application.
  • This specification provides method or process operation steps as shown in the embodiments or flow charts, but may include more or fewer operation steps based on conventional or non-creative labor.
  • the order of steps listed in the embodiments is only one of many execution orders and does not represent the only execution order.
  • the method or process shown in the embodiments or drawings may be executed sequentially or in parallel (for example, a parallel processor or a multi-threaded processing environment).
  • the method includes:
  • Step S201 sending first communication data to a second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal.
  • the first terminal and the second terminal may be communicating parties.
  • the first terminal and the second terminal may communicate with each other in a time division duplex mode according to a preset communication protocol.
  • Sending and receiving communication data that is, the first terminal sends the first communication data
  • the second terminal sends the second communication data.
  • the first communication data or the second communication data may include a data communication subframe of a physical sidelink shared channel (Physical Sidelink Control Channel PSSCH) containing a channel measurement pilot symbol.
  • the preset communication protocol may be an LTE-V2X protocol.
  • step S201 may also include: sending broadcast frame data to the second terminal; sending first communication data to the second terminal based on a preset time slot, and receiving second communication data sent by the second terminal based on the preset time slot.
  • the preset communication protocol may stipulate that the first terminal first sends a broadcast frame in the 0th frame, and after the second terminal detects and obtains the broadcast frame sent by the first terminal, it can send a data communication subframe containing multiple channel measurement pilot symbols through the resource allocation time slot agreed by both parties for communication.
  • a data communication subframe including channel measurement pilot symbols may be a subframe containing multiple segments of pilot symbols, such as four segments of demodulation reference signal (DMRS) symbols contained in each subframe of the PSSCH channel in the LTE-V2X protocol; or a subframe containing only one segment of pilot symbols, such as a long pilot code for channel estimation contained in each subframe in the 802.11 protocol.
  • DMRS demodulation reference signal
  • Step S202 Determine parameter information of the filter according to the second communication data.
  • the filter may include a Wiener filter.
  • FIG3 is a schematic diagram of a second process of a vehicle networking encryption communication method provided by an embodiment of the present application.
  • the exemplary process of step S202 may include:
  • Step S301 measure the number of channels in the second communication data in the pilot symbol.
  • the communication subframe data of the two channel measurement pilot symbols are used to determine the wireless channel state information CSI of the latter two channel measurement pilot symbols.
  • the CSI may include the amplitude response information of the channel.
  • the PSSCH subframe used for channel measurement contains a pilot signal on each subcarrier when the block pilot is inserted, so the channel estimation values of all subcarriers can be calculated by performing LS channel estimation on the received DMRS sequence and the locally known original DMRS sequence.
  • channel estimation can be performed based on the communication subframe data of the last two channel measurement pilot symbols to obtain the communication subframe data of the last two channel measurement pilot symbols, and determine them as input signals and reference signals respectively.
  • both the first terminal and the second terminal may adopt the time division duplex mode to perform channel measurement.
  • both parties demodulate the PSSCH subframes sent and received to obtain their respective CSIs.
  • the first communication data or the second communication data may be a data communication subframe containing multiple channel measurement pilot symbols generated according to the communication protocol, and the CSI may be the measured channel frequency domain amplitude response characteristics on each subcarrier.
  • both parties may obtain 4 segments of CSI corresponding to 2, 5, 8, and 11 DMRS symbols in the uplink and downlink PSSCH subframes, respectively.
  • the system sampling rate may be set to 30.72MHz, and the carrier frequencies of the transmitting and receiving ends may operate at 5.9Ghz.
  • the Internet of Vehicles channel model adopts the TDL-D model defined in the 3GPP TR 38.901 standard, which can restore real mobile wireless channels in urban streets and open areas.
  • the CSI obtained by channel estimation in the embodiment of the present application is further described below based on FIG. 4 .
  • Figure 4 is a frequency domain subcarrier amplitude response channel characteristic diagram of a vehicle network encryption communication method provided in an embodiment of the present application. Specifically, the first terminal and the second terminal obtain DMRS symbols corresponding to symbols 2, 5, 8, and 11 in the PSSCH subframe, estimate 4 segments of CSI, and the obtained wireless channel frequency domain characteristics can be shown in Figure 4.
  • the horizontal axis represents the subcarrier and the vertical axis represents the amplitude.
  • the wireless channel frequency domain characteristics obtained by the first terminal and the second terminal due to various factors such as channel time variation, environmental interference, and hardware fingerprints, there will be certain differences in the wireless channel frequency domain characteristics obtained by the first terminal and the second terminal.
  • the CSI obtained by channel measurement may be an amplitude response on each subcarrier obtained by using an LS channel estimation algorithm, expressed as The calculation method is shown in the following formula:
  • R(n) i is the DMRS sequence of the received PSSCH subframe
  • S(n) i is the original DMRS sequence of the transmitter without channel transmission.
  • the CSI of the 8th DMRS symbol bit of the uplink of the first terminal may be taken as the input signal, and the CSI of the 11th DMRS symbol bit of the uplink of the first terminal may be taken as the reference signal.
  • Step S302 Determine parameter information based on the CSI of the last two channel measurement pilot symbols.
  • the first terminal can calculate the coefficients of the Wiener filter using the channel response estimated by the last two pilot symbols received for channel measurement.
  • the communication system includes multiple pilot symbols in a subframe, and the first terminal can use the last two pilot symbols used for channel measurement in the subframe to estimate the channel response.
  • the communication system only includes one pilot symbol in a subframe, and the first terminal can use the pilot symbols used for channel measurement in the two most recently received subframes to estimate the channel response.
  • the first terminal and the second terminal obtain DMRS symbols corresponding to symbols 2, 5, 8, and 11 in the PSSCH subframe and estimate the frequency domain characteristics of the wireless channel of 4 CSI segments
  • the first terminal can use the two CSI segments at the 8th and 11th DMRS symbol positions on the uplink to calculate the coefficients of the Wiener filter.
  • step S302 may include: determining an autocorrelation function of an input signal; determining a cross-correlation function of an input signal and a reference signal; and determining parameter information based on the autocorrelation function and the cross-correlation function.
  • the results of the two-stage channel estimation of the first terminal may be the input signal x(n) and the reference signal s(n) described in step S301, respectively.
  • Wiener filtering uses the minimum mean square error criterion, that is, it requires that the mean square error e 2 (n) between the reference signal s(n) and the input signal x(n) after passing through the filter is minimized.
  • R xx is the autocorrelation function of the input signal x(n)
  • R xs is the cross-correlation function of the input signal x(n) and the reference signal s(n).
  • Step S203 construct a filter based on the parameter information.
  • a finite impulse response (FIR) Wiener filter may be constructed based on the parameter information.
  • H may be one-dimensional and the whole may correspond to the impulse response of the filter.
  • the order of the filter may be set to the length of the channel estimation sequence, i.e., the CSI sequence.
  • Step S204 input the second communication data into the filter to obtain predicted communication data.
  • the CSI of the last channel measurement pilot symbol among the received multiple channel measurement pilot symbols may be input into a filter to obtain predicted communication data.
  • the predicted communication data may be a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal.
  • the predicted communication data may be an interpolated predicted value of the CSI of the first segment pilot symbol position of the channel measurement received by the second terminal after the time interval specified by the communication protocol.
  • the second terminal may be used to generate a second key based on the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data.
  • the first terminal can use the CSI of the 11th DMRS symbol bit of the uplink as the input of the filter, and output the interpolated prediction value of the CSI of the 2nd DMRS symbol of the downlink of the second terminal as the predicted communication data.
  • the predicted communication data can be used as a random source for subsequent key generation of the first terminal.
  • step S204 is further described below based on FIG. 5 .
  • FIG5 is a schematic diagram of a third process of a vehicle networking encryption communication device provided in an embodiment of the present application.
  • the exemplary process of step S204 may include:
  • Step S501 input the CSI of the last channel measurement pilot symbol into a filter to obtain an output sequence.
  • the CSI of the last channel measurement pilot symbol among the received multiple channel measurement pilot symbols may be input into a filter to obtain predicted communication data.
  • Step S502 when the channel subframe interval meets the first preset condition, the output sequence is determined as predicted communication data.
  • the output sequence may be determined as predicted communication data.
  • the channel subframe interval may be a subframe interval of the first communication data received by the second terminal. The interval between the symbol position of the first channel measurement pilot symbol received by the first terminal and the symbol position of the last channel measurement pilot symbol received by the first terminal.
  • the first preset condition may be that the channel subframe interval is less than or equal to the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter.
  • the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter may be the interval between the symbol position of the second-to-last channel measurement pilot symbol received by the first terminal and the symbol position of the last channel measurement pilot symbol.
  • Step S503 when the channel subframe interval meets the second preset condition, construct a linear function based on the output sequence and the reference signal.
  • a linear function may be constructed based on the output sequence and the reference signal.
  • the linear function can be as follows:
  • the channel subframe interval may be an interval between a symbol position of a first channel measurement pilot symbol in the first communication data received by the second terminal and a symbol position of a last channel measurement pilot symbol received by the first terminal.
  • the second preset condition may be that the channel subframe interval is greater than the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter.
  • the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter may be the interval between the symbol position of the second-to-last channel measurement pilot symbol received by the first terminal and the symbol position of the last channel measurement pilot symbol.
  • Step S504 Determine predicted communication data based on the linear function.
  • the predicted communication data when the channel subframe interval meets the second preset condition, can be determined based on a linear function.
  • the p(n) sequence determined in step S503 according to the output sequence and the reference signal can be determined as the predicted communication data according to the linear function in step S503.
  • the step S204 is further described below based on FIG. 6 , FIG. 7 , and FIG. 8 .
  • Figure 6 is a diagram of the channel correlation coefficient with and without Wiener filter interpolation at different channel measurement subframe intervals for a method for encrypted communication in an Internet of Vehicles provided in an embodiment of the present application.
  • Figure 6 illustrates the channel correlation coefficient with and without Wiener filter interpolation at different channel measurement subframe intervals.
  • the horizontal axis represents the channel measurement subframe interval
  • the vertical axis represents the channel correlation coefficient
  • the upper broken line data and the lower broken line data are the data after Wiener filtering and the data corresponding to the original data, respectively.
  • Wiener filter interpolation can improve the channel correlation coefficient, that is, channel reciprocity, at different channel measurement subframe intervals.
  • Figure 7 is a frequency domain subcarrier amplitude response channel characteristic diagram after Wiener filter interpolation prediction of a vehicle network encryption communication method provided by an embodiment of the present application
  • Figure 8 is a multiple comparison diagram of channel correlation coefficients after Wiener filter interpolation prediction and without preprocessing of a vehicle network encryption communication method provided by an embodiment of the present application.
  • Figure 7 illustrates the frequency domain subcarrier amplitude response channel characteristic diagram after Wiener filter interpolation prediction of the present invention, and the horizontal and vertical coordinates of Figure 7 have the same meaning as those of Figure 4
  • Figure 8 illustrates a comparison diagram of channel correlation coefficients after multiple Wiener filter interpolation predictions and without preprocessing, and the horizontal and vertical coordinates of Figure 8 have the same meaning as those of Figure 6.
  • Figures 7 and 8 effectively reflect that the scheme can improve the channel correlation coefficient under channel conditions in different environments.
  • Step S205 Generate a first key based on the predicted communication data.
  • the second terminal is used to generate a second key based on the first communication data.
  • the first terminal may generate the first key using the predicted communication data.
  • the first terminal may generate the first key using the interpolated predicted value of the CSI determined in step S204.
  • the second terminal may generate the second key using the target communication data, that is, the CSI of the second DMRS symbol.
  • the secret key and the second secret key may be binary keys having the same number of bits.
  • the first terminal and the second terminal may normalize the predicted communication data and the target communication data to the interval [0,1] respectively, and then divide the threshold into N quantization intervals according to the preset threshold rule, and generate binary keys with the same number of bits through the preset coding rule, which are the first key and the second key respectively.
  • the preset threshold rule may be a median threshold rule, or an equal division threshold rule, etc., which is not limited to this in the embodiments of the present application.
  • the preset coding rule may be a Gray code mapping rule, or other coding rules such as a mapping rule that increases by binary value, which is not limited to this in the embodiments of the present application.
  • FIG9 is a comparison chart of the key inconsistency rate after Wiener filter interpolation prediction and without preprocessing of a vehicle network encryption communication method provided by an embodiment of the present application. Specifically, FIG9 compares the key inconsistency rate after Wiener filter interpolation prediction and without preprocessing.
  • the horizontal axis represents the number of simulations
  • the vertical axis represents the inconsistency rate of the keys generated by both parties. According to the diagram in FIG9, it can be seen that the Wiener filter interpolation prediction can effectively reduce the inconsistency rate of the keys generated by both parties.
  • Step S206 Encrypt the target message using the first key, and send the encrypted target message to the second terminal.
  • the second terminal is used to decrypt the target message based on the second key.
  • the first terminal can use the generated first key to encrypt the target message and send it to the second terminal, and the second terminal can use the generated second key to decrypt the encrypted target message to obtain the decrypted target message.
  • the first terminal and the second terminal can compare the inconsistency rate of the first key and the second key and the mutual correlation coefficient of the CSI.
  • the first key or the second key may be an asymmetric private key.
  • the first key may be denoted as K A and the second key may be denoted as K B.
  • the first terminal may encrypt the target information M to be sent by using an information encryption processing method shared by both parties in legal communication to obtain encrypted information M′, and then encrypt the encrypted information M′ by using a channel error correction coding algorithm.
  • the second terminal can perform an XOR operation on the received sequence S and the asymmetric private key KB to decode the information S′, and then decrypt the information S′ through a channel error correction decoding algorithm to obtain the information M′.
  • the second terminal decrypts the information M′ through the information decryption processing method shared by both parties in legal communication to obtain the target information M transmitted by the first terminal.
  • an embodiment of the present invention proposes a vehicle network encryption communication method, which specifically includes a vehicle network channel reciprocity enhancement and key generation method based on Wiener filter extrapolation prediction.
  • a vehicle network encryption communication method of an embodiment of the present application after each of the communicating parties completes the channel estimation process, they can use the result of the most recent secondary channel estimation to construct a Wiener filter that reflects the time-varying process of the channel on the side of the vehicle network terminal, and input the most recent channel estimation value based on the constructed Wiener filter and predict the channel estimation result at the position of the other party's received signal, thereby realizing compensation for channel reciprocity.
  • the mutual correlation coefficient of the channel can be improved.
  • one party of the communication uses the predicted channel estimation result as a random source for generating a key
  • the other party uses the actually measured channel estimation result as a random source for generating a key
  • the keys are generated after quantization respectively. Thanks to the result of the Wiener filter extrapolation prediction, the inconsistency rate of the generated key can be reduced, and ultimately better performance of secure information transmission of shared wireless channel characteristics can be achieved, which has good practicality.
  • FIG10 is a second structural schematic diagram of a vehicle networking encryption communication device provided by the embodiment of the present application.
  • the vehicle networking encryption communication device 1000 may include:
  • the transceiver module 1001 is used to send first communication data to the second terminal according to a preset communication protocol, and receive second communication data sent by the second terminal; the second terminal is used to generate a second key based on the first communication data;
  • a parameter module 1002 configured to determine parameter information of a filter according to the second communication data
  • a prediction module 1004 configured to input the second communication data into a filter to obtain predicted communication data
  • a key generation module 1005, configured to generate a first key based on the predicted communication data
  • the encryption module 1006 is used to encrypt the target message using the first key, and send the encrypted target message to the second terminal; the second terminal is used to decrypt the target message based on the second key.
  • the transceiver module 1001 is used to: send broadcast frame data to the second terminal; send first communication data to the second terminal based on a preset time slot, and receive second communication data sent by the second terminal based on the preset time slot.
  • the communication subframe data includes communication subframe data including multiple channel measurement pilot symbols generated according to a preset communication protocol.
  • the parameter module 1002 is used to: determine the wireless channel state information CSI of the latter two channel measurement pilot symbols according to the communication subframe data of the latter two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data; and determine the parameter information based on the CSI of the latter two channel measurement pilot symbols.
  • the prediction module 1004 is used to: input the CSI of the last channel measurement pilot symbol into the filter to obtain predicted communication data; wherein the predicted communication data is a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal; the second terminal is used to generate a second key based on the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data.
  • the CSI includes amplitude response information of the channel.
  • the prediction module 1004 is used to: perform channel estimation based on the communication subframe data of the last two channel measurement pilot symbols, obtain the communication subframe data of the last two channel measurement pilot symbols, and determine them as input signals and reference signals respectively; determine the autocorrelation function of the input signal; determine the cross-correlation function of the input signal and the reference signal; and determine parameter information based on the autocorrelation function and the cross-correlation function.
  • the prediction module 1004 is used to: input the CSI of the last channel measurement pilot symbol into the filter to obtain an output sequence; when the channel subframe interval meets the first preset condition, determine the output sequence as the predicted communication data; when the channel subframe interval meets the second preset condition, construct a linear function based on the output sequence and the reference signal; based on The linear function determines the predicted communication data; wherein the channel subframe interval is the interval between the symbol position of the first channel measurement pilot symbol in the first communication data received by the second terminal and the symbol position of the last channel measurement pilot symbol received by the first terminal.
  • the device embodiments and method embodiments provided in the embodiments of the present application may be based on the same concept.
  • an embodiment of the present disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the above-mentioned Internet of Vehicles encryption communication method.
  • FIG. 11 is a hardware structure block diagram of a server of the vehicle networking encryption communication method provided in the embodiments of the present application.
  • the server 1100 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1111 (the central processing unit 1111 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, and one or more storage media 1120 (such as one or more mass storage devices) for storing application programs 1123 or data 1122.
  • CPU central processing unit
  • the central processing unit 1111 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA
  • a memory 1130 for storing data
  • storage media 1120 such as one or more mass storage devices
  • the memory 1130 and the storage medium 1120 can be short-term storage or persistent storage.
  • the program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instruction operations on the server.
  • the CPU 1111 may be configured to communicate with the storage medium 1120 and execute a series of instruction operations in the storage medium 1120 on the server 1100.
  • the server 1100 may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input and output interfaces 1140, and/or one or more operating systems 1121, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • the input/output interface 1140 may be used to receive or send data via a network.
  • a specific example of the network may include a wireless network provided by a communication provider of the server 1100.
  • the input/output interface 1140 includes a network adapter. Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the input and output interface 1140 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
  • RF radio frequency
  • the structure shown in FIG11 is merely illustrative and does not limit the structure of the electronic device.
  • the server 1100 may include more or fewer components than those shown in FIG11 , or may have a different configuration than that shown in FIG11 .
  • the present application implements a storage medium, which can be set in a server to store at least one instruction, at least one program, code set or instruction set related to the vehicle network encryption communication method in the method embodiment.
  • the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the above-mentioned vehicle network encryption communication method.
  • the storage medium may be located in at least one of the multiple network servers of the computer network.
  • the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a mobile hard disk, a magnetic disk, or an optical disk.
  • connection should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be a connection between two elements or an interaction relationship between two elements.
  • connection should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be a connection between two elements or an interaction relationship between two elements.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided in the embodiments of the present application are an Internet-of-Vehicles encryption communication method and apparatus, and an electronic device and a storage medium. The method comprises: sending first communication data to a second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal; determining parameter information of a filter according to the second communication data; constructing the filter on the basis of the parameter information; inputting the second communication data into the filter to obtain predicted communication data; generating a first key on the basis of the predicted communication data; using the first key to encrypt target information, and sending the encrypted target information to the second terminal, the second terminal being used for generating a second key on the basis of the first communication data; and decrypting the target information on the basis of the second key. By means of the Internet-of-Vehicles encryption communication method in the embodiments of the present application, the channel reciprocity can be improved, and the consistency rate of keys of two communication parties can also be increased.

Description

一种车联网加密通信方法、装置、电子设备及存储介质A method, device, electronic device and storage medium for encrypted communication in an internet of vehicles 技术领域Technical Field

本发明涉及信息安全技术领域,尤其涉及一种车联网加密通信方法、装置、电子设备及存储介质。The present invention relates to the field of information security technology, and in particular to an Internet of Vehicles encrypted communication method, device, electronic equipment and storage medium.

背景技术Background Art

无线通信技术的发展为车联网中的无线安全带来了新的挑战。物理层无线密钥生成是一种利用无线信道的互易性、时变性和空间性来产生密钥并对信息加密的物理层安全防护技术,其算法复杂度较低,功耗小,尤其适合于分布式的车载网络。车联网无线信道密钥生成中的通信双方利用车载终端之间无线信道的随机性、时变性和短暂的互易性,测量得到共同的信道特征作为随机源来生成密钥。The development of wireless communication technology has brought new challenges to wireless security in the Internet of Vehicles. Physical layer wireless key generation is a physical layer security protection technology that uses the reciprocity, time-varying and spatial properties of wireless channels to generate keys and encrypt information. Its algorithm complexity is low and power consumption is low, making it particularly suitable for distributed vehicle networks. In the wireless channel key generation of the Internet of Vehicles, the communicating parties use the randomness, time-varying and short-term reciprocity of the wireless channel between the vehicle terminals to measure the common channel characteristics as a random source to generate keys.

在传统的无线密钥生成系统研究中,考虑的多为静态或者缓慢移动环境下的信道。现有的加密通信方法直接利用信道估计得到的CSI进行密钥生成,然而在终端移动速度较快的车联网环境中,信道具有较强的时变性,信道互易性较差,因此现有方案中通信双方初始密钥的密钥不一致率较高,进而降低了加密通信的性能和效率。In the traditional research on wireless key generation systems, channels in static or slow-moving environments are mostly considered. Existing encryption communication methods directly use CSI obtained by channel estimation to generate keys. However, in the Internet of Vehicles environment where the terminal moves at a fast speed, the channel has strong time-varying characteristics and poor channel reciprocity. Therefore, the inconsistency rate of the initial keys of the communicating parties in the existing scheme is high, which reduces the performance and efficiency of encrypted communication.

发明内容Summary of the invention

针对现有技术存在的缺陷,本公开实施例提供一种车联网加密通信方法、装置、电子设备及存储介质,可以提高信道互易性,并且提高通信双方的密钥一致率。In view of the defects of the prior art, the embodiments of the present disclosure provide a method, device, electronic device and storage medium for Internet of Vehicles encrypted communication, which can improve channel reciprocity and increase the key consistency rate between the communicating parties.

本申请实施例提供一种车联网加密通信方法,应用于第一终端,方法包括:按照预设通信协议向第二终端发送第一通信数据,并接收第二终端发送的第二通信数据;根据第二通信数据确定滤波器的参数信息;基于参数信息构建滤波器;将第二通信数据输入滤波器,得到 预测通信数据;基于预测通信数据生成第一密钥;使用第一密钥对目标信息进行加密,将加密后的目标信息发送至第二终端;第二终端用于基于第一通信数据生成第二密钥;并基于第二密钥对目标信息进行解密。The embodiment of the present application provides a vehicle networking encryption communication method, which is applied to a first terminal, and the method includes: sending first communication data to a second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal; determining parameter information of a filter according to the second communication data; constructing a filter based on the parameter information; inputting the second communication data into the filter, and obtaining Predicting communication data; generating a first key based on the predicted communication data; encrypting target information using the first key, and sending the encrypted target information to a second terminal; the second terminal is used to generate a second key based on the first communication data; and decrypting the target information based on the second key.

可选的,按照预设通信协议向第二终端发送第一通信数据,并接收第二终端发送的第二通信数据,包括:向第二终端发送广播帧数据;基于预设时隙向第二终端发送第一通信数据,并接收第二终端基于预设时隙发送的第二通信数据。Optionally, sending first communication data to the second terminal according to a preset communication protocol and receiving second communication data sent by the second terminal include: sending broadcast frame data to the second terminal; sending the first communication data to the second terminal based on a preset time slot, and receiving second communication data sent by the second terminal based on the preset time slot.

可选的,通信子帧数据包括根据预设通信协议生成的包含多个信道测量导频符号的通信子帧数据。根据第二通信数据确定滤波器的参数信息,包括:根据第二通信数据中的多个信道测量导频符号中后两个信道测量导频符号的通信子帧数据,确定后两个信道测量导频符号的无线信道状态信息CSI;基于后两个信道测量导频符号的CSI确定参数信息。Optionally, the communication subframe data includes communication subframe data including multiple channel measurement pilot symbols generated according to a preset communication protocol. Determining the parameter information of the filter according to the second communication data includes: determining the wireless channel state information CSI of the latter two channel measurement pilot symbols according to the communication subframe data of the latter two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data; and determining the parameter information based on the CSI of the latter two channel measurement pilot symbols.

可选的,将第二通信数据输入滤波器,得到预测通信数据,包括:将最后一个信道测量导频符号的CSI输入滤波器,得到预测通信数据;其中,预测通信数据是对第二终端确定的第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI的预测值;第二终端用于基于第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI生成第二密钥。Optionally, the second communication data is input into the filter to obtain predicted communication data, including: inputting the CSI of the last channel measurement pilot symbol into the filter to obtain predicted communication data; wherein the predicted communication data is a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal; the second terminal is used to generate a second key based on the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data.

可选的,CSI包括信道的幅度响应信息。根据第二通信数据中的多个信道测量导频符号中后两个信道测量导频符号的通信子帧数据,确定后两个信道测量导频符号的无线信道状态信息CSI,包括:根据后两个信道测量导频符号的通信子帧数据进行信道估计,得到后两个信道测量导频符号的通信子帧数据,并分别确定为输入信号和参考信号。基于后两个信道测量导频符号的CSI确定参数信息,包括:确定输入信号的自相关函数;确定输入信号和参考信号的互相关函数;基于自相关函数和互相关函数,确定参数信息。Optionally, the CSI includes amplitude response information of the channel. According to the communication subframe data of the last two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data, the wireless channel state information CSI of the last two channel measurement pilot symbols is determined, including: performing channel estimation according to the communication subframe data of the last two channel measurement pilot symbols, obtaining the communication subframe data of the last two channel measurement pilot symbols, and determining them as the input signal and the reference signal respectively. Determining parameter information based on the CSI of the last two channel measurement pilot symbols includes: determining the autocorrelation function of the input signal; determining the cross-correlation function of the input signal and the reference signal; determining parameter information based on the autocorrelation function and the cross-correlation function.

可选的,将最后一个信道测量导频符号的CSI输入滤波器,得到 预测通信数据,包括:将最后一个信道测量导频符号的CSI输入滤波器,得到输出序列;在信道子帧间隔满足第一预设条件的情况下,将输出序列确定为预测通信数据;在信道子帧间隔满足第二预设条件的情况下,基于输出序列和参考信号构建线性函数;基于线性函数确定预测通信数据;其中,信道子帧间隔为第二终端接收到的第一通信数据中的第一个信道测量导频符号的符号位置和第一终端接收到的最后一个信道测量导频符号的符号位置的间隔。Optionally, the CSI of the last channel measurement pilot symbol is input into the filter to obtain Predicting communication data, including: inputting the CSI of the last channel measurement pilot symbol into a filter to obtain an output sequence; determining the output sequence as predicted communication data when the channel subframe interval meets a first preset condition; constructing a linear function based on the output sequence and a reference signal when the channel subframe interval meets a second preset condition; determining the predicted communication data based on the linear function; wherein the channel subframe interval is an interval between a symbol position of a first channel measurement pilot symbol in the first communication data received by the second terminal and a symbol position of a last channel measurement pilot symbol received by the first terminal.

可选的,滤波器包括维纳滤波器。Optionally, the filter comprises a Wiener filter.

相应地,本申请实施例提供一种车联网通信装置,应用于第一终端,装置包括:Accordingly, an embodiment of the present application provides a vehicle networking communication device, which is applied to a first terminal, and the device includes:

收发模块,用于按照预设通信协议向第二终端发送第一通信数据,并接收第二终端发送的第二通信数据;第二终端用于基于第一通信数据生成第二密钥;The transceiver module is used to send the first communication data to the second terminal according to the preset communication protocol, and receive the second communication data sent by the second terminal; the second terminal is used to generate a second key based on the first communication data;

参数模块,用于根据第二通信数据确定滤波器的参数信息;A parameter module, used to determine parameter information of the filter according to the second communication data;

构建模块,用于基于参数信息构建滤波器;A construction module, for constructing a filter based on parameter information;

预测模块,用于将第二通信数据输入滤波器,得到预测通信数据;A prediction module, used for inputting the second communication data into a filter to obtain predicted communication data;

密钥生成模块,用于基于预测通信数据生成第一密钥;A key generation module, used to generate a first key based on the predicted communication data;

加密模块,用于使用第一密钥对目标信息进行加密,将加密后的目标信息发送至第二终端;第二终端用于基于第二密钥对目标信息进行解密。The encryption module is used to encrypt the target information using the first key and send the encrypted target information to the second terminal; the second terminal is used to decrypt the target information based on the second key.

可选的,收发模块用于:向第二终端发送广播帧数据;基于预设时隙向第二终端发送第一通信数据,并接收第二终端基于预设时隙发送的第二通信数据。Optionally, the transceiver module is used to: send broadcast frame data to the second terminal; send first communication data to the second terminal based on a preset time slot, and receive second communication data sent by the second terminal based on the preset time slot.

可选的,通信子帧数据包括根据预设通信协议生成的包含多个信道测量导频符号的通信子帧数据。参数模块用于:根据第二通信数据中的多个信道测量导频符号中后两个信道测量导频符号的通信子帧数据,确定后两个信道测量导频符号的无线信道状态信息CSI;基于后两个信道测量导频符号的CSI确定参数信息。Optionally, the communication subframe data includes communication subframe data including multiple channel measurement pilot symbols generated according to a preset communication protocol. The parameter module is used to: determine the wireless channel state information CSI of the latter two channel measurement pilot symbols according to the communication subframe data of the latter two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data; and determine the parameter information based on the CSI of the latter two channel measurement pilot symbols.

可选的,预测模块用于:将最后一个信道测量导频符号的CSI 输入滤波器,得到预测通信数据;其中,预测通信数据是对第二终端确定的第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI的预测值;第二终端用于基于第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI生成第二密钥。Optionally, the prediction module is used to: calculate the CSI of the last channel measurement pilot symbol An input filter is used to obtain predicted communication data; wherein the predicted communication data is a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal; and the second terminal is used to generate a second key based on the CSI of the first channel measurement pilot symbol among the multiple channel measurement pilot symbols in the first communication data.

可选的,CSI包括信道的幅度响应信息。预测模块用于:根据后两个信道测量导频符号的通信子帧数据进行信道估计,得到后两个信道测量导频符号的通信子帧数据,并分别确定为输入信号和参考信号;确定输入信号的自相关函数;确定输入信号和参考信号的互相关函数;基于自相关函数和互相关函数,确定参数信息。Optionally, the CSI includes amplitude response information of the channel. The prediction module is used to: perform channel estimation based on the communication subframe data of the last two channel measurement pilot symbols, obtain the communication subframe data of the last two channel measurement pilot symbols, and determine them as input signals and reference signals respectively; determine the autocorrelation function of the input signal; determine the cross-correlation function of the input signal and the reference signal; and determine parameter information based on the autocorrelation function and the cross-correlation function.

可选的,预测模块用于:将最后一个信道测量导频符号的CSI输入滤波器,得到输出序列;在信道子帧间隔满足第一预设条件的情况下,将输出序列确定为预测通信数据;在信道子帧间隔满足第二预设条件的情况下,基于输出序列和参考信号构建线性函数;基于线性函数确定预测通信数据;其中,信道子帧间隔为第二终端接收到的第一通信数据中的第一个信道测量导频符号的符号位置和第一终端接收到的最后一个信道测量导频符号的符号位置的间隔。Optionally, the prediction module is used to: input the CSI of the last channel measurement pilot symbol into the filter to obtain an output sequence; when the channel subframe interval meets the first preset condition, determine the output sequence as the predicted communication data; when the channel subframe interval meets the second preset condition, construct a linear function based on the output sequence and the reference signal; determine the predicted communication data based on the linear function; wherein the channel subframe interval is the interval between the symbol position of the first channel measurement pilot symbol in the first communication data received by the second terminal and the symbol position of the last channel measurement pilot symbol received by the first terminal.

相应地,本公开实施例提供一种电子设备,电子设备包括处理器和存储器,存储器中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述的车联网加密通信方法。Accordingly, an embodiment of the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the above-mentioned Internet of Vehicles encryption communication method.

相应地,本公开实施例提供一种计算机可读存储介质,存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述的车联网加密通信方法。Accordingly, an embodiment of the present disclosure provides a computer-readable storage medium, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the above-mentioned Internet of Vehicles encrypted communication method.

本申请实施例具有如下有益效果:The embodiments of the present application have the following beneficial effects:

(1)通过本申请实施例的一种车联网加密通信方法,通信双方可以在各自完成信道估计的过程后,通过在车联网终端一侧利用最近的二次信道估计的结果构建的反应信道时变过程的维纳滤波器,并基于构建出的维纳滤波器输入最近的一次信道估计值并预测出对方接 收信号位置上信道估计结果,可以实现了信道互易性的补偿,在仿真与实际测试过程中,面对不同环境的信道条件,都能提升信道的互相关系数;(1) Through a vehicle networking encrypted communication method according to an embodiment of the present application, after each of the communicating parties has completed the channel estimation process, a Wiener filter that reflects the time-varying process of the channel is constructed by using the result of the most recent secondary channel estimation on the vehicle networking terminal side, and the most recent channel estimation value is input based on the constructed Wiener filter to predict the reception of the other party. The channel estimation result at the receiving signal position can realize the compensation of channel reciprocity. In the simulation and actual test process, facing the channel conditions in different environments, the channel correlation coefficient can be improved;

(2)通过通信的一方使用预测后的信道估计结果作为生成密钥的随机源,另一方使用实际测量的信道估计结果作为生成密钥的随机源,分别进行量化后生成密钥,得益于维纳滤波外插预测的结果,可以降低生成密钥的不一致率,最终实现更佳性能的共享无线信道特征的安全信息传输,具有良好的实用性。(2) One party in communication uses the predicted channel estimation result as a random source for generating a key, and the other party uses the actually measured channel estimation result as a random source for generating a key. The keys are generated after quantization respectively. Thanks to the result of Wiener filter extrapolation prediction, the inconsistency rate of generated keys can be reduced, and ultimately better performance of secure information transmission of shared wireless channel characteristics can be achieved, which has good practicality.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案和优点,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它附图。In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1是本申请实施例所提供的一种车联网加密通信方法的应用场景示意图;FIG1 is a schematic diagram of an application scenario of an Internet of Vehicles encryption communication method provided by an embodiment of the present application;

图2是本申请实施例所提供的一种车联网加密通信方法的第一流程示意图;FIG2 is a schematic diagram of a first flow chart of a vehicle networking encryption communication method provided by an embodiment of the present application;

图3是本申请实施例所提供的一种车联网加密通信方法的第二流程示意图;FIG3 is a schematic diagram of a second flow chart of a vehicle networking encryption communication method provided by an embodiment of the present application;

图4是本申请实施例所提供的一种车联网加密通信方法的频域子载波幅度响应信道特征图;FIG4 is a frequency domain subcarrier amplitude response channel characteristic diagram of a vehicle networking encryption communication method provided by an embodiment of the present application;

图5是本申请实施例所提供的一种车联网加密通信装置的第三流程示意图;FIG5 is a schematic diagram of a third flow chart of a vehicle networking encryption communication device provided in an embodiment of the present application;

图6是本申请实施例所提供的一种车联网加密通信方法的在不同信道测量子帧间隔下有无维纳滤波插值后的信道互相关系数图;6 is a channel correlation coefficient diagram with and without Wiener filter interpolation at different channel measurement subframe intervals of a vehicle networking encryption communication method provided by an embodiment of the present application;

图7是本申请实施例所提供的一种车联网加密通信方法的维纳滤波插值预测后的频域子载波幅度响应信道特征图; 7 is a frequency domain subcarrier amplitude response channel characteristic diagram after Wiener filter interpolation prediction of a vehicle networking encryption communication method provided in an embodiment of the present application;

图8是本申请实施例所提供的一种车联网加密通信方法的维纳滤波插值预测后与无预处理时信道互相关系数多次对比图;FIG8 is a multiple comparison diagram of channel cross-correlation coefficients after Wiener filter interpolation prediction and without preprocessing in a vehicle networking encryption communication method provided by an embodiment of the present application;

图9是本申请实施例所提供的一种车联网加密通信方法的维纳滤波插值预测后与无预处理时密钥不一致率对比图;9 is a comparison chart of the key inconsistency rate after Wiener filter interpolation prediction and without preprocessing of a vehicle networking encryption communication method provided in an embodiment of the present application;

图10是本申请实施例所提供的一种车联网加密通信装置的结构示意图;FIG10 is a schematic diagram of the structure of an Internet of Vehicles encryption communication device provided in an embodiment of the present application;

图11是本申请实施例所提供的一种车联网加密通信方法的服务器的硬件结构框图。FIG11 is a hardware structure block diagram of a server of a vehicle networking encryption communication method provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。显然,所描述的实施例仅仅是本申请一个实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical scheme and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiment is only one embodiment of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

此处所称的“实施例”是指可包含于本申请至少一个实现方式中的特定特征、结构或特性。在本申请实施例的描述中,需要理解的是,术语“上”、“下”、“左”、“右”、“顶”、“底”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置/系统或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含的包括一个或者更多个该特征。而且,术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请实施例能够以除了在这里图示或描述以外的顺序实施。此外,术语“包括”和“具有”/“为”以及他们/其的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元/模块 的过程、方法、系统/装置、产品或设备不必限于清楚地列出的那些步骤或单元/模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元/模块。The "embodiment" referred to herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present application. In the description of the embodiments of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "top", "bottom", etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device/system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present application. The terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may include one or more of the features explicitly or implicitly. Moreover, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here. In addition, the terms "comprise", "have"/"are" and any variations thereof are intended to cover a non-exclusive inclusion, for example, comprising a series of steps or units/modules. The processes, methods, systems/apparatus, products or apparatuses are not necessarily limited to those steps or units/modules explicitly listed, but may include other steps or units/modules not explicitly listed or inherent to such processes, methods, products or apparatuses.

下面介绍本申请提供的一种车联网加密通信方法的具体实施例。请参阅图1,图1是本申请实施例所提供的一种车联网加密通信方法的应用场景示意图。如图1所示,包括车辆101以及车辆101所包含的一个或者多个传感器1011、一个或者多个控制器1012。The following describes a specific embodiment of a vehicle networking encryption communication method provided by the present application. Please refer to Figure 1, which is a schematic diagram of an application scenario of a vehicle networking encryption communication method provided by an embodiment of the present application. As shown in Figure 1, a vehicle 101 and one or more sensors 1011 and one or more controllers 1012 included in the vehicle 101 are included.

可选的,车辆101可以包括传感器1011,用于感知周围环境。传感器1011可以包括下列传感器中的一个或多个:超声波传感器、毫米波雷达、激光雷达(LiDAR)、视觉摄像头以及红外摄像头。不同的传感器可以提供不同的检测精度和范围。超声波传感器可以安装在车辆的四周,用于利用超声波方向性强等特点来测量车外物体距车辆的距离。毫米波雷达可以安装在车辆的前方、后方或其他位置,用于利用电磁波的特性测量车外物体距车辆的距离。激光雷达可以安装在车辆的前方、后方或其他位置,用于检测物体边缘、形状信息,从而进行物体识别和追踪。由于多普勒效应,雷达装置还可以测量车辆与移动物体的速度变化。摄像头可以安装在车辆的前方、后方或其他位置。视觉摄像头可以实时捕获车辆内外的情况并呈现给驾驶员和/或乘客。此外,通过对视觉摄像头捕获的画面进行分析,可以获取诸如交通信号灯指示、交叉路口情况、其他车辆运行状态等信息。红外摄像头可以在夜视情况下捕捉物体。Optionally, the vehicle 101 may include a sensor 1011 for sensing the surrounding environment. The sensor 1011 may include one or more of the following sensors: an ultrasonic sensor, a millimeter wave radar, a laser radar (LiDAR), a visual camera, and an infrared camera. Different sensors may provide different detection accuracy and range. Ultrasonic sensors may be installed around the vehicle to measure the distance of an object outside the vehicle from the vehicle by utilizing the characteristics of strong ultrasonic directionality. Millimeter wave radars may be installed in front of, behind, or at other locations of the vehicle to measure the distance of an object outside the vehicle from the vehicle by utilizing the characteristics of electromagnetic waves. Laser radars may be installed in front of, behind, or at other locations of the vehicle to detect object edges and shape information, thereby performing object recognition and tracking. Due to the Doppler effect, the radar device may also measure the speed change of the vehicle and the moving object. The camera may be installed in front of, behind, or at other locations of the vehicle. The visual camera may capture the situation inside and outside the vehicle in real time and present it to the driver and/or passengers. In addition, by analyzing the images captured by the visual camera, information such as traffic light indications, intersection conditions, and the operating status of other vehicles may be obtained. Infrared cameras may capture objects in night vision conditions.

可选的,车辆101可以包括控制器1012。控制器1012可以包括与各种类型的计算机可读存储装置或介质通信的处理器,例如中央处理单元(CPU)或图形处理单元(GPU),或者其他的专用处理器等。计算机可读存储装置或介质可以包括任何非暂时性存储设备,非暂时性存储设备可以是非暂时性的并且可以实现数据存储的任何存储设备,并且可以包括但不限于磁盘驱动器、光学存储设备、固态存储器、软盘、柔性盘、硬盘、磁带或任何其他磁介质,光盘或任何其他光学介质、只读存储器(ROM)、随机存取存储器(RAM)、高速 缓冲存储器和/或任何其他存储器芯片或盒、和/或计算机可从其读取数据、指令和/或代码的任何其他介质。计算机可读存储装置或介质中的一些数据表示由控制器1012用于控制车辆的可执行指令。控制器1012可以包括用于自动控制车辆中的各种致动器的自动驾驶系统。在一种可选的实施方式中,控制器1012可以基于传感器1011的感知数据进行数据处理。Optionally, the vehicle 101 may include a controller 1012. The controller 1012 may include a processor that communicates with various types of computer-readable storage devices or media, such as a central processing unit (CPU) or a graphics processing unit (GPU), or other dedicated processors, etc. The computer-readable storage device or medium may include any non-transitory storage device, which may be any storage device that is non-transitory and can implement data storage, and may include but is not limited to a disk drive, an optical storage device, a solid-state memory, a floppy disk, a flexible disk, a hard disk, a magnetic tape or any other magnetic medium, an optical disk or any other optical medium, a read-only memory (ROM), a random access memory (RAM), a high-speed Buffer memory and/or any other memory chip or box, and/or any other medium from which a computer can read data, instructions and/or code. Some of the data in the computer-readable storage device or medium represents executable instructions used by the controller 1012 to control the vehicle. The controller 1012 may include an automatic driving system for automatically controlling various actuators in the vehicle. In an optional embodiment, the controller 1012 may perform data processing based on the perception data of the sensor 1011.

可选的,车辆101还可以包括通信装置1013。通信装置1013包括能够从卫星接收卫星定位信号并且基于这些信号产生坐标的卫星定位模块。通信装置1013还包括与移动通信网进行通信的模块,移动通信网络可以实施任何适合的通信技术,例如GSM/GPRS、CDMA、LTE等当前或正在不断发展的无线通信技术(例如5G技术)。通信装置1013还可以具有车联网或车联万物(Vehicle-to-Everything,V2X)模块,被配置用于实现例如与其它车辆进行车对车(Vehicle-to-Vehicle,V2V)通信和与基础设施进行车辆到基础设施(Vehicleto-Infrastructure,V2I)通信的车与外界的通信。此外,通信装置1013还可以具有被配置为例如通过使用IEEE802.11标准的无线局域网或蓝牙与用户终端(包括但不限于智能手机、平板电脑或诸如手表等可佩戴装置)进行通信的模块。利用通信装置1013,车辆101可以经由无线通信系统接入在线服务器或者云端服务器,该在线服务器或云端服务器被配置用于为车辆提供相应的数据处理、数据存储和数据传输等服务。Optionally, the vehicle 101 may also include a communication device 1013. The communication device 1013 includes a satellite positioning module capable of receiving satellite positioning signals from a satellite and generating coordinates based on these signals. The communication device 1013 also includes a module for communicating with a mobile communication network, and the mobile communication network can implement any suitable communication technology, such as GSM/GPRS, CDMA, LTE and other current or developing wireless communication technologies (such as 5G technology). The communication device 1013 may also have a vehicle network or a vehicle-to-everything (V2X) module, which is configured to realize, for example, vehicle-to-vehicle (V2V) communication with other vehicles and vehicle-to-infrastructure (V2I) communication with the infrastructure. Communication between the vehicle and the outside world. In addition, the communication device 1013 may also have a module configured to communicate with a user terminal (including but not limited to a smart phone, a tablet computer or a wearable device such as a watch) by using a wireless local area network or Bluetooth using the IEEE802.11 standard. By using the communication device 1013 , the vehicle 101 can access an online server or a cloud server via a wireless communication system. The online server or the cloud server is configured to provide corresponding data processing, data storage, data transmission and other services for the vehicle.

此外,车辆101还包括图1中未示出的用于实现机动车驾驶功能的动力总成、转向系统以及制动系统等。In addition, the vehicle 101 also includes a powertrain, a steering system, a braking system, etc. for realizing the driving function of the motor vehicle, which are not shown in FIG. 1 .

在一种可选的实施方式中,第一终端可以是车辆101,第二终端可以是其他车辆等可以基于车联网和车辆101通信的设备。方法可以包括:按照预设通信协议向第二终端发送第一通信数据,并接收第二终端发送的第二通信数据;根据第二通信数据确定滤波器的参数信息;基于参数信息构建滤波器;将第二通信数据输入滤波器,得到预测通信数据;基于预测通信数据生成第一密钥;使用第一密钥对目标信息进行加密,将加密后的目标信息发送至第二终端;第 二终端用于基于第一通信数据生成第二密钥;并基于第二密钥对目标信息进行解密。In an optional implementation, the first terminal may be the vehicle 101, and the second terminal may be another vehicle or other device that can communicate with the vehicle 101 based on the Internet of Vehicles. The method may include: sending first communication data to the second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal; determining parameter information of the filter according to the second communication data; constructing the filter based on the parameter information; inputting the second communication data into the filter to obtain predicted communication data; generating a first key based on the predicted communication data; encrypting the target information using the first key, and sending the encrypted target information to the second terminal; The second terminal is used to generate a second key based on the first communication data; and decrypt the target information based on the second key.

此外,需要说明的是,图1所示的仅仅是本公开提供的车联网加密通信方法的一种应用环境,在实际应用中,还可以包括其他应用环境,本实施例不对此做限定,本公开的车辆可以包括图1所示的车辆101的结构或者功能中的一种或多种。In addition, it should be noted that what is shown in FIG1 is only an application environment of the vehicle network encryption communication method provided by the present disclosure. In actual applications, other application environments may also be included. This embodiment is not limited to this. The vehicle disclosed in the present disclosure may include one or more of the structures or functions of the vehicle 101 shown in FIG1.

车联网无线信道密钥生成中的通信双方利用车载终端之间无线信道的随机性、时变性和短暂的互易性,测量得到共同的信道特征作为随机源来生成密钥。在信道测量步骤中,双方通过信道估计得到各自的信道状态信息(Channel State Information,CSI),信道互易性可以用皮尔逊互相关系数表示。双方信道互易性越高,则生成密钥的不一致率就越低。在传统的无线密钥生成系统研究中,考虑的多为静态或者缓慢移动环境下的信道。然而在终端移动速度较快的车联网环境中,信道具有较强的时变性,这会导致信道互易性较差。如果直接利用信道估计得到的CSI进行密钥生成,通信双方初始密钥的密钥不一致率会很高。因此,需要对CSI进行预处理,增强双方信道的互易性。In the wireless channel key generation of the Internet of Vehicles, the communicating parties use the randomness, time-varying and short-term reciprocity of the wireless channel between the vehicle terminals to measure the common channel characteristics as a random source to generate keys. In the channel measurement step, the two parties obtain their respective channel state information (CSI) through channel estimation, and the channel reciprocity can be expressed by the Pearson correlation coefficient. The higher the channel reciprocity of the two parties, the lower the inconsistency rate of the generated key. In the traditional research on wireless key generation systems, channels in static or slow-moving environments are mostly considered. However, in the Internet of Vehicles environment where the terminal moves at a fast speed, the channel has a strong time-varying property, which will lead to poor channel reciprocity. If the CSI obtained by channel estimation is directly used for key generation, the key inconsistency rate of the initial keys of the communicating parties will be very high. Therefore, it is necessary to pre-process the CSI to enhance the reciprocity of the channels of both parties.

下面介绍本申请提供的一种车联网加密通信方法的示例性流程。可选的,一种车联网加密通信方法的执行主体可以是第一终端。图2是本申请实施例提供的一种车联网加密通信方法的第一流程示意图。本说明书提供了如实施例或流程图所示的方法或者流程操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多执行顺序中的一种方式,不代表唯一的执行顺序,在实际执行时,可以按照实施例或者附图所示的方法或者流程顺序执行或者并行执行(例如并行处理器或者多线程处理的环境)。具体的如图2所示,该方法包括:The following is an exemplary process of an Internet of Vehicles encrypted communication method provided by the present application. Optionally, the executor of an Internet of Vehicles encrypted communication method may be a first terminal. Figure 2 is a schematic diagram of the first process of an Internet of Vehicles encrypted communication method provided by an embodiment of the present application. This specification provides method or process operation steps as shown in the embodiments or flow charts, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiments is only one of many execution orders and does not represent the only execution order. In actual execution, the method or process shown in the embodiments or drawings may be executed sequentially or in parallel (for example, a parallel processor or a multi-threaded processing environment). Specifically, as shown in Figure 2, the method includes:

步骤S201:按照预设通信协议向第二终端发送第一通信数据,并接收第二终端发送的第二通信数据。Step S201: sending first communication data to a second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal.

在一种可选的实施方式中,第一终端和第二终端可以是通信双方。第一终端和第二终端可以按照预设通信协议,采用时分双工模式相互 收发通信数据,即第一终端发送第一通信数据,第二终端发送第二通信数据。可选的,第一通信数据或者第二通讯数据可以包括物理侧边链路共享信道(Physical Sidelink Control ChannelPSSCH)包含信道测量导频符号的数据通信子帧。可选的,预设通信协议可以是LTE-V2X协议。In an optional implementation, the first terminal and the second terminal may be communicating parties. The first terminal and the second terminal may communicate with each other in a time division duplex mode according to a preset communication protocol. Sending and receiving communication data, that is, the first terminal sends the first communication data, and the second terminal sends the second communication data. Optionally, the first communication data or the second communication data may include a data communication subframe of a physical sidelink shared channel (Physical Sidelink Control Channel PSSCH) containing a channel measurement pilot symbol. Optionally, the preset communication protocol may be an LTE-V2X protocol.

在一种可选的实施方式中,步骤S201还可以包括:向第二终端发送广播帧数据;基于预设时隙向第二终端发送第一通信数据,并接收第二终端基于预设时隙发送的第二通信数据。可选的,预设通信协议可以约定第一终端首先于第0帧发送广播帧,第二终端检波得到第一终端发送的广播帧后,可以通过双方约定的资源分配时隙发送包含多个信道测量导频符号的数据通信子帧进行通信。可选的,第二终端可以在设定的第18帧时隙发送PSSCH子帧,第一终端随后在第19帧时隙发PSSCH子帧,其中两个PSSCH子帧所处的时隙可以根据需求任意调整,具体而言,第二终端可以在设定的第(1+n)帧时隙发送PSSCH子帧,第一终端可以在第(1+n+m)帧时隙发送PSSCH子帧,n和m可以调整。In an optional implementation, step S201 may also include: sending broadcast frame data to the second terminal; sending first communication data to the second terminal based on a preset time slot, and receiving second communication data sent by the second terminal based on the preset time slot. Optionally, the preset communication protocol may stipulate that the first terminal first sends a broadcast frame in the 0th frame, and after the second terminal detects and obtains the broadcast frame sent by the first terminal, it can send a data communication subframe containing multiple channel measurement pilot symbols through the resource allocation time slot agreed by both parties for communication. Optionally, the second terminal can send a PSSCH subframe in the set 18th frame time slot, and the first terminal then sends a PSSCH subframe in the 19th frame time slot, wherein the time slots of the two PSSCH subframes can be adjusted arbitrarily according to demand. Specifically, the second terminal can send a PSSCH subframe in the set (1+n)th frame time slot, and the first terminal can send a PSSCH subframe in the (1+n+m)th frame time slot, and n and m can be adjusted.

在一种可选的实施方式中,包含信道测量导频符号的数据通信子帧,可以是在一个子帧内包含多段的导频符号,例如LTE-V2X协议中的PSSCH信道每一个子帧中包含的4段解调参考信号(DeModulation Reference Signal,DMRS)符号;也可以是一个子帧内仅包含一段导频符号,例如802.11协议中每一个子帧中包含的用于信道估计的长导码。In an optional embodiment, a data communication subframe including channel measurement pilot symbols may be a subframe containing multiple segments of pilot symbols, such as four segments of demodulation reference signal (DMRS) symbols contained in each subframe of the PSSCH channel in the LTE-V2X protocol; or a subframe containing only one segment of pilot symbols, such as a long pilot code for channel estimation contained in each subframe in the 802.11 protocol.

步骤S202:根据第二通信数据确定滤波器的参数信息。Step S202: Determine parameter information of the filter according to the second communication data.

在一种可选的实施方式中,滤波器可以包括维纳滤波器。In an optional embodiment, the filter may include a Wiener filter.

下面基于图3进一步阐述步骤S202。Step S202 is further described below based on FIG. 3 .

图3是本申请实施例所提供的一种车联网加密通信方法的第二流程示意图。具体地可以参考图3,步骤S202的示例性流程可以包括:FIG3 is a schematic diagram of a second process of a vehicle networking encryption communication method provided by an embodiment of the present application. Specifically, referring to FIG3, the exemplary process of step S202 may include:

步骤S301:根据第二通信数据中的多个信道测量导频符号中后 两个信道测量导频符号的通信子帧数据,确定后两个信道测量导频符号的无线信道状态信息CSI。Step S301: measure the number of channels in the second communication data in the pilot symbol. The communication subframe data of the two channel measurement pilot symbols are used to determine the wireless channel state information CSI of the latter two channel measurement pilot symbols.

在一种可选的实施方式中,CSI可以包括信道的幅度响应信息。用于信道测量的PSSCH子帧在插入块状导频时每个子载波上都包含导频信号,因此将接收的DMRS序列与本地已知的原有DMRS序列进行LS信道估计即可计算得到所有子载波的信道估计值。可选的,可以根据后两个信道测量导频符号的通信子帧数据进行信道估计,得到后两个信道测量导频符号的通信子帧数据,并分别确定为输入信号和参考信号。In an optional implementation, the CSI may include the amplitude response information of the channel. The PSSCH subframe used for channel measurement contains a pilot signal on each subcarrier when the block pilot is inserted, so the channel estimation values of all subcarriers can be calculated by performing LS channel estimation on the received DMRS sequence and the locally known original DMRS sequence. Optionally, channel estimation can be performed based on the communication subframe data of the last two channel measurement pilot symbols to obtain the communication subframe data of the last two channel measurement pilot symbols, and determine them as input signals and reference signals respectively.

在一种可选的实施方式中,第一终端和第二终端均可以采用时分双工模式进行信道测量,双方就完成一对信道测量的过程后,从相互收发的PSSCH子帧解调获取各自相应的CSI。可选的,第一通信数据或者第二通信数据可以是根据通信协议生成的包含多个信道测量导频符号的数据通信子帧,CSI可以是测量得到的每个子载波上信道频域幅度响应特征。可选的,双方可以分别得到上下行PSSCH子帧中2、5、8、11个DMRS符号对应的4段CSI。可选的,系统采样率可以设为30.72MHz,发送、接收端载波频率工作在5.9Ghz。车联网信道模型采用3GPP TR 38.901标准中定义的TDL-D模型,可以还原真实的城市街道与开放区域的移动无线信道。In an optional implementation, both the first terminal and the second terminal may adopt the time division duplex mode to perform channel measurement. After completing a pair of channel measurement processes, both parties demodulate the PSSCH subframes sent and received to obtain their respective CSIs. Optionally, the first communication data or the second communication data may be a data communication subframe containing multiple channel measurement pilot symbols generated according to the communication protocol, and the CSI may be the measured channel frequency domain amplitude response characteristics on each subcarrier. Optionally, both parties may obtain 4 segments of CSI corresponding to 2, 5, 8, and 11 DMRS symbols in the uplink and downlink PSSCH subframes, respectively. Optionally, the system sampling rate may be set to 30.72MHz, and the carrier frequencies of the transmitting and receiving ends may operate at 5.9Ghz. The Internet of Vehicles channel model adopts the TDL-D model defined in the 3GPP TR 38.901 standard, which can restore real mobile wireless channels in urban streets and open areas.

下面基于图4进一步介绍本申请实施例中信道估计得到的CSI。The CSI obtained by channel estimation in the embodiment of the present application is further described below based on FIG. 4 .

图4是本申请实施例所提供的一种车联网加密通信方法的频域子载波幅度响应信道特征图。具体地,第一终端、第二终端获得PSSCH子帧中2、5、8、11个符号对应的DMRS符号,估计出4段CSI,其获得的无线信道频域特征可以如图4所示。图4中,横坐标表征子载波,纵坐标表征幅度。从图4中可以看出,由于信道时变、环境干扰以及硬件指纹等各种因素,第一终端和第二终端获得的无线信道频域特征会有一定的差异。Figure 4 is a frequency domain subcarrier amplitude response channel characteristic diagram of a vehicle network encryption communication method provided in an embodiment of the present application. Specifically, the first terminal and the second terminal obtain DMRS symbols corresponding to symbols 2, 5, 8, and 11 in the PSSCH subframe, estimate 4 segments of CSI, and the obtained wireless channel frequency domain characteristics can be shown in Figure 4. In Figure 4, the horizontal axis represents the subcarrier and the vertical axis represents the amplitude. As can be seen from Figure 4, due to various factors such as channel time variation, environmental interference, and hardware fingerprints, there will be certain differences in the wireless channel frequency domain characteristics obtained by the first terminal and the second terminal.

可选的,信道测量得到的CSI可以为采用LS信道估计算法得到的每个子载波上的幅度响应,表示为计算方法如下式所示:
Optionally, the CSI obtained by channel measurement may be an amplitude response on each subcarrier obtained by using an LS channel estimation algorithm, expressed as The calculation method is shown in the following formula:

其中,R(n)i是接收的PSSCH子帧的DMRS序列,S(n)i是发送端未经过信道传输的原始DMRS序列。Among them, R(n) i is the DMRS sequence of the received PSSCH subframe, and S(n) i is the original DMRS sequence of the transmitter without channel transmission.

在一种可选的实施方式中,可以取第一终端上行第8个DMRS符号位的CSI作为输入信号,取第一终端上行第11个DMRS符号位的CSI作为参考信号。In an optional implementation manner, the CSI of the 8th DMRS symbol bit of the uplink of the first terminal may be taken as the input signal, and the CSI of the 11th DMRS symbol bit of the uplink of the first terminal may be taken as the reference signal.

步骤S302:基于后两个信道测量导频符号的CSI确定参数信息。Step S302: Determine parameter information based on the CSI of the last two channel measurement pilot symbols.

可选的,第一终端可以利用接收到信道测量的后两段导频符号估计出的信道响应计算维纳滤波器的系数。在一种可选的实施方式中,通信系统在一个子帧内包含多段的导频符号,第一终端可以使用该子帧内用于信道测量的后两段导频符号估计出的信道响应。在另一种可选的实施方式中,通信系统在一个子帧内仅包含一段的导频符号,第一终端可以使用最新接收的二个子帧中用于信道测量的导频符号估计出信道响应。可选的,在第一终端、第二终端获得PSSCH子帧中2、5、8、11个符号对应的DMRS符号,估计出4段CSI的无线信道频域特征的实施例中,第一终端可以利用上行第8、11DMRS符号位置的两段CSI计算维纳滤波器的系数。Optionally, the first terminal can calculate the coefficients of the Wiener filter using the channel response estimated by the last two pilot symbols received for channel measurement. In an optional implementation, the communication system includes multiple pilot symbols in a subframe, and the first terminal can use the last two pilot symbols used for channel measurement in the subframe to estimate the channel response. In another optional implementation, the communication system only includes one pilot symbol in a subframe, and the first terminal can use the pilot symbols used for channel measurement in the two most recently received subframes to estimate the channel response. Optionally, in an embodiment in which the first terminal and the second terminal obtain DMRS symbols corresponding to symbols 2, 5, 8, and 11 in the PSSCH subframe and estimate the frequency domain characteristics of the wireless channel of 4 CSI segments, the first terminal can use the two CSI segments at the 8th and 11th DMRS symbol positions on the uplink to calculate the coefficients of the Wiener filter.

在一种可选的实施方式中,步骤S302可以包括:确定输入信号的自相关函数;确定输入信号和参考信号的互相关函数;基于自相关函数和互相关函数,确定参数信息。可选的,第一终端的二段信道估计的结果可以分别为步骤S301中阐述的输入信号x(n)和参考信号s(n),下面具体介绍计算维纳滤波器的参数信息的方法,参数信息可以包括滤波器的系数矩阵,记为H:In an optional implementation, step S302 may include: determining an autocorrelation function of an input signal; determining a cross-correlation function of an input signal and a reference signal; and determining parameter information based on the autocorrelation function and the cross-correlation function. Optionally, the results of the two-stage channel estimation of the first terminal may be the input signal x(n) and the reference signal s(n) described in step S301, respectively. The following specifically describes a method for calculating parameter information of a Wiener filter, and the parameter information may include a coefficient matrix of a filter, denoted as H:

维纳滤波采用最小均方误差准则,即要求参考信号s(n)与输入信号x(n)通过滤波器后的均方误差e2(n)最小。
Wiener filtering uses the minimum mean square error criterion, that is, it requires that the mean square error e 2 (n) between the reference signal s(n) and the input signal x(n) after passing through the filter is minimized.

对h求导,
Taking the derivative with respect to h,

令导数等于零,就得到N阶的维纳霍夫方程
Setting the derivative equal to zero gives the Nth-order Wienerhof equation

将j按0≤j≤N-1带入,并改写成矩阵形式,得到
RxxH=Rxs
Substitute j as 0≤j≤N-1 and rewrite it into matrix form to get
R xx H=R xs

因此维纳滤波器的系数解为
H=(Rxx)-1Rxs
Therefore, the coefficient solution of the Wiener filter is
H=(R xx )-1R xs

其中Rxx是输入信号x(n)的自相关函数,Rxs是输入信号x(n)和参考信号s(n)的互相关函数。Where R xx is the autocorrelation function of the input signal x(n), and R xs is the cross-correlation function of the input signal x(n) and the reference signal s(n).

下面基于基于图2进行阐述:The following is explained based on Figure 2:

步骤S203:基于参数信息构建滤波器。Step S203: construct a filter based on the parameter information.

在一种可选的实施方式中,可以基于参数信息构建有限长单位冲激响应滤波器(Finite Impulse Response,FIR)维纳滤波器。可选的,H可以是一维的,整体可以对应滤波器的脉冲响应。可选的,滤波器的阶数可以设为信道估计序列,即CSI序列的长度。In an optional implementation, a finite impulse response (FIR) Wiener filter may be constructed based on the parameter information. Optionally, H may be one-dimensional and the whole may correspond to the impulse response of the filter. Optionally, the order of the filter may be set to the length of the channel estimation sequence, i.e., the CSI sequence.

步骤S204:将第二通信数据输入滤波器,得到预测通信数据。Step S204: input the second communication data into the filter to obtain predicted communication data.

在一种可选的实施方式中,可以将接收到的多个信道测量的导频符号中的最后一段信道测量导频符号的CSI输入滤波器,得到预测通信数据。 In an optional implementation manner, the CSI of the last channel measurement pilot symbol among the received multiple channel measurement pilot symbols may be input into a filter to obtain predicted communication data.

其中,预测通信数据可以是针对第二终端确定的第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI的预测值。具体而言,预测通信数据可以是针对按通信协议规定的时间间隙后第二终端接收到的信道测量的第一段导频符号位置的CSI的插值预测值。可选的,第二终端可以用于基于第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI生成第二密钥。The predicted communication data may be a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal. Specifically, the predicted communication data may be an interpolated predicted value of the CSI of the first segment pilot symbol position of the channel measurement received by the second terminal after the time interval specified by the communication protocol. Optionally, the second terminal may be used to generate a second key based on the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data.

在一种可选的实施方式中,第一终端可以将上行第11个DMRS符号位的CSI作为滤波器的输入,输出对第二终端下行第2个DMRS符号CSI的插值预测值,作为预测通信数据。可选的,预测通信数据可以作为第一终端后续密钥生成的随机源。In an optional implementation, the first terminal can use the CSI of the 11th DMRS symbol bit of the uplink as the input of the filter, and output the interpolated prediction value of the CSI of the 2nd DMRS symbol of the downlink of the second terminal as the predicted communication data. Optionally, the predicted communication data can be used as a random source for subsequent key generation of the first terminal.

下面基于图5进一步阐述步骤S204的示例性流程。The exemplary process of step S204 is further described below based on FIG. 5 .

图5是本申请实施例所提供的一种车联网加密通信装置的第三流程示意图。具体地可以参考图5,在一种可选的实施方式中,步骤S204的示例性流程可以包括:FIG5 is a schematic diagram of a third process of a vehicle networking encryption communication device provided in an embodiment of the present application. Specifically, referring to FIG5, in an optional implementation, the exemplary process of step S204 may include:

步骤S501:将最后一个信道测量导频符号的CSI输入滤波器,得到输出序列。Step S501: input the CSI of the last channel measurement pilot symbol into a filter to obtain an output sequence.

在一种可选的实施方式中,可以将接收到的多个信道测量的导频符号中的最后一段信道测量导频符号的CSI输入滤波器,得到预测通信数据。In an optional implementation manner, the CSI of the last channel measurement pilot symbol among the received multiple channel measurement pilot symbols may be input into a filter to obtain predicted communication data.

可选的,计算输出CSI序列可以依据下式:
y(n)=h*s(n)
Optionally, the output CSI sequence may be calculated according to the following formula:
y(n)=h*s(n)

其中,y(n)是维纳滤波器的输出序列;h可以表征滤波器;s(n)可以是最后一个信道测量导频符号位的CSI序列,具体可以是第11个DMRS符号位的CSI序列。Among them, y(n) is the output sequence of the Wiener filter; h can represent the filter; s(n) can be the CSI sequence of the last channel measurement pilot symbol bit, specifically, it can be the CSI sequence of the 11th DMRS symbol bit.

步骤S502:在信道子帧间隔满足第一预设条件的情况下,将输出序列确定为预测通信数据。Step S502: when the channel subframe interval meets the first preset condition, the output sequence is determined as predicted communication data.

在一种可选的实施方式中,在信道子帧间隔满足第一预设条件的情况下,可以将输出序列确定为预测通信数据。In an optional implementation, when the channel subframe interval meets the first preset condition, the output sequence may be determined as predicted communication data.

可选的,信道子帧间隔可以为第二终端接收到的第一通信数据中 的第一个信道测量导频符号的符号位置和第一终端接收到的最后一个信道测量导频符号的符号位置的间隔。Optionally, the channel subframe interval may be a subframe interval of the first communication data received by the second terminal. The interval between the symbol position of the first channel measurement pilot symbol received by the first terminal and the symbol position of the last channel measurement pilot symbol received by the first terminal.

在一种可选的实施方式中,第一预设条件可以是信道子帧间隔小于或者等于第一终端用于构建维纳滤波器的二段导频位置的间隔。可选的,第一终端用于构建维纳滤波器的二段导频位置的间隔可以是第一终端接收到的倒数第二个信道测量导频符号的符号位置和最后一个信道测量导频符号的符号位置的间隔。In an optional implementation, the first preset condition may be that the channel subframe interval is less than or equal to the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter. Optionally, the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter may be the interval between the symbol position of the second-to-last channel measurement pilot symbol received by the first terminal and the symbol position of the last channel measurement pilot symbol.

步骤S503:在信道子帧间隔满足第二预设条件的情况下,基于输出序列和参考信号构建线性函数。Step S503: when the channel subframe interval meets the second preset condition, construct a linear function based on the output sequence and the reference signal.

在一种可选的实施方式中,在信道子帧间隔满足第二预设条件的情况下,可以基于输出序列和参考信号构建线性函数。In an optional implementation, when the channel subframe interval meets the second preset condition, a linear function may be constructed based on the output sequence and the reference signal.

可选的,线性函数可以如下式:
Optionally, the linear function can be as follows:

其中,ls、ly、lp分别可以是参考信号、维纳滤波器的输出序列和待预测序列在时域中的相对符号位置。具体地,参考信号可以是第一终端方第11个DMRS符号位的CSI,输出序列可以是步骤S401中确定的输出序列,待预测序列可以是第二终端方第2个DMRS符号位的CSI。Wherein, l s , l y , l p may be the relative symbol positions of the reference signal, the output sequence of the Wiener filter, and the sequence to be predicted in the time domain, respectively. Specifically, the reference signal may be the CSI of the 11th DMRS symbol bit of the first terminal, the output sequence may be the output sequence determined in step S401, and the sequence to be predicted may be the CSI of the 2nd DMRS symbol bit of the second terminal.

可选的,信道子帧间隔可以为第二终端接收到的第一通信数据中的第一个信道测量导频符号的符号位置和第一终端接收到的最后一个信道测量导频符号的符号位置的间隔。Optionally, the channel subframe interval may be an interval between a symbol position of a first channel measurement pilot symbol in the first communication data received by the second terminal and a symbol position of a last channel measurement pilot symbol received by the first terminal.

在一种可选的实施方式中,第二预设条件可以是信道子帧间隔大于第一终端用于构建维纳滤波器的二段导频位置的间隔。可选的,第一终端用于构建维纳滤波器的二段导频位置的间隔可以是第一终端接收到的倒数第二个信道测量导频符号的符号位置和最后一个信道测量导频符号的符号位置的间隔。In an optional implementation, the second preset condition may be that the channel subframe interval is greater than the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter. Optionally, the interval of the two-segment pilot positions used by the first terminal to construct the Wiener filter may be the interval between the symbol position of the second-to-last channel measurement pilot symbol received by the first terminal and the symbol position of the last channel measurement pilot symbol.

步骤S504:基于线性函数确定预测通信数据。 Step S504: Determine predicted communication data based on the linear function.

在一种可选的实施方式中,在信道子帧间隔满足第二预设条件的情况下,可以基于线性函数确定预测通信数据。可选的,可以根据步骤S503中的线性函数,将步骤S503中根据输出序列和参考信号确定出的p(n)序列确定为预测通信数据。In an optional implementation, when the channel subframe interval meets the second preset condition, the predicted communication data can be determined based on a linear function. Optionally, the p(n) sequence determined in step S503 according to the output sequence and the reference signal can be determined as the predicted communication data according to the linear function in step S503.

下面基于图6、图7、图8对步骤S204进一步进行阐述。The step S204 is further described below based on FIG. 6 , FIG. 7 , and FIG. 8 .

图6是本申请实施例所提供的一种车联网加密通信方法的在不同信道测量子帧间隔下有无维纳滤波插值后的信道互相关系数图。图6图示了不同信道测量子帧间隔下有无维纳滤波插值的信道互相关系数,在图6中,横轴坐标表示信道测量子帧间隔,纵轴坐标表示信道互相关系数,上方折线数据和下方折线数据分别为维纳滤波后以及原数据对应的数据。根据图6图示,维纳滤波插值相比较于原数据,在不同信道测量子帧间隔下均能提升信道互相关系数,即信道互易性。Figure 6 is a diagram of the channel correlation coefficient with and without Wiener filter interpolation at different channel measurement subframe intervals for a method for encrypted communication in an Internet of Vehicles provided in an embodiment of the present application. Figure 6 illustrates the channel correlation coefficient with and without Wiener filter interpolation at different channel measurement subframe intervals. In Figure 6, the horizontal axis represents the channel measurement subframe interval, the vertical axis represents the channel correlation coefficient, and the upper broken line data and the lower broken line data are the data after Wiener filtering and the data corresponding to the original data, respectively. According to the diagram in Figure 6, compared with the original data, Wiener filter interpolation can improve the channel correlation coefficient, that is, channel reciprocity, at different channel measurement subframe intervals.

图7是本申请实施例所提供的一种车联网加密通信方法的维纳滤波插值预测后的频域子载波幅度响应信道特征图;图8是本申请实施例所提供的一种车联网加密通信方法的维纳滤波插值预测后与无预处理时信道互相关系数多次对比图。图7图示了本发明维纳滤波插值预测后的频域子载波幅度响应信道特征图,图7的横纵坐标和图4的横纵坐标意义一致;图8图示了多次维纳滤波插值预测后与无预处理时信道互相关系数的对比图,图8的横纵坐标和图6的横纵坐标意义一致。图7和图8有效地反应了该方案面对不同环境的信道条件都能提升信道的互相关系数。Figure 7 is a frequency domain subcarrier amplitude response channel characteristic diagram after Wiener filter interpolation prediction of a vehicle network encryption communication method provided by an embodiment of the present application; Figure 8 is a multiple comparison diagram of channel correlation coefficients after Wiener filter interpolation prediction and without preprocessing of a vehicle network encryption communication method provided by an embodiment of the present application. Figure 7 illustrates the frequency domain subcarrier amplitude response channel characteristic diagram after Wiener filter interpolation prediction of the present invention, and the horizontal and vertical coordinates of Figure 7 have the same meaning as those of Figure 4; Figure 8 illustrates a comparison diagram of channel correlation coefficients after multiple Wiener filter interpolation predictions and without preprocessing, and the horizontal and vertical coordinates of Figure 8 have the same meaning as those of Figure 6. Figures 7 and 8 effectively reflect that the scheme can improve the channel correlation coefficient under channel conditions in different environments.

下面继续基于图2介绍本申请实施例提供的一种车联网加密通信方法。Next, based on FIG. 2 , an Internet of Vehicles encryption communication method provided by an embodiment of the present application is introduced.

步骤S205:基于预测通信数据生成第一密钥。Step S205: Generate a first key based on the predicted communication data.

可选的,第二终端用于基于第一通信数据生成第二密钥。Optionally, the second terminal is used to generate a second key based on the first communication data.

在一种可选的实施方式中,第一终端可以采用预测通信数据生成第一密钥。可选的,第一终端可以采用步骤S204中确定的CSI的插值预测值生成第一密钥。在一种可选的实施方式中,第二终端可以采用目标通信数据,即第二个DMRS符号的CSI生成第二密钥。第一 密钥和第二密钥可以是相同比特数的二进制密钥。In an optional implementation, the first terminal may generate the first key using the predicted communication data. Alternatively, the first terminal may generate the first key using the interpolated predicted value of the CSI determined in step S204. In an optional implementation, the second terminal may generate the second key using the target communication data, that is, the CSI of the second DMRS symbol. The secret key and the second secret key may be binary keys having the same number of bits.

当信道特征为信道频域幅度响应特征时,应将信道的频域幅度响应特征在不同子载波的幅度值量化为与幅度对应的比特序列。在一种可选的实施方式中,第一终端和第二终端可以分别将预测通信数据和目标通信数据归一化到[0,1]区间内,再以预设门限规则将门限分为N个量化区间,通过预设编码规则生成相同比特数的二进制密钥,分别是第一密钥和第二密钥。可选的,预设门限规则可以时中值门限规则,也可以是等分门限规则等方式,本申请实施例不对此做限定。可选的,预设编码规则可以是格雷码映射规则,也可以是按二进制值递增的映射规则等其他编码规则,本申请实施例不对此做限定。When the channel characteristic is the frequency domain amplitude response characteristic of the channel, the amplitude values of the frequency domain amplitude response characteristic of the channel at different subcarriers should be quantized into a bit sequence corresponding to the amplitude. In an optional implementation, the first terminal and the second terminal may normalize the predicted communication data and the target communication data to the interval [0,1] respectively, and then divide the threshold into N quantization intervals according to the preset threshold rule, and generate binary keys with the same number of bits through the preset coding rule, which are the first key and the second key respectively. Optionally, the preset threshold rule may be a median threshold rule, or an equal division threshold rule, etc., which is not limited to this in the embodiments of the present application. Optionally, the preset coding rule may be a Gray code mapping rule, or other coding rules such as a mapping rule that increases by binary value, which is not limited to this in the embodiments of the present application.

图9是本申请实施例所提供的一种车联网加密通信方法的维纳滤波插值预测后与无预处理时密钥不一致率对比图。具体地,图9对比了维纳滤波插值预测后与无预处理时密钥不一致率,在图9中,横坐标表征仿真次数,纵坐标表征双方生成密钥的不一致率。根据图9所图示,可见维纳滤波插值预测后能够有效地降低双方生成密钥的不一致率。FIG9 is a comparison chart of the key inconsistency rate after Wiener filter interpolation prediction and without preprocessing of a vehicle network encryption communication method provided by an embodiment of the present application. Specifically, FIG9 compares the key inconsistency rate after Wiener filter interpolation prediction and without preprocessing. In FIG9, the horizontal axis represents the number of simulations, and the vertical axis represents the inconsistency rate of the keys generated by both parties. According to the diagram in FIG9, it can be seen that the Wiener filter interpolation prediction can effectively reduce the inconsistency rate of the keys generated by both parties.

步骤S206:使用第一密钥对目标消息进行加密,将加密后的目标消息发送至第二终端。Step S206: Encrypt the target message using the first key, and send the encrypted target message to the second terminal.

可选的,第二终端用于基于第二密钥对目标消息进行解密。可选的,经过信息调和以及隐私增强后,第一终端可以利用生成的第一密钥对目标消息加密发送至第二终端,第二终端可以利用生成的第二密钥对加密后的目标消息进行解密,得到解密后的目标消息。可选的,第一终端和第二终端可以比较第一密钥、第二密钥的不一致率以及CSI的互相关系数。Optionally, the second terminal is used to decrypt the target message based on the second key. Optionally, after information reconciliation and privacy enhancement, the first terminal can use the generated first key to encrypt the target message and send it to the second terminal, and the second terminal can use the generated second key to decrypt the encrypted target message to obtain the decrypted target message. Optionally, the first terminal and the second terminal can compare the inconsistency rate of the first key and the second key and the mutual correlation coefficient of the CSI.

在一种可选的实施方式中,第一密钥或者第二密钥可以是不对称私有密钥。In an optional implementation, the first key or the second key may be an asymmetric private key.

可选的,可以记第一密钥为KA,记第二密钥为KB。可选的,第一终端可以通过合法通信双方共享的信息加密处理方法对要发送的目标信息M进行加密得到加密信息M′,随后通过信道纠错编码算法 处理加密信息M′得到编码信息CM。将编码信息CM和不对称私有密钥KA进行逐个比特的异或操作,获得将要传输的序列S,并通过公共信道传输给第二终端。可选的,第二终端可以将接收序列S和不对称私有密钥KB进行异或操作,解出信息S′,随后通过信道纠错解码算法,对信息S′进行解密,获得信息M′。第二终端通过合法通信双方共享的信息解密处理方法对信息M′进行解密得到第一终端传递的目标信息M。Optionally, the first key may be denoted as K A and the second key may be denoted as K B. Optionally, the first terminal may encrypt the target information M to be sent by using an information encryption processing method shared by both parties in legal communication to obtain encrypted information M′, and then encrypt the encrypted information M′ by using a channel error correction coding algorithm. Process the encrypted information M′ to obtain the coded information CM. Perform bit-by-bit XOR operation on the coded information CM and the asymmetric private key KA to obtain the sequence S to be transmitted, and transmit it to the second terminal through a public channel. Optionally, the second terminal can perform an XOR operation on the received sequence S and the asymmetric private key KB to decode the information S′, and then decrypt the information S′ through a channel error correction decoding algorithm to obtain the information M′. The second terminal decrypts the information M′ through the information decryption processing method shared by both parties in legal communication to obtain the target information M transmitted by the first terminal.

针对车联网信道环境中无线信道上下行初始互易性较低的情况,本发明实施例提出了一种车联网加密通信方法,具体包括基于维纳滤波外插预测的车联网信道互易性增强及密钥生成方法。通过本申请实施例的一种车联网加密通信方法,通信双方可以在各自完成信道估计的过程后,通过在车联网终端一侧利用最近的二次信道估计的结果构建的反应信道时变过程的维纳滤波器,并基于构建出的维纳滤波器输入最近的一次信道估计值并预测出对方接收信号位置上信道估计结果,可以实现了信道互易性的补偿,在仿真与实际测试过程中,面对不同环境的信道条件,都能提升信道的互相关系数。In view of the low initial reciprocity of the uplink and downlink of the wireless channel in the vehicle network channel environment, an embodiment of the present invention proposes a vehicle network encryption communication method, which specifically includes a vehicle network channel reciprocity enhancement and key generation method based on Wiener filter extrapolation prediction. Through a vehicle network encryption communication method of an embodiment of the present application, after each of the communicating parties completes the channel estimation process, they can use the result of the most recent secondary channel estimation to construct a Wiener filter that reflects the time-varying process of the channel on the side of the vehicle network terminal, and input the most recent channel estimation value based on the constructed Wiener filter and predict the channel estimation result at the position of the other party's received signal, thereby realizing compensation for channel reciprocity. In the simulation and actual testing process, facing the channel conditions of different environments, the mutual correlation coefficient of the channel can be improved.

再者,本发明实施例通过通信的一方使用预测后的信道估计结果作为生成密钥的随机源,另一方使用实际测量的信道估计结果作为生成密钥的随机源,分别进行量化后生成密钥,得益于维纳滤波外插预测的结果,可以降低生成密钥的不一致率,最终实现更佳性能的共享无线信道特征的安全信息传输,具有良好的实用性。Furthermore, in the embodiment of the present invention, one party of the communication uses the predicted channel estimation result as a random source for generating a key, and the other party uses the actually measured channel estimation result as a random source for generating a key, and the keys are generated after quantization respectively. Thanks to the result of the Wiener filter extrapolation prediction, the inconsistency rate of the generated key can be reduced, and ultimately better performance of secure information transmission of shared wireless channel characteristics can be achieved, which has good practicality.

相应地,本申请实施例还提供一种车联网加密通信装置。图10是本申请实施例所提供的一种车联网加密通信装置的第二结构示意图。如图10所图示,车联网加密通信装置1000可以包括:Accordingly, the embodiment of the present application also provides a vehicle networking encryption communication device. FIG10 is a second structural schematic diagram of a vehicle networking encryption communication device provided by the embodiment of the present application. As shown in FIG10 , the vehicle networking encryption communication device 1000 may include:

收发模块1001,用于按照预设通信协议向第二终端发送第一通信数据,并接收第二终端发送的第二通信数据;第二终端用于基于第一通信数据生成第二密钥;The transceiver module 1001 is used to send first communication data to the second terminal according to a preset communication protocol, and receive second communication data sent by the second terminal; the second terminal is used to generate a second key based on the first communication data;

参数模块1002,用于根据第二通信数据确定滤波器的参数信息;A parameter module 1002, configured to determine parameter information of a filter according to the second communication data;

构建模块1003,用于基于参数信息构建滤波器; A construction module 1003, used to construct a filter based on parameter information;

预测模块1004,用于将第二通信数据输入滤波器,得到预测通信数据;A prediction module 1004, configured to input the second communication data into a filter to obtain predicted communication data;

密钥生成模块1005,用于基于预测通信数据生成第一密钥;A key generation module 1005, configured to generate a first key based on the predicted communication data;

加密模块1006,用于使用第一密钥对目标消息进行加密,将加密后的目标消息发送至第二终端;第二终端用于基于第二密钥对目标消息进行解密。The encryption module 1006 is used to encrypt the target message using the first key, and send the encrypted target message to the second terminal; the second terminal is used to decrypt the target message based on the second key.

可选的,收发模块1001用于:向第二终端发送广播帧数据;基于预设时隙向第二终端发送第一通信数据,并接收第二终端基于预设时隙发送的第二通信数据。Optionally, the transceiver module 1001 is used to: send broadcast frame data to the second terminal; send first communication data to the second terminal based on a preset time slot, and receive second communication data sent by the second terminal based on the preset time slot.

可选的,通信子帧数据包括根据预设通信协议生成的包含多个信道测量导频符号的通信子帧数据。参数模块1002用于:根据第二通信数据中的多个信道测量导频符号中后两个信道测量导频符号的通信子帧数据,确定后两个信道测量导频符号的无线信道状态信息CSI;基于后两个信道测量导频符号的CSI确定参数信息。Optionally, the communication subframe data includes communication subframe data including multiple channel measurement pilot symbols generated according to a preset communication protocol. The parameter module 1002 is used to: determine the wireless channel state information CSI of the latter two channel measurement pilot symbols according to the communication subframe data of the latter two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data; and determine the parameter information based on the CSI of the latter two channel measurement pilot symbols.

可选的,预测模块1004用于:将最后一个信道测量导频符号的CSI输入滤波器,得到预测通信数据;其中,预测通信数据是对第二终端确定的第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI的预测值;第二终端用于基于第一通信数据中的多个信道测量导频符号中第一个信道测量导频符号的CSI生成第二密钥。Optionally, the prediction module 1004 is used to: input the CSI of the last channel measurement pilot symbol into the filter to obtain predicted communication data; wherein the predicted communication data is a predicted value of the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data determined by the second terminal; the second terminal is used to generate a second key based on the CSI of the first channel measurement pilot symbol among multiple channel measurement pilot symbols in the first communication data.

可选的,CSI包括信道的幅度响应信息。预测模块1004用于:根据后两个信道测量导频符号的通信子帧数据进行信道估计,得到后两个信道测量导频符号的通信子帧数据,并分别确定为输入信号和参考信号;确定输入信号的自相关函数;确定输入信号和参考信号的互相关函数;基于自相关函数和互相关函数,确定参数信息。Optionally, the CSI includes amplitude response information of the channel. The prediction module 1004 is used to: perform channel estimation based on the communication subframe data of the last two channel measurement pilot symbols, obtain the communication subframe data of the last two channel measurement pilot symbols, and determine them as input signals and reference signals respectively; determine the autocorrelation function of the input signal; determine the cross-correlation function of the input signal and the reference signal; and determine parameter information based on the autocorrelation function and the cross-correlation function.

可选的,预测模块1004用于:将最后一个信道测量导频符号的CSI输入滤波器,得到输出序列;在信道子帧间隔满足第一预设条件的情况下,将输出序列确定为预测通信数据;在信道子帧间隔满足第二预设条件的情况下,基于输出序列和参考信号构建线性函数;基于 线性函数确定预测通信数据;其中,信道子帧间隔为第二终端接收到的第一通信数据中的第一个信道测量导频符号的符号位置和第一终端接收到的最后一个信道测量导频符号的符号位置的间隔。Optionally, the prediction module 1004 is used to: input the CSI of the last channel measurement pilot symbol into the filter to obtain an output sequence; when the channel subframe interval meets the first preset condition, determine the output sequence as the predicted communication data; when the channel subframe interval meets the second preset condition, construct a linear function based on the output sequence and the reference signal; based on The linear function determines the predicted communication data; wherein the channel subframe interval is the interval between the symbol position of the first channel measurement pilot symbol in the first communication data received by the second terminal and the symbol position of the last channel measurement pilot symbol received by the first terminal.

本申请实施例提供的装置实施例和方法实施例可以基于相同的构思。The device embodiments and method embodiments provided in the embodiments of the present application may be based on the same concept.

相应地,本公开实施例还提供一种电子设备,电子设备包括处理器和存储器,存储器中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述的车联网加密通信方法。Correspondingly, an embodiment of the present disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the above-mentioned Internet of Vehicles encryption communication method.

本申请实施例所提供的方法实施例可以在计算机终端、服务器或者类似的运算装置中执行。以运行在服务器上为例,图11是本申请实施例提供的车联网加密通信方法的服务器的硬件结构框图。如图11所示,该服务器1100可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(Central Processing Units,CPU)1111(中央处理器1111可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器1130,一个或一个以上存储应用程序1123或数据1122的存储介质1120(例如一个或一个以上海量存储设备)。其中,存储器1130和存储介质1120可以是短暂存储或持久存储。存储在存储介质1120的程序可以包括一个或一个以上模块,每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1111可以设置为与存储介质1120通信,在服务器1100上执行存储介质1120中的一系列指令操作。服务器1100还可以包括一个或一个以上电源1160,一个或一个以上有线或无线网络接口1150,一个或一个以上输入输出接口1140,和/或,一个或一个以上操作系统1121,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The method embodiments provided in the embodiments of the present application can be executed in a computer terminal, a server or a similar computing device. Taking running on a server as an example, FIG. 11 is a hardware structure block diagram of a server of the vehicle networking encryption communication method provided in the embodiments of the present application. As shown in FIG. 11, the server 1100 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1111 (the central processing unit 1111 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, and one or more storage media 1120 (such as one or more mass storage devices) for storing application programs 1123 or data 1122. Among them, the memory 1130 and the storage medium 1120 can be short-term storage or persistent storage. The program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the CPU 1111 may be configured to communicate with the storage medium 1120 and execute a series of instruction operations in the storage medium 1120 on the server 1100. The server 1100 may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input and output interfaces 1140, and/or one or more operating systems 1121, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

输入输出接口1140可以用于经由一个网络接收或者发送数据。上述的网络具体实例可包括服务器1100的通信供应商提供的无线网络。在一个实例中,输入输出接口1140包括一个网络适配器(Network  Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,输入输出接口1140可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The input/output interface 1140 may be used to receive or send data via a network. A specific example of the network may include a wireless network provided by a communication provider of the server 1100. In one example, the input/output interface 1140 includes a network adapter. Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the input and output interface 1140 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

本领域普通技术人员可以理解,图11所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,服务器1100还可包括比图11中所示更多或者更少的组件,或者具有与图11所示不同的配置。Those skilled in the art will appreciate that the structure shown in FIG11 is merely illustrative and does not limit the structure of the electronic device. For example, the server 1100 may include more or fewer components than those shown in FIG11 , or may have a different configuration than that shown in FIG11 .

本申请实施提供一种存储介质,存储介质可设置于服务器之中以保存用于实现方法实施例中车联网加密通信方法相关的至少一条指令、至少一段程序、代码集或指令集,该至少一条指令、该至少一段程序、该代码集或指令集由该处理器加载并执行以实现上述车联网加密通信方法。The present application implements a storage medium, which can be set in a server to store at least one instruction, at least one program, code set or instruction set related to the vehicle network encryption communication method in the method embodiment. The at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the above-mentioned vehicle network encryption communication method.

可选的,在本实施例中,上述存储介质可以位于计算机网络的多个网络服务器中的至少一个网络服务器。可选地,在本实施例中,上述存储介质可以包括但不限于包括:U盘、只读存储器(ROM,Read-only Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a mobile hard disk, a magnetic disk, or an optical disk.

在本发明中,除非另有明确的规定和限定,术语“相连”、“连接”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的相连或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, the terms "connected", "connection" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be a connection between two elements or an interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

需要说明的是:上述本申请实施例的先后顺序仅仅为了描述,不代表实施例的优劣,且上述本说明书对特定的实施例进行了描述,其他实施例也在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或者步骤可以按照不同的实施例中的顺序来执行并且能够实现预期的结果。另外,在附图中描绘的过程不一定要求示出 特定顺序或者而连接顺序才能够实现期望的结果,在某些实施方式中,多任务并行处理也是可以的或者可能是有利的。It should be noted that the order of the above embodiments of the present application is for description only and does not represent the superiority or inferiority of the embodiments. The above description describes specific embodiments, and other embodiments are also within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in the order of different embodiments and can achieve the expected results. In addition, the process depicted in the drawings does not necessarily require the process to be shown in the order of the embodiments. A specific order or sequence of connections may be required to achieve the desired results, and in some embodiments, multi-tasking parallel processing is possible or may be advantageous.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的均为与其他实施例的不同之处。尤其,对于装置/系统的实施例而言,由于其基于相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device/system, since they are based on similarities to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

以上是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。 The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims (10)

一种车联网加密通信方法,其特征在于,应用于第一终端,所述方法包括:A vehicle network encryption communication method, characterized in that it is applied to a first terminal, and the method includes: 按照预设通信协议向第二终端发送第一通信数据,并接收所述第二终端发送的第二通信数据;Sending first communication data to a second terminal according to a preset communication protocol, and receiving second communication data sent by the second terminal; 根据所述第二通信数据确定滤波器的参数信息;Determining parameter information of a filter according to the second communication data; 基于所述参数信息构建所述滤波器;constructing the filter based on the parameter information; 将所述第二通信数据输入所述滤波器,得到预测通信数据;inputting the second communication data into the filter to obtain predicted communication data; 基于所述预测通信数据生成第一密钥;generating a first key based on the predicted communication data; 使用所述第一密钥对目标信息进行加密,将加密后的所述目标信息发送至所述第二终端;所述第二终端用于基于所述第一通信数据生成第二密钥;并基于所述第二密钥对所述目标信息进行解密。The target information is encrypted using the first key, and the encrypted target information is sent to the second terminal; the second terminal is used to generate a second key based on the first communication data; and decrypt the target information based on the second key. 根据权利要求1所述的一种车联网加密通信方法,其特征在于,所述按照预设通信协议向第二终端发送第一通信数据,并接收所述第二终端发送的第二通信数据,包括:The method for encrypted communication in an Internet of Vehicles according to claim 1, wherein the step of sending the first communication data to the second terminal according to the preset communication protocol and receiving the second communication data sent by the second terminal comprises: 向所述第二终端发送广播帧数据;Sending broadcast frame data to the second terminal; 基于预设时隙向所述第二终端发送第一通信数据,并接收所述第二终端基于所述预设时隙发送的第二通信数据。The first communication data is sent to the second terminal based on a preset time slot, and the second communication data sent by the second terminal based on the preset time slot is received. 根据权利要求1所述的一种车联网加密通信方法,其特征在于,所述通信子帧数据包括根据所述预设通信协议生成的包含多个信道测量导频符号的通信子帧数据,The vehicle networking encrypted communication method according to claim 1, characterized in that the communication subframe data includes communication subframe data including a plurality of channel measurement pilot symbols generated according to the preset communication protocol, 所述根据所述第二通信数据确定滤波器的参数信息,包括:The step of determining the parameter information of the filter according to the second communication data comprises: 根据所述第二通信数据中的所述多个信道测量导频符号中后两个信道测量导频符号的通信子帧数据,确定所述后两个信道测量导频符号的无线信道状态信息CSI; Determine the wireless channel state information CSI of the latter two channel measurement pilot symbols according to the communication subframe data of the latter two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data; 基于所述后两个信道测量导频符号的所述CSI确定所述参数信息。The parameter information is determined based on the CSI of the latter two channel measurement pilot symbols. 根据权利要求3所述的一种车联网加密通信方法,其特征在于,所述将所述第二通信数据输入所述滤波器,得到预测通信数据,包括:The method for encrypted communication in an Internet of Vehicles according to claim 3, wherein the step of inputting the second communication data into the filter to obtain predicted communication data comprises: 将最后一个所述信道测量导频符号的所述CSI输入所述滤波器,得到所述预测通信数据;Inputting the CSI of the last channel measurement pilot symbol into the filter to obtain the predicted communication data; 其中,所述预测通信数据是对所述第二终端确定的所述第一通信数据中的所述多个信道测量导频符号中第一个信道测量导频符号的CSI的预测值;所述第二终端用于基于所述第一通信数据中的所述多个信道测量导频符号中第一个信道测量导频符号的CSI生成第二密钥。Among them, the predicted communication data is a predicted value of the CSI of the first channel measurement pilot symbol among the multiple channel measurement pilot symbols in the first communication data determined by the second terminal; the second terminal is used to generate a second key based on the CSI of the first channel measurement pilot symbol among the multiple channel measurement pilot symbols in the first communication data. 根据权利要求4所述的一种车联网加密通信方法,其特征在于,所述CSI包括信道的幅度响应信息,The method for encrypted communication in an Internet of Vehicles according to claim 4, wherein the CSI includes amplitude response information of the channel. 所述根据所述第二通信数据中的所述多个信道测量导频符号中后两个信道测量导频符号的通信子帧数据,确定所述后两个信道测量导频符号的无线信道状态信息CSI,包括:The determining, according to the communication subframe data of the last two channel measurement pilot symbols among the multiple channel measurement pilot symbols in the second communication data, the wireless channel state information CSI of the last two channel measurement pilot symbols comprises: 根据所述后两个信道测量导频符号的通信子帧数据进行信道估计,得到所述后两个信道测量导频符号的通信子帧数据,并分别确定为输入信号和参考信号;Perform channel estimation according to the communication subframe data of the latter two channel measurement pilot symbols, obtain the communication subframe data of the latter two channel measurement pilot symbols, and determine them as input signals and reference signals respectively; 所述基于所述后两个信道测量导频符号的所述CSI确定所述参数信息,包括:The determining the parameter information based on the CSI of the latter two channel measurement pilot symbols includes: 确定所述输入信号的自相关函数;determining an autocorrelation function of the input signal; 确定所述输入信号和所述参考信号的互相关函数;determining a cross-correlation function of the input signal and the reference signal; 基于所述自相关函数和所述互相关函数,确定所述参数信息。The parameter information is determined based on the autocorrelation function and the cross-correlation function. 根据权利要求5所述的一种车联网加密通信方法,其特征在于,所述将最后一个所述信道测量导频符号的所述CSI输入所述滤波器, 得到所述预测通信数据,包括:The method for encrypted communication in an Internet of Vehicles according to claim 5, characterized in that the CSI of the last channel measurement pilot symbol is input into the filter, Obtaining the predicted communication data includes: 将最后一个所述信道测量导频符号的所述CSI输入所述滤波器,得到输出序列;Inputting the CSI of the last channel measurement pilot symbol into the filter to obtain an output sequence; 在信道子帧间隔满足第一预设条件的情况下,将所述输出序列确定为所述预测通信数据;In the case where the channel subframe interval meets the first preset condition, determining the output sequence as the predicted communication data; 在所述信道子帧间隔满足第二预设条件的情况下,基于所述输出序列和所述参考信号构建线性函数;When the channel subframe interval satisfies a second preset condition, constructing a linear function based on the output sequence and the reference signal; 基于所述线性函数确定所述预测通信数据;determining the predicted communication data based on the linear function; 其中,所述信道子帧间隔为所述第二终端接收到的所述第一通信数据中的第一个所述信道测量导频符号的符号位置和所述第一终端接收到的最后一个所述信道测量导频符号的符号位置的间隔。The channel subframe interval is an interval between a symbol position of the first channel measurement pilot symbol in the first communication data received by the second terminal and a symbol position of the last channel measurement pilot symbol received by the first terminal. 根据权利要求1所述的一种车联网加密通信方法,其特征在于,所述滤波器包括维纳滤波器。The vehicle network encryption communication method according to claim 1 is characterized in that the filter includes a Wiener filter. 一种车联网通信装置,其特征在于,应用于第一终端,所述装置包括:A vehicle networking communication device, characterized in that it is applied to a first terminal, and the device includes: 收发模块,用于按照预设通信协议向第二终端发送第一通信数据,并接收所述第二终端发送的第二通信数据;所述第二终端用于基于所述第一通信数据生成第二密钥;A transceiver module, configured to send first communication data to a second terminal according to a preset communication protocol, and receive second communication data sent by the second terminal; the second terminal is configured to generate a second key based on the first communication data; 参数模块,用于根据所述第二通信数据确定滤波器的参数信息;A parameter module, used to determine parameter information of the filter according to the second communication data; 构建模块,用于基于所述参数信息构建所述滤波器;A construction module, used for constructing the filter based on the parameter information; 预测模块,用于将所述第二通信数据输入所述滤波器,得到预测通信数据;A prediction module, used for inputting the second communication data into the filter to obtain predicted communication data; 密钥生成模块,用于基于所述预测通信数据生成第一密钥;A key generation module, used to generate a first key based on the predicted communication data; 加密模块,用于使用所述第一密钥对目标信息进行加密,将加密后的所述目标信息发送至所述第二终端;所述第二终端用于基于所述第二密钥对所述目标信息进行解密。 An encryption module is used to encrypt the target information using the first key, and send the encrypted target information to the second terminal; the second terminal is used to decrypt the target information based on the second key. 一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现权利要求1-7任意一项的车联网加密通信方法。An electronic device, characterized in that the electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the vehicle network encryption communication method of any one of claims 1-7. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现如权利要求1-7任意一项的车联网加密通信方法。 A computer-readable storage medium, characterized in that at least one instruction, at least one program, code set or instruction set is stored in the storage medium, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the vehicle network encryption communication method as claimed in any one of claims 1 to 7.
PCT/CN2023/116538 2023-02-06 2023-09-01 Internet-of-vehicles encryption communication method and apparatus, and electronic device and storage medium Ceased WO2024164523A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310068632.0 2023-02-06
CN202310068632.0A CN116261133A (en) 2023-02-06 2023-02-06 A method, device, electronic device, and storage medium for encrypted communication in the Internet of Vehicles

Publications (1)

Publication Number Publication Date
WO2024164523A1 true WO2024164523A1 (en) 2024-08-15

Family

ID=86678724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/116538 Ceased WO2024164523A1 (en) 2023-02-06 2023-09-01 Internet-of-vehicles encryption communication method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN116261133A (en)
WO (1) WO2024164523A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119420603A (en) * 2024-12-31 2025-02-11 浙江势通机器人科技有限公司 Remote medical equipment data transmission authentication method and CJNet network structure

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116261133A (en) * 2023-02-06 2023-06-13 网络通信与安全紫金山实验室 A method, device, electronic device, and storage medium for encrypted communication in the Internet of Vehicles

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150023503A1 (en) * 2013-07-17 2015-01-22 Electronics And Telecommunications Research Institute Apparatus and method for transmitting secure data in wireless communication system
US20180062841A1 (en) * 2015-03-27 2018-03-01 Drexel University Symmetric encryption key generation using wireless physical layer information without sharing any information pertinent to the key
CN112188491A (en) * 2020-09-24 2021-01-05 江苏恒宝智能系统技术有限公司 MIMO-based data secure transmission base station, mobile terminal and method
CN114390519A (en) * 2022-02-18 2022-04-22 网络通信与安全紫金山实验室 A wireless channel key generation method, device, device and storage medium
CN114448615A (en) * 2021-12-29 2022-05-06 江苏蓝视海洋科技有限公司 Method and medium for preprocessing physical layer key based on adaptive filtering
CN116261133A (en) * 2023-02-06 2023-06-13 网络通信与安全紫金山实验室 A method, device, electronic device, and storage medium for encrypted communication in the Internet of Vehicles

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4481336B2 (en) * 2008-02-27 2010-06-16 京セラ株式会社 Channel information prediction system and channel information prediction method
CN108881077A (en) * 2018-07-03 2018-11-23 重庆大学 A kind of Wiener filtering channel estimation methods based on superimposed pilot
CN115085836B (en) * 2022-06-14 2023-07-18 华南理工大学 Design method, device, equipment and medium of channel state information prediction system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150023503A1 (en) * 2013-07-17 2015-01-22 Electronics And Telecommunications Research Institute Apparatus and method for transmitting secure data in wireless communication system
US20180062841A1 (en) * 2015-03-27 2018-03-01 Drexel University Symmetric encryption key generation using wireless physical layer information without sharing any information pertinent to the key
CN112188491A (en) * 2020-09-24 2021-01-05 江苏恒宝智能系统技术有限公司 MIMO-based data secure transmission base station, mobile terminal and method
CN114448615A (en) * 2021-12-29 2022-05-06 江苏蓝视海洋科技有限公司 Method and medium for preprocessing physical layer key based on adaptive filtering
CN114390519A (en) * 2022-02-18 2022-04-22 网络通信与安全紫金山实验室 A wireless channel key generation method, device, device and storage medium
CN116261133A (en) * 2023-02-06 2023-06-13 网络通信与安全紫金山实验室 A method, device, electronic device, and storage medium for encrypted communication in the Internet of Vehicles

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119420603A (en) * 2024-12-31 2025-02-11 浙江势通机器人科技有限公司 Remote medical equipment data transmission authentication method and CJNet network structure

Also Published As

Publication number Publication date
CN116261133A (en) 2023-06-13

Similar Documents

Publication Publication Date Title
US12062215B2 (en) Method and device for performing rendering using latency compensatory pose prediction with respect to three-dimensional media data in communication system supporting mixed reality/augmented reality
WO2024164523A1 (en) Internet-of-vehicles encryption communication method and apparatus, and electronic device and storage medium
CN114531355B (en) Communication method, device and communication equipment
CN115834232B (en) IoT intrusion detection model training methods and devices, personalized detection methods
CN114764610A (en) Channel estimation method based on neural network and communication device
Islam et al. Performance analysis of video data transmission for telemedicine applications with 5G enabled Internet of Things
CN115965093B (en) Model training method and device, storage medium and electronic equipment
KR102201163B1 (en) Medical network data encryption method using human body ECG signal
WO2019061514A1 (en) Secure wireless communication physical layer slope authentication method and apparatus
CN118645129A (en) Intelligent mobile hard disk and its use method
WO2020063170A1 (en) Data processing method, terminal, server and storage medium
WO2024056030A1 (en) Image depth estimation method and apparatus, electronic device and storage medium
US10798513B2 (en) Head-related transfer function generation
US20120250782A1 (en) Data transmission system and method
US20240414030A1 (en) Method and device for learning-based channel estimation with data pre-processing
An et al. Channel-aware throughput maximization for cooperative data fusion in cav
CN110492998A (en) Methods of encrypting and decrypting data
CN114339739A (en) Intelligent management system of wireless communication protocol
CN109219108B (en) Method and apparatus for connecting wireless access points
CN119487940A (en) Wireless communication method, device, equipment and storage medium
CN119853981B (en) IoT terminal authentication methods, devices, equipment, media and products
CN118191725B (en) CRB calculation method for time delay and arrival angle of multi-user general sense integrated system
CN119420496B (en) Data monitoring method, electronic device, and computer-readable storage medium
CN116438554B (en) Distributed training with random security averaging
WO2024082506A1 (en) Methods and apparatuses for secret key generation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23920716

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE