Digital signature terminal and secure communication method

By designing a digital signature terminal and using user-operated connection and disconnection modules to generate and store digital signatures, the security risks of computer terminals in digital signature calculations are solved, and a secure signature process on mobile devices is realized, which is suitable for payment cards and Scenarios such as public transportation cards.

CN113748642BActive Publication Date: 2024-09-20HUZHOU TONGMU INTELLECTUAL PROPERTY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980092645.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-02-26
Publication Date
2024-09-20
Estimated Expiration
2039-02-26

AI Technical Summary

Technical Problem

Computer terminals have security risks when performing digital signature calculations. In particular, it is difficult to ensure security during the storage and calculation of private keys, and smart electronic keys and smart cards are difficult to use after the popularity of mobile devices.

Method used

A digital signature terminal is designed, including a communication department and a central unit. The module is connected and disconnected through user operations to generate and store digital signatures, and data is transmitted through the memory to ensure the security of the signature process. The terminal can perform digital signatures while being completely isolated from the outside world, providing the function of identifying user identities to prevent illegal operations.

Benefits of technology

It realizes the digital signature of data safely on mobile devices, enhances the security and reliability of the signature process, and is suitable for application scenarios such as payment cards and public transportation cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113748642B
    Figure CN113748642B
Patent Text Reader

Abstract

The present invention discloses a digital signature terminal and a secure communication method. The digital signature terminal includes: a first module, which includes a communication unit for communicating with the outside and a central unit, the central unit includes a memory for storing data received by the communication unit, and the central unit receives a user's operation to connect to the second module while disconnecting from the communication unit or disconnecting from the second module while connecting to the communication unit; and a second module, including a signature unit for generating a digital signature of the data, and the second module transmits the digital signature to the memory. According to the terminal and method of the present invention, the digital signature of the data can be completed securely.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a digital signature terminal and a secure communication method. Background Art

[0002] With the rapid development of e-commerce and information security technology, digital signatures have been widely adopted as the legal basis for paperless transactions to confirm transactions due to their uniqueness, non-repudiation and security. Computer terminals are an unsafe computing environment due to their own software and hardware defects. There are many security risks in using them to calculate digital signatures, such as the problem of secure storage and carrying of signature private keys, the leakage of private keys during signature calculations, etc., which may lead to digital signatures that violate the user's wishes.

[0003] Since computer terminals cannot guarantee the security of digital signature calculations, auxiliary devices are needed to help them complete digital signature calculations safely. Smart electronic keys (USB Keys) and smart cards are currently the most commonly used digital signature calculation auxiliary devices. Since smart electronic keys (USB Keys) and smart cards have simple hardware structures, single interface functions, and dedicated built-in operating systems, which are much simpler and easier to test than computer terminal software, smart electronic keys (USB Keys) and smart cards can ensure the security of key storage and data calculations.

[0004] In recent years, mobile devices have become more and more popular, and most mobile terminals do not have USB interfaces, making it difficult to use smart electronic keys (USB Keys) to assist in completing digital signatures.

[0005] Therefore, it is desirable to provide a general device and method that can securely complete the digital signature of data. Summary of the invention

[0006] A brief summary of the present invention is given below in order to provide a basic understanding of certain aspects of the present invention. It should be understood that this summary is not an exhaustive summary of the present invention, it is not intended to identify the key or important parts of the present invention, nor is it intended to limit the scope of the present invention. Its purpose is only to give certain concepts in a simplified form as a prelude to the detailed implementation section below.

[0007] In view of the above problems, the present invention proposes a terminal for digital signature, comprising: a first module, which includes a communication part and a central unit for communicating with the outside, the central unit includes a memory for storing data received by the communication part, and the central unit receives the user's operation to connect to the second module and disconnect from the communication part at the same time, or disconnect from the second module and connect to the communication part at the same time; and the second module, including a signature part that generates a digital signature of the data, and the second module transmits the digital signature to the memory.

[0008] Another aspect of the present invention provides a method for secure communication, comprising: i) receiving a message and storing the message in a memory; ii) reading the message from the memory and generating a digital signature of the message; iii) storing the digital signature in the memory; and iv) obtaining the digital signature and the message from the memory and sending the message with the digital signature, wherein the message cannot be read from the memory when the message is received and stored.

[0009] According to another aspect of the present invention, there is provided a payment card comprising a digital signature terminal according to an embodiment of the present invention, wherein the communication unit receives a message carrying consumption data, stores the message in the memory, and receives an operation of the user to connect the first module with the second module; the signature unit generates a digital signature of the message and transmits the digital signature to the memory; and the communication unit sends the stored message with the digital signature to complete the payment.

[0010] According to yet another aspect of the present invention, a public transportation card including an embodiment of the present invention is provided, wherein the communication unit receives a user operation via an LPWAN network to connect the first module with the second module; the signature unit obtains a preset message from a memory of the first module, generates a digital signature of the message, and transmits the digital signature to the memory; the communication unit sends the stored message with the digital signature to a server via the LPWAN network; and the communication unit receives a message carrying recharge data from the server via the LPWAN network to recharge the public transportation card.

[0011] According to another aspect of the present invention, there is also provided a computer-readable storage medium storing a program that can be run by a processor to perform the following method: i) receiving a message and storing the message in a memory; ii) reading the message from the memory and generating a digital signature of the message; iii) storing the digital signature in the memory; and iv) obtaining the digital signature and the message from the memory and sending the message with the digital signature, wherein the message cannot be read from the memory when the message is received and stored.

[0012] According to another aspect of the present invention, a program is provided, wherein the program includes machine-executable instructions, and when the instructions are executed on an information processing system, the instructions cause the information processing system to execute the above method according to the present invention.

[0013] According to the terminal and method of the present invention, digital signature of data can be completed securely.

[0014] These and other advantages of the present invention will become more apparent through the following detailed description of the best embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] By reading the various embodiments of the present invention with reference to the accompanying drawings, it will be easier to understand other features and advantages of the present invention. The drawings described herein are only for the purpose of schematically illustrating the embodiments of the present invention, not all possible implementations, and are not intended to limit the scope of the present invention. In the accompanying drawings:

[0016] Figure 1 A schematic diagram showing the structure of a first example of a digital signature terminal according to a first embodiment of the present invention.

[0017] Figure 2 A schematic diagram showing the structure of a second example of the digital signature terminal according to the first embodiment.

[0018] Figure 3 A schematic diagram showing the structure of a third example of the digital signature terminal according to the first embodiment.

[0019] Figure 4 Another configuration of the digital signature terminal according to the third example is shown.

[0020] Figure 5 A schematic diagram showing the structure of a fourth example of the digital signature terminal according to the first embodiment.

[0021] Figure 6 Another configuration of the digital signature terminal according to the fourth example is shown.

[0022] Figure 7A schematic diagram showing the structure of a fifth example of the digital signature terminal according to the first embodiment.

[0023] Figure 8 A schematic diagram showing the structure of a sixth example of the digital signature terminal according to the first embodiment.

[0024] Fig. 9 Another configuration of the digital signature terminal according to the sixth example is shown.

[0025] Fig.10 A schematic diagram showing the structure of a first example of a digital signature terminal according to a second embodiment of the present invention.

[0026] Fig.11 A schematic diagram showing the structure of a second example of the digital signature terminal according to the second embodiment.

[0027] Fig.12 A schematic diagram showing the structure of a digital signature terminal according to a third embodiment of the present invention.

[0028] Fig.13 A schematic diagram showing an example of a digital signature terminal being applied to a payment card.

[0029] Fig.14 A flow chart of a secure communication method according to a first embodiment of the present invention is shown.

[0030] Fig.15 A schematic block diagram of a computer for implementing the method and device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0031] Embodiments of the present invention are now described in detail with reference to the accompanying drawings. It should be noted that the following description is merely exemplary and is not intended to limit the present invention. In addition, in the following description, the same reference numerals will be used to represent the same or similar components in different drawings. Different features in different embodiments described below may be combined with each other to form other embodiments within the scope of the present invention.

[0032] [First terminal implementation method]

[0033] Example 1

[0034] Figure 1 FIG. 1 shows a first example of a digital signature terminal according to a first embodiment of the present invention. Figure 1 As shown, the digital signature terminal 100 includes a first module 11 and a second module 12 .

[0035] The first module 11 includes a communication section 110 for communicating with the outside and a central unit 119. The central unit 119 includes a memory 111 for storing data transmitted from the communication section 110 and a control section 114 for performing control on components within the central unit 119, and the central unit 119 receives a user's operation to connect to the second module 12 while disconnecting from the communication section 110 or disconnecting from the second module 12 while connecting to the communication section 110.

[0036] The second module 12 includes a signature unit 120 for generating a digital signature of data. The signature unit 120 generates a digital signature using a terminal signature private key. Preferably, the second module 12 includes a first security element to store the terminal signature private key. In addition, the second module 12 transmits the digital signature to the memory 111 so that it is sent by the communication unit 110.

[0037] The second module 12 can be fixed to the first module 11 and connected to the first module 11 via a physical switch such as a button or a key. When a signature is required, the user turns on the physical switch to sign. Figure 1 As shown, the central unit 119 can be connected to the second module 12 and disconnected from the communication unit 110 at the same time; and the central unit 119 can be disconnected from the second module 12 and connected to the communication unit 110 at the same time by a single-pole double-throw switch arranged in the first module 11 .

[0038] Alternatively, the second module 12 may be a detachable device, carried by the user, and when a signature is required, the user inserts the detachable second module 12 into the first module 11. In this case, a switch device may be provided between the communication unit 110 and the central unit 119. When the second module 12 is inserted into the first module 11, the first module 11 causes the switch device to be turned off to disconnect the communication unit 110 from the central unit 119; and when the second module 12 is pulled out of the first module 11, the first module 11 causes the switch device to be turned on to connect the communication unit 110 to the central unit 119.

