Security data encryption method and system for wireless communication of vehicle-mounted equipment

By obtaining the modulation frequency and frequency deviation range in wireless communication of on-board equipment, generating wireless communication frequency points, and using two-way authentication and signal frequency domain modulation and demodulation, the problem of insufficient wireless communication security caused by the use of the same carrier frequency and frequency points of the communication sender and receiver is solved, and higher communication security is achieved.

CN119865807AActive Publication Date: 2025-04-22SHENZHEN LTIME IN VEHICLE ENTERTAINMENT SYST CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510349701.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-24
Publication Date
2025-04-22
Estimated Expiration
2045-03-24

AI Technical Summary

Technical Problem

In the prior art, the communication sender and the communication receiver use the same carrier frequency and frequency points to communicate data, resulting in insufficient security of wireless communication.

Method used

By obtaining the modulation frequency, frequency deviation range and communication data of both parties in the communication, wireless communication frequency points are generated, and baseband signal data is calculated based on the frequency deviation value, data modulation and transmission are performed. After receiving the receiver, the original signal is separated, and bidirectional authentication and modulation and demodulation in the signal frequency domain are used to ensure the authenticity of the identity of both parties in the communication and increase the difficulty of cracking the attacker.

Benefits of technology

Through the fine-tuning of frequency and two-way authentication mechanism, the attacker cannot obtain the actual communication content of the communication signal, improves the security of wireless communication, and solves the problem of insufficient security caused by the same carrier frequency and frequency points in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865807A_ABST
    Figure CN119865807A_ABST
Patent Text Reader

Abstract

The invention discloses a security data encryption method and system for wireless communication of vehicle-mounted equipment. The method comprises the following steps: acquiring modulation frequencies, frequency deviation ranges and communication data of two communication parties; generating according to the modulation frequency and the frequency deviation range to obtain a wireless communication frequency point; calculating according to the wireless communication frequency point to obtain a current frequency point deviation value; calculating according to the current frequency point deviation value to obtain baseband signal data; performing modulation according to the communication data and the baseband signal data to obtain modulation data; according to the modulation data, sending the modulation data through a sender to obtain sending data; receiving the sent data through a receiver to obtain received data; and carrying out separation according to the received data to obtain an original signal. According to the method, the problem of insufficient wireless communication security caused by the fact that a communication sender and a communication receiver adopt the same carrier frequency and frequency point to carry out data communication can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data encryption, and in particular to a method and system for encrypting secure data in wireless communication of vehicle-mounted equipment. Background Art

[0002] At present, GPRS data communication is a data network communication based on mobile systems. The technology is mature and reliable, and is widely used in the communication industry. However, when GPRS data communication transmits data through wireless channels, the data is easily eavesdropped due to the openness of the wireless channels.

[0003] In one prior art, the RSA algorithm is used to encrypt data, and the communication sender and the communication receiver use the same carrier frequency and frequency point to communicate data.

[0004] In the prior art, since the communication sender and the communication receiver use the same carrier frequency and frequency point for data communication, there is a problem of insufficient wireless communication security. Summary of the invention

[0005] The present invention provides a secure data encryption method and system for wireless communication of vehicle-mounted equipment, so as to solve the problem of insufficient wireless communication security due to the communication sender and the communication receiver using the same carrier frequency and frequency point for data communication.

[0006] In a first aspect, in order to solve the above technical problems, the present invention provides a method for encrypting secure data in wireless communication of an on-board device, comprising: Obtain the modulation frequency, frequency deviation range and communication data of both communicating parties; Generate according to the modulation frequency and the frequency deviation range to obtain a wireless communication frequency point; Calculate according to the wireless communication frequency to obtain a current frequency deviation value; Calculate according to the current frequency deviation value to obtain baseband signal data; Modulating the communication data and the baseband signal data to obtain modulated data; The modulated data is sent through the sender to obtain the sent data; Receiving the sent data via the receiving party to obtain received data; Separation is performed according to the received data to obtain the original signal.

[0007] In an optional implementation, the generating according to the modulation frequency and the frequency deviation range to obtain the wireless communication frequency point includes: The transmission is performed by the sender according to the modulation frequency and the frequency deviation range to obtain a transmission message; The sent message is received by the receiving party to obtain a received message; Perform verification according to the received message to obtain a verification message; Perform an authentication request according to the verification message sender to obtain an authentication message; Perform authentication according to the authentication message recipient, and obtain a return message of successful authentication; Generate according to the returned message to obtain the wireless communication frequency.

[0008] In an optional implementation, performing authentication according to the authentication message receiver and obtaining a return message indicating successful authentication includes: Obtain the two-way authentication code agreed upon by both parties and the random number randomly generated by the receiving party; Encrypting according to the two-way authentication code and the random number to obtain an encrypted authentication code; Calculate the encrypted authentication code to obtain a two-way authentication verification code; Authentication is performed according to the two-way authentication verification code and the authentication message, and a return message of successful authentication is obtained.

