Method and apparatus for obtaining digital RMB information based on blockchain

By setting up a digital RMB API interface on the first bank terminal and allowing access to the second bank terminal, the problem of low efficiency in obtaining digital RMB information is solved, and higher information utilization and user experience are achieved.

CN114612100BActive Publication Date: 2025-06-10BANK OF CHINA +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210248151.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-14
Publication Date
2025-06-10
Estimated Expiration
2042-03-14

AI Technical Summary

Technical Problem

The utilization rate and acquisition efficiency of digital RMB information are low, and the user experience is poor, mainly because not all bank terminals can obtain digital RMB information.

Method used

By pre-setting multiple digital RMB application API interfaces on the first bank terminal with permission to exchange digital RMB, and allowing the second bank terminal without permission to exchange digital RMB to access these API interfaces, the second bank terminal is connected to the blockchain as a new node to achieve the acquisition and transmission of digital RMB information.

Benefits of technology

It improves the utilization rate and acquisition efficiency of digital RMB information, improves user experience, and enables more bank terminals to easily obtain and use digital RMB information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114612100B_ABST
    Figure CN114612100B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for obtaining digital RMB information based on blockchain, which relates to the technical field of blockchain. The method includes: a first bank terminal with the right to exchange digital RMB serves as a node of the blockchain and executes the following method: preset a variety of digital RMB application program API interfaces; receive an API interface access request sent by a second bank terminal; when it is determined to allow the second bank terminal to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured access permission information of the second bank terminal, connect the second bank terminal to the blockchain as a new node; and send the corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface. The present invention can improve the utilization rate and acquisition efficiency of digital RMB information and enhance the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of blockchain, and in particular, to a method and device for obtaining digital RMB information based on blockchain. Background Art

[0002] This section aims to provide background or context for the embodiments of the present invention described in the claims. The description herein is not admitted to be prior art merely by including it in this section.

[0003] The digital RMB adopts a two-tier operation system. First, the digital RMB is exchanged for commercial banks and other institutions, and then the commercial banks and other institutions connect to the public. Moreover, not all bank terminals can obtain digital RMB information, which results in low utilization rate and acquisition efficiency of digital RMB information and poor user experience. Summary of the Invention

[0004] An embodiment of the present invention provides a method for obtaining digital RMB information based on blockchain, which is applied to a node of the blockchain. The node is a first bank terminal with the right to exchange digital RMB, so as to improve the utilization rate and acquisition efficiency of digital RMB information and improve the user experience. The method includes:

[0005] Pre-set a variety of digital RMB application programming interface (API) interfaces; wherein, each API interface corresponds to an application way of digital RMB information;

[0006] Receive an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; wherein, the second bank terminal includes a bank terminal without the right to exchange digital RMB;

[0007] When it is determined to allow the second bank terminal to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured access permission information of the second bank terminal, connect the second bank terminal to the blockchain as a new node;

[0008] Send the corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface.

[0009] An embodiment of the present invention further provides a method for obtaining digital RMB information based on a blockchain, which is applied to a node of the blockchain. The node is a second bank terminal without the permission to directly exchange digital RMB, so as to improve the utilization rate and acquisition efficiency of digital RMB information and enhance the user experience. The method includes: sending an API interface access request to a first bank terminal with the permission to exchange digital RMB; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs;

[0010] When the first bank terminal allows access to the API interface corresponding to the API interface identifier, access the blockchain as a new node;

[0011] When receiving a digital RMB information acquisition request submitted by a user, call the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal;

[0012] Receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the digital RMB information and display it to the user.

[0013] An embodiment of the present invention further provides a device for obtaining digital RMB information based on a blockchain, which is applied to a node of the blockchain. The node is a first bank terminal with the permission to exchange digital RMB, so as to improve the utilization rate and acquisition efficiency of digital RMB information and enhance the user experience. The device includes:

[0014] An interface setting module for pre-setting a variety of digital RMB application program API interfaces; wherein, each API interface corresponds to an application way of a digital RMB information;

[0015] A first receiving module for receiving an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; wherein, the second bank terminal includes a bank terminal without the permission to directly exchange digital RMB;

[0016] A first processing module for determining that when the second bank terminal is allowed to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured access permission information of each second bank terminal, connecting the second bank terminal to the blockchain as a new node;

[0017] A second processing module for sending corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal by calling the corresponding API interface.

[0018] An embodiment of the present invention further provides a digital RMB information acquisition device based on a blockchain, which is applied to a node of the blockchain. The node is a second bank terminal without the permission to directly exchange digital RMB, which improves the utilization rate and acquisition efficiency of digital RMB information and enhances the user experience. The device includes:

[0019] A sending module, configured to send an API interface access request to a first bank terminal with the permission to exchange digital RMB; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs;

[0020] A third processing module, configured to access the blockchain as a new node when the first bank terminal allows access to the API interface corresponding to the API interface identifier;

[0021] A fourth processing module, when receiving a digital RMB information acquisition request submitted by a user, calls the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal;

[0022] A second receiving module, configured to receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the RMB information and display it to the user.

[0023] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the above-mentioned digital RMB information acquisition method based on a blockchain is implemented.

[0024] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned digital RMB information acquisition method based on a blockchain is implemented.

[0025] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned digital RMB information acquisition method based on a blockchain is implemented.

[0026] In an embodiment of the present invention, a first bank terminal with the permission to exchange digital RMB acts as a node of the blockchain and executes the following method: preset a variety of digital RMB application program API interfaces; wherein, each API interface corresponds to an application way of a digital RMB information; receive an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; wherein, the second bank terminal includes a bank terminal without the permission to directly exchange digital RMB; when it is determined to allow the second bank terminal to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured second bank terminal access permission information, connect the second bank terminal to the blockchain as a new node; according to the digital RMB information acquisition request sent by the second bank terminal by calling the corresponding API interface, send the corresponding digital RMB information to the second bank terminal. In this way, the first bank terminal can provide the corresponding digital RMB information to the second bank terminal through the preset digital RMB application program API interfaces, improve the utilization rate and acquisition efficiency of the digital RMB information, and enhance the user experience.

[0027] In addition, a second bank terminal without the permission to directly exchange digital RMB executes the following method: send an API interface access request to a first bank terminal with the permission to exchange digital RMB; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; when the first bank terminal allows access to the API interface corresponding to the API interface identifier, connect to the blockchain as a new node; when receiving a digital RMB information acquisition request submitted by a user, call the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal; receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the digital RMB information and display it to the user. In this way, the second bank terminal can connect to the blockchain as a node of the blockchain, and obtain the corresponding digital RMB information from the first bank terminal through the digital RMB application program API interfaces provided by the first bank terminal and display it to the user, improve the utilization rate and acquisition efficiency of the digital RMB information, and enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts. In the drawings:

[0029] Figure 1Flowchart of a method for obtaining digital RMB information based on blockchain provided in an embodiment of the present invention;

[0030] Figure 2 Flowchart of a method for obtaining digital RMB information based on blockchain provided in another embodiment of the present invention;

[0031] Figure 3 Schematic diagram of a device for obtaining digital RMB information based on blockchain provided in an embodiment of the present invention;

[0032] Figure 4 Schematic diagram of a device for obtaining digital RMB information based on blockchain provided in another embodiment of the present invention;

[0033] Figure 5 Schematic diagram of a computer device provided in an embodiment of the present invention. Detailed implementation manners

[0034] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer and more understandable, the following further describes the embodiments of the present invention in detail with reference to the accompanying drawings. Herein, the illustrative embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0035] The term "and / or" in this article merely describes an association relationship and means that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in this article means any one of multiple types or any combination of at least two of multiple types. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set composed of A, B, and C.

