Transaction method and apparatus, electronic device, and storage medium
Through the information interaction and update operation between the visual hardware wallet and the receiving terminal, the problem of inaccurate information display of the visual hardware wallet is solved, and the user experience is improved.
Patent Information
- Application Number
- PCT/CN2024/144024
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2024-12-30
- Publication Date
- 2025-07-03
AI Technical Summary
The current visualization function of visual hardware wallet has poor somatosensory usage, and users cannot accurately perceive information changes, resulting in inaccurate display of information.
By sending transaction information and echo instructions between the visual hardware wallet and the acceptance terminal, performing two update operations to ensure that the display content on the visual module is updated accurately.
Improve users' experience during the transaction process, ensuring that users can clearly perceive information changes and judge the accuracy of the displayed content.
Smart Images

Figure CN2024144024_03072025_PF_FP_ABST
Abstract
Description
Transaction method, device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202311861830.9, filed on December 29, 2023, entitled “Transaction Method, Device, Electronic Device and Storage Medium”. The contents disclosed in the above-mentioned Chinese patent application are hereby cited in their entirety as part or all of this application. Technical Field
[0003] The present disclosure relates to the field of computer technology, and in particular to a transaction method, apparatus, device, and storage medium. Background Art
[0004] With the continuous development of computer technology and information security, the application scenarios of digital wallets are becoming increasingly broad and diverse. Common digital wallets include software wallets and hardware wallets. Hardware wallets can conduct offline transactions, but after completing a certain number of transactions, they need to connect online to synchronize and update relevant transaction data and information. To ensure that transaction information is displayed during the transaction and the balance and other information are displayed after the transaction is completed, hardware wallets often have visualization functions. Such hardware wallets with visualization functions are called visual hardware wallets.
[0005] The visualization function of current visual hardware wallets is poor in user experience and does not provide a good user experience. Summary of the Invention
[0006] In view of this, the embodiments of the present disclosure provide a transaction method, device, electronic device, and storage medium to optimize the visualization function of a visual hardware wallet and enhance the user's experience.
[0007] To achieve the above-mentioned purpose, according to a first aspect of an embodiment of the present disclosure, a transaction method is provided, comprising:
[0008] The acceptance terminal sends the transaction instruction to the visual hardware wallet;
[0009] The visual hardware wallet generates transaction information based on transaction instructions;
[0010] The visual hardware wallet sends the transaction information and performs a first update operation; wherein the visual hardware wallet sends the transaction information to the acceptance terminal; the visual hardware wallet includes a visualization module, and the first update operation is used to update the display content on the visualization module;
[0011] The acceptance terminal sends the transaction information to the backend;
[0012] The backend generates an echo instruction based on the transaction information and sends the echo instruction to the acceptance terminal;
[0013] The acceptance terminal sends the echo command to the visual hardware wallet;
[0014] The visual hardware wallet performs a second update operation according to the echo instruction; the second update operation is used to update the display content on the visualization module.
[0015] In some embodiments of the present disclosure, transaction information includes a transaction amount; the echo instruction includes transaction amount information, balance information, QR code information and / or transaction details information, and the transaction amount information, balance information, QR code information and / or transaction details information are encrypted through the background; after the acceptance terminal sends the echo instruction to the visual hardware wallet, the visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details; the display content updated by the second update operation includes the transaction amount, balance, QR code and / or transaction details.
[0016] In some embodiments of the present disclosure, the visual hardware wallet includes a visual interface; the visual hardware wallet calls the visual interface according to the transaction amount information, balance information, QR code information and / or transaction details information to perform the second update operation.
[0017] In some embodiments of the present disclosure, the backend obtains transaction amount information, balance information, QR code information and / or transaction details information by performing the following encryption operation steps:
[0018] The backend encrypts the transaction amount, balance, QR code and / or transaction details using the first key to obtain ciphertext;
[0019] The backend calculates the ciphertext using the second key to obtain the MAC value;
[0020] The backend obtains transaction amount information, balance information, QR code information and / or transaction details based on the ciphertext and MAC value.
[0021] In some embodiments of the present disclosure, the visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details, including:
[0022] The visual hardware wallet uses the second key to verify the MAC value contained in the received echo command;
[0023] If the verification is passed, the visual hardware wallet decrypts the ciphertext using the third key to obtain the transaction amount, balance, QR code and / or transaction details; wherein the third key is the decryption key corresponding to the first key.
[0024] In some embodiments of the present disclosure, the visual hardware wallet includes a visual interface; and the visual hardware wallet performs a first update operation, including: the visual hardware wallet calls the visual interface to perform the first update operation.
[0025] In some embodiments of the present disclosure, the first update operation is to clear the display content of the visualization module or replace the display content on the visualization module; wherein, clearing the display content of the visualization module is to partially clear or completely clear the display content on the visualization module.
[0026] In some embodiments of the present disclosure, the transaction information includes the transaction amount; the background generates an echo instruction based on the transaction information, including: the background performs transaction processing based on the transaction information to generate an echo instruction; the transaction processing includes executing an amount deduction operation.
[0027] In some embodiments of the present disclosure, before the acceptance terminal sends the transaction instruction to the visual hardware wallet, the process further includes:
[0028] The visual hardware wallet performs feature negotiation with the acceptance terminal in response to a transaction request initiated by the acceptance terminal to generate first information, and sends the first information to the acceptance terminal;
[0029] The acceptance terminal sends a transaction instruction to the visual hardware wallet according to the first information.
[0030] In some embodiments of the present disclosure, the first information includes carrier capability information, and the carrier capability information is configured to indicate whether the visual hardware wallet has display capability.
[0031] In some embodiments of the present disclosure, before the visual hardware wallet executes the second update operation according to the echo instruction, if it is detected that the communication connection between the visual hardware wallet and the acceptance terminal fails, the acceptance terminal issues a proximity prompt, which is used to prompt the visual hardware wallet to be brought close to the acceptance terminal.
[0032] A second aspect of the disclosed embodiments provides a transaction method, which is applied to a visual hardware wallet and includes:
[0033] The visual hardware wallet receives the transaction instructions sent by the acceptance terminal;
[0034] The visual hardware wallet generates transaction information based on transaction instructions;
[0035] The visual hardware wallet sends the transaction information and performs a first update operation; the visual hardware wallet sends the transaction information to the acceptance terminal; the visual hardware wallet includes a visualization module, and the first update operation is used to update the display content on the visualization module;
[0036] The visual hardware wallet receives the echo command sent by the acceptance terminal; the echo command is generated by the backend based on the transaction information sent by the acceptance terminal and sent from the backend to the acceptance terminal;
[0037] The visual hardware wallet performs a second update operation according to the echo instruction; the second update operation is used to update the display content on the visualization module.
[0038] In some embodiments of the present disclosure, the transaction information includes the transaction amount; the echo instruction includes the transaction amount information, balance information, QR code information and / or transaction details information; after the visual hardware wallet receives the echo instruction sent by the acceptance terminal, the visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details; the display content updated by the second update operation includes the transaction amount, balance, QR code and / or transaction details; wherein the transaction amount information, balance information, QR code information and / or transaction details information are obtained by encrypting the backend
[0039] In some embodiments of the present disclosure, the visual hardware wallet includes a visual interface; after the visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details, the visual hardware wallet calls the visual interface according to the transaction amount information, balance information, QR code information and / or transaction details information to perform a second update operation.
[0040] In some embodiments of the present disclosure, the visual hardware wallet includes a visual interface; and the visual hardware wallet performs a first update operation, including: the visual hardware wallet calls the visual interface to perform the first update operation.
[0041] In some embodiments of the present disclosure, the first update operation is to clear the display content of the visualization module or replace the display content on the visualization module; wherein, clearing the display content of the visualization module is to partially clear or completely clear the display content on the visualization module.
[0042] In some embodiments of the present disclosure, before the visual hardware wallet performs the second update operation according to the echo instruction, if the communication connection between the visual hardware wallet and the acceptance terminal fails, the visual hardware wallet may perform an operation of approaching the acceptance terminal according to the proximity prompt.
[0043] A third aspect of the disclosed embodiment is applied to a visual hardware wallet, including:
[0044] Visualization module;
[0045] a communicator configured to communicate with an acceptance terminal;
[0046] At least one processor configured to:
[0047] Control the communicator to receive transaction instructions sent by the acceptance terminal and generate transaction information according to the transaction instructions;
[0048] Executing a first update operation and controlling the communicator to send the transaction information to the acceptance terminal; the first update operation is used to update the display content on the visualization module;
[0049] Control the communicator to receive the echo command sent by the acceptance terminal; the echo command is generated by the backend based on the transaction information received from the acceptance terminal, and the echo command is sent from the backend to the acceptance terminal;
[0050] A second update operation is performed according to the echo instruction; the second update operation is used to update the display content on the visualization module.
[0051] According to a fourth aspect of the present disclosure, an electronic device is provided. The electronic device includes:
[0052] one or more processors;
[0053] a storage device for storing one or more programs,
[0054] When one or more programs are executed by one or more processors, the one or more processors implement the transaction method provided by the embodiment of the present disclosure.
[0055] According to a fifth aspect of the embodiments of the present disclosure, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the transaction method provided by the embodiments of the present disclosure is implemented.
[0056] One embodiment of the above invention has the following advantages or beneficial effects: In the disclosed embodiment, the visual hardware wallet sends transaction information and performs a first update operation, and the visual hardware wallet updates the display content on the visualization module through the first update operation; the transaction information is sent to the background through the acceptance terminal, and the background generates an echo instruction based on the transaction information and sends the echo instruction to the acceptance terminal. The acceptance terminal sends the echo instruction to the visual hardware wallet, and the visual hardware wallet performs a second update operation according to the echo instruction to update the display content on the visualization module. After the visual hardware wallet responds to the transaction request initiated by the acceptance terminal, the visual hardware wallet sends transaction information and performs a first update operation to update the display content on the visualization module. The change in the display content on the visualization module prompts the user that the visual hardware wallet is in operation; and after the visual hardware wallet receives the echo instruction, the second update operation is performed to update the display content on the visualization module. The user receives the display content updated by the second update operation and can view the transaction result. If the first update operation or the second update operation is not triggered, the user can clearly perceive that the content currently displayed on the visualization module may be inaccurate. The two updates ensure that the user can clearly perceive the changes in the information displayed on the visualization module during the transaction using the visual hardware wallet, thereby improving the user experience of the visual hardware wallet during the transaction process; and further help the user determine whether the content displayed on the visualization module is updated content, thereby improving the user experience.
[0057] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings are used to better understand the present disclosure and do not constitute an improper limitation of the present disclosure.
[0059] FIG1 is a schematic diagram of the structure of a trading system according to an embodiment of the present disclosure;
[0060] FIG2 is a flowchart of a transaction method according to an embodiment of the present disclosure;
[0061] FIG3 is a second flowchart of a transaction method according to an embodiment of the present disclosure;
[0062] FIG4 is a schematic diagram of the structure of a visual hardware wallet in a transaction system according to an embodiment of the present disclosure;
[0063] FIG5 is a schematic diagram illustrating interface changes of the visualization module in FIG4 during an example transaction; FIG5(a) is a schematic diagram illustrating the interface of the visualization module before a first update operation; FIG5(b) is a schematic diagram illustrating the interface of the visualization module after the first update operation and before a second update operation; and FIG5(c) is a schematic diagram illustrating the interface of the visualization module after the second update operation;
[0064] FIG6 is a schematic diagram of main modules of a transaction device according to an embodiment of the present disclosure;
[0065] FIG7 is a diagram of an exemplary system architecture in which embodiments of the present disclosure may be applied;
[0066] FIG8 is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION
[0067] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0068] It should be noted that the terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0069] In addition, in the description of the embodiments of the present disclosure, unless otherwise specified, " / " means or. For example, A / B can mean A or B. "And / or" in this document is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present disclosure, "plurality" means two or more than two.
[0070] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, and storage of user personal information involved in the technical solutions provided herein all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures will be taken with respect to user personal information to prevent unauthorized access to user personal information data and safeguard the security of user personal information, network security, and national security.
[0071] With the continuous development of computer technology and information security, the application scenarios of digital wallets are becoming increasingly broad and diverse. To ensure that transaction information is displayed during the transaction and that information such as the balance is displayed after the transaction is completed, hardware wallets often have visualization functions, and the use of these visual hardware wallets is becoming increasingly widespread. However, in the current usage environment and payment ecosystem, the visualization function of visual hardware wallets is difficult to use, resulting in a poor user experience.
[0072] After extensive user research, we discovered that one of the key reasons for the aforementioned issues is that users are unable to accurately and clearly perceive changes in the information displayed by the visualization module. This results in users being unable to detect inaccurate updates of the information displayed by the visualization module due to various reasons (e.g., network jitter, premature withdrawal of the visual hardware wallet, etc.). Ultimately, the information displayed by the visual hardware wallet may be inaccurate.
[0073] In view of the above technical problems, the present application provides a transaction method, in which a visual hardware wallet sends transaction information and performs a first update operation, and the visual hardware wallet updates the display content on the visualization module through the first update operation; the transaction information is sent to the backend through the acceptance terminal, and the backend generates an echo instruction based on the transaction information and sends the echo instruction to the acceptance terminal. The acceptance terminal sends the echo instruction to the visual hardware wallet, and the visual hardware wallet performs a second update operation based on the echo instruction to update the display content on the visualization module. After the visual hardware wallet responds to the transaction request initiated by the acceptance terminal, the visual hardware wallet sends transaction information and performs a first update operation to update the display content on the visualization module. The change in the display content on the visualization module prompts the user that the visual hardware wallet is in operation; and after the visual hardware wallet receives the echo instruction, the second update operation is performed to update the display content on the visualization module. The user receives the display content updated by the second update operation and can view the transaction result. If the first update operation or the second update operation is not triggered, the user can clearly perceive that the content currently displayed on the visualization module may be inaccurate. The two updates ensure that the user can clearly perceive the changes in the information displayed on the visualization module during the transaction using the visual hardware wallet, thereby improving the user experience of the visual hardware wallet during the transaction process; and further help the user determine whether the content displayed on the visualization module is updated content, thereby improving the user experience.
[0074] The following is a brief introduction to the implementation environment (implementation architecture) involved in the method provided by this application.
[0075] The transaction method provided in the embodiments of this application can be applied to a transaction system. Figure 1 is a schematic diagram of the structure of a transaction system according to an embodiment of the present disclosure. As shown in Figure 1, the transaction system includes a visual hardware wallet 11, an acceptance terminal 12, and a backend 13. The visual hardware wallet 11 and the acceptance terminal 12 can be connected wirelessly, and the acceptance terminal 12 and the backend 13 can be connected by wire or wirelessly to enable data and information exchange between the visual hardware wallet 11, the acceptance terminal 12, and the backend 13.
[0076] A hardware wallet refers to a digital RMB carrier equipped with a security module. The form of the hardware wallet security module medium is not limited and can be a SIM card, bank card, full-terminal eSE, etc. As the carrier of the hardware wallet application, the medium must be tested by the testing agency designated by the People's Bank of China. The visual hardware wallet 11 is a hardware wallet with a visualization function. The realization of the visualization function can be a visualization device equipped separately for the hardware wallet, or it can be a visualization device (such as a mobile phone screen, tablet computer screen, etc.) provided by the medium as the carrier of the hardware wallet application. The visualization device can be in the form of a screen, such as an electronic screen (such as a segment code screen, a dot matrix screen, etc.), an ink screen, etc.; it can also be displayed using virtual display technology (such as holographic projection, etc.).
[0077] Acceptance Terminal 12 refers to the terminal equipment that accepts DC / EP services, including POS and ATMs. DC / EP services refer to digital currency / electronic payment services, which are the technological ecosystem supporting the operation of the digital RMB. Acceptance Terminal 12 interacts with the hardware wallet, obtains payment information, and transmits it to the institution's backend.
[0078] The backend 13 system includes the acquiring institution backend, the payment institution backend, the interconnection platform, etc. for transaction information transmission, transaction information verification, payment and collection, etc.; it is responsible for providing hardware wallet functions such as personal and data, wallet management, payment and collection transactions, etc.
[0079] FIG2 is one of the flow charts of a transaction method according to an embodiment of the present disclosure. In some embodiments, the transaction method can be applied to the transaction system shown in FIG1 , such as the visual hardware wallet 11 , the acceptance terminal 12 , and the backend 13 , and can also be applied to other similar devices.
[0080] As shown in FIG2 , the transaction method provided in the embodiment of the present application includes the following S201 - S207 .
[0081] S201: The acceptance terminal sends a transaction instruction to the visual hardware wallet.
[0082] S202: The visual hardware wallet generates transaction information according to the transaction instruction.
[0083] As a possible implementation, transaction information may include user identification, payee identification, digital currency identification, transaction amount, transaction counter, carrier capability identification, terminal random number, and verification code (MAC). The user identification is the identification information of the user corresponding to the visual hardware wallet; the payee identification is the identification information of the payee corresponding to the acceptance terminal; the transaction counter indicates the remaining number of offline transactions; the carrier capability information can be reflected in the carrier capability identification, which is configured to indicate whether the visual hardware wallet has display capabilities; the terminal random number is used for comparison to prevent transaction replay; and the verification code (MAC) is used for information verification. The above specific transaction information will be described in detail in the corresponding scenarios below and will not be repeated here.
[0084] S203: The visual hardware wallet sends the transaction information and performs a first update operation; the visual hardware wallet sends the transaction information to the acceptance terminal; the visual hardware wallet includes a visualization module, and the first update operation is used to update the display content on the visualization module.
[0085] In one embodiment of the present disclosure, the first update operation is to clear the display content of the visualization module, and clearing the display content of the visualization module is to partially clear or completely clear the display content on the visualization module. By clearing the content display operation, it can be ensured that the user can feel the successful establishment of transaction communication between the visual hardware wallet and the acceptance terminal in real time during use, and it also ensures that the subsequent display refresh of the visualization module is more eye-catching. In another embodiment of the present disclosure, the first update operation is to replace the display content on the visualization module, such as replacing the display content with customized content such as "Transaction in Progress", "Processing", "Please Wait", "Transaction in Progress", "Transaction in Progress, Please Do Not Leave", or displaying a pattern logo, such as a digital RMB icon, an operating bank logo, a merchant trademark, a merchant name, or an abbreviation of the merchant name.
[0086] In one embodiment of the present disclosure, a visual hardware wallet includes a visualization interface. The visualization interface is an interface for connecting a visualization module with other systems or applications. Through this interface, the visualization module can be easily integrated into the hardware wallet system or hardware wallet application to implement functions such as visual display and interaction of data. The visualization interface generally follows certain specifications and standards to ensure interoperability and compatibility between different systems or applications.
[0087] In some embodiments of the present disclosure, the visual hardware wallet performs a first update operation, including: the visual hardware wallet includes a visual interface; when the visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details or thereafter, the visual hardware wallet calls the visual interface according to the transaction amount information, balance information, QR code information and / or transaction details information to perform a second update operation directly through the transaction amount information, balance information, QR code information and / or transaction details information, which can shorten information processing time and ensure that the second update operation is executed more quickly.
[0088] S204: The acceptance terminal sends the transaction information to the backend.
[0089] After receiving the transaction information, the acceptance terminal transmits the transaction information to the background, and the background processes the transaction based on the transaction information.
[0090] S205: The backend generates an echo instruction based on the transaction information and sends the echo instruction to the acceptance terminal.
[0091] As one possible implementation, transaction information includes user identification and transaction amount. The backend can obtain the account information corresponding to the visual hardware wallet, which includes the account amount. The balance can be determined based on the transaction amount included in the transaction information. As another possible implementation, after receiving the transaction information sent by the acceptance terminal, the backend processes the transaction based on the specific information contained in the transaction information. After performing operations such as deducting the amount based on the transaction amount and the account information stored in the backend, an echo instruction is generated.
[0092] As a possible implementation method, after receiving the transaction information sent by the acceptance terminal, the backend performs judgment and verification operations based on the specific information contained in the transaction information; for example, it uses the contained carrier capability identification information to determine and identify the visual hardware wallet; uses the contained verification code MAC information to perform security verification operations; uses the contained user identification information, payee identification information, and digital currency identification information to establish the relationship between the visual hardware wallet and the corresponding account in the backend to find the user wallet, change the account balance, and record transaction information; and uses the contained transaction counter information to determine whether the hardware wallet has reached the transaction limit.
[0093] S206: The acceptance terminal sends the echo instruction to the visual hardware wallet.
[0094] The echo instruction includes information about the display content to be updated by the second update operation.
[0095] S207: The visual hardware wallet performs a second update operation according to the echo instruction; the second update operation is used to update the display content on the visualization module.
[0096] As a possible implementation method, the transaction information includes user identification, transaction amount, transaction counter, and payee identification; the echo instruction correspondingly includes transaction amount information, balance information, QR code information, and / or transaction details information, and the transaction amount information, balance information, QR code information, and / or transaction details information are encrypted in the background; after the acceptance terminal sends the echo instruction to the visual hardware wallet, the visual hardware wallet decrypts the transaction amount information, balance information, QR code information, and / or transaction details information to obtain the transaction amount, balance, QR code, and / or transaction details; the display content updated by the second update operation includes the transaction amount, balance, QR code, and / or transaction details. Among them, the QR code is a content format that can be displayed by the visualization module. The information contained in the QR code can be information such as transaction status, merchant status, transaction amount, balance, invoicing website, invoicing information, etc. (which can be obtained by scanning terminals such as mobile phones and iPads); the transaction details can be a text display of the transaction status, merchant status, remaining offline transaction times, etc.
[0097] In some embodiments of the present disclosure, the visual hardware wallet includes a visual interface; after the visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details, the visual hardware wallet calls the visual interface according to the transaction amount information, balance information, QR code information and / or transaction details information, that is, it can be called by the information corresponding to the content to be displayed on the visualization module to perform the second update operation.
[0098] The above embodiments provided by the present application have the following advantages or beneficial effects: According to the transaction method provided by the embodiment of the present application, it is applied to the transaction system. The visual hardware wallet sends transaction information and performs a first update operation. The visual hardware wallet updates the display content on the visualization module through the first update operation; the transaction information is sent to the backend through the acceptance terminal. The backend generates an echo instruction based on the transaction information and sends the echo instruction to the acceptance terminal. The acceptance terminal sends the echo instruction to the visual hardware wallet. The visual hardware wallet performs a second update operation according to the echo instruction to update the display content on the visualization module. After the transaction is established, the visual hardware wallet sends the transaction information and performs a first update operation to update the display content on the visualization module, prompting the user that the visual hardware wallet is in operation; and after the visual hardware wallet receives the echo instruction, it performs a second update operation to update the display content on the visualization module. The user receives the updated display content after the second update operation and can view the transaction results. The two updates ensure that the user can clearly perceive the changes in the information displayed on the visualization module during the transaction using the visual hardware wallet, improving the user experience of the visual hardware wallet during the transaction; and further helps the user determine whether the content displayed on the visualization module is updated, thereby improving the user experience.
[0099] In some embodiments of the present disclosure, before the acceptance terminal sends a transaction instruction to the visual hardware wallet, the visual hardware wallet performs feature negotiation with the acceptance terminal in response to a transaction request initiated by the acceptance terminal to generate first information, and then sends the first information to the acceptance terminal. The acceptance terminal then sends the transaction instruction to the visual hardware wallet based on the first information. Figure 3 is a second flowchart of a transaction method according to one embodiment of the present disclosure. As shown in Figure 3, the transaction method provided in this embodiment of the present application may also include the following steps S301-S308.
[0100] S301: The visual hardware wallet responds to the transaction request initiated by the acceptance terminal.
[0101] The acceptance terminal initiates a transaction request, and the user holds a visual hardware wallet to respond to the transaction request initiated by the acceptance terminal. The interaction between the acceptance terminal and the visual hardware wallet can be contact or contactless (such as NFC, Bluetooth, etc.).
[0102] After the visual hardware wallet receives the transaction request initiated by the acceptance terminal, the transaction parties (the visual hardware wallet and the acceptance terminal) send a feature negotiation instruction. The method also includes S302: the visual hardware wallet receives the capability negotiation request sent by the acceptance terminal; and S303: generating first information according to the capability negotiation request, and sending the first information to the acceptance terminal; wherein the first information includes transaction mode information.
[0103] In the digital currency field, feature negotiation refers to the classification of key capabilities associated with various hardware wallet business models, technical implementation solutions, and hardware media formats (card wallets, smartwatches, mobile terminals, wristbands, POS machines, IC cards, ATMs, etc.). Institutions achieve interoperability based on capability interaction and feature negotiation requirements. During implementation, some of these functions can be implemented based on business needs. For example, feature negotiation instructions can include the identifiers of the digital currency operating institutions corresponding to both parties (or multiple parties) in a transaction. Feature negotiation information can be used to determine whether the transaction is between the same digital currency operating institution or between different digital currency operating institutions. For example, feature negotiation information may include information such as the operating institution identifier G corresponding to the digital currency wallet account opened by the seller and the operating institution identifier H corresponding to the digital currency wallet account of the buyer. After obtaining the feature negotiation information from the hardware carrier of the digital currency wallet, the executing entity sends the transaction request to the backend, which encrypts the message and sends it to the corresponding digital currency operating institution. Upon receiving the message, the corresponding digital currency operating institution decrypts the message, completes the debit process, and returns the result to the executing entity. Feature negotiation can include parameters such as expression version information, application version information, transaction mode, terminal type, networking capabilities, etc. Through the feature negotiation process, rapid transaction mode selection can be achieved.
[0104] In some embodiments of the present disclosure, the capability negotiation request includes the transaction mode, version number and other contents; the transaction mode includes online or offline, dual online, single offline, and dual offline, and the version number is the transaction negotiation version number. The visual hardware wallet receives the capability negotiation request sent by the acceptance terminal, performs capability negotiation with the acceptance terminal to obtain first information, and sends the first information to the acceptance terminal; wherein, the first information returned by the visual hardware wallet is the negotiation result and its own capability information, for example, including information such as carrier capability, transaction mode, version number, and matching result. The carrier capability information included in the first information is used to verify that the visual hardware wallet has display capability. Verifying that the visual hardware wallet has display capability can be used to determine whether the current visual hardware wallet has a visualization module, and can also be used to determine whether the visualization module of the current visual hardware wallet is working normally.
[0105] After the acceptance terminal receives the first information sent by the visual hardware wallet, the method further includes S304: the acceptance terminal performs a judgment and processing based on the received first information. In some embodiments of the present disclosure, the acceptance terminal's judgment based on the received first information may include determining the matching result between the acceptance terminal and the visual wallet, selecting a transaction mode for the transaction, and recording the visual capabilities of the visual hardware wallet. The acceptance terminal may first determine whether the transaction match is successful based on the matching result in the first information, and then determine other capabilities. If the matching result is a match, the acceptance terminal executes the transaction instruction sent by the acceptance terminal and sends a command to obtain transaction information to the visual hardware wallet based on the transaction mode information. Recording the visual capabilities of the visual hardware wallet can be determined based on the first information including carrier capability information. The carrier capability information is configured to indicate whether the visual hardware wallet has display capabilities. It is understood that the carrier capability information can be used to verify whether the hardware wallet includes a visualization module. It can also be used to indicate whether the visualization function of the visualization module of the visual hardware wallet is functioning properly, such as being able to be successfully illuminated and displaying and refreshing content.
[0106] In some embodiments of the present disclosure, after receiving the instruction to obtain transaction information, the visual hardware wallet returns the transaction information according to the instruction to obtain transaction information. Before the transaction information is sent from the visual hardware wallet to the acceptance terminal, the visual hardware wallet and the acceptance terminal communicate with each other for multiple rounds. The exchanged information may be sent from the acceptance terminal to the visual hardware wallet and then from the visual hardware wallet to the acceptance terminal. The accuracy of the information is guaranteed by verification on the acceptance terminal side. For example, the transaction amount is determined by the acceptance terminal side and sent to the visual hardware wallet side. When the visual hardware wallet transmits the transaction information to the acceptance terminal, the transaction amount is returned to the acceptance terminal. The acceptance terminal will verify the transaction amount again to verify whether the transaction amount is accurate.
[0107] The backend receives the transaction information and executes S305: processing the transaction information to obtain the transaction result and generating an echo instruction according to the transaction information.
[0108] As one possible implementation, the echo instruction includes transaction amount information, balance information, QR code information, and / or transaction details information, which are encrypted by the backend. Encrypting the transaction amount information, balance information, QR code information, and / or transaction details information includes S3051-S3053.
[0109] S3051: The transaction amount, balance, QR code and / or transaction details are encrypted using the first key to obtain ciphertext.
[0110] Among them, the first is the transaction encryption process key. Under the control of the first key, the transaction amount, balance, QR code and / or transaction details are transformed using an encryption algorithm. The transaction amount, balance, QR code and / or transaction details are processed to obtain ciphertext, thereby achieving the purpose of hiding the information content.
[0111] S3052: Calculate the ciphertext using the second key to obtain a MAC value.
[0112] The second key is a MAC process key, and the ciphertext obtained is calculated and processed using the MAC process key to obtain a MAC value.
[0113] S3053: Obtain transaction amount information, balance information, QR code information and / or transaction details information based on the ciphertext and MAC value.
[0114] The ciphertext obtained in S3051 and the MAC value obtained in S3052 are processed to obtain the transaction amount information, balance information, QR code information, and / or transaction details information. For example, the process of generating the transaction amount information is illustrated as follows: the transaction amount information is generated by processing the ciphertext of the transaction amount obtained in S3051 and the MAC value of the transaction amount obtained in S3052. In other words, the transaction amount information includes both the ciphertext of the transaction amount and the MAC value of the transaction amount. The process of generating the balance information, QR code information, and transaction details information is the same as that of generating the transaction amount information and will not be repeated here.
[0115] In one embodiment of the present disclosure, in S3051, the transaction amount, balance, QR code and / or transaction details are processed to obtain a ciphertext and considered as a whole; in S3052, the ciphertext is calculated to obtain a MAC value; in S3053, the transaction amount information, balance information, QR code information and / or transaction details information are obtained based on the ciphertext and the MAC value. In another embodiment of the present disclosure, in S3051, according to the actual existence of the transaction amount, balance, QR code and transaction details, the transaction amount, balance, QR code and transaction details are respectively processed to obtain the corresponding ciphertexts; for example, if the existing information is the transaction amount and balance, the transaction amount and balance are respectively processed to obtain the corresponding ciphertexts (two ciphertexts); in S3052, the ciphertext is calculated to obtain the corresponding MAC value; as in the example given above, the two ciphertexts are respectively calculated to obtain the corresponding MAC values (two MAC values); in S3053, the transaction amount information, balance information, QR code information and / or transaction details information are obtained according to the ciphertext and MAC value; as in the example given above, the transaction amount information and balance information are obtained according to the ciphertext (two ciphertexts) and MAC value (two MAC values, corresponding one to one to the two ciphertexts).
[0116] When the backend sends the echo command to the acceptance terminal, it simultaneously executes S306: Sending the transaction results to the acceptance terminal. The transaction results are displayed on the acceptance terminal, either visually, such as on a screen, or via voice announcement. The transaction results may include information about transaction success or failure, as well as the specific transaction amount. Displaying the transaction results on the acceptance terminal makes it easier for merchants to obtain transaction results.
[0117] After the echo instruction is sent from the acceptance terminal to the visual hardware wallet, the method includes S308: the visual hardware wallet decrypts the echo instruction and performs a second update operation.
[0118] As a possible implementation manner, the echo instruction includes transaction amount information, balance information, QR code information and / or transaction details information. The visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details, including S3081-S3082.
[0119] S3081: The visual hardware wallet uses the second key to verify the MAC value included in the echo instruction received by the visual hardware wallet.
[0120] After receiving the echo command from the acceptance terminal, the visual hardware wallet verifies the MAC value contained in the echo command to ensure the integrity of the transmitted information. The verification process uses a second key (i.e., the MAC process key) for verification. If the verification fails, it indicates that the transmitted information has been intercepted, tampered with, or forged, and a prompt will be displayed.
[0121] S3082: If the verification passes, the ciphertext is decrypted using a third key to obtain the transaction amount, balance, QR code and / or transaction details; wherein the third key is the decryption key corresponding to the first key.
[0122] Among them, if the MAC value contained in the echo instruction is verified, a decryption operation is performed, and the transaction amount, balance, QR code and / or transaction details in ciphertext form are decrypted using the third key to obtain the plain text of the transaction amount and / or balance; the third key is the decryption key corresponding to the first key.
[0123] After extensive user research, we've discovered a novel scenario where information, such as the amount displayed, could be tampered with due to interception. The visual hardware wallet process involves the transmission of payment information, transaction information, and transaction results, which carries the risk of malicious interception and tampering.
[0124] In view of the above technical problems, the present application provides a transaction method, in which the background receives transaction information and generates an echo instruction based on the transaction information, the echo instruction includes the transaction amount information, balance information, QR code information and / or transaction details information obtained by the background performing an encryption operation; the visual hardware wallet decrypts the transaction amount information, balance information, QR code information and / or transaction details information to obtain the transaction amount, balance, QR code and / or transaction details; the visual hardware wallet calls the visualization module interface based on the transaction amount information, balance information, QR code information and / or transaction details information, performs a second update operation, and updates the display content on the visualization module through the second update operation, the updated display content includes the transaction amount, balance, QR code and / or transaction details. Through the encrypted transmission of the transaction amount, balance, QR code and / or transaction details in the background, the visual hardware wallet end decrypts the transaction amount, balance, QR code and / or transaction details to prevent the amount display from being tampered with, and can enable the visual hardware wallet to correctly display information such as the balance as required, thereby improving the user experience.
[0125] In some embodiments of the present disclosure, the encryption technology used can be either symmetric or asymmetric. Symmetric encryption refers to a cryptographic technology in which both the originator's transformation and the recipient's transformation use the same secret key, i.e., the first key and the third key are the same secret key. Asymmetric encryption refers to an encryption algorithm that uses different keys for encryption and decryption, using a public key (i.e., the first key) for encryption and a private key (i.e., the third key) for decryption.
[0126] In some embodiments of the present disclosure, the process further includes step S307: before updating the display content on the visualization module through the second update operation, if it is detected that the communication connection between the visual hardware wallet and the acceptance terminal fails, issuing a proximity prompt, wherein the proximity prompt is used to prompt the visual hardware wallet to perform a proximity operation to the acceptance terminal.
[0127] The visual hardware wallet lacks consistency with backend information, resulting in inaccurate information displayed. For example, communication failure can cause information such as the displayed amount to be incorrectly displayed. The transaction and payment process relies on end-to-end communication. If the connection is lost due to abnormalities such as premature hardware wallet withdrawal or network jitter, the visual hardware wallet may not be able to update the correct information in a timely manner. For example, the information displayed on the visual hardware wallet may still show the original balance, which is inconsistent with the actual amount, causing confusion for users. To address this, the transaction terminal monitors the communication connection between the visual hardware wallet and the acceptance terminal in real time. If a communication failure is detected, a "move closer" prompt is issued, prompting the visual hardware wallet to move closer to the acceptance terminal to ensure that information such as the amount is displayed correctly.
[0128] Figure 4 is a schematic diagram of the structure of a visual hardware wallet in a transaction system according to an embodiment of the present disclosure; Figure 5 is a schematic diagram of the interface changes of the visualization module in Figure 4 during an example transaction; Figure 5(a) is a schematic diagram of the interface of the visualization module before a first update operation; Figure 5(b) is a schematic diagram of the interface of the visualization module after the first update operation and before a second update operation; Figure 5(c) is a schematic diagram of the interface of the visualization module after the second update operation. As shown in Figures 4 and 5(a)-(c), in one embodiment of the present disclosure, the visual hardware wallet 11 includes a visualization module 111, which can be a display screen. During an example transaction, the visual hardware wallet 11 responds to the acceptance terminal, and the visualization module 111 is illuminated. The displayed content is shown in Figure 5(a), where the visualization module displays "Balance: 100" and "Offline Available Times: 98." The visual hardware wallet sends transaction information and performs a first update operation. The first update operation updates the displayed content on the visualization module, as shown in Figure 5(b). The visualization module displays "Transaction in Progress, Please Do Not Leave." The visual hardware wallet performs a second update operation according to the echo instruction. The second update operation updates the displayed content on the visualization module, as shown in Figure 5(c). The visualization module displays "Transaction Amount "5.2," "Balance: 94.8," and "Offline Available Times: 97." The user can confirm the accuracy of the content displayed on the visualization module through the clear interface display content changes.
[0129] The above mainly introduces the solutions provided by the embodiments of this application from the perspective of methods. To achieve the above functions, the visual hardware wallet, acceptance terminal, and backend include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily appreciate that, in combination with the units and algorithm steps of the various examples described in the embodiments disclosed herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in hardware or in a computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0130] In the embodiments of the present application, the visual hardware wallet can be divided into functional modules according to the above method. For example, the visual hardware wallet can include functional modules corresponding to the functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.
[0131] For example, FIG6 is a schematic diagram of the main modules of a transaction device according to an embodiment of the present disclosure. The present application also provides a transaction device applied to a visual hardware wallet 11, including:
[0132] Visualization module 111;
[0133] a communicator 112 configured to communicate with the acceptance terminal 12;
[0134] At least one processor 113 configured to:
[0135] Control the communicator 112 to receive the transaction instructions sent by the acceptance terminal 12 and generate transaction information according to the transaction instructions;
[0136] Execute a first update operation and control the communicator 112 to send the transaction information to the acceptance terminal 12; the first update operation is used to update the display content on the visualization module 111; control the communicator 112 to receive the echo instruction sent by the acceptance terminal 12; the echo instruction is generated by the backend based on the transaction information sent by the acceptance terminal 12 and sent by the backend to the acceptance terminal 12;
[0137] The second update operation is performed according to the echo instruction; the second update operation is used to update the display content on the visualization module 111.
[0138] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0139] FIG7 is a diagram of an exemplary system architecture in which embodiments of the present disclosure may be applied. As shown in FIG7 , system architecture 700 may include terminal devices 701, 702, and 703, a network 704, and a server 705. Network 704 is a medium for providing communication links between terminal devices 701, 702, and 703 and server 705. Network 704 may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0140] Users can use terminal devices 701, 702, and 703 to interact with server 705 via network 704 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 701, 702, and 703, such as financial applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0141] The terminal devices 701 , 702 , and 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0142] Server 705 may be a server that provides various services, such as a background management server (only an example) that supports websites browsed by users using terminal devices 701, 702, and 703. The background management server may analyze and process the received data and feed back the processing results to the terminal device.
[0143] It should be noted that the transaction method provided in the embodiment of the present disclosure is generally executed by the server 705 , and accordingly, the transaction device is generally set in the server 705 .
[0144] It should be understood that the number of terminal devices, networks and servers in Figure 7 is only illustrative and any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0145] 8, which shows a schematic diagram of a computer system 800 suitable for implementing a terminal device or server according to an embodiment of the present disclosure. The terminal device or server shown in FIG8 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0146] As shown in FIG8 , a computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage unit 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the system 800 are also stored in the RAM 803. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0147] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, and the like; an output section 807 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 808 including a hard disk; and a communication section 809 including a network interface card such as a LAN card or a modem. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 810 as needed, so that computer programs read therefrom can be installed into the storage section 808 as needed.
[0148] In particular, according to the embodiments provided by the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments provided by the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 809, and / or installed from a removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present disclosure are executed.
[0149] It should be noted that the computer-readable medium described in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.
[0150] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0151] As another aspect, the present disclosure further provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: a visual hardware wallet responding to a transaction request initiated by an acceptance terminal; the visual hardware wallet sending transaction information and performing a first update operation; the visual hardware wallet sending the transaction information to the acceptance terminal; the visual hardware wallet including a visualization module, the first update operation being used to update the display content on the visualization module; the acceptance terminal sending the transaction information to the backend; the backend generating an echo instruction based on the transaction information and sending the echo instruction to the acceptance terminal; the acceptance terminal sending the echo instruction to the visual hardware wallet; the visual hardware wallet performing a second update operation based on the echo instruction; the second update operation being used to update the display content on the visualization module.
[0152] According to the technical solution of the embodiment of the present disclosure, the visual hardware wallet sends transaction information and performs a first update operation. The visual hardware wallet updates the display content on the visualization module through the first update operation. The transaction information is sent to the backend through the acceptance terminal. The backend generates an echo instruction based on the transaction information and sends the echo instruction to the acceptance terminal. The acceptance terminal sends the echo instruction to the visual hardware wallet. The visual hardware wallet performs a second update operation based on the echo instruction to update the display content on the visualization module. After the visual hardware wallet responds to the transaction request initiated by the acceptance terminal, the visual hardware wallet sends transaction information and performs a first update operation to update the display content on the visualization module. The change in the display content on the visualization module prompts the user that the visual hardware wallet is in operation; and after the visual hardware wallet receives the echo instruction, the second update operation is performed to update the display content on the visualization module. The user receives the display content updated by the second update operation and can view the transaction result. If the first update operation or the second update operation is not triggered, the user can clearly perceive that the content currently displayed on the visualization module may be inaccurate. The two updates ensure that the user can clearly perceive the changes in the information displayed on the visualization module during the transaction using the visual hardware wallet, thereby improving the user experience of the visual hardware wallet during the transaction process; and further help the user determine whether the content displayed on the visualization module is updated content, thereby improving the user experience.
[0153] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure. Industrial Applicability:
[0154] The solution provided by the disclosed embodiment can be applied to the field of computer technology. In the disclosed embodiment, a transaction instruction is sent by an acceptance terminal to a visual hardware wallet; the visual hardware wallet generates transaction information based on the transaction instruction; the visual hardware wallet sends the transaction information and performs a first update operation; wherein the visual hardware wallet sends the transaction information to the acceptance terminal; the visual hardware wallet includes a visualization module, and the first update operation is used to update the display content on the visualization module; the acceptance terminal sends the transaction information to the backend; the backend generates an echo instruction based on the transaction information and sends the echo instruction to the acceptance terminal; the acceptance terminal sends the echo instruction to the visual hardware wallet; the visual hardware wallet performs a second update operation based on the echo instruction; and the second update operation is used to update the display content on the visualization module. This achieves the technical effect of optimizing the visualization function of the visual hardware wallet and enhancing the user's experience of use.
Claims
1. A transaction method, comprising: The acceptance terminal sends a transaction instruction to the visual hardware wallet; The visual hardware wallet generates transaction information according to the transaction instruction; The visual hardware wallet sends the transaction information and performs a first update operation; wherein, the visual hardware wallet sends the transaction information to the acceptance terminal; the visual hardware wallet includes a visualization module, and the first update operation is used to update the display content on the visualization module; The acceptance terminal sends the transaction information to the background; The background generates an echo instruction according to the transaction information and sends the echo instruction to the acceptance terminal; The acceptance terminal sends the echo instruction to the visual hardware wallet; The visual hardware wallet performs a second update operation according to the echo instruction; the second update operation is used to update the display content on the visualization module.
2. The trading method according to claim 1, wherein, The transaction information includes a transaction amount; the echo instruction contains transaction amount information, balance information, QR code information, and / or transaction details information, and the transaction amount information, the balance information, the QR code information, and / or the transaction details information are encrypted by the background; After the acceptance terminal sends the echo instruction to the visual hardware wallet, the visual hardware wallet decrypts the transaction amount information, the balance information, the QR code information, and / or the transaction details information to obtain the transaction amount, balance, QR code, and / or transaction details; the display content updated by the second update operation includes the transaction amount, the balance, the QR code, and / or the transaction details.
3. The trading method according to claim 2, wherein The visual hardware wallet includes a visualization interface; the visual hardware wallet calls the visualization interface according to the transaction amount information, the balance information, the QR code information, and / or the transaction details information to perform the second update operation.
4. The trading method according to claim 2, wherein The background obtains the transaction amount information, the balance information, the QR code information, and / or the transaction details information by performing the following encryption operation steps: The background encrypts the transaction amount, balance, QR code, and / or transaction details with a first key to obtain ciphertext; The background calculates a MAC value for the ciphertext with a second key; The background obtains the transaction amount information, the balance information, the QR code information, and / or the transaction details information according to the ciphertext and the MAC value.
5. The trading method according to claim 4, wherein The visual hardware wallet decrypts the transaction amount information, the balance information, the QR code information, and / or the transaction details information to obtain the transaction amount, balance, QR code, and / or transaction details, including: The visual hardware wallet uses the second key to verify the MAC value included in the received echo instruction; If the verification is passed, the visual hardware wallet decrypts the ciphertext with a third key to obtain the transaction amount, balance, QR code, and / or transaction details; wherein, the third key is the decryption key corresponding to the first key.
6. The trading method according to claim 1, wherein The visual hardware wallet includes a visualization interface; the visual hardware wallet performs a first update operation, including: the visual hardware wallet calls the visualization interface to perform the first update operation.
7. The trading method according to claim 1, wherein, The first update operation is to clear the display content of the visualization module or replace the display content on the visualization module; wherein, clearing the display content of the visualization module is to partially clear or completely empty the display content on the visualization module.
8. The trading method according to claim 1, wherein The transaction information includes the transaction amount; the background generates an echo instruction according to the transaction information, including: the background performs transaction processing according to the transaction information to generate an echo instruction; the transaction processing includes performing an operation to deduct the amount.
9. The trading method according to claim 1, wherein Before the acceptance terminal sends a transaction instruction to the visual hardware wallet, it further includes: The visual hardware wallet negotiates features with the acceptance terminal in response to a transaction request initiated by the acceptance terminal to generate a first piece of information, and sends the first piece of information to the acceptance terminal; The acceptance terminal sends a transaction instruction to the visual hardware wallet according to the first piece of information.
10. The trading method according to claim 9, wherein, The first piece of information includes carrier capability information, and the carrier capability information is configured to characterize whether the visual hardware wallet has a display capability.
11. The trading method according to any one of claims 1-10, wherein, Before the visual hardware wallet performs a second update operation according to the echo instruction, if it is detected that the communication connection between the visual hardware wallet and the acceptance terminal fails, the acceptance terminal issues a proximity prompt, and the proximity prompt is used to prompt to bring the visual hardware wallet close to the acceptance terminal.
12. A transaction method applied to a visual hardware wallet, including: The visual hardware wallet receives a transaction instruction sent by an acceptance terminal; The visual hardware wallet generates transaction information according to the transaction instruction; The visual hardware wallet sends the transaction information and performs a first update operation; the visual hardware wallet sends the transaction information to the acceptance terminal; the visual hardware wallet includes a visualization module, and the first update operation is used to update the display content on the visualization module; The visual hardware wallet receives the echo instruction sent by the acceptance terminal; the echo instruction is generated by the background after receiving the transaction information sent by the acceptance terminal and according to the transaction information, and the echo instruction is sent from the background to the acceptance terminal; The visual hardware wallet performs a second update operation according to the echo instruction; the second update operation is used to update the display content on the visualization module.
13. The trading method according to claim 12, wherein, The transaction information includes the transaction amount; the echo instruction contains transaction amount information, balance information, QR code information, and / or transaction details information; after the visual hardware wallet receives the echo instruction sent by the acceptance terminal, the visual hardware wallet decrypts the transaction amount information, the balance information, the QR code information, and / or the transaction details information to obtain the transaction amount, balance, QR code, and / or transaction details; the display content updated by the second update operation includes the transaction amount, the balance, the QR code, and / or the transaction details; wherein, the transaction amount information, the balance information, the QR code information, and / or the transaction details information are encrypted by the background.
14. The transaction method according to claim 13, wherein, The visual hardware wallet includes a visualization interface; after the visual hardware wallet decrypts the transaction amount information, the balance information, the QR code information, and / or the transaction details information to obtain the transaction amount, balance, QR code, and / or transaction details, the visual hardware wallet calls the visualization interface according to the transaction amount information, the balance information, the QR code information, and / or the transaction details information to perform the second update operation.
15. The trading method according to claim 12, wherein, The visual hardware wallet includes a visualization interface; the visual hardware wallet performs a first update operation, including: the visual hardware wallet calls the visualization interface to perform the first update operation.
16. The trading method according to claim 12, wherein, The first update operation is to clear the display content of the visualization module or replace the display content on the visualization module; wherein, clearing the display content of the visualization module means partially clearing or completely emptying the display content on the visualization module.
17. The trading method according to any one of claims 12-16, wherein, Before the visual hardware wallet performs the second update operation according to the echo instruction, if the communication connection between the visual hardware wallet and the acceptance terminal fails, the visual hardware wallet can perform an operation of approaching the acceptance terminal according to the proximity prompt.
18. A transaction device, applied to a visual hardware wallet, includes: A visualization module; A communicator configured to communicate with an acceptance terminal; At least one processor, configured to: Control the communicator to receive a transaction instruction sent by the acceptance terminal and generate transaction information according to the transaction instruction; Perform a first update operation and control the communicator to send the transaction information to the acceptance terminal; the first update operation is used to update the display content on the visualization module; Control the communicator to receive an echo instruction sent by the acceptance terminal; the echo instruction is generated by the background after receiving the transaction information sent by the acceptance terminal, and the echo instruction is sent from the background to the acceptance terminal; Perform a second update operation according to the echo instruction; the second update operation is used to update the display content on the visualization module.
19. An electronic device, the electronic device includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the trading method according to any one of claims 1-17.
20. A computer-readable medium having stored thereon a computer program which, when executed by a processor, implements the trading method according to any one of claims 1-17.
Citation Information
Patent Citations
Hardware wallet
CN115082061A
Payment method, device, equipment, readable storage medium and computer program product
CN115271697A
Digital currency transaction method and device, electronic equipment and computer readable medium
CN116415939A
Digital currency hardware wallet
CN216216859U