Balance inquiry and display method and apparatus

By working collaboratively with the terminal, hardware wallet, and backend system, the problem of hardware wallet cards not being able to display balances in real time has been solved, enabling quick and convenient balance inquiries on hardware wallets and improving user experience.

WO2026007779A1PCT designated stage Publication Date: 2026-01-08THE PEOPLES BANK OF CHINA DIGITAL CURRENCY INST
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/103594
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-02
Filing Date
2025-06-25
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

Existing hardware wallet cards cannot display the balance on the card face in real time, lacking flexibility and convenience, and cannot update information at any time.

Method used

The terminal establishes a connection with the hardware wallet, obtains wallet information, and sends a balance query request to the backend system. After successful verification, the latest balance information and display instructions are returned to the terminal, which then sends them to the hardware wallet for display.

Benefits of technology

This allows users to quickly and easily check their balance on the hardware wallet, improving the convenience of the query and the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025103594_08012026_PF_FP_ABST
    Figure CN2025103594_08012026_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the field of digital currency payment. Disclosed are a balance inquiry and display method and apparatus. A specific embodiment of the method comprises: in response to a balance inquiry operation, acquiring wallet information from a target hardware wallet that has established a connection with a terminal; on the basis of the wallet information, sending a balance inquiry request to a background system, such that the background system verifies the target hardware wallet and then returns the latest balance information of the target hardware wallet and a display instruction to the terminal; and if still in a connected state with the target hardware wallet, sending the latest balance information and the display instruction to the target hardware wallet, such that the target hardware wallet displays the latest balance information. The embodiment provides users with an intuitive and convenient way to make a balance inquiry.
Need to check novelty before this filing date? Find Prior Art

Description

Balance query echo method and device TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computers, and particularly relates to a balance query echo method, a terminal, an electronic device and a computer readable medium. BACKGROUND

[0002] The hardware wallet card on the market basically has no visual screen, and can only be used to query the balance from the background and then view it on the terminal, and cannot display it on the card surface.

[0003] The existing visual card lacks flexibility and convenience when displaying information, and the hardware device cannot update the displayed information at any time from the background, lacking convenience. SUMMARY

[0004] Therefore, the embodiment of the present disclosure provides a balance query echo method based on a terminal, so that the user can quickly and conveniently query the balance by sticking the card, and the balance can be displayed on the hardware wallet, thereby improving the convenience of the user to query the balance. Specifically, the embodiment of the present disclosure provides a balance query echo method applied to a terminal, comprising:

[0005] In response to a balance query operation, obtaining wallet information from a target hardware wallet connected with the terminal;

[0006] According to the wallet information, sending a balance query request to a background system, so that the background system returns the latest balance information and an echo instruction of the target hardware wallet to the terminal after verifying the target hardware wallet;

[0007] In response to the target hardware wallet still being in a connected state, sending the latest balance information and the echo instruction to the target hardware wallet, so that the target hardware wallet displays the latest balance information.

[0008] In some embodiments of the present disclosure, according to the wallet information, sending a balance query request to a background system, so that the background system returns the latest balance information and an echo instruction of the target hardware wallet to the terminal after verifying the target hardware wallet, comprising:

[0009] According to the wallet information, sending a balance query request to a background system, so that the background system returns the latest balance information and an echo instruction of the target hardware wallet to the terminal after verifying the target hardware wallet, comprising:

[0010] In some embodiments of the present disclosure, according to the wallet information, sending a balance query request to a background system, so that the background system returns the latest balance information and an echo instruction of the target hardware wallet to the terminal after verifying the target hardware wallet, further comprising:

[0011] After receiving the response returned by the background system, which needs to be verified, and generating the verification prompt information, the verification prompt information is broadcasted or displayed, wherein the response that needs to be verified is generated by the background system according to the background wallet information;

[0012] The input password information is sent to the background system to verify the password.

[0013] In some embodiments of the present disclosure, the wallet information includes a wallet association code.

[0014] In some embodiments of the present disclosure, the type of the terminal includes a receiving terminal and a wallet application terminal.

[0015] In some embodiments of the present disclosure, when the terminal is a wallet application terminal, the wallet information includes balance reading information; the latest balance information and the echo instruction are sent to the target hard wallet, including:

[0016] When the latest balance information is inconsistent with the balance reading information, the latest balance information and the echo instruction are sent to the target hard wallet, so that the target hard wallet clears the displayed balance information, and then displays and stores the latest balance information.