[0036] In the description of this specification, the terms "include", "comprise", "have", "contain", etc. are all open-ended terms, that is, they are meant to include but not be limited to. The descriptions with reference to terms such as "an embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps is not limited and can be adjusted appropriately as needed.

[0037] It has been found through research that the digital RMB adopts a two-tier operation system. First, the digital RMB is exchanged for commercial banks and other institutions, and then the commercial banks and other institutions connect with the public. Moreover, not all bank terminals can obtain digital RMB information, which leads to low utilization rate and acquisition efficiency of digital RMB information and poor user experience.

[0038] In response to the above research, an embodiment of the present invention provides a method for obtaining digital RMB information based on a blockchain, which is applied to a node of the blockchain. The node is a first bank terminal with the right to exchange digital RMB, such as Figure 1 shown, including:

[0039] S101: Preset a variety of digital RMB application program API interfaces; among them, each API interface corresponds to an application path of digital RMB information;

[0040] S102: Receive an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; among them, the second bank terminal includes bank terminals without the right to exchange digital RMB;

[0041] S103: When it is determined to allow the second bank terminal to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured second bank terminal access permission information, connect the second bank terminal to the blockchain as a new node;

[0042] S104: Send the corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface.

[0043] In an embodiment of the present invention, a first bank terminal with the permission to exchange digital RMB acts as a node of the blockchain and executes the following method: preset a variety of digital RMB application program API interfaces; wherein, each API interface corresponds to an application way of a digital RMB information; receive an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; wherein, the second bank terminal includes a bank terminal without the permission to directly exchange digital RMB; when it is determined to allow the second bank terminal to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured second bank terminal access permission information, connect the second bank terminal to the blockchain as a new node; according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface, send the corresponding digital RMB information to the second bank terminal. In this way, the first bank terminal can provide the corresponding digital RMB information to the second bank terminal through the preset digital RMB application program API interface, improving the utilization rate and acquisition efficiency of the digital RMB information and enhancing the user experience.

[0044] The method for acquiring digital RMB information based on the blockchain in the embodiment of the present invention will be described in detail below.

[0045] Regarding the above S101, each API interface corresponds to an application way of a digital RMB information. For example, personal wallet query, personal wallet information query, personal wallet transaction details query, personal collection code acquisition, etc. Correspondingly, the digital RMB application program API interface includes, for example, at least one of the following: personal wallet query interface, personal wallet information query interface, personal wallet transaction details query interface, personal collection code acquisition interface.

[0046] Regarding the above S102, the second bank terminal includes a bank terminal without the permission to exchange digital RMB. The first bank terminal is the first bank terminal with the permission to exchange digital RMB. The first bank terminal receives the API interface access request sent by the second bank terminal and confirms whether to allow the second bank terminal to access. If allowed, the corresponding digital RMB information can be sent to the second bank terminal through the API interface accessed by the second bank terminal.

[0047] Regarding the above S103, the second bank terminal access permission information includes: the access permission information of the second bank for each API interface; for example, there are 7 API interfaces, and each API interface corresponds to a different application path of the digital RMB information. The second bank terminal A can access API interfaces a, b, and c, and cannot access API interfaces d, e, f, and g. The second bank terminal B can access API interfaces b, c, d, and e, and cannot access API interfaces a, f, and g. The second bank terminal C can access API interfaces f and g, and cannot access API interfaces a, b, c, d, and e.

[0048] Specifically, when determining that the second bank terminal is allowed to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured second bank terminal access permission information, adding the second bank terminal to the blockchain as a new node, for example, includes: when determining that the second bank terminal is allowed to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the access permission information of the second bank for each API interface, adding the second bank terminal to the blockchain as a new node.

[0049] In addition, when determining that the second bank terminal is allowed to access the corresponding API interface, adding the second bank terminal to the blockchain as a new node, for example, may further include: when determining that the second bank terminal can access the corresponding API interface, generating a corresponding interface mutual recognition protocol, and adding the second bank terminal to the blockchain as a new node.