[0039] The firmware in the first module 11 can be updated by downloading a new version from the Internet, while the firmware in the second module 12 cannot be changed after leaving the factory.

[0040] Preferably, the first module 11 may also include prompters such as a voice prompter, an LED indicator light, a display screen, etc., so as to prompt the user to perform operations to connect the central unit 119 to the second module 12 and disconnect it from the communication unit 110 when the communication unit 110 stores data in the memory 111, and to prompt the user to perform operations to disconnect the central unit 119 from the second module 12 and connect it to the communication unit 110 when the second module 12 stores the digital signature in the memory 111.

[0041] Preferably, the communication unit 110 can communicate in one of the following ways: 1) long-range wireless communication, such as low-power wide area network protocol LPWAN (such as NB IoT, LTE-M, LoRa, Sigfox), etc.; 2) short-range wireless communication, such as low-power Bluetooth BLE, near-field communication NFC or WIFI, etc.; and 3) wired communication, such as plugging into a USB port, an Apple mobile phone lightning port, etc.

[0042] In use, the digital signature terminal 100 performs the following operations:

[0043] i) The communication unit 110 receives data and stores the data in the memory 111 .

[0044] ii) The first module 11 controls the prompter to emit a prompt such as light, voice, text, etc. to inform the user that the data has been received and the operation can be performed.

[0045] iii) The user performs an operation to connect the central unit 119 to the second module 12 and disconnect the central unit 119 from the communication section 110 at the same time.

[0046] iv) The signature unit 120 digitally signs the data using the signature private key of the terminal, and stores the digital signature in the memory 111. Preferably, the signature private key is stored in the first security element in the second module 12.

[0047] v) The first module 11 controls the prompter to issue a prompt to remind the user that the operation can be performed.

[0048] vi) The user performs an operation to disconnect the central unit 119 from the second module 12 while connecting the central unit 119 to the communication section 110 .

[0049] vii) The communication unit 110 transmits data with a digital signature.

[0050] The digital signature terminal 100 can execute digital signature in a situation where it is completely isolated from external communications, thereby being safer and more reliable.

[0051] However, the second module may be maliciously operated by someone other than the holder. In view of this, preferably, the terminal 100 for digital signature may include an identification unit for identifying the user identity.

[0052] Example 2

[0053] Figure 2 FIG. 1 is a schematic diagram showing the structure of a second example of a digital signature terminal according to the first embodiment of the present invention. Figure 1 The same parts have Figure 1 The same functions will not be repeated here.

[0054] like Figure 2 As shown, compared with the first example, the central unit 219 also includes an identification unit 113 for identifying the user's identity; and a physical switch 112 such as a single-pole double-throw switch. As described above, the user connects the central unit 119 to the second module 12 and disconnects it from the communication unit 110, and disconnects the central unit 119 from the second module 12 and connects it to the communication unit 110 by switching the physical switch 112.

[0055] The identification unit 113 is used to identify the user, and the control unit 114 prohibits or allows the user's operation, such as turning on or off a physical switch, based on the result of the identification unit 113. The identification unit 113 identifies the user's identity through a password or a user's biometric features such as fingerprint, iris, face, DNA, etc. Preferably, the identification unit 113 has a password reset function.

[0056] In addition, in the case where multiple users use the same terminal, the identification unit 113 can identify the user identity through a user name and password or a user name and user biometrics.

[0057] Preferably, the password or biometric feature of the identification unit can be set or reset through an application on a mobile terminal such as a mobile phone, a laptop, etc. The application performs multiple security checks on the user's identity and allows the user to set or reset the password or biometric feature if the test passes; and prohibits the user from setting or resetting the password or biometric feature if the test fails.

[0058] Preferably, the control section 114 may be configured to terminate the process if the recognition section 113 fails to successfully recognize the user within a predetermined number of consecutive times.

[0059] Preferably, the first module 21 also includes prompters such as voice prompters, LED indicator lights, display screens, etc., to remind the user that the communication unit has received data and that the second module has completed the operation, and to prompt the recognition result, etc. For example, when the communication unit 110 receives data, the prompter can emit prompts such as light, voice, text, etc. to remind the user that the data has been received and the operation can be performed. When the second module 12 completes the operation, the prompter can emit prompts such as light, voice, text, etc. to remind the user that the operation can be performed. When the recognition unit 113 recognizes the user, the prompter can emit prompts such as light, voice, text, etc. to inform the user that the recognition is successful and remind the user to turn on the physical switch; and when the recognition unit 113 does not recognize the user, the prompter can emit prompts such as light, voice, text, etc. to inform the user that the recognition is unsuccessful and remind the user to re-recognize.

[0060] In the second example, the digital terminal 200 performs the following operations:

[0061] Step i) The communication unit 110 receives data and stores the data in the memory 111 .

[0062] Step ii) The first module 21 controls the prompter to emit a prompt such as light, voice, text, etc. to inform the user that the data has been received and the operation can be performed.

[0063] Step iii) the identification unit 113 identifies the user identity, and the prompter prompts the identification result. If the user identity is not identified, the user is informed that the identification is unsuccessful and is reminded to re-identify, and when the number of unsuccessful identifications reaches a predetermined number, the processing is terminated. If the user identity is identified, the user is informed that the identification is successful and is reminded to turn on the physical switch 112.

[0064] Step iv) When the user's identity is identified, the user switches the physical switch 112 to connect the central unit 219 with the second module 12 and disconnect the central unit 219 from the communication unit 110 .

[0065] Step v) The signing unit 120 digitally signs the data and stores the digital signature in the memory 111 .

[0066] Step vi) The first module 21 controls the prompter to issue a prompt to remind the user that the operation can be performed.

[0067] Step vii) The user switches the physical switch 112 to disconnect the central unit 219 from the second module 12 and connect the central unit 219 to the communication unit 110 .

[0068] Step viii) The communication unit 110 sends the data with the digital signature.

[0069] In addition, there is a situation where the data received by the first module is inconsistent with the data that the user wants to digitally sign due to an operational error at the sending end. In view of this, preferably, the digital signature terminal 200 may also include a display screen for checking data.

[0070] Example 3

[0071] Figure 3 A schematic diagram showing the structure of a third example of a digital signature terminal according to the first embodiment. Figure 2 The same parts have Figure 2 The same functions will not be repeated here.

[0072] like Figure 3 As shown, the central unit 319 further includes a display screen 115 compared to the second example.

[0073] The display screen 115 displays the data stored in the memory for the user to check. The user instructs the signature unit 120 to generate a digital signature based on the result of the check. If the check fails, the user instructs the second module to terminate the processing; if the check passes, the user instructs the signature unit 120 to generate a digital signature.

[0074] In the case where the display screen 115 is a touch screen, the user's instructions can be received through graphic buttons on the touch screen. For example, if the check fails, the user terminates the process by clicking a button on the touch screen for terminating the process; if the check passes, the user generates a digital signature by clicking a button on the touch screen for generating a digital signature.

[0075] Alternatively, a physical button may be provided on the first module 31 to receive the user's instruction. For example, if the check fails, the user terminates the process by operating a physical button for terminating the process provided on the first module; if the check passes, the user generates a digital signature by operating a physical button for generating a digital signature provided on the first module.

[0076] Alternatively, if the check fails, the user terminates the process by clicking a button on the touch screen for terminating the process; if the check passes, the user generates a digital signature by operating a physical button for generating a digital signature set on the first module.

[0077] Alternatively, if the check fails, the user may not do anything and the terminal 300 automatically terminates the process after a predetermined time limit.

[0078] In addition, in this example, the display screen 115 is also used as a prompter to remind the user that the first module has received data and that the second module has completed the operation, and to prompt the recognition result, etc. When the first module 310 receives data, the display screen displays prompts such as "Data received" to remind the user that the operation can be performed. When the second module 12 completes the operation, the display screen displays prompts such as "Signature completed" to remind the user that the operation can be performed to disconnect the first module 31 from the second module 12. When the recognition unit 113 recognizes the user, the display screen displays prompts such as "Success, please turn on the physical switch"; when the recognition unit 113 does not recognize the user, the display screen displays prompts such as "Non-registered user, please re-identify".

[0079] Alternatively, a separate reminder may be provided in the first module 31 to issue a reminder.

[0080] like Figure 3 As shown, the control unit 114 is configured to control the memory 111 , the identification unit 113 , the display screen 115 and the physical switch 112 .

[0081] In the third example, the digital terminal 300 performs the following operations:

[0082] i) The communication unit 110 receives data and stores the data in the memory 111 .

[0083] ii) The display screen 115 sends a text prompt to inform the user that the data has been received and the operation can be performed.

[0084] iii) The identification unit 113 identifies the user and displays the identification result on the display screen 115. If the user identity is not identified, the display screen displays "Non-registered user, please re-identify" to prompt the user to re-identify, and when the number of unsuccessful identifications reaches a predetermined number, the process is terminated. If the user identity is identified, the display screen displays "Success, please turn on the physical switch" to prompt the user to turn on the physical switch 112.

[0085] iv) When the user's identity is recognized, the user turns on the physical switch 112 to connect the central unit 319 with the second module 12 and disconnect the central unit 319 from the communication unit 110 .

[0086] v) After the physical switch 112 is turned on, the display screen 115 displays data for the user to check. If the check is passed, the user instructs the signature unit 120 to execute the digital signature by pressing a physical button or a graphic button; if the check is not passed, the user instructs to terminate the process by pressing another physical button or a graphic button, or the user does not perform any operation, and the terminal 300 automatically terminates the process after a predetermined time limit.

[0087] vi) If the check is passed, the signature unit 120 digitally signs the data and stores the digital signature in the memory 111.

