Low-power-consumption non-contact active visual card and firmware upgrading method corresponding to MCU

By introducing low-power MCU and automatic power supply switching modules into the visual card, the problems of low-power consumption and MCU firmware update in the existing technology are solved, and the long life and high reliability of the visual card are realized, and diverse applications are supported. Scene.

CN119129631APending Publication Date: 2024-12-13HENGBAO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411156909.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The prior art cannot realize low power consumption power saving functions and MCU firmware updates, resulting in short service life and poor reliability of visual cards.

Method used

A low-power non-contact active visual card is designed, including a power supply module, a low-power MCU, a security chip and a key module. It can conduct wireless communication and data transmission through an NFC antenna to realize automatic power supply switching and reset of MCU and Firmware upgrade.

Benefits of technology

It realizes the low power consumption and power saving function of the visual card, extends the service life, and improves the convenience and reliability of the visual card, and supports real-time program updates of the MCU.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119129631A_ABST
    Figure CN119129631A_ABST
Patent Text Reader

Abstract

The invention discloses a low-power-consumption non-contact active visual card and a firmware upgrading method of a corresponding MCU, a power supply module of the visual card is used for supplying power to the low-power-consumption MCU, a security chip and a display screen, the security chip and an NFC antenna carry out wireless communication and data transmission, the NFC antenna sends related instructions to the security chip in a non-contact mode, and the security chip is connected with the display screen. The safety chip analyzes the received related instruction, the low-power-consumption MCU completes the corresponding operation of the related instruction after receiving the analyzed related instruction, the key module sends the excited state signal to the low-power-consumption MCU and assists the low-power-consumption MCU to complete state switching, and the states of the low-power-consumption MCU comprise the normal working state and the extremely-low-power-consumption state. The visual card disclosed by the invention is integrated with the low-power-consumption control module, so that the card does not use the electric quantity of a battery when working in a field, and the power supply of the SE chip or the power supply of the display screen is turned on or turned off as required after leaving the field, thereby controlling the consumption of the electric quantity, greatly reducing the use of the electric quantity of the visual card, and prolonging the service life of the card.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video cards, and in particular to a low-power contactless active video card and a firmware upgrade method of a corresponding MCU. 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 because they have a display screen. They can also display various prompt information, QR codes, pictures and other related content according to the usage scenario. Therefore, they have obvious and irreplaceable advantages in practical applications.

[0003] Common visual cards are the same as common bank cards. From the perspective of power supply, they can be divided into active visual cards, that is, the card has an independent battery inside to power the card when it is working, and passive visual cards, that is, the card only needs to be powered by a contactless field when it is working; from the perspective of data communication mode, they can be divided into single-interface cards with only contactless communication and dual-interface cards with both contactless and contact communication modes; since dual-interface visual cards can be powered directly through a card reader, there are usually no special requirements for power supply and power consumption; existing single-interface visual cards are basically passive visual cards, and due to their single function, their related transactions and operations can be completed on the card reader, and the NFC contactless power supply circuit can meet the power needs of passive visual cards. However, as people's demands for visual card functions become more and more diverse, visual cards need to be applicable to various complex scenarios, and passive visual cards with a single function cannot meet existing needs.

[0004] For example, the Chinese invention patent with application number 202011205656.9 discloses a dual-source visual card. Through the combined design of the power module and the NFC module, it can reduce battery loss and extend battery life. It can also ensure that when the external field strength is insufficient, there is still enough current to drive the screen to ensure normal display. Its main purpose is to solve the power supply control selection; the invention patent with authorization number CN107025483B discloses a visual card and its working method, which solves the technical problem that it cannot be displayed without leaving the magnetic field. The specific means is to control the power supply conduction through the power management module, and control the power supply when the departure signal is monitored. The invention patent with publication number US9627916B2 discloses an electronic card with a charging mechanism, and provides an electronic card including an antenna, a chip, a charging circuit and a battery. The antenna receives an external electrical signal, the chip is coupled to the antenna to receive the external telecommunication signal and provide a demodulated electrical signal, the charging circuit is coupled to the chip, receives the demodulated electrical signal and converts it into charging power, the battery is coupled to the charging circuit, wherein the charging circuit provides charging power to the battery according to the remaining power of the battery, thereby charging the battery, in this way, due to the exhaustion of the battery power, the electronic card may not need to be replaced, thereby increasing the service life of the electronic card, therefore, the above-mentioned prior art does not involve the relevant content of program update and low power consumption control.

[0005] Therefore, the research and development of active video cards that can realize various complex application scenarios and provide multiple functions is imminent. Active means having its own battery. In order to achieve a sufficiently long usage time, within the optional battery power range, low power consumption is indeed an issue that must be considered. Therefore, the present application urgently needs to provide a low-power contactless active video card. Summary of the invention

[0006] Purpose of the invention: In order to overcome the shortcomings of the prior art, the present invention provides a low-power contactless active video card, which solves the problems in the prior art that the low-power power saving function of the entire video card cannot be realized and the low-power MCU firmware update has a lag, resulting in a short service life and poor reliability of the video card.

[0007] Technical solution: According to a first aspect of the present invention, a low-power contactless active visual card is provided, comprising: a power supply module, a low-power MCU, a security chip and a key module, wherein the power supply module is used to supply power to the low-power MCU and the security chip, the security chip performs wireless communication and data transmission with an NFC antenna, the NFC antenna sends relevant instructions to the security chip in a contactless manner, the security chip parses the received relevant instructions and sends them to the low-power MCU in accordance with the communication method between the security chip and the low-power MCU, after receiving the parsed relevant instructions, the low-power MCU completes the corresponding operation of the relevant instructions, the key module sends its excited state signal to the low-power MCU to assist the low-power MCU in completing state switching, and the state of the low-power MCU includes a normal working state and an extremely low power consumption state.

