Protection methods and devices against near-field communication backhaul data tampering attacks

By acquiring the waveform and polarization information of near-field communication signals and monitoring the state of quartz crystal oscillator signals, this technology can identify and prevent data tampering attacks in NFC communication, thus solving the data tampering problem caused by quartz crystal oscillator interference in existing technologies and improving the security and stability of NFC communication.

CN117915336BActive Publication Date: 2026-11-17INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311675194.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2026-11-17
Estimated Expiration
2043-12-07

AI Technical Summary

Technical Problem

Existing NFC communication technology lacks effective protection against data tampering attacks based on quartz crystal oscillator interference, which threatens the security of data transmission.

Method used

By acquiring waveform and polarization information of near-field communication signals, the state of quartz crystal oscillator signals is monitored. Abnormal signals are identified using signal preprocessing and polarization processing, and protective measures are taken when an anomaly is detected, such as interrupting communication or sending an alarm.

Benefits of technology

It enables real-time monitoring of NFC communication and prevents data tampering attacks, thereby improving data security and communication stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117915336B_ABST
    Figure CN117915336B_ABST
Patent Text Reader

Abstract

This application provides a method and apparatus for protecting against near-field communication (NFC) data tampering attacks. The method includes: acquiring a NFC signal; acquiring waveform information of the NFC signal based on signal preprocessing; acquiring polarization information of the NFC signal based on polarization processing; and determining a monitoring result of a quartz crystal oscillator signal based on the waveform information and the polarization information. The monitoring result indicates whether the quartz crystal oscillator signal is an abnormal signal. The method and apparatus provided in this application, by acquiring the waveform and polarization information of the NFC signal to determine the quartz crystal oscillator signal and then monitoring its signal state, can promptly detect and prevent data tampering attacks, thereby improving data security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of near-field communication technology, and in particular to a protection method and device against near-field communication backhaul data tampering attacks. Background Technology

[0002] Near Field Communication (NFC) is a short-range, high-frequency wireless communication technology that allows contactless point-to-point data transfer between electronic devices (within a 10-centimeter range). It enables simple and quick authentication and data exchange. NFC is increasingly widely used in daily life, such as in e-wallets, mobile payments, and access control systems.

[0003] A thorough understanding and prevention of potential threats during NFC data exchange is crucial to ensuring the secure operation of NFC technology. Methods for ensuring the security of NFC communications typically include encryption techniques, security modules (SE), and radio frequency identification (RFID) protection.

[0004] However, a new attack method has recently threatened the security of NFC communication. Attackers use electromagnetic waves of a specific frequency to interfere with the quartz crystal oscillator module in NFC reader / writer devices, causing signal distortion and thus tampering with data transmission. Although existing NFC communication technology has various protection mechanisms, there is still no effective protection against data tampering attacks based on quartz crystal oscillator interference. Summary of the Invention

[0005] To address the aforementioned technical problems, this application provides a method and apparatus for protecting against near-field communication backhaul data tampering attacks.

[0006] In a first aspect, embodiments of this application provide a protection method against near-field communication backhaul data tampering attacks, including:

[0007] Acquire near-field communication signals, wherein the near-field communication signals are modulated based on quartz crystal oscillator signals;

[0008] The waveform information of the near-field communication signal is obtained based on signal preprocessing, and the waveform information includes amplitude characteristics and signal amplitude;

[0009] The polarization information of the near-field communication signal is obtained based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components.

[0010] The monitoring result of the quartz crystal oscillator signal is determined based on the waveform information and the polarization information, and the monitoring result is used to indicate whether the quartz crystal oscillator signal is an abnormal signal.

[0011] In some embodiments, obtaining the waveform information of the near-field communication signal based on signal preprocessing includes:

[0012] The near-field communication signal is preprocessed to obtain the amplitude characteristics of the preprocessed near-field communication signal, and the signal amplitude is obtained based on the sampling time.

[0013] In some embodiments, obtaining the polarization information of the near-field communication signal based on polarization processing includes:

[0014] The preprocessed near-field communication signal is decomposed to obtain the polarization component;

[0015] Based on the polarization component, the polarization parameter corresponding to the polarization component is measured.