[0050] In this way, according to the interface mutual recognition protocol, the first bank terminal can determine whether the second bank terminal has the permission to call the corresponding API interface.

[0051] Regarding the above S104, according to the application path of the digital RMB information corresponding to the API interface called by the second bank terminal, send the corresponding digital RMB information to the second bank terminal.

[0052] In addition, in another embodiment of the present invention, a method for obtaining digital RMB information based on a blockchain is further provided, which is applied to a node of the blockchain, and the node is a second bank terminal without the permission to directly exchange digital RMB, as Figure 2 shown, including:

[0053] S201: Send an API interface access request to the first bank terminal with the permission to exchange digital RMB; the API interface access request carries an API interface identifier and the second bank identifier to which the second bank terminal belongs;

[0054] S202: When the first bank terminal allows access to the API interface corresponding to the API interface identifier, add it to the blockchain as a new node;

[0055] S203: When receiving a digital RMB information acquisition request submitted by a user, call the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal.

[0056] S204: Receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the digital RMB information and display it to the user.

[0057] In an embodiment of the present invention, a second bank terminal without the permission to directly exchange digital RMB executes the following method: send an API interface access request to a first bank terminal with the permission to exchange digital RMB; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; when the first bank terminal allows access to the API interface corresponding to the API interface identifier, access the blockchain as a new node; when receiving a digital RMB information acquisition request submitted by a user, call the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal; receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the digital RMB information and display it to the user. In this way, the second bank terminal can access the blockchain as a node of the blockchain, and through the digital RMB application program API interface provided by the first bank terminal, obtain the corresponding digital RMB information from the first bank terminal and display it to the user, improving the utilization rate and acquisition efficiency of digital RMB information and enhancing the user experience.

[0058] The method for acquiring digital RMB information based on blockchain in an embodiment of the present invention will be described in detail below.

[0059] Regarding the above S201, the second bank terminal can request to access the API interface of the first bank terminal. After accessing the corresponding API interface, the second bank terminal can use the API interface to obtain the corresponding digital RMB information from the first bank terminal.

[0060] Regarding the above S202, when the first bank terminal allows access to the API interface corresponding to the API interface identifier, the second bank terminal accesses the blockchain as a new node.

[0061] Specifically, when the first bank terminal allows access to the API interface, accessing the blockchain as a new node, for example, includes: when the first bank terminal allows access to the API interface, generating a corresponding interface mutual recognition protocol with the first bank terminal and accessing the blockchain as a new node.

[0062] Regarding the above S203, the digital RMB information acquisition request includes, for example, at least one of the following: personal wallet query request, personal wallet information query request, personal wallet transaction details query request, and personal collection code acquisition request.

[0063] Regarding the above S204, receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result based on the digital RMB information and display it to the user. For example, it includes: processing the digital RMB information according to the application path corresponding to the digital RMB information, and generating a display result based on the processing result and displaying it to the user.

[0064] In the technical solution of this application, the acquisition, storage, use, processing, etc. of data all comply with the relevant provisions of national laws and regulations.

[0065] In an embodiment of the present invention, a digital RMB information acquisition device based on a blockchain is also provided, as described in the following embodiments. Since the principle of the device for solving problems is similar to the digital RMB information acquisition method based on a blockchain, the implementation of the device can refer to the implementation of the digital RMB information acquisition method based on a blockchain, and the repeated parts will not be elaborated.

[0066] As Figure 3 shown, it is a schematic diagram of a digital RMB information acquisition device based on a blockchain provided by an embodiment of the present invention, which is applied to a node of the blockchain. The node is a first bank terminal with the right to exchange digital RMB, and includes: an interface setting module 301, a first receiving module 302, a first processing module 303, and a second processing module 304; where

[0067] The interface setting module 301 is used to pre-set multiple digital RMB application program API interfaces; where each API interface corresponds to an application path of a digital RMB information.