[0008] Further, including:

[0009] The power supply module includes a built-in battery power supply circuit and a contactless on-site power supply circuit. The built-in battery power supply circuit is used to power the low-power MCU when working away from the site and in an extremely low-power state, and the contactless on-site power supply circuit is used to power other required modules and the low-power MCU in a normal working state.

[0010] According to a second aspect of the present invention, there is provided a low-power contactless active visual card capable of controlling the power supply state of a security chip, comprising the low-power contactless active visual card according to the first aspect of the present invention and a low-power control module, wherein the low-power control module is used to control the power on and off state of the security chip, and specifically comprises a power switch, a working power supply terminal and a power control circuit, wherein the output terminal of the power switch is connected to the security chip, the working power supply terminal is connected to the input terminal of the power switch, and the working power supply terminal is powered by the power supply circuit, the power control circuit is connected to the power switch, and the power control circuit comprises two signal verification ports and a control switch, wherein one verification port is used to send 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, and the other verification port is used to control the on and off of the control switch according to the signal of the entry and exit control terminal NFC_EN, and the power off or power on of the security chip is jointly determined by the on and off of the power switch and the control switch.

[0011] Further, including;

[0012] The method for the low power consumption control module to control the power on and off state of the security chip is:

[0013] 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:

[0014] If the visual card is out, NFC_EN is at a low level, the power switch and the control switch are both turned off, the working power supply terminal is disconnected from the power supply terminal VCC_SE of the security chip, and the security chip is powered off;

[0015] 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_SE of the security chip, so that the security chip is powered;

[0016] 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 terminal SE_CTL of the low-power MCU, that is:

[0017] When a low level is sent to the control terminal SE_CTL, the power switch is turned on, and the working power terminal is connected to the power supply terminal VCC_SE of the security chip, so that the security chip is powered;

[0018] When a high level is sent to the control terminal SE_CTL, the power switch is turned off, the working power terminal is disconnected from the power supply terminal VCC_SE of the security chip, and thus the security chip is powered off.

[0019] According to a third aspect of the present invention, there is also provided a low-power contactless active visual card capable of controlling the power supply state of a display module, comprising the active visual card according to the first aspect or the second aspect of the present invention, a display module and a low-power control module, wherein the display module is communicatively connected to the low-power MCU and is used to display transaction information, and the low-power control module is used to control the power on and off state of the display module, and specifically comprises a power switch, a working power supply terminal and a power control circuit, wherein the output terminal of the power switch is connected to the display module, the working power supply terminal VDD is connected to the input terminal of the power switch, and the working power supply terminal is powered by the power supply circuit, the power control circuit is connected to the power switch, and the power control circuit comprises two signal verification ports and a control switch, wherein one verification port is used to send 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, and the other verification port is used to control the on and off of the control switch according to the signal of the entry and exit control terminal NFC_EN, and the power off or power supply of the security chip is jointly determined by the on and off of the power switch and the control switch.

[0020] Further, including:

[0021] The method for the low power consumption control module to control the power on and off state of the display module is:

[0022] When the low-power MCU is in sleep mode, the control terminal SC_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:

[0023] If the visual card is out, NFC_EN is at a low level, the power switch and the control switch are both turned off, the working power supply terminal is disconnected from the power supply terminal VCC_SC of the display module, and the display module is powered off;

[0024] 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 is connected to the power supply terminal VCC_SC of the display module, so that the display module is powered;

[0025] 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:

[0026] When a low level is sent to the control terminal SC_CTL, the power switch is turned on, and the working power terminal is connected to the power supply terminal VCC_SC of the display module, so that the display module is powered;

[0027] 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 thus the display module is powered off.

[0028] According to a fourth aspect of the present invention, a low-power contactless active visual card for realizing a reset function is provided, comprising the active visual card of the first aspect of the present invention and a reset module, wherein the reset module is used to complete the reset of the low-power MCU, and comprises: an RC charge and discharge circuit, a reset switch, and a set end connected to the reset switch, wherein the key module and the set end jointly control the on and off of the reset switch, and the on and off signal of the reset switch controls the charging and discharging of the RC charge and discharge circuit, thereby causing the reset signal of the low-power MCU to change between high and low, and finally controlling the reset state of the low-power MCU. In a fifth aspect of the present invention, a low-power contactless active visual card for realizing a reset function is provided, comprising the active visual card and a reset module as described in the second aspect of the present invention, wherein the reset module is used to complete the reset of the low-power MCU, and comprises: an RC charge-discharge circuit, a reset switch, and a set end connected to the reset switch, wherein the key module and the set end jointly control the on-off of the reset switch, and the on-off signal of the reset switch controls the charging and discharging of the RC charge-discharge circuit, thereby causing the reset signal of the low-power MCU to change from high to low, and finally controlling the reset state of the low-power MCU.

[0029] Further, including:

[0030] The button module and the set end simultaneously control the on and off of the reset switch, specifically including:

[0031] When the low-power MCU receives a reset instruction, the set end is in a low level state, and the corresponding electrical signal of the key module is set to a high level by pressing the key module. At this time, the reset switch is turned on, the reset signal at the low-power MCU is pulled down, and the electric charge of the capacitor in the RC charge-discharge circuit is released;

