WO2024067752A1 - Card reader activation method and apparatus, and device and storage medium - Google Patents

Card reader activation method and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2024067752A1
WO2024067752A1 PCT/CN2023/122332 CN2023122332W WO2024067752A1 WO 2024067752 A1 WO2024067752 A1 WO 2024067752A1 CN 2023122332 W CN2023122332 W CN 2023122332W WO 2024067752 A1 WO2024067752 A1 WO 2024067752A1
Authority
WO
WIPO (PCT)
Prior art keywords
radio frequency
signal
card reader
sub
frequency sub
Prior art date
Application number
PCT/CN2023/122332
Other languages
French (fr)
Chinese (zh)
Inventor
李志光
蔡斌臣
Original Assignee
维沃移动通信有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024067752A1 publication Critical patent/WO2024067752A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10118Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step
    • G06K7/10128Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step the step consisting of detection of the presence of one or more record carriers in the vicinity of the interrogation device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10316Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves using at least one antenna particularly designed for interrogating the wireless record carriers
    • G06K7/10336Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves using at least one antenna particularly designed for interrogating the wireless record carriers the antenna being of the near field type, inductive coil

Definitions

  • the present application belongs to the field of wireless communication technology, and specifically relates to a card reader activation method, device, equipment and storage medium.
  • NFC Near Field Communication
  • NFC Near Field Communication
  • the activation method of the card reader based on NFC technology is mainly that the card reader periodically emits radio frequency signals in the LPCD (Low power card detection) state, and determines whether there is an NFC card approaching by the change of the oscillating voltage formed by the radio frequency signal on the NFC coil antenna. If there is an NFC card approaching, the LPCD state is exited and the activation state is entered, so as to further perform card reading and other operations.
  • LPCD Low power card detection
  • the purpose of the embodiments of the present application is to provide a card reader activation method, device, equipment and storage medium, which can solve the problem that the card reader is difficult to be successfully activated and the card detection sensitivity is low.
  • an embodiment of the present application provides a card reader activation method, the method comprising:
  • the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state
  • the second radio frequency signal is transmitted, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
  • an embodiment of the present application provides a card reader activation device, the device comprising:
  • a signal detection module used to detect whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
  • a signal generating module configured to generate a second radio frequency signal upon receiving the first radio frequency signal
  • the signal transmitting module is used to transmit the second radio frequency signal, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
  • an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
  • an embodiment of the present application provides a computer program product, which is stored in a non-volatile storage medium and is executed by at least one processor to implement the method described in the first aspect.
  • the active electronic device in which the card is located generates a second radio frequency signal when receiving the first radio frequency signal transmitted by the card reader in the LPCD state, and Actively transmit the second RF signal.
  • the card reader since the embodiment of the present application uses the second RF signal to actively change the oscillation voltage corresponding to the first RF signal, the card reader can promptly exit the current LPCD state and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
  • FIG1 is a schematic diagram of an architecture applicable to a card reader activation method provided in an embodiment of the present application
  • FIG2 is a flow chart of a card reader activation method provided by an embodiment of the present application.
  • FIG3 is a structural block diagram of a card reader activation device provided by one embodiment of the present application.
  • FIG4 is a structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG5 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • first, second, etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
  • FIG. 1 is a schematic diagram of an architecture applicable to a card reader activation method provided in an embodiment of the present application.
  • the architecture may include an electronic device 10 and a card reader 11.
  • the electronic device 10 may include an active device with an NFC module, such as a mobile phone, a tablet, a wearable device, etc.
  • the card reader 11 may include a card reader device with an NFC module, such as a smart door lock, a car door lock, a mobile phone, etc.
  • an NFC electronic card may be added to the electronic device 10, and the user may activate the card reader 11 by placing the electronic device 10 close to the card reader 11, and read the NFC electronic card when the card reader 11 is activated.
  • the corresponding card reading operation can be performed when the NFC card (including physical card or electronic card) is detected by using the LPCD technology.
  • the working principle of the LPCD technology mainly includes: when the card reader is in the LPCD state, a short radio frequency pulse signal is periodically sent to the outside, and the change of the oscillation voltage formed by the radio frequency pulse signal on the NFC coil antenna is detected to determine whether there is a metal equivalent approaching (such as an NFC card with a metal coil, metal, human hand, etc.). If a metal equivalent is found to be approaching, the LPCD state is exited, and a complete ordinary card inspection command is sent to determine whether there is a card response command.
  • a metal equivalent approaching such as an NFC card with a metal coil, metal, human hand, etc.
  • the card reader cannot detect the approach of a card or electronic device, which makes it difficult to successfully activate the card reader and has low card detection sensitivity.
  • the embodiment of the present application utilizes the active transmission technology capability of the electronic device where the card is located.
  • a first radio frequency signal emitted by a card reader in the LPCD state is detected
  • a second radio frequency signal is actively transmitted to the card reader to increase the change amplitude of the oscillation voltage corresponding to the first radio frequency signal, so that the card reader can quickly sense the card in the electronic device, thereby exiting the LPCD state in time, reducing the difficulty of activating the card reader and improving the card detection sensitivity.
  • the card reader activation method provided in this application can be applied to NFC card swiping scenarios.
  • the card reader activation method provided in the embodiment of the present application is described in detail in conjunction with FIG2. It should be noted that the card reader activation method provided in the embodiment of the present application can be executed by a card reader activation device. In the embodiment of the present application, the card reader activation method provided in the embodiment of the present application is described by taking the card reader activation device executing the card reader activation method as an example.
  • FIG. 2 is a flow chart of a card reader activation method provided in an embodiment of the present application.
  • the card reader activation method may include steps: S210 - S230 , which are described in detail below.
  • the first radio frequency signal may be a radio frequency signal emitted by a card reader close to the electronic device, and the radio frequency signal may be a pulse signal with a frequency of 13.56 MHz, for example.
  • the working state of the card reader before being activated may be an LPCD state.
  • the card reader before the card reader detects a metal equivalent, that is, before it is activated, it may be in an LPCD state, in which the card reader may periodically send out an LPCD pulse signal, that is, a first radio frequency signal.
  • the mobile phone may be in a monitoring mode, which may be a passive mode. If the surrounding radio frequency field environment changes, it may cause changes in the voltage and other states in the circuits related to the radio frequency device in the mobile phone, thereby triggering communication.
  • the mobile phone when the mobile phone is not close to the card reader, the mobile phone generally does not consume additional power.
  • the mobile phone can detect whether a 13.56 MHz pulse signal transmitted by the card reader is received by detecting changes in voltage and other states in circuits related to the radio frequency device.
  • S220 Generate a second radio frequency signal when the first radio frequency signal is received.
  • the second RF signal generated by the electronic device may be a signal having the same carrier frequency but a different phase as the first RF signal, or a signal having the same carrier frequency and phase as the first RF signal, which is not limited here.
  • the second RF signal may also be a pulse signal with a frequency of 13.56 MHz, for example.
  • the mobile phone when the mobile phone receives a first RF signal sent by the card reader, the mobile phone can actively modulate and generate a second RF signal with the same carrier frequency as the first RF signal but with a different phase.
  • the first RF signal is a RF pulse of 13.56 MHz and a phase of 0°
  • the second radio frequency signal may be a radio frequency pulse signal of 13.56 MHz and a phase of 90°.
  • the second RF signal is used to change the oscillation voltage corresponding to the first RF signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
  • the RF antenna-related circuit can be used to transmit the second RF signal, so as to change the oscillation voltage corresponding to the first RF signal through the second RF signal, so that the oscillation voltage sensed by the NFC coil of the card reader can undergo a drastic change, thereby prompting the card reader to exit the LPCD state and enter the activated state to perform normal identification and reading operations.
  • the first RF signal will undergo a drastic change in amplitude due to the influence of the second RF signal.
  • the oscillation voltage of its internal NFC coil will also change drastically, causing it to exit the LPCD state in time after sensing that the oscillation voltage change value reaches a preset change threshold, and then continue normal card reading operations.
  • the embodiment of the present application utilizes the second RF signal to actively change the oscillation voltage corresponding to the first RF signal, so that the card reader can exit the current LPCD state in time and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
  • the second radio frequency signal may include multiple radio frequency sub-signals, and different radio frequency sub-signals may correspond to different phases.
  • the above S230 may specifically include:
  • a plurality of radio frequency sub-signals are transmitted in sequence in different time periods, wherein one radio frequency sub-signal is transmitted in one time period.
  • a plurality of RF sub-signals with different phases can be generated when the second RF signal is generated.
  • the plurality of radio frequency sub-signals may have the same carrier frequency but different phases.
  • the electronic device may transmit the multiple radio frequency sub-signals in sequence in a cycle, and each radio frequency sub-signal transmits a signal of a preset duration according to its own phase.
  • the degree of influence on the amplitude of the first RF signal is also different.
  • the degree of change in the oscillation voltage of the RF signal finally perceived by the card reader will also be more drastic, thereby making it easier to trigger the card reader to exit the LPCD state, further reducing the difficulty of activating the card reader and improving the card detection sensitivity.
  • the number of the above-mentioned radio frequency sub-signals may specifically be two.
  • the above-mentioned multiple radio frequency sub-signals may include a first radio frequency sub-signal and a second radio frequency sub-signal, and the phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is greater than a preset threshold.
  • the above-mentioned step of sequentially transmitting a plurality of radio frequency sub-signals in different time periods may specifically include:
  • the first radio frequency sub-signal and the second radio frequency sub-signal are transmitted alternately.
  • the preset threshold can be set according to actual needs, such as 90°.
  • the phase difference between the first RF sub-signal and the second RF sub-signal can also be a preset fixed difference.
  • the phase difference between the first RF sub-signal and the second RF sub-signal can be 180°.
  • the purpose of setting the phase difference to 180° is to modulate two RF sub-signals with the largest difference in signal amplitude. In this way, when the two RF sub-signals act alternately on the first RF signal in turn, the amplitude change of the first RF signal can be maximized, so that the card reader can sense the drastic change in the oscillation voltage, thereby exiting the LPCD state in time.
  • the mobile phone may transmit the two radio frequency sub-signals alternately according to a preset period.
  • the above S220 may specifically include:
  • a first radio frequency sub-signal having a first phase and a second radio frequency sub-signal having a second phase are generated.
  • the first RF sub-signal may be a RF sub-signal having the same phase as the first RF signal
  • the second RF sub-signal may be a RF sub-signal having a phase difference with the first RF signal greater than a preset threshold.
  • the electronic device can generate a first RF sub-signal with a phase of 0° and a second RF sub-signal with a phase of 180° through modulation, and alternately transmit the two RF sub-signals to the outside.
  • RF signals with two amplitudes can be generated, and the difference between the two amplitudes is large.
  • the NFC coil of the card reader can sense the two RF signals with large amplitude differences in space, that is, sense the drastic changes in the oscillation voltage.
  • the card reader After the change value reaches the preset change threshold, the card reader will exit the LPCD state, enter the activation state, and perform the corresponding card reading operation.
  • the degree of change in the oscillating voltage sensed by the card reader can be made greater, thereby making it easier to activate the card reader and improving the card detection sensitivity of the card reader.
  • the present application also provides a card reader activation device.
  • the card reader activation device provided in the embodiment of the present application is described in detail below in conjunction with FIG.
  • Fig. 3 is a structural block diagram of a card reader activation device according to an exemplary embodiment.
  • the card reader activation device 300 may include:
  • the signal detection module 301 is used to detect whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
  • the signal transmitting module 303 is used to transmit the second radio frequency signal, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
  • the card reader activation device 300 is described in detail below, as shown below:
  • the second radio frequency signal includes a plurality of radio frequency sub-signals, and different radio frequency sub-signals correspond to different phases;
  • the signal transmission module 303 includes:
  • the sub-signal transmitting submodule is used to transmit the multiple radio frequency sub-signals in sequence in different time periods, wherein one radio frequency sub-signal is correspondingly transmitted in one time period.
  • the plurality of radio frequency sub-signals include a first radio frequency sub-signal and a second radio frequency sub-signal, and a phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is greater than a preset threshold;
  • the sub-signal transmitting sub-module comprises:
  • the alternating transmitting unit is used to alternately transmit the first radio frequency sub-signal and the second radio frequency sub-signal.
  • the phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is 180°.
  • the signal generating module 302 includes:
  • a phase acquisition submodule used to acquire a first phase corresponding to the first radio frequency signal
  • phase determination submodule configured to determine, based on the first phase, a second phase whose phase difference with the first phase is greater than the preset threshold
  • the sub-signal generating sub-module is configured to generate the first radio frequency sub-signal having the first phase and the second radio frequency sub-signal having the second phase.
  • the embodiment of the present application utilizes the second RF signal to actively change the first
  • the oscillation voltage corresponding to the radio frequency signal enables the card reader to exit the current LPCD state in time and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
  • the card reader activation device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal or other devices other than a terminal.
  • the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
  • NAS Network Attached Storage
  • PC personal computer
  • TV television
  • teller machine a self-service machine
  • the card reader activation device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the card reader activation device provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 2 , and will not be described again here to avoid repetition.
  • an embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, wherein the memory 402 stores programs or instructions that can be executed on the processor 401, and when the program or instructions are executed by the processor 401, the various steps of the above-mentioned card reader activation method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG5 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio Components include an output unit 503 , an input unit 504 , a sensor 505 , a display unit 506 , a user input unit 507 , an interface unit 508 , a memory 509 , and a processor 510 .
  • the electronic device 500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 510 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
  • a power source such as a battery
  • the electronic device structure shown in FIG5 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
  • the radio frequency unit 501 is used to detect whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
  • the processor 510 is configured to generate a second radio frequency signal when the first radio frequency signal is received;
  • the RF unit 501 is used to transmit the second RF signal, which is used to change the oscillation voltage corresponding to the first RF signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
  • the embodiment of the present application utilizes the second RF signal to actively change the oscillation voltage corresponding to the first RF signal, so that the card reader can exit the current LPCD state in time and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
  • the radio frequency unit 501 is further configured to transmit the multiple radio frequency sub-signals in sequence in different time periods, wherein one radio frequency sub-signal is transmitted in one time period.
  • the radio frequency unit 501 is further configured to alternately transmit the first radio frequency sub-signal and the second radio frequency sub-signal.
  • the processor 510 is further configured to obtain a first phase corresponding to the first radio frequency signal
  • the processor 510 is further configured to determine, based on the first phase, a second phase whose phase difference with the first phase is greater than the preset threshold;
  • the processor 510 is further configured to generate the first radio frequency sub-signal having the first phase and the second radio frequency sub-signal having the second phase.
  • the degree of change in the oscillating voltage sensed by the card reader can be made greater, thereby making it easier to activate the card reader and improving the card detection sensitivity of the card reader.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode.
  • the display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072.
  • the touch panel 5071 is also called a touch screen.
  • the touch panel 5071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the memory 509 can be used to store software programs and various data.
  • the memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (DRAM), or a volatile random access memory (VRAM).
  • the memory 509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 510.
  • An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the program or instruction is executed by a processor, each process of the above-mentioned card reader activation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned card reader activation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned card reader activation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, a disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