[0068] The first receiving module 302 is used to receive an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; where the second bank terminal includes a bank terminal without the right to directly exchange digital RMB.

[0069] The first processing module 303 is used to determine that when the second bank terminal is allowed to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured access permission information of each second bank terminal, connect the second bank terminal to the blockchain as a new node.

[0070] The second processing module 304 is configured to send corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal by invoking the corresponding API interface.

[0071] In a possible implementation manner, the digital RMB application program API interface includes at least one of the following: personal wallet query interface, personal wallet information query interface, personal wallet transaction details query interface, personal collection code acquisition interface.

[0072] In a possible implementation manner, the access permission information of the second bank terminal includes: the access permission information of the second bank for each API interface; the first processing module is specifically configured to determine that when the second bank terminal is allowed to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the access permission information of the second bank for each API interface, connect the second bank terminal to the blockchain as a new node.

[0073] In a possible implementation manner, the first processing module is specifically configured to generate a corresponding interface mutual recognition protocol when determining that the second bank terminal can access the corresponding API interface, and connect the second bank terminal to the blockchain as a new node.

[0074] As Figure 4 shown, it is a schematic diagram of a digital RMB information acquisition device based on blockchain provided by another embodiment of the present invention, which is applied to a node of the blockchain. The node is a second bank terminal that does not have the permission to directly exchange digital RMB, and includes: a sending module 401, a third processing module 402, a fourth processing module 403, and a second receiving module 404; wherein,

[0075] The sending module 401 is configured to send an API interface access request to the first bank terminal that has the permission to exchange digital RMB; the API interface access request carries an API interface identifier and the second bank identifier to which the second bank terminal belongs;

[0076] The third processing module 402 is configured to connect to the blockchain as a new node when the first bank terminal allows access to the API interface corresponding to the API interface identifier;

[0077] The fourth processing module 403, when receiving a digital RMB information acquisition request submitted by a user, invokes the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal;

[0078] The second receiving module 404 is configured to receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the RMB information and display it to the user.

[0079] In a possible implementation manner, the digital RMB information acquisition request includes at least one of the following: personal wallet query request, personal wallet information query request, personal wallet transaction details query request, personal collection code acquisition request.

[0080] In a possible implementation manner, the third processing module is specifically configured to generate a corresponding interface mutual recognition protocol with the first bank terminal and access the blockchain as a new node when the first bank terminal allows access to the API interface.

[0081] Based on the foregoing inventive concept, as Figure 5 shown, the present invention further provides a computer device 500, including a memory 510, a processor 520, and a computer program 530 stored in the memory 510 and executable on the processor 520. When the processor 520 executes the computer program 530, the foregoing method for acquiring digital RMB information based on the blockchain is implemented.

[0082] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the foregoing method for acquiring digital RMB information based on the blockchain is implemented.

[0083] An embodiment of the present invention further provides a computer program product including a computer program, and when the computer program is executed by a processor, the foregoing method for acquiring digital RMB information based on the blockchain is implemented.

[0084] In an embodiment of the present invention, a first bank terminal with the right to exchange digital RMB serves as a node of the blockchain and executes the following method: pre-set a variety of digital RMB application program API interfaces; wherein, each API interface corresponds to an application path of a digital RMB information; receive an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; wherein, the second bank terminal includes a bank terminal without the right to directly exchange digital RMB; when it is determined to allow the second bank terminal to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured second bank terminal access permission information, connect the second bank terminal to the blockchain as a new node; send the corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface. In this way, the first bank terminal can provide the corresponding digital RMB information to the second bank terminal through the pre-set digital RMB application program API interface, improving the utilization rate and acquisition efficiency of digital RMB information and enhancing the user experience.