[0032] When the button module is released, the corresponding electrical signal is set to a low level. At this time, the reset switch is disconnected, and the capacitor in the RC charge and discharge circuit is recharged through the resistor in the RC charge and discharge circuit, so that the reset signal at the low-power MCU changes from a low level to a high level, thereby completing the resetting of the low-power MCU.

[0033] A fifth aspect of the present invention provides a method for implementing MCU firmware upgrade according to an active video card, the method comprising the following steps:

[0034] When the low-power MCU receives the firmware upgrade instruction sent by the security chip, the set end is set to a low level state, and the corresponding reset signal is set to a high level by pressing the key module. At this time, the reset switch is turned on, the reset signal at the low-power MCU is pulled down, and the electric charge of the capacitor in the RC charge-discharge circuit is released;

[0035] Release the button module, and its corresponding reset signal is set to a low level. At this time, the reset switch is disconnected, and the capacitor is recharged through the resistor in the RC charge and discharge circuit, so that the reset signal at the low-power MCU changes from a low level to a high level, thereby completing the resetting of the low-power MCU.

[0036] Further, including:

[0037] The NFC antenna first interacts with the driver and private instructions of the low-power MCU that have been converted into a standard format according to a set format, and sends them to the security chip through a contactless communication method;

[0038] The security chip parses the received private instruction, and then sends it to the low-power MCU according to the communication method between the security chip and the low-power MCU, so that the low-power MCU receives the firmware upgrade instruction sent by the security chip.

[0039] Further, including:

[0040] The conditions that need to be met by the communication method between the security chip and the low-power MCU include: first, a suitable communication protocol or communication method between the security chip and the low-power MCU is met, including UART, SPI, I2C or SWD; second, the low-power MCU needs to support the corresponding protocol format in Bootloader mode; if the Bootloader mode does not support the currently commonly used protocol mode, it is necessary to redesign or agree on a suitable communication protocol or communication method.

[0041] Further, including:

[0042] The firmware upgrade method also includes the following steps:

[0043] S1: When the low-power MCU is in the Bootloader state, the firmware upgrade instruction is sent according to the communication protocol between the security chip and the Bootloader of the low-power MCU and the connection is confirmed; and the subsequent instruction formats sent by the security chip must be interacted according to the communication protocol format in the Bootloader state of the low-power MCU;

[0044] S2 confirms whether the start page of the driver program space of the low-power MCU is empty. If not, erase the old data in the low-power MCU; otherwise, proceed to the next step if it is empty;

[0045] S3 writes the driver to be updated in sequence from the starting address of the low-power MCU to update the driver;

[0046] After the driver program is updated in S4, the state of the low-power MCU is switched from the Bootloader state to the main program state, and the low-power MCU is restarted to execute the updated driver program.

[0047] Further, including:

[0048] The NFC antenna sends the relevant private instructions to the security chip. At this time, the visual card enters the field. Therefore, the entry and exit control terminal NFC_EN in the low-power control module is at a high level. Based on this, the low-power MCU enters the Bootloader state from the following two situations:

[0049] When there is already a program in the low-power MCU, and at this time the power switch and the control switch in the low-power control module are both turned on, the working power supply terminal is connected to the power supply terminal of the security chip, so as to power the security chip, and the low-power MCU receives the firmware upgrade instruction sent by the security chip;

[0050] After receiving the firmware upgrade instruction, the low-power MCU performs a system reset on the low-power MCU according to the reset module and the key module, thereby entering the Bootloader state;

[0051] When the low-power MCU is a blank chip, when the low-power MCU is powered on, it directly enters the Bootloader state.

[0052] Beneficial effects: Compared with the prior art, the present invention has the following advantages:

[0053] (1) The video card disclosed in the present invention is integrated with a low-power control module, which can realize automatic switching of the power supply mode of the video 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 and greatly reducing the power consumption of the video card, thereby extending the service life of the card;

[0054] (2) The present invention discloses a reset module of a low-power MCU and a corresponding driver program upgrade method, which realizes firmware upgrade of the matching low-power MCU in the card in a contactless manner through a security chip, and can perform real-time update of the low-power MCU program according to the actual application scenarios and needs of the visual card, thereby improving the convenience, diversity and reliability of the use of the visual card, and also providing a better solution for the personalized customization of the visual card. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 This is a module schematic diagram of the low-power contactless active video card according to Embodiment 1 of the present invention;

[0056] Figure 2 A circuit diagram corresponding to the low power consumption control module of the control security chip described in Embodiment 2 of the present invention;

[0057] Figure 3 This is a schematic flow chart of the low power consumption control principle of the control security chip according to Embodiment 2 of the present invention;

[0058] Figure 4 A circuit diagram corresponding to the reset module described in Embodiment 3 of the present invention;

[0059] Figure 5 This is a schematic diagram of the reset principle flow chart of Embodiment 3 of the present invention;

[0060] Figure 6 This is a schematic diagram of the connection relationship between the components when the firmware of the low-power MCU according to Embodiment 5 of the present invention is upgraded;

[0061] Figure 7 This is a flow chart of a control method corresponding to the low power consumption control module for controlling a security chip according to Embodiment 2 of the present invention;

[0062] Figure 8 This is a flow chart of the method corresponding to the low-power MCU entering the Bootloader state described in Example 5 of the present invention;

[0063] Fig. 9 This is a flow chart of the reset method of the low-power MCU described in Example 5 of the present invention;

[0064] Fig.10 This is a flow chart of the low-power MCU firmware update method described in Example 5 of the present invention;