[0009] In an optional implementation, the step of performing calculation according to the encrypted authentication code receiver to obtain a two-way authentication verification code includes: The two-way authentication verification code is calculated in the following way: , in, It is a two-way authentication verification code. For Node the verification result of the encrypted authentication code, is the set of adjacent nodes of the receiver.

[0010] In an optional implementation, the calculating according to the wireless communication frequency to obtain the current frequency deviation value includes: The current frequency deviation value is calculated in the following way: , in, is the current frequency deviation value, is the modulation frequency, is an adjustment factor, is the degree centrality of the sender or receiver, Is a random number.

[0011] In an optional embodiment, the method further includes: Degree centrality is calculated in the following way: , in, is the degree centrality of the sender or receiver, Is a node The degree of The wireless communication frequency.

[0012] In an optional implementation manner, the performing separation according to the received data to obtain the original signal includes: Demodulate the received data to obtain demodulated data; Calculation is performed based on the demodulated data to obtain the original signal.

[0013] In a second aspect, the present invention provides a secure data encryption device for wireless communication of an on-board device, comprising: A data acquisition module is used to obtain the modulation frequency, frequency deviation range and communication data of both communicating parties; A frequency point generation module, used to generate a wireless communication frequency point according to the modulation frequency and the frequency deviation range; A deviation value calculation module, used to calculate according to the wireless communication frequency point to obtain the current frequency point deviation value; A data calculation module, used to calculate according to the current frequency deviation value to obtain baseband signal data; A data modulation module, used for performing modulation according to the communication data and the baseband signal data to obtain modulated data; A data sending module, used for sending the modulated data through a sender to obtain sending data; A data receiving module, used for receiving the sent data through a receiving party to obtain received data; The data separation module is used to separate the received data to obtain the original signal.

[0014] In a third aspect, the present invention also provides an electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the secure data encryption method for wireless communication of an in-vehicle device as described above.

[0015] In a fourth aspect, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for secure data encryption of wireless communication of vehicle-mounted devices.

[0016] Compared with the prior art, the present invention has the following beneficial effects: the present invention discloses a secure data encryption method for wireless communication of vehicle-mounted equipment, including obtaining the modulation frequency, frequency deviation range and communication data of both communicating parties; generating according to the modulation frequency and the frequency deviation range to obtain the wireless communication frequency point; calculating according to the wireless communication frequency point to obtain the current frequency deviation value; calculating according to the current frequency deviation value to obtain the baseband signal data; modulating according to the communication data and the baseband signal data to obtain the modulation data; sending according to the modulation data through the sender to obtain the transmission data; receiving according to the transmission data through the receiver to obtain the reception data; separating according to the reception data to obtain the original signal. The present invention increases the fine-tuning of the frequency so that the attacker can obtain the communication signal, but cannot obtain the actual communication content of the communication signal; through the continuous change of the frequency, the encryption system adopts two-way authentication and modulation and demodulation of the signal frequency domain to ensure the authenticity of the identities of the two communicating parties and increase the difficulty for the attacker to crack the signal. Compared with the prior art that uses the RSA algorithm to encrypt data, the communication sender and the communication receiver use the same carrier frequency and frequency point for data communication. The present invention can solve the problem of insufficient wireless communication security caused by the communication sender and the communication receiver using the same carrier frequency and frequency point for data communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of a secure data encryption process for wireless communication of an on-board device provided by the first embodiment of the present invention; Figure 2 It is a structural schematic diagram of wireless communication data transmission of the vehicle-mounted device provided by the present invention; Figure 3 It is a schematic diagram of the secure data encryption structure of the wireless communication of the vehicle-mounted device provided by the second embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] Reference Figure 1 The first embodiment of the present invention provides a method for encrypting secure data in wireless communication of an on-board device, comprising the following steps: S11, obtaining the modulation frequency, frequency deviation range and communication data of both communicating parties; S12, generating a wireless communication frequency point according to the modulation frequency and the frequency deviation range; S13, calculating according to the wireless communication frequency to obtain a current frequency deviation value; S14, performing calculation according to the current frequency deviation value to obtain baseband signal data; S15, performing modulation according to the communication data and the baseband signal data to obtain modulated data; S16, sending the modulated data through the sender to obtain the sending data; S17, receiving the sent data via the receiving party to obtain received data; S18, performing separation according to the received data to obtain the original signal.

[0020] In step S11, the modulation frequency, frequency deviation range and communication data of the communicating parties need to be obtained.