[0088] vii) The display screen 115 issues a text prompt to inform the user that the operation can be performed.

[0089] viii) The user turns off the physical switch 112 to disconnect the central unit 319 from the second module 12 while connecting the central unit 319 to the communication part 110 .

[0090] ix) The communication unit 110 sends the data with the digital signature.

[0091] In combination with the above Figure 3In the third example described, the control unit 114 controls the memory 111, the physical switch 112, the identification unit 113, and the display screen 115 so as to allow or prohibit the central unit 319 to be connected to the second module 12 and disconnected from the communication unit 110 based on the identification result of the identification unit 113, and to allow or prohibit the digital signature based on the inspection result of the data displayed on the display screen. However, alternatively, the control unit 114 can also perform control to allow or prohibit the central unit 319 to be connected to the second module 12 and disconnected from the communication unit 110 based on the inspection result of the data displayed on the display screen; and to allow or prohibit the digital signature based on the identification result of the identification unit 113.

[0092] exist Figure 3 In the example of FIG. 1 , the display screen 115 is disposed in the first module 31, but it may also be disposed in the second module 12, such as Figure 4 shown. Figure 4 The operation of the digital signature terminal 310 is similar to the above description and will not be described in detail here.

[0093] Furthermore, the data may be maliciously tampered with during the transmission process. In order to ensure that the received data is consistent with the sent data, the data can be digitally signed and sent at the sending end. At this time, the digital signature terminal of the present invention will receive the data with the digital signature, and thus needs to verify the data with the digital signature. In view of the above situation, preferably, the digital signature terminal 300 can include a verification unit for verifying the data with the digital signature it receives.

[0094] Example 4

[0095] Figure 5 A schematic diagram showing the structure of a fourth example of a digital signature terminal according to the first embodiment. Figure 3 The same parts have Figure 3 The same functions are not described here. Figure 5 As shown, in addition to the memory 111 , the identification unit 113 , the display screen 115 , the physical switch 112 and the control unit 114 , the central unit 419 also includes a verification unit 116 .

[0096] The verification unit 116 verifies the data with the digital signature received by the first module, and terminates the processing of the digital signature terminal 400 if the verification fails.

[0097] Here, if the digital signature terminal 400 receives data from the cloud, in order to ensure that the data is not tampered with, the cloud uses the cloud's signature private key to generate a digital signature m1 of the data M, and sends the data (M, m1) with the digital signature to the digital signature terminal 400. At this time, the digital terminal 400 performs the following operations:

[0098] i) The communication unit 110 receives the data (M, m1) with the digital signature, and stores the data (M, m1) with the digital signature in the memory 111.

[0099] ii) The display screen 115 sends a text prompt to inform the user that the data has been received and the operation can be performed.

[0100] iii) The identification unit 113 identifies the user and displays the identification result on the display screen 115. If the user identity is not identified, the display screen displays "Non-registered user, please re-identify" to prompt the user to re-identify, and when the number of unsuccessful identifications reaches a predetermined number, the process is terminated. If the user identity is identified, the display screen displays "Success, please turn on the physical switch" to prompt the user to turn on the physical switch 112.

[0101] iv) The user turns on the physical switch 112 to connect the central unit 419 to the second module 12 and disconnect it from the communication part 110 .

[0102] v) The verification unit 116 uses the signature public key of the cloud to verify the digitally signed data (M, m1). Specifically, the signature public key of the cloud is used to perform a verification signature operation on m1 to obtain M1. If M is consistent with M1, the verification is passed; otherwise, the verification fails and the processing of the terminal 400 is terminated.

[0103] vi) After passing the verification, the display screen 115 displays the data for the user to check. If the check is passed, the user instructs the second module 12 to perform the digital signature by pressing a physical button or a graphic button; if the check is not passed, the user instructs to terminate the process by pressing another physical button or a graphic button, or the user does not perform any operation, and after a predetermined time limit, the terminal 400 automatically terminates the process.

[0104] vii) The signature unit 120 generates a digital signature m2 of the data M using the signature private key of the terminal, and stores the digital signature in the memory 111 .

[0105] viii) The display screen 115 issues a text prompt to inform the user that the operation can be performed.

[0106] ix) The user turns off the physical switch 112 to disconnect the central unit 419 from the second module 12 while connecting it to the communication part 110 .

[0107] x) The communication unit 110 sends the data (M, m2) with the digital signature.

[0108] In combination with the above Figure 5In the fourth example described, the control unit 114 controls the memory 111, the physical switch 112, the identification unit 113, the display screen 115, and the verification unit 116 so as to first allow or prohibit the central unit 419 to be connected to the second module 12 and disconnected from the communication unit 110 based on the identification result of the identification unit 113; then verify the data with the digital signature; and then allow or prohibit the digital signature based on the inspection result of the data displayed on the display screen. However, the above order of identification, verification, and inspection is only exemplary. Alternatively, the control unit 114 can also perform control to verify the data with the digital signature first; after the verification is passed, allow or prohibit the central unit 419 to be connected to the second module 12 and disconnected from the communication unit 110 based on the identification result of the identification unit 113; and then allow or prohibit the digital signature based on the inspection result of the data displayed on the display screen.

[0109] Alternatively, the control unit 114 can execute control to first verify the data with the digital signature; after the verification is passed, based on the inspection result of the data displayed on the display screen, it allows or prohibits the central unit 419 from being connected to the second module 12 and disconnected from the communication unit 110; then, based on the recognition result of the recognition unit 113, it allows or prohibits the digital signature.

[0110] In this example, the display screen 115 and the verification unit 116 are disposed in the first module 41. However, alternatively, the display screen 115 and / or the verification unit 116 may also be disposed in the second module 12. Figure 6 shown. Figure 6 The operation of the digital signature terminal shown in is similar to the above description and will not be repeated here.

[0111] Furthermore, during the data transmission process, some data may be confidential. In order to prevent unauthorized third parties from intercepting the data for other purposes, the data can be encrypted and sent at the sending end. At this time, the digital signature terminal of the present invention will receive the encrypted data, and thus needs to decrypt the encrypted data in order to perform the digital signature. In view of this situation, preferably, the digital signature terminal 400 can also include a decryption unit for decrypting the encrypted data received by the first module.

[0112] Example 5

[0113] Figure 7 A schematic diagram showing the structure of a fifth example of a digital signature terminal according to the first embodiment. Figure 5 The same parts have Figure 5 The same functions are not described here. Figure 5 The difference is, Figure 7 The second module 52 in the embodiment includes a decryption unit 521 .

[0114] The decryption unit 521 is used to decrypt the encrypted data received by the communication unit 110, and terminate the processing of the digital signature terminal 500 when the decryption is unsuccessful.

[0115] The operation of the digital signature terminal 500 is described below in two scenarios.

[0116] Scenario 1: The first module 41 receives encrypted data with a digital signature.

[0117] If the digital signature terminal 500 receives data from the cloud, the cloud uses the cloud signature private key to generate a digital signature m1 of the data M, and uses the terminal's encryption public key to encrypt the data (M, m1) with the digital signature to obtain encrypted data (or ciphertext) N (M,m1) , and then encrypt the data N (M,m1) The digital signature terminal 500 performs the following operations under the control of the control unit 114:

[0118] i) The communication unit 110 receives the encrypted data N (M,m1) , and the encrypted data N (M,m1) Stored in the memory 111.

[0119] ii) The display screen 115 sends a text prompt to inform the user that the data has been received and the operation can be performed.

[0120] iii) The identification unit 113 identifies the user and displays the identification result on the display screen 115. If the user identity is not identified, the display screen displays "Non-registered user, please re-identify" to prompt the user to re-identify, and when the number of unsuccessful identifications reaches a predetermined number, the processing is terminated. If the user identity is identified, the display screen displays "Successful, please turn on the physical switch" to prompt the user to turn on the physical switch 112

[0121] iv) After successful identification, the user turns on the physical switch 112 to connect the central unit 419 to the second module 52 while disconnecting it from the communication part 110.

[0122] v) The decryption unit 521 uses the terminal decryption private key to encrypt the data N (M,m1) Decryption is performed to obtain data with a digital signature (M, m1). Preferably, the terminal decryption private key is stored in a second security element in the second module 52, and the second security element is different from the first security element storing the terminal's signature private key.

[0123] vi) The verification unit 116 uses the signature public key of the cloud to verify the digitally signed data (M, m1). Specifically, the signature public key of the cloud is used to perform a verification signature operation on m1 to obtain M1. If M is consistent with M1, the verification is passed; otherwise, the verification fails and the processing of the terminal 500 is terminated.

[0124] vii) After the verification is passed, the display screen 115 displays the data for the user to check. If the check is passed, the user instructs the signature unit 120 to execute the digital signature by pressing a physical button or a graphic button; if the check is not passed, the user instructs to terminate the process by pressing another physical button or a graphic button, or the user does not perform any operation, and after a predetermined time limit, the digital signature terminal 500 automatically terminates the process.

[0125] viii) The signature unit 120 generates a digital signature m2 of the data M using the signature private key of the terminal, and stores the digital signature m2 in the memory 111 .

[0126] ix) The display screen 115 issues a text prompt to inform the user that the operation can be performed.

[0127] x) The user turns off the physical switch 112 to disconnect the central unit 419 from the second module 52 while connecting it to the communication part 110 .

[0128] xi) The communication unit 110 sends the data (M, m2) with the digital signature.

[0129] Scenario 2: The first module 41 receives encrypted data with a digital signature.

[0130] If the digital signature terminal 500 receives data from the cloud, the cloud uses the terminal's encryption public key to encrypt the data M when sending the data, and obtains the encrypted data (or ciphertext) K M ; Then use the cloud signature private key to generate encrypted data K M The digital signature k is then used to encrypt the encrypted data (K M , k) is sent to the digital signature terminal 500. At this time, the digital terminal 500 performs the following operations under the control of the control unit 114:

[0131] i) The communication unit 110 receives encrypted data with a digital signature.

[0132] ii) The display screen 115 sends a text prompt to inform the user that the data has been received and the operation can be performed.

[0133] iii) The identification unit 113 identifies the user and displays the identification result on the display screen 115. If the user identity is not identified, the display screen displays "Non-registered user, please re-identify" to prompt the user to re-identify, and when the number of unsuccessful identifications reaches a predetermined number, the process is terminated. If the user identity is identified, the display screen displays "Success, please turn on the physical switch" to prompt the user to turn on the physical switch 112.

[0134] iv) After successful identification, the user turns on the physical switch 112 to connect the central unit 419 to the second module 52 while disconnecting it from the communication part 110.

[0135] v) After connecting the first module 41 to the second module 52, the verification unit 116 uses the signature public key in the cloud to verify the encrypted data (K M Specifically, the cloud-based signature public key is used to perform a signature verification operation on k to obtain K M 1. If K M With K M 1, the verification is passed; otherwise, the verification fails and the processing of terminal 500 is terminated.

[0136] vi) After verification, the decryption unit 521 uses the terminal's decryption private key to encrypt the data K M Decryption is performed to obtain data M. Preferably, the terminal decryption private key is stored in a second security element in the second module 52 .

[0137] vii) The display screen 115 displays the data M for the user to check. If the check is passed, the user instructs the signature unit 120 to execute the digital signature by pressing a physical button or a graphic button; if the check is not passed, the user instructs to terminate the process by pressing another physical button or a graphic button, or the user does not perform any operation, and after a predetermined time limit, the second module 52 automatically terminates the process.

[0138] viii) The second module 52 generates a digital signature m2 of the data M using the signature private key of the terminal, and stores the digital signature in the memory 111 .

[0139] ix) The display screen 115 issues a text prompt to inform the user that the operation can be performed.

[0140] x) The user turns off the physical switch 112 to disconnect the central unit 419 from the second module 52 while connecting it to the communication part 110 .

[0141] xi) The communication unit 110 sends the data (M, m2) with the digital signature.

[0142] In the scenario 2 described above, the control unit 114 controls the memory 111, the physical switch 112, the identification unit 113, the display screen 115, and the verification unit 116, so as to first allow or prohibit the central unit 419 to be connected to the second module 52 and disconnected from the communication unit 110 based on the identification result of the identification unit 113; then verify the encrypted data with the digital signature; then the decryption unit 521 decrypts the encrypted data after verification; and then allow or prohibit the digital signature based on the inspection result of the data displayed on the display screen. However, the above order of identification, verification, decryption, and inspection is only exemplary. Alternatively, the control unit 114 can also execute control to first decrypt the encrypted data with the digital signature (K M , k) for verification; after the verification is passed, based on the recognition result of the recognition unit 113, the central unit 419 is allowed or prohibited to be connected to the second module 12 and disconnected from the communication unit 110; then, the encrypted data K after verification is M Decryption is performed to obtain M; then, the digital signature is allowed or prohibited based on the inspection result of the data M displayed on the display screen.

[0143] In this example, the display screen and the verification section are placed in the first module 41 , however, alternatively, the display screen 115 and / or the verification section 116 may also be placed in the second module 52 .

[0144] In addition, in order to ensure that the data signed by the second module can be safely transmitted, the digital signature terminal of the present invention can encrypt the signed data before transmission. In view of this situation, preferably, the digital signature terminal 500 can also include an encryption unit for encrypting the data with the digital signature.

[0145] Example 6

[0146] Figure 8 A schematic diagram showing the structure of a sixth example of a digital signature terminal according to the first embodiment. Figure 7 The same parts have Figure 7 The same functions are not described here. Figure 7 The difference is, Figure 8 The central unit 61 in the embodiment also includes an encryption section 117 that performs encryption operations.

[0147] The encryption unit 117 performs the following encryption operations:

[0148] In the fifth example, immediately after the second module 52 generates the digital signature m2, the encryption unit 117 encrypts the data (M, m2) with the digital signature m2 to obtain the encrypted data U (M , m2) At this time, the communication unit 110 encrypts the data U (M,m2) Send to external.

[0149] Alternatively, in the fifth example, immediately before the second module 52 generates the digital signature m2, the encryption unit 117 encrypts the data M to obtain the encrypted data Q M Then the signature unit 120 uses the terminal's signature private key to generate encrypted data Q M The communication unit 110 sends the encrypted data (Q M ,q) is sent to the outside.

[0150] In this example, if Figure 8 As shown, the encryption unit 117 is arranged in the first module 61, but the encryption unit 117 can also be arranged in the second module 52, such as Fig. 9 shown. Fig. 9 The operation of the digital signature terminal 610 is similar to the above operation and will not be repeated here.

[0151] In this example, the operations of the memory 111, the identification unit 113, the display screen 115, the verification unit 116, the physical switch 112, the control unit 114 and the decryption unit 521 are the same as those in the fifth example and will not be repeated here.

[0152] [Second Terminal Implementation Method]

[0153] Example 1

[0154] Below, refer to Figure 10 to Figure 11 A digital signature terminal according to a second embodiment of the present invention will be described.

[0155] Fig.10 FIG. 1 shows a first example of a digital signature terminal according to a second embodiment of the present invention. Fig.10 As shown, the digital signature terminal 700 includes a first module 71 and a second module 12 .

[0156] The first module 71 includes a communication unit 110 for communicating with the outside, a base unit 711, and a central unit 719. The base unit 711 includes a memory 111 and a power supply 121. The memory 111 stores data received by the communication unit 110, and the power supply 121 supplies power to the digital signature terminal 700.

[0157] Preferably, the first module 71 may also include prompters such as voice prompters, LED indicator lights, display screens, etc., so as to remind the user when data is received, remind the user after the second module completes the operation, and prompt the recognition result.

[0158] The base unit 711 receives the user's operation so as to selectively connect to the communication unit 110 or the central unit 719. Specifically, in a normal state, the base unit 711 is connected to the communication unit 110. When the communication unit 110 receives data and stores the data in the memory 111, the user disconnects the base unit 711 from the communication unit 110 and connects the base unit 711 to the central unit 719. In addition, after the second module 12 completes the operation, the user first disconnects the second module 12 from the central unit 719, then disconnects the base unit 711 from the central unit 719 and connects the base unit 711 to the communication unit 110.

[0159] The central unit 719 includes the recognition part 113 for recognizing the identity of the user and the control part 114 for performing control, and receives the operation of the user to connect or disconnect with the second module 12 .

[0160] The second module 12 includes a signature unit 120 for generating a digital signature of data, and the second module 12 transmits the digital signature to the memory 111 to be sent by the communication unit 110. The second module 12 can be fixed to the terminal 700 and connected to the central unit 719 via a physical switch such as a button or a key. When a signature is required, the user turns on the physical switch. Alternatively, the second module 12 can be a detachable device, carried by the user, and the user inserts the detachable second module 12 into the central unit 719 when a signature is required.

[0161] The firmware in the communication unit 110 can be updated by downloading a new version from the Internet, while the firmware in the central unit 719 and the second module 12 cannot be changed after leaving the factory.

[0162] In use, the digital signature terminal 700 performs the following operations:

[0163] Step i) The communication unit 110 receives data and stores the data in the memory 111 .

[0164] Step ii) The first module 71 controls the prompter to emit prompts such as light, voice, text, etc. to remind the user that data has been received and the operation can be performed.

[0165] Step iii) The user disconnects the base unit 711 from the communication section 110 , and connects the central unit 719 to the base unit 711 .

[0166] Step iv) the identification unit 113 identifies the user identity, and the prompter prompts the identification result. If the user identity is not identified, the user is informed that the identification is unsuccessful and the user is reminded to re-identify, and when the number of unsuccessful identifications reaches a predetermined number, the processing is terminated. If the user identity is identified, the user is informed that the identification is successful and the user is reminded to perform operations to connect the second module 12 to the central unit 719.

[0167] Step v) When the recognition is successful, the user performs an operation such as turning on a physical switch or inserting the second module 12 to connect the central unit 719 with the second module 12.

[0168] Step vi) The second module 12 digitally signs the data and stores the digital signature in the memory 111 .

[0169] Step vii) The first module 71 controls the prompter to issue a prompt to remind the user that the operation can be performed.

[0170] Step viii) The user performs an operation such as turning off a physical switch or unplugging the second module 12 to disconnect the central unit 719 from the second module 12 .

[0171] Step ix) The user cuts off the connection between the central unit 719 and the base unit 711 , and closes the connection between the base unit 711 and the communication section 110 .

[0172] Step x) The communication unit 110 sends the data with the digital signature.

[0173] Example 2

[0174] Fig.11 FIG. 2 shows a second example of a digital signature terminal according to a second embodiment of the present invention. Fig.10 The same parts have Fig.10 The same functions will not be repeated here.

[0175] and Fig.10 Compared with the digital signature terminal 700, Fig.11 The digital signature terminal 800 also includes a hash unit 101 within the central unit 819, which is used to generate a hash value of data.

[0176] Preferably, the first module 81 also includes prompters such as voice prompters, LED indicator lights, display screens, etc. to remind the user that the communication unit 110 has received data and that the second module 12 has completed the operation, and prompt the recognition result, etc.

[0177] In the second example, the digital terminal 800 performs the following operations:

[0178] Step i) The communication unit 110 receives data and stores the data in the memory 111 .

[0179] Step ii) The first module 81 controls the prompter to emit a prompt such as light, voice, text, etc. to remind the user that the data has been received.

[0180] Step iii) The user disconnects the base unit 711 from the communication section 110 , and connects the central unit 819 to the base unit 711 .