[0017] In some embodiments of the present disclosure, the method further includes:

[0018] Setting the transaction state of the terminal to a balance query state;

[0019] After the terminal receives the latest balance information and the echo instruction, in response to the disconnection state with the target hard wallet, the balance echo failure information is generated; the transaction state of the terminal is confirmed to be the balance query state, the connection establishment prompt information is generated, and after the connection with the target hard wallet is established again, the latest balance information and the echo instruction are sent to the target hard wallet.

[0020] In some embodiments of the present disclosure, in response to the balance query operation, the method further includes:

[0021] In response to the operation of reducing the balance of the target hard wallet, the balance clearing instruction is sent to the target hard wallet, so that the target hard wallet clears the displayed balance information.

[0022] Another aspect of the embodiments of the present disclosure also provides a balance query echo device applied to a terminal, the device includes a wallet information acquisition module, a request query module and a sending module, wherein,

[0023] The wallet information acquisition module is configured to acquire wallet information from a target hard wallet connected with the terminal in response to a balance query operation;

[0024] The request query module is configured to send a balance query request to the background system according to the wallet information, so that the background system returns the latest balance information of the target hardware wallet to the terminal after verifying the target hardware wallet;

[0025] The sending module is configured to send the latest balance information and the echo instruction to the target hardware wallet in response to the target hardware wallet still being in the connected state, so that the target hardware wallet displays the latest balance information.

[0026] According to a further aspect of the embodiments of the present disclosure, an electronic device is provided, including: one or more processors; a storage device configured to store 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 method provided by the embodiments of the present disclosure.

[0027] According to a further aspect of the embodiments of the present disclosure, a computer readable medium is provided, and the computer readable medium stores a computer program, when the computer program is executed by a processor, the method provided by the embodiments of the present disclosure is implemented.

[0028] One of the embodiments in the above disclosure has the following advantages or beneficial effects: in the embodiments of the present disclosure, the terminal reads the wallet information from the target hardware wallet, and then sends the wallet information to the background system, the background system verifies according to the wallet information, and returns the latest balance information to the terminal after the verification is passed, the terminal sends the latest balance information and the echo instruction to the target hardware wallet, and the target hardware wallet displays the latest balance information according to the echo instruction, the user can intuitively obtain the balance information from the target hardware wallet, and can directly check the balance information from the target hardware wallet before the next transaction. The user operation is more convenient, and the experience is improved.

[0029] The further effects of the above-mentioned non-conventional optional mode will be described in the following combined with the specific embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0030] The accompanying drawings are used to better understand the present disclosure, and do not constitute an improper limitation on the present disclosure. Among them:

[0031] Fig. 1 is a schematic diagram of the overall architecture of a balance query echo system according to some embodiments of the present disclosure;

[0032] Fig. 2 is a schematic diagram of the flow of a balance query echo method according to some embodiments of the present disclosure;

[0033] Fig. 3 is a schematic diagram of the overall architecture of a balance query echo system according to some other embodiments of the present disclosure;

[0034] Fig. 4 is a schematic diagram of the overall architecture of a balance query echo system according to some other embodiments of the present disclosure;

[0035] FIG. 5 is a schematic diagram of the overall architecture of a balance query echo system according to some embodiments of the present disclosure;

[0036] FIG. 6 is a schematic diagram of the overall architecture of a balance query echo system according to some embodiments of the present disclosure;

[0037] FIG. 7 is a schematic diagram of the flow of a balance query echo method according to some embodiments of the present disclosure;

[0038] FIG. 8 is a schematic diagram of the flow of a balance echo by a balance query echo system according to some embodiments of the present disclosure;

[0039] FIG. 9 is a schematic diagram of the architecture of a balance query echo apparatus according to some embodiments of the present disclosure;

[0040] FIG. 10 is a schematic diagram of an exemplary system architecture to which embodiments of the present disclosure can be applied;

[0041] FIG. 11 is a schematic diagram of the architecture of a computer system suitable for use in implementing a terminal device or server according to embodiments of the present disclosure. DETAILED DESCRIPTION

[0042] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, which are meant to be exemplary. It should be understood that various changes and modifications to the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, for the sake of brevity and clarity, descriptions of well-known functions and constructions can be omitted.

[0043] The following describes concepts involved in embodiments of the present disclosure.