[0021] Modulation frequency refers to the carrier frequency used to modulate signals in wireless communication. It is one of the basic parameters of wireless communication and determines the transmission characteristics of signals in wireless channels. Carrier signals are high-frequency signals used to modulate low-frequency communication data signals to achieve long-distance transmission. The selection of modulation frequency needs to consider multiple factors, including frequency band allocation, signal propagation characteristics, and anti-interference capabilities. Among them, different wireless communication technologies use different frequency bands. For example, Bluetooth technology usually operates in the 2.4GHz band, while 5G communication uses multiple frequency bands, including Sub-6GHz and millimeter wave bands. Frequency band allocation is planned by the International Telecommunication Union (ITU) and communication regulators of various countries based on communication needs and the availability of spectrum resources. When determining the modulation frequency, the regulations on frequency band allocation must be followed. For example, when a Wi-Fi device operates in the 2.4GHz band, its modulation frequency is usually 2.412GHz, 2.417GHz, 2.422GHz, etc. These frequencies are determined based on frequency band division and channel planning. The selection of modulation frequency is also affected by signal propagation characteristics. High-frequency signals (such as millimeter waves) have higher data transmission rates, but they have shorter propagation distances and are easily blocked by obstacles such as buildings. Low-frequency signals (such as the Sub-1GHz band) have longer propagation distances and stronger penetration capabilities, but their data transmission rates are relatively low. For example, in Internet of Things (IoT) applications, some low-power wide area network (LPWAN) technologies (such as LoRa and NB-IoT) use the Sub-1GHz band because the signal propagation characteristics of these bands are more suitable for long-distance, low-power communications. The selection of modulation frequency also needs to consider anti-interference capabilities. In some frequency bands, there will be more interference sources, such as other wireless communication devices, industrial equipment, etc. Therefore, when selecting modulation frequencies, these interfering frequency bands need to be avoided as much as possible. For example, in the 2.4GHz band, due to the presence of a large number of interference sources such as Wi-Fi devices, Bluetooth devices, and microwave ovens, communication equipment needs to adopt certain anti-interference technologies (such as frequency hopping spread spectrum technology) to ensure the reliability of communication.

[0022] The modulation frequency can be obtained through protocol provisions and measurement using a spectrum analyzer. In many wireless communication systems, the modulation frequency is pre-defined by the communication protocol. For example, in Bluetooth communication, the modulation frequency is 2.4GHz. During the design and manufacturing process of communication equipment, hardware design and software configuration are performed according to the modulation frequency specified in the protocol. For some systems that require dynamic adjustment of the modulation frequency (such as some adaptive communication systems), the actual modulation frequency can be measured by a spectrum analyzer. The spectrum analyzer can monitor the spectrum characteristics of wireless signals in real time, including modulation frequency, signal strength, etc. For example, in the wireless quality assessment of 5G NR, the spectrum analyzer can be used to measure the actual modulation frequency of base stations and terminal devices to ensure that it complies with the protocol provisions.

[0023] Frequency deviation range refers to the allowable deviation range between the actual communication frequency and the modulation frequency in wireless communication. Frequency deviation is a common phenomenon in wireless communication, mainly due to the imperfection of hardware equipment (such as the frequency drift of the crystal oscillator), environmental factors (such as temperature changes), and multipath effects during signal propagation. The frequency deviation range is usually expressed in parts per million (ppm). Many wireless communication standards have clear regulations on the frequency deviation range. For example, in 2.4GHz WiFi communication, the frequency deviation requirement is usually ±20ppm or ±25ppm. These regulations are formulated based on the performance requirements of the communication system and the hardware capabilities of the equipment. The hardware design of the communication equipment will also affect the frequency deviation range. The crystal oscillator in the wireless communication equipment is a key component for generating the modulation frequency, but the frequency output of the crystal oscillator is not completely stable. The frequency drift of the crystal oscillator is mainly affected by factors such as temperature and aging. For example, a crystal oscillator with a nominal frequency of 2.4GHz will deviate from the nominal value when the temperature changes. In order to reduce the impact of crystal oscillator frequency drift on communication, communication equipment usually uses temperature compensated crystal oscillators (TCXOs) or voltage controlled crystal oscillators (VCXOs). These crystals can be temperature compensated or have their frequency drift reduced by an external control signal. For example, a high-quality crystal will provide a more stable frequency output, thus reducing frequency deviation. Device manufacturers will usually specify the frequency deviation range in the device specifications.

[0024] Communication data refers to the actual information content that needs to be transmitted through a wireless communication link. This data can be voice, text, images, or any other form of digital or analog signals. In wireless communication, communication data usually needs to be modulated so that it can be efficiently transmitted in the wireless channel. The types of communication data include digital data and analog data, and digital data is the most common data type in wireless communication. Digital data includes text information, digital images, digital audio and video, etc. In digital communication systems, digital data is usually represented in binary form and encoded onto a carrier signal through modulation methods (such as QPSK, QAM, etc.). For example, in Wi-Fi communication, digital data is encoded onto multiple subcarriers through OFDM modulation to achieve efficient data transmission. Analog data refers to continuously changing signals, such as voice signals and analog video signals. In wireless communication, analog data usually needs to be digitized first and then transmitted through modulation. For example, in traditional wireless voice communication, the voice signal is first converted into a digital signal through an analog-to-digital converter (ADC), and then encoded onto a carrier signal through modulation methods (such as AM or FM). Communication data can be obtained through data acquisition equipment, which is a key component for obtaining communication data. For digital data, the data acquisition device can be a computer, smartphone, sensor, etc. These devices can transmit data to wireless communication devices through various interfaces such as USB, Bluetooth, Wi-Fi, etc. For analog data, the data acquisition device can be a microphone, camera.