[0181] Step iv) the identification unit 113 identifies the user identity, and the prompter prompts the identification result. If the user identity is not identified, the user is informed that the identification is unsuccessful and the user is reminded to re-identify, and when the number of unsuccessful identifications reaches a predetermined number, the processing is terminated. If the user identity is identified, the user is informed that the identification is successful and the user is reminded to perform operations to connect the second module 12 to the central unit 819.

[0182] Step v) The user performs an operation such as turning on a physical switch or plugging in the second module 12 to connect the central unit 819 with the second module 12 .

[0183] Step vi) The hash unit generates a hash value of the data.

[0184] Step vii) The second module 12 digitally signs the hash value and stores the digital signature in the memory 111 .

[0185] Step viii) The first module 81 controls the prompter to emit prompts such as light, voice, text, etc. to remind the user to perform the operation.

[0186] Step ix) The user performs an operation such as turning off a physical switch or unplugging the second module 12 to disconnect the central unit 819 from the second module 12 .

[0187] Step x) The user cuts off the connection between the central unit 819 and the base unit 711 , and closes the connection between the base unit 711 and the communication section 110 .

[0188] Step xi) The communication unit 110 sends the hash value with the digital signature.

[0189] In addition, preferably, the central unit 819 may also include a display screen 115. In this case, the operation of the digital signature terminal 800 may refer to the Figure 3 and Fig.11 The description will not be repeated here.

[0190] Further, preferably, the central unit 819 may also include a verification unit 116. In this case, the operation of the digital signature terminal 800 may refer to Figure 5 and Fig.11 The description will not be repeated here.

[0191] Further, preferably, the second module 12 may also include a decryption unit 521. In this case, the operation of the digital signature terminal 800 may refer to Figure 7 and Fig.11 The description will not be repeated here.

[0192] In addition, the above combined Figure 8 and Fig. 9 The encryption unit in the described digital signature terminal can also be replaced by the hash unit 101. In this case, the operation of the digital signature can refer to the above description of 11 and will not be repeated here.

[0193] above Figures 1 to 11 The combination of components in the digital signature terminal described in the specification is only illustrative, and those skilled in the art can make other combinations of components to achieve the effects of the present invention.

[0194] [Third Terminal Implementation Method]

[0195] In the first embodiment of the present invention, the central unit receives the user's operation to selectively connect to the communication part or the second module. However, the central unit can always be connected to the communication part, and the first module receives the user's operation to connect or disconnect with the second module. Fig.12 FIG. 1 is a schematic diagram showing the structure of a digital signature terminal according to this embodiment. Fig.12 As shown, the terminal 900 includes a first module 91 and a second module 52 .

[0196] The first module 91 includes a communication unit 110, a memory 111, a physical switch 112, an identification unit 113, a control unit 114, a display screen 115, a verification unit 116, and an encryption unit 117. The second module 52 includes a signature unit 120 and a decryption unit 521.

[0197] The operation of the digital signature terminal 900 is similar to that of the above reference Figure 7 and Figure 8 The operations described are substantially the same, with the only difference being that in this embodiment, when the user turns on the physical switch 112, the digital signature terminal 900 connects the first module 91 with the second module 52; and when the user turns off the physical switch 112, the digital signature terminal 900 disconnects the first module 91 with the second module 52. Thus, the operation of the digital signature terminal 900 can be referred to in the above description of Figure 7 and Figure 8 The description will not be repeated here.

[0198] In addition, the first module 91 and the second module 52 are not limited to Fig.12In the configuration of the first module 91, the first module 91 can also be configured to include a communication unit 110, a memory 111, a control unit 114, or further include one or more of a physical switch 112, an identification unit 113, a display screen 115, a verification unit 116, and an encryption unit 117. The second module 52 can also be configured to include a signature unit 120, or further include one or more of a display screen 115, a verification unit 116, an encryption unit 117, and a decryption unit 521.

[0199] Below, the description is based on Figures 1 to 12 Application of the digital signature terminal.

[0200] [Application Example 1]: Payment Card

[0201] Fig.13 A schematic diagram showing an example of a digital signature terminal being applied to a payment card.

[0202] like Fig.13 As shown in the figure, users purchase goods or services on the e-commerce platform through desktop computers or mobile terminals. After the user places an order, the platform generates an order and transfers to the payment interface. The user chooses to pay with a payment card on the payment interface and enters the payment card ID. Then, the platform sends a message carrying consumption data to the payment card through the NBIoT module via BitBanks' hosting server on the telecom operator.

[0203] Payment cards are integrated with Figures 1 to 12 The digital signature terminal described. When the communication unit in the payment card receives a message carrying consumption data, the message is stored in the memory and a prompt is issued to remind the user that the data has been received and the operation can be performed. Then, the user performs operations such as switching a physical switch to connect the central unit to the second module and disconnect it from the communication unit. Then, the second module generates a digital signature for the message and transmits the digital signature to the memory. At this time, the prompter in the first module issues a prompt to remind the user that the signature is completed and the operation can be performed. Then, the user performs operations such as switching a physical switch to disconnect the central unit from the second module and connect it to the communication unit. As a result, the communication unit sends the stored message with the digital signature to the server, thereby completing the payment.

[0204] In this example, the payment card is a closed system that can only be paid after confirmation using a physical switch. Therefore, even if there are Trojans or other viruses on the phone or computer, the final confirmation can only pay the specific amount displayed to the specific merchant. This greatly eliminates the loopholes in the most vulnerable link of online payment.

[0205] [Application Example 2]: Offline public transportation card with automatic recharge

[0206] Common NFC cards are divided into two modes: online card and offline card. Online card means that when using the card, the corresponding POS machine or card reader must be connected to the Internet for the transaction to be completed. The card only records identification information such as the card number, but no financial information such as the account balance. For example, when using online cards such as bank cards and credit cards, merchants must connect to the Internet to inquire about the customer's account or account balance from the issuing company to complete the transaction. The advantage of online cards is that they can be reported lost at any time without special recharge; the disadvantage is that transactions cannot be carried out in areas where network communication is poor or non-existent, and real-name transactions are usually required.

[0207] Offline cards store the balance of the card directly on the card. When in use, the merchant uses the depreciation key on the POS machine or card reader to directly deduct (rewrite) the balance on the card to complete the transaction. Therefore, the POS machine or card reader does not need to be connected to the Internet in real time to complete the transaction. However, when the balance is used up, it can only be used again after recharging at a specific terminal. Once the card is lost, it is difficult to report the loss. Advantages of offline cards: fast transaction speed, and transactions can be carried out as usual in areas without network.

[0208] According to the above characteristics, public transportation cards usually adopt the mode of offline cards. In order to overcome the disadvantage that offline cards need to be recharged at a specific terminal at a specific location, we integrate the digital signature terminal into the public transportation card. Once the balance in the card is lower than a specific value, the user can perform operations such as switching the physical switch to connect the central unit in the card to the second module and disconnect it from the communication unit. Then, the second module digitally signs a pre-written recharge message in the card. Then, the prompter reminds the user that the signature is completed and the operation can be performed. Thus, the user performs operations such as switching the physical switch to disconnect the central unit in the card from the second module and connect it to the communication unit. Then, the communication unit sends the digitally signed message to the server of the card issuer via the LPWAN network. Thus, the card issuer can recharge the card through the bank or credit card account bound by the user in advance, and after deducting the amount in the account, a message with the card value-added key is transmitted to the bus card through the LPWAN network, so that the balance on the bus card will be rewritten.

[0209] Below, reference Fig.14 A method for secure communication according to an embodiment of the present invention is described below.

[0210] [First method implementation]

[0211] Fig.14 FIG. 4 is a flow chart showing a secure communication method according to a first embodiment of the present invention. Fig.14 As shown, the secure communication method 1200 includes steps S1210 to S1240.

[0212] In step S1210, a message is received and stored in a memory.

[0213] In step S1220, the message is read from the memory and a digital signature of the message is generated.

[0214] In step S1230, the digital signature is stored in the memory.

[0215] In step S1240, the digital signature and the message are obtained from the memory and the message with the digital signature is sent.

[0216] When receiving and storing a message, the message cannot be read from the memory.

[0217] The method according to the first embodiment can be achieved by combining Fig.12 The digital signature terminal described is implemented, but not limited to this, and it can also be implemented in other ways that can be thought of by those skilled in the art.

[0218] In addition, in the first embodiment, preferably, when receiving and storing the message, the message cannot be read from the memory and when reading the message from the memory, the received message cannot be stored in the memory; and when storing the digital signature in the memory, the digital signature and the message cannot be obtained from the memory and when obtaining the digital signature and the message from the memory, the digital signature cannot be stored in the memory. This preferred embodiment can be achieved by combining Figures 1 to 11 The digital signature terminal described is implemented, but not limited to this, and can also be implemented in other ways that can be thought of by those skilled in the art.

[0219] [Second method implementation]

[0220] In a secure communication method according to a second embodiment of the present invention, in step S1210, a message with a first digital signature generated using a first signature private key is received and stored in a memory; in step S1220, the message with the first digital signature is read from the memory, the message with the first digital signature is verified using the first signature public key, and a second digital signature is generated for the verified message using the second signature private key; in step S1230, the second digital signature is stored in the memory; and in step S1240, the message with the second digital signature is sent.

[0221] The secure communication method of the second embodiment can be combined with Figures 5 to 9 and Fig.12 The digital signature terminal described is implemented, but not limited to this, and can also be implemented in other ways that can be thought of by those skilled in the art.

[0222] [Third Method Implementation]