[0016] In some embodiments, determining the monitoring result of the quartz crystal oscillator signal based on the waveform information and the polarization information includes:

[0017] The quartz crystal oscillator signal is determined based on the waveform information and the polarization information;

[0018] The monitoring results are determined based on the waveform difference between the quartz crystal oscillator signal and the theoretical signal.

[0019] In some embodiments, the method further includes:

[0020] If the monitoring results indicate that the quartz crystal oscillator signal is an abnormal signal, protective measures shall be taken.

[0021] In some embodiments, the protective treatment includes one or more of the following:

[0022] interrupt communication;

[0023] Send an alarm message;

[0024] Record abnormal events.

[0025] In some embodiments, the signal preprocessing includes one or more of the following processing methods:

[0026] Filtering;

[0027] Noise reduction;

[0028] enlarge;

[0029] sampling;

[0030] Balance and compensation.

[0031] Secondly, embodiments of this application also provide a protective device against near-field communication backhaul data tampering attacks, comprising:

[0032] The first acquisition module is used to acquire near-field communication signals, which are modulated based on quartz crystal oscillator signals;

[0033] The second acquisition module is used to acquire waveform information of the near-field communication signal based on signal preprocessing, wherein the waveform information includes amplitude characteristics and signal amplitude;

[0034] The third acquisition module is used to acquire the polarization information of the near-field communication signal based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components.

[0035] The first determining module is used to determine the monitoring result of the quartz crystal oscillator signal based on the waveform information and the polarization information, wherein the monitoring result is used to indicate whether the quartz crystal oscillator signal is an abnormal signal.

[0036] In some embodiments, the second acquisition module includes:

[0037] The first acquisition submodule is used to perform signal preprocessing on the near-field communication signal, acquire the amplitude characteristics of the preprocessed near-field communication signal, and acquire the signal amplitude based on the sampling time.

[0038] In some embodiments, the third acquisition module includes:

[0039] The second acquisition submodule is used to decompose the preprocessed near-field communication signal and acquire the polarization component.

[0040] The first measurement module is used to measure the polarization parameters corresponding to the polarization component based on the polarization component.

[0041] In some embodiments, the first determining module includes:

[0042] The first determining submodule is used to determine the quartz crystal oscillator signal based on the waveform information and the polarization information;

[0043] The second determining submodule is used to determine the monitoring result based on the waveform difference between the quartz crystal oscillator signal and the theoretical signal.

[0044] In some embodiments, the protective device against near-field communication backhaul data tampering attacks further includes:

[0045] The first processing module is used to perform protective processing when the monitoring results indicate that the quartz crystal oscillator signal is an abnormal signal.

[0046] In some embodiments, the protective treatment includes one or more of the following:

[0047] interrupt communication;

[0048] Send an alarm message;

[0049] Record abnormal events.

[0050] In some embodiments, the signal preprocessing includes one or more of the following processing methods:

[0051] Filtering;

[0052] Noise reduction;

[0053] enlarge;

[0054] sampling;

[0055] Balance and compensation.

[0056] Thirdly, embodiments of this application also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the protection method against near-field communication backhaul data tampering attacks as described above.

[0057] Fourthly, embodiments of this application also provide a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the protection method against near-field communication backhaul data tampering attacks as described above.

[0058] Fifthly, embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the protection method against near-field communication backhaul data tampering attacks as described above.

[0059] The protection method and apparatus for near-field communication backhaul data tampering attacks provided in this application embodiment obtain waveform and polarization information of near-field communication signals to determine the quartz crystal oscillator signal, and then monitor the signal state of the quartz crystal oscillator signal, which can detect and prevent data tampering attacks in a timely manner and improve data security. Attached Figure Description

[0060] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0061] Figure 1 This is a flowchart illustrating a protection method against near-field communication backhaul data tampering attacks provided in an embodiment of this application.

[0062] Figure 2This is a schematic diagram of the protective device against near-field communication backhaul data tampering attacks provided in the embodiments of this application;