The present application belongs to the technical field of wireless communications. Disclosed are a card reader activation method and apparatus, and a device and a storage medium. The card reader activation method comprises: detecting whether a first radio-frequency signal has been received, wherein the first radio-frequency signal is a radio-frequency signal transmitted by a card reader in a low-power card detection (LPCD) state; if the first radio-frequency signal has been received, generating a second radio-frequency signal; and transmitting the second radio-frequency signal, wherein the second radio-frequency signal is used for changing an oscillation voltage corresponding to the first radio-frequency signal, such that when it is detected by the card reader that the change value of the oscillation voltage is greater than a preset change threshold, the card reader exits the LPCD state and enters an activated state.

Description

读卡器激活方法、装置、设备和存储介质Card reader activation method, device, equipment and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求享有于2022年9月28日提交的名称为“读卡器激活方法、装置、设备和存储介质”的中国专利申请202211189972.0的优先权,该申请的全部内容通过引用并入本文中。This application claims priority to Chinese patent application No. 202211189972.0, filed on September 28, 2022, entitled “Card Reader Activation Method, Device, Equipment and Storage Medium”, the entire contents of which are incorporated herein by reference.
技术领域Technical Field
本申请属于无线通信技术领域,具体涉及一种读卡器激活方法、装置、设备和存储介质。The present application belongs to the field of wireless communication technology, and specifically relates to a card reader activation method, device, equipment and storage medium.
背景技术Background technique
NFC(Near Field Communication,近距离无线通信)作为一种常用的近场通信技术,被广泛应用于门禁卡、交通卡、考勤记录卡、消费卡、身份证等多种场景。NFC (Near Field Communication) is a commonly used near-field communication technology and is widely used in access cards, transportation cards, attendance record cards, consumption cards, ID cards and other scenarios.
目前,基于NFC技术的读卡器的激活方式主要是,由读卡器在LPCD(Low power card detection,低功耗检卡)状态下周期性地向外发射射频信号,通过射频信号在NFC线圈天线上所形成的振荡电压的变化来判断是否有NFC卡片靠近,如果有NFC卡片靠近,则退出LPCD状态,进入激活状态,从而进一步进行读卡处理等操作。At present, the activation method of the card reader based on NFC technology is mainly that the card reader periodically emits radio frequency signals in the LPCD (Low power card detection) state, and determines whether there is an NFC card approaching by the change of the oscillating voltage formed by the radio frequency signal on the NFC coil antenna. If there is an NFC card approaching, the LPCD state is exited and the activation state is entered, so as to further perform card reading and other operations.
这样,在刷卡距离较远、刷卡角度偏移量过大、刷卡移动速度过慢等情况下,会导致读卡器难以被成功激活、检卡灵敏度较低等问题。In this way, when the card is swiped at a long distance, the card swiping angle is too large, the card swiping speed is too slow, etc., the card reader will be difficult to be successfully activated and the card detection sensitivity will be low.
发明内容Summary of the invention
本申请实施例的目的是提供一种读卡器激活方法、装置、设备和存储介质,能够解决读卡器难以被成功激活、检卡灵敏度较低的问题。The purpose of the embodiments of the present application is to provide a card reader activation method, device, equipment and storage medium, which can solve the problem that the card reader is difficult to be successfully activated and the card detection sensitivity is low.
第一方面,本申请实施例提供了一种读卡器激活方法,该方法包括: In a first aspect, an embodiment of the present application provides a card reader activation method, the method comprising:
检测是否接收到第一射频信号,所述第一射频信号为读卡器在低功耗检卡LPCD状态下发射的射频信号;Detecting whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
在接收到所述第一射频信号的情况下,生成第二射频信号;generating a second radio frequency signal upon receiving the first radio frequency signal;
发射所述第二射频信号,所述第二射频信号用于改变所述第一射频信号对应的振荡电压,以使所述读卡器在检测到所述振荡电压的变化值大于预设变化阈值的情况下,退出所述LPCD状态,并进入激活状态。The second radio frequency signal is transmitted, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
第二方面,本申请实施例提供了一种读卡器激活装置,该装置包括:In a second aspect, an embodiment of the present application provides a card reader activation device, the device comprising:
信号检测模块,用于检测是否接收到第一射频信号,所述第一射频信号为读卡器在低功耗检卡LPCD状态下发射的射频信号;A signal detection module, used to detect whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
信号生成模块,用于在接收到所述第一射频信号的情况下,生成第二射频信号;a signal generating module, configured to generate a second radio frequency signal upon receiving the first radio frequency signal;
信号发射模块,用于发射所述第二射频信号,所述第二射频信号用于改变所述第一射频信号对应的振荡电压,以使所述读卡器在检测到所述振荡电压的变化值大于预设变化阈值的情况下,退出所述LPCD状态,并进入激活状态。The signal transmitting module is used to transmit the second radio frequency signal, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在非瞬态存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a non-volatile storage medium and is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,通过利用卡片所在的有源电子设备在接收到读卡器在LPCD状态下发射的第一射频信号的情况下,生成第二射频信号,并 主动发射该第二射频信号,这样,由于本申请实施例利用该第二射频信号主动改变第一射频信号对应的振荡电压,使得读卡器在检测到该振荡电压的变化值大于预设变化阈值的情况下可以及时退出当前所处的LPCD状态,并进入激活状态,从而可以远距离、大角度、任意靠近速度激活处于LPCD状态的读卡器。因此,可以降低读卡器的激活难度,提高检卡灵敏度。In the embodiment of the present application, the active electronic device in which the card is located generates a second radio frequency signal when receiving the first radio frequency signal transmitted by the card reader in the LPCD state, and Actively transmit the second RF signal. In this way, since the embodiment of the present application uses the second RF signal to actively change the oscillation voltage corresponding to the first RF signal, the card reader can promptly exit the current LPCD state and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的读卡器激活方法所适用的架构示意图;FIG1 is a schematic diagram of an architecture applicable to a card reader activation method provided in an embodiment of the present application;
图2是本申请一个实施例提供的读卡器激活方法的流程图;FIG2 is a flow chart of a card reader activation method provided by an embodiment of the present application;
图3是本申请一个实施例提供的读卡器激活装置的结构框图;FIG3 is a structural block diagram of a card reader activation device provided by one embodiment of the present application;
图4是本申请一个实施例提供的电子设备的结构框图;FIG4 is a structural block diagram of an electronic device provided by an embodiment of the present application;
图5为实现本申请实施例的一种电子设备的硬件结构示意图。FIG5 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的读卡器激活方法进行详细地说明。The card reader activation method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
下面首先介绍本申请实施例中的读卡器激活方法所适用的架构。 The following first introduces the architecture applicable to the card reader activation method in the embodiment of the present application.
图1是本申请实施例提供的读卡器激活方法所适用的架构示意图。FIG. 1 is a schematic diagram of an architecture applicable to a card reader activation method provided in an embodiment of the present application.
如图1所示,该架构可以包括电子设备10和读卡器11。其中,电子设备10可以包括手机、平板、可穿戴设备等具有NFC模块的有源设备。读卡器11可以包括智能门锁、汽车门锁、手机等具有NFC模块的读卡设备。As shown in FIG1 , the architecture may include an electronic device 10 and a card reader 11. The electronic device 10 may include an active device with an NFC module, such as a mobile phone, a tablet, a wearable device, etc. The card reader 11 may include a card reader device with an NFC module, such as a smart door lock, a car door lock, a mobile phone, etc.
基于上述架构,电子设备10中可添加有NFC电子卡片,用户可通过将电子设备10靠近读卡器11以激活读卡器11,以及在读卡器11处于激活的状态下实现对NFC电子卡片的读取过程。Based on the above architecture, an NFC electronic card may be added to the electronic device 10, and the user may activate the card reader 11 by placing the electronic device 10 close to the card reader 11, and read the NFC electronic card when the card reader 11 is activated.
目前,为了降低读卡器的功耗,可在利用LPCD技术检测到NFC卡片(包括实体卡或电子卡)的情况下,再执行相应的读卡操作。其中,LPCD技术的工作原理主要包括:在读卡器处于LPCD状态的情况下,周期性地对外发送短的射频脉冲信号,通过检测射频脉冲信号在NFC线圈天线上所形成的振荡电压的变化来判断是否有金属等效物靠近(如带金属线圈的NFC卡片,金属,人手等)。如果发现有金属等效物靠近,则退出LPCD状态,并发送完整的普通检卡命令,判断是否有卡片响应命令,若有,则继续通信,并执行读卡操作;若无响应,则回到LPCD状态。需要说明的是,如果没有金属等效物靠近,则读卡器长期处于LPCD状态,使得读卡器整体功耗极低。At present, in order to reduce the power consumption of the card reader, the corresponding card reading operation can be performed when the NFC card (including physical card or electronic card) is detected by using the LPCD technology. Among them, the working principle of the LPCD technology mainly includes: when the card reader is in the LPCD state, a short radio frequency pulse signal is periodically sent to the outside, and the change of the oscillation voltage formed by the radio frequency pulse signal on the NFC coil antenna is detected to determine whether there is a metal equivalent approaching (such as an NFC card with a metal coil, metal, human hand, etc.). If a metal equivalent is found to be approaching, the LPCD state is exited, and a complete ordinary card inspection command is sent to determine whether there is a card response command. If so, communication continues and the card reading operation is performed; if there is no response, it returns to the LPCD state. It should be noted that if there is no metal equivalent approaching, the card reader is in the LPCD state for a long time, making the overall power consumption of the card reader extremely low.
基于此,针对现有已启动LPCD低功耗模式的读卡器,在刷卡距离较远、刷卡角度偏移量过大、刷卡移动速度过慢等情况下,会使得读卡器天线的振荡电压变化非常小,无法触发读卡器退出LPCD低功耗模式,也即读卡器无法检测到有卡片或电子设备靠近,从而导致读卡器难以被成功激活、检卡灵敏度较低的问题。Based on this, for existing card readers that have activated the LPCD low-power mode, when the card is swiped at a long distance, the card swiping angle offset is too large, or the card swiping speed is too slow, the oscillation voltage of the card reader antenna will change very little, and the card reader will not be triggered to exit the LPCD low-power mode. In other words, the card reader cannot detect the approach of a card or electronic device, which makes it difficult to successfully activate the card reader and has low card detection sensitivity.
为了解决上述技术问题,本申请实施例通过利用卡片所在的电子设备的有源发射技术能力,在检测到处于LPCD状态的读卡器发射的第一射频信号时,通过主动向读卡器发射第二射频信号,增大第一射频信号对应振荡电压的变化幅度,使得读卡器可以迅速感知到该电子设备中的卡片,从而及时退出LPCD状态,降低读卡器的激活难度,提高检卡灵敏度。In order to solve the above technical problems, the embodiment of the present application utilizes the active transmission technology capability of the electronic device where the card is located. When a first radio frequency signal emitted by a card reader in the LPCD state is detected, a second radio frequency signal is actively transmitted to the card reader to increase the change amplitude of the oscillation voltage corresponding to the first radio frequency signal, so that the card reader can quickly sense the card in the electronic device, thereby exiting the LPCD state in time, reducing the difficulty of activating the card reader and improving the card detection sensitivity.
本申请所提供的读卡器激活方法,可以应用于NFC刷卡场景中,下面 结合图2对本申请实施例提供的读卡器激活方法进行详细说明。需要说明的是,本申请实施例提供的读卡器激活方法,执行主体可以为读卡器激活装置。本申请实施例中以读卡器激活装置执行读卡器激活方法为例,说明本申请实施例提供的读卡器激活方法。The card reader activation method provided in this application can be applied to NFC card swiping scenarios. The card reader activation method provided in the embodiment of the present application is described in detail in conjunction with FIG2. It should be noted that the card reader activation method provided in the embodiment of the present application can be executed by a card reader activation device. In the embodiment of the present application, the card reader activation method provided in the embodiment of the present application is described by taking the card reader activation device executing the card reader activation method as an example.
图2是本申请实施例提供的读卡器激活方法的流程图。FIG. 2 is a flow chart of a card reader activation method provided in an embodiment of the present application.
如图2所示,该读卡器激活方法可以包括步骤:S210-S230,下面进行具体说明。As shown in FIG. 2 , the card reader activation method may include steps: S210 - S230 , which are described in detail below.
S210,检测是否接收到第一射频信号,第一射频信号为读卡器在低功耗检卡LPCD状态下发射的射频信号。S210, detecting whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state.
本申请实施例中,第一射频信号可以是电子设备靠近的读卡器所发射的射频信号,该射频信号例如可以是频率为13.56MHz的脉冲信号。其中,读卡器在未被激活之前所处的工作状态可以是LPCD状态。In the embodiment of the present application, the first radio frequency signal may be a radio frequency signal emitted by a card reader close to the electronic device, and the radio frequency signal may be a pulse signal with a frequency of 13.56 MHz, for example. The working state of the card reader before being activated may be an LPCD state.
示例性地,读卡器在未检测到金属等效物之前,也即未被激活之前,可处于LPCD状态,在该状态下,读卡器可周期性地向外发送LPCD脉冲信号,也即第一射频信号。另外,以电子设备为设置有电子卡片的手机为例,在触发与读卡器之间的通讯之前,手机可处于监听模式,该监听模式可以是被动模式。若周围射频场环境发生变化,则可引起手机中射频器件相关电路中电压等状态的变化,从而触发通讯。这里,在手机没有靠近读卡器的情况下,手机一般没有额外的功耗。Exemplarily, before the card reader detects a metal equivalent, that is, before it is activated, it may be in an LPCD state, in which the card reader may periodically send out an LPCD pulse signal, that is, a first radio frequency signal. In addition, taking the electronic device as a mobile phone equipped with an electronic card as an example, before triggering communication with the card reader, the mobile phone may be in a monitoring mode, which may be a passive mode. If the surrounding radio frequency field environment changes, it may cause changes in the voltage and other states in the circuits related to the radio frequency device in the mobile phone, thereby triggering communication. Here, when the mobile phone is not close to the card reader, the mobile phone generally does not consume additional power.
在一些具体示例中,手机可通过检测射频器件相关电路中电压等状态的变化,来检测是否接收到读卡器发射的13.56MHz的脉冲信号。In some specific examples, the mobile phone can detect whether a 13.56 MHz pulse signal transmitted by the card reader is received by detecting changes in voltage and other states in circuits related to the radio frequency device.
S220,在接收到第一射频信号的情况下,生成第二射频信号。S220: Generate a second radio frequency signal when the first radio frequency signal is received.
这里,电子设备生成的第二射频信号可以是与第一射频信号的载波频率相同但相位不同的信号,其也可以是与第一射频信号的载波频率和相位均相同的信号,在此不作限定。该第二射频信号例如也可以是频率为13.56MHz的脉冲信号。Here, the second RF signal generated by the electronic device may be a signal having the same carrier frequency but a different phase as the first RF signal, or a signal having the same carrier frequency and phase as the first RF signal, which is not limited here. The second RF signal may also be a pulse signal with a frequency of 13.56 MHz, for example.
在一些具体示例中,当手机接收到读卡器发送的第一射频信号的情况下,手机可主动调制生成与第一射频信号具有相同载波频率但相位不同的第二射频信号,例如当第一射频信号为13.56MHz且相位为0°的射频脉冲 信号时,手机生成的第二射频信号可以为13.56MHz且相位为90°的射频脉冲信号。In some specific examples, when the mobile phone receives a first RF signal sent by the card reader, the mobile phone can actively modulate and generate a second RF signal with the same carrier frequency as the first RF signal but with a different phase. For example, when the first RF signal is a RF pulse of 13.56 MHz and a phase of 0° When the mobile phone generates a second radio frequency signal, the second radio frequency signal may be a radio frequency pulse signal of 13.56 MHz and a phase of 90°.
S230,发射第二射频信号,第二射频信号用于改变第一射频信号对应的振荡电压,以使读卡器在检测到振荡电压的变化值大于预设变化阈值的情况下,退出LPCD状态,并进入激活状态。S230, transmitting a second RF signal, the second RF signal is used to change the oscillation voltage corresponding to the first RF signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
本申请实施例中,当电子设备生成第二射频信号后,可利用射频天线相关电路,发射该第二射频信号,以通过该第二射频信号改变第一射频信号对应的振荡电压,使得读卡器NFC线圈感知到的振荡电压能够产生剧烈变化,从而促使读卡器退出LPCD状态,并进入激活状态,执行正常的识别和读取操作。In an embodiment of the present application, after the electronic device generates a second RF signal, the RF antenna-related circuit can be used to transmit the second RF signal, so as to change the oscillation voltage corresponding to the first RF signal through the second RF signal, so that the oscillation voltage sensed by the NFC coil of the card reader can undergo a drastic change, thereby prompting the card reader to exit the LPCD state and enter the activated state to perform normal identification and reading operations.
示例性地,在电子设备发射第二射频信号后,第一射频信号会因为受到第二射频信号的影响而使得振幅产生剧烈变化,读卡器在接收到剧烈变化的射频信号后,其内部NFC线圈的振荡电话也会因此而发生剧烈变化,使得其在感知到振荡电压变化值达到预设变化阈值后及时退出LPCD状态,再继续进行正常的读卡操作。For example, after the electronic device transmits the second RF signal, the first RF signal will undergo a drastic change in amplitude due to the influence of the second RF signal. After the card reader receives the drastically changing RF signal, the oscillation voltage of its internal NFC coil will also change drastically, causing it to exit the LPCD state in time after sensing that the oscillation voltage change value reaches a preset change threshold, and then continue normal card reading operations.
由此,通过利用卡片所在的有源电子设备在接收到读卡器在LPCD状态下发射的第一射频信号的情况下,生成第二射频信号,并主动发射该第二射频信号,这样,由于本申请实施例利用该第二射频信号主动改变第一射频信号对应的振荡电压,使得读卡器在检测到该振荡电压的变化值大于预设变化阈值的情况下可以及时退出当前所处的LPCD状态,并进入激活状态,从而可以远距离、大角度、任意靠近速度激活处于LPCD状态的读卡器。因此,可以降低读卡器的激活难度,提高检卡灵敏度。Thus, by utilizing the active electronic device in which the card is located to generate a second RF signal and actively transmit the second RF signal when receiving the first RF signal transmitted by the card reader in the LPCD state, the embodiment of the present application utilizes the second RF signal to actively change the oscillation voltage corresponding to the first RF signal, so that the card reader can exit the current LPCD state in time and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
另外,在一种可选的实施方式中,上述第二射频信号中可以包括多个射频子信号,不同射频子信号对应的相位不同。In addition, in an optional implementation manner, the second radio frequency signal may include multiple radio frequency sub-signals, and different radio frequency sub-signals may correspond to different phases.
基于此,上述S230具体可以包括:Based on this, the above S230 may specifically include:
分别在不同时间段内依次发射多个射频子信号,其中,一个时间段内对应发射一个射频子信号。A plurality of radio frequency sub-signals are transmitted in sequence in different time periods, wherein one radio frequency sub-signal is transmitted in one time period.
这里,为了使读卡器感知到的振荡电压的变化程度更大,可以在生成第二射频信号时,生成多个相位不同的射频子信号,将该多个射频子信号 串联形成第二射频信号。其中,该多个射频子信号之间的载波频率可以相同,但相位不同。Here, in order to make the oscillation voltage sensed by the card reader change more, a plurality of RF sub-signals with different phases can be generated when the second RF signal is generated. The plurality of radio frequency sub-signals may have the same carrier frequency but different phases.
示例性地,电子设备可循环依次发射该多个射频子信号,每个射频子信号按照各自的相位,对应发射预设时长的信号。Exemplarily, the electronic device may transmit the multiple radio frequency sub-signals in sequence in a cycle, and each radio frequency sub-signal transmits a signal of a preset duration according to its own phase.
这样,由于多个射频子信号中每个射频子信号分别对应的相位不同,因此,对第一射频信号振幅的影响程度也不相同,如此,可以使读卡器最终感知到的射频信号的振荡电压的变化程度也会更加剧烈,从而更容易触发读卡器退出LPCD状态,进一步降低读卡器的激活难度,提升检卡灵敏度。In this way, since the phase corresponding to each of the multiple RF sub-signals is different, the degree of influence on the amplitude of the first RF signal is also different. In this way, the degree of change in the oscillation voltage of the RF signal finally perceived by the card reader will also be more drastic, thereby making it easier to trigger the card reader to exit the LPCD state, further reducing the difficulty of activating the card reader and improving the card detection sensitivity.
基于此,在一些实施方式中,上述射频子信号的数量具体可以是两个。具体地,在一种可选的实施方式中,上述多个射频子信号中可以包括第一射频子信号和第二射频子信号,所述第一射频子信号与所述第二射频子信号之间的相位差大于预设阈值。Based on this, in some implementations, the number of the above-mentioned radio frequency sub-signals may specifically be two. Specifically, in an optional implementation, the above-mentioned multiple radio frequency sub-signals may include a first radio frequency sub-signal and a second radio frequency sub-signal, and the phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is greater than a preset threshold.
基于此,上述分别在不同时间段内依次发射多个射频子信号的步骤,具体可以包括:Based on this, the above-mentioned step of sequentially transmitting a plurality of radio frequency sub-signals in different time periods may specifically include:
交替发射第一射频子信号和第二射频子信号。The first radio frequency sub-signal and the second radio frequency sub-signal are transmitted alternately.
这里,预设阈值可以根据实际需要进行设置,例如90°。当然,第一射频子信号与所述第二射频子信号之间的相位差也可以是预设的固定差值。具体地,在一些实施方式中,第一射频子信号与所述第二射频子信号之间的相位差可以是180°。其中,将相位差设置为180°的目的是为了调制出信号振幅差异最大的两个射频子信号,这样,在该两个射频子信号依次交替作用于第一射频信号时,可使第一射频信号的幅值变化度达到最大,使得读卡器能够感知到振荡电压的剧烈变化,从而及时出LPCD状态。Here, the preset threshold can be set according to actual needs, such as 90°. Of course, the phase difference between the first RF sub-signal and the second RF sub-signal can also be a preset fixed difference. Specifically, in some embodiments, the phase difference between the first RF sub-signal and the second RF sub-signal can be 180°. The purpose of setting the phase difference to 180° is to modulate two RF sub-signals with the largest difference in signal amplitude. In this way, when the two RF sub-signals act alternately on the first RF signal in turn, the amplitude change of the first RF signal can be maximized, so that the card reader can sense the drastic change in the oscillation voltage, thereby exiting the LPCD state in time.
示例性地,手机在生成相位差为180°的两种射频子信号后,可按照预设周期交替发射该两种射频子信号。Exemplarily, after generating two radio frequency sub-signals with a phase difference of 180°, the mobile phone may transmit the two radio frequency sub-signals alternately according to a preset period.
基于此,在一些实施方式中,在第二射频信号包括上述第一射频子信号以及第二射频子信号的情况下,上述S220具体可以包括:Based on this, in some implementations, when the second RF signal includes the first RF sub-signal and the second RF sub-signal, the above S220 may specifically include:
获取第一射频信号对应的第一相位; Acquire a first phase corresponding to the first radio frequency signal;
根据第一相位,确定与第一相位之间的相位差大于预设阈值的第二相位;Determine, according to the first phase, a second phase whose phase difference with the first phase is greater than a preset threshold;
生成具有第一相位的第一射频子信号,以及具有第二相位的第二射频子信号。A first radio frequency sub-signal having a first phase and a second radio frequency sub-signal having a second phase are generated.
这里,第一射频子信号可以是与第一射频信号具有相同相位的射频子信号,第二射频子信号可以是与第一射频信号之间的相位差大于预设阈值的射频子信号。Here, the first RF sub-signal may be a RF sub-signal having the same phase as the first RF signal, and the second RF sub-signal may be a RF sub-signal having a phase difference with the first RF signal greater than a preset threshold.
示例性地,在获取到第一射频信号对应的第一相位为0°的情况下,电子设备可通过调制生成相位为0°的第一射频子信号,以及相位为180°的第二射频子信号,并向外交替发射这两种射频子信号,如此,该两种射频子信号分别在空间中与第一射频信号相遇后,可生成两种振幅的射频信号,且该两种振幅之间幅度相差较大,这样,读卡器NFC线圈可感知到空间中的该两种振幅差别较大的射频信号,也即感知到振荡电压的剧烈变化,在变化值达到预设变化阈值后,读卡器就会退出LPCD状态,进入激活状态,执行相应的读卡操作。Exemplarily, when the first phase corresponding to the first RF signal is obtained to be 0°, the electronic device can generate a first RF sub-signal with a phase of 0° and a second RF sub-signal with a phase of 180° through modulation, and alternately transmit the two RF sub-signals to the outside. In this way, after the two RF sub-signals respectively meet the first RF signal in space, RF signals with two amplitudes can be generated, and the difference between the two amplitudes is large. In this way, the NFC coil of the card reader can sense the two RF signals with large amplitude differences in space, that is, sense the drastic changes in the oscillation voltage. After the change value reaches the preset change threshold, the card reader will exit the LPCD state, enter the activation state, and perform the corresponding card reading operation.
如此,通过生成与第一射频信号相位相同的第一射频子信号,以及与第一射频信号之间的相位差大于预设阈值的第二射频子信号,可使读卡器感知到的震荡电压的变化程度更大,从而更易于激活读卡器,提高读卡器的检卡灵敏度。In this way, by generating a first RF sub-signal having the same phase as the first RF signal and a second RF sub-signal having a phase difference with the first RF signal greater than a preset threshold, the degree of change in the oscillating voltage sensed by the card reader can be made greater, thereby making it easier to activate the card reader and improving the card detection sensitivity of the card reader.
需要说明的是,上述本公开实施例描述的应用场景是为了更加清楚的说明本公开实施例的技术方案,并不构成对于本公开实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本公开实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the application scenarios described in the above-mentioned embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
基于相同的发明构思,本申请还提供了一种读卡器激活装置。下面结合图3对本申请实施例提供的读卡器激活装置进行详细说明。Based on the same inventive concept, the present application also provides a card reader activation device. The card reader activation device provided in the embodiment of the present application is described in detail below in conjunction with FIG.
图3是根据一示例性实施例示出的一种读卡器激活装置的结构框图。Fig. 3 is a structural block diagram of a card reader activation device according to an exemplary embodiment.
如图3所示,读卡器激活装置300可以包括:As shown in FIG3 , the card reader activation device 300 may include:
信号检测模块301,用于检测是否接收到第一射频信号,所述第一射频信号为读卡器在低功耗检卡LPCD状态下发射的射频信号; The signal detection module 301 is used to detect whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
信号生成模块302,用于在接收到所述第一射频信号的情况下,生成第二射频信号;A signal generating module 302, configured to generate a second radio frequency signal when the first radio frequency signal is received;
信号发射模块303,用于发射所述第二射频信号,所述第二射频信号用于改变所述第一射频信号对应的振荡电压,以使所述读卡器在检测到所述振荡电压的变化值大于预设变化阈值的情况下,退出所述LPCD状态,并进入激活状态。The signal transmitting module 303 is used to transmit the second radio frequency signal, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
下面对上述读卡器激活装置300进行详细说明,具体如下所示:The card reader activation device 300 is described in detail below, as shown below:
在其中一个实施例中,所述第二射频信号中包括多个射频子信号,不同射频子信号对应的相位不同;In one of the embodiments, the second radio frequency signal includes a plurality of radio frequency sub-signals, and different radio frequency sub-signals correspond to different phases;
所述信号发射模块303包括:The signal transmission module 303 includes:
子信号发射子模块,用于分别在不同时间段内依次发射所述多个射频子信号,其中,一个时间段内对应发射一个射频子信号。The sub-signal transmitting submodule is used to transmit the multiple radio frequency sub-signals in sequence in different time periods, wherein one radio frequency sub-signal is correspondingly transmitted in one time period.
在其中一个实施例中,所述多个射频子信号中包括第一射频子信号和第二射频子信号,所述第一射频子信号与所述第二射频子信号之间的相位差大于预设阈值;In one of the embodiments, the plurality of radio frequency sub-signals include a first radio frequency sub-signal and a second radio frequency sub-signal, and a phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is greater than a preset threshold;
所述子信号发射子模块包括:The sub-signal transmitting sub-module comprises:
交替发射单元,用于交替发射所述第一射频子信号和所述第二射频子信号。The alternating transmitting unit is used to alternately transmit the first radio frequency sub-signal and the second radio frequency sub-signal.
在其中一个实施例中,所述第一射频子信号与所述第二射频子信号之间的相位差为180°。In one embodiment, the phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is 180°.
在其中一个实施例中,所述信号生成模块302包括:In one embodiment, the signal generating module 302 includes:
相位获取子模块,用于获取所述第一射频信号对应的第一相位;A phase acquisition submodule, used to acquire a first phase corresponding to the first radio frequency signal;
相位确定子模块,用于根据所述第一相位,确定与所述第一相位之间的相位差大于所述预设阈值的第二相位;a phase determination submodule, configured to determine, based on the first phase, a second phase whose phase difference with the first phase is greater than the preset threshold;
子信号生成子模块,用于生成具有所述第一相位的所述第一射频子信号,以及具有所述第二相位的所述第二射频子信号。The sub-signal generating sub-module is configured to generate the first radio frequency sub-signal having the first phase and the second radio frequency sub-signal having the second phase.
由此,通过利用卡片所在的有源电子设备在接收到读卡器在LPCD状态下发射的第一射频信号的情况下,生成第二射频信号,并主动发射该第二射频信号,这样,由于本申请实施例利用该第二射频信号主动改变第一 射频信号对应的振荡电压,使得读卡器在检测到该振荡电压的变化值大于预设变化阈值的情况下可以及时退出当前所处的LPCD状态,并进入激活状态,从而可以远距离、大角度、任意靠近速度激活处于LPCD状态的读卡器。因此,可以降低读卡器的激活难度,提高检卡灵敏度。Thus, by utilizing the active electronic device in which the card is located to generate a second RF signal when receiving the first RF signal transmitted by the card reader in the LPCD state, and actively transmitting the second RF signal, the embodiment of the present application utilizes the second RF signal to actively change the first The oscillation voltage corresponding to the radio frequency signal enables the card reader to exit the current LPCD state in time and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
本申请实施例中的读卡器激活装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The card reader activation device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.
本申请实施例中的读卡器激活装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The card reader activation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的读卡器激活装置能够实现图2的方法实施例实现的各个过程,为避免重复,这里不再赘述。The card reader activation device provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 2 , and will not be described again here to avoid repetition.
可选的,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401和存储器402,存储在存储器402上存储有可在处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现上述读卡器激活方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 4, an embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, wherein the memory 402 stores programs or instructions that can be executed on the processor 401, and when the program or instructions are executed by the processor 401, the various steps of the above-mentioned card reader activation method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图5为实现本申请实施例的一种电子设备的硬件结构示意图。FIG5 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备500包括但不限于:射频单元501、网络模块502、音频 输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio Components include an output unit 503 , an input unit 504 , a sensor 505 , a display unit 506 , a user input unit 507 , an interface unit 508 , a memory 509 , and a processor 510 .
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 510 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The electronic device structure shown in FIG5 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
其中,射频单元501,用于检测是否接收到第一射频信号,所述第一射频信号为读卡器在低功耗检卡LPCD状态下发射的射频信号;The radio frequency unit 501 is used to detect whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
处理器510,用于在接收到所述第一射频信号的情况下,生成第二射频信号;The processor 510 is configured to generate a second radio frequency signal when the first radio frequency signal is received;
射频单元501,用于发射所述第二射频信号,所述第二射频信号用于改变所述第一射频信号对应的振荡电压,以使所述读卡器在检测到所述振荡电压的变化值大于预设变化阈值的情况下,退出所述LPCD状态,并进入激活状态。The RF unit 501 is used to transmit the second RF signal, which is used to change the oscillation voltage corresponding to the first RF signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
由此,通过利用卡片所在的有源电子设备在接收到读卡器在LPCD状态下发射的第一射频信号的情况下,生成第二射频信号,并主动发射该第二射频信号,这样,由于本申请实施例利用该第二射频信号主动改变第一射频信号对应的振荡电压,使得读卡器在检测到该振荡电压的变化值大于预设变化阈值的情况下可以及时退出当前所处的LPCD状态,并进入激活状态,从而可以远距离、大角度、任意靠近速度激活处于LPCD状态的读卡器。因此,可以降低读卡器的激活难度,提高检卡灵敏度。Thus, by utilizing the active electronic device in which the card is located to generate a second RF signal and actively transmit the second RF signal when receiving the first RF signal transmitted by the card reader in the LPCD state, the embodiment of the present application utilizes the second RF signal to actively change the oscillation voltage corresponding to the first RF signal, so that the card reader can exit the current LPCD state in time and enter the activation state when detecting that the change value of the oscillation voltage is greater than the preset change threshold, so that the card reader in the LPCD state can be activated at a long distance, a large angle, and any approach speed. Therefore, the activation difficulty of the card reader can be reduced and the card detection sensitivity can be improved.
可选的,射频单元501,还用于分别在不同时间段内依次发射所述多个射频子信号,其中,一个时间段内对应发射一个射频子信号。Optionally, the radio frequency unit 501 is further configured to transmit the multiple radio frequency sub-signals in sequence in different time periods, wherein one radio frequency sub-signal is transmitted in one time period.
可选的,射频单元501,还用于交替发射所述第一射频子信号和所述第二射频子信号。Optionally, the radio frequency unit 501 is further configured to alternately transmit the first radio frequency sub-signal and the second radio frequency sub-signal.
可选的,处理器510,还用于获取所述第一射频信号对应的第一相位; Optionally, the processor 510 is further configured to obtain a first phase corresponding to the first radio frequency signal;
处理器510,还用于根据所述第一相位,确定与所述第一相位之间的相位差大于所述预设阈值的第二相位;The processor 510 is further configured to determine, based on the first phase, a second phase whose phase difference with the first phase is greater than the preset threshold;
处理器510,还用于生成具有所述第一相位的所述第一射频子信号,以及具有所述第二相位的所述第二射频子信号。The processor 510 is further configured to generate the first radio frequency sub-signal having the first phase and the second radio frequency sub-signal having the second phase.
由此,通过生成与第一射频信号相位相同的第一射频子信号,以及与第一射频信号之间的相位差大于预设阈值的第二射频子信号,可使读卡器感知到的震荡电压的变化程度更大,从而更易于激活读卡器,提高读卡器的检卡灵敏度。Therefore, by generating a first RF sub-signal having the same phase as the first RF signal and a second RF sub-signal having a phase difference with the first RF signal greater than a preset threshold, the degree of change in the oscillating voltage sensed by the card reader can be made greater, thereby making it easier to activate the card reader and improving the card detection sensitivity of the card reader.
应理解的是,本申请实施例中,输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072中的至少一种。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器509可以包括易失性存储器或非易失性存储器,或者,存储器509可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存 储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器509包括但不限于这些和任意其它适合类型的存储器。The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (DRAM), or a volatile random access memory (VRAM). The memory 509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器510可可包括一个或多个处理单元;可选的,处理器510集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 510.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述读卡器激活方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned card reader activation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述读卡器激活方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned card reader activation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述读卡器激活方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned card reader activation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、 物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "include", "comprise" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, Articles or devices include not only those elements, but also other elements that are not explicitly listed, or also include elements that are inherent to such processes, methods, articles or devices. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device that includes the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (15)

  1. 一种读卡器激活方法,包括:A card reader activation method, comprising:
    检测是否接收到第一射频信号,所述第一射频信号为读卡器在低功耗检卡LPCD状态下发射的射频信号;Detecting whether a first radio frequency signal is received, where the first radio frequency signal is a radio frequency signal emitted by the card reader in a low power consumption card detection LPCD state;
    在接收到所述第一射频信号的情况下,生成第二射频信号;generating a second radio frequency signal upon receiving the first radio frequency signal;
    发射所述第二射频信号,所述第二射频信号用于改变所述第一射频信号对应的振荡电压,以使所述读卡器在检测到所述振荡电压的变化值大于预设变化阈值的情况下,退出所述LPCD状态,并进入激活状态。The second radio frequency signal is transmitted, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
  2. 根据权利要求1所述的方法,其中,所述第二射频信号中包括多个射频子信号,不同射频子信号对应的相位不同;The method according to claim 1, wherein the second radio frequency signal includes a plurality of radio frequency sub-signals, and different radio frequency sub-signals correspond to different phases;
    所述发射所述第二射频信号,包括:The transmitting the second radio frequency signal comprises:
    分别在不同时间段内依次发射所述多个射频子信号,其中,一个时间段内对应发射一个射频子信号。The multiple radio frequency sub-signals are transmitted in sequence in different time periods, respectively, wherein one radio frequency sub-signal is correspondingly transmitted in one time period.
  3. 根据权利要求2所述的方法,其中,所述多个射频子信号中包括第一射频子信号和第二射频子信号,所述第一射频子信号与所述第二射频子信号之间的相位差大于预设阈值;The method according to claim 2, wherein the plurality of radio frequency sub-signals include a first radio frequency sub-signal and a second radio frequency sub-signal, and a phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is greater than a preset threshold;
    所述分别在不同时间段内依次发射所述多个射频子信号,包括:The transmitting the plurality of radio frequency sub-signals in sequence in different time periods respectively includes:
    交替发射所述第一射频子信号和所述第二射频子信号。The first radio frequency sub-signal and the second radio frequency sub-signal are transmitted alternately.
  4. 根据权利要求3所述的方法,其中,所述第一射频子信号与所述第二射频子信号之间的相位差为180°。The method according to claim 3, wherein the phase difference between the first RF sub-signal and the second RF sub-signal is 180°.
  5. 根据权利要求3所述的方法,其中,所述生成第二射频信号,包括:The method according to claim 3, wherein generating the second radio frequency signal comprises:
    获取所述第一射频信号对应的第一相位;Acquire a first phase corresponding to the first radio frequency signal;
    根据所述第一相位,确定与所述第一相位之间的相位差大于所述预设阈值的第二相位;Determine, according to the first phase, a second phase whose phase difference with the first phase is greater than the preset threshold;
    生成具有所述第一相位的所述第一射频子信号,以及具有所述第二相位的所述第二射频子信号。The first radio frequency sub-signal having the first phase and the second radio frequency sub-signal having the second phase are generated.
  6. 一种读卡器激活装置,包括:A card reader activation device, comprising:
    信号检测模块,用于检测是否接收到第一射频信号,所述第一射频信 号为读卡器在低功耗检卡LPCD状态下发射的射频信号;The signal detection module is used to detect whether a first radio frequency signal is received. The signal is the radio frequency signal emitted by the card reader in the low power consumption card detection LPCD state;
    信号生成模块,用于在接收到所述第一射频信号的情况下,生成第二射频信号;a signal generating module, configured to generate a second radio frequency signal upon receiving the first radio frequency signal;
    信号发射模块,用于发射所述第二射频信号,所述第二射频信号用于改变所述第一射频信号对应的振荡电压,以使所述读卡器在检测到所述振荡电压的变化值大于预设变化阈值的情况下,退出所述LPCD状态,并进入激活状态。The signal transmitting module is used to transmit the second radio frequency signal, and the second radio frequency signal is used to change the oscillation voltage corresponding to the first radio frequency signal, so that the card reader exits the LPCD state and enters the activation state when detecting that the change value of the oscillation voltage is greater than a preset change threshold.
  7. 根据权利要求6所述的装置,其中,所述第二射频信号中包括多个射频子信号,不同射频子信号对应的相位不同;The device according to claim 6, wherein the second radio frequency signal includes a plurality of radio frequency sub-signals, and different radio frequency sub-signals correspond to different phases;
    所述信号发射模块包括:The signal transmission module comprises:
    子信号发射子模块,用于分别在不同时间段内依次发射所述多个射频子信号,其中,一个时间段内对应发射一个射频子信号。The sub-signal transmitting submodule is used to transmit the multiple radio frequency sub-signals in sequence in different time periods, wherein one radio frequency sub-signal is correspondingly transmitted in one time period.
  8. 根据权利要求7所述的装置,其中,所述多个射频子信号中包括第一射频子信号和第二射频子信号,所述第一射频子信号与所述第二射频子信号之间的相位差大于预设阈值;The device according to claim 7, wherein the plurality of radio frequency sub-signals include a first radio frequency sub-signal and a second radio frequency sub-signal, and a phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is greater than a preset threshold;
    所述子信号发射子模块包括:The sub-signal transmitting sub-module comprises:
    交替发射单元,用于交替发射所述第一射频子信号和所述第二射频子信号。The alternating transmitting unit is used to alternately transmit the first radio frequency sub-signal and the second radio frequency sub-signal.
  9. 根据权利要求8所述的装置,其中,所述第一射频子信号与所述第二射频子信号之间的相位差为180°。The apparatus according to claim 8, wherein the phase difference between the first radio frequency sub-signal and the second radio frequency sub-signal is 180°.
  10. 根据权利要求8所述的装置,其中,所述信号生成模块包括:The apparatus according to claim 8, wherein the signal generating module comprises:
    相位获取子模块,用于获取所述第一射频信号对应的第一相位;A phase acquisition submodule, used to acquire a first phase corresponding to the first radio frequency signal;
    相位确定子模块,用于根据所述第一相位,确定与所述第一相位之间的相位差大于所述预设阈值的第二相位;a phase determination submodule, configured to determine, based on the first phase, a second phase whose phase difference with the first phase is greater than the preset threshold;
    子信号生成子模块,用于生成具有所述第一相位的所述第一射频子信号,以及具有所述第二相位的所述第二射频子信号。The sub-signal generating sub-module is configured to generate the first radio frequency sub-signal having the first phase and the second radio frequency sub-signal having the second phase.
  11. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的读卡器激活方法的步骤。 An electronic device comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the card reader activation method as described in any one of claims 1 to 5 are implemented.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的读卡器激活方法的步骤。A readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the card reader activation method according to any one of claims 1 to 5 are implemented.
  13. 一种电子设备,用于执行如权利要求1-5任一项所述的读卡器激活方法的步骤。An electronic device, used to execute the steps of the card reader activation method as described in any one of claims 1 to 5.
  14. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述的读卡器激活方法的步骤。A computer program product, wherein the computer program product is executed by at least one processor to implement the steps of the card reader activation method according to any one of claims 1 to 5.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5任一项所述的读卡器激活方法的步骤。 A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the card reader activation method according to any one of claims 1 to 5.
