Secure payment device and system
By introducing a voltage detection unit and a voltage stabilization circuit into the secure payment system, monitoring and controlling the power supply voltage, the abnormal startup problem caused by insufficient equipment startup voltage under USB power supply is solved, and the stability and security of the payment device are significantly improved.
Patent Information
- Application Number
- CN202421710167.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2034-07-18
AI Technical Summary
In a secure payment system, when USB power is supplied, the voltage may be insufficient when the device is powered on, causing the MCU to start abnormally, affecting the stability of the device.
A secure payment device is designed, including a power supply module, a monitoring module, a main control module and a security module. The monitoring module detects the power supply voltage through the voltage detection unit. If it is lower than the preset threshold, the control power supply module will not supply power to the main control module to ensure the stable start of the main control module.
It effectively avoids abnormal startup of the payment device, and significantly improves the stability and security of the payment device.
Smart Images

Figure CN222801142U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of voltage monitoring, and in particular to a safe payment device and system. Background Art
[0002] In a secure payment system, MCU is usually used as the main control module. Flash and RAM are usually provided inside the MCU so that the user can move the user code from Flash to RAM through the boot program inside the MCU. At present, relevant technologies have proposed that when the secure payment system is powered by USB, insufficient voltage may occur when the device is just turned on, causing the boot program inside the MCU to start normally, but the Flash program does not start normally due to the low voltage, resulting in abnormal startup of the MCU, which in turn affects the stability of the device. Utility Model Content
[0003] In view of this, an object of the present utility model is to provide a secure payment device and system, which can significantly improve the security of payment by avoiding abnormal startup of the payment device.
[0004] In a first aspect, an embodiment of the utility model provides a secure payment device, including: a power supply module, a monitoring module, a main control module and a security module;
[0005] The power supply module is connected to an external power supply device, and the power supply module is used to obtain electrical energy from the external power supply device;
[0006] The monitoring module is connected to the power supply module and the main control module, and the monitoring module is used to detect the power supply voltage of the power supply module, and control whether the power supply module supplies power to the main control module according to the detection result, so as to achieve stable startup of the main control module;
[0007] The main control module is connected to the security module, and the main control module is used to control the security module to perform a secure transaction in a stable startup state.
[0008] In one embodiment, the monitoring module includes: a voltage detection unit; the voltage detection unit is connected to the power supply module and the main control module, and the voltage detection unit is used to detect the power supply voltage. When the power supply voltage is greater than or equal to a preset voltage threshold, the power supply module is controlled to supply power to the main control module. When the input voltage is less than the preset voltage threshold, the power supply module is controlled not to supply power to the main control module, so as to achieve stable startup of the main control module.
[0009] In one embodiment, the monitoring module also includes: a voltage stabilizing circuit; the voltage stabilizing circuit is connected to the power supply module, the voltage detection unit and the main control module; when the voltage detection unit detects that the supply voltage is greater than or equal to a preset voltage threshold, the voltage stabilizing circuit is enabled to supply power to the main control module.
[0010] In one embodiment, the voltage stabilizing circuit includes an enable terminal, a first voltage input terminal, a first regulated voltage output terminal and a normally closed terminal; wherein the enable terminal of the voltage stabilizing circuit is connected to the voltage detection unit, the first voltage input terminal of the voltage stabilizing circuit is connected to the power supply module, and the output terminal of the voltage stabilizing circuit is connected to the main control module.
[0011] In one embodiment, the voltage detection unit includes: a voltage detection chip, the voltage detection chip includes: a ground terminal, a second voltage input terminal and a second regulated voltage output terminal; wherein the second voltage input terminal of the voltage detection chip is connected to the power supply module, and the second regulated voltage output terminal of the voltage detection chip is connected to the enable terminal of the voltage stabilizing circuit, and the voltage detection chip is used to convert the power supply voltage of the power supply module, and when the supply voltage is lower than a preset voltage threshold, output a low level to the enable terminal of the voltage stabilizing circuit, and when the supply voltage is not lower than the preset voltage threshold, output a high level to the enable terminal of the voltage stabilizing circuit.
[0012] In one embodiment, the monitoring module also includes: a filtering circuit; the filtering circuit is connected to the power supply module and the voltage detection unit, the filtering circuit is used to filter the power supply voltage output by the power supply module to remove the noise of the power supply voltage, and transmit the filtered supply voltage to the voltage detection unit; the voltage detection unit is used to detect the filtered supply voltage.
[0013] In one embodiment, the voltage stabilizing circuit includes: an analog switch; wherein the analog switch is connected to a second regulated voltage output terminal of a voltage detection chip, and is used to remain in an on state when a high level is received to supply power to the main control module, and to remain in an off state when a low level is received to not supply power to the main control module.
[0014] In one embodiment, the secure payment device also includes: a contactless communication module; wherein the contactless communication module is connected to the main control module, and is used to perform contactless communication with an external payment device under the control of the main control module, so as to realize secure transactions with the external payment device through contactless communication.
[0015] In one embodiment, the security module includes: a first security unit and a second security unit; wherein the first security unit is connected to the main control module and is used to securely protect transaction data under the control of the main control module; the second security unit is connected to the main control module and is used to authenticate the external payment device under the control of the main control module.
[0016] In a second aspect, an embodiment of the utility model also provides a secure payment system, comprising: a secure payment device according to any one of the above-mentioned first aspects, and an external power supply device and an external payment device connected to the secure payment device.
[0017] The embodiments of the present invention bring the following beneficial effects:
[0018] A secure payment device and system provided by an embodiment of the utility model include: a power supply module, a monitoring module, a main control module and a security module; wherein the power supply module is connected to an external power supply device and is used to obtain electrical energy from the external power supply device; the monitoring module is connected to the power supply module and the main control module, the monitoring module is used to detect the power supply voltage of the power supply module, and control whether the power supply module supplies power to the main control module according to the detection result, so as to achieve stable startup of the main control module; the main control module is connected to the security module, and the main control module is used to control the security module to perform secure transactions in a stable startup state. The above-mentioned device detects the power supply voltage through the monitoring module, which can effectively avoid abnormal startup of the payment device, thereby improving the stability of the secure payment device.
[0019] Other features and advantages of the utility model will be described in the following description, and partly become apparent from the description, or understood by practicing the utility model. The purpose and other advantages of the utility model are realized and obtained by the structures specifically pointed out in the description, claims and drawings.
[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific implementation methods of the utility model or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A schematic diagram of the structure of a secure payment device provided by an embodiment of the utility model;
[0023] Figure 2 A schematic diagram of the structure of another secure payment device provided by an embodiment of the utility model;
[0024] Figure 3 A circuit diagram of a voltage stabilizing circuit provided in an embodiment of the utility model;
[0025] Figure 4 A circuit diagram of a voltage detection chip provided by an embodiment of the utility model;
[0026] Figure 5 A schematic diagram of the structure of a secure payment system provided in an embodiment of the utility model. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the utility model clearer, the technical solution of the utility model will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0028] At present, there are generally Flash and RAM inside the MCU. Under normal circumstances, when the MCU starts, the RAM and Flash will start normally. However, in the case of USB power supply, the voltage of some USB power supplies is less than 5V when the device is just turned on (that is, the VIN5V voltage has a 1V step, which lasts for about 1 second). In this way, the MCU may start abnormally when the low voltage is too long. In other words, the boot program inside the MCU starts normally, but the Flash does not start normally due to the low voltage. The flag bit saved in the Flash cannot be read normally by the boot program, causing the boot program to mistakenly believe that the chip has not downloaded the program, and it stays in the boot program and cannot start normally. Based on this, the utility model implements a secure payment device, which detects the power supply voltage through a monitoring module, thereby effectively avoiding abnormal startup of the payment device, thereby improving the stability of the secure payment device.
[0029] To facilitate understanding of this embodiment, a secure payment device disclosed in an embodiment of the utility model is first introduced in detail.
[0030] See also Figure 1A structural schematic diagram of a secure payment device is shown. The utility model provides a secure payment device, including: a power supply module, a monitoring module, a main control module and a security module, wherein the power supply module is connected to an external power supply device, and the power supply module is used to obtain electric energy from the external power supply device. The monitoring module is connected to the power supply module and the main control module. The monitoring module is used to detect the power supply voltage of the power supply module, and control whether the power supply module supplies power to the main control module according to the detection result to achieve stable startup of the main control module. The main control module is connected to the security module, and the main control module is used to control the security module to perform secure transactions in a stable startup state.
[0031] The secure payment device provided by the embodiment of the utility model detects the power supply voltage through the monitoring module, and controls the power supply module to supply power to the main control module according to the monitoring result, which can effectively avoid abnormal startup of the payment device, thereby significantly improving the stability of the device.
[0032] In one embodiment, the monitoring module includes: a voltage detection unit; the voltage detection unit is connected to the power supply module and the main control module, the voltage detection unit is used to detect the power supply voltage, when the power supply voltage is greater than or equal to a preset voltage threshold, the power supply module is controlled to supply power to the main control module, when the input voltage is less than the preset voltage threshold, the power supply module is controlled not to supply power to the main control module, so as to achieve stable startup of the main control module.
[0033] In one embodiment, the monitoring module further includes: a voltage stabilizing circuit connected to the power supply module, the voltage detection unit and the main control module; when the voltage detection unit detects that the power supply voltage is greater than or equal to a preset voltage threshold, the voltage stabilizing circuit is enabled to supply power to the main control module.
[0034] Specifically, the voltage stabilizing circuit in the present application includes a low dropout linear regulator (LDO). When the voltage detection unit detects that the power supply voltage input voltage is greater than or equal to the preset voltage preset, the LDO is enabled so that the LDO supplies power to the main control module; when the voltage detection unit detects that the power supply voltage input voltage is less than the preset voltage preset, the LDO is not enabled, so the LDO cannot supply power to the main control module.
[0035] In one embodiment, the preset voltage threshold is 2.7V. When the supply voltage is lower than 2.7V, the voltage detection unit outputs a low level to the LDO. At this time, the LDO is not enabled and the LDO does not supply power to the main control module. When the supply voltage is higher than 2.7V, the voltage detection unit outputs a high level to the LDO, enabling the LDO to supply power to the main control module.
[0036] In one embodiment, the monitoring module also includes: a filtering circuit, which is connected to the power supply module and the voltage detection unit. The filtering circuit is used to filter the power supply voltage output by the power supply module to remove noise in the power supply voltage, and transmit the filtered supply voltage to the voltage detection unit so that the voltage detection unit detects the filtered supply voltage and controls whether the power supply module supplies power to the main control module based on the detection result.
[0037] In one embodiment, the secure payment device also includes: a contactless communication module; wherein the contactless communication module is connected to the main control module, and is used to perform contactless communication with an external payment device under the control of the main control module, so as to realize secure transactions with the external payment device through contactless communication.
[0038] In one embodiment, the security module includes: a first security unit and a second security unit; wherein the first security unit is connected to the main control module and is used to securely protect transaction data under the control of the main control module; the second security unit is connected to the main control module and is used to authenticate the external payment device under the control of the main control module.
[0039] Further, such as Figure 2The secure payment device shown includes: a power supply module, a monitoring module, a main control module, a security module and a contactless communication module. Among them, the power supply module specifically includes: a USB charging interface, and the power supply module is connected to an external power supply device through the USB charging interface and obtains electrical energy from the external device. The present application can also supply power to the secure payment device in other ways according to actual usage, and this application does not limit this. The monitoring module includes: a filter circuit, a voltage detection unit and a voltage stabilizing circuit, wherein the filter circuit is connected to the USB charging interface and the voltage detection unit respectively, the voltage detection unit is also connected to the voltage stabilizing circuit, and the voltage stabilizing circuit is also connected to the USB charging interface and the main control module. The filter circuit is used to filter the power supply voltage output by the USB charging interface, and output the filtered power supply voltage to the voltage detection unit for detection. When the voltage detection unit detects that the power supply voltage is greater than or equal to the preset voltage threshold, the voltage stabilizing circuit is enabled to supply power to the main control module, thereby realizing the normal startup of the payment device. The main control module includes a microcontroller unit (MCU), which is connected to the security module and the contactless communication module, and is used to control the contactless communication module to communicate with the external payment device, and control the security module to perform secure transactions based on the transaction data obtained by the contactless communication. The security module includes: a first security unit and a second security unit, wherein the first security unit is connected to the MCU, and is used to securely protect the transaction data under the control of the MCU, and the second security unit is connected to the main control module, and is used to authenticate the external payment device under the control of the MCU. Furthermore, the first security unit can be a PSAM card, which is embedded in various terminal devices to provide them with IC card-level security protection, and the second security unit can be a SAM card, which is generally installed on smart card terminal devices as a security control of smart card terminals to achieve legitimacy authentication between terminals and cards. The contactless communication module (i.e., NFC module) specifically includes: NFC indicator light, antenna and NFC chip. The contactless communication module is used to perform contactless communication with external payment devices under the control of the main control module, so as to realize secure transactions with external payment devices through contactless communication. Furthermore, contactless communication may include near-field communication. Near-field communication is achieved by integrating the functions of inductive card reader, inductive card and point-to-point communication on the NFC chip, so that data can be exchanged when they are close to each other, and mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting and other applications can be realized using mobile terminals.
[0040] For details, see Figure 3A circuit diagram of a voltage stabilizing circuit is shown, wherein the voltage stabilizing circuit is connected to a voltage detection unit and a main control module, the voltage stabilizing circuit includes an enable terminal (EN), a first voltage input terminal (VIN), a first regulated voltage output terminal (VOUT) and a normally closed terminal (NC), the enable terminal of the voltage stabilizing circuit is connected to the voltage detection unit, the voltage input terminal of the voltage stabilizing circuit is connected to the power supply module, and the output terminal of the voltage stabilizing circuit is connected to the main control module; when the voltage detection unit detects that the power supply voltage is greater than a preset voltage threshold, the voltage stabilizing circuit supplies power to the main control module by enabling the voltage stabilizing circuit, in addition, the voltage stabilizing circuit includes: an analog switch, wherein the analog switch is connected to the second regulated voltage output terminal of the voltage detection chip, and is used to remain in an open state when a high level is received to supply power to the main control module, and to remain in an open state when a low level is received to not supply power to the main control module. In actual applications, the analog switch can be replaced by a mechanical switch or a switch circuit according to actual usage requirements to control the on and off state of the main control module.
[0041] For further information, see Figure 4 The circuit diagram of a voltage detection chip shown in the figure, the voltage detection unit includes: a voltage detection chip, the voltage detection chip includes: a ground terminal (VSS), a second voltage input terminal (VIN) and a second regulated voltage output terminal (VOUT), wherein the second voltage input terminal of the voltage detection chip is connected to the power supply module, the second regulated voltage output terminal of the voltage detection chip is connected to the enable terminal of the voltage stabilization circuit, the voltage detection chip is used to convert the power supply voltage of the power supply module, and when the power supply voltage is lower than the preset voltage threshold, output a low level to the enable terminal of the voltage stabilization circuit, and when the power supply voltage is not lower than the preset voltage threshold When the value is reached, a high level is output to the enable end of the voltage stabilizing circuit. In addition, the monitoring module also includes: a filtering circuit, which is connected to the power supply module and the voltage detection unit. The filtering circuit utilizes the characteristics of the capacitor passing high frequencies and isolating low frequencies to introduce the high-frequency interference current of the live wire and the neutral wire into the ground wire, or to introduce the high-frequency interference current of the live wire into the neutral wire, and utilizes the impedance characteristics of the inductor coil to reflect the high-frequency interference current back to the interference source, so as to filter the power supply voltage output by the power supply module to remove the noise of the power supply voltage, and transmit the filtered power supply voltage to the voltage detection unit, and the voltage detection unit is used to detect the filtered power supply voltage.
[0042] The above-mentioned secure payment device provided by the embodiment of the utility model can effectively avoid abnormal startup of the payment device by detecting the power supply voltage through the monitoring module, thereby significantly improving the security of payment.
[0043] For the secure payment device provided in the above embodiment, the present utility model embodiment also provides a secure payment system, see Figure 5A structural schematic diagram of a secure payment system is shown, which includes the secure payment device provided in the aforementioned embodiment and an external power supply device and an external payment device connected to the secure payment device. The external power supply device can be connected to the power supply module via a USB power supply interface to power the main control module of the secure payment device. The external payment device is communicatively connected with the security module, so that transactions can be conducted with the secure payment device when the secure payment device is in a stable startup state.
[0044] The above-mentioned secure payment device and system provided by the embodiments of the utility model detects the power supply voltage by setting a voltage monitoring chip at the enable end of the voltage stabilizing circuit. When the power supply voltage meets the preset voltage threshold, a high level is output to the enable end of the voltage stabilizing circuit, thereby powering the MCU and ensuring the normal startup of the MCU. The above-mentioned method can effectively avoid abnormal startup of the payment device, thereby significantly improving the security of payment.
[0045] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the secure payment device described above can refer to the corresponding process in the aforementioned embodiment, and will not be repeated here.
[0046] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0047] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0048] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the utility model, rather than to limit it. Although the utility model has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the utility model.
Claims
1. A secure payment device, characterized in that: include: Power supply module, monitoring module, main control module and safety module; among them, The power supply module is connected to an external power supply device, and the power supply module is used to obtain electrical energy from the external power supply device; The monitoring module is connected to the power supply module and the main control module, and the monitoring module is used to detect the power supply voltage of the power supply module, and control whether the power supply module supplies power to the main control module according to the detection result, so as to achieve stable startup of the main control module; The main control module is connected to the security module, and the main control module is used to control the security module to perform a secure transaction in a stable startup state.
2. The secure payment device according to claim 1, characterized in that: The monitoring module includes: a voltage detection unit; The voltage detection unit is connected to the power supply module and the main control module. The voltage detection unit is used to detect the power supply voltage. When the power supply voltage is greater than or equal to a preset voltage threshold, the power supply module is controlled to supply power to the main control module. When the input voltage is less than the preset voltage threshold, the power supply module is controlled not to supply power to the main control module, so as to achieve stable startup of the main control module.
3. The secure payment device according to claim 2, characterized in that: The monitoring module also includes: a voltage stabilizing circuit; The voltage stabilizing circuit is connected to the power supply module, the voltage detection unit and the main control module; when the voltage detection unit detects that the power supply voltage is greater than or equal to a preset voltage threshold, the voltage stabilizing circuit is enabled to supply power to the main control module.
4. The secure payment device according to claim 3, characterized in that: The voltage stabilizing circuit includes an enable terminal, a first voltage input terminal, a first regulated voltage output terminal and a normally closed terminal; wherein, The enabling end of the voltage stabilizing circuit is connected to the voltage detection unit, the first voltage input end of the voltage stabilizing circuit is connected to the power supply module, and the output end of the voltage stabilizing circuit is connected to the main control module.
5. The secure payment device according to claim 4, characterized in that: The voltage detection unit includes: a voltage detection chip, and the voltage detection chip includes: a ground terminal, a second voltage input terminal, and a second regulated voltage output terminal; wherein, The second voltage input terminal of the voltage detection chip is connected to the power supply module, and the second regulated voltage output terminal of the voltage detection chip is connected to the enable terminal of the voltage stabilizing circuit. The voltage detection chip is used to convert the supply voltage of the power supply module, and output a low level to the enable terminal of the voltage stabilizing circuit when the supply voltage is lower than a preset voltage threshold, and output a high level to the enable terminal of the voltage stabilizing circuit when the supply voltage is not lower than the preset voltage threshold.
6. The secure payment device according to claim 2, characterized in that: The monitoring module further includes: a filtering circuit; The filter circuit is connected to the power supply module and the voltage detection unit, and is used for filtering the power supply voltage output by the power supply module to remove noise of the power supply voltage, and transmitting the filtered power supply voltage to the voltage detection unit; The voltage detection unit is used to detect the filtered supply voltage.
7. The secure payment device according to claim 5, characterized in that: The voltage stabilizing circuit comprises: an analog switch; wherein, The analog switch is connected to the second regulated voltage output terminal of the voltage detection chip, and is used to remain in an open state when a high level is received to supply power to the main control module, and to remain in an open state when a low level is received to not supply power to the main control module.
8. The secure payment device according to claim 1, characterized in that: The secure payment device further comprises: a contactless communication module; wherein: The contactless communication module is connected to the main control module and is used for performing contactless communication with an external payment device under the control of the main control module, so as to realize a secure transaction with the external payment device through contactless communication.
9. The secure payment device according to claim 8, characterized in that: The security module includes: a first security unit and a second security unit; wherein, The first security unit is connected to the main control module and is used to perform security protection on transaction data under the control of the main control module; The second security unit is connected to the main control module and is used to perform identity authentication on the external payment device under the control of the main control module.
10. A secure payment system, characterized in that: include: The secure payment device according to any one of claims 1 to 9, and an external power supply device and an external payment device connected to the secure payment device.