[0063] Figure 3 This is a schematic diagram of the physical structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0064] The core function of NFC is its ability to enable rapid communication between devices without the need for complex pairing processes, bringing great convenience to users, factories, and enterprises. An NFC communication system consists of an active communication system comprised of a reader / writer and a peer device. The reader / writer generates a changing magnetic field to establish a communication channel, while the peer device uses the energy generated by the reader / writer to communicate. During NFC information exchange, the radio frequency field generated by the reader / writer powers the peer device, and the peer device's NFC chip uses the electrical energy converted from magnetic energy to process the transmitted data. Because the communication channel is open in physical space, attackers can use physical signals (such as magnetic fields) to intrude into the communication channel and execute potential attacks, including data theft, man-in-the-middle attacks, and replay attacks, posing significant risks to data security and privacy. Recently, there have been attacks that exploit electromagnetic compatibility flaws in NFC hardware circuits to tamper with data transmitted in NFC communication channels. Specifically, these attacks involve sending electromagnetic waves of a specific frequency to the quartz crystal oscillator module on the PCB board of the NFC reader / writer. Since the quartz crystal oscillator is responsible for generating the signals required for the radio frequency field, the signals generated by the quartz crystal oscillator after receiving electromagnetic interference may be distorted, resulting in errors in the parsed data.

[0065] To prevent quartz crystal oscillator interference attacks, this application provides a protection method against near-field communication (NFC) data tampering attacks. By detecting and analyzing the signal waveform and polarization state in the communication channel, NFC data tampering attacks can be detected and prevented in a timely manner, thereby improving the security of NFC communication and protecting user privacy and enterprise data from potential threats.

[0066] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0067] Figure 1 This is a flowchart illustrating a protection method against near-field communication backhaul data tampering attacks provided in an embodiment of this application. Figure 1 As shown in the figure, this application provides a protection method against near-field communication backhaul data tampering attacks, including:

[0068] Step 101: Acquire a near-field communication signal, which is based on quartz crystal oscillator signal modulation.

[0069] Specifically, during the message return phase, the NFC reader uses a crystal oscillator to generate a radio frequency carrier and transmits it through a radio frequency circuit. The receiving device utilizes the radio frequency energy generated by the NFC reader and simultaneously adjusts its impedance to reflect the carrier transmitted by the reader, thus altering the amplitude of the reader's receiving circuit and enabling the reception of the returned message. In this model, the sinusoidal signal output by the quartz crystal oscillator, i.e., the quartz crystal oscillator signal, provides the communication carrier. The fluctuation in the amplitude of the crystal oscillator carrier directly affects the amplitude of the modulation signal, i.e., the near-field communication signal, obtained by the reader's receiving circuit.

[0070] Step 102: Obtain waveform information of the near-field communication signal based on signal preprocessing. The waveform information includes amplitude characteristics and signal amplitude.

[0071] Specifically, after acquiring the near-field communication signal, the signal preprocessing process can begin. Signal preprocessing is a crucial component of the electromagnetic signal analysis system. Its main purpose is to perform a series of processing steps on the signal before it enters the analysis process to improve signal quality, reduce noise, and enhance the features of interest. The amplitude characteristics of the near-field communication signal after filtering, amplification, and sampling compensation are recorded. At this point, the corresponding signal amplitude is captured according to the sampling time and recorded.

[0072] Step 103: Obtain the polarization information of the near-field communication signal based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components.

[0073] Specifically, in order to capture the polarization characteristics of a signal, the signal can be decomposed into different polarization components. For each polarization component, the polarization parameters of the signal, such as polarizability, orientation angle, and ellipticity, are measured and recorded.

[0074] The polarization components may include, but are not limited to, principal polarization, cross polarization, horizontal polarization, and vertical polarization.

[0075] Step 104: Determine the monitoring result of the quartz crystal oscillator signal based on the waveform information and the polarization information. The monitoring result is used to indicate whether the quartz crystal oscillator signal is an abnormal signal.

[0076] Specifically, the monitoring results of the quartz crystal oscillator signal can be determined based on waveform information and polarization information by capturing the waveform and amplitude of the modulation signal of the quartz crystal oscillator and the NFC channel, and then using machine learning algorithms to distinguish potential abnormal waveforms.