[0025] In step S12, a wireless communication frequency point is generated according to the modulation frequency and the frequency deviation range.

[0026] In one implementation, the modulation frequency and the frequency deviation range are sent by a sender to obtain a sending message; the sent message is received by a receiver to obtain a receiving message; the received message is verified to obtain a verification message; the sender makes an authentication request according to the verification message to obtain an authentication message; the receiver performs authentication according to the authentication message to obtain a return message of successful authentication; and the wireless communication frequency is generated according to the return message.

[0027] In one implementation, a two-way authentication code agreed upon by both communicating parties and a random number randomly generated by a receiving party are obtained; encryption is performed based on the two-way authentication code and the random number to obtain an encrypted authentication code; the receiving party performs calculations based on the encrypted authentication code to obtain a two-way authentication verification code; authentication is performed based on the two-way authentication verification code and the authentication message to obtain a return message of successful authentication.

[0028] In one implementation, the two-way authentication verification code is calculated in the following manner: , in, It is a two-way authentication verification code. For Node the verification result of the encrypted authentication code, is the set of adjacent nodes of the receiver.

[0029] The generation of wireless communication frequency is based on modulation frequency and frequency deviation range. Modulation frequency is the basic frequency of wireless communication, while frequency deviation range is the allowable frequency fluctuation range, which is used to adapt to frequency drift or interference in wireless communication. The generation process of wireless communication frequency also involves the sending and receiving of messages, as well as the authentication mechanism. In the process of sending messages, the sender generates wireless communication frequency according to modulation frequency and frequency deviation range, and encapsulates the relevant parameters into a sending message. In the process of receiving messages, the receiver receives the sent message and extracts the modulation frequency and frequency deviation range from it. It also includes a verification message, and the receiver verifies the received message to ensure the integrity and correctness of the message. The authentication mechanism is used to ensure the legitimacy of the identities of both parties in communication and the security of communication. Sending authentication request: The sender sends an authentication request to the receiver according to the verification message. The specific authentication process is to first perform an authentication message. After receiving the authentication request, the receiver generates an authentication message and sends it to the sender. Then, through the return message of successful authentication, the sender performs authentication according to the authentication message. If the authentication is successful, a return message is generated and sent to the receiver. Finally, the wireless communication frequency point is generated. After the receiving party confirms the successful authentication according to the return message, the wireless communication frequency point is finally generated. The generation of the wireless communication frequency point also involves a two-way authentication and encryption mechanism. Specifically, the two communicating parties agree on a two-way authentication code, the receiving party randomly generates a random number, encrypts it according to the two-way authentication code and the random number, and generates an encrypted authentication code. The receiving party calculates according to the encrypted authentication code to generate a two-way authentication verification code. The sender performs authentication according to the two-way authentication verification code and the authentication message. If the authentication is successful, a return message of successful authentication is generated. Finally, after confirming the successful authentication according to the return message, the wireless communication frequency point is generated.

[0030] In 5G networks, authentication technology usually involves functions such as user identification, authentication, and user identity confidentiality. For example, after completing the operator's 5G network authentication, the user can perform secondary authentication for intranet access. The generation and verification process of the encrypted authentication code ensures the security of communication and prevents unauthorized access. This authentication mechanism is widely used in communication scenarios that require high security, such as intranet access in government, enterprises, and universities, and mobile office.

[0031] A two-way authentication code is a secret code agreed upon by both parties in advance. It is usually a string or a sequence of numbers with a fixed length. It is used to verify the identities of both parties during the communication process. A two-way authentication code can be static or dynamically generated, for example, by an algorithm or a key management system. A random number is a value randomly generated by the receiver during each communication process. The function of a random number is to increase the security of communication and prevent replay attacks. A random number is usually a sufficiently large random integer that is different for each communication. The generation of an encryption authentication code requires the selection of a suitable encryption algorithm. Common encryption algorithms include symmetric encryption algorithms (such as AES) and asymmetric encryption algorithms (such as RSA). Symmetric encryption algorithms use the same key for encryption and decryption, while asymmetric encryption algorithms use a pair of keys (public key and private key). In wireless communications, symmetric encryption algorithms are usually used to generate encryption authentication codes because symmetric encryption algorithms have faster encryption and decryption speeds. A two-way authentication code is a code used to verify the identities of both parties in communication. It is usually a hash value or an encrypted value that is used to ensure the legitimacy of the identities of both parties in communication and the security of communication. The generation of the two-way authentication verification code is based on the verification result of the encrypted authentication code and the information of the receiver's adjacent node set. The receiver's adjacent node set refers to the set of nodes adjacent to the receiver in the network topology. In wireless communications, adjacent nodes include base stations, routers, or other communication devices. This set of information can be used to enhance the security of authentication, such as preventing man-in-the-middle attacks by introducing network topology information. By combining network topology information, it is possible to prevent attackers from deceiving the receiver by forging identities or tampering with messages. In a distributed network, adjacent nodes can participate in the authentication process and provide additional verification information.