[0065] Fig.11 This is a circuit diagram of the low power consumption control module for controlling the display module according to Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0066] 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 described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] The present application provides a low-power contactless active video card, which is active, that is, it has its own battery. In order to achieve a sufficiently long use time, within the optional battery power range, low power consumption is indeed an issue that must be considered. In addition to the security component SE, it is necessary to consider adding a low-power microcontroller MCU. The low-power active single-interface video card currently has two technical difficulties:

[0068] (1) Extremely high requirements for low power consumption control: Due to the limited size of the card and the small battery capacity, the battery-powered single-interface contactless active video card will inevitably have higher requirements for battery life and the upgrade of the supporting high-performance MCU chip, such as reducing the card power consumption as much as possible to extend the card usage time; more conveniently upgrading and updating the supporting MCU firmware to facilitate the application upgrade of the card and expand more functions, etc.

[0069] (2) MCU chip upgrade: Since the card is single-interface and contactless, after the card leaves the factory, the MCU can only be upgraded through communication with the SE connected to it using contactless NFC. At the same time, due to the chip reset and the dual power supply of the battery and NFC coil, the difficulty of circuit control and switching is greatly increased.

[0070] That is, the most commonly used method for updating MCU data is the Serial Debug Interface (SWD). For a packaged card, the MCU code usually needs to be "burned" in advance, which is a one-time and cannot be changed. This subsequent update of the MCU data is almost impossible.

[0071] In this type of active video card, the MCU is usually indispensable and plays a core role. It takes a certain amount of time to seal the card, and because the MCU cannot be updated, the number of sealed cards must be determined according to the number of cards issued. If there is a subsequent upgrade, the MCU needs to be updated once and then sealed again, which has a certain lag. In view of the defects in the prior art, this application proposes the following solution.

[0072] Example 1

[0073] like Figure 1 As shown, the present invention provides a low-power contactless active visual card, including: a power supply module, a low-power MCU, a security chip and a key module, the power supply module is used to power the low-power MCU and the security chip, the security chip, that is, a security element Secure Element, referred to as SE, is usually provided in the form of a chip, and performs wireless communication and data transmission with an NFC antenna, the NFC antenna sends relevant instructions to the security chip in a contactless manner, the form of the NFC antenna is not limited, as long as it can achieve data communication with the security chip, the security chip parses the received relevant instructions, and sends them to the low-power MCU according to the communication method between the security chip and the low-power MCU, after receiving the parsed relevant instructions, the low-power MCU completes the corresponding operation of the relevant instructions, the key module sends its excited state signal to the low-power MCU, and assists the low-power MCU to complete state switching, in this embodiment, the key module is a key switch, the state of the low-power MCU includes a normal working state and an extremely low power consumption state, and the extremely low power consumption state is a dormant state.

[0074] In this embodiment, the power supply module includes a built-in battery power supply circuit and a contactless on-site power supply circuit, wherein the built-in battery power supply circuit is used to power the low-power MCU in the off-site operation and extremely low-power state, and the contactless on-site power supply circuit is used to power other required modules and the low-power MCU in the normal working state. The contactless on-site power supply circuit forms a loop when the contactless NFC antenna senses the external device, and powers the low-power MCU and the security chip SE.

[0075] The above-mentioned low-power active visual card needs a built-in battery. In order to save power and extend the service life of the card, the card is usually in a low-power sleep state; although the card shows the shutdown state, the built-in battery is actually always supplying power to the MCU, that is, the low-power MCU is actually always in a low-power sleep working state. In the low-power sleep state, the power of peripheral circuits such as the security chip and display module are all turned off, and the entire card is in an extremely low-power state; only after the MCU is awakened by the key switch and the entry and exit signals, will it enter the normal working state. The external signal is the entry control signal when the active visual card enters the field or the exit control signal when it exits.

[0076] Example 2

[0077] Based on the first embodiment, the present invention also provides another low-power contactless active video card, which also includes a low-power control module, such as Figure 3 As shown, the low-power control module is used to control the power-on and power-off state of the security chip, and specifically includes: a power switch, a working power supply terminal VDD and a power control circuit, wherein the power switch is connected to the security chip, and the power control circuit is connected to the power switch, and the power control circuit includes two signal verification ports and a control switch, wherein one verification port gives different control terminals SE_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch, and 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-off or power-on of the security chip is jointly determined by the on and off of the power switch and the control switch.

[0078] Furthermore, in this embodiment, the method in which the low power consumption control module controls the power on and off state of the security chip is:

[0079] 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:

[0080] If the visual card is out, 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;

[0081] 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, so that the security chip is powered;

[0082] 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:

[0083] 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, so that the security chip is powered;

[0084] 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.

[0085] Specifically, the low power consumption control module of this embodiment may 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, and a first resistor R1 is arranged between them, 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, the working power terminal VDD and the control terminal SE_CTL are provided with a second resistor R2, 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 the low-power MCU, the opening and closing of the power switch Q1 is determined by the control signal of the control terminal SE_CTL and the signal of the entry and exit control terminal NFC_EN through the combination logic of the control switch Q2, and the power supply terminal VCC_SE is used to power the security chip.

[0086] The power switch and the control switch in the embodiment of the present invention are voltage-controlled switches, such as MOS tubes.

[0087] In this embodiment, if Figure 7 As shown, the control method corresponding to the control circuit includes:

[0088] When the low-power MCU is in sleep mode, the control terminal SE_CTL is in input floating state, and the on-off of the power switch Q1 is controlled by the visual card entry and exit control terminal NFC_EN, that is:

[0089] When the visual card is out, 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;

[0090] 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 the security chip is powered;

[0091] 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:

[0092] 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 the security chip is powered;

[0093] 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.

[0094] Therefore, the circuit implements:

[0095] When the low-power MCU of the visual card is in sleep mode, that is, not in use, and the visual card is placed on the card reader, that is, when entering the field, NFC_EN automatically turns on the power supply of the security chip SE to ensure that the security chip SE wakes up the low-power MCU and communicates and interacts with the low-power MCU normally;

[0096] 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;

[0097] 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.

[0098] Therefore, the present invention adopts an ultra-low power MCU as a power management main control chip, which can reduce the power consumption of the processor itself to the maximum extent while performing more effective power management control on the security chip SE; the active visual card is powered by a battery when not communicating with the card reader, i.e., when it is used without a field, and the system is powered by a non-contact field when communicating with the card reader, i.e., in a field;

[0099] 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 power conservation.

[0100] On the basis of the above structure, this embodiment further includes a display module, i.e., a transaction information display screen, which is connected to a low-power MCU. Similarly, in order to save power, it can also be connected to a low-power control module, which is similar to the power-on and power-off control method of the security chip. The specific scheme is as follows:

[0101] The display module is connected to the low-power MCU for displaying transaction information, and the low-power control module is used to control the power-on and power-off status of the display module. Fig.11 As shown, it specifically includes 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 which is a verification port for giving 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, and the other verification port is for controlling the on and off of the control switch according to the high and low signal of the entry and exit control end NFC_EN, and the power-off or power-on of the display module is jointly determined by the on and off of the power switch and the control switch.

[0102] Furthermore, this embodiment includes:

[0103] The method for the low power consumption control module to control the power on and off state of the display module is:

[0104] When the low-power MCU is in sleep mode, the control terminal SC_CTL is in input floating state, and the power switch is controlled by the visual card entry and exit control signal NFC_EN, that is:

[0105] If the visual card is out, 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;

[0106] 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, so that the display module is powered;

[0107] 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:

[0108] When the control signal SC_CTL is sent to a low level, 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;

[0109] 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.

[0110] Example 3

[0111] Based on the first embodiment, this embodiment provides a low-power non-contact active video card that realizes the reset function, including a reset module, such as Figure 5 As shown, the reset module is used to complete the reset of the low-power MCU, which includes: a reset switch, and a set end connected to the reset switch, the button module and the set end simultaneously control the on and off of the reset switch, the on and off signal of the reset switch controls the charging or discharging of the RC charge and discharge circuit, the RC charge and discharge circuit includes a grounded capacitor C and a fourth resistor R4 connected to the working power supply end, and the RC charge and discharge circuit is used to charge and discharge to change the voltage of the control end REST_MCU, that is, the voltage of the reset pin of the low-power MCU, and the reset state of the low-power MCU is controlled by the high and low changes of the low-power MCU electrical signal. Since the reset needs to be reliable, it takes a certain time for R to charge C, so that the level of the low-power MCU changes from low to high, that is, it also takes a certain response time to complete the reset.

[0112] Specifically, Figure 4 As shown, in this embodiment, the reset module includes: a reset switch Q3, the gate of the reset switch Q3 is connected to the switch control terminal KEY, the switch control terminal KEY is controlled by the key module, the gate of the reset switch Q3 is grounded through the third resistor R3, the source of the reset switch Q3 is connected to the set terminal R_BOOT, and its drain is connected to the control terminal REST_MCU that controls the reset state of the low-power MCU, the control terminal REST_MCU is connected to the capacitor C and then grounded, and connected to the working power supply terminal VDD through the fourth resistor R4. Among them, the control terminal REST_MCU can be a reset pin in the low-power MCU. The reset switch in the embodiment of the present invention adopts a voltage-controlled switch, such as a MOS tube.

[0113] like Fig. 9As shown, the reset method based on the implementation of the reset circuit described in the embodiment of the present invention includes:

[0114] First, perform a power-on reset, including:

[0115] When the low-power MCU is powered on, the reset switch Q3 is grounded via the third resistor R3, and the reset switch Q3 is in a closed state;

[0116] At this time, the fourth resistor R4 charges the capacitor C, so the signal of the control terminal REST_MCU changes from a low level to a high level, thereby realizing a normal reset of the low-power MCU.

[0117] Then, perform a command reset, including:

[0118] When the low-power MCU receives the reset command from the security chip, it pulls down the signal of the set terminal R_BOOT, making the set terminal R_BOOT in a low level state;

[0119] When the key switch of the card is pressed, KEY is set to a high level, and the reset switch Q3 is turned on, the RC charge-discharge circuit discharges, the charge of capacitor C is released, and the control end REST_MCU is pulled to a low level;

[0120] After releasing the key switch, KEY is set to a low level, at which time the reset switch Q3 is closed, the RC charging and discharging circuit discharges and charges, and the capacitor C is recharged through the fourth resistor R4, so that the signal of the control end REST_MCU changes from low to high, and the low-power MCU completes the resetting;

[0121] After the low-power MCU is reset, the state of the set terminal R_BOOT is reset to a high level, and the low-power MCU enters a normal working state.

[0122] According to this embodiment, resetting requires two conditions. First, the setting end R_BOOT is at a low level, and then the key module is pressed, that is, KEY is set to a high level, and the reset switch Q3 is turned off. At this time, the control end REST_MCU is pulled to a low level, and then KEY is set to a low level, and the reset switch Q3 is turned on. At this time, the level of the control end REST_MCU changes from low to high, and the low-power MCU is reset successfully. After the reset is successful, R_BOOT is set to a high level.