[0077] The protection method against near-field communication backhaul data tampering attacks provided in this application embodiment obtains the waveform and polarization information of the near-field communication signal to determine the quartz crystal oscillator signal, and then monitors the signal state of the quartz crystal oscillator signal, which can detect and prevent data tampering attacks in a timely manner and improve data security.

[0078] In some embodiments, obtaining the waveform information of the near-field communication signal based on signal preprocessing includes:

[0079] The near-field communication signal is preprocessed to obtain the amplitude characteristics of the preprocessed near-field communication signal, and the signal amplitude is obtained based on the sampling time.

[0080] Specifically, after acquiring the near-field communication signal, the signal preprocessing process can begin. Signal preprocessing is a crucial component of the electromagnetic signal analysis system. Its main purpose is to perform a series of processing steps on the signal before it enters the analysis process to improve signal quality, reduce noise, and enhance the features of interest. The amplitude characteristics of the near-field communication signal after filtering, amplification, and sampling compensation are recorded. At this point, the corresponding signal amplitude is captured according to the sampling time and recorded.

[0081] The protection method against near-field communication backhaul data tampering attacks provided in this application improves signal quality, reduces the impact of interference and noise, and makes the signal easier for subsequent analysis methods to process. This will improve the accuracy and reliability of monitoring and analyzing the quartz crystal oscillator signal of NFC reader / writer devices, thereby providing a more effective means to prevent malicious attacks.

[0082] In some embodiments, obtaining the polarization information of the near-field communication signal based on polarization processing includes:

[0083] The preprocessed near-field communication signal is decomposed to obtain the polarization component;

[0084] Based on the polarization component, the polarization parameter corresponding to the polarization component is measured.

[0085] Specifically, monitoring, analyzing, and understanding the polarization state of electromagnetic signals is crucial for ensuring signal quality, security, and preventing potential anomalous signals, especially in communication with NFC reader / writer devices. Embodiments of this application can decompose the signal into different polarization components using a polarization demodulator. For each polarization component, a polarization state analyzer is used to measure the polarization parameters of the signal.

[0086] The polarization demodulator is a module used to decompose the captured signal into different polarization components. This means it can separate the signal into components with different polarization states, such as primary polarization, cross-polarization, horizontal polarization, and vertical polarization. The polarization demodulator decomposes the captured signal into these different polarization components, providing more information for subsequent analysis.

[0087] A polarization state analyzer is a module used for detailed analysis of the polarization characteristics of a signal. It receives data from different polarization components from a polarization demodulator and further analyzes the polarization parameters of these components, such as polarizability, orientation angle, and ellipticity. The task of the polarization state analyzer is to provide the system with comprehensive polarization information about the signal.

[0088] The polarization analysis module is part of the overall system. Its task is to combine data from the polarization state analyzer with other signal characteristic data (such as amplitude, frequency, etc.) for comprehensive analysis. This helps to determine the complete characteristics of the signal.

[0089] The protection method against near-field communication backhaul data tampering attacks provided in this application embodiment obtains polarization components and corresponding polarization parameters to ensure that the polarization state of electromagnetic signals can be fully monitored, analyzed, and understood.

[0090] In some embodiments, determining the monitoring result of the quartz crystal oscillator signal based on the waveform information and the polarization information includes:

[0091] The quartz crystal oscillator signal is determined based on the waveform information and the polarization information;

[0092] The monitoring results are determined based on the waveform difference between the quartz crystal oscillator signal and the theoretical signal.

[0093] Specifically, advanced anomaly detection algorithms can be used to identify abnormal signal behavior. First, the quartz crystal oscillator signal is determined based on waveform and polarization information. Then, based on the signal modulation method specified in the NFC communication protocol, a machine learning algorithm is used to compare the waveform difference between the quartz crystal oscillator signal and the theoretical signal to infer whether an attack exists. If an attack is present, the monitoring result is abnormal; if no attack is present, the monitoring result is normal.

[0094] The protection method against near-field communication backhaul data tampering attacks provided in this application embodiment detects and prevents data tampering attacks in a timely manner by monitoring the signal status of the quartz crystal oscillator in real time.

[0095] In some embodiments, the method further includes:

[0096] If the monitoring results indicate that the quartz crystal oscillator signal is an abnormal signal, protective measures shall be taken.

[0097] Specifically, once an abnormal signal is detected, the NFC reader / writer can immediately activate a backup communication channel or interrupt the current data transmission to minimize the risk of data leakage. The NFC reader / writer can also log the abnormal information for subsequent analysis and processing, and can send alarm messages to users or administrators.

[0098] The protection method against near-field communication backhaul data tampering attacks provided in this application embodiment can monitor the signal status of the quartz crystal oscillator in real time and take immediate countermeasures when an abnormal signal is detected, thereby improving data security and effectively preventing data tampering attacks.

[0099] In some embodiments, the signal preprocessing includes one or more of the following processing methods:

[0100] Filtering;

[0101] Noise reduction;

[0102] enlarge;

[0103] sampling;

[0104] Balance and compensation.

[0105] Specifically, filtering can employ a low-pass filter, which removes unwanted frequency components while retaining the signal of interest by selecting a specific frequency range. This specific frequency range can be 20 to 30 MHz.

[0106] Electromagnetic signals often contain various forms of noise, such as random noise, interference, and vibration. Gaussian signal smoothing methods can be used to remove this noise.

[0107] The captured electromagnetic signals are usually quite weak. Operational amplifiers can be used to amplify the signal amplitude, making it easier to perform subsequent analysis.

[0108] Before digitizing a signal, it is usually necessary to sample the signal, setting the sampling rate to 3 GHz to meet the resolution requirements of most signals.

[0109] Sometimes signals may be attenuated or distorted during transmission. Signal preprocessing can include equalization and compensation steps to correct these effects and make the signal more accurately reflect the original information.

[0110] The protection method against near-field communication backhaul data tampering attacks provided in this application embodiment obtains the waveform and polarization information of the near-field communication signal to determine the quartz crystal oscillator signal, and then monitors the signal state of the quartz crystal oscillator signal, which can detect and prevent data tampering attacks in a timely manner and improve data security.

[0111] The methods described in the above embodiments will be further illustrated below with specific examples.

[0112] This application provides a method for protecting against near-field communication data tampering attacks. The specific implementation steps of this method are as follows:

[0113] 1. Real-time capture of radio frequency signal waveforms: Design specific high-gain antennas and use dedicated sensors or antennas to ensure continuous monitoring of communication signals.

[0114] A specific high-gain antenna is used to transmit the electric field. It utilizes a flexible insulating material shell and employs either an SMA (Super-Augmented Multi-Hole) right-angle antenna or an SMA (Super-Augmented Multi-Hole) whip antenna at the interface. The design supports a frequency range of 0–1 GHz, with a nominal impedance of 50 Ω, a maximum supported input power of 50 W, a maximum gain of 3 dBi, and omnidirectional polarization. The antenna dimensions are: 210 × 15 mm for the whip antenna and 185 × 15 mm (straight segment) for the right-angle antenna with the steering knuckle. The entire antenna weighs 30 g and operates within a temperature range of -40℃ to +60℃.

[0115] 2. Signal Analysis Module: This module uses a specially designed magnetic field coil to capture electromagnetic signals leaked during NFC channel and quartz crystal oscillation. The captured signals are then processed by the built-in signal analysis module. This module uses digital signal processing technology to convert the signals into digital form and performs operations such as spectrum analysis and time-domain analysis.

[0116] The packaged quartz crystal oscillator consists of a crystal and electrodes covering its two ends. The electrodes are made of conductive material (such as copper or silver alloy), and the package is encapsulated in a metal casing. Leads extend from the two ends of the crystal electrodes to the bottom of the crystal package and are connected to external circuitry. Load capacitors are connected to the two ends of the crystal to form a π-type frequency selection network, which selects a signal that matches the resonant frequency. The resistors in the circuit regulate the voltage across the crystal. The inverting amplifier amplifies the oscillation signal and provides a 180° phase shift to maintain stable signal resonance.

[0117] The specially designed magnetic field coil consists of a coaxial cable wound into a loop. To enhance magnetic field capture performance, the coil has 30 turns. The outer shielding layer of the coil remains open, and the core wire ends are soldered to the outer shielding layer. Electrically, the capture frequency range is set to 100kHz to 50MHz, and the probe size is... The output interface is an SMB interface. The overall weight is 15g.