[0044] The hard wallet mentioned in the embodiments of the present disclosure refers to a chip card installed with a secure unit, and wallet information is stored in the secure unit. The type of the hard wallet includes a non-visible type and a visible type. The visible type of the hard wallet is provided with a visible screen, which can display the balance and transaction information of the hard wallet, and the visible type of the hard wallet supports display in multiple languages. The background system in the embodiments of the present disclosure includes an operating agency system and an interconnection system, and in some cases, an accepting agency system is also included. The operating agency system (or operating agency) in the embodiments of the present disclosure refers to the management agency of the wallet, which can maintain the balance of the soft wallet or the hard wallet, store transaction records, manage the wallet, and the like. The wallet background in the embodiments of the present disclosure refers to the background system of the wallet application, which can interact with each operating agency through the interconnection system, and can manage the login state of the wallet application, the application login password login, and the like. Generally, the operation and maintenance party of the wallet application background and the operating agency are different subjects. The interconnection system in the embodiments of the present disclosure refers to a platform that can realize interoperation and information transmission through a message.

[0045] The "NFC" mentioned in the embodiments of the present disclosure refers to a near field communication technology; the "POS" refers to a terminal with a transaction function; the "UWB" refers to an ultra-wideband wireless communication technology.

[0046] The balance query echo method provided in the embodiments of the present disclosure can be applied to a wallet application terminal, a POS terminal and the like. In the following, the balance query echo method in the embodiments of the present disclosure is introduced by taking the wallet application terminal and the POS terminal as examples.

[0047] As shown in FIG. 1, the embodiments of the present disclosure provide a balance query echo system 100 that can run the balance query echo method in the embodiments of the present disclosure, which includes a terminal 110, a target hard wallet 120 and a background system 130.

[0048] As shown in FIG. 2, the embodiments of the present disclosure provide a balance query echo method according to the balance query echo system 100 shown in FIG. 1, which includes:

[0049] S210: The user clicks the "hard wallet balance query" button on the terminal 110, and the terminal 110 responds to the balance query operation and waits for the target hard wallet 120 to paste the card. When the target hard wallet 120 pastes the card to the terminal 110, the terminal 110 is connected with the target hard wallet and obtains the wallet information from the target hard wallet. In some embodiments of the present disclosure, the terminal 110 can be connected with the target hard wallet through NFC, Bluetooth, UWB and the like.

[0050] In some embodiments of the present disclosure, the terminal 110 sends an operation instruction to the target hard wallet 120 after responding to the balance query operation, and the target hard wallet 120 returns the wallet information to the terminal 110 according to the operation instruction. In some embodiments of the present disclosure, the wallet information can include the identification of the target hard wallet or the association code of the target hard wallet. The association code of the target hard wallet and the identification of the target hard wallet are maintained in a mapping relationship in the background system, and the background system can identify and obtain the identification of the target hard wallet through the association code of the target hard wallet.

[0051] In some embodiments of the present disclosure, the terminal 110 can be a wallet application terminal or a POS terminal.

[0052] In some embodiments of the present disclosure, the transaction state of the terminal 110 has multiple states, such as a balance query state, a payment state, a management setting state, and an idle state. In some embodiments of the present disclosure, the terminal 110 sets the transaction state of the terminal 110 to the balance query state in response to the balance query operation, so as to verify the transaction state subsequently.

[0053] In some embodiments of the present disclosure, when the terminal 110 is a wallet application terminal, the wallet information obtained by the terminal 110 from the target hard wallet 120 further includes balance reading information. Subsequently, the terminal 110 verifies whether the latest balance information obtained from the background system 130 is consistent.

[0054] S220: The terminal 110 sends a balance query request to the background system 130 according to the wallet information. In some embodiments of the present disclosure, the balance query request includes the wallet information.

[0055] S230: The background system 130 returns the latest balance information of the target hard wallet 120 and a echo instruction to the terminal 110 after verifying the target hard wallet.

[0056] In some embodiments of the present disclosure, the background system 130 obtains the background wallet information according to the wallet information, and returns the latest balance information of the target hard wallet 120 and an echo instruction to the terminal 110 after confirming that the target hard wallet supports the display function according to the background wallet information. In some embodiments of the present disclosure, the background system 130 maintains the background wallet information of the target hard wallet 120, and the background wallet information includes a wallet type. When the wallet type is a visible wallet type, the target hard wallet supports the display function.