[0123] This embodiment provides a circuit and a corresponding method for resetting a low-power MCU, the main function of which is to restore the circuit to the initial state, which is essential for the normal operation of the digital circuit. The reset circuit provides a mechanism so that the circuit can return to a known, stable state from any state when needed, thereby ensuring the reliability and stability of the MCU, and the reset circuit successfully resetting the low-power MCU is a prerequisite for firmware upgrades.

[0124] Example 4

[0125] On the basis of Embodiment 2 and Embodiment 3, a low-power contactless active visual card is provided, which includes the low-power control module in Embodiment 2 and the reset module in Embodiment 3. The combination of the two main modules realizes that when the security chip sends a firmware upgrade instruction to the low-power MCU, the low-power MCU realizes the reliable reset and restart function of the low-power MCU through the set signal of the set terminal R_BOOT and the cooperation of the key module, thereby realizing the MCU entering the Bootloader state and completing the firmware upgrade process.

[0126] Example 5

[0127] Therefore, the present invention discloses a convenient and feasible way to upgrade the firmware of MCU. In this way, when the circuit architecture is no longer modified, the card can be packaged during the product development process, and after the security chip SE is updated with data like a common IC card, the data of the low-power MCU can be updated, which is conducive to the conduct and completion of the test. If a problem occurs during the test, if the MCU needs to be modified, the MCU can be updated again after the driver is modified. In this way, the product development cycle is shortened and the efficiency of research and development is improved.

[0128] According to embodiment 4, the embodiment of the present invention also provides a method for firmware upgrade, such as Figure 6 As shown, the method comprises the following steps:

[0129] When the low-power MCU receives the firmware upgrade instruction sent by the security chip, the set end is in a low level state, and the corresponding electrical signal of the key module is set to a high level by pressing the key module. At this time, the reset switch is turned on, the reset signal at the low-power MCU is pulled down, and the charge of the capacitor is released;

[0130] When the button module is released, the corresponding electrical signal is set to a low level. At this time, the reset switch is disconnected, and the capacitor C is recharged through the fourth resistor R4, so that the reset signal at the low-power MCU changes from a low level to a high level, thereby completing the resetting of the low-power MCU.

[0131] In this embodiment, the NFC antenna first exchanges the private instructions of the MCU upgrade firmware program and data converted into a standard format according to a set format, and sends them to the security chip via contactless communication; wherein the standard format is the APDU format.

[0132] The security chip parses the received private instruction, and then sends it to the low-power MCU according to the communication method between the security chip and the low-power MCU, so that the low-power MCU receives the firmware upgrade instruction sent by the security chip.

[0133] Furthermore, in this embodiment, the conditions that need to be met by the communication method between the security chip and the low-power MCU include: first, a suitable communication protocol or communication method between the security chip and the low-power MCU is met, including UART, SPI, I2C or SWD; secondly, the low-power MCU is required to support the corresponding protocol format in Bootloader mode; if the Bootloader mode does not support the currently commonly used protocol mode, it is necessary to redesign or agree on a suitable communication protocol or communication method.

[0134] On the basis of the above, if Fig.10 As shown, the MCU firmware upgrade method described in this embodiment also includes the following steps:

[0135] S1: When the low-power MCU is in the Bootloader state, the private instruction is sent according to the communication protocol between the security chip and the Bootloader of the low-power MCU and the connection is confirmed; and the format of the instructions sent by the security chip subsequently needs to be interacted according to the communication protocol format in the Bootloader state of the low-power MCU;

[0136] S2 confirms whether the start page of the low-power MCU program space is empty. If not, erase the old data in the low-power MCU; otherwise, proceed to the next step if it is empty;

[0137] S3 writes the data to be updated sequentially from the starting address of the low-power MCU to update the program;

[0138] After the S4 program update is completed, the state of the low-power MCU is switched from the Bootloader state to the main program state, and the low-power MCU is restarted to execute the updated code.

[0139] Furthermore, in this embodiment, the NFC antenna sends the relevant private instructions to the security chip. At this time, the visual card enters the field. Therefore, the entry and exit control signal NFC_EN in the low-power control module is high. Based on this, the low-power MCU enters the Bootloader state from the following two situations: Figure 8 As shown:

[0140] When there is already a program in the low-power MCU, and at this time the power switch and the control switch in the low-power control module are both turned on, the working power supply terminal is connected to the power supply terminal of the security chip, so as to power the security chip, and the low-power MCU receives the private instruction of the data sent by the security chip;

[0141] After receiving the private instruction of the data, the low-power MCU performs a system reset on the low-power MCU according to the reset circuit and the key module, thereby entering the Bootloader state;

[0142] When the low-power MCU is a blank chip, when the low-power MCU is powered on, it directly enters the Bootloader state.

[0143] Specifically, the data update process of the security chip to the low-power MCU is as follows:

[0144] The security chip SE will parse the APDU command received from the contactless NFC card reader to confirm that it needs to be passed to the MCU, and perform the following processing according to the custom APDU command format:

[0145] 1) The visual card is placed in the card reader for upgrading. At this time, it is in the entry state. The MCU enters the Bootloader state in the following two ways;

[0146] I. When the low-power MCU already has a program, the power control circuit wakes up the low-power MCU from the contactless power supply and powers on the SE chip, and receives the data and instructions sent by the SE;