[0118] 3. Polarization State Monitoring: In addition to signal waveform analysis, this invention also monitors the signal polarization state in the communication channel. This is achieved through a dedicated polarization analysis module, which can detect the polarization direction and changes of the signal. Monitoring the polarization state helps identify potential interference or tampering.

[0119] The monitoring component requires a magnetic field probe placed below the coil of the NFC reader / writer to observe the waveform of the modulated signal being transmitted in order to analyze the content being transmitted; it also requires a near-field antenna to monitor the electromagnetic signals leaked from the quartz crystal oscillator; the NFC reader / writer module is connected to the development board to send and receive NFC read / write commands.

[0120] 4. Anomaly Detection Algorithm: This invention employs an advanced anomaly detection algorithm to identify abnormal signal behavior. Based on the signal modulation method specified in the NFC communication protocol, a machine learning algorithm is used to compare the waveform difference between the actual captured signal and the theoretical signal to infer whether an attack exists.

[0121] 5. Automatic Countermeasures: If an anomaly is detected, this invention will immediately take automatic countermeasures to ensure the security of NFC communication. These measures may include interrupting communication, alerting the user or administrator, and logging the abnormal event.

[0122] 6. Real-time Notifications: This invention can also send real-time notifications to relevant parties to respond promptly to potential threats. This can be achieved by connecting to cloud services or mobile applications, allowing users to monitor the security of their NFC devices at any time.

[0123] It is worth mentioning that the present invention can be implemented by combining hardware and software. The hardware includes a signal acquisition sensor, a signal analysis module, a polarization analysis module, etc., while the related software can run on an NFC device. This integrated hardware and software approach ensures the high scalability and integrability of the present invention.

[0124] Furthermore, the method of this invention can immediately activate a backup communication channel when an abnormal signal is detected to ensure normal data transmission. This mechanism can ensure data security while also guaranteeing the stability and continuity of NFC communication.

[0125] The protection method against NFC backhaul data tampering attacks provided in this application embodiment can not only achieve real-time monitoring of quartz crystal oscillator signals, but also take immediate countermeasures when abnormal signals are detected, thereby effectively preventing attacks that use quartz crystal oscillators to tamper with NFC backhaul data.

[0126] Figure 2 This is a schematic diagram of the protective device against near-field communication backhaul data tampering attacks provided in the embodiments of this application, as shown below. Figure 2 As shown in the embodiment of this application, the protective device against near-field communication backhaul data tampering attacks includes a first acquisition module 201, a second acquisition module 202, a third acquisition module 203, and a first determination module 204, wherein:

[0127] The first acquisition module 201 is used to acquire near-field communication signals, which are based on quartz crystal oscillator signal modulation;

[0128] The second acquisition module 202 is used to acquire waveform information of the near-field communication signal based on signal preprocessing, wherein the waveform information includes amplitude characteristics and signal amplitude;

[0129] The third acquisition module 203 is used to acquire the polarization information of the near-field communication signal based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components.

[0130] The first determining module 204 is used to determine the monitoring result of the quartz crystal oscillator signal based on the waveform information and the polarization information, wherein the monitoring result is used to indicate whether the quartz crystal oscillator signal is an abnormal signal.

[0131] In some embodiments, the second acquisition module includes:

[0132] The first acquisition submodule is used to perform signal preprocessing on the near-field communication signal, acquire the amplitude characteristics of the preprocessed near-field communication signal, and acquire the signal amplitude based on the sampling time.

[0133] In some embodiments, the third acquisition module includes:

[0134] The second acquisition submodule is used to decompose the preprocessed near-field communication signal and acquire the polarization component.

[0135] The first measurement module is used to measure the polarization parameters corresponding to the polarization component based on the polarization component.

[0136] In some embodiments, the first determining module includes:

[0137] The first determining submodule is used to determine the quartz crystal oscillator signal based on the waveform information and the polarization information;

[0138] The second determining submodule is used to determine the monitoring result based on the waveform difference between the quartz crystal oscillator signal and the theoretical signal.