[0057] In some embodiments of the present disclosure, the user can also set the balance query password of the target hardware wallet 120. For example, the user operates the wallet application terminal to establish a connection with the target hardware wallet 120, and then sets the balance query password of the target hardware wallet 120 through the wallet application terminal. The balance query password is sent to the background system 130 and stored in the background wallet information. When the target hardware wallet 120 is set with a balance query password, the background system 130 receives a balance query request, confirms from the background system that the target hardware wallet balance query needs to be verified through the background wallet information, and sends a response that needs to be verified to the terminal 110. The terminal 110 generates a verification prompt information, and then broadcasts or displays the verification prompt information. The user inputs the balance query password of the target hardware wallet on the terminal 110. The terminal 110 sends the password information to the background system 130. After the background system 130 verifies the password information, the latest balance information and echo instruction are sent to the terminal 110.

[0058] In some embodiments of the present disclosure, when the terminal 110 is a POS terminal, and the POS terminal directly interfaces with the operating agency, as shown in FIG. 3, the background system 130 includes a POS terminal operating agency. The POS terminal sends a balance query request to the POS terminal operating agency. The POS terminal operating agency obtains the operating agency corresponding to the target hardware wallet 120 according to the wallet information in the balance query request, judges whether the operating agency corresponding to the target hardware wallet 120 is the agency, and if so, returns the latest balance information and echo instruction to the POS terminal according to the balance query request. If not, as shown in FIG. 4, the balance query request is sent to the operating agency corresponding to the target hardware wallet 120 through an interconnection system. The operating agency corresponding to the target hardware wallet 120 performs verification processing, and then returns the latest balance information and echo instruction to the POS terminal operating agency through the interconnection system. The POS terminal operating agency sends the latest balance information and echo instruction to the POS terminal. In this case, the background system 130 also includes the above-mentioned interconnection system and the operating agency corresponding to the target hardware wallet 120.

[0059] In some embodiments of the present disclosure, when the terminal 110 is a POS terminal, as shown in FIG. 5, when the POS terminal is connected to the operation agency through the receiving agency, the background system 130 includes the receiving agency, the interconnection system, the operation agency corresponding to the target hard wallet 120. The terminal 110 sends the balance query request to the receiving agency, the receiving agency obtains the operation agency information corresponding to the target hard wallet 120 according to the wallet information, and then forwards the balance query request to the operation agency corresponding to the target hard wallet 120 through the interconnection system. The operation agency corresponding to the target hard wallet 120 verifies the wallet information, returns the latest balance information and echo instruction to the receiving agency through the interconnection system, and the receiving agency returns the latest balance information and echo instruction to the terminal 110.

[0060] In some embodiments of the present disclosure, when the terminal 110 is a wallet application terminal, as shown in FIG. 6, the background system 130 includes a wallet background, an interconnection system, and an operation agency corresponding to the target hard wallet 120. The terminal 110 sends the balance query request to the wallet background, the wallet background judges to obtain the information of the operation agency corresponding to the target hard wallet 120 according to the wallet information, and then sends the balance query request to the operation agency corresponding to the target hard wallet 120 through the interconnection system. The operation agency corresponding to the target hard wallet 120 verifies the wallet information, sends the latest balance information and echo instruction to the wallet background through the interconnection system, and the wallet background sends the latest balance information and echo instruction to the terminal 110. In some embodiments of the present disclosure, a plurality of soft wallets under different operation agencies can be accessed on the wallet application terminal, and the balance of the hard wallet opened by any operation agency can be queried under any soft wallet.

[0061] In the above-mentioned background system 130, when the operation agency corresponding to the target hard wallet 120 needs to verify the background wallet information, the transmission path of the related response needing to be verified and the subsequent user input password is consistent with the transmission path of the balance query request or the transmission path of the latest balance information.

[0062] S240: The terminal 110 sends the latest balance information and echo instruction to the target hard wallet 120 in response to the target hard wallet 120 still being in a connected state. In some embodiments of the present disclosure, when the terminal 110 is a wallet application terminal, the terminal 110 also compares the balance reading information obtained previously with the latest balance information, judges that the latest balance information is inconsistent with the balance reading information, and sends the latest balance information and echo instruction to the target hard wallet 120, and judges that the latest balance information is consistent with the balance reading information, and then prompts the user that the balance has not been updated, and the latest balance information and echo instruction can not be sent to the target hard wallet 120.

[0063] S250: The target hardware wallet 120 displays the latest balance information. In some embodiments of the present disclosure, the target hardware wallet 120 echoes and stores the latest balance information according to the echo instruction, and can first clear the balance information displayed by the target hardware wallet 120, and then display the latest balance information.