[0147] The security chip SE sends an upgraded private format instruction to the low-power MCU main program. After receiving the instruction, the low-power MCU program will set the MCU reset pin and wait for the user to press the button to confirm, then reset the low-power MCU system and enter the Bootloader state;

[0148] II. When the low-power MCU is blank, the low-power MCU is powered on and directly enters the Bootloader state;

[0149] 2) When the low-power MCU is in the Bootloader state, a connection instruction is sent and the connection is confirmed according to the communication protocol between the security chip SE and the Bootloader of the low-power MCU;

[0150] And the subsequent instruction formats sent by the security chip SE must interact according to the communication protocol format in the Bootloader state of the low-power MCU;

[0151] 3) Check whether the start page of the MCU driver space is empty. If not, erase the old data in the MCU;

[0152] 4) Write the program to be updated sequentially from the starting address of the low-power MCU as required, so as to update the program;

[0153] 5) After the program update is completed, switch the Bootloader state to the main program state, and restart the MCU to execute the updated program.

[0154] At this point, the driver update process for the low-power MCU is completed through the security chip SE in a contactless manner.

[0155] Therefore, when the low-power MCU firmware is upgraded, the present invention sends the agreed upgrade instruction through the conventional SE contactless communication function. After receiving the upgrade instruction, the low-power MCU configures the corresponding Boot flag and resets the low-power MCU chip, so that the low-power MCU enters the upgrade state and sends the new program of the low-power MCU to the low-power MCU through the security chip SE for updating, thereby completing the firmware upgrade of the low-power MCU.

[0156] When the low-power MCU firmware of the embodiment of the present invention is upgraded, the active video card works in the field and is completely powered by the non-field power supply circuit without using battery power, so as to save the battery power of the active video card to the maximum extent.

[0157] The above parts are combined to realize the low-power operation of the active visual card wallet and the various functions of upgrading the firmware of the matching low-power MCU through the contactless method of the SE chip; thus, the visual card wallet not only prolongs the working life, but also can be upgraded to more application scenarios and functions as needed, greatly improving and enhancing the convenience, diversity and reliability of the visual wallet.

[0158] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0159] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other 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.

[0160] Obviously, those skilled in the art can 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 these 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 also intended to include these modifications and variations.

Claims

1. A low-power contactless active video card, characterized in that: include: A power supply module, a low-power MCU, a security chip and a key module, wherein the power supply module is used to supply power to the low-power MCU and the security chip, the security chip performs wireless communication and data transmission with the NFC antenna, the NFC antenna sends relevant instructions to the security chip in a contactless manner, the security chip parses the received relevant instructions and sends them to the low-power MCU in accordance with the communication method between the security chip and the low-power MCU, after receiving the parsed relevant instructions, the low-power MCU completes the corresponding operation of the relevant instructions, the key module sends its excited state signal to the low-power MCU to assist the low-power MCU in completing state switching, and the state of the low-power MCU includes a normal working state and an extremely low power consumption state.

2. The low-power contactless active video card according to claim 1, characterized in that: The power supply module includes a built-in battery power supply circuit and a contactless on-site power supply circuit. The built-in battery power supply circuit is used to power the low-power MCU when working away from the site and in an extremely low-power state, and the contactless on-site power supply circuit is used to power other required modules and the low-power MCU in a normal working state.

3. A low-power contactless active visual card capable of controlling the power supply state of a security chip, characterized in that: It comprises the low-power contactless active visual card and low-power control module as claimed in claim 2, wherein the low-power control module is used to control the power-on and power-off state of the security chip, and specifically comprises a power switch, a working power supply end and a power control circuit, wherein the output end of the power switch is connected to the security chip, 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 comprises two signal verification ports and a control switch, wherein one verification port gives different control signals to the control end SE_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch, and the other verification port controls the on and off of the control switch according to the signal of the entry and exit control end NFC_EN, and the power-off or power-on of the security chip is jointly determined by the on and off of the power switch and the control switch.

4. The active video card according to claim 3, characterized in that: The method for the low power consumption control module to control the power on and off state of the security chip is: 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: If the visual card is out, NFC_EN is at a low level, the power switch and the control switch are both turned off, the working power supply terminal is disconnected from the power supply terminal VCC_SE of the security chip, and the security chip is powered off; 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, so that the security chip is powered; 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 terminal SE_CTL of the low-power MCU, that is: When a low level is sent to the control terminal SE_CTL, the power switch is turned on, and the working power terminal is connected to the power supply terminal VCC_SE of the security chip, so that the security chip is powered; When a high level is sent to the control terminal SE_CTL, the power switch is turned off, the working power terminal is disconnected from the power supply terminal VCC_SE of the security chip, and thus the security chip is powered off.

5. A low-power contactless active video card capable of controlling the power supply state of a display module, characterized in that: The invention comprises an active visual card, a display module and a low-power control module as described in any one of claims 1 to 4, wherein the display module is communicatively connected to the low-power MCU and is used to display transaction information, and the low-power control module is used to control the power-on and power-off state of the display module, and specifically comprises a power switch, a working power supply end and a power control circuit, wherein 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 comprises two signal verification ports and a control switch, wherein one verification port is used to send different control signals to the control end SC_CTL according to the state of the low-power MCU, thereby controlling the on and off of the power switch, and the other verification port is used to control the on and off of the control switch according to the signal of the entry and exit control end NFC_EN, and the on and off of the power switch and the control switch are used to jointly determine the power off or power on of the security chip.