[0139] In some embodiments, the protective device against near-field communication backhaul data tampering attacks further includes:

[0140] The first processing module is used to perform protective processing when the monitoring results indicate that the quartz crystal oscillator signal is an abnormal signal.

[0141] In some embodiments, the protective treatment includes one or more of the following:

[0142] interrupt communication;

[0143] Send an alarm message;

[0144] Record abnormal events.

[0145] In some embodiments, the signal preprocessing includes one or more of the following processing methods:

[0146] Filtering;

[0147] Noise reduction;

[0148] enlarge;

[0149] sampling;

[0150] Balance and compensation.

[0151] Specifically, the protection device against near-field communication backhaul data tampering attacks provided in this application embodiment can implement all the method steps implemented in the above-mentioned protection method embodiment against near-field communication backhaul data tampering attacks, and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0152] Figure 3 This is a schematic diagram of the physical structure of the electronic device provided in the embodiments of this application, such as... Figure 3 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communications interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a protection method against near-field communication data tampering attacks, the method including:

[0153] Acquire near-field communication signals, wherein the near-field communication signals are modulated based on quartz crystal oscillator signals;

[0154] The waveform information of the near-field communication signal is obtained based on signal preprocessing, and the waveform information includes amplitude characteristics and signal amplitude;

[0155] The polarization information of the near-field communication signal is obtained based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components.

[0156] The monitoring result of the quartz crystal oscillator signal is determined based on the waveform information and the polarization information, and the monitoring result is used to indicate whether the quartz crystal oscillator signal is an abnormal signal.

[0157] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0158] In some embodiments, obtaining the waveform information of the near-field communication signal based on signal preprocessing includes:

[0159] The near-field communication signal is preprocessed to obtain the amplitude characteristics of the preprocessed near-field communication signal, and the signal amplitude is obtained based on the sampling time.

[0160] In some embodiments, obtaining the polarization information of the near-field communication signal based on polarization processing includes:

[0161] The preprocessed near-field communication signal is decomposed to obtain the polarization component;

[0162] Based on the polarization component, the polarization parameter corresponding to the polarization component is measured.

[0163] In some embodiments, determining the monitoring result of the quartz crystal oscillator signal based on the waveform information and the polarization information includes:

[0164] The quartz crystal oscillator signal is determined based on the waveform information and the polarization information;

[0165] The monitoring results are determined based on the waveform difference between the quartz crystal oscillator signal and the theoretical signal.

[0166] In some embodiments, the method further includes:

[0167] If the monitoring results indicate that the quartz crystal oscillator signal is an abnormal signal, protective measures shall be taken.

[0168] In some embodiments, the protective treatment includes one or more of the following:

[0169] interrupt communication;

[0170] Send an alarm message;

[0171] Record abnormal events.

[0172] In some embodiments, the signal preprocessing includes one or more of the following processing methods:

[0173] Filtering;

[0174] Noise reduction;

[0175] enlarge;

[0176] sampling;

[0177] Balance and compensation.

[0178] Specifically, the electronic device provided in this application embodiment can implement all the method steps implemented by the method embodiment with the execution subject being an electronic device, and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0179] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program that can be stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is able to execute the protection methods against near-field communication backhaul data tampering attacks provided by the above methods, the method comprising:

[0180] Acquire near-field communication signals, wherein the near-field communication signals are modulated based on quartz crystal oscillator signals;

[0181] The waveform information of the near-field communication signal is obtained based on signal preprocessing, and the waveform information includes amplitude characteristics and signal amplitude;

[0182] The polarization information of the near-field communication signal is obtained based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components.

[0183] The monitoring result of the quartz crystal oscillator signal is determined based on the waveform information and the polarization information, and the monitoring result is used to indicate whether the quartz crystal oscillator signal is an abnormal signal.

[0184] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the protection methods against near-field communication backhaul data tampering attacks provided by the methods described above, the method comprising:

[0185] Acquire near-field communication signals, wherein the near-field communication signals are modulated based on quartz crystal oscillator signals;

[0186] The waveform information of the near-field communication signal is obtained based on signal preprocessing, and the waveform information includes amplitude characteristics and signal amplitude;