PCT/CN2023/122332 2022-09-28 2023-09-27 Card reader activation method and apparatus, and device and storage medium WO2024067752A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211189972.0A CN115587605A (en) 2022-09-28 2022-09-28 Card reader activation method, device, equipment and storage medium
CN202211189972.0 2022-09-28

Publications (1)

Publication Number Publication Date
WO2024067752A1 true WO2024067752A1 (en) 2024-04-04

Family

ID=84773431

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/122332 WO2024067752A1 (en) 2022-09-28 2023-09-27 Card reader activation method and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN115587605A (en)
WO (1) WO2024067752A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118036633A (en) * 2024-04-11 2024-05-14 飞天诚信科技股份有限公司 Method and device for managing multiple card reading devices

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115587605A (en) * 2022-09-28 2023-01-10 维沃移动通信有限公司 Card reader activation method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870864A (en) * 2012-12-10 2014-06-18 首崴电子股份有限公司 Active electronic volume label device for memory card
CN104239833A (en) * 2013-06-19 2014-12-24 北京同方微电子有限公司 Low-power-consumption card reader and using method thereof
US20160105220A1 (en) * 2014-10-14 2016-04-14 Jun Ho Kim Nfc card reader, system including nfc card reader, and a method of operating the same
CN115587605A (en) * 2022-09-28 2023-01-10 维沃移动通信有限公司 Card reader activation method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870864A (en) * 2012-12-10 2014-06-18 首崴电子股份有限公司 Active electronic volume label device for memory card
CN104239833A (en) * 2013-06-19 2014-12-24 北京同方微电子有限公司 Low-power-consumption card reader and using method thereof
US20160105220A1 (en) * 2014-10-14 2016-04-14 Jun Ho Kim Nfc card reader, system including nfc card reader, and a method of operating the same
CN115587605A (en) * 2022-09-28 2023-01-10 维沃移动通信有限公司 Card reader activation method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118036633A (en) * 2024-04-11 2024-05-14 飞天诚信科技股份有限公司 Method and device for managing multiple card reading devices