[0064] In the embodiments of the present disclosure, when the terminal 110 returns the latest balance information to the target hardware wallet, it is necessary to first determine whether it is still in a connection state with the target hardware wallet 120. If it is in a connection state, the latest balance information and the echo instruction are sent to the target hardware wallet 120. If it is determined that the connection with the target hardware wallet is disconnected, the terminal 110 will first read its own transaction state. If the transaction state has not changed and is still in a balance query state, the user can be prompted to reattach the card to receive the latest balance information. Specifically, as shown in FIG. 7, the method in the embodiments of the present disclosure further includes:

[0065] S260: In response to being in a disconnected state with the target hardware wallet 120, the terminal 110 generates balance echo failure information, confirms that the transaction state of the terminal 110 is a balance query state, generates a connection establishment prompt information, and after reestablishing the connection with the target hardware wallet 120, sends the latest balance information and the echo instruction to the target hardware wallet 120. If the transaction state has been changed to other transaction states, the user needs to reattach the card, re-read the wallet information, and initiate a balance query request.

[0066] In some embodiments of the present disclosure, when the target hardware wallet 120 returns the wallet information, it can generate a balance query sequence number and set the balance query sequence number to the wallet information. The balance query sequence number is used to identify each independent balance query request. The corresponding operating agency of the target hardware wallet will also attach the balance query sequence number when returning the latest balance information to the terminal 110. When the terminal 110 returns the latest balance information to the target hardware wallet 120, the terminal 110 interacts with the target hardware wallet 120 to determine whether the latest balance information corresponds to the latest balance query request. If so, the latest balance information and the echo instruction are received and displayed. If the target hardware wallet 120 determines that the balance query sequence number received through the interaction is not the latest balance query sequence number, the target hardware wallet refuses to receive the latest balance information and the echo instruction. In the above scenario, when the terminal 110 responds to the disconnection with the target hardware wallet, in addition to determining the transaction state, after reconnection with the target hardware wallet, it is also determined whether the balance query sequence number of the interaction is the latest sequence number. If not, the target hardware wallet refuses to receive the latest balance information and the echo instruction. In this way, it can be ensured that the returned latest balance information corresponds to the latest balance query request, avoiding invalid display of the latest balance information and reducing user experience.

[0067] For example, when the target hardware wallet interacts with the first terminal for balance inquiry, a balance inquiry serial number 20240620103752001 is generated and set in the wallet information. When the first terminal subsequently receives the latest balance information, the balance inquiry serial number attached is 20240620103752001. At this time, the target hardware wallet is disconnected from the first terminal, and the first terminal is still in the balance inquiry state within the state valid time. The user performs a transaction with the second terminal, and the background changes the balance of the target hardware wallet. At this time, the user performs a query with the third terminal, generates a balance inquiry serial number 20240620103830001, and then the user disconnects the target hardware wallet from the third terminal. When the first terminal is still in the balance inquiry state, the user again performs a card sticking with the first terminal to receive the latest balance information. At this time, the target hardware wallet acquires the balance inquiry serial number from the first terminal, which is not the latest, and thus refuses to receive the latest balance information.

[0068] In some embodiments of the present disclosure, the balance inquiry state of the terminal 110 includes not only the state value but also the information of the transaction counterparty (for example, the wallet association code described above). When the target hardware wallet is disconnected from the terminal and then receives the latest balance information again, the wallet association code of the target hardware wallet is read, and the read wallet information is compared with the wallet association code in the balance inquiry state. If they are consistent, the latest balance information and the echo instruction are issued to the target hardware wallet. If they are inconsistent, the user is prompted to perform a re-query.

[0069] In some embodiments of the present disclosure, when the target hardware wallet performs balance inquiry, the transaction state of the target hardware wallet can also be set to the balance inquiry state, and the balance inquiry state includes not only the state value but also the information of the transaction counterparty (for example, the terminal identifier). When the target hardware wallet is disconnected from the terminal and then receives the latest balance information again, the terminal identifier is read, and the read terminal identifier is compared with the terminal identifier in the balance inquiry state, or on the basis of the state verification of the terminal described above, it is determined whether to receive the latest balance information. When they are consistent, the latest balance information is received. When they are inconsistent, the latest balance information is not received.

[0070] In some embodiments of the present disclosure, the terminal 110 can be configured with a transaction state valid time parameter. For example, when the transaction state of the terminal 110 is triggered to become the balance inquiry state, the valid time of the transaction state can be 1 minute. If the balance inquiry is not completed within 1 minute, the transaction state is switched.