[0187] The polarization information of the near-field communication signal is obtained based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components.

[0188] The monitoring result of the quartz crystal oscillator signal is determined based on the waveform information and the polarization information, and the monitoring result is used to indicate whether the quartz crystal oscillator signal is an abnormal signal.

[0189] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0190] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0191] It should also be noted that the terms "first," "second," etc., used in the embodiments of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, and the number of objects is not limited. For example, the first object can be one or more.

[0192] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.

[0193] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.

[0194] In this application, "determining B based on A" means that factor A must be considered when determining B. It is not limited to "B can be determined based solely on A," but should also include: "determining B based on A and C," "determining B based on A, C, and E," and "determining C based on A, and further determining B based on C," etc. Additionally, it can include using A as a condition for determining B, for example, "when A satisfies the first condition, B is determined using the first method"; or "when A satisfies the second condition, B is determined," or "when A satisfies the third condition, B is determined based on the first parameter," etc. Of course, it can also be a condition where A is a factor in determining B, for example, "when A satisfies the first condition, C is determined using the first method, and B is further determined based on C," etc.

[0195] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A protection method against near-field communication backhaul data tampering attacks, characterized in that, include: Acquire near-field communication signals, wherein the near-field communication signals are modulated based on quartz crystal oscillator signals; The waveform information of the near-field communication signal is obtained based on signal preprocessing, and the waveform information includes amplitude characteristics and signal amplitude; The polarization information of the near-field communication signal is obtained based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components. The quartz crystal oscillator signal is determined based on the waveform information and the polarization information, and the monitoring result is determined based on the waveform difference between the quartz crystal oscillator signal and the theoretical signal. If the monitoring result indicates an attack, it means that the quartz crystal oscillator signal is an abnormal signal.

2. The protection method against near-field communication backhaul data tampering attacks according to claim 1, characterized in that, The process of obtaining waveform information of the near-field communication signal based on signal preprocessing includes: The near-field communication signal is preprocessed to obtain the amplitude characteristics of the preprocessed near-field communication signal, and the signal amplitude is obtained based on the sampling time.

3. The protection method against near-field communication backhaul data tampering attacks according to claim 1, characterized in that, The process of obtaining the polarization information of the near-field communication signal based on polarization processing includes: The preprocessed near-field communication signal is decomposed to obtain the polarization component; Based on the polarization component, the polarization parameter corresponding to the polarization component is measured.

4. The protection method against near-field communication backhaul data tampering attacks according to claim 1, characterized in that, The method further includes: If the monitoring results indicate that the quartz crystal oscillator signal is an abnormal signal, protective measures shall be taken.

5. The protection method against near-field communication backhaul data tampering attacks according to claim 4, characterized in that, The protective treatment includes one or more of the following: interrupt communication; Send an alarm message; Record abnormal events.

6. The protection method against near-field communication backhaul data tampering attacks according to claim 1, characterized in that, The signal preprocessing includes one or more of the following processing methods: Filtering; Noise reduction; enlarge; sampling; Balance and compensation.

7. A protective device against near-field communication backhaul data tampering attacks, characterized in that, include: The first acquisition module is used to acquire near-field communication signals, which are modulated based on quartz crystal oscillator signals; The second acquisition module is used to acquire waveform information of the near-field communication signal based on signal preprocessing, wherein the waveform information includes amplitude characteristics and signal amplitude; The third acquisition module is used to acquire the polarization information of the near-field communication signal based on polarization processing. The polarization information includes polarization components and polarization parameters corresponding to the polarization components. The first determining module is used to determine the quartz crystal oscillator signal based on the waveform information and the polarization information, and to determine the monitoring result based on the waveform difference between the quartz crystal oscillator signal and the theoretical signal. If the monitoring result indicates an attack, it means that the quartz crystal oscillator signal is an abnormal signal.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the program, it implements the protection method against near-field communication backhaul data tampering attacks as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the protection method against near-field communication backhaul data tampering attacks as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Wirelessly-charged transmitting terminal, method and system

    CN113162251A

  • Receivers for Wireless Power Transmission

    US20160099601A1