[0032] In step S13, a calculation is performed according to the wireless communication frequency to obtain a current frequency deviation value.

[0033] In one implementation, the current frequency deviation value is calculated in the following manner: , in, is the current frequency deviation value, is the modulation frequency, is an adjustment factor, is the degree centrality of the sender or receiver, Is a random number.

[0034] In one implementation, degree centrality is calculated as follows: , in, is the degree centrality of the sender or receiver, Is a node The degree of The wireless communication frequency.

[0035] The frequency deviation value refers to the difference between the current wireless communication frequency and the modulation frequency, reflecting the degree of deviation between the actual communication frequency and the theoretical design frequency. In 5G communication, the calculation of the frequency deviation value is crucial to ensure the stability and reliability of the communication link. 5G networks use multiple frequency bands and subcarrier spacings, so accurate frequency control and deviation correction are key to ensuring efficient data transmission. The adjustment coefficient is a system parameter used to adjust the size of the frequency deviation value according to actual needs. For example, in some systems, the sensitivity of the frequency deviation needs to be adjusted according to the environmental noise level or communication distance. Degree centrality is an important concept in network topology, which indicates the degree of connection of a node in the network. In wireless communication, degree centrality can reflect the communication capability and importance of a node. The degree of a node refers to the number of connections between the node and other nodes. Random numbers are used to increase the uncertainty and security of the system and prevent attackers from interfering with communication by predicting the frequency deviation value. Random numbers can be generated by the random number generator of the communication device, which is usually a sufficiently large random integer.

[0036] In step S14, calculation is performed according to the current frequency deviation value to obtain baseband signal data.

[0037] Baseband signal data refers to signal data that has been modulated but not yet RF up-converted in a wireless communication system. It contains all the information of the original communication data and is the basis of the modulation process. Baseband signal data is usually a low-frequency signal that contains all the information to be transmitted, such as voice, text, images, etc. The modulation process is the process of converting the original communication data (such as voice, text, images, etc.) into a signal suitable for wireless transmission. The modulation process includes the following steps. First, the original communication data is converted into a format suitable for modulation. For example, the text data is converted into binary data. Then a suitable modulation method is selected, such as amplitude modulation (AM), frequency modulation (FM), phase modulation (PM) or digital modulation (such as QPSK, QAM, etc.). Finally, according to the selected modulation method, the data-encoded signal is modulated onto the carrier signal to generate a modulated signal. In the calculation process of the baseband signal data, the current frequency deviation value is obtained from step S13, and the carrier frequency is adjusted according to the current frequency deviation value. The modulated signal is converted into baseband signal data.

[0038] In step S15, modulation is performed according to the communication data and the baseband signal data to obtain modulated data.

[0039] Modulation is the process of superimposing the information signal (baseband signal) on a high-frequency carrier signal. The basic function of modulation is to move the spectrum of the baseband signal to the high-frequency carrier, making it suitable for wireless transmission. Through multiplexing technology, more data can be transmitted in the same channel. The modulation process can improve the signal's anti-interference ability by adding redundant information or using a specific modulation method. In the modulation process, the first thing to do is to select a carrier signal. The carrier signal is a high-frequency signal with a frequency much higher than the baseband signal. Selecting a suitable carrier frequency is the first step in the modulation process. This frequency determines the transmission characteristics of the information signal in the wireless channel. Then select the modulation method. According to the application transmission requirements and signal characteristics, select the appropriate modulation method; among them, the modulation methods include: amplitude modulation (AM), frequency modulation (FM), phase modulation (PM) and digital modulation. Amplitude modulation (AM) can transmit information signals by changing the amplitude of the carrier signal. In AM, the information signal modulates the amplitude of the carrier signal. For example, the strength of the audio signal affects the amplitude of the broadcast signal. Frequency modulation (FM) can transmit information signals by changing the frequency of the carrier signal. In FM, the information signal modulates the frequency of the carrier signal. For example, radio stations use FM to improve sound quality and reduce noise. Phase modulation (PM) can transmit information signals by changing the phase of the carrier signal. In PM, the information signal changes the phase of the carrier signal. For example, PM is often used in radio communications and data transmission. Digital modulation includes binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), and quadrature amplitude modulation (QAM), etc., which transmit information by changing the discrete state of the carrier signal, and encode different signal states by making discrete changes to the carrier signal, thereby achieving efficient data transmission. Binary phase shift keying (BPSK) refers to the transmission of binary data by changing the phase of the carrier signal. Quadrature phase shift keying (QPSK) refers to the transmission of four-bit binary data by changing the phase of the carrier signal. Quadrature amplitude modulation (QAM) refers to the transmission of multi-bit binary data by changing the amplitude and phase of the carrier signal.

