Near field communication method, related device and storage medium
By performing feature extraction and type identification of the baseband signal of the NFC receiving device, and controlling the configuration of the decoding module, cost reduction and response time improvement are achieved.
Patent Information
- Application Number
- CN202510405700.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-07-18
AI Technical Summary
The configuration of the multi-demodulation module and the decoding module of the NFC receiving device leads to higher costs.
By extracting the baseband signal obtained by demodulation, identifying edge feature information, determining the technical types supported by the near-field communication transmission device, and controlling the configuration parameters of the decoding module according to the type to realize single-channel decoding.
Reduces the cost of NFC receiving devices and improves the instant response time of transmitting data.
Smart Images

Figure CN120342434A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of communication technologies, and particularly relates to a near field communication method, related devices, and a storage medium. Background Art
[0002] Near field communication (NFC) is a short-range wireless communication technology based on radiofrequency identification (RFID). An NFC transmitting device and an NFC receiving device can perform contactless point-to-point data transmission within an effective communication range to achieve data exchange. There are various types of NFC technologies, which are respectively based on different protocol standards. The NFC technology supported by the NFC transmitting device may be any one of multiple NFC technologies.
[0003] In related technologies, an NFC receiving device can be configured with multiple demodulation modules and decoding modules corresponding to multiple NFC technologies to demodulate the NFC signals of the NFC transmitting device in parallel.
[0004] In the process of implementing the present application, the inventors found that the above technologies have at least the following defects: Configuring multiple demodulation modules and decoding modules in the NFC receiving device results in relatively high costs. Summary of the Invention
[0005] In view of the above problems, embodiments of the present disclosure provide a near field communication method, related devices, and a storage medium, aiming to improve the instant response time of transmitted data and reduce costs.
[0006] According to a first aspect of the embodiments of the present disclosure, there is provided a near field communication method, which is applied to a near field communication receiving device and includes:
[0007] Performing feature extraction on the demodulated baseband signal to enhance the edge features of the baseband signal, obtaining a feature extraction signal;
[0008] Identifying the edge feature information of the feature extraction signal according to the waveform features of the baseband signals corresponding to different near field communication technology types, and determining the near field communication technology type supported by the near field communication transmitting device based on the identification result;
[0009] Controlling the configuration parameters of the decoding module according to the determined near field communication technology type, and decoding the feature extraction signal by using the decoding module to obtain the transmission data between the near field communication transmitting device and the near field communication receiving device.
[0010] Optionally, controlling the configuration parameters of the decoding module according to the determined near-field communication technology type, and decoding the feature extraction signal by using the decoding module to obtain the transmission data between the near-field communication sending device and the near-field communication receiving device, including at least one of the following:
[0011] If the determined near-field communication technology type is the same as the default near-field communication technology type, decoding the feature extraction signal by using the decoding module;
[0012] If the determined near-field communication technology type is different from the default near-field communication technology type, switching the configuration parameters of the decoding module from the configuration parameters corresponding to the default near-field communication technology type to the configuration parameters corresponding to the determined near-field communication technology type, and decoding the feature extraction signal by using the decoding module with the switched configuration parameters.
[0013] Optionally, controlling the configuration parameters of the decoding module according to the determined near-field communication technology type, and decoding the feature extraction signal by using the decoding module to obtain the transmission data between the near-field communication sending device and the near-field communication receiving device, including at least one of the following:
[0014] If the determined near-field communication technology type is the same as the specified near-field communication technology type, decoding the feature extraction signal by using the decoding module;
[0015] If the determined near-field communication technology type is different from the specified near-field communication technology type, determining that the data frame corresponding to the baseband signal is an invalid frame, stopping decoding the feature extraction signal by using the decoding module, and waiting for the next frame of data.
[0016] Optionally, the number of rising edges and / or falling edges of the baseband signals corresponding to different near-field communication technology types within a basic time unit is different.
[0017] Optionally, identifying the edge feature information of the feature extraction signal according to the waveform characteristics of the baseband signals corresponding to different near-field communication technology types, and determining the near-field communication technology type supported by the near-field communication sending device based on the identification result, including:
[0018] Determining the near-field communication technology type supported by the near-field communication sending device according to the number of rising edges and / or falling edges of the feature extraction signal within a basic time unit.
[0019] According to a second aspect of the embodiments of the present disclosure, a near-field communication device is provided. The near-field communication device is applied to a near-field communication receiving device and includes:
[0020] A feature extraction module, configured to perform feature extraction on the demodulated baseband signal to enhance the edge features of the baseband signal, and obtain a feature extraction signal;
[0021] A near - field communication technology type identification module, configured to identify the edge feature information of the feature extraction signal according to the waveform features of the baseband signals corresponding to different near - field communication technology types, and determine the near - field communication technology types supported by the near - field communication transmitting device based on the identification result;
[0022] A decoding module, configured to control the configuration parameters of the decoding module according to the determined near - field communication technology type, and use the decoding module to decode the feature extraction signal to obtain the transmission data between the near - field communication transmitting device and the near - field communication receiving device.
[0023] According to a third aspect of the embodiments of the present disclosure, a near - field communication receiving device is provided, including:
[0024] A demodulator, configured to demodulate the modulated signal to obtain a baseband signal;
[0025] The near - field communication device as described above, and obtain the transmission data between the near - field communication transmitting device and the near - field communication receiving device according to the steps of the method as described in any one of the above;
[0026] A controller, configured to process the obtained transmission data to implement data interaction between the near - field communication transmitting device and the near - field communication receiving device.
[0027] According to a fourth aspect of the embodiments of the present disclosure, a near - field communication system is provided, including:
[0028] A near - field communication transmitting device, configured to transmit a modulated signal;
[0029] The near - field communication receiving device as described above, configured to receive the modulated signal, and implement data interaction between the near - field communication transmitting device and the near - field communication receiving device according to the steps of the method as described in any one of the above.
[0030] According to a fifth aspect of the embodiments of the present disclosure, an electronic device is provided, including: a processor, a memory, and a program stored on the memory and executable on the processor, where the program, when executed by the processor, implements the steps of the method as described in any one of the above.
[0031] According to a sixth aspect of the embodiments of the present disclosure, a storage medium is provided, on which a computer program or instruction is stored, and when the computer program or instruction is executed by a processor, the steps of the method as described in any one of the above are implemented.
[0032] The embodiments of the present disclosure bring the following beneficial effects:
[0033] The near - field communication method provided by the embodiments of the present disclosure is applied to a near - field communication receiving device. Feature extraction is performed on the demodulated baseband signal to enhance the edge features of the baseband signal, and a feature - extraction signal is obtained. According to the waveform features of the baseband signals corresponding to different near - field communication technology types, the edge - feature information of the feature - extraction signal is identified. Based on the identification result, the near - field communication technology type supported by the near - field communication transmitting device is determined. According to the determined near - field communication technology type, the configuration parameters of the decoding module are controlled, and the decoding module is used to decode the feature - extraction signal to obtain the transmission data between the near - field communication transmitting device and the near - field communication receiving device. In this way, the NFC receiving device is configured with a single - channel demodulator and decoder. By extracting the features of the baseband signal, the NFC technology type supported by the NFC transmitting device can be quickly identified. If it is necessary to switch the configuration parameters of the decoding module, it can be completed at the sequence start delimiter / frame start delimiter stage, without affecting the decoding of subsequent valid data bits, which can reduce costs and improve the immediate response time to the transmission data.
[0034] Other features and advantages of the embodiments of the present disclosure will be described in the subsequent description, and part of them will be obvious from the description or will be understood by implementing the embodiments of the present disclosure. The objectives and other advantages of the embodiments of the present disclosure are achieved and obtained by the structures specifically pointed out in the description and the drawings.
[0035] To make the above - mentioned objectives, features, and advantages of the embodiments of the present disclosure more obvious and understandable, the following specific embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. Description of the Drawings
[0036] Through the following description of the embodiments of the present disclosure with reference to the drawings, the above - mentioned and other objectives, features, and advantages of the embodiments of the present disclosure will become clearer. In the drawings:
[0037] Figure 1 It is a schematic structural diagram of a near - field communication system according to an embodiment of the present disclosure;
[0038] Figure 2 It is a schematic structural diagram of a decoder according to an embodiment of the present disclosure;
[0039] Figure 3 It is a waveform schematic diagram of baseband signals corresponding to different near - field communication technology types according to an embodiment of the present disclosure;
[0040] Figure 4 It is a schematic flowchart of a near - field communication method according to an embodiment of the present disclosure;
[0041] Figure 5 It is a schematic structural diagram of a near - field communication device according to an embodiment of the present disclosure;
[0042] Figure 6 A schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure. Detailed implementation manners
[0043] Various embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. In the respective drawings, the same elements are denoted by the same or similar reference numerals. For clarity, the various parts in the drawings are not drawn to scale.
[0044] The following terms are used herein:
[0045] NFC technology is a short - range wireless connection technology based on RFID. It uses magnetic field induction to enable communication between devices with NFC capabilities (hereinafter referred to as NFC devices) at close range. Users can safely and quickly exchange information, conduct transactions, etc. just by touching or bringing the devices close. NFC operates at a frequency of 13.56 MHz, and the effective communication range is 0 - 20 cm. The NFC technology, that is, the communication protocol and data exchange format, can be of various types (type), for example, type A, type B, type F, etc. Among them, type F includes F212 or F424. Different NFC technology types are based on different standards. For example, type A is based on the ISO / IEC 14443 Type A standard, type B is based on the ISO / IEC 14443 Type B standard, and type F is based on the ISO / IEC 18092 Type F standard. Only for the initial transmission frame in the protocol detection mode, the NFC signal generated based on type A NFC technology is a type A signal (which can be denoted as A106), and the data transmission rate of A106 is 106 kbps. The NFC signal generated based on type B NFC technology is a type B signal (which can be denoted as B106), and the data transmission rate of B106 is 106 kbps. The NFC signals generated based on type F NFC technology include F212 - type signals (which can be denoted as F212) and F424 - type signals (which can be denoted as F424). F212 and F424 only have different data transmission rates. The data transmission rate of F212 is 212 kbps, and the data transmission rate of F424 is 424 kbps.
[0046] Figure 1 A schematic structural diagram of a near - field communication system provided according to an embodiment of the present disclosure. As Figure 1As shown in the figure, the near-field communication system 100 provided by the embodiments of the present disclosure includes an NFC transmitting device 110 and an NFC receiving device 120. The NFC transmitting device 110 and the NFC receiving device 120 perform short-distance wireless communication on the NFC available frequency band. The NFC transmitting device 110 is called a Poller, and the NFC receiving device 120 is called a Listener. The two are collectively referred to as NFC devices. For example, the Poller can be a POS machine, and the Listener can be a card that communicates with the POS via NFC; for another example, the Poller can be an access control, and the Listener can be a mobile phone used to unlock the access control. The NFC receiving device 120 includes a demodulator 121, a decoder (which can also be called a near-field communication device) 122, and a controller (MCU) 123.
[0047] In some embodiments, the NFC technology supported by the NFC transmitting device 110 can be one of multiple types. For example, it can be one of Type A, Type B, Type F212, and Type F424. It should be noted that the NFC technology supported by the NFC transmitting device 110 in the embodiments of the present disclosure can also be other types, which are not limited herein. The NFC transmitting device 110 generates an NFC signal, that is, a baseband signal rcv, using the NFC technology it supports, and modulates the carrier signal with the baseband signal rcv and sends out the modulated signal. The NFC receiving device 120 receives the modulated signal, demodulates the baseband signal rcv from the carrier signal through the demodulator 121, decodes the baseband signal rcv through the decoder 122 to obtain the digital transmission content of the transmission data between the NFC transmitting device 110 and the NFC receiving device 120, and processes the obtained transmission data through the MCU 123 to achieve data interaction between the NFC transmitting device 110 and the NFC receiving device 120. The NFC receiving device 120 can reply to the NFC transmitting device 110 using the NFC technology supported by the NFC transmitting device 110, thereby establishing communication.
[0048] Figure 2 It is a schematic structural diagram of a decoder provided according to an embodiment of the present disclosure. As Figure 2 shown, the decoder 122 includes a feature extraction module 210, an NFC technology type identification module 220, and a decoding module 230.
[0049] In some embodiments, the feature extraction module 210 extracts features from the demodulated baseband signal rcv to enhance the edge features of the baseband signal rcv, and obtains a feature extraction signal corr_seq. The NFC technology type recognition module 220 recognizes the edge feature information of the feature extraction signal corr_seq according to the waveform features of the baseband signal rcv corresponding to different NFC technology types, and determines the NFC technology type Protocol_type supported by the NFC transmitting device 110 based on the recognition result. The decoding module 230 controls the configuration parameters of the decoding module 230 according to the determined NFC technology type Protocol_type, and uses the decoding module 230 to decode the feature extraction signal corr_seq to obtain the transmission data between the NFC transmitting device 110 and the NFC receiving device 120.
[0050] In some embodiments, the feature extraction module 210 may perform a convolution operation on the baseband signal rcv and a preset feature extraction sequence local_seq to extract features from the baseband signal rcv, and obtain a feature extraction signal corr_seq. For example, for the decoding module 230 of the default NFC technology type, the preset feature extraction sequence local_seq may be [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1], then the output signal corr_seq(i) of the i-th sampling point of the feature extraction signal corr_seq is corr_seq(i)=sum(local_seq*rcv(i:i+31)). Where i is the sequence index. It can be understood that, compared with the baseband signal rcv, the edge features of the feature extraction signal corr_seq are more obvious, which helps to improve the recognition accuracy of the NFC technology type. It should be noted that other effective methods may also be adopted in the embodiments of the present disclosure to extract features from the baseband signal rcv.
[0051] In some embodiments, the number of rising edges and / or falling edges of the baseband signal rcv corresponding to different NFC technology types within an elementary time unit (etu) is different. Figure 3 FIG. is a waveform diagram of baseband signals corresponding to different near field communication technology types according to an embodiment of the present disclosure. As Figure 3As shown in the figure, the falling edge and the rising edge are respectively marked by "-" and "+" in the figure. Taking 1 etu corresponding to a data transmission rate of 106 kbps as an example, A106 should have at least 1 falling edge and 1 rising edge, B106 has only 1 falling edge, F212 should have at least 2 falling edges and 2 rising edges, and F424 should have at least 4 falling edges and 4 rising edges. It can be understood that by accumulating the number of falling edges and rising edges within 1 etu, the NFC technology type corresponding to the baseband signal rcv can be distinguished. In some embodiments, the NFC technology type identification module 220 can determine the NFC technology type Protocol_type supported by the NFC sending device 110 according to the number of rising edges and / or falling edges of the feature extraction signal corr_seq within the basic time unit.
[0052] In some embodiments, the demodulator 121 and the decoding module 230 can be configured with configuration parameters corresponding to the default NFC technology type. The default NFC technology type can be a certain NFC technology type that best matches the NFC receiving device 120. In some embodiments, the decoding module 230 can compare whether the NFC technology type Protocol_type determined by the NFC technology type identification module 220 is consistent with the default NFC technology type. If the determined NFC technology type Protocol_type is consistent with the default NFC technology type, the decoding module 230 is used to decode the corr_seq. If the determined NFC technology type Protocol_type is inconsistent with the default NFC technology type, the configuration parameters of the decoding module 230 are switched from the configuration parameters corresponding to the default NFC technology type to the configuration parameters corresponding to the determined NFC technology type, and the decoding module 230 with the switched configuration parameters is used to decode the feature extraction signal corr_seq. In some embodiments, the decoding module 230 performs edge detection on the feature extraction signal corr_seq, uses the first falling edge / rising edge as the signal start position, and after detecting the signal start position, the decoder 230 of the default NFC technology type starts decoding. At the same time, the NFC technology type identification module 220 accumulates the number of falling edges and / or rising edges within 1 etu, and determines the NFC technology type Protocol_type supported by the NFC sending device 110 according to the number of rising edges and / or falling edges of the feature extraction signal corr_seq within 1 etu. When the determined NFC technology type Protocol_type is consistent with the default NFC technology type, the decoding module 230 continues to decode. When the determined NFC technology type Protocol_type is inconsistent with the default NFC technology type, it is re-initialized, and after switching the configuration parameters of the decoding module 230 from the configuration parameters corresponding to the default NFC technology type to the configuration parameters corresponding to the determined NFC technology type, decoding is performed.
[0053] In some embodiments, the demodulator 121 and the decoding module 230 can be configured to specify configuration parameters corresponding to the NFC technology type. The specified NFC technology type can be a certain NFC technology type uniquely supported by the NFC receiving device 120. In some embodiments, the decoding module 230 can compare whether the NFC technology type Protocol_type determined by the NFC technology type identification module 220 is consistent with the specified NFC technology type. If the determined NFC technology type Protocol_type is consistent with the specified NFC technology type, the decoding module 230 decodes the corr_seq. If the determined NFC technology type Protocol_type is inconsistent with the specified NFC technology type, it is determined that the data frame corresponding to the baseband signal rcv is an invalid frame, and the decoding module 230 stops decoding the feature extraction signal corr_seq and waits for the next frame of data. In some embodiments, the decoding module 230 performs edge detection on the feature extraction signal corr_seq, uses the first falling edge / rising edge as the signal start position. After detecting the signal start position, the decoder 230 of the specified NFC technology type starts decoding. At the same time, the NFC technology type identification module 220 accumulates the number of falling edges and / or rising edges within 1 etu, and determines the NFC technology type Protocol_type supported by the NFC transmitting device 110 according to the number of rising edges and / or falling edges of the feature extraction signal corr_seq within 1 etu. When the determined NFC technology type Protocol_type is consistent with the specified NFC technology type, the decoding module 230 continues to decode. When the determined NFC technology type Protocol_type is inconsistent with the specified NFC technology type, the decoding module 230 stops decoding the feature extraction signal corr_seq and waits for the next frame of data.
[0054] It can be understood that the NFC receiving device 120 is configured with a single-channel demodulator 121 and a decoder 122. By extracting the features of the baseband signal rcv, the NFC technology type supported by the NFC transmitting device 110 can be quickly identified. If it is necessary to switch the configuration parameters of the decoding module 230, it can be completed at the start of sequence (SOS) / start of frame (SOF) stage, which does not affect the decoding of subsequent valid data bits, can reduce costs, and improve the instant response time to the transmitted data.
[0055] Figure 4 FIG. is a flowchart of a near field communication method according to an embodiment of the present disclosure. The near field communication method in the embodiments of the present disclosure is applied to the NFC receiving device 120 and can be executed by the decoder 122. AsFigure 4 As shown in the figure, the near field communication method includes:
[0056] In step S410, feature extraction is performed on the demodulated baseband signal to enhance the edge feature of the baseband signal, and a feature extraction signal is obtained.
[0057] In step S420, according to the waveform features of the baseband signals corresponding to different near field communication technology types, the edge feature information of the feature extraction signal is identified, and based on the identification result, the near field communication technology type supported by the near field communication sending device is determined.
[0058] In step S430, according to the determined near field communication technology type, the configuration parameters of the decoding module are controlled, and the feature extraction signal is decoded by using the decoding module to obtain the transmission data between the near field communication sending device and the near field communication receiving device.
[0059] Since the specific process of near field communication has been described in detail above, it will not be elaborated here.
[0060] Figure 5 The figure shows a schematic structural diagram of a near field communication device provided according to an embodiment of the present disclosure. This near field communication device 500 is applied to the NFC receiving device 120. As Figure 5 shown, the near field communication device 500 includes a feature extraction module 510, a near field communication technology type identification module 520, and a decoding module 530.
[0061] The feature extraction module 510 is configured to perform feature extraction on the demodulated baseband signal to enhance the edge feature of the baseband signal, and obtain a feature extraction signal.
[0062] The near field communication technology type identification module 520 is configured to identify the edge feature information of the feature extraction signal according to the waveform features of the baseband signals corresponding to different near field communication technology types, and determine the near field communication technology type supported by the near field communication sending device based on the identification result.
[0063] The decoding module 530 is configured to control the configuration parameters of the decoding module according to the determined near field communication technology type, and decode the feature extraction signal by using the decoding module to obtain the transmission data between the near field communication sending device and the near field communication receiving device.
[0064] Since the specific process of near field communication has been described in detail above, it will not be elaborated here.
[0065] The embodiment of the present disclosure also provides an electronic device, as Figure 6As shown, it includes a memory 620, a processor 610, and a program stored in the memory 620 and executable on the processor 610. When the program is executed by the processor 610, it can implement the various processes of the above embodiments of the method and achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0066] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions or by controlling related hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. For this purpose, the embodiments of the present disclosure also provide a storage medium on which a computer program or instructions are stored. When the computer program or instructions are executed by a processor, they can implement the various processes of the above embodiments of the method.
[0067] Since the instructions stored in the storage medium can execute the steps in the method provided by the embodiments of the present disclosure, the beneficial effects achievable by the method provided by the embodiments of the present disclosure can be realized. See the previous embodiments for details and will not be elaborated here. The specific implementation of each of the above operations can be seen in the previous embodiments and will not be elaborated here.
[0068] In summary, according to the embodiments of the present disclosure, applied to a near-field communication receiving device, feature extraction is performed on the demodulated baseband signal to enhance the edge feature of the baseband signal, and a feature extraction signal is obtained. According to the waveform features of the baseband signals corresponding to different near-field communication technology types, the edge feature information of the feature extraction signal is identified. Based on the identification result, the near-field communication technology type supported by the near-field communication transmitting device is determined. According to the determined near-field communication technology type, the configuration parameters of the decoding module are controlled, and the decoding module is used to decode the feature extraction signal to obtain the transmission data between the near-field communication transmitting device and the near-field communication receiving device. In this way, the NFC receiving device is configured with a single-channel demodulator and decoder. By extracting the features of the baseband signal, the NFC technology type supported by the NFC transmitting device can be quickly identified. If it is necessary to switch the configuration parameters of the decoding module, it can be completed at the sequence start delimiter / frame start delimiter stage without affecting the decoding of subsequent valid data bits, which can reduce costs and improve the instant response time to the transmission data.
[0069] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly illustrating the present disclosure and are not limitations on the implementation manners. For those of ordinary skill in the art, other different forms of changes or variations can be made based on the above description. It is not necessary and impossible to list all the implementation manners here. And the obvious changes or variations derived therefrom are still within the protection scope of the present disclosure.
Claims
1. A near - field communication method, which is applied to a near - field communication receiving device, includes: Performing feature extraction on the demodulated baseband signal to enhance the edge feature of the baseband signal, and obtaining a feature - extraction signal; Identifying the edge - feature information of the feature - extraction signal according to the waveform features of the baseband signals corresponding to different near - field communication technology types, and determining the near - field communication technology type supported by the near - field communication transmitting device based on the identification result; Controlling the configuration parameters of the decoding module according to the determined near - field communication technology type, and using the decoding module to decode the feature - extraction signal to obtain the transmission data between the near - field communication transmitting device and the near - field communication receiving device.
2. The near field communication method according to claim 1, wherein, The controlling the configuration parameters of the decoding module according to the determined near - field communication technology type, and using the decoding module to decode the feature - extraction signal to obtain the transmission data between the near - field communication transmitting device and the near - field communication receiving device includes at least one of the following: If the determined near - field communication technology type is consistent with the default near - field communication technology type, using the decoding module to decode the feature - extraction signal; If the determined near - field communication technology type is inconsistent with the default near - field communication technology type, switching the configuration parameters of the decoding module from the configuration parameters corresponding to the default near - field communication technology type to the configuration parameters corresponding to the determined near - field communication technology type, and using the decoding module with the switched configuration parameters to decode the feature - extraction signal.
3. The near field communication method according to claim 1, wherein, The controlling the configuration parameters of the decoding module according to the determined near - field communication technology type, and using the decoding module to decode the feature - extraction signal to obtain the transmission data between the near - field communication transmitting device and the near - field communication receiving device includes at least one of the following: If the determined near - field communication technology type is consistent with the specified near - field communication technology type, using the decoding module to decode the feature - extraction signal; If the determined near - field communication technology type is inconsistent with the specified near - field communication technology type, determining that the data frame corresponding to the baseband signal is an invalid frame, stopping using the decoding module to decode the feature - extraction signal, and waiting for the next frame of data.
4. The near field communication method according to any one of claims 1-3, wherein, The number of rising edges and / or falling edges of the baseband signals corresponding to different near - field communication technology types within a basic time unit is different.
5. The near field communication method according to claim 4, wherein The identifying the edge - feature information of the feature - extraction signal according to the waveform features of the baseband signals corresponding to different near - field communication technology types, and determining the near - field communication technology type supported by the near - field communication transmitting device based on the identification result includes: Determining the near - field communication technology type supported by the near - field communication transmitting device according to the number of rising edges and / or falling edges of the feature - extraction signal within a basic time unit.
6. A near - field communication device, which is applied to a near - field communication receiving device, includes: A feature - extraction module, configured to perform feature extraction on the demodulated baseband signal to enhance the edge feature of the baseband signal, and obtain a feature - extraction signal; A near - field communication technology type recognition module, which is used to recognize the edge feature information of the feature extraction signal according to the waveform characteristics of the baseband signals corresponding to different near - field communication technology types, and determine the near - field communication technology type supported by the near - field communication sending device based on the recognition result; A decoding module, which is used to control the configuration parameters of the decoding module according to the determined near - field communication technology type, and use the decoding module to decode the feature extraction signal to obtain the transmission data between the near - field communication sending device and the near - field communication receiving device.
7. A near - field communication receiving device, comprising: A demodulator, which is used to demodulate the modulated signal to obtain a baseband signal; The near - field communication device according to claim 6, obtaining the transmission data between the near - field communication sending device and the near - field communication receiving device according to the steps of the method according to any one of claims 1 to 5; A controller, which is used to process the obtained transmission data to realize data interaction between the near - field communication sending device and the near - field communication receiving device.
8. A near - field communication system, comprising: A near - field communication sending device, which is used to send a modulated signal; The near - field communication receiving device according to claim 7, which is used to receive the modulated signal and realize data interaction between the near - field communication sending device and the near - field communication receiving device according to the steps of the method according to any one of claims 1 to 5.
9. An electronic device, comprising: A processor, a memory, and a program stored on the memory and executable on the processor, where the program, when executed by the processor, implements the steps of the method according to any one of claims 1 to 5.
10. A storage medium, on which a computer program or instruction is stored, and the computer program or instruction, when executed by a processor, implements the steps of the method according to any one of claims 1 to 5.