[0071] In some embodiments of the present disclosure, the balance query method described above can also be executed after the user transfers out the balance of the wallet. Before the terminal 110 responds to the balance query operation, the terminal 110 (for example, the wallet application terminal described above) sends a balance clearing instruction to the target hard wallet 120 in response to the operation of reducing the balance of the target hard wallet, and the target hard wallet 120 clears the displayed balance information. The user then pastes the card again to query the balance. In the embodiments of the present disclosure, the balance transfer requires the user to perform the card pasting operation, and then a series of operations such as the decryption operation and the like, which requires a period of time, and the balance cannot be updated during this period of time. In order to avoid the user's misunderstanding of the balance information, the balance in the target hard wallet is first cleared.

[0072] In some embodiments of the present disclosure, the balance query method described above can also be executed after the user transfers in the balance of the wallet. When the balance is transferred in, the target hard wallet can not establish a connection with the terminal, and the background changes the balance of the wallet. After the operation is completed, the user can paste the card, the target hard wallet establishes a connection with the terminal, and the balance in the target hard wallet is updated.

[0073] As shown in FIG. 8, in the balance query echo system 100 in the embodiments of the present disclosure, the initial balance of the target hard wallet is 101 yuan. When the target hard wallet 120 is pasted with the terminal 110, the terminal sends the wallet information to the background 130. After the background 130 processes, the latest balance information is returned to the terminal 110. When the terminal 110 and the target hard wallet 120 are still in a connected state, the terminal 110 sends the latest balance 95 yuan of the target hard wallet 120 to the target hard wallet 120, and the target hard wallet 120 displays it. When the terminal 110 and the target hard wallet 120 are disconnected, the terminal 110 generates a balance echo failure information. The terminal 110 confirms that the transaction state is still in the balance query state, and then generates a connection establishment prompt information to prompt the user to paste the card again. When the user pastes the card again, the terminal 110 establishes a connection with the target hard wallet 120 again. The terminal 110 sends the latest balance 95 yuan to the target hard wallet 120, and the target hard wallet 120 displays the latest balance. In the embodiments of the present disclosure, after the terminal 110 receives the latest balance information, the terminal 110 can also display the latest balance information, so that the user can quickly know the balance of the hard wallet.

[0074] The method in the embodiments of the present disclosure provides a balance query function for the use scenario of the visual hard wallet. The user can directly obtain the balance information from the target hard wallet, and can directly view the balance information from the target hard wallet before the next transaction. The user operation is more convenient, and the experience is improved.

[0075] As shown in FIG. 9, the present disclosure further provides a balance query echo device 300 applied to a terminal. The device 300 includes a wallet information acquisition module 310, a request query module 320, and a sending module 330, wherein,

[0076] The wallet information obtaining module 310 is configured to obtain wallet information from the target hardware wallet in connection with the terminal in response to the balance query operation;

[0077] The request query module 320 is configured to send a balance query request to the background system according to the wallet information, so that the background system returns the latest balance information and echo instructions of the target hardware wallet to the terminal after verifying the target hardware wallet;

[0078] The sending module 330 is configured to send the latest balance information and echo instructions to the target hardware wallet in response to the target hardware wallet still being in the connection state, so that the target hardware wallet displays the latest balance information.

[0079] In some embodiments of the present disclosure, the request query module 320 is configured to send a balance query request to the background system according to the wallet information, so that the background system obtains background wallet information according to the wallet information, and returns the latest balance information and echo instructions of the target hardware wallet to the terminal after confirming that the target hardware wallet supports display function according to the background wallet information.

[0080] In some embodiments of the present disclosure, the request query module 320 is further configured to receive a response requiring verification returned by the background system, generate a verification prompt information after the response requiring verification is generated by the background system according to the background wallet information, and broadcast or display the verification prompt information, and send the input password information to the background system so that the background system verifies the password.

[0081] In some embodiments of the present disclosure, the wallet information includes a wallet association code.

[0082] In some embodiments of the present disclosure, the type of the terminal includes a receiving terminal and a wallet application terminal.

[0083] In some embodiments of the present disclosure, when the terminal is a wallet application terminal, the wallet information includes balance reading information; and the sending module 330 is configured to send the latest balance information and echo instructions to the target hardware wallet when the latest balance information is inconsistent with the balance reading information, so that the target hardware wallet clears the displayed balance information and then displays and stores the latest balance information.