[0040] In step S16, the modulated data is sent via the sender to obtain the transmission data.

[0041] Transmitted Data refers to the data that has been modulated and sent through a wireless channel. Transmitted data contains all the information that needs to be transmitted, and has been modulated, amplified, and RF up-converted to make it suitable for transmission in a wireless channel. In step S15, the modulated data has been generated, which contains information about baseband signal data and communication data. The modulated data is usually a complex signal that contains amplitude and phase information. RF up-conversion is the process of converting the modulated baseband signal into an RF signal. Among them, RF up-conversion selects a suitable carrier frequency according to the wireless communication protocol. The selection of the carrier frequency needs to consider the frequency band allocation, signal propagation characteristics, and anti-interference ability. The modulated baseband signal is multiplied by the carrier signal to generate an RF signal. In order to ensure that the signal can be transmitted over a long enough distance in the wireless channel, the RF signal needs to be amplified. Signal amplification usually includes the following steps: First, a low noise amplifier (LNA) is used to amplify the signal. At the receiving end, the low noise amplifier is used to amplify weak signals while minimizing the introduction of noise. The transmit power is then amplified using a power amplifier (PA). At the transmitting end, the power amplifier is used to amplify the signal to sufficient power for transmission in the wireless channel. The amplified RF signal is transmitted through the antenna. The selection and design of the antenna have a direct impact on the transmission efficiency and coverage of the signal. Common antenna types include: Omnidirectional antennas can be used to cover a wider area and are suitable for application scenarios such as base stations. Directional antennas can be used to cover a specific direction and are suitable for point-to-point communication. In 5G communications, the process of sending data is crucial to ensure the stability and reliability of the communication link. 5G networks use a variety of modulation methods and frequency bands to achieve efficient data transmission. For example, the 5G NR (New Radio) standard supports multiple frequency bands, including Sub-6GHz and millimeter wave bands. The millimeter wave band has a higher data transmission rate, but the propagation distance is shorter, so more precise RF processing and antenna design are required.

[0042] In step S17, the sending data is received by the receiving party to obtain the received data.

[0043] Received data refers to the signal received by the receiver through the wireless channel. The received data contains all the information sent by the sender, but due to the characteristics of the wireless channel (such as noise, interference, multipath effect, etc.), the received signal will be different from the sent signal. The receiver needs to process the received signal to restore the original data. Signal capture is the first step in the receiving process. The receiver needs to capture the signal in the wireless channel through the antenna. Similar to sending data, the antenna types for signal capture include omnidirectional antennas and directional antennas. Omnidirectional antennas are used to receive signals from multiple directions and are suitable for application scenarios such as base stations. Directional antennas are used to receive signals in a specific direction and are suitable for point-to-point communication. RF down-conversion is the process of converting the received RF signal into a baseband signal. According to the wireless communication protocol, a suitable carrier frequency is selected, and the received RF signal is multiplied by the carrier signal to generate a baseband signal. In order to ensure that the signal can be processed correctly in the receiving device, the baseband signal needs to be amplified. Signal amplification usually includes first at the receiving end, a low-noise amplifier is used to amplify weak signals while minimizing the introduction of noise. Automatic gain control is then used to dynamically adjust the signal amplification factor to ensure that the signal amplitude is within an appropriate range.

[0044] In step S18, separation is performed based on the received data to obtain the original signal.

[0045] In one implementation, demodulation is performed according to the received data to obtain demodulated data; and calculation is performed according to the demodulated data to obtain the original signal.

[0046] Demodulation is the process of extracting information from a baseband signal. The demodulation method depends on the modulation method used by the sender. Common demodulation methods include amplitude demodulation (AM), frequency demodulation (FM), phase demodulation (PM) and digital demodulation. Amplitude demodulation can extract information by detecting the amplitude change of the signal. Frequency demodulation (FM) can extract information by detecting the frequency change of the signal. Phase demodulation (PM): extracts information by detecting the phase change of the signal. Digital demodulation includes binary phase shift keying (BPSK), quadrature phase shift keying (QPSK) and quadrature amplitude modulation (QAM), etc., which extract information by detecting the discrete state of the signal. The demodulated signal still contains noise and interference and needs to be further processed to restore the original data. It can be processed by signal processing methods such as filtering, equalization and decoding. Filtering refers to removing high-frequency noise and interference through filters. Equalization refers to compensating the frequency response of the channel through an equalizer to reduce the impact of multipath effects. Decoding refers to decoding the demodulated signal into original data, such as text, voice or image.

[0047] Spectrum analysis is an important part of signal processing. Through Fourier transform (FFT), time domain signals can be converted into frequency domain signals to analyze the frequency components of the signal. In the frequency domain, the noise component can be removed by setting a threshold, and then the processed frequency domain signal can be converted back to the time domain signal through inverse Fourier transform (IFFT) to restore the original signal. Spectrum analysis refers to converting the time domain signal into the frequency domain signal through FFT and analyzing the frequency components of the signal. Noise removal refers to removing the noise component in the frequency domain by setting a threshold, and the frequency components below the threshold can be removed by setting an amplitude threshold. Signal reconstruction refers to converting the processed frequency domain signal back to the time domain signal through IFFT to restore the original signal.