[0223] In the secure communication method according to the third embodiment of the present invention, in step S1210, a first ciphertext obtained by encrypting a message with a first digital signature by a third encryption public key is received and stored in a memory. In step S1220, the first ciphertext is read from the memory, and the first ciphertext is decrypted using the third decryption private key to obtain a decrypted message with a first digital signature, and then the message with the first digital signature is verified using the first signature public key, and then the second signature private key is used to generate a second digital signature for the verified message. In step S1230, the second digital signature is stored in the memory. In step S1240, the message with the second digital signature is sent.

[0224] The digital signature terminal according to the third embodiment can be combined with Figures 7 to 9 and Fig.12 The present invention may be implemented by a digital signature terminal, but is not limited thereto, and may also be implemented by other methods that can be thought of by those skilled in the art.

[0225] In this embodiment, the message is encrypted and decrypted by asymmetric encryption, but the message can also be encrypted and decrypted by symmetric encryption.

[0226] [Fourth method implementation]

[0227] In the secure communication method according to the fourth embodiment of the present invention, in step S1210, a first ciphertext with a first digital signature generated by a first signature private key is received and stored in a memory, and the first ciphertext is obtained by encrypting a message using a third encryption public key. In step S1220, the first ciphertext with the first digital signature is read from the memory; the first ciphertext with the first digital signature is verified using the first signature public key; the verified first ciphertext is decrypted using the third decryption private key to obtain a message; and the second digital signature of the decrypted message is generated using the second signature private key. In step S1230, the second digital signature is stored in the memory. In step S1240, the message with the second digital signature is sent.

[0228] The digital signature terminal according to the fourth embodiment can be combined with Figures 7 to 9 and Fig.12 The present invention may be implemented by a digital signature terminal, but is not limited thereto, and may also be implemented by other methods that can be thought of by those skilled in the art.

[0229] [Fifth method implementation]

[0230] In the secure communication method according to the fifth embodiment of the present invention, in step S1210, a message with a first digital signature generated using a first signature private key is received and stored in a memory. In step S1220, the message with the first digital signature is read from the memory, the message with the first digital signature is verified using the first signature public key, a second digital signature is generated for the verified message using the second signature private key, and the message with the second digital signature is encrypted using the fourth encryption public key to obtain a second ciphertext. In step S1230, the second ciphertext is stored in the memory. In step S1240, the second ciphertext is sent.

[0231] The digital signature terminal according to the fourth embodiment can be combined with Figure 8 , Fig. 9 and Fig.12 The digital signature terminal can be used to implement it, but is not limited to this. It can also be implemented in other ways that can be thought of by those skilled in the art.

[0232] In the above description, preferably, the algorithm for generating the first digital signature or the second digital signature is different from the algorithm used for encryption or decryption.

[0233] Further, preferably, the first signature public key and the first signature private key pair, the third encryption public key and the third decryption private key pair, the fourth encryption public key and the fourth decryption private key pair, and the second signature public key and the second signature private key pair are all different; or the first signature public key and the first signature private key pair are the same as the fourth encryption public key and the fourth decryption private key pair, and the third encryption public key and the third decryption private key pair are the same as the second signature public key and the second signature private key pair.

[0234] References Fig.14 The steps of the secure communication method are briefly described. For detailed operations of each step, please refer to the above Figures 1 to 12 Here, no detailed description is given.

[0235] In addition, it should be noted that each component of the above system can be configured by software, firmware, hardware or a combination thereof. The specific means or methods that can be used for configuration are well known to those skilled in the art and will not be described in detail here. In the case of software or firmware implementation, the data is transferred from a storage medium or a network to a computer with a dedicated hardware structure (e.g., Fig.15 The general-purpose computer 1300 shown in the figure is installed with the programs constituting the software, and when the various programs are installed, the computer can execute various functions, etc.

[0236] Fig.15 A schematic block diagram of a computer that can be used to implement the method and system according to an embodiment of the present invention is shown.

[0237] exist Fig.15In the embodiment, a central processing unit (CPU) 1301 performs various processes according to a program stored in a read-only memory (ROM) 1302 or a program loaded from a storage section 1308 to a random access memory (RAM) 1303. In the RAM 1303, data required when the CPU 1301 performs various processes and the like is also stored as needed. The CPU 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An input / output interface 1305 is also connected to the bus 1304.

[0238] The following components are connected to the input / output interface 1305: an input section 1306 (including a keyboard, a mouse, etc.), an output section 1307 (including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.), a storage section 1308 (including a hard disk, etc.), a communication section 1309 (including a network interface card such as a LAN card, a modem, etc.). The communication section 1309 performs communication processing via a network such as the Internet. A drive 1310 may also be connected to the input / output interface 1305 as needed. A removable medium 1311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. may be installed on the drive 1310 as needed, so that a computer program read therefrom is installed in the storage section 1308 as needed.

[0239] In the case where the above-described series of processing is realized by software, a program constituting the software is installed from a network such as the Internet or a storage medium such as the removable medium 1311 .

[0240] It should be understood by those skilled in the art that such storage media is not limited to Fig.15 The removable medium 1311 shown has a program stored therein and is distributed separately from the device to provide the program to the user. Examples of the removable medium 1311 include magnetic disks (including floppy disks (registered trademark)), optical disks (including compact disk read-only memory (CD-ROM) and digital versatile disks (DVD)), magneto-optical disks (including minidiscs (MD) (registered trademark)), and semiconductor memories. Alternatively, the storage medium may be the ROM 1302, a hard disk included in the storage section 1308, or the like, in which the program is stored and distributed to the user together with the device containing them.

[0241] The present invention further provides a program product storing machine-readable instruction codes. When the instruction codes are read and executed by a machine, the method according to the embodiment of the present invention can be executed.

[0242] Accordingly, the storage medium for carrying the program product storing the machine-readable instruction code is also included in the scope of the present invention. The storage medium includes but is not limited to a floppy disk, an optical disk, a magneto-optical disk, a memory card, a memory stick, and the like.

[0243] It should be noted that the method of the present invention is not limited to being executed in the time sequence described in the specification, and can also be executed sequentially, in parallel or independently in other orders. Therefore, the execution order of the method described in this specification does not limit the technical scope of the present invention.

[0244] The above description of the various embodiments of the present invention is for a better understanding of the present invention, which is merely exemplary and is not intended to limit the present invention. It should be noted that in the above description, the features described and / or shown for one embodiment can be used in one or more other embodiments in the same or similar manner, combined with the features in other embodiments, or replace the features in other embodiments. It can be understood by those skilled in the art that various changes and modifications made to the above-described embodiments, without departing from the inventive concept of the present invention, are within the scope of the present invention.

[0245] In summary, in embodiments according to the present invention, the present invention provides the following technical solutions.

[0246] Solution 1. A terminal for digital signature, comprising:

[0247] a first module including a communication section for communicating with the outside and a memory for storing data received by the communication section, the first module receiving a user's operation to connect or disconnect with the second module; and

[0248] The second module includes a signature unit that generates a digital signature of the data, and the second module transmits the digital signature to the memory.

[0249] Solution 2. The terminal according to solution 1, wherein the communication unit transmits the data with a digital signature to the outside.

[0250] Solution 3. The terminal according to any one of Solutions 1 to 2, wherein the first module includes a physical switch, and the user's operation is an operation on the physical switch.

[0251] Solution 4. The terminal according to any one of Solutions 1 to 3, wherein the first module includes an identification unit for identifying the identity of the user.

[0252] Solution 5. The terminal according to any one of solutions 1 to 4, wherein the first module prohibits or allows receiving the user's operation based on the result of the identification.

[0253] Solution 6. The terminal according to any one of solutions 1 to 5, wherein the identification unit identifies the identity of the user through a password or a biometric feature of the user.

[0254] Solution 7. A terminal according to any one of Solutions 1 to 6, wherein the password or biometric feature of the identification unit is set or reset through an application on the mobile terminal after undergoing multiple security checks.

[0255] Scheme 8. A terminal according to any one of Schemes 1 to 7, wherein one of the first module and the second module includes a display screen, which displays the stored data for user inspection, and the user instructs the signature unit to generate a digital signature based on the result of the inspection.

[0256] Solution 9. The terminal according to any one of Solutions 1 to 8, wherein if the check fails, the user instructs the terminal to terminate processing; if the check passes, the user instructs the signature unit to generate a digital signature.

[0257] Scheme 10. A terminal according to any one of Schemes 1 to 9, wherein the display screen is a touch screen, and instructing the terminal to terminate processing is the user touching a button on the touch screen for terminating processing, and instructing the signature unit to generate a digital signature is the user touching a button on the touch screen for generating a digital signature.

[0258] Scheme 11. A terminal according to any one of Schemes 1 to 10, wherein instructing the terminal to terminate processing is to operate a physical button for terminating processing set on one of the first module and the second module, and instructing the signature unit to generate a digital signature is to operate a physical button for generating a digital signature set on one of the first module and the second module.

[0259] Solution 12. The terminal according to any one of solutions 1 to 11, wherein the terminal is instructed to terminate the process as no operation is performed for a predetermined time limit.

[0260] Solution 13. The terminal according to any one of solutions 1 to 12, wherein one of the first module and the second module includes an encryption unit,

[0261] The encryption unit encrypts the data with the digital signature and the communication unit sends the encrypted data with the digital signature to the outside; or

[0262] The encryption unit encrypts the stored data, and the signature unit generates a digital signature for the encrypted data.

[0263] Solution 14. A terminal according to any one of Solutions 1 to 13, wherein the first module further includes a verification unit for verifying the data with the first digital signature received by the communication unit, and terminating the processing if the verification fails.

[0264] Solution 15. A terminal according to any one of Solutions 1 to 14, wherein the cloud server uses a cloud signature private key to generate a first digital signature for the data, and the terminal uses a terminal signature public key for verification.

[0265] Solution 16. The terminal according to any one of Solutions 1 to 15, wherein the second module includes a decryption unit for decrypting encrypted data received by the communication unit, and the processing is terminated if the decryption is unsuccessful.

[0266] Solution 17. A terminal according to any one of Solutions 1 to 16, wherein the cloud server generates the encrypted data using the encryption public key of the terminal, and the terminal decrypts the data using the decryption private key of the terminal.

[0267] Scheme 18. A terminal according to any one of Schemes 1 to 17, wherein the verification unit verifies the encrypted data with the second digital signature received by the communication unit, and then the decryption unit decrypts the verified encrypted data; or the decryption unit decrypts the encrypted data with the first digital signature, and then the verification unit verifies the decrypted data with the first digital signature.

[0268] Solution 19. The terminal according to any one of Solutions 1 to 18, wherein the first module further includes a control unit, and the control unit controls the components in the first module.

[0269] Solution 20. The terminal according to any one of Solutions 1 to 19, wherein the first module includes:

[0270] a communication unit, which communicates with the outside;

[0271] A central unit includes a memory storing data received by the communication section, and the central unit receives a user's operation to connect with the second module while disconnecting from the communication section or disconnect from the second module while connecting with the communication section.

[0272] Solution 21. The terminal according to any one of Solutions 1 to 20, wherein the physical switch, the identification unit, the verification unit and the control unit are arranged in the central unit.

[0273] Solution 22. The terminal according to any one of Solutions 1 to 21, wherein the display screen and the encryption unit are arranged on one of the central unit and the second module.

[0274] Solution 23. The terminal according to any one of solutions 1 to 22, wherein the central unit receives a user's operation to connect the central unit to the second module and simultaneously disconnect the central unit from the communication unit.

[0275] Solution 24. A terminal according to any one of Solutions 1 to 23, wherein, after the second module completes the operation, the central unit receives an operation by the user to disconnect the central unit from the second module and simultaneously connect the central unit to the communication unit.

[0276] Solution 25. The terminal according to any one of Solutions 1 to 24, wherein the first module includes:

[0277] Communications department, to communicate with the outside world;

[0278] a base unit including a memory storing data received by the communication section and a power supply for supplying power to the terminal, and the base unit receiving a user's operation so as to selectively connect to the communication section or the central unit; and

[0279] The central unit includes the identification portion and receives a user's operation to connect or disconnect with the second module.

[0280] Solution 26. A terminal according to any one of Solutions 1 to 25, wherein after the data from the communication unit is stored in the memory, the connection between the communication unit and the base unit is cut off and the connection between the central unit and the base unit is connected.

[0281] Solution 27. The terminal according to any one of solutions 1 to 26, wherein the central unit prohibits or allows the central unit to receive the user's operation based on the recognition result of the recognition unit.

[0282] Scheme 28. A terminal according to any one of Schemes 1 to 27, wherein, after the second module completes the operation, the connection between the central unit and the second module is first disconnected, and then the connection between the central unit and the base unit is cut off while the connection between the base unit and the communication unit is connected.

[0283] Solution 29. A terminal according to any one of Solutions 1 to 28, wherein the first module also includes a power supply for powering the terminal.

[0284] Solution 30. The terminal according to any one of Solutions 1 to 29, wherein the first module communicates with the outside via a LPWAN network.

[0285] Solution 31. A terminal according to any one of Solutions 1 to 30, wherein the firmware in the second module maintains the version at the time of shipment.

[0286] Solution 32. A terminal according to any one of Solutions 1 to 31, wherein the communication unit adopts the following communication methods: long-range wireless communication, short-range wireless communication or wired communication.

[0287] A method of secure communication comprising:

[0288] i) receiving a message and storing the message in a memory;