[0084] In some embodiments of the present disclosure, the wallet information obtaining module 310 is further configured to set the transaction state of the terminal to a balance query state; the device 300 in the embodiments of the present disclosure further comprises a re-sending module 340, which is configured to, after the terminal receives the latest balance information, in response to the target hard wallet being in a disconnected state, generate balance echo failure information, confirm that the transaction state of the terminal is a balance query state, generate a connection establishment prompt information, and after re-establishing the connection with the target hard wallet, send the latest balance information and echo instruction to the target hard wallet.

[0085] In some embodiments of the present disclosure, the device 300 further comprises a screen clearing module 350, which is configured to, in response to an operation of reducing the balance of the target hard wallet, send a balance clearing instruction to the target hard wallet to clear the displayed balance information of the target hard wallet.

[0086] FIG. 10 shows an exemplary system architecture 1000 to which the balance query echo method or the balance query echo implementation device of the embodiments of the present disclosure can be applied.

[0087] As shown in FIG. 10, the system architecture 1000 can include terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is a medium for providing a communication link between the terminal devices 1001, 1002, 1003 and the server 1005. The network 1004 can include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0088] A user can use the terminal devices 1001, 1002, 1003 to interact with the server 1005 through the network 1004 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 1001, 1002, 1003, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0089] The terminal devices 1001, 1002, 1003 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc.

[0090] The server 1005 can be a server providing various services, such as a background management server supporting a shopping website browsed by a user using the terminal devices 1001, 1002, 1003 (only as an example). The background management server can analyze and process received product information query requests and other data, and feed back the processing results (such as target push information, product information--only as examples) to the terminal devices.

[0091] It should be noted that the balance query echoing method provided by the embodiments of the present disclosure is generally executed by the terminal device 1001, 1002, 1003, and accordingly, the balance query echoing implementation apparatus is generally arranged in the terminal device 1001, 1002, 1003.

[0092] It should be understood that the number of terminal devices, networks and servers in FIG. 10 is merely illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.

[0093] Reference is made below to FIG. 11, which shows a structural schematic diagram of a computer system 1100 suitable for implementing a terminal device or a server of the embodiments of the present disclosure. The method in the embodiments of the present disclosure or the apparatus implementing the method can be implemented on the computer system 1100. The terminal device or the server shown in FIG. 11 is merely an example and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.

[0094] As shown in FIG. 11, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1102 or loaded from a storage portion 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the system 1100 are also stored. The CPU 1101, the ROM 1102 and the RAM 1103 are connected to each other through a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0095] The following components are connected to the I / O interface 1105: an input portion 1106 including a keyboard, a mouse, etc.; an output portion 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1108 including a hard disk, etc.; and a communication portion 1109 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 1110 as needed, so that a computer program read therefrom is installed in the storage portion 1108 as needed.

[0096] In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program codes for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication section 1109, and / or installed from the detachable medium 1111. When the computer program is executed by the central processing unit (CPU) 1101, the above-described functions defined in the system of the present disclosure are executed.

[0097] It should be noted that the computer-readable medium shown in the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, 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 of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present disclosure, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable program codes. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate or transmit the program for use by or in conjunction with an instruction execution system, device or apparatus. The program codes contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0098] The computer readable medium can be a storage medium or memory medium such as flash memory, optical disk, optical storage, magnetic storage medium, SD card, etc. The computer readable medium can be embodied in the form of a device, for example, the device described in the above embodiments of the present disclosure. The computer readable medium can also exist independently of the device, and is not assembled into the device. The computer readable medium described above stores one or more programs, and when the one or more programs are executed by the device, the device performs the methods described above.

[0099] The units or modules described in the embodiments of the present disclosure can be implemented by software, or can be implemented by hardware. The described units or modules can also be arranged in a processor, for example, can be described as: a processor includes a sending unit (or "module"), an obtaining unit, a determining unit and a first processing unit. Among them, the name of these units or modules does not constitute a limitation to the units or modules themselves in some cases, for example, the sending unit can also be described as "a unit for sending a picture obtaining request to a connected server".

[0100] As another aspect, the present disclosure also provides a computer readable medium, which can be included in the device described in the above embodiments; or can exist independently without being assembled into the device. The computer readable medium described above carries one or more programs, and when the one or more programs are executed by the device, the device performs the methods described above.

[0101] The specific embodiments described above do not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made depending on design requirements and other factors. Any modification, equivalent replacement and improvement made within the spirit and principle of the present disclosure shall fall within the protection scope of the present disclosure. Industrial applicability