[0048] In order to facilitate the understanding of the present invention, some preferred embodiments of the present invention are further described below.

[0049] The following describes the working process of the present invention using a common scenario as an example. Figure 2 , which is Figure 1 Schematic diagram of the working scenario of the method.

[0050] In modern intelligent transportation systems, wireless communication technology for vehicle-mounted devices is becoming increasingly important. For example, the new Wi-Fi 6 connection solution released by Cypress further enhances the experience of the in-vehicle infotainment system. In practical applications, the wireless communication system of vehicle-mounted devices needs to start from obtaining the modulation frequency, frequency deviation range and communication data, and finally separate the original signal. The complete process. First, the system determines the modulation frequency, which is the center frequency of the wireless signal, usually 2.4GHz or 5GHz. For example, the center frequency of the 5GHz band can be 5.2GHz. At the same time, the frequency deviation range refers to the allowable deviation range between the actual communication frequency and the modulation frequency, which is usually determined by the hardware performance of the device, such as ±20ppm. The communication data is the actual information that needs to be transmitted, such as audio, video streams, or navigation data. Next, the wireless communication frequency point is generated based on the modulation frequency and frequency deviation range. Assuming that the modulation frequency is 5.2GHz, the frequency deviation range is ±20ppm, and the actual frequency deviation is +10ppm, the wireless communication frequency point is 5.200052GHz. Then, based on the wireless communication frequency point, the current frequency point deviation value is calculated, that is, 52kHz. After that, the baseband signal data is calculated according to the current frequency deviation value. Assuming that the communication data is a piece of audio information and the modulation method is QAM (quadrature amplitude modulation), the baseband signal data is a modulated digital signal. Subsequently, the communication data and the baseband signal data are modulated to obtain the modulated data, which is a signal modulated by QAM and contains the information of the communication data and the baseband signal data. Next, the modulated data is sent by the sender to obtain the transmitted data, and the sender (such as the in-vehicle infotainment system) sends the modulated data to the wireless channel through the antenna. Then, the transmitted data is received by the receiver to obtain the received data, and the receiver (such as a mobile device) receives the signal in the wireless channel through the antenna and performs preliminary processing. Finally, the received data is separated to obtain the original signal, first demodulated according to the modulation method (such as QAM) to obtain the demodulated data, then the noise is removed by the filter, and the frequency response of the channel is compensated by the equalizer. Finally, FFT and IFFT are used for spectrum analysis and signal reconstruction to extract the original data. Through this process, on-board equipment can efficiently transmit and receive data, ensuring the stability and reliability of communication, reflecting the complexity and efficiency of modern wireless communication technology.

[0051] In summary, the present invention discloses a secure data encryption method for wireless communication of vehicle-mounted equipment, including obtaining the modulation frequency, frequency deviation range and communication data of both communicating parties; generating according to the modulation frequency and the frequency deviation range to obtain the wireless communication frequency point; calculating according to the wireless communication frequency point to obtain the current frequency deviation value; calculating according to the current frequency deviation value to obtain the baseband signal data; modulating according to the communication data and the baseband signal data to obtain the modulation data; sending according to the modulation data through the sender to obtain the transmission data; receiving according to the transmission data through the receiver to obtain the reception data; separating according to the reception data to obtain the original signal. The present invention increases the fine-tuning of the frequency so that the attacker can obtain the communication signal, but cannot obtain the actual communication content of the communication signal; through the continuous change of the frequency, the encryption system adopts two-way authentication and modulation and demodulation of the signal frequency domain to ensure the authenticity of the identities of the two communicating parties and increase the difficulty for the attacker to crack the signal. Compared with the prior art that uses the RSA algorithm to encrypt data, the communication sender and the communication receiver use the same carrier frequency and frequency point for data communication. The present invention can solve the problem of insufficient wireless communication security caused by the communication sender and the communication receiver using the same carrier frequency and frequency point for data communication.

[0052] Reference Figure 3 The second embodiment of the present invention provides a secure data encryption device for wireless communication of an in-vehicle device, comprising: A data acquisition module is used to obtain the modulation frequency, frequency deviation range and communication data of both communicating parties; A frequency point generation module, used to generate a wireless communication frequency point according to the modulation frequency and the frequency deviation range; A deviation value calculation module, used to calculate according to the wireless communication frequency point to obtain the current frequency point deviation value; A data calculation module, used to calculate according to the current frequency deviation value to obtain baseband signal data; A data modulation module, used for performing modulation according to the communication data and the baseband signal data to obtain modulated data; A data sending module, used for sending the modulated data through a sender to obtain sending data; A data receiving module, used for receiving the sent data through a receiving party to obtain received data; The data separation module is used to separate the received data to obtain the original signal.