[0085] In addition, the second bank terminal without the permission to directly exchange digital RMB executes the following method: sending an API interface access request to the first bank terminal with the permission to exchange digital RMB; the API interface access request carries an API interface identifier and the second bank identifier to which the second bank terminal belongs; when the first bank terminal permits access to the API interface corresponding to the API interface identifier, accessing the blockchain as a new node; when receiving a digital RMB information acquisition request submitted by a user, calling the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal; receiving the digital RMB information sent by the first bank terminal, and generating a corresponding display result according to the digital RMB information and displaying it to the user. In this way, the second bank terminal can access the blockchain as a node of the blockchain, and through the digital RMB application program API interface provided by the first bank terminal, obtain the corresponding digital RMB information from the first bank terminal and display it to the user, improving the utilization rate and acquisition efficiency of digital RMB information and enhancing the user experience.

[0086] Those skilled in the art should understand that the embodiments of the present invention may be provided as a method, a system, or a computer program product. Therefore, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0087] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for realizing the functions specified in Figure 1 one or more of the flows Figure 1 or multiple flows and / or blocks

[0088] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that realizes the functions specified in Figure 1 one or more of the flows Figure 1 or multiple flows and / or blocks

[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are executed on the computer or other programmable apparatus to produce a computer-implemented process, thereby the instructions executed on the computer or other programmable apparatus provide steps for realizing the functions specified in one process or multiple processes and / or one block or multiple blocks. Figure 1 one process or multiple processes and / or Figure 1 blocks for realizing the functions specified in one block or multiple blocks.

[0090] The specific embodiments described above further elaborate the object, technical solutions and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for obtaining digital RMB information based on blockchain, characterized in that, it is applied to a node of the blockchain, and the node is a first bank terminal with the right to exchange digital RMB. The method includes: Pre-set a variety of digital RMB application program API interfaces; wherein, each API interface corresponds to an application way of a kind of digital RMB information; Receive an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; wherein, the second bank terminal includes a bank terminal without the right to exchange digital RMB; When it is determined, according to the API interface identifier, the second bank identifier, and the pre-configured access permission information of the second bank terminal, that the second bank terminal is allowed to access the corresponding API interface, connect the second bank terminal to the blockchain as a new node; Send the corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface; When it is determined that the second bank terminal is allowed to access the corresponding API interface and the second bank terminal is connected to the blockchain as a new node, it includes: when it is determined that the second bank terminal is allowed to access the corresponding API interface, generate a corresponding interface mutual recognition protocol, and connect the second bank terminal to the blockchain as a new node; according to the interface mutual recognition protocol, determine whether the second bank terminal has the right to call the corresponding API interface; Sending the corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface includes: sending the corresponding digital RMB information to the second bank terminal according to the application way of the digital RMB information corresponding to the API interface called by the second bank terminal.

2. The method for obtaining digital RMB information according to claim 1, characterized in that, The digital RMB application program API interface includes at least one of the following: personal wallet query interface, personal wallet information query interface, personal wallet transaction details query interface, personal collection code acquisition interface.

3. The method for obtaining digital RMB information according to claim 1, characterized in that, The access permission information of the second bank terminal includes: the access permission information of the second bank for each API interface; When it is determined, according to the API interface identifier, the second bank identifier, and the pre-configured access permission information of the second bank terminal, that the second bank terminal is allowed to access the corresponding API interface, and the second bank terminal is connected to the blockchain as a new node, it includes: When it is determined, according to the API interface identifier, the second bank identifier, and the access permission information of the second bank for each API interface, that the second bank terminal is allowed to access the corresponding API interface, connect the second bank terminal to the blockchain as a new node.

4. A method for obtaining digital RMB information based on blockchain, characterized in that, A node applied to a blockchain, where the node is a second bank terminal without the permission to directly exchange digital RMB. The method includes: Sending an API interface access request to a first bank terminal with the permission to exchange digital RMB; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; When the first bank terminal allows access to the API interface corresponding to the API interface identifier, accessing the blockchain as a new node; When receiving a digital RMB information acquisition request submitted by a user, calling the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal; Receiving the digital RMB information sent by the first bank terminal and generating a corresponding display result according to the digital RMB information for display to the user; When the first bank terminal allows access to the API interface, accessing the blockchain as a new node, including: when the first bank terminal allows access to the API interface, generating a corresponding interface mutual recognition protocol with the first bank terminal and accessing the blockchain as a new node; according to the interface mutual recognition protocol, determining whether the second bank terminal has the permission to call the corresponding API interface; Receiving the digital RMB information sent by the first bank terminal and generating a corresponding display result according to the digital RMB information for display to the user, including: processing the digital RMB information according to the application path corresponding to the digital RMB information and generating a display result according to the processing result for display to the user.

5. The digital RMB information acquisition method according to claim 4, characterized in that the digital RMB information acquisition request includes at least one of the following: Personal wallet query request, personal wallet information query request, personal wallet transaction details query request, personal collection code acquisition request.

6. A digital RMB information acquisition device based on a blockchain, characterized in that applied to a node of a blockchain, where the node is a first bank terminal with the permission to exchange digital RMB, including: An interface setting module for pre-setting a variety of digital RMB application program API interfaces; wherein, each API interface corresponds to an application path of a digital RMB information; A first receiving module for receiving an API interface access request sent by a second bank terminal; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; wherein, the second bank terminal includes a bank terminal without the permission to directly exchange digital RMB; A first processing module for determining that when the second bank terminal is allowed to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the pre-configured access permission information of each second bank terminal, connecting the second bank terminal to the blockchain as a new node; A second processing module for sending the corresponding digital RMB information to the second bank terminal according to the digital RMB information acquisition request sent by the second bank terminal calling the corresponding API interface; The first processing module is specifically configured to generate a corresponding interface recognition protocol when determining that the second bank terminal is allowed to access the corresponding API interface, and connect the second bank terminal to the blockchain as a new node; and determine whether the second bank terminal has the permission to call the corresponding API interface according to the interface recognition protocol. The second processing module is specifically configured to send the corresponding digital RMB information to the second bank terminal according to the application path of the digital RMB information corresponding to the API interface called by the second bank terminal.

7. The digital RMB information acquisition device according to claim 6, wherein, The access permission information of the second bank terminal includes: the access permission information of the second bank for each API interface; The first processing module is specifically configured to determine that the second bank terminal is allowed to access the corresponding API interface according to the API interface identifier, the second bank identifier, and the access permission information of the second bank for each API interface, and connect the second bank terminal to the blockchain as a new node.

8. A digital RMB information acquisition device based on a blockchain, wherein, Applied to a node of the blockchain, the node is a second bank terminal that does not have the permission to directly exchange digital RMB, and includes: A sending module, configured to send an API interface access request to a first bank terminal that has the permission to exchange digital RMB; the API interface access request carries an API interface identifier and a second bank identifier to which the second bank terminal belongs; A third processing module, configured to connect to the blockchain as a new node when the first bank terminal allows access to the API interface corresponding to the API interface identifier; A fourth processing module, when receiving a digital RMB information acquisition request submitted by a user, calls the corresponding API interface to send the digital RMB information acquisition request to the first bank terminal; A second receiving module, configured to receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the digital RMB information and display it to the user; The third processing module is specifically configured to generate a corresponding interface recognition protocol with the first bank terminal when the first bank terminal allows access to the API interface, connect to the blockchain as a new node; determine whether the second bank terminal has the permission to call the corresponding API interface according to the interface recognition protocol; receive the digital RMB information sent by the first bank terminal, and generate a corresponding display result according to the digital RMB information and display it to the user, including: processing the digital RMB information according to the application path corresponding to the digital RMB information, and generating a display result according to the processing result and displaying it to the user.

9. A computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

10. A computer-readable storage medium, wherein, The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

11. A computer program product, characterized in that, the computer program product includes a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Block chain-based information query method

    CN114154176A