[0102] The scheme provided in the embodiments of the present application can be applied to the field of computer technology. In the embodiments of the present application, a terminal reads wallet information from a target hardware wallet, and then sends the wallet information to a background system. The background system verifies the wallet information, and returns the latest balance information to the terminal after the verification is passed. The terminal sends the latest balance information and a echo instruction to the target hardware wallet. The target hardware wallet displays the latest balance information according to the echo instruction. A user can intuitively obtain the balance information from the target hardware wallet, and can directly check the balance information from the target hardware wallet before the next transaction. The user operation is more convenient, and the experience is improved.

Claims

1. A balance query echo method applied to a terminal, the method comprising: obtaining wallet information from a target hard wallet connected with the terminal in response to a balance query operation; sending a balance query request to a background system according to the wallet information, so that the background system returns the latest balance information and an echo instruction of the target hard wallet to the terminal after verifying the target hard wallet; sending the latest balance information and the echo instruction to the target hard wallet in response to the target hard wallet still being in a connected state, so that the target hard wallet displays the latest balance information.

2. The method of claim 1, wherein, The step of sending the balance query request to the background system according to the wallet information, so that the background system returns the latest balance information and an echo instruction of the target hard wallet to the terminal after verifying the target hard wallet, comprises: sending the balance query request to the background system according to the wallet information, so that the background system obtains background wallet information according to the wallet information, and returns the latest balance information and an echo instruction of the target hard wallet to the terminal after confirming that the target hard wallet supports a display function according to the background wallet information.

3. The method of claim 2, wherein, The step of sending the balance query request to the background system according to the wallet information, so that the background system returns the latest balance information and an echo instruction of the target hard wallet to the terminal after verifying the target hard wallet, further comprises: receiving a response requiring verification returned by the background system, generating verification prompt information, and then playing or displaying the verification prompt information, wherein the response requiring verification is generated by the background system according to the background wallet information; sending input password information to the background system, so that the background system verifies the password.

4. The method according to any one of claims 1 to 3, wherein The wallet information comprises a wallet association code.

5. The method according to any one of claims 1 to 3, wherein The terminal type comprises a receiving terminal and a wallet application terminal.

6. The method of claim 5, wherein, When the terminal is a wallet application terminal, the wallet information comprises balance reading information; and the step of sending the latest balance information and the echo instruction to the target hard wallet comprises: when the latest balance information is inconsistent with the balance reading information, sending the latest balance information and the echo instruction to the target hard wallet, so that the target hard wallet clears the displayed balance information, and then displays and stores the latest balance information.

7. The method of any one of claims 1-3, wherein, The method further comprises: setting a transaction state of the terminal to a balance query state; after the terminal receives the latest balance information and the echo instruction, generating a balance echo failure information in response to the target hard wallet being in a disconnected state, confirming that the transaction state of the terminal is the balance query state, generating a connection establishment prompt information, and sending the latest balance information and the echo instruction to the target hard wallet after re-establishing a connection with the target hard wallet.

8. The method of claim 6, wherein, Before the step of responding to the balance query operation, the method further comprises: sending a balance clearing instruction to the target hard wallet in response to an operation of reducing the balance of the target hard wallet, so that the target hard wallet clears the displayed balance information. 9.A balance query echo device applied to a terminal, the device comprising a wallet information acquisition module, a request query module and a sending module, wherein the wallet information acquisition module is configured to acquire wallet information from a target hardware wallet connected with the terminal in response to a balance query operation; the request query module is configured to send a balance query request to a background system according to the wallet information, so that the background system returns the latest balance information of the target hardware wallet to the terminal after verifying the target hardware wallet; and the sending module is configured to send the latest balance information and an echo instruction to the target hardware wallet in response to the target hardware wallet still being in a connected state, so that the target hardware wallet displays the latest balance information. 10.An electronic device comprising: one or more processors; and a storage configured to store one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8. 11.A computer readable medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method of any one of claims 1-8. ​ ​ ​ ​ ​ ​

Citation Information

Patent Citations

  • Account amount management method, system and device and storage medium

    CN112633875A

  • Transaction processing method and device, electronic equipment and storage medium

    CN117689469A

  • Transaction method and device, electronic equipment and storage medium

    CN117911023A

  • Transaction method and transaction system based on digital currency hardware wallet

    CN118014566A

  • Method for updating digital currency wallet, and terminal and system

    WO2023071797A1