CN114726406A - Near field communication method, near field communication receiving equipment and chip - Google Patents
Near field communication method, near field communication receiving equipment and chip Download PDFInfo
- Publication number
- CN114726406A CN114726406A CN202210330067.6A CN202210330067A CN114726406A CN 114726406 A CN114726406 A CN 114726406A CN 202210330067 A CN202210330067 A CN 202210330067A CN 114726406 A CN114726406 A CN 114726406A
- Authority
- CN
- China
- Prior art keywords
- nfc
- technology
- signal
- type
- technologies
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000004891 communication Methods 0.000 title claims abstract description 41
- 238000005516 engineering process Methods 0.000 claims abstract description 340
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 9
- 230000004044 response Effects 0.000 description 7
- 230000008878 coupling Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 5
- 238000005859 coupling reaction Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/77—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The application provides a near field communication method, a near field communication receiving device and a chip. The method is applied to an NFC receiving device which is only provided with one NFC signal demodulation module, and comprises the following steps: acquiring an NFC signal; and demodulating the NFC signal according to one of the multiple NFC technologies in sequence through the NFC signal demodulation module. According to the technical scheme, the cost can be reduced.
Description
Technical Field
The embodiments of the present application relate to the field of near field communication, and more particularly, to a near field communication method, a near field communication receiving device, and a chip.
Background
Near-Field Communication (NFC), also called Near-Field Communication, belongs to a short-distance high-frequency wireless Communication technology, and a transmitting NFC device and a receiving NFC device can perform contactless point-to-point data transmission in a short distance, for example, within a distance range of ten centimeters, thereby implementing data exchange.
There are several types of NFC technology, each based on different standards. The technology of the NFC transmitting device may be any one of NFC technologies, and thus the NFC receiving device needs to configure a plurality of demodulation modules corresponding to the plurality of NFC technologies to simultaneously demodulate the NFC signal of the NFC transmitting device. However, the NFC receiving device is configured with a plurality of demodulation modules, which results in higher cost.
Disclosure of Invention
The embodiment of the application provides a near field communication method, a near field communication receiving device and a chip, and the cost can be reduced.
In a first aspect, a method for near field communication is provided, where the method is applied to an NFC receiving device, and the NFC receiving device is configured with only one NFC signal demodulation module, and the method includes: acquiring an NFC signal; and demodulating the NFC signals according to one of the multiple NFC technologies in sequence through the NFC signal demodulation module.
According to the technical scheme of the embodiment of the application, the NFC signals are demodulated sequentially according to one of the multiple NFC technologies through one NFC signal demodulation module, and a plurality of NFC signal demodulation modules do not need to be configured, so that the cost can be reduced.
In some possible implementations, the method further includes: an NFC technology that identifies the NFC signal; the demodulating the NFC signal includes: and demodulating the NFC signal according to the identification result of the NFC technology for identifying the NFC signal within the first preset time.
In the technical scheme of the embodiment of the application, according to the recognition result of the NFC technology for recognizing the NFC signal within the preset time, the corresponding NFC technology is selected to configure and demodulate the NFC signal, and the fast NFC signal demodulation can be realized through one NFC signal demodulation module, so that the cost is effectively reduced and the power consumption is reduced on the premise of guaranteeing the fast response.
In some possible implementations, the NFC technology that identifies the NFC signal includes: identifying whether an NFC technology of the NFC signal is a first NFC technology of the plurality of NFC technologies; the demodulating the NFC signal according to the recognition result of the NFC technology that recognizes the NFC signal within the first preset time includes: if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or if the NFC technology of the NFC signal is not identified as the first NFC technology within the first preset time, demodulating the NFC signal sequentially according to remaining NFC technologies of the multiple NFC technologies except the first NFC technology.
By adopting the technical scheme, the response time corresponding to the rest NFC technology can be reduced, and the user experience is increased.
In some possible implementations, the NFC technology that identifies the NFC signal includes: identifying whether the NFC technology of the NFC signals is a first NFC technology or a second NFC technology of the plurality of NFC technologies simultaneously; the demodulating the NFC signal according to the recognition result of the NFC technology that recognizes the NFC signal within the first preset time includes: if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or, if the NFC technology of the NFC signal is identified as the second NFC technology within the first preset time, demodulating the NFC signal according to the second NFC technology; or if the NFC technology that does not recognize the NFC signal within the first preset time is the first NFC technology or the second NFC technology, demodulating the NFC signal sequentially according to remaining NFC technologies of the multiple NFC technologies except the first NFC technology and the second NFC technology.
By adopting the technical scheme, the response time corresponding to the rest NFC technology can be further reduced, and the user experience is increased.
In some possible implementations, the first preset time is 5ms to 50ms in length. The length of the first preset time can guarantee the identification time of the NFC technology, ensures the identification accuracy and cannot cause too large delay.
In some possible implementations, the plurality of NFC technologies includes: type a, type B, type F212, or type F424.
In some possible implementations, the NFC technology that identifies the NFC signal includes: identifying whether a pause period exists in the NFC signal; if the tentative time period exists in the NFC signal, determining that the NFC technology of the NFC signal is type a. Thus, it is possible to quickly identify whether the type A is the type A without demodulation.
In some possible implementations, the NFC technology that identifies the NFC signal includes: identifying the frequency of a start sequence SoS of the NFC signal; if the frequency of the SoS is 212kHz or 424kHz, determining that the NFC technology of the NFC signal is type F212 or type F424. Thus, it is possible to quickly identify whether or not the type F is the type F without demodulation.
In some possible implementations, said sequentially demodulating the NFC signal according to one of a plurality of NFC technologies includes: demodulating the NFC signal according to a first NFC technology of the plurality of NFC technologies; and if the NFC signal of the first NFC technology is not demodulated within a second preset time, demodulating the NFC signal according to a next NFC technology of the plurality of NFC technologies. By adopting the traversal mode, the NFC signal demodulation can be realized through one NFC signal demodulation module.
In a second aspect, there is provided a near field communication receiving apparatus comprising: the non-contact interface is used for acquiring NFC signals; and the NFC signal demodulation module is used for demodulating the NFC signals according to one of the multiple NFC technologies in sequence.
In some possible implementations, the NFC receiving device further includes: a technology identification module for identifying the NFC technology of the NFC signal; the NFC signal demodulation module is used for demodulating the NFC signal according to an identification result of an NFC technology for identifying the NFC signal within a first preset time.
In some possible implementations, the technology identification module is configured to identify whether an NFC technology of the NFC signal is a first NFC technology of the plurality of NFC technologies; the NFC signal demodulation module is used for: if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or if the NFC technology that does not recognize the NFC signal within the first preset time is the first NFC technology, sequentially demodulating the NFC signal according to the remaining NFC technologies, excluding the first NFC technology, of the multiple NFC technologies.
In some possible implementations, the technology identification module is configured to identify whether the NFC technology of the NFC signal is a first NFC technology or a second NFC technology of the multiple NFC technologies at the same time; the NFC signal demodulation module is used for: if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or, if the NFC technology of the NFC signal is identified as the second NFC technology within the first preset time, demodulating the NFC signal according to the second NFC technology; or if the NFC technology that does not recognize the NFC signal within the first preset time is the first NFC technology or the second NFC technology, demodulating the NFC signal sequentially according to remaining NFC technologies of the multiple NFC technologies except the first NFC technology and the second NFC technology.
In some possible implementations, the length of the first preset time is 5ms to 50 ms.
In some possible implementations, the plurality of NFC technologies includes: type a, type B, type F212, or type F424.
In some possible implementations, the technology identification module is to: identifying whether a pause period exists in the NFC signal; if the tentative time period exists in the NFC signal, determining that the NFC technology of the NFC signal is type a.
In some possible implementations, the technology identification module is to: identifying the frequency of a start sequence SoS of the NFC signal; if the frequency of the SoS is 212kHz or 424kHz, determining that the NFC technology of the NFC signal is type F212 or type F424.
In some possible implementations, the NFC signal demodulation module is configured to: demodulating the NFC signal according to a first NFC technology of the plurality of NFC technologies; and if the NFC signal of the first NFC technology is not demodulated within a second preset time, demodulating the NFC signal according to a next NFC technology of the plurality of NFC technologies.
In a third aspect, a chip for near field communication is provided, which includes a processor and a memory, where the memory is used to store a computer program, and the processor is used to invoke the computer program to execute the method for near field communication described in the first aspect or any implementation manner of the first aspect.
In a fourth aspect, a readable storage medium is provided for storing a computer program for performing the method of the first aspect and any possible implementation manner of the first aspect.
Drawings
Fig. 1 is a schematic diagram of an application architecture according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a method of near field communication of one embodiment of the present application.
Fig. 3 is a schematic timing diagram illustrating an operation of a near field communication method according to an embodiment of the present application.
Fig. 4 is a schematic flow chart of a method of near field communication of another embodiment of the present application.
Fig. 5 is a schematic diagram of three formats of type a.
Fig. 6 is a schematic diagram of type a WUPA commands.
Fig. 7 is a schematic diagram of a frame format of type F.
Fig. 8 is a schematic timing diagram illustrating an operation of a near field communication method according to another embodiment of the present application.
Fig. 9 is a schematic timing diagram illustrating an operation of a near field communication method according to another embodiment of the present application.
Fig. 10 is a schematic timing diagram illustrating an operation of a near field communication method according to another embodiment of the present application.
Fig. 11 is a schematic block diagram of a near field communication receiving apparatus according to an embodiment of the present application.
Fig. 12 is a schematic block diagram of a chip for near field communication according to an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application architecture according to an embodiment of the present application. As shown in fig. 1, the NFC transmission device 110 and the NFC reception device 120 perform short-range wireless communication on an NFC-available frequency band. The NFC transmitting device 110 is called Reader and the NFC receiving device 120 is called Listener, both of which are collectively called NFC devices. For example, Reader may be a POS machine, and Listener may be a card in NFC communication with the POS; for another example, Reader may be a door lock, and Listener may be a cell phone for unlocking the door lock.
The NFC technologies, i.e., the communication protocol and the data exchange format, adopted by the NFC transmission device 110 and the NFC reception device 120 are of multiple types (types), for example, type a, type B, type F, and the like, where type F includes F212 or F424. The different types are based on different standards, for example type A based on the ISO/IEC 14443A standard, type B based on the ISO/IEC 14443B standard, and type F based on the FeliCa JIS X6319-4 standard.
The NFC transmission device 110 generates an NFC signal, i.e., a fundamental wave signal, by using the NFC technology supported by the NFC transmission device, for example, one of the above-mentioned NFC technologies, and transmits the NFC signal through a carrier wave. The NFC receiving device 120 extracts the NFC signal from the carrier through the contactless interface 121; then, the NFC signal is demodulated by the demodulation module 122 to obtain digital transmission content; the demodulated information is then passed to the MCU 123 for processing, such as decision making and interaction.
Since the NFC transmitter 110 may employ any one of the NFC technologies, the NFC receiver 120 needs to configure a plurality of demodulation modules 122 corresponding to the plurality of NFC technologies to simultaneously demodulate the NFC signal of the NFC transmitter 110. For example, the NFC receiving device 120 configures four demodulation modules 122 corresponding to type a, type B, type F212, and type F424, respectively. The four demodulation modules 122 operate simultaneously, and no matter which of the four technologies the NFC transmission device 110 is, the four demodulation modules 122 can recognize the transmission device 110, so that communication can be established quickly.
However, in the above manner, the NFC receiving device 120 needs to be configured with a plurality of demodulation modules 122, and each demodulation module 122 has relatively complex mathematical calculation and logic processing, so that the area of a chip is relatively large, and the cost is relatively high; and the plurality of demodulation modules 122 operate simultaneously, the complex mathematical calculation also brings about a relatively large power consumption.
Therefore, the embodiment of the present application provides a technical solution of near field communication, and only one NFC signal demodulation module is configured in an NFC receiving device to solve the above problem.
Fig. 2 is a schematic flow chart diagram of a method 200 of near field communication of an embodiment of the present application. The method 200 is performed by an NFC receiving device, such as the NFC receiving device 120 described above. In the embodiment of the present application, the NFC receiving device is configured with only one NFC signal demodulation module.
And 210, acquiring the NFC signal.
And the NFC sending equipment sends the NFC signal out through the carrier wave. The NFC receiving equipment can extract the NFC signal from the carrier wave through the non-interface, so that the NFC signal, namely non-interface data, can be acquired. For example, the NFC signal may be acquired by envelope detection or IQ demodulation.
220, the NFC signal is demodulated in sequence according to one of the multiple NFC technologies through the NFC signal demodulation module.
The NFC signal extracted in 210 needs to be demodulated to obtain digital transmission content. In the embodiment of the present application, an traversal manner is adopted, that is, an NFC signal is demodulated sequentially according to one of multiple NFC technologies through one NFC signal demodulation module. The traversal range may be all NFC technologies, or at least one NFC technology selected from multiple NFC technologies. Therefore, the demodulation of the NFC signal can be realized through one NFC signal demodulation module.
Therefore, according to the technical scheme of the embodiment of the application, the NFC signals are sequentially demodulated according to one of the multiple NFC technologies through one NFC signal demodulation module, and a plurality of NFC signal demodulation modules do not need to be configured, so that the cost can be reduced.
In this embodiment, the multiple NFC technologies may include: type a, type B, type F212, type F424, etc., but this is not limited in this application. That is to say, the technical solution of the embodiment of the present application is also applicable to the situations in which other types of NFC technologies appear. For convenience of description, the following description will be made taking type a, type B, type F212, or type F424 as an example.
Optionally, in an embodiment of the present application, when demodulating the NFC signal, a manner of traversing all NFC technologies may be adopted.
Specifically, the NFC signal may be demodulated according to a first NFC technology of the multiple NFC technologies; and if the NFC signal of the first NFC technology is not demodulated within the preset time, demodulating the NFC signal according to the next NFC technology in the multiple NFC technologies, and so on. That is, the first technique is used for demodulation, if the demodulation is successful, the demodulation is ended, and if the demodulation is not successful within a preset time, the next technique is switched to, and so on.
For each NFC technology, if there are multiple parameter configurations, demodulation is performed sequentially according to each parameter configuration, that is, multiple parameter configurations are traversed.
For example, as shown in FIG. 3, traversal may be in the order of type A, type B, type F212, type F424. The NFC signal demodulation module firstly adopts the parameter configuration of the type A, firstly detects the NFC signal of the type A, and then switches to the parameter configuration of the type B if the NFC signal of the type A is not detected within the preset time, and then switches to the parameter configuration of the type F if the NFC signal of the type B is not detected within the preset time. For type a, which has various parameter configurations, it may traverse first and then switch to type B, or traverse first a part, for example, a1-A3, which is not limited in this embodiment of the present application. Similar traversal approaches may also be employed for various parameter configurations of type B and type F. The control of the preset time, that is, the switching control, may be implemented by timing with a Timer (Timer) or in other manners, which is not limited in this embodiment of the present application.
In the embodiment of the present application, the type order of traversal is not limited, and may be preset and may be adjusted or updated in real time. For example, updates may be made based on historical data to first traverse the type of technology that is most likely to be employed.
By adopting the traversal mode, the NFC signal demodulation can be realized through one NFC signal demodulation module.
Optionally, in an embodiment of the present application, the NFC technology of the NFC signal may be identified, and the technology of demodulating the NFC signal may be switched according to the identification result.
As shown in fig. 4, in this embodiment, the method 200 may further include:
and 230, identifying the NFC technology of the NFC signal.
Accordingly, the step 220 may include:
221, demodulating the NFC signal according to an identification result of the NFC technology that identifies the NFC signal within a first preset time.
In particular, traversing all NFC technologies may consume more time, for example, if the actually employed technology is relatively late in the traversal order. In this embodiment, the NFC technology for the NFC signal is first quickly identified, and then the technology is switched according to the identification result to quickly demodulate the NFC signal. For example, a technology identification module may be configured in the NFC receiving device, which may identify the technology of the NFC signal based on some physical characteristics of each NFC technology, so that it can be quickly identified whether a certain NFC technology exists, and thus, the parameter configuration of the NFC signal demodulation module can be quickly switched to the parameter configuration corresponding to the NFC technology.
Alternatively, for type a, it may be identified whether there is a pause (pause) period in the NFC signal; and if the NFC signal has the tentative time period, determining that the NFC technology of the NFC signal is type A.
Specifically, there is a pause period in the NFC signal of type a. Fig. 5 is a schematic diagram of three formats (patterns) of type a, namely format X, format Y, and format Z. Type a employs Amplitude Shift Keying (ASK) 100% modulation principles, tb being the duration of one bit, t1 being the pause period, which corresponds to an Amplitude of 0, t1 being about 1/4 of tb. Whereas ASK modulation factors of types B and F are about 30%, there is no pause time. As shown in fig. 6 for a WUPA command of type a, 0X52, the position where the intermediate signal amplitude is 0 is the pause position. Therefore, whether the type is a type a can be determined according to the presence or absence of the pause period. That is, if it is recognized that there is a pause period in the NFC signal, it may be determined that it is type a, and if it is not recognized that there is a pause period in the NFC signal, it is not type a. Thus, it is possible to quickly identify whether the type A is the type A without demodulation.
Alternatively, for type F, the frequency of the Start of Sequence (SoS) of the NFC signal may be identified; if the frequency of the SoS is 212kHz or 424kHz, the NFC technology of the NFC signal is determined to be type F212 or type F424.
In particular, NFC signals of type F can be determined by measuring the frequency of their SoS. As shown in fig. 7, each Frame of type F has a SoS and Start of Frame (SoF) that lasts 48 bit times and has a frequency equal to 212kHz/424 kHz. Thus, by determining whether the frequency of the SoS is a uniform 212kHz or 424kHz frequency, it can be determined to be type F212/type F424, or not type F. Thus, it is possible to quickly identify whether or not the type F is the type F without demodulation.
The identification of a technology may set a predetermined time, and if the feature of the corresponding technology is not identified within the predetermined time, it may be determined that the technology is not the technology. The preset time may be set according to the characteristics of the corresponding technology. For example, the length of the preset time may be 5ms to 50ms, and further, may be 10 ms. Of course, the length of the preset time may also be other values, such as 100 ms. The length of the preset time can guarantee the identification time of the NFC technology, ensure the identification accuracy and avoid too large delay.
In addition, the control of the preset time may be realized by timing with a timer or in other manners, which is not limited in this application.
In identifying the technology of the NFC signal, only one technology may be identified, that is, only one technology identification module is provided in the technology identification module, for example, only the identification module of type a may be provided, and only whether the identification module is of type a may be identified. In identifying the technology of the NFC signal, multiple technologies may also be identified, that is, identification modules of multiple technologies are set in the technology identification module, for example, identification modules of type a and type F may be set, and whether the identification modules are of type a or type F may be identified at the same time. That is, the technology identification module in the NFC receiving device may configure one or more NFC technology identification sub-modules.
Optionally, in one embodiment of the present application, only one technology identification is performed, denoted as first NFC technology. In this case, whether the NFC technology that identifies the NFC signal is the first NFC technology among the plurality of NFC technologies is determined, and if the NFC technology that identifies the NFC signal within the first preset time is the first NFC technology, the NFC signal is demodulated according to the first NFC technology; or if the NFC technology that does not recognize the NFC signal within the first preset time is the first NFC technology, demodulating the NFC signal sequentially according to the remaining NFC technologies except the first NFC technology among the multiple NFC technologies.
That is, only one NFC technology of the multiple NFC technologies is identified, and if the NFC technology is not identified within the first preset time, the remaining NFC technologies may be traversed by using the foregoing traversal method.
Taking the type a as an example, as shown in fig. 8, the type a is identified within a preset time Tc, a timer is started, and the set time Tc is set, for example, Tc may be 5ms to 50 ms. Meanwhile, the NFC signal demodulation module may first demodulate the NFC signal by using a default technical configuration, which is a parameter configuration of a default starting technology during demodulation, and fig. 8 illustrates a parameter configuration example of type a configured by using the default technical configuration. That is, while identifying type a, the NFC signal demodulation module demodulates with the default parameter configuration of type a. If type a is identified within Tc time, the NFC signal demodulation module continues to demodulate with the parameter configuration of type a, as shown in fig. 8, traversing the various parameter configurations of type a in the order of a1, a2, A3 …. If the type A is not identified within the Tc time, the type A is judged not to be the type A, and the parameter configuration of the NFC signal demodulation module is directly switched to the other type, namely the type B/F. This can reduce the response time of type B/F, increasing the user experience.
In fig. 8, the default technical configuration of the NFC signal demodulation module is the parameter configuration of type a, and the default technical configuration may also be other types of parameter configurations, in which case, if type a is identified within Tc time, the NFC signal demodulation module directly switches to the parameter configuration of type a for demodulation.
Taking the identification type F as an example, as shown in fig. 9, the type F is identified within a preset time Tc, a timer is started, and the set time Tc is set, for example, Tc may be 5ms to 50 ms. Meanwhile, the NFC signal demodulation module may first demodulate the NFC signal by using a default technical configuration, which is an example of the parameter configuration of type a in fig. 9. That is, while identifying type F, the NFC signal demodulation module demodulates with the default parameter configuration of type a. If the type F212 is identified within the Tc time, the NFC signal demodulation module is directly switched to the parameter configuration of the type F212 for demodulation; if the type F424 is identified within the Tc time, the NFC signal demodulation module directly switches to the parameter configuration of the type F424 for demodulation. If the type F212 or F424 is not identified within the Tc time, the type F is judged not to be the type F, the NFC signal demodulation module continues to demodulate by using the parameter configuration of the type A, and if the NFC signal of the type A is not detected, the NFC signal demodulation module is switched to the parameter configuration of the type B. This can reduce response time and increase user experience.
Optionally, in an embodiment of the present application, the identification of the two technologies, denoted as the first NFC technology and the second NFC technology, is performed simultaneously. In this case, whether the NFC technology that simultaneously recognizes the NFC signal is the first NFC technology or the second NFC technology among the plurality of NFC technologies; if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, the NFC signal is demodulated according to the first NFC technology; or if the NFC technology of the NFC signal is identified to be the second NFC technology within the first preset time, demodulating the NFC signal according to the second NFC technology; or if the NFC technology that does not recognize the NFC signal within the first preset time is the first NFC technology or the second NFC technology, the NFC signal is demodulated sequentially according to the remaining NFC technologies of the multiple NFC technologies except the first NFC technology and the second NFC technology.
That is to say, two NFC technologies of the multiple NFC technologies are identified simultaneously, and if the two NFC technologies are not identified within the first preset time, the remaining NFC technologies may be traversed by using the foregoing traversal method. If there is only one remaining NFC technology, the demodulation is performed directly according to this remaining NFC technology.
It should be understood that more than two NFC technologies may be identified simultaneously, and if these NFC technologies are not identified within the first preset time, the remaining NFC technologies may be traversed in the foregoing traversal manner. If there is only one remaining NFC technology, the demodulation is performed directly according to this remaining NFC technology.
Taking the recognition of the type a and the type F as an example, as shown in fig. 10, the type a and the type F are recognized at the same time within a preset time Tc, a timer is started, and the set time Tc is set, for example, Tc may be 5ms to 50 ms. Meanwhile, the NFC signal demodulation module may first demodulate the NFC signal by using a default technical configuration, which is illustrated as a parameter configuration example of type a in fig. 10. That is, while identifying type a and type F, the NFC signal demodulation module demodulates with the default parameter configuration of type a. If type a is identified within Tc time, the NFC signal demodulation module continues demodulation with the parameter configuration of type a. If the type F212 is identified within the Tc time, the NFC signal demodulation module directly switches to the parameter configuration of the type F212 for demodulation. If type F424 is identified within Tc time, the NFC signal demodulation module switches directly to the parameter configuration of type F424 for demodulation. If the type A, the type F212 or the type F424 can not be identified within the Tc time, the type A or the type F is judged to be not, and the NFC signal demodulation module is directly switched to the parameter configuration of the type B for demodulation. This can reduce response time and increase user experience.
According to the technical scheme, the corresponding NFC technology is selected to configure and demodulate the NFC signal according to the recognition result of the NFC technology for recognizing the NFC signal within the preset time, and the fast NFC signal demodulation can be realized through one NFC signal demodulation module, so that the cost is effectively reduced and the power consumption is reduced on the premise of guaranteeing the fast response.
The method of near field communication of the embodiment of the present application is described above, and the near field communication receiving device of the embodiment of the present application is described below. It should be understood that, for brevity, the following description of the embodiments may refer to the foregoing embodiments.
Fig. 11 shows a schematic block diagram of a near field communication receiving device 1100 according to an embodiment of the present application. As shown in fig. 11, the near field communication receiving apparatus 1100 includes:
a non-interface 1110 for acquiring NFC signals;
the NFC signal demodulation module 1120 is configured to demodulate an NFC signal according to one of multiple NFC technologies in sequence.
Optionally, the NFC receiving device 1100 further includes:
a technology identification module 1130 for identifying an NFC technology of the NFC signal;
the NFC signal demodulation module 1120 is configured to demodulate an NFC signal according to an identification result of an NFC technology that identifies the NFC signal within a first preset time.
Optionally, the technology identification module 1130 is configured to identify whether the NFC technology of the NFC signal is a first NFC technology of the multiple NFC technologies;
the NFC signal demodulation module 1120 is configured to:
if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, the NFC signal is demodulated according to the first NFC technology; or,
if the NFC technology without recognizing the NFC signals within the first preset time is the first NFC technology, the NFC signals are demodulated according to the remaining NFC technologies except the first NFC technology in the multiple NFC technologies in sequence.
Optionally, the technology identification module 1130 is configured to identify whether the NFC technology of the NFC signal is a first NFC technology or a second NFC technology of the multiple NFC technologies at the same time;
the NFC signal demodulation module 1120 is configured to:
if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, the NFC signal is demodulated according to the first NFC technology; or,
if the NFC technology of the NFC signal is identified as a second NFC technology within the first preset time, the NFC signal is demodulated according to the second NFC technology; or,
if the NFC technology without recognizing the NFC signals in the first preset time is the first NFC technology or the second NFC technology, the NFC signals are demodulated according to the remaining NFC technologies except the first NFC technology and the second NFC technology in the multiple NFC technologies in sequence.
Optionally, the length of the first preset time is 5ms-50 ms.
Optionally, the plurality of NFC technologies include: type a, type B, type F212, or type F424.
Optionally, the technology identification module 1130 is configured to:
identifying whether a pause period exists in the NFC signal;
and if the NFC signal has the tentative time period, determining that the NFC technology of the NFC signal is of type A.
Optionally, the technology identification module 1130 is configured to:
identifying a frequency of a start sequence SOS of the NFC signal;
if the frequency of the SOS is 212kHz or 424kHz, the NFC technology of the NFC signal is determined to be type F212 or type F424.
Optionally, the NFC signal demodulation module 1120 is configured to:
demodulating the NFC signal according to a first NFC technology of the plurality of NFC technologies;
and if the NFC signal of the first NFC technology is not demodulated within the second preset time, demodulating the NFC signal according to the next NFC technology in the multiple NFC technologies.
Fig. 12 is a schematic block diagram of a chip 1200 for near field communication according to an embodiment of the present application. As shown in fig. 12, the chip 1200 includes a processor 1210 and a memory 1220, the memory 1220 is used for storing computer programs, and the processor 1210 is used for calling the computer programs to execute the methods of the various embodiments of the present application.
Embodiments of the present application further provide a readable storage medium for storing a computer program, where the computer program is configured to execute the method of the foregoing various embodiments of the present application.
It should be noted that, without conflict, the embodiments and/or technical features in the embodiments described in the present application may be arbitrarily combined with each other, and the technical solutions obtained after the combination also fall within the protection scope of the present application.
The system, apparatus and method disclosed in the embodiments of the present application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed. The above-described device embodiments are merely illustrative, the division of the unit is only one logical functional division, and there may be other divisions when the actual implementation is performed, and a plurality of units or components may be combined or may be integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling includes electrical, mechanical or other connections.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
It should be understood that the specific examples in the embodiments of the present application are for the purpose of promoting a better understanding of the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and that various modifications and variations can be made by those skilled in the art based on the above embodiments and fall within the scope of the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (19)
1. A method for Near Field Communication (NFC), which is applied to an NFC receiving device, wherein the NFC receiving device is only provided with one NFC signal demodulation module, and the method comprises the following steps:
acquiring an NFC signal;
and demodulating the NFC signals according to one of the multiple NFC technologies in sequence through the NFC signal demodulation module.
2. The method of claim 1, further comprising:
an NFC technology that identifies the NFC signal;
the demodulating the NFC signal includes:
and demodulating the NFC signal according to the identification result of the NFC technology for identifying the NFC signal within the first preset time.
3. The method of claim 2, wherein the identifying the NFC technology for the NFC signal comprises:
identifying whether an NFC technology of the NFC signal is a first NFC technology of the plurality of NFC technologies;
the demodulating the NFC signal according to the recognition result of the NFC technology that recognizes the NFC signal within the first preset time includes:
if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or,
if the NFC technology of the NFC signal is not identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the remaining NFC technologies except the first NFC technology in the multiple NFC technologies in sequence.
4. The method of claim 2, wherein the identifying the NFC technology for the NFC signal comprises:
identifying whether the NFC technology of the NFC signals is a first NFC technology or a second NFC technology of the plurality of NFC technologies simultaneously;
the demodulating the NFC signal according to the recognition result of the NFC technology that recognizes the NFC signal within the first preset time includes:
if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or,
if the NFC technology of the NFC signal is identified as the second NFC technology within the first preset time, demodulating the NFC signal according to the second NFC technology; or,
if the NFC technology which does not recognize the NFC signals within the first preset time is the first NFC technology or the second NFC technology, demodulating the NFC signals according to the remaining NFC technologies except the first NFC technology and the second NFC technology in the multiple NFC technologies in sequence.
5. The method according to any one of claims 2 to 4, wherein the first preset time is 5ms-50ms in length.
6. The method of any of claims 2 to 5, wherein the plurality of NFC technologies comprises: type a, type B, type F212, or type F424.
7. The method of claim 6, wherein the identifying the NFC technology for the NFC signal comprises:
identifying whether a pause period exists in the NFC signal;
if the tentative time period exists in the NFC signal, determining that the NFC technology of the NFC signal is of the type a.
8. The method of claim 6 or 7, wherein the identifying the NFC technology for the NFC signal comprises:
identifying the frequency of a start sequence SoS of the NFC signal;
if the frequency of the SoS is 212kHz or 424kHz, determining that the NFC technology of the NFC signal is the type F212 or the type F424.
9. The method of claim 1, wherein demodulating the NFC signal in accordance with one of a plurality of NFC technologies in turn comprises:
demodulating the NFC signal according to a first NFC technology of the plurality of NFC technologies;
and if the NFC signal of the first NFC technology is not demodulated within a second preset time, demodulating the NFC signal according to a next NFC technology of the plurality of NFC technologies.
10. A Near Field Communication (NFC) receiving device, comprising:
the non-contact interface is used for acquiring NFC signals;
and the NFC signal demodulation module is used for demodulating the NFC signals according to one of the multiple NFC technologies in sequence.
11. The NFC reception device according to claim 10, further comprising:
a technology identification module for identifying the NFC technology of the NFC signal;
the NFC signal demodulation module is used for demodulating the NFC signal according to an identification result of an NFC technology for identifying the NFC signal within a first preset time.
12. The NFC receiver of claim 11, wherein the technology identification module is configured to identify whether the NFC technology of the NFC signal is a first NFC technology of the plurality of NFC technologies;
the NFC signal demodulation module is used for:
if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or,
if the NFC technology of the NFC signal is not identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the remaining NFC technologies except the first NFC technology in the multiple NFC technologies in sequence.
13. The NFC receiver of claim 11, wherein the technology identification module is configured to identify whether the NFC technology of the NFC signal is a first NFC technology or a second NFC technology of the plurality of NFC technologies at the same time;
the NFC signal demodulation module is used for:
if the NFC technology of the NFC signal is identified as the first NFC technology within the first preset time, demodulating the NFC signal according to the first NFC technology; or,
if the NFC technology of the NFC signal is identified as the second NFC technology within the first preset time, demodulating the NFC signal according to the second NFC technology; or,
if the NFC technology of the NFC signal is not identified as the first NFC technology or the second NFC technology within the first preset time, demodulating the NFC signal according to the remaining NFC technologies except the first NFC technology and the second NFC technology in the multiple NFC technologies in sequence.
14. The NFC device according to any one of claims 11 to 13, wherein the first preset time is 5ms to 50ms in length.
15. The NFC receiving device according to any one of claims 11 to 14, wherein the plurality of NFC technologies include: type a, type B, type F212, or type F424.
16. The NFC receiver device of claim 15, wherein the technology identification module is configured to:
identifying whether a pause period exists in the NFC signal;
if the tentative time period exists in the NFC signal, determining that the NFC technology of the NFC signal is of the type a.
17. The NFC receiver device of claim 15 or 16, wherein the technology identification module is configured to:
identifying the frequency of a start sequence SoS of the NFC signal;
if the frequency of the SoS is 212kHz or 424kHz, determining that the NFC technology of the NFC signal is the type F212 or the type F424.
18. The NFC receiving device according to claim 10, wherein the NFC signal demodulation module is configured to:
demodulating the NFC signal according to a first NFC technology of the plurality of NFC technologies;
and if the NFC signal of the first NFC technology is not demodulated within a second preset time, demodulating the NFC signal according to a next NFC technology of the plurality of NFC technologies.
19. A chip for near field communication, comprising a processor and a memory, the memory being configured to store a computer program, the processor being configured to invoke the computer program to perform a method of near field communication according to any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210330067.6A CN114726406A (en) | 2022-03-31 | 2022-03-31 | Near field communication method, near field communication receiving equipment and chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210330067.6A CN114726406A (en) | 2022-03-31 | 2022-03-31 | Near field communication method, near field communication receiving equipment and chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114726406A true CN114726406A (en) | 2022-07-08 |
Family
ID=82239732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210330067.6A Pending CN114726406A (en) | 2022-03-31 | 2022-03-31 | Near field communication method, near field communication receiving equipment and chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114726406A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130083787A1 (en) * | 2011-09-30 | 2013-04-04 | Proton World International N.V. | Configuration of a near-field communication router according to the modulation type |
US20140017997A1 (en) * | 2012-07-16 | 2014-01-16 | Samsung Electronics Co., Ltd. | Data receiver for near field communication and wireless communication system including the same |
US20140235165A1 (en) * | 2011-09-30 | 2014-08-21 | Proton World International N.V. | Configuration of the modulation type of a near-field communication router |
US20160057255A1 (en) * | 2014-08-22 | 2016-02-25 | Mediatek Inc. | Unified communications receiver and associated method |
CN107889086A (en) * | 2016-09-29 | 2018-04-06 | 意法半导体(鲁塞)公司 | The method that may be present of detection object and corresponding reader |
-
2022
- 2022-03-31 CN CN202210330067.6A patent/CN114726406A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130083787A1 (en) * | 2011-09-30 | 2013-04-04 | Proton World International N.V. | Configuration of a near-field communication router according to the modulation type |
US20140235165A1 (en) * | 2011-09-30 | 2014-08-21 | Proton World International N.V. | Configuration of the modulation type of a near-field communication router |
US20140017997A1 (en) * | 2012-07-16 | 2014-01-16 | Samsung Electronics Co., Ltd. | Data receiver for near field communication and wireless communication system including the same |
US20160057255A1 (en) * | 2014-08-22 | 2016-02-25 | Mediatek Inc. | Unified communications receiver and associated method |
CN107889086A (en) * | 2016-09-29 | 2018-04-06 | 意法半导体(鲁塞)公司 | The method that may be present of detection object and corresponding reader |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7821378B2 (en) | Apparatus and method for receiving tag signal in mobile RFID reader | |
EP1880350B1 (en) | Contactless type integrated circuit card and method for communicating data by multiprotocol | |
CN101561890B (en) | Signal enhancer chip for radio frequency identification system and signal enhancer thereof | |
CN102880842B (en) | A kind of method strengthening non-contact card and card reader communication robust | |
CN116112326B (en) | Integrated circuit and method for protocol detection and decoding in near field communication | |
US8250451B2 (en) | IC card, information processing device, communication type identification method, and program | |
US7252241B2 (en) | Data communication system, data communication device, contactless communication medium, and communication device control program | |
US10243768B2 (en) | Configuration of a near-field communication router according to the modulation type | |
CN113743138B (en) | Method of distinguishing between active and passive contactless devices and corresponding reader | |
US9369319B1 (en) | Wireless communication device and method for identifying the type of modulation among a plurality of modulation types in a near filed communication device | |
KR100768100B1 (en) | Appratus and Method for Receiving Tag Signal in Mobile RFID Reader | |
US12068807B2 (en) | System and method for managing communication between contactless devices | |
CN114726406A (en) | Near field communication method, near field communication receiving equipment and chip | |
CN105827761A (en) | Cellphone based ultra-high radio frequency identification apparatus, radio frequency identification control method and apparatus | |
CN106203595A (en) | The mutual ultra-high frequency RFID label chip of far and near distance and method thereof can be realized | |
US9767433B2 (en) | Communication station for communication with transponders and further communication stations with the aid of different protocols | |
CN105809078A (en) | Method for preventing conflicts between different-frequency cards and bi-frequency card reader | |
CN205647629U (en) | Hyperfrequency radio -frequency identification reader based on cell -phone | |
JP2012068932A (en) | Non-contact type ic card | |
CN104753550A (en) | Wireless communication terminal and data processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220708 |