Also Published As

Publication number Publication date
CN115587605A (en) 2023-01-10

Similar Documents

Publication Publication Date Title
WO2024067752A1 (en) Card reader activation method and apparatus, and device and storage medium
US10719689B2 (en) Electronic device and fingerprint recognition method
US7891544B2 (en) Data communications system, information processing terminal, IC card, reader/writer, and program
RU2637900C2 (en) Element activation method and device
US9031500B2 (en) Portable electronic device and operation method for establishing a near field communication link
US20140187148A1 (en) Near field communication method and apparatus using sensor context
WO2022012173A1 (en) Emulated card switching method, terminal device, and storage medium
US20140302819A1 (en) Techniques for selecting a proximity card of a mobile device for access
US20150180546A1 (en) Detection of Load-Modulated Signals in NFC
CN104933555A (en) Mode setting method and apparatus
KR101143786B1 (en) Mobile information terminals with a finger print input device and controlling mehtod thereof
US20240171954A1 (en) Activation of short-range wireless communication via remote activation signal
US20110296530A1 (en) Electronic reading apparatus and the data security method thereof
CN113989963A (en) Signal processing method and related equipment
US11984943B2 (en) Active near-field communication device facilitation of low power card detection
CN110086508B (en) Voltage adjusting method, system, storage medium and mobile terminal
US20220383005A1 (en) Coexistence of wireless technologies on an antenna
CN118233833A (en) Control method, device and storage medium
CN115277930B (en) Power supply method and device and electronic equipment
US20230055356A1 (en) Electronic device powering
US20230058758A1 (en) Electronic device powering
US20230023587A1 (en) Speculative Activation for Secure Element Usage
CN115767702A (en) Antenna power adjusting method and device
CN118153598A (en) Method for assisting card reader in realizing card searching, card searching method and NFC tag
CN115706962A (en) Electronic device power supply

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23870977

Country of ref document: EP

Kind code of ref document: A1