6. The active video card according to claim 5, characterized in that: The method for the low power consumption control module to control the power on and off state of the display module is: When the low-power MCU is in sleep mode, the control terminal SC_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: If the visual card is out, NFC_EN is at a low level, the power switch and the control switch are both turned off, the working power supply terminal is disconnected from the power supply terminal VCC_SC of the display module, and the display module is powered off; 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 is connected to the power supply terminal VCC_SC of the display module, so that the display module is powered; 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: When a low level is sent to the control terminal SC_CTL, the power switch is turned on, and the working power terminal is connected to the power supply terminal VCC_SC of the display module, so that the display module is powered; 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 thus the display module is powered off.

7. A low-power contactless active video card with a reset function, characterized in that: The present invention comprises the active visual card and a reset module as claimed in claim 1, wherein the reset module is used to complete the reset of the low-power MCU, and comprises: an RC charge and discharge circuit, a reset switch, and a set end connected to the reset switch, wherein the key module and the set end jointly control the on and off of the reset switch, and the on and off signal of the reset switch controls the charging and discharging of the RC charge and discharge circuit, thereby causing the reset signal of the low-power MCU to change between high and low, and finally controlling the reset state of the low-power MCU.

8. A low-power contactless active video card with a reset function, characterized in that: The present invention comprises the active visual card and reset module as claimed in claim 3, wherein the reset module is used to complete the reset of the low-power MCU, and comprises: an RC charge and discharge circuit, a reset switch, and a set end connected to the reset switch, wherein the key module and the set end jointly control the on and off of the reset switch, and the on and off signal of the reset switch controls the charging and discharging of the RC charge and discharge circuit, thereby causing the reset signal of the low-power MCU to change between high and low, and finally controlling the reset state of the low-power MCU.

9. The active video card according to claim 8, characterized in that: The button module and the set end simultaneously control the on and off of the reset switch, specifically including: When the low-power MCU receives a reset instruction, the set end is in a low level state, and the corresponding electrical signal of the key module is set to a high level by pressing the key module. At this time, the reset switch is turned on, the reset signal at the low-power MCU is pulled down, and the electric charge of the capacitor in the RC charge-discharge circuit is released; When the button module is released, the corresponding electrical signal is set to a low level. At this time, the reset switch is disconnected, and the capacitor in the RC charge-discharge circuit is recharged through the resistor in the RC charge-discharge circuit, so that the reset signal at the low-power MCU changes from a low level to a high level, and finally the low-power MCU is reset.

10. A method for implementing MCU firmware upgrade for an active video card according to claim 9, characterized in that: The method comprises the following steps: When the low-power MCU receives the firmware upgrade instruction sent by the security chip, the set end is set to a low level state, and the corresponding electrical signal of the key module is set to a high level by pressing the key module. At this time, the reset switch is turned on, the reset signal at the low-power MCU is pulled down, and the electric charge of the capacitor in the RC charge-discharge circuit is released; When the button module is released, the corresponding electrical signal is set to a low level. At this time, the reset switch is disconnected, and the capacitor in the RC charge-discharge circuit is recharged through the resistor in the RC charge-discharge circuit, so that the reset signal at the low-power MCU changes from a low level to a high level, thereby completing the resetting of the low-power MCU.

11. The firmware upgrade method according to claim 10, characterized in that: The NFC antenna first interacts with the low-power MCU driver and private instructions that have been converted into a standard format according to a set format, and sends them to the security chip through a contactless communication method; The security chip parses the received private instruction, and then sends it to the low-power MCU according to the communication method between the security chip and the low-power MCU, so that the low-power MCU receives the firmware upgrade instruction sent by the security chip.

12. The firmware upgrade method according to claim 11, characterized in that: The conditions that need to be met by the communication method between the security chip and the low-power MCU include: first, a suitable communication protocol or communication method between the security chip and the low-power MCU is met, including UART, SPI, I2C or SWD; second, the low-power MCU needs to support the corresponding protocol format in Bootloader mode; if the Bootloader mode does not support the currently commonly used protocol mode, it is necessary to redesign or agree on a suitable communication protocol or communication method.

13. The firmware upgrade method according to any one of claims 10 to 12, characterized in that: The method further comprises the following steps: S1: When the low-power MCU is in the Bootloader state, the private instruction is sent according to the communication protocol between the security chip and the Bootloader of the low-power MCU and the connection is confirmed; and the format of the instructions subsequently sent by the security chip must be interacted according to the communication protocol format in the Bootloader state of the low-power MCU; S2 confirms whether the start page of the driver program space of the low-power MCU is empty. If it is not empty, erase the old data in the low-power MCU; otherwise, if it is empty, proceed to the next step; S3 writes the driver to be updated in sequence from the starting address of the low-power MCU, thereby updating the driver; After the driver program is updated in S4, the state of the low-power MCU is switched from the Bootloader state to the main program state, and the low-power MCU is restarted to execute the updated driver program.

14. The firmware upgrade method according to claim 13, characterized in that: The NFC antenna sends the relevant private instructions to the security chip. At this time, the visual card enters the field. Therefore, the entry and exit control terminal NFC_EN in the low-power control module is high. Based on this, the low-power MCU enters the Bootloader state from the following two situations: When there is already a program in the low-power MCU, and at this time the power switch and the control switch in the low-power control module are both turned on, the working power supply terminal is connected to the power supply terminal of the security chip, so as to power the security chip, and the low-power MCU receives the private instruction of the data sent by the security chip; After receiving the private instruction of the data, the low-power MCU is reset according to the reset module and the key module, thereby entering the Bootloader state; When the low-power MCU is a blank chip, when the low-power MCU is powered on, it directly enters the Bootloader state.