Near field communication method and equipment
By detecting the detection signal in the mobile card reading device and transmitting the disturbance signal to interfere with the superposition, the problem of low card reading success rate in low-power card detection mode is solved, the success rate of reading NFC tag information is improved, and the user experience is improved. .
Patent Information
- Application Number
- CN202411107032.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-08-13
AI Technical Summary
When a mobile phone is used as a card reading device, the success rate of reading NFC tag information in low-power card detection mode is low, which affects the user experience.
By detecting the detection signal emitted by the card reading device, if the conditions for interference superposition signals are met, the disturbance signal is emitted to interfere with the detection signal and superpose it, causing signal changes, prompting the card reading device to exit the low-power card detection mode, and improving the success of card reading. Rate.
It effectively improves the success rate of mobile phones in reading NFC tag information, reduces the time for card reading devices to detect nearby NFC devices, and improves user experience.
Smart Images

Figure CN118646451A
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the field of near field communication technology, and more particularly, to a near field communication method and device. Background Art
[0002] Near field communication (NFC) is a short-range wireless communication technology that can achieve contactless data transmission between two devices within a short distance, providing a safe and fast communication method for electronic devices.
[0003] In NFC application scenarios where mobile phones and other terminal devices are used as card readers, the tag information of NFC tags can be read by mobile phones. If repeated attempts are required to successfully read the tag information during the process of mobile phone reading the tag information, the user experience is seriously affected. Therefore, it is necessary to provide a solution that can improve the success rate of mobile phones reading tag information. Summary of the invention
[0004] In order to improve the success rate of a mobile phone reading tag information, one or more embodiments of this specification provide a near field communication method and device.
[0005] In a first aspect, one or more embodiments of the present specification provide a near field communication method, which is applied to a near field communication device, and the method includes: detecting a detection signal emitted by a card reader device in a low-power card detection mode; when it is detected that the transmission state of a first detection signal satisfies a condition of an interference superposition signal, emitting a disturbance signal so that the disturbance signal interferes with and superimposes the first detection signal, thereby causing the card reader device to exit the low-power card detection mode; the first detection signal is the detection signal that is detected earliest by the near field communication device among the detection signals emitted by the card reader device in the low-power card detection mode.
[0006] In one possible implementation, the detection signal emitted by the card reader device in the low-power card detection mode includes: determining whether first characteristic information is detected; the first characteristic information is characteristic information of the detection signal emitted by the card reader device in the low-power card detection mode; in the case of determining that the first characteristic information is detected, determining that the first detection signal is detected; based on the level of the first detection signal, monitoring the rising edge transition event; in the case of monitoring the rising edge transition event, determining that the transmission state of the detected first detection signal meets the condition of the interference superposition signal.
[0007] In one possible implementation, when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, a disturbance signal is emitted, including: when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, a target disturbance signal parameter is determined; based on the target disturbance signal parameter, a disturbance signal is generated; and the disturbance signal is emitted.
[0008] In one possible implementation, when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, the target disturbance signal parameters are determined, including: when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, the first device model corresponding to the card reading device is determined; configuration information of the disturbance signal is obtained, the configuration information including at least one second device model and disturbance signal parameters corresponding to each of the second device models; and the disturbance signal parameters corresponding to the first device model in the configuration information are determined as the target disturbance signal parameters.
[0009] In one possible implementation, the target disturbance signal parameters include a target amplitude, a target phase, a target duration, and a target frequency; wherein the target phase is opposite to the phase of the first detection signal, and the target frequency is the same as the frequency of the first detection signal.
[0010] In one possible implementation, the amplitude change between the interference signal after the interference and superposition of the disturbance signal and the first detection signal and the first detection signal is greater than the detection threshold of the card reader for the amplitude change; and / or the phase change between the interference signal and the first detection signal is greater than the detection threshold of the card reader for the phase change.
[0011] In one possible implementation, the method further includes: in a case where no card reading request signal is received within a preset time period after the disturbance signal is transmitted, detecting a detection signal transmitted by the card reader device in a low-power card detection mode; wherein the card reading request signal is a signal transmitted by the card reader device in a standard card detection mode; and in a case where a second detection signal is detected, transmitting an excitation signal after the second detection signal transmission cycle to trigger the card reader device to exit the low-power card detection mode.
[0012] In one possible implementation, the method further includes: determining whether second characteristic information is detected within a preset time length after the disturbance signal is transmitted; the second characteristic information is characteristic information of a card reading request signal transmitted by the card reading device in a standard card detection mode; and if it is determined that the second characteristic information is not detected, determining that the card reading request signal is not received.
[0013] In a second aspect, one or more embodiments of the present specification provide a near-field communication device, comprising: a signal processing module and a signal generating module; the signal processing module is used to detect a detection signal emitted by a card reader in a low-power card detection mode; the signal generating module is used to generate and emit a disturbance signal when it is detected that the transmission state of a first detection signal satisfies a condition of an interference superposition signal, so that the disturbance signal interferes and superimposes with the first detection signal to trigger the card reader to exit the low-power card detection mode; the first detection signal is the detection signal that is detected earliest by the near-field communication device among the detection signals emitted by the card reader in the low-power card detection mode.
[0014] In one possible implementation, the signal processing module includes an analog-to-digital converter and a processor; the signal processing module is used to detect the detection signal emitted by the card reader in a low-power card detection mode; specifically: the analog-to-digital converter is used to convert the received electromagnetic field signal into a digital signal, and output the digital signal to the processor; the processor is used to determine whether first characteristic information is detected based on the digital signal; the first characteristic information is characteristic information of the detection signal emitted by the card reader in a low-power card detection mode; when it is determined that the first characteristic information is detected, it is determined that the first detection signal is detected; based on the level of the first detection signal, a rising edge transition event is monitored; when a rising edge transition event is monitored, it is determined that the transmission state of the detected first detection signal meets the condition of the interference superposition signal.
[0015] In a possible implementation, the processor is also used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal meets the conditions of the interference superposition signal, and control the signal generation module to generate a disturbance signal based on the target disturbance signal parameters.
[0016] In one possible implementation, the processor is used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal. Specifically, the processor is used to determine the first device model corresponding to the card reading device when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal; obtain configuration information of the disturbance signal, the configuration information including at least one second device model and disturbance signal parameters corresponding to each of the second device models; determine the disturbance signal parameters corresponding to the first device model in the configuration information as the target disturbance signal parameters.
[0017] In one possible implementation, the signal processing module includes a rising edge detection circuit; the signal processing module is used to detect the detection signal emitted by the card reader device in a low-power card detection mode; specifically: the rising edge detection circuit is used to determine whether the first characteristic information is detected; the first characteristic information is the characteristic information of the detection signal emitted by the card reader device in a low-power card detection mode; when it is determined that the first characteristic information is detected, it is determined that the first detection signal is detected; based on the level of the first detection signal, a rising edge jump event is monitored; when a rising edge jump event is monitored, it is determined that the transmission state of the detected first detection signal meets the condition of the interference superposition signal.
[0018] In one possible implementation, the signal processing module also includes a controller; the controller is used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal meets the conditions of the interference superposition signal; and control the signal generation module to generate a disturbance signal based on the target disturbance signal parameters.
[0019] In one possible implementation, the controller is used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal satisfies the conditions of the interference superposition signal. Specifically, the controller is used to determine the first device model corresponding to the card reading device when it is detected that the transmission state of the first detection signal satisfies the conditions of the interference superposition signal; obtain configuration information of the disturbance signal, the configuration information including at least one second device model and disturbance signal parameters corresponding to each of the second device models; determine the disturbance signal parameters corresponding to the first device model in the configuration information as the target disturbance signal parameters.
[0020] In a possible implementation, it also includes a signal transceiver module and a near-field communication chip, the signal transceiver module is used to transmit the disturbance signal, and the near-field communication chip is used to transmit data with the card reading device; the signal transceiver module includes a first antenna and a second antenna; the near-field communication chip is connected to the first antenna, the analog-to-digital converter and the signal generating module are respectively connected to the second antenna, and the processor is connected between the analog-to-digital converter and the signal generating module; or, the signal transceiver module includes a first antenna; the near-field communication chip, the analog-to-digital converter and the signal generating module are respectively connected to the first antenna, and the processor is connected between the analog-to-digital converter and the signal generating module.
[0021] In a possible implementation, it also includes a signal transceiver module and a near-field communication chip, the signal transceiver module is used to transmit the disturbance signal, and the near-field communication chip is used to transmit data with the card reading device; the rising edge detection circuit, the signal generation module and the near-field communication chip are respectively connected to the signal transceiver module, and the controller is connected between the rising edge detection circuit and the signal generation module.
[0022] In one possible implementation, any one or more of the rising edge detection circuit, the controller and the signal generation module are integrated into the near field communication chip; or, the rising edge detection circuit, the controller and the signal generation module are circuits independent of the near field communication chip.
[0023] In one possible implementation, the target disturbance signal parameters include a target amplitude, a target phase, a target duration, and a target frequency; wherein the target phase is opposite to the phase of the first detection signal, and the target frequency is the same as the frequency of the first detection signal.
[0024] In one possible implementation, the signal processing module is also used to detect the detection signal emitted by the card reader device in the low-power card detection mode when no card reading request signal is received within a preset time period after the disturbance signal is emitted; wherein the card reading request signal is a signal emitted by the card reader device in the standard card detection mode; the signal generation module is also used to generate and emit an excitation signal after the second detection signal emission cycle when a second detection signal is detected, so as to trigger the card reader device to exit the low-power card detection mode.
[0025] In a third aspect, one or more embodiments of the present specification further provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the near field communication method of the first aspect described above is implemented.
[0026] In summary, in order to improve the success rate of a mobile phone reading tag information, one or more embodiments of this specification provide a near field communication method and device. In this method, the near field communication device can transmit a disturbance signal when detecting that the card reader transmits a first detection signal, so that the disturbance signal can interfere and superimpose with the first detection signal in space, thereby causing a large signal change in the first detection signal, so that the card reader can detect the presence of a near field communication device nearby, thereby improving the success rate of reading tag information. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of one or more embodiments of the present specification, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of one or more embodiments of the present specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 A schematic diagram of an application scenario provided for one or more embodiments of this specification; Figure 2 A flowchart of a near field communication method provided for one or more embodiments of this specification; Figure 3 A schematic diagram of a signal transmission process provided for one or more embodiments of this specification; Figure 4 A schematic diagram of another signal transmission process provided for one or more embodiments of this specification; Figure 5 A structural block diagram of a near field communication device provided for one or more embodiments of this specification; Figure 6 A structural block diagram of another near field communication device provided for one or more embodiments of this specification; Figure 7 A structural block diagram of another near field communication device provided for one or more embodiments of this specification; Figure 8 A structural block diagram of another near field communication device provided for one or more embodiments of this specification. DETAILED DESCRIPTION
[0029] One or more embodiments of the present invention are further described in detail below through the accompanying drawings and examples. Through these descriptions, the features and advantages of one or more embodiments of the present invention will become clearer and more specific.
[0030] The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. Although various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise noted.
[0031] In addition, the technical features involved in different implementations of one or more embodiments of this specification described below can be combined with each other as long as they do not conflict with each other.
[0032] To facilitate understanding, the application scenarios of the technical solutions provided by one or more embodiments of this specification are first described below.
[0033] Near field communication (NFC) is a short-range wireless communication technology that can realize contactless data transmission between two devices within a short distance, providing a safe and fast communication method.
[0034] NFC can include three working modes: The first is the card reader mode. In the card reader mode, a terminal device that supports the NFC function, such as a mobile phone, can be used as a card reader to read information from a medium such as a label, sticker, postcard, newspaper, business card, etc. with an NFC chip, or write data to these media. In one or more embodiments of this specification, these media may be referred to as NFC tags or NFC devices.
[0035] The second is the virtual card mode, in which mobile phones and other NFC-enabled terminal devices can be used as debit cards, credit cards, bus cards, access cards and other IC cards. The basic principle is to encapsulate the information in the corresponding IC card into a data packet and store it in mobile phones and other NFC-enabled terminal devices.
[0036] The third is peer-to-peer mode, in which two NFC-enabled terminal devices can achieve peer-to-peer data transmission. For example, a mobile phone and a tablet computer that support NFC can achieve peer-to-peer transmission of data such as music and pictures.
[0037] Among them, the first NFC working mode, that is, the working mode using mobile phones and other terminal devices as card readers, can be applied to payment, ordering, information transmission and other application scenarios, and the card reader can be used to read the tag information of the NFC device. For example, in the payment scenario, the card reader can read the payment information of the NFC device; in the ordering scenario, the card reader can read the ordering information of the NFC device.
[0038] The following is an example of an application scenario in which a mobile phone is used as a card reader for payment.
[0039] like Figure 1 As shown in (a) in the figure, the payment scenario may include an NFC device 10 (also called an NFC tag) and a mobile phone 20. The NFC device 10 may be a money collection device, a code card, etc. When the mobile phone 20 is close to the NFC device 10 in a light-screen or unlocked state, the NFC device 10 can sense the user's mobile phone 20 and communicate with it to transmit tag information (for example, payment information). In this way, the mobile phone 20 can read the payment information. Afterwards, Figure 1As shown in (b) in FIG. 1 , the mobile phone 20 can display the corresponding payment page according to the payment information. When the user performs a payment operation on the mobile phone 20 according to the payment page (such as the user clicks the payment control "Confirm Payment" displayed on the payment page; or, after entering the corresponding payment amount, clicks the payment control "Confirm Payment" displayed on the payment page) to complete the payment. Figure 1 As shown in (c) in the figure, the user's mobile phone 20 can display the payment completion page, thereby completing the user's payment to the merchant. Compared with the method of scanning code payment, the above payment method can shorten the user's payment path and improve the user's payment experience.
[0040] When using a mobile phone as a card reader, the power consumption of the mobile phone needs to be considered. In order to reduce the power consumption of the mobile phone and save electricity, the tag information of the NFC device can be read in the following way: first use the low power card detection mode (LPCD) to detect whether there is an NFC device nearby; if an NFC device is detected nearby, exit the LPCD mode and use the standard card detection mode to read the tag information of the NFC device. Among them, the power consumed by the LPCD mode is less than the power consumed by the standard card detection mode, so the power consumption of the mobile phone can be reduced by the LPCD mode.
[0041] Exemplarily, the following method can be used to determine whether there is an NFC device nearby: the mobile phone transmits a detection signal in LPCD mode. If there is an NFC device nearby, the NFC device will cause the detection signal emitted by the mobile phone to change. For example, the NFC device will consume part of the energy of the detection signal, thereby reducing the amplitude or phase of the detection signal. The mobile phone can detect whether the change in the detection signal exceeds the detection threshold of the change by software or hardware. If it is detected that the change in the detection signal exceeds the detection threshold of the change, the mobile phone confirms that there is an NFC device nearby, then exits the LPCD mode, and switches to the standard card detection mode to read the information of the NFC device. If it is detected that the change in the detection signal does not exceed the detection threshold of the change, the mobile phone confirms that there is no NFC device nearby and continues to use the LPCD mode to transmit the detection signal.
[0042] Although the LPCD mode can reduce the power consumption of mobile phones, due to the weak signal strength of the detection signal emitted in the LPCD mode, the change in the detection signal caused by the NFC device is small, which may not be enough to make the change in the detection signal exceed the detection threshold of the change. In this way, in the LPCD mode, the sensing distance for the mobile phone to read the NFC device information is significantly reduced, and the sensitivity is reduced. However, different models of mobile phones have different corresponding change thresholds, or different models of mobile phones have different detection sensitivities to the change in the detection signal. Therefore, in the LPCD mode, the probability of the mobile phone detecting a change in the detection signal may be small, resulting in a low success rate of mobile phone card reading, which seriously affects the user experience. For example, some mobile phones may need to transmit the detection signal multiple times before they can successfully read the tag information. For another example, some mobile phones may not be able to successfully read the tag information after transmitting the detection signal multiple times.
[0043] In order to solve the problem that the success rate of card reading in LPCD mode is low when the mobile phone is used as a card reading device, one or more embodiments of this specification provide a near field communication method and device. In the method, the NFC device can detect whether a detection signal is received. If the detection signal is detected, the NFC device can synchronously transmit a disturbance signal during the period when the mobile phone transmits the detection signal, so that the disturbance signal and the detection signal interfere and overlap, and then the mobile phone exits the LPCD mode, thereby improving the success rate of card reading of the mobile phone.
[0044] The following is an exemplary description of an embodiment of a near field communication method provided by one or more embodiments of this specification.
[0045] See also Figure 2 , Figure 2 This is a flow chart of a near field communication method provided in one or more embodiments of this specification. This method can be applied to application scenarios where a terminal device such as a mobile phone is used as a card reader. Figure 2 As shown, the method may include the following steps: Step S102: the card reader periodically transmits a detection signal in the LPCD mode.
[0046] The period of emitting the detection signal, the duration of the detection signal, the amplitude and phase of the detection signal, etc., may be different for different card reading devices, and one or more embodiments of this specification do not limit this.
[0047] Step S104: The NFC device detects a detection signal emitted by the card reader.
[0048] It should be noted that in one or more embodiments of this specification, the signal emitted by the card reader in the LPCD mode is referred to as a detection signal, and the signal emitted by the card reader in the standard card detection mode is referred to as a card reading request signal. The detection signal is different from the card reading request signal, for example, the detection signal and the card reading request signal are different in signal strength, modulation mode, information carried, etc. In this way, the NFC device can determine whether the detected signal is a detection signal or a card reading request signal based on characteristic information such as signal strength, modulation mode, and information carried.
[0049] Exemplarily, the received signal is detected as a detection signal in the following manner: determining whether first characteristic information is detected; the first characteristic information is characteristic information of the detection signal emitted by the card reader in the LPCD mode, such as signal strength, modulation mode, carried information, etc. If it is determined that the first characteristic information is detected, it is determined that the detection signal is detected.
[0050] Similarly, the received signal is detected as a card reading request signal in the following manner: determine whether the second characteristic information is detected; the second characteristic information is characteristic information of the card reading request signal emitted by the card reading device in the standard card detection mode, such as signal strength, modulation mode, carried information, etc. If it is determined that the second characteristic information is detected, it is determined that the card reading request signal is detected.
[0051] When it is determined that the detected signal is a detection signal, it can be further determined whether the transmission state of the detected detection signal (the detection of the first detection signal is used as an example below, where the first detection signal may be the detection signal that is first detected by the NFC device among the detection signals emitted by the card reader in the LPCD mode) meets the conditions of the interference superposition signal.
[0052] Among them, the transmission state of the first detection signal may include transmission completion and transmission not completion. When the transmission state of the first detection signal is transmission completion, the disturbance signal emitted by the NFC device cannot interfere and superimpose with the first detection signal in space. When the transmission state of the first detection signal is transmission not completion, the disturbance signal emitted by the NFC device can interfere and superimpose with the first detection signal in space. Therefore, in one or more embodiments of the present specification, the transmission state of the detection signal can be set to the transmission state of the detection signal as transmission not completion. That is to say, the condition of the interference superposition signal can be met at any time before the detection signal transmission is not completed.
[0053] In this way, the disturbance signal can interfere and superimpose with any part of the first detection signal in space, thereby changing the amplitude and / or phase of the first detection signal. For example, the disturbance signal can be emitted at the beginning, middle or near the end of the emission of the first detection signal.
[0054] The detection signal may be a pulse signal, and the pulse signal may be divided into a rising edge stage, a stable high level stage (which may also be called a flat top stage) and a falling edge stage according to the sequence of emission time. Thus, in one or more embodiments of the present specification, it may be determined that the detected first detection signal is in a rising edge stage, a stable high level stage or a falling edge stage based on the level or waveform of the first detection signal, and further, a disturbance signal may be synchronously emitted in the rising edge stage, the stable high level stage or the falling edge stage.
[0055] In one possible implementation, determining whether the transmission state of the first detection signal satisfies the condition of the interference superposition signal can be achieved in the following manner: after determining that the first detection signal is detected, monitoring a rising edge transition event based on the level or waveform of the first detection signal; when a rising edge transition event is monitored, determining that the transmission state of the detected first detection signal satisfies the condition of the interference superposition signal.
[0056] Exemplarily, the NFC device may detect whether there is a rising edge transition in the level of the first detection signal within a preset time window; if a rising edge transition is detected in the level of the first detection signal, the NFC device may determine that a rising edge transition event is detected.
[0057] For example, the preset time window can be 1 μs. If the level corresponding to the later time point is higher than the level at the previous time point within 1 μs, and the difference between the two levels is greater than the level threshold, it can be determined that there is a rising edge jump within the 1 μs, and then it can be determined that a rising edge jump event is detected.
[0058] The first detection signal lasts for a period of time, for example, 35 μs. Thus, after determining that a rising edge transition event is detected, the NFC device can transmit a disturbance signal, and try to synchronize the disturbance signal with the first detection signal to cause interference superposition in space.
[0059] In one possible implementation, determining whether the transmission state of the first detection signal satisfies the condition of the interference superposition signal can also be carried out in the following manner: after determining that the first detection signal is detected, determining whether the plateau period of the first detection signal is reached based on the level or waveform of the first detection signal; when it is determined that the plateau period of the first detection signal is reached, determining that the transmission state of the detected first detection signal satisfies the condition of the interference superposition signal.
[0060] In order to enable the card reader to detect the presence of an NFC tag nearby as quickly as possible, the NFC device can transmit a disturbance signal immediately after detecting a rising edge transition event, that is, it can transmit a disturbance signal when a rising edge transition event is detected. In this way, on the one hand, the disturbance signal can cause the first detection signal to change as quickly as possible; on the other hand, the disturbance signal can also interfere with the first detection signal for a sufficiently long time to improve the effect of the disturbance. Generally, after the card reader transmits the first detection signal and before the second detection signal, the card reader can successfully read the tag information of the NFC device, such as payment information.
[0061] Step S106: When the NFC device detects that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, it transmits a disturbance signal, so that the disturbance signal interferes and superimposes with the first detection signal to trigger the card reader to exit the LPCD mode.
[0062] When the NFC device detects that the transmission state of the first detection signal meets the condition of the interference superposition signal, the NFC device transmits the disturbance signal, which can be achieved in the following way: when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal, the NFC device can first determine the target disturbance signal parameters; then, the NFC device can generate the disturbance signal based on the target disturbance signal parameters; thereafter, the NFC device transmits the disturbance signal.
[0063] The target disturbance signal parameters may include a target amplitude, a target phase, a target duration, a target frequency, etc., for generating a disturbance signal.
[0064] Optionally, in one or more implementations of this specification, the NFC device may configure the same target disturbance signal parameters for different card reading devices, wherein the target disturbance signal parameters may be disturbance signal parameters with better disturbance effects determined during the R&D test phase.
[0065] Optionally, in one or more implementations of this specification, the NFC device may also configure different target disturbance signal parameters for different card reading devices. In this case, the NFC device may determine the target disturbance signal parameters in the following manner: when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, determine the first device model corresponding to the card reading device; obtain configuration information of the disturbance signal, the configuration information includes at least one second device model and disturbance signal parameters corresponding to each second device model; determine the disturbance signal parameters corresponding to the first device model in the configuration information as the target disturbance signal parameters.
[0066] That is to say, the NFC device can be pre-configured with disturbance signal parameters such as amplitude, phase, duration and frequency corresponding to different device models. Then, after determining the device model corresponding to the current card reader, the target disturbance signal parameters such as target amplitude, target phase, target duration and target frequency corresponding to the current card reader can be matched from the configuration information.
[0067] Among them, the NFC device can determine the device model corresponding to the current card reader device in the following manner: the NFC device can be pre-configured with signal characteristics of detection signals corresponding to different device models, for example, the signal characteristics may include at least one of the amplitude, phase, and duration of the detection signal. In this way, the NFC device can determine the device model corresponding to the current card reader device based on the received first detection signal; then, the NFC device can generate and transmit a disturbance signal based on the target disturbance signal parameters corresponding to the device model to which the current card reader device belongs.
[0068] In this way, disturbance signals matching different card reading devices can be generated respectively to better achieve the effect of disturbing the first detection signal.
[0069] The target duration may be the same as the duration of the first detection signal, and the target frequency may be the same as the frequency of the first detection signal. In this way, the disturbance signal may be synchronously emitted while the card reader continuously emits the first detection signal, thereby achieving a better interference effect.
[0070] In one or more embodiments of the present specification, the specific parameters of the target phase are not limited. For example, the target phase may be opposite to the phase of the first detection signal, or the phase angle between the target phase and the phase of the first detection signal may be greater than or equal to 0° and less than 180°.
[0071] Wherein, when the target phase is opposite to the phase of the first detection signal, the interference signal with the opposite phase can reduce the amplitude of the first detection signal after interfering with the first detection signal. In this way, the card reading device that also includes the following conditions for exiting the LPCD mode can be satisfied: the conditions for exiting the LPCD mode also include detecting that the amplitude of the first detection signal is reduced.
[0072] Step S108: When the card reader detects that the change in the first detection signal is greater than a change threshold, the card reader exits the low-power card detection mode.
[0073] Since the disturbance signal and the first detection signal can cause a large change in the first detection signal after spatial interference superposition, most card reading devices can detect that the signal change of the interference signal relative to the first detection signal is greater than the change threshold. For example, the amplitude change between the interference signal and the first detection signal can be greater than the detection sensitivity of the card reading device to the amplitude change (or, greater than the amplitude change threshold); and / or, the phase change between the interference signal and the detection signal is greater than the detection sensitivity of the card reading device to the phase change (or, greater than the phase change threshold).
[0074] In this way, the card reading device can detect the change in the first detection signal, and determine that there is an NFC device nearby based on the change in the first detection signal, thereby exiting the LPCD mode.
[0075] Step S110: the card reading device transmits a card reading request signal in a standard card detection mode.
[0076] After the card reader confirms that there is an NFC device nearby, it can exit the LPCD mode and use the standard card detection mode to transmit a card reading request signal, wherein the card reading request signal can carry request information to request to read information from the NFC device or request to write information to the NFC device.
[0077] Step S112: After the NFC device senses the card reading request signal, it sends a response signal to the card reading device.
[0078] After the NFC device senses the card reading request signal, it can send a response signal to the card reading device. The response signal can carry response information corresponding to the request information. After that, after receiving the response information, the card reading device can perform interactive operations such as data transmission with the NFC device.
[0079] For example, Figure 3 As shown, in LPCD mode, the card reader device can transmit a detection signal once every certain period of time (i.e., periodically transmit a detection signal), and each detection signal can last for a certain period of time. In the first transmission cycle, after the card reader device starts to transmit the first detection signal, the NFC device can detect that the card reader device transmits the first detection signal, and when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal, the NFC device can transmit an interference signal. After the interference signal disturbs the first detection signal, it causes the card reader device to detect a change in the first detection signal, and then the card reader device exits the LPCD mode and switches to the standard card detection mode to transmit a card reading request signal. As shown Figure 3 As shown, the card reading request signal can be transmitted before the second detection signal, so that the card reading device can successfully read the tag information of the NFC device by transmitting the detection signal once.
[0080] In summary, one or more embodiments of the present specification can transmit a disturbance signal through an NFC device to disturb the first detection signal, so that the signal change of the first detection signal becomes larger, thereby increasing the probability that different models of card readers detect changes in the first detection signal and improving the card reading success rate of different models of card readers.
[0081] Secondly, due to the solution provided by one or more embodiments of the present specification, a disturbance signal is emitted on the NFC device side to increase the signal change of the detection signal, while for the card reader device side, the logic of the card reader device in determining whether there is an NFC device nearby has not changed. Therefore, after the card reader device detects the interference signal, there will be no problems such as popping up a virtual card.
[0082] Among them, popping up a virtual card means that for a card reader device that supports both the card reader mode and the virtual card mode, when it detects other signals emitted in a time period other than the detection signal, it may think that there are other card readers nearby, and then may pop up a corresponding virtual card for other card readers to read information. It should be understood that the solution provided in one or more embodiments of this specification is to synchronously emit a disturbance signal during the emission of the detection signal to disturb the detection signal, and no independent signal is sent to the card reader device in a time period other than the detection signal, so the card reader device does not pop up a virtual card.
[0083] The inventors have found that after transmitting the disturbance signal, there may still be some cases where the card reader cannot successfully read the tag information of the NFC device. For example, for a card reader with a low detection sensitivity of the change in the first detection signal, its card reading success rate is still low.
[0084] In view of the above situation, the following methods can be used to further improve the card reading success rate of the card reading device: If no card reading request signal is received within a preset time period after the disturbance signal is emitted, the detection signal emitted by the card reader device in the LPCD mode is detected again; if the second detection signal is detected, an excitation signal is emitted after the second detection signal generation cycle to trigger the card reader device to exit the LPCD mode.
[0085] For example, Figure 4As shown, in the first transmission cycle in the LPCD mode, after the card reader starts to transmit the first detection signal, the NFC device can detect the rising edge event of the first detection signal and synchronously transmit the disturbance signal. However, after the disturbance signal disturbs the first detection signal, it does not cause the card reader to detect a change in the first detection signal. Therefore, within the preset time after the disturbance signal is transmitted, the NFC device does not receive the card reading request signal. In this case, the NFC device can detect the detection signal, and when the second detection signal is detected, the NFC device transmits the excitation signal after the second detection signal and the third detection signal.
[0086] like Figure 4 As shown, the excitation signal and the second detection signal are transmitted in a staggered manner and do not overlap, that is, the excitation signal does not affect the second detection signal that has been transmitted. After receiving the excitation signal, the card reader device may initially believe that the excitation signal is a signal transmitted by other card reader devices to stimulate the current card reader device to read the tag information from the current card reader device. In other words, in this case, the card reader device may believe that the excitation signal is used to indicate the presence of other card reader devices nearby, and the card reader device may be requested to be used as a virtual card. Based on this, the card reader device can further determine whether the excitation signal is used to indicate the presence of other card reader devices nearby or to indicate the presence of an NFC device nearby. When the card reader device determines that the excitation signal is used to indicate the presence of an NFC device nearby, it can exit the LPCD mode and transmit a card reading request signal. Since it takes a certain amount of time for the card reader device to determine that the excitation signal is used to indicate the presence of an NFC device nearby, if Figure 4 As shown, the card reading device may transmit a card reading request signal after transmitting the third detection signal.
[0087] It should be noted that one or more embodiments of this specification do not limit the specific parameters of the excitation signal. For example, the excitation signal may be a segment of an empty carrier signal. In this way, the card reader device may determine whether the excitation signal is used to indicate the presence of other card reader devices nearby or to indicate the presence of an NFC device nearby based on whether the excitation signal is an empty carrier signal.
[0088] It should also be noted that the second detection signal may be any detection signal after the first detection signal, and one or more embodiments of this specification do not limit this.
[0089] In this way, when the disturbance signal fails to successfully disturb the first detection signal, the card reader device can be further caused to exit the LPCD mode through an excitation signal, thereby improving the card reading success rate of the card reader device.
[0090] It can be understood that the above embodiments are only examples and can be modified in actual implementation. Those skilled in the art can understand that the modification methods of the above embodiments without creative labor fall within the protection scope of one or more embodiments of this specification and will not be repeated in the embodiments.
[0091] Based on the same inventive concept, one or more embodiments of the present specification further provide an NFC device. Since the principle of solving the problem by the NFC device is similar to that of the aforementioned NFC method, the implementation of the NFC device can refer to the implementation of the aforementioned NFC method, and the repeated parts will not be repeated.
[0092] See also Figure 5 , Figure 5 This is a structural block diagram of an NFC device provided in one or more embodiments of this specification. Figure 5 As shown, the NFC device 200 may include: a signal processing module 201 and a signal generating module 202. The signal processing module 201 is used to detect the detection signal emitted by the card reading device in the low-power card detection mode; The signal generating module 202 is used to generate and transmit a disturbance signal when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, so that the disturbance signal interferes and superimposes with the first detection signal to trigger the card reader device to exit the low-power card detection mode; the first detection signal is the detection signal that is detected earliest by the near-field communication device among the detection signals emitted by the card reader device in the low-power card detection mode.
[0093] In one possible implementation, the signal processing module 201 can also be used to detect the detection signal emitted by the card reader device in the low-power card detection mode when no card reading request signal is received within a preset time period after the disturbance signal is emitted; wherein the card reading request signal is a signal emitted by the card reader device in the standard card detection mode; the signal generation module 202 can also be used to generate and emit an excitation signal after the second detection signal when a second detection signal is detected, so as to trigger the card reader device to exit the low-power card detection mode.
[0094] like Figure 5As shown, the NFC device 200 may further include: a signal transceiver module 203 and an NFC chip 204. Among them, the signal processing module 201, the signal generation module 202 and the NFC chip 204 may all be connected to the signal transceiver module 203, and the signal generation module 202 may be connected between the signal processing module 201 and the signal transceiver module 203. The signal generation module 202 may be used to generate a disturbance signal and transmit the disturbance signal through the signal transceiver module 203. The NFC chip 204 may be used to perform data transmission with a card reader device.
[0095] The signal processing module 201 may be implemented by a combination of software and hardware or by pure hardware, and one or more embodiments of this specification do not limit this.
[0096] Combine the following Figure 6 and Figure 7 The signal processing module 201 implemented by combining software and hardware provided in one or more embodiments of this specification is exemplarily described.
[0097] For example, Figure 6 As shown, the signal processing module 201 may include an analog-to-digital converter (ADC) 2011 and a processor 2012. The signal transceiver module 203 may be connected to the ADC 2011 and the signal generation module 202 respectively, and the processor 2012 may be connected between the ADC 2011 and the signal generation module 202.
[0098] Among them, ADC2011 can be used to convert the electromagnetic field signal received by the signal transceiver module 203 into a digital signal, and output the digital signal to the processor.
[0099] Processor 2012 can be used to determine whether first characteristic information is detected based on the digital signal; the first characteristic information is characteristic information of a detection signal emitted by a card reader in a low-power card detection mode; when it is determined that the first characteristic information is detected, it is determined that a first detection signal is detected; based on the level of the first detection signal, a rising edge transition event is monitored; when a rising edge transition event is monitored, it is determined that the transmission state of the detected first detection signal meets the condition of an interference superposition signal.
[0100] The processor 2012 may be any device with signal processing capability. For example, the processor may be a microcontroller unit (MCU). After receiving the digital signal, the processor may process the digital signal by software.
[0101] In a possible implementation, the processor 2012 can also be used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal meets the conditions of the interference superposition signal, and control the signal generation module to generate a disturbance signal based on the target disturbance signal parameters.
[0102] In one possible implementation, the processor 2012 can be used to determine the first device model corresponding to the card reading device when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal; obtain configuration information of the disturbance signal, the configuration information including at least one second device model and disturbance signal parameters corresponding to each of the second device models; and determine the disturbance signal parameters corresponding to the first device model in the configuration information as the target disturbance signal parameters.
[0103] In one possible implementation, the target disturbance signal parameters may include a target amplitude, a target phase, a target duration, and a target frequency; wherein the target phase is opposite to the phase of the first detection signal, and the target frequency is the same as the frequency of the first detection signal.
[0104] The signal generation module 202 may be a hardware structure for generating a disturbance signal. For example, the signal generation module 202 may be an active crystal oscillator or an RC oscillation circuit, etc., which is not limited in one or more embodiments of the present specification. Specifically, after receiving a control command issued by the processor 2012, the signal generation module 202 may generate a disturbance signal based on the target disturbance signal parameter in the control command.
[0105] Please continue to see Figure 6 , the signal transceiver module 203 may include a first antenna 2031, wherein the ADC 2011, the signal generation module 202 and the NFC chip 204 may all be connected to the first antenna 2031. In this case, the first antenna 2031 may be time-division multiplexed. For example, before receiving the card reading request signal, the first antenna 2031 may be used for the ADC 2011 and the signal generation module 202 to transmit and receive signals. After receiving the card reading request signal, the first antenna 2031 may be used for the NFC chip 204 to transmit and receive signals.
[0106] like Figure 7 As shown, the signal transceiver module 203 may also include a first antenna 2031 and a second antenna 2032. The NFC chip 204 may be connected to the first antenna 2031, and the ADC 2011 and the signal generation module 202 may be connected to the second antenna 2032.
[0107] Combine the following Figure 8 The signal processing module 201 implemented in a pure hardware manner provided in one or more embodiments of this specification is exemplified.
[0108] like Figure 8 As shown, the signal processing module 201 may include a rising edge detection circuit 2013 and a controller 2014. The rising edge detection circuit 2013 and the signal generating module 202 may be connected to the signal transceiver module 203 respectively, and the controller 2014 may be connected between the rising edge detection circuit 2013 and the signal generating module 202.
[0109] In a possible implementation, any one or more of the rising edge detection circuit 2013, the controller 2014 and the signal generation module 202 may be integrated into the NFC chip 204; or, The rising edge detection circuit 2013, the controller 2014 and the signal generation module 202 may be independent of the NFC chip 204. Among them, the rising edge detection circuit 2013 can be used to determine whether the first characteristic information is detected; the first characteristic information is the characteristic information of the detection signal emitted by the card reading device in the low-power card detection mode; when it is determined that the first characteristic information is detected, it is determined that the first detection signal is detected; based on the level of the first detection signal, the rising edge jump event is monitored; when the rising edge jump event is monitored, it is determined that the transmission state of the detected first detection signal meets the condition of the interference superposition signal.
[0110] The controller 2014 can be used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal; and control the signal generation module to generate a disturbance signal based on the target disturbance signal parameters.
[0111] In one possible implementation, the controller 2014 can be used to determine the first device model corresponding to the card reading device when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal; obtain configuration information of the disturbance signal, the configuration information including at least one second device model and disturbance signal parameters corresponding to each of the second device models; and determine the disturbance signal parameters corresponding to the first device model in the configuration information as the target disturbance signal parameters.
[0112] In a possible implementation, the controller 2014 may configure the same target disturbance signal parameters for different card reading devices, which can reduce the complexity of the circuit design of the controller 2014.
[0113] It should be noted that the functional principles of the various components in the above NFC device 200 are the same as the implementation principles of the corresponding steps in the above near field communication method. For details, please refer to the description of the corresponding parts in the above method embodiment, which will not be repeated here.
[0114] It is worth noting that Figures 5 to 8 The components shown are exemplary, and other types of structures may be used to supplement or replace the structures to implement telecommunication functions or other functions. In addition, the NFC device 200 may also include Figures 5 to 8 For components not shown, reference may be made to the prior art.
[0115] In some optional implementations, the NFC device 200 may also include: a memory, a communication module, an input unit, an audio processor, a display, a power supply and other components.
[0116] The memory may be coupled to the signal processing module 201, and the memory may be one or more of a buffer, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The program for storing the above-mentioned information related to the execution of the near field communication method may be stored. The signal processing module 201 may execute the program stored in the memory to implement information storage or processing, etc.
[0117] The memory may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that stores information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory may also be some other type of device. The memory includes a buffer memory (sometimes referred to as a buffer). The memory may include an application / function storage unit for storing application programs and function programs or for performing a process for operating the NFC device 200 through the signal processing module 201.
[0118] The memory may also include a data storage unit for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the payment device. The driver storage unit of the memory may include various drivers for the communication function of the computer device and / or for executing other functions of the computer device (such as a messaging application, a contact book application, etc.).
[0119] The input unit can provide input to the signal processing module 201. The input unit is, for example, a key or a touch input device. The power supply can be used to provide power to the NFC device 200. The display can be used to display display objects such as images and text. The display can be, for example, an LCD display, but is not limited thereto.
[0120] The communication module is a transmitter / receiver that sends and receives signals via an antenna. The communication module (transmitter / receiver) is coupled to the signal processing module 201 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0121] Based on different communication technologies, multiple communication modules may be provided in the same computer device, such as a cellular network module, a Bluetooth module and / or a wireless local area network module, etc. The communication module (transmitter / receiver) is also coupled to a speaker and a microphone via an audio processor to provide an audio output via the speaker and receive an audio input from the microphone, thereby realizing a common telecommunication function. The audio processor may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor is also coupled to the signal processing module 201, so that recording can be performed on the machine through the microphone, and the sound stored on the machine can be played through the speaker.
[0122] One or more embodiments of the present specification also provide a computer-readable storage medium capable of implementing all the steps of the near field communication method in the above embodiments. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements all the steps of the near field communication method in the above embodiments.
[0123] Although one or more embodiments of this specification provide method operation steps such as embodiments or flowcharts, more or fewer operation steps may be included based on conventional or non-creative work. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or client product is executed, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).
[0124] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, devices or computer program products. Therefore, the embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0125] One or more embodiments of this specification are described with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to one or more embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0126] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0128] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0129] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. For those of ordinary skill in the art, the specific meaning of the above terms in one or more embodiments of this specification can be understood according to the specific circumstances.
[0130] It should be noted that, in the absence of conflict, one or more embodiments of this specification and the features in the embodiments may be combined with each other. One or more embodiments of this specification are not limited to any single aspect, nor to any single embodiment, nor to any combination and / or replacement of these aspects and / or embodiments. Moreover, each aspect and / or embodiment of one or more embodiments of this specification may be used alone or in combination with one or more other aspects and / or embodiments thereof.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of one or more embodiments of this specification, rather than to limit them. Although one or more embodiments of this specification are described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some or all of the technical features therein can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of one or more embodiments of this specification, and they should all be included in the scope of one or more embodiments of this specification.
[0132] One or more embodiments of this specification are described above in conjunction with optional implementation methods, but these implementation methods are only exemplary and serve only as an illustration. On this basis, multiple replacements and improvements can be made to one or more embodiments of this specification, all of which fall within the scope of protection of one or more embodiments of this specification.
Claims
1. A near field communication method, It is characterized in that Applied to a near field communication device, the method comprises: Detecting the detection signal emitted by the card reader in the low-power card detection mode; When it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal, a disturbance signal is emitted, so that the disturbance signal interferes and superimposes with the first detection signal, thereby triggering the card reader device to exit the low-power card detection mode; the first detection signal is the detection signal that is detected by the near-field communication device earliest among the detection signals emitted by the card reader device in the low-power card detection mode.
2. The method according to claim 1, It is characterized in that The detection signal emitted by the card reader in the low-power card detection mode includes: Determine whether first characteristic information is detected; the first characteristic information is characteristic information of a detection signal emitted by a card reader in a low-power card detection mode; In the case where it is determined that the first characteristic information is detected, determining that the first detection signal is detected; Based on the level of the first detection signal, monitoring a rising edge transition event; In the case where a rising edge transition event is monitored, it is determined that the transmission state of the first detection signal is detected to meet the condition of the interference superposition signal.
3. The method according to claim 1 or 2, It is characterized in that The method of transmitting a disturbance signal when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal comprises: Determining target disturbance signal parameters when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal; Based on the target disturbance signal parameter, generating a disturbance signal; The disturbance signal is transmitted.
4. The method according to claim 3, It is characterized in that The step of determining the target disturbance signal parameter when it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal comprises: When it is detected that the transmission state of the first detection signal satisfies the condition of the interference superposition signal, determining a first device model corresponding to the card reading device; Acquire configuration information of a disturbance signal, where the configuration information includes at least one second device model and disturbance signal parameters corresponding to each of the second device models; The disturbance signal parameter corresponding to the first device model in the configuration information is determined as the target disturbance signal parameter.
5. The method according to claim 3, It is characterized in that The target disturbance signal parameters include a target amplitude, a target phase, a target duration and a target frequency; wherein the target phase is opposite to the phase of the first detection signal, and the target frequency is the same as the frequency of the first detection signal.
6. The method according to claim 1, It is characterized in that The amplitude change between the interference signal after the interference and superposition of the disturbance signal and the first detection signal and the first detection signal is greater than the detection threshold of the card reader for the amplitude change; and / or, the phase change between the interference signal and the first detection signal is greater than the detection threshold of the card reader for the phase change.
7. The method according to claim 1, It is characterized in that The method further comprises: If no card reading request signal is received within a preset time after the disturbance signal is transmitted, detecting a detection signal transmitted by the card reading device in a low-power card detection mode; wherein the card reading request signal is a signal transmitted by the card reading device in a standard card detection mode; When the second detection signal is detected, an excitation signal is transmitted after the second detection signal transmission period to trigger the card reading device to exit the low-power card detection mode.
8. The method according to claim 7, It is characterized in that The method further comprises: Determine whether second characteristic information is detected within a preset time after the disturbance signal is emitted; the second characteristic information is characteristic information of a card reading request signal emitted by the card reading device in a standard card detection mode; When it is determined that the second characteristic information is not detected, it is determined that the card reading request signal is not received.
9. A near field communication device, It is characterized in that include: Signal processing module and signal generation module; The signal processing module is used to detect the detection signal emitted by the card reader in the low-power card detection mode; The signal generation module is used to generate and transmit a disturbance signal when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal, so that the disturbance signal interferes and superimposes with the first detection signal to trigger the card reader device to exit the low-power card detection mode; the first detection signal is the detection signal that is detected by the near-field communication device earliest among the detection signals emitted by the card reader device in the low-power card detection mode.
10. The near field communication device according to claim 9, It is characterized in that The signal processing module includes an analog-to-digital converter and a processor; The signal processing module is used to detect the detection signal emitted by the card reader in the low-power card detection mode; specifically: The analog-to-digital converter is used to convert the received electromagnetic field signal into a digital signal and output the digital signal to the processor; The processor is used to determine whether first characteristic information is detected based on the digital signal; the first characteristic information is characteristic information of a detection signal emitted by a card reader in a low-power card detection mode; In the case where it is determined that the first characteristic information is detected, determining that the first detection signal is detected; Based on the level of the first detection signal, monitoring a rising edge transition event; In the case where a rising edge transition event is monitored, it is determined that the transmission state of the first detection signal is detected to meet the condition of the interference superposition signal.
11. The near field communication device according to claim 10, It is characterized in that The processor is also used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal, and control the signal generation module to generate a disturbance signal based on the target disturbance signal parameters.
12. The near field communication device according to claim 11, It is characterized in that The processor is used to determine the target disturbance signal parameter when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal, specifically: The processor is used to determine the first device model corresponding to the card reading device when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal; obtain configuration information of the disturbance signal, the configuration information including at least one second device model and disturbance signal parameters corresponding to each of the second device models; and determine the disturbance signal parameters corresponding to the first device model in the configuration information as the target disturbance signal parameters.
13. The near field communication device according to claim 9, It is characterized in that The signal processing module includes a rising edge detection circuit; The signal processing module is used to detect the detection signal emitted by the card reader in the low-power card detection mode; specifically: The rising edge detection circuit is used to determine whether first characteristic information is detected; the first characteristic information is characteristic information of a detection signal emitted by a card reader in a low-power card detection mode; In the case where it is determined that the first characteristic information is detected, determining that the first detection signal is detected; Based on the level of the first detection signal, monitoring a rising edge transition event; In the case where a rising edge transition event is monitored, it is determined that the transmission state of the first detection signal is detected to meet the condition of the interference superposition signal.
14. The near field communication device according to claim 13, It is characterized in that The signal processing module also includes a controller; The controller is used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal; and control the signal generation module to generate a disturbance signal based on the target disturbance signal parameters.
15. The near field communication device according to claim 14, It is characterized in that The controller is used to determine the target disturbance signal parameters when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal, specifically: The controller is used to determine the first device model corresponding to the card reading device when it is detected that the transmission state of the first detection signal meets the condition of the interference superposition signal; obtain configuration information of the disturbance signal, the configuration information including at least one second device model and disturbance signal parameters corresponding to each of the second device models; and determine the disturbance signal parameters corresponding to the first device model in the configuration information as target disturbance signal parameters.
16. The near field communication device according to claim 10, It is characterized in that It also includes a signal transceiver module and a near field communication chip, wherein the signal transceiver module is used to transmit the disturbance signal, and the near field communication chip is used to perform data transmission with the card reading device; The signal transceiver module includes a first antenna and a second antenna; the near field communication chip is connected to the first antenna, the analog-to-digital converter and the signal generation module are respectively connected to the second antenna, and the processor is connected between the analog-to-digital converter and the signal generation module; or, The signal transceiver module includes a first antenna; the near field communication chip, the analog-to-digital converter and the signal generation module are respectively connected to the first antenna, and the processor is connected between the analog-to-digital converter and the signal generation module.
17. The near field communication device according to claim 14, It is characterized in that It also includes a signal transceiver module and a near field communication chip, wherein the signal transceiver module is used to transmit the disturbance signal, and the near field communication chip is used to perform data transmission with the card reading device; The rising edge detection circuit, the signal generation module and the near field communication chip are respectively connected to the signal transceiver module, and the controller is connected between the rising edge detection circuit and the signal generation module.
18. The near field communication device according to claim 17, It is characterized in that Any one or more of the rising edge detection circuit, the controller and the signal generation module are integrated into the near field communication chip; or, The rising edge detection circuit, the controller and the signal generation module are circuits independent of the near field communication chip.
19. The near field communication device according to claim 11 or 14, It is characterized in that The target disturbance signal parameters include a target amplitude, a target phase, a target duration and a target frequency; wherein the target phase is opposite to the phase of the first detection signal, and the target frequency is the same as the frequency of the first detection signal.
20. The near field communication device according to claim 9, It is characterized in that The signal processing module is further used to detect the detection signal emitted by the card reader device in the low-power card detection mode when no card reading request signal is received within a preset time after the disturbance signal is emitted; wherein the card reading request signal is a signal emitted by the card reader device in the standard card detection mode; The signal generating module is further used to generate and transmit an excitation signal after a transmission period of the second detection signal when a second detection signal is detected, so as to trigger the card reading device to exit the low-power card detection mode.
21. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, which, when executed, implement the method described in any one of claims 1 to 8.
Citation Information
Patent Citations
Near field communication method and device, computer readable storage medium and electronic device
CN111212412A
Card reader activation method and device, equipment and storage medium
CN115587605A
Communication device, chip and equipment
CN118133869A
Method, apparatus and computer program product for reducing power consumption
CN118354408A
Techniques to reduce power consumption in near field communication systems
US10425129B1
Cited By
Card detection method, storage medium and card equipment
CN120090665A
Near field communication method, device, equipment, medium and product
CN121436008A
A method, apparatus, device, medium and product of near field communication
CN121436008B
Card detection method, storage medium and card device
WO2026144387A1