[0053] It should be noted that the secure data encryption device for wireless communication of a vehicle-mounted device provided in an embodiment of the present invention is used to execute all the process steps of the secure data encryption method for wireless communication of a vehicle-mounted device in the above embodiment. The working principles and beneficial effects of the two correspond one to one, and therefore will not be repeated here.

[0054] The embodiment of the present invention further provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as an algorithm program. When the processor executes the computer program, the steps in the above-mentioned embodiments of the method for encrypting secure data in wireless communication of an on-board device are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned device embodiments are realized, such as the data separation module.

[0055] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0056] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0057] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0058] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

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

[0060] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0061] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A secure data encryption method for wireless communication of vehicle-mounted equipment, characterized in that: Executed by a computer, including: Obtain the modulation frequency, frequency deviation range and communication data of both communicating parties; Generate a wireless communication frequency point according to the modulation frequency and the frequency deviation range; Calculate according to the wireless communication frequency to obtain a current frequency deviation value; Calculate according to the current frequency deviation value to obtain baseband signal data; Modulating the communication data and the baseband signal data to obtain modulated data; The modulated data is sent through the sender to obtain the sent data; Receiving the sent data via the receiving party to obtain received data; Separation is performed according to the received data to obtain the original signal.

2. The secure data encryption method for wireless communication of vehicle-mounted equipment according to claim 1, characterized in that: The generating according to the modulation frequency and the frequency deviation range to obtain a wireless communication frequency point includes: The transmission is performed by the sender according to the modulation frequency and the frequency deviation range to obtain a transmission message; The sent message is received by the receiving party to obtain a received message; Perform verification according to the received message to obtain a verification message; Perform an authentication request according to the verification message sender to obtain an authentication message; Perform authentication according to the authentication message recipient, and obtain a return message of successful authentication; Generate according to the returned message to obtain the wireless communication frequency.

3. The secure data encryption method for wireless communication of vehicle-mounted equipment according to claim 2, characterized in that: The step of performing authentication according to the authentication message receiver and obtaining a return message indicating successful authentication includes: Obtain the two-way authentication code agreed upon by both parties and the random number randomly generated by the receiving party; Encrypting according to the two-way authentication code and the random number to obtain an encrypted authentication code; Calculate the encrypted authentication code to obtain a two-way authentication verification code; Authentication is performed according to the two-way authentication verification code and the authentication message, and a return message of successful authentication is obtained.

4. The secure data encryption method for wireless communication of vehicle-mounted equipment according to claim 3, characterized in that: The step of calculating according to the encrypted authentication code receiving party to obtain a two-way authentication verification code comprises: The two-way authentication verification code is calculated in the following way: , in, It is a two-way authentication verification code. For Node the verification result of the encrypted authentication code, is the set of adjacent nodes of the receiver.

5. The secure data encryption method for wireless communication of vehicle-mounted equipment according to claim 1, characterized in that: The calculating according to the wireless communication frequency to obtain the current frequency deviation value includes: The current frequency deviation value is calculated in the following way: , in, is the current frequency deviation value, is the modulation frequency, is an adjustment factor, is the degree centrality of the sender or receiver, Is a random number.

6. The secure data encryption method for wireless communication of vehicle-mounted equipment according to claim 5, characterized in that: The method further comprises: Degree centrality is calculated in the following way: , in, is the degree centrality of the sender or receiver, Is a node The degree of The wireless communication frequency.

7. The secure data encryption method for wireless communication of vehicle-mounted equipment according to claim 2, characterized in that: The step of separating the received data to obtain the original signal comprises: Demodulate the received data to obtain demodulated data; Calculation is performed based on the demodulated data to obtain the original signal.

8. A secure data encryption device for wireless communication of vehicle-mounted equipment, characterized in that: include: A data acquisition module is used to obtain the modulation frequency, frequency deviation range and communication data of both communicating parties; A frequency point generation module, used to generate a wireless communication frequency point according to the modulation frequency and the frequency deviation range; A deviation value calculation module, used to calculate according to the wireless communication frequency point to obtain the current frequency point deviation value; A data calculation module, used to calculate according to the current frequency deviation value to obtain baseband signal data; A data modulation module, used for performing modulation according to the communication data and the baseband signal data to obtain modulated data; A data sending module, used for sending the modulated data through a sender to obtain sending data; A data receiving module, used for receiving the sent data through a receiving party to obtain received data; The data separation module is used to separate the received data to obtain the original signal.

9. An electronic device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the secure data encryption method for wireless communication of vehicle-mounted equipment as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the secure data encryption method for wireless communication of an in-vehicle device as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for demodulating reference Chirp ultra- wideband system group based on active frequency spectrum compression code

    CN101552620A

  • Method for transmitting signal for multi-antenna single-carrier frequency division multiple access system

    CN104486274A

  • Data transmission system, method and equipment

    CN111901005A

  • Energy-carrying wireless message transmitting and receiving system, method and device

    CN112422158A

  • Baseband signal digital processing method, device, equipment and instrument landing system

    CN119583284A