Low-power-consumption non-contact active visual card supporting two-dimensional code payment
The low-power contactless active visual card, which integrates components such as a power supply module, a low-power MCU, and a security chip, solves the problem that existing visual cards cannot realize QR code scanning payment. It realizes the QR code scanning payment function, extends the card life, and improves security and operability.
Patent Information
- Application Number
- CN202422040796.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2034-08-22
AI Technical Summary
Existing visual cards cannot realize QR code scanning payment and cannot compete with today's popular payment apps such as Alipay and WeChat.
A low-power contactless active visual card that supports QR code payment is designed. It integrates a power supply module, a low-power MCU, a security chip, a clock module, a QR code generation module, a display module and a key module. Through the collaborative work of the low-power MCU and the security chip, it generates and displays real-time QR codes and supports QR code scanning payment.
It realizes the QR code scanning payment function, shortens the payment settlement time, reduces the dependence on mobile phones, extends the service life of the card, and improves the security and operability of the visual card.
Smart Images

Figure CN223401248U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of visual cards, in particular to a low-power contactless active visual card supporting QR code payment. Background Art
[0002] As a physical carrier of smart cards, visual cards can display various transaction information such as transaction amount, transaction number, wallet balance, etc. in real time due to their display screen. They can also display various prompt information, QR codes, pictures and other related content according to the needs of the usage scenario. Therefore, they have obvious and irreplaceable advantages in practical applications.
[0003] Visual cards include active and passive ones. Active visual cards are cards that don't require real-name authentication and support multiple electronic payment methods. However, existing visual cards are typically passive, meaning they can only be used for payment via a tap-to-pay system. After the merchant enters the amount on the POS machine to process the payment, the visual card acts as a single card and can be tapped to complete the payment. They cannot actively present a QR code for payment. To compete with Alipay and WeChat, two of the most popular payment apps today, active visual cards must support QR code payment. Utility Model Content
[0004] Purpose of the invention: In order to overcome the above-mentioned deficiencies of the prior art, the utility model provides a low-power contactless active visual card that supports QR code payment, solving the problem that the visual card in the prior art cannot realize QR code scanning payment.
[0005] Technical solution: This utility model provides a low-power contactless active visual card that supports QR code payment, including: a power supply module, a low-power MCU, a security chip, a clock module, a QR code generation module, a display module and a key module.
[0006] The power supply module is electrically connected to the low-power MCU, the security chip, the clock module, and the display module, respectively, to supply power to the low-power MCU, the security chip, the clock module, and the display module;
[0007] The security chip is provided with an NFC antenna, which is used to obtain transaction parameter information from an external card reader and output the transaction parameter information to the security chip;
[0008] The clock module is communicatively connected to the low-power MCU and is used to generate a time factor;
[0009] The button module is in communication with the security chip and is used to trigger a QR code generation instruction;
[0010] The security chip is in communication with the key module, the security chip receives the QR code generation instruction from the key module, and outputs the QR code generation instruction to the low-power MCU;
[0011] The low-power MCU is communicatively connected to the security chip, the low-power MCU receives the QR code generation instruction and obtains the time factor provided by the clock module based on the QR code generation instruction, and provides the time factor to the security chip;
[0012] The QR code generation module is in communication with the security chip and the low-power MCU. The QR code generation module receives the time factor and transaction parameter information of the security chip, encrypts and calculates the time factor and transaction parameter information, generates QR code data, and transmits the QR code data to the low-power MCU.
[0013] The display module is communicatively connected to the low-power MCU, and receives and displays a graphical two-dimensional code generated by the low-power MCU based on the two-dimensional code data.
[0014] Based on the above description, this application designs a new circuit architecture. In addition to the security chip and display module, it also adds a new low-power microcontroller chip MCU and a real-time clock module RTC for controlling the real-time clock, which can retrieve the current time in real time and use it for real-time QR code generation.
[0015] Further, including:
[0016] This visual card also includes a reset module, one port of which is connected to the key module, and the other two ports are electrically connected to different pins of the low-power MCU. The reset circuit is used to send the excited control signal to the low-power MCU, thereby completing the reset and restart of the low-power MCU.
[0017] Further, including:
[0018] The reset module is used to complete the reset of the low-power MCU, and includes: an RC charge and discharge circuit, a reset switch, and a set end connected to the reset switch. The key module and the set end jointly control the on and off of the reset switch. The on and off signal of the reset switch controls the charging and discharging of the RC charge and discharge circuit, thereby causing the low-power MCU reset signal to change between high and low, ultimately controlling the reset state of the low-power MCU.
[0019] Further, including:
[0020] The gate of the reset switch Q3 is connected to the switch control terminal KEY, which is controlled by the key module and grounded via a third resistor R3. Its source is connected to the set terminal R_BOOT, and its drain is connected to the control terminal REST_MCU, which controls the reset state of the low-power MCU. The control terminal REST_MCU is connected to a capacitor C and then to ground. It is then connected to the operating power supply terminal VDD via a fourth resistor R4.
[0021] Further, including:
[0022] In order to control the power consumption of the security chip, minimize the power usage of the visual card, and extend the card's service life, the visual card of the present application also includes a first low-power control module. The relevant ports of the first low-power control module are respectively connected to the low-power MCU, the power supply module, and the security chip, and control the power supply status of the security chip in combination with the entry and exit signals sent by the NFC antenna; the power supply status includes power on and power off of the security chip.
[0023] Further, including:
[0024] The first low-power control module includes: a power switch, a working power supply terminal VDD, and a power control circuit. The output terminal of the power switch is connected to the security chip, the working power supply terminal VDD is connected to the input terminal of the power switch, and the working power supply terminal VDD is powered by the power supply module. The power control circuit is connected to the power switch. The power control circuit includes two signal verification ports and a control switch. One verification port sends different control signals to the control terminal SE_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch. The other verification port controls the on and off of the control switch according to the entry and exit control terminal NFC_EN. The power supply status of the security chip is determined by the on and off of the power switch and the control switch.
[0025] Further, including:
[0026] The power control circuit includes a power switch Q1 and a control switch Q2. The gate of the control switch Q2 is connected to the visual card entry and exit control terminal NFC_EN. The drain of the control switch Q2 is connected to the gate of the power switch Q1, with a first resistor R1 disposed therebetween. A control terminal SE_CTL is connected between the first resistor R1 and the gate of the power switch Q1. The source of the power switch Q1 is connected to the working power terminal VDD, and the drain of the power switch Q1 is connected to the power supply terminal VCC_SE. The control terminal SE_CTL is controlled by a low-power MCU. The opening and closing of the power switch Q1 are determined by the control terminal SE_CTL and the entry and exit control terminal NFC_EN through the combinational logic behind the control switch Q2. The power supply terminal VCC_SE is the port that supplies power to the security chip.
[0027] Further, including:
[0028] In order to control the power consumption of the display module and minimize the power usage of the visual card to extend the service life of the card, the present application also includes a second low-power control module. The relevant ports of the second low-power control module are respectively connected to the low-power MCU, power supply module and display module, and control the display state of the display module in combination with the entry and exit signals of the visual card.
[0029] Further, including:
[0030] The second low-power control module is used to control the power on and off state of the display module, and specifically includes: a power switch, a working power supply terminal VDD and a power control circuit. The output end of the power switch is connected to the display module, the working power supply terminal VDD is connected to the input end of the power switch, and the working power supply terminal VDD is powered by the power supply module. The power control circuit is connected to the power switch, and the power control circuit includes two signal verification ports and a control switch. One of the verification ports sends different control signals to the control terminal SC_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch. The other verification port controls the on and off of the control switch according to the entry and exit control terminal NFC_EN, and the power supply state of the display module is jointly determined by the on and off of the power switch and the control switch.
[0031] Further, including:
[0032] The power control circuit includes a power switch Q1 and a control switch Q2. The gate of the control switch Q2 is connected to the visual card entry and exit control terminal NFC_EN. The drain of the control switch Q2 is connected to the gate of the power switch Q1, with a first resistor R1 disposed therebetween. A control terminal SC_CTL is connected between the first resistor R1 and the gate of the power switch Q1. The source of the power switch Q1 is connected to the working power terminal VDD, and the drain of the power switch Q1 is connected to the power supply terminal VCC_SC. The control terminal SC_CTL is controlled by a low-power MCU. The opening and closing of the power switch Q1 are determined by the control terminal SC_CTL and the entry and exit control terminal NFC_EN through the combinational logic behind the control switch Q2. The power supply terminal VCC_SC is the port that supplies power to the display module.
[0033] Beneficial effects: Compared with the prior art, the utility model has the following advantages:
[0034] (1) The visual card disclosed in the present invention is integrated with a low-power control module, which realizes automatic switching of the power supply mode of the visual card by entering and exiting the venue, so that the card does not use battery power when working in the venue, and turns on or off the power of the security chip and the display module as needed after leaving the venue, thereby controlling power consumption, greatly reducing the power usage of the visual card, and extending the service life of the card.
[0035] (2) The clock module disclosed in the present invention provides the real-time time factor to the security chip through the low-power MCU. The QR code generation module receives the time factor and transaction parameter information of the security chip and generates QR code data after encrypting and calculating the time factor and transaction parameter information. The QR code data is then transmitted to the low-power MCU and displayed through the display module. Thus, when payment is required, the payment QR code can be displayed. This is convenient and fast, shortens the payment settlement process, reduces time costs, and avoids dependence on mobile phones as a medium.
[0036] (3) The low-power MCU of the present invention realizes reliable reset and restart of the low-power MCU through the set signal of the set terminal R_BOOT and the key cooperation of the key module, thereby improving the security and operability of the visual card. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is a module diagram of a low-power contactless active visual card supporting QR code payment according to an embodiment of the present utility model;
[0038] Figure 2 This is a circuit diagram corresponding to the first low-power control module described in an embodiment of the present utility model;
[0039] Figure 3This is a schematic diagram of the low power consumption control principle flow chart according to an embodiment of the present utility model;
[0040] Figure 4 This is a circuit diagram corresponding to the reset module described in an embodiment of the present utility model;
[0041] Figure 5 This is a schematic diagram of the reset principle flow chart of an embodiment of the present utility model;
[0042] Figure 6 This is a flow chart of the control method corresponding to the low power consumption control module according to an embodiment of the present utility model;
[0043] Figure 7 This is a circuit diagram corresponding to the second low-power control module described in an embodiment of the present utility model. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0045] The active visual card described in this application can obtain real-time time and generate a real-time digital RMB payment QR code. The QR code needs to be updated every 60 seconds. The payment QR code and other states can also be switched by pressing a button. In addition to being able to realize the touch-and-pay function like an ordinary visual card, it can also realize the same scan-code payment as Alipay and WeChat. There is no need to carry a mobile phone with you. Only one card can realize the digital RMB scan-code payment similar to Alipay and WeChat. The specific implementation plan is as follows:
[0046] like Figure 1 As shown, the utility model provides a low-power contactless active visual card supporting QR code payment, comprising:
[0047] Power supply module, low-power MCU, security chip, clock module, QR code generation module, display module and button module,
[0048] Among them, the power supply module is electrically connected to the low-power MCU, the security chip, the clock module, and the display module respectively, and supplies power to the low-power MCU, the security chip, the clock module, and the display module respectively;
[0049] The security chip is provided with an NFC antenna, which is used to obtain transaction parameter information from an external card reader and output the transaction parameter information to the security chip.
[0050] That is, the security chip is mainly used for security algorithm calculations and has its own NFC antenna. It interacts directly with the APP or POS machine through the NFC antenna via the 14443 communication protocol to complete the transaction.
[0051] The clock module is communicatively connected to the low-power MCU and is used to generate a time factor;
[0052] The button module is in communication with the security chip and is used to trigger a QR code generation instruction;
[0053] The security chip is in communication with the key module, the security chip receives the QR code generation instruction from the key module, and outputs the QR code generation instruction to the low-power MCU;
[0054] The low-power MCU is communicatively connected to the security chip. The low-power MCU receives the QR code generation instruction and obtains the time factor provided by the clock module based on the QR code generation instruction, and provides the time factor to the security chip.
[0055] The low-power MCU is the core of the active video card and has the following functions.
[0056] 1) The most basic function is to receive instructions from the security chip, determine the switching status interface based on business logic, and drive the display module to display it.
[0057] 2) Response button module: short press is used to switch between the payment QR code and the "Pay once to check balance" state, and long press is used to switch between power on and power off.
[0058] 3) When the button module displays the payment QR code interface, it waits to receive instructions from the security chip and passes the real-time time obtained from the clock module to the security chip for generating the payment QR code.
[0059] 4) When the battery level needs to be queried from outside, the low-power MCU will receive the power query instruction from the security chip, then obtain the real-time power level from the power supply module and return it to the security chip.
[0060] In order to quickly generate QR codes and facilitate QR code payment at any time, the QR code generation module is communicated with the security chip and the low-power MCU. The QR code generation module receives the time factor and transaction parameter information of the security chip and encrypts and calculates the time factor and transaction parameter information to generate QR code data, and transmits the QR code data to the low-power MCU.
[0061] The display module is communicatively connected to the low-power MCU, and receives and displays a graphical two-dimensional code generated by the low-power MCU based on the two-dimensional code data.
[0062] In this embodiment, the key module is also used to send the activated control signal to the low-power MCU, and complete the reset and restart of the low-power MCU through the reset module. That is, the key module of this application is connected to the low-power MCU, and sends the control signal to the low-power MCU through the key, thereby facilitating the reliable reset and restart of the low-power MCU. That is, according to the above description, this module mainly gives users a certain right of choice. By long pressing the key, they can choose to turn on or off the computer, and by short pressing the key, they can choose whether to pay by "touch and pay" or scan code payment.
[0063] like Figure 4 and Figure 5 As shown, the reset module is used to complete the reset of the low-power MCU, which includes: an RC charge and discharge circuit, a reset switch, and a set end connected to the reset switch. The key module and the set end jointly control the on and off of the reset switch. The on and off signal of the reset switch controls the charging and discharging of the RC charge and discharge circuit, thereby causing the low-power MCU reset signal to change high and low, and ultimately controlling the reset state of the low-power MCU.
[0064] The gate of the reset switch Q3 is connected to the switch control terminal KEY, which is controlled by the key module and grounded through the third resistor R3. Its source is connected to the set terminal R_BOOT, and its drain is connected to the control terminal REST_MCU for controlling the reset state of the low-power MCU. The control terminal REST_MCU is connected to the capacitor C and then grounded, and is connected to the working power supply terminal VDD through the fourth resistor R4.
[0065] This embodiment provides a circuit and corresponding method for resetting a low-power MCU. Its primary function is to restore the circuit to its initial state, which is crucial for the normal operation of digital circuits. This reset circuit provides a mechanism that allows the circuit to return to a known, stable state from any state when needed, thereby ensuring the reliability and stability of the low-power MCU.
[0066] The active visual card of the present application can realize the tap-to-pay function, displaying the transaction amount and balance after completion, and can also present a real-time payment QR code, which can be scanned by the terminal to realize scan-to-pay. The balance can then be checked using the tap-to-pay function of the active visual card and the transaction log can be viewed on the APP bound to the visual card hard wallet. It is convenient and fast and can be applied to different application scenarios.
[0067] The workflow of the visual card described in this embodiment includes:
[0068] The active video card is compatible with terminals that do not support video cards and can be used as an ordinary card.
[0069] The active visual card also supports binding and unbinding, response, transfer (in and out), balance inquiry, and multiple payment methods. In addition to the most common tap-to-pay, it also supports scan-to-pay, that is, the terminal scans the payment QR code on the visual card screen to conduct transactions.
[0070] Users can use the active visual card to pay by tapping or scanning, and check their wallet balance by tapping.
[0071] First of all, tap to pay, the operation process is similar to ordinary bank card transactions, except that the transaction amount and wallet balance will be displayed after the transaction is completed.
[0072] Secondly, scan the code to pay. The operation process is as follows:
[0073] Long pressing the button module or short pressing the button module will generate a control signal to the low-power MCU. After receiving the control signal, the low-power MCU powers on the security chip SE. The low-power MCU and the security chip SE communicate with each other. When the security chip SE is powered on, the GPIO port of the security chip SE is pulled from high to low. The security chip SE detects the change of the GPIO port and drives the QR code generation module to generate a QR code.
[0074] When a user needs to make a payment, they turn on their device to display the payment QR code, or switch to displaying the payment QR code using a button. The acceptance terminal uses the "Scan" function to enter the amount to be paid, then scans the payment QR code on the visual card. The code is parsed and retrieves the payment code parameters for the visual card hard wallet. Based on the payment code parameters from the visual card hard wallet, the acceptance terminal, along with the payee's information and the payment amount, requests the wallet backend to initiate the transaction and waits for the wallet backend to complete the deduction. After the transaction is completed, the wallet backend transmits the order amount, payment time, product description, acquirer, clearinghouse, payee information, order number, and merchant order number to the acceptance terminal in a message. Users can use the terminal's "Pay and Check Balance" function on the visual card hard wallet to check the transaction amount. Alternatively, they can view the transaction log through the app linked to the visual card hard wallet. If the payee detects that the QR code generation time is incorrect or has expired, the QR code will be deemed invalid by the terminal, and the transaction will not be processed. If other parameters in the QR code generation are incorrect, the QR code will also be deemed invalid by the payment operator, and the transaction will not be processed.
[0075] Therefore, this visual card is an active visual card that supports both tap-to-pay and scan-to-pay. This not only adapts to a variety of application scenarios, but also becomes more convenient and faster due to the addition of the scan-to-pay function, shortening the payment settlement process, reducing time costs, and avoiding dependence on mobile phones as a medium.
[0076] In this embodiment, the power supply module includes a built-in battery power supply circuit and a contactless presence power supply circuit. The built-in battery power supply circuit is used to power the low-power MCU in off-site operation and in an extremely low-power state, while the contactless presence power supply circuit is used to power other required modules and the low-power MCU in normal operation. The contactless presence power supply circuit forms a loop when the contactless NFC antenna inducts an external device, powering the low-power MCU and the security chip SE.
[0077] Because these low-power active video cards require an internal battery, to conserve power and extend their lifespan, they typically operate in an extremely low-power state, known as a sleep state. Although the card displays the card as powered off, the internal battery is actually powering the low-power MCU, effectively maintaining a constant low-power sleep state. In this sleep state, the security chip, display module, and other peripheral circuits are powered off, leaving the entire card in an extremely low-power state. Normal operation begins only after the low-power MCU is awakened by a keypad and entry and exit signals. These signals include the entry control signal for the active video card and the exit control signal for the card.
[0078] In this embodiment, the video card further includes a first low power consumption control module, such as Figure 3 As shown, the first low-power control module is used to control the power on and off state of the security chip, specifically including: a power switch, a working power supply terminal VDD, and a power control circuit. The power switch is connected to the security chip, and the power control circuit is connected to the power switch. The power control circuit includes two signal verification ports and a control switch. One of the verification ports provides different control terminals SE_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch. The other verification port controls the on and off of the control switch according to the entry and exit control terminal NFC_EN. The on and off of the power switch and the control switch are used to jointly determine whether the security chip is powered on or off.
[0079] Furthermore, in this embodiment, if Figure 6 As shown, the method for the first low-power control module to control the power-on and power-off states of the security chip is:
[0080] When the low-power MCU is in sleep mode, the control terminal SE_CTL is in input floating state, and the power switch is controlled by the visual card entry and exit control terminal NFC_EN, that is:
[0081] If the visual card is present, NFC_EN is at a low level, the power switch and the control switch are both turned off, the working power supply terminal VDD is disconnected from the power supply terminal VCC_SE of the security chip, and the security chip is powered off;
[0082] If a visual card enters the scene, NFC_EN is at a high level, the power switch and the control switch are both turned on, and the working power supply terminal is connected to the power supply terminal VCC_SE of the security chip, thereby powering the security chip;
[0083] When the low-power MCU is in a normal working state, the control terminal SE_CTL is in an output state. At this time, the on and off of the power switch is controlled by the control signal SE_CTL of the low-power MCU, that is:
[0084] When a low level is sent to the control terminal SE_CTL, the power switch is turned on, and the working power terminal VDD is connected to the power supply terminal VCC_SE of the security chip, thereby supplying power to the security chip;
[0085] When a high level is sent to the control terminal SE_CTL, the power switch is turned off, the working power terminal VDD is disconnected from the power supply terminal VCC_SE of the security chip, and thus the security chip is powered off.
[0086] Specifically, the low power consumption control module of this embodiment can be a state transition control circuit, such as Figure 2 As shown, the control circuit includes a power switch Q1 and a control switch Q2. The gate of the control switch Q2 is connected to the visual card entry and exit control terminal NFC_EN. The drain of the control switch Q2 is connected to the gate of the power switch Q1, with a first resistor R1 provided therebetween. A control terminal SE_CTL is connected between the first resistor R1 and the gate of the power switch Q1. The source of the power switch Q1 is connected to the working power terminal VDD. A second resistor R2 is provided between the working power terminal VDD and the control terminal SE_CTL. The drain of the power switch Q1 is connected to the power supply terminal VCC_SE. The control signal of the control terminal SE_CTL is controlled by a low-power MCU. The opening and closing of the power switch Q1 are determined by the combinational logic of the control signal of the control terminal SE_CTL and the signal of the entry and exit control terminal NFC_EN after passing through the control switch Q2. The power supply terminal VCC_SE is used to power the security chip.
[0087] The power switch and the control switch in the embodiment of the present invention are voltage-controlled switches, such as MOS tubes.
[0088] In this embodiment, the control method corresponding to the control circuit includes:
[0089] When the low-power MCU is in sleep mode, the control terminal SE_CTL is in a floating input state. At this time, the power switch Q1 is turned on and off by the visual card entry and exit control terminal NFC_EN, that is:
[0090] When the visual card is present, NFC_EN is at a low level, the power switch Q1 and the control switch Q2 are both turned off, the working power supply terminal VDD is disconnected from the power supply terminal VCC_SE, and the security chip is powered off;
[0091] When the visual card enters the field, NFC_EN is at a high level, the power switch Q1 and the control switch Q2 are both turned on, the working power supply terminal VDD is connected to the power supply terminal VCC_SE, and power is supplied to the security chip;
[0092] When the low-power MCU is in a normal working state, the control terminal SE_CTL is in an output state. At this time, the on and off of the power switch Q1 is controlled by the control terminal SE_CTL of the low-power MCU, that is:
[0093] When the control terminal SE_CTL is at a low level, the power switch Q1 is turned on, the working power terminal VDD is connected to the power supply terminal VCC_SE, and power is supplied to the security chip;
[0094] When the control terminal SE_CTL is at a high level, the power switch Q1 is turned off, the working power terminal VDD is disconnected from the power supply terminal VCC_SE, and the security chip is powered off.
[0095] Therefore, this circuit implements:
[0096] When the low-power MCU of the visual card is dormant, that is, not in use, and the visual card is placed on the card reader, that is, when it enters the field, NFC_EN automatically turns on the security chip SE to ensure that the security chip SE wakes up the low-power MCU and communicates normally with the low-power MCU;
[0097] When the low-power MCU is in normal working state, the low-power MCU can control whether the security chip SE is powered on or not through SE_CTL according to actual working needs;
[0098] As described above, this circuit solution can realize the normal low-power saving function of the entire video card, and can also wake up the low-power MCU when an upgrade is required and perform normal communication and interaction with it.
[0099] Therefore, the present invention adopts a low-power MCU as the main power management chip, which minimizes the power consumption of the processor itself while performing more effective power management control on the security chip SE; the active visual card is powered by the battery when not communicating with the card reader, that is, when in use without a field, and is powered by the non-contact field when communicating with the card reader, that is, in the field;
[0100] When the active video card is not in use, the low-power MCU enters an extremely low-power state and the security chip SE is completely powered off to maximize battery conservation.
[0101] On the basis of the above structure, this embodiment further includes a display module, namely a transaction information display screen, which is connected to the low-power MCU and is used to receive drive data from the low-power MCU and display different states. Similarly, in order to save energy, it can also be connected to a second low-power control module, which is similar to the power-on and power-off control method of the security chip. The specific solution is as follows:
[0102] like Figure 7 As shown, the display module is communicatively connected to the low-power MCU and is used to display transaction information. The second low-power control module is used to control the power on and off state of the display module, specifically including a power switch, a working power supply end and a power control circuit. The output end of the power switch is connected to the display module, the working power supply end is connected to the input end of the power switch, and the working power supply end is powered by the power supply circuit. The power control circuit is connected to the power switch, and the power control circuit includes two signal verification ports and a control switch. One of the verification ports gives different control signals of the control end SC_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch. The other verification port controls the on and off of the control switch according to the high and low signals of the entry and exit control end NFC_EN, and the on and off of the power switch and the control switch are jointly used to determine whether the display module is powered on or off.
[0103] Furthermore, this embodiment includes:
[0104] The method for the low power consumption control module to control the power on and off state of the display module is:
[0105] When the low-power MCU is in sleep mode, the control terminal SC_CTL is in a floating input state. At this time, the power switch is controlled by the visual card entry and exit control signal NFC_EN, that is:
[0106] If the video card is present, NFC_EN is at a low level, the power switch and the control switch are both turned off, the working power supply terminal VDD is disconnected from the power supply terminal VCC_SC of the display module, and the display module is powered off;
[0107] If a visual card enters the scene, NFC_EN is at a high level, the power switch and the control switch are both turned on, the working power supply terminal VDD is connected to the power supply terminal VCC_SC of the display module, and thus the display module is powered;
[0108] When the low-power MCU is in a normal working state, the control terminal SC_CTL is in an output state. At this time, the on and off of the power switch is controlled by the control terminal SC_CTL of the low-power MCU, that is:
[0109] When the control signal SC_CTL is low, the power switch is turned on, and the working power supply terminal is connected to the power supply terminal VCC_SC of the display module, so that the display module is powered for screen display;
[0110] When a high level is sent to the control terminal SC_CTL, the power switch is turned off, the working power terminal is disconnected from the power supply terminal VCC_SC of the display module, and the display module is powered off. The display module in this embodiment is a display device such as an electronic screen installed on a video card.
[0111] The video card disclosed in the utility model is integrated with a low-power consumption control module, which realizes automatic switching of the power supply mode of the video card according to the entry and exit of the card, so that the card does not use battery power when working in the venue. After leaving the venue, the power supply of the security chip and the display module is turned on or off as needed, thereby controlling power consumption, greatly reducing the power usage of the video card, and extending the service life of the card.
[0112] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0113] Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is intended to include such modifications and variations.
Claims
1. A low-power contactless active visual card supporting QR code payment, characterized in that: include: Power supply module, low-power MCU, security chip, clock module, QR code generation module, display module and button module, The power supply module is electrically connected to the low-power MCU, the security chip, the clock module, and the display module, respectively, to supply power to the low-power MCU, the security chip, the clock module, and the display module; The security chip is provided with an NFC antenna, which is used to obtain transaction parameter information from an external card reader and output the transaction parameter information to the security chip; The clock module is communicatively connected to the low-power MCU and is used to generate a time factor; The button module is in communication with the security chip and is used to trigger a QR code generation instruction; The security chip is in communication with the key module, the security chip receives the QR code generation instruction from the key module, and outputs the QR code generation instruction to the low-power MCU; The low-power MCU is communicatively connected to the security chip, the low-power MCU receives the QR code generation instruction and obtains the time factor provided by the clock module based on the QR code generation instruction, and provides the time factor to the security chip; The QR code generation module is in communication with the security chip and the low-power MCU. The QR code generation module receives the time factor and transaction parameter information of the security chip, encrypts and calculates the time factor and transaction parameter information, generates QR code data, and transmits the QR code data to the low-power MCU. The display module is communicatively connected to the low-power MCU, and receives and displays a graphical two-dimensional code generated by the low-power MCU based on the two-dimensional code data.
2. The visual card according to claim 1, wherein: It also includes a reset module, which includes three ports, one of which is connected to the key module, and the other two ports are electrically connected to different pins of the low-power MCU. The reset module is used to send the excited control signal to the low-power MCU, thereby completing the reset and restart of the low-power MCU.
3. The video card according to claim 2, wherein: The reset module is used to complete the reset of the low-power MCU, and includes: an RC charge and discharge circuit, a reset switch, and a set end connected to the reset switch. The key module and the set end jointly control the on and off of the reset switch. The on and off signal of the reset switch controls the charging and discharging of the RC charge and discharge circuit, thereby causing the low-power MCU reset signal to change between high and low, ultimately controlling the reset state of the low-power MCU.
4. The visual card according to claim 3, wherein: The gate of the reset switch Q3 is connected to the switch control terminal KEY, which is controlled by the key module and grounded through the third resistor R3. Its source is connected to the set terminal R_BOOT, and its drain is connected to the control terminal REST_MCU for controlling the reset state of the low-power MCU. The control terminal REST_MCU is connected to the capacitor C and then grounded, and is connected to the working power supply terminal VDD through the fourth resistor R4.
5. The video card according to claim 1, wherein: It also includes a first low-power control module, the relevant ports of which are respectively connected to the low-power MCU, the power supply module and the security chip, and controls the power supply state of the security chip in combination with the entry and exit signals sent by the NFC antenna; the power supply state includes power on and power off of the security chip.
6. The video card according to claim 5, wherein: The first low-power control module includes: a power switch, a working power supply terminal VDD, and a power control circuit. The output terminal of the power switch is connected to the security chip, the working power supply terminal VDD is connected to the input terminal of the power switch, and the working power supply terminal VDD is powered by the power supply module. The power control circuit is connected to the power switch. The power control circuit includes two signal verification ports and a control switch. One verification port sends different control signals to the control terminal SE_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch. The other verification port controls the on and off of the control switch according to the entry and exit control terminal NFC_EN. The power supply status of the security chip is determined by the on and off of the power switch and the control switch.
7. The video card according to claim 6, wherein: The power control circuit includes a power switch Q1 and a control switch Q2. The gate of the control switch Q2 is connected to the visual card entry and exit control terminal NFC_EN. The drain of the control switch Q2 is connected to the gate of the power switch Q1, with a first resistor R1 disposed therebetween. A control terminal SE_CTL is connected between the first resistor R1 and the gate of the power switch Q1. The source of the power switch Q1 is connected to the working power terminal VDD, and the drain of the power switch Q1 is connected to the power supply terminal VCC_SE. The control terminal SE_CTL is controlled by a low-power MCU. The opening and closing of the power switch Q1 are determined by the control terminal SE_CTL and the entry and exit control terminal NFC_EN through the combinational logic behind the control switch Q2. The power supply terminal VCC_SE is the port that supplies power to the security chip.
8. The video card according to claim 1, wherein: It also includes a second low-power control module, the relevant ports of which are respectively connected to the low-power MCU, power supply module and display module, and control the display state of the display module in combination with the entry and exit signals of the visual card.
9. The video card according to claim 8, wherein: The second low-power control module is used to control the power on and off state of the display module, and specifically includes: a power switch, a working power supply terminal VDD and a power control circuit. The output end of the power switch is connected to the display module, the working power supply terminal VDD is connected to the input end of the power switch, and the working power supply terminal VDD is powered by the power supply module. The power control circuit is connected to the power switch, and the power control circuit includes two signal verification ports and a control switch. One of the verification ports sends different control signals to the control terminal SC_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch. The other verification port controls the on and off of the control switch according to the entry and exit control terminal NFC_EN, and the power supply state of the display module is jointly determined by the on and off of the power switch and the control switch.
10. The video card according to claim 9, wherein: The power control circuit includes a power switch Q1 and a control switch Q2. The gate of the control switch Q2 is connected to the visual card entry and exit control terminal NFC_EN. The drain of the control switch Q2 is connected to the gate of the power switch Q1, with a first resistor R1 disposed therebetween. A control terminal SC_CTL is connected between the first resistor R1 and the gate of the power switch Q1. The source of the power switch Q1 is connected to the working power terminal VDD, and the drain of the power switch Q1 is connected to the power supply terminal VCC_SC. The control terminal SC_CTL is controlled by a low-power MCU. The opening and closing of the power switch Q1 are determined by the control terminal SC_CTL and the entry and exit control terminal NFC_EN through the combinational logic behind the control switch Q2. The power supply terminal VCC_SC is the port that supplies power to the display module.