[0289] ii) reading the message from the memory and generating a digital signature of the message;

[0290] iii) storing the digital signature in the memory; and

[0291] iv) acquiring the digital signature and the message from the memory and sending the message with the digital signature;

[0292] Wherein, when the message is received and stored, the message cannot be read from the memory.

[0293] Embodiment 34. The method according to embodiment 33, wherein said ii) comprises:

[0294] ii-a) Identify the user’s identity;

[0295] ii-b) when the user is identified, reading the message from the memory and generating a digital signature of the message; and

[0296] ii-c) In the event that the user is not identified, the process is terminated.

[0297] Embodiment 35. The method according to claims 33 to 34, wherein said ii-b) comprises:

[0298] ii-b-1) when the user is identified, reading the message from the memory and displaying the read message for the user to check;

[0299] ii-b-2) if the check is passed, generating a digital signature of the message;

[0300] ii-b-3) If the inspection fails, the processing is terminated.

[0301] Scheme 36. A method according to any one of schemes 33 to 35, wherein:

[0302] In i), a message with a digital signature m1 is received and stored in the memory, wherein the digital signature m1 of the message is generated using a first signature private key;

[0303] In ii), a message with a digital signature m1 is read from the memory, the message with the digital signature m1 is verified using the first signature public key, and a digital signature is generated for the verified message using the second signature private key;

[0304] In iii), storing the digital signature in the memory; and

[0305] In iv), a message with the digital signature is sent.

[0306] Scheme 37. A method according to any one of schemes 33 to 36, wherein:

[0307] In i), a ciphertext obtained by encrypting a message with a digital signature m1 by using a third encryption public key is received and stored in the memory.

[0308] Solution 38. The method according to any one of Solution 33 to Solution 37, wherein, in ii), the ciphertext is read from the memory;

[0309] Decrypting the ciphertext using the third decryption private key to obtain a decrypted message with a digital signature m1; and

[0310] The message with the digital signature m1 is verified using the first signature public key.

[0311] Scheme 39. A method according to any one of schemes 33 to 38, wherein

[0312] In i), another ciphertext with a digital signature k is received and stored in the memory, wherein the message is encrypted using a third encryption public key to obtain the other ciphertext, and the digital signature k of the other ciphertext is generated using the first signature private key.

[0313] Solution 40. The method according to any one of Solution 33 to Solution 39, wherein, in ii), another ciphertext with a digital signature k is read from the memory;

[0314] Verify another ciphertext with digital signature k using the first signature public key;

[0315] Decrypting the verified ciphertext using the third decryption private key to obtain the message; and

[0316] The second signature private key is used to generate a digital signature of the decrypted message.

[0317] Scheme 41. A method according to any one of schemes 33 to 40, wherein

[0318] Said ii) further comprises: using a fourth encryption public key to encrypt the message with the digital signature to obtain another ciphertext;

[0319] In the step iii), storing the further ciphertext in the memory; and

[0320] In the step iv), the further ciphertext is sent.

[0321] Scheme 42. A method according to any one of schemes 33 to 41, wherein

[0322] In ii), the message is read from the memory, a hash value of the message is generated, and a digital signature of the hash value is generated;

[0323] In iii), storing the hash value with the digital signature in a memory; and

[0324] In iv), the hash value with the digital signature is obtained from the memory and sent.

[0325] Scheme 43. A method according to any one of Schemes 33 to 42, wherein an algorithm for generating the digital signature, the first digital signature or the second digital signature is different from an algorithm used for the encryption or the decryption.

[0326] Scheme 44. A method according to any one of Schemes 33 to 43, wherein the first signature public key and the first signature private key pair, the second signature public key and the second signature private key pair, the third encryption public key and the third decryption private key pair, and the fourth encryption public key and the fourth decryption private key pair are all different; or the first signature public key and the first signature private key pair are the same as the fourth encryption public key and the fourth decryption private key pair, and the third encryption public key and the third decryption private key pair are the same as the second signature public key and the second signature private key pair.

[0327] Scheme 45. A method according to any one of Schemes 33 to 44, wherein encryption and decryption are performed using a symmetric algorithm.

[0328] A financial card comprising a terminal according to any one of claims 1 to 32, wherein:

[0329] The communication unit receives a message carrying financial data, stores the message in the memory, and receives an operation of the user to connect the first module with the second module;

[0330] The signature unit generates a digital signature of the message and transmits the digital signature to the memory; and

[0331] The communication unit sends the stored message with the digital signature to complete the payment.

[0332] Solution 47. A financial card according to Solution 46, wherein the financial data is information related to payment after the online shopping order is completed, and includes: total order amount, payee information, timestamp and payer information.

[0333] Solution 48. The financial card according to Solution 46, wherein the financial data is information related to money transfer and includes: money transfer amount, transfer-in account information, transfer-out account information and a timestamp.

[0334] Scheme 49. A financial card according to Scheme 46, wherein the communication unit uses short-range wireless communication and sends a withdrawal instruction in response to a user's command, and then the communication unit receives a message carrying financial data, wherein the financial data is information related to withdrawal verification and includes: withdrawal amount, withdrawal location, withdrawal account information and timestamp.

[0335] Solution 50. An offline quick payment card comprising a terminal according to any one of Solutions 1 to 32, wherein:

[0336] The first module receives a user's operation to connect the first module with the second module;

[0337] The signature unit obtains a preset message from the memory of the first module, generates a digital signature of the message, and transmits the digital signature to the memory;

[0338] The communication unit sends the stored message with the digital signature to the server via the LPWAN network; and

[0339] The communication unit receives information carrying recharge data from the server via the LPWAN network to recharge the offline quick payment card.

[0340] Solution 51. A computer-readable storage medium storing a program that can be executed by a processor to perform the following method:

[0341] i) receiving a message and storing the message in a memory;

[0342] ii) reading the message from the memory and generating a digital signature of the message;

[0343] iii) storing the digital signature in the memory; and

[0344] iv) acquiring the digital signature and the message from the memory and sending the message with the digital signature;

[0345] Wherein, when the message is received and stored, the message cannot be read from the memory.

Claims

1. A terminal for digital signature, comprising: A first module including a communication section for communicating with the outside and a central unit, the central unit including a memory for storing data received by the communication section, and the central unit receiving a user's operation using a physical switch to connect to a second module while disconnecting from the communication section or disconnecting from the second module while connecting to the communication section; and The second module includes a signature unit that generates a digital signature of the data, and the second module transmits the digital signature to the memory; wherein, when a signature is required, the physical switch is turned on to sign; in this case, the physical switch provided in the first module is used to connect the central unit to the second module and disconnect it from the communication unit; and the central unit is disconnected from the second module and connected to the communication unit; the communication unit sends the data with the digital signature; Alternatively, the second module is a detachable device, which is carried by the user, and the detachable second module is inserted into the first module when a signature is required; in this case, a switch device is provided between the communication unit and the central unit; when the second module is inserted into the first module, the first module causes the switch device to be turned off to disconnect the communication unit from the central unit; and when the second module is pulled out of the first module, the first module causes the switch device to be turned on to connect the communication unit to the central unit; the communication unit sends data with a digital signature; Wherein, the communication unit adopts the following communication methods: long-range wireless communication or short-range wireless communication.

2. The terminal according to claim 1, wherein: The communication unit transmits the data with the digital signature to the outside.

3. The terminal according to claim 2, wherein: The central unit includes a physical switch, and the user's operation is an operation on the physical switch.

4. The terminal according to any one of claims 1 to 3, wherein: The central unit includes an identification section for identifying the identity of the user, and the central unit prohibits or permits receiving the user's operation based on a result of the identification.

5. The terminal according to claim 4, wherein: The identification unit identifies the identity of the user through a password or a biometric feature of the user. The terminal according to claim 5, wherein: The password or biometric feature of the identification unit is set or reset through multiple security checks by an application on the mobile terminal.

7. The terminal according to claim 6, wherein: One of the central unit and the second module includes a display screen that displays the stored data for a user to check, and the user instructs the signature section to generate a digital signature based on a result of the check.

8. The terminal according to claim 7, wherein: If the check fails, the user instructs the terminal to terminate the processing; if the check passes, the user instructs the signature unit to generate a digital signature. Instructing the terminal to terminate processing is that there is no operation for more than a predetermined time limit.

9. The terminal according to claim 8, wherein: The display screen is a touch screen, and the terminal is instructed to terminate processing by the user touching a button for terminating processing on the touch screen, and the signature unit is instructed to generate a digital signature by the user operating a physical button for generating a digital signature set on one of the central unit and the second module.

10. A method for secure communication, comprising: i) receiving a message and storing the message in a memory; ii) reading the message from the memory and generating a digital signature of the message; iii) storing the digital signature in the memory; as well as iv) acquiring the digital signature and the message from the memory and sending the message with the digital signature; wherein, when receiving and storing the message, a physical switch is used so that the message cannot be read from the memory and when the message is read from the memory, the received message cannot be stored in the memory; and, when storing the digital signature in the memory, a physical switch is used so that the digital signature and the message cannot be obtained from the memory and when the digital signature and the message are obtained from the memory, the digital signature cannot be stored in the memory; Wherein, when a signature is required, the physical switch is turned on to sign; in this case, the physical switch is used to connect to the central unit and disconnect from the communication unit at the same time; and disconnect from the central unit and connect to the communication unit at the same time; receive data with a digital signature from the communication unit; or, When a signature is required, a detachable device carried with you is inserted; in this case, a switch device is provided between the communication unit and the central unit; when the detachable device is inserted, the switch device is turned off to disconnect the communication unit from the central unit; and when the second module is pulled out from the first module, the first module turns on the switch device to connect the communication unit to the central unit; receiving data with a digital signature from the communication unit; The first module includes a communication unit for communicating with the outside and a central unit, the central unit includes a memory for storing data received by the communication unit, and the central unit receives a user's operation using a physical switch to connect to the second module and disconnect from the communication unit or disconnect from the second module and connect to the communication unit; The second module includes a signature unit for generating a digital signature of the data, and the second module transmits the digital signature to the memory; the second module is a detachable device, carried by the user, and the detachable second module is inserted into the first module when a signature is required; The message is received using the following communication methods: long-range wireless communication or short-range wireless communication.

11. The method according to claim 10, wherein: Said ii) includes: ii-a) Identify the user; ii-b) when the user is identified, reading the message from the memory and generating a digital signature of the message; and ii-c) In the event that the user is not identified, terminating the process.

12. The method according to claim 11, wherein: Said ii-b) includes: ii-b-1) when the user is identified, reading the message from the memory and displaying the read message for the user to check; ii-b-2) if the check passes, generating a digital signature for the message; ii-b-3) If the inspection fails, the processing is terminated.

13. The method according to claim 10, wherein: In i), a message with a digital signature m1 is received and stored in the memory, wherein the digital signature m1 of the message is generated using a first signature private key; In ii): Reading a message with a digital signature m1 from the memory, verifying the message with the digital signature m1 using the first signature public key, and generating a digital signature for the verified message using the second signature private key; In iii), storing the digital signature in the memory; as well as In iv), the message with the digital signature is sent.

14. The method according to claim 13, wherein: In i), receiving a ciphertext obtained by encrypting a message with a digital signature m1 by using a third encryption public key, and storing the ciphertext in the memory; in ii); Reading the ciphertext from the memory; Decrypt the ciphertext using the third decryption private key to obtain a decrypted message with a digital signature m1; as well as The message with the digital signature m1 is verified using the first signature public key.

15. The method according to claim 13, wherein: In i), another ciphertext with a digital signature k is received and stored in the memory, wherein the message is encrypted using a third encryption public key to obtain the other ciphertext, and the digital signature k of the other ciphertext is generated using the first signature private key; In ii): Reading another ciphertext with digital signature k from the memory; Verify another ciphertext with digital signature k using the first signature public key; Decrypting the verified ciphertext using the third decryption private key to obtain the message; as well as The second signature private key is used to generate a digital signature of the decrypted message.

16. The method according to claim 13, wherein: The step ii) further includes: using a fourth encryption public key to encrypt the message with the digital signature to obtain another ciphertext; In the step iii), storing the further ciphertext in the memory; and In the step iv), the further ciphertext is sent.

17. The method according to claim 10, wherein: In ii), the message is read from the memory, a hash value of the message is generated, and a digital signature of the hash value is generated; In iii), the hash value with the digital signature is stored in a memory; as well as In iv), the hash value with the digital signature is obtained from the memory and sent.

18. The method according to claim 16, wherein: Encryption and decryption are performed using a symmetric algorithm.

19. A financial card comprising a terminal according to any one of claims 1 to 9, wherein: The communication unit receives a message carrying financial data and stores the message in the memory, The central unit receives the user's operation by using a physical switch to connect the central unit to the second module and disconnect it from the communication unit, or to connect the central unit to the communication unit and disconnect it from the second module; The signature unit generates a digital signature of the message and transmits the digital signature to the memory; and The communication unit sends the stored message with the digital signature to complete the payment; Wherein, the communication unit adopts the following communication methods: long-range wireless communication or short-range wireless communication.

20. The financial card of claim 19, wherein: The financial data is information related to payment after the online shopping order is completed, and includes: total order amount, payee information, timestamp and payer information.

21. The financial card of claim 19, wherein: The financial data is information related to the transfer, and includes: transfer amount, transfer-in account information, transfer-out account information and a timestamp.

22. The financial card of claim 19, wherein: The communication unit uses short-range wireless communication and sends a withdrawal instruction in response to a user's command, and then receives a message carrying financial data, wherein the financial data is information related to withdrawal verification and includes: withdrawal amount, withdrawal location, withdrawal account information and timestamp.

23. An offline quick payment card comprising a terminal according to any one of claims 1 to 9, wherein: The central unit receives the user's operation by using a physical switch to connect the central unit to the second module and disconnect it from the communication unit at the same time; The signature unit obtains a preset message from the memory of the central unit, generates a digital signature of the message, and transmits the digital signature to the memory; The communication unit sends the stored message with the digital signature to the server via the LPWAN network; as well as The communication unit receives information carrying recharge data from the server via the LPWAN network to recharge the offline quick payment card; Wherein, the communication unit adopts the following communication methods: long-range wireless communication or short-range wireless communication.

24. A computer-readable storage medium storing a program capable of being executed by a processor to perform the following method: i) receiving a message and storing the message in a memory; ii) reading the message from the memory and generating a digital signature of the message; iii) storing the digital signature in the memory; as well as iv) acquiring the digital signature and the message from the memory and sending the message with the digital signature; wherein, when receiving and storing the message, a physical switch is used so that the message cannot be read from the memory and when the message is read from the memory, the received message cannot be stored in the memory; and, when storing the digital signature in the memory, a physical switch is used so that the digital signature and the message cannot be obtained from the memory and when the digital signature and the message are obtained from the memory, the digital signature cannot be stored in the memory; Wherein, when a signature is required, the physical switch is turned on to sign; in this case, the physical switch is used to connect to the central unit and disconnect from the communication unit at the same time; and disconnect from the central unit and connect to the communication unit at the same time; receive data with a digital signature from the communication unit; or, When a signature is required, a detachable device carried with you is inserted; in this case, a switch device is provided between the communication unit and the central unit; when the detachable device is inserted, the switch device is turned off to disconnect the communication unit from the central unit; and when the second module is pulled out from the first module, the first module turns on the switch device to connect the communication unit to the central unit; receiving data with a digital signature from the communication unit; The first module includes a communication unit for communicating with the outside and a central unit, the central unit includes a memory for storing data received by the communication unit, and the central unit receives a user's operation using a physical switch to connect to the second module and disconnect from the communication unit or disconnect from the second module and connect to the communication unit; The second module includes a signature unit for generating a digital signature of the data, and the second module transmits the digital signature to the memory; the second module is a detachable device, carried by the user, and the detachable second module is inserted into the first module when a signature is required; The message is received using the following communication methods: long-range wireless communication or short-range wireless communication.