CN112379862A - Universal blockchain wallet platform system - Google Patents

Universal blockchain wallet platform system Download PDF

Info

Publication number
CN112379862A
CN112379862A CN202010905394.0A CN202010905394A CN112379862A CN 112379862 A CN112379862 A CN 112379862A CN 202010905394 A CN202010905394 A CN 202010905394A CN 112379862 A CN112379862 A CN 112379862A
Authority
CN
China
Prior art keywords
wallet
module
block chain
programming interface
interface module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010905394.0A
Other languages
Chinese (zh)
Inventor
杨志武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202010905394.0A priority Critical patent/CN112379862A/en
Publication of CN112379862A publication Critical patent/CN112379862A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a general block chain wallet platform, which comprises a wallet programming interface module, a wallet task module, a message queue module, a plurality of service system modules and a plurality of block chain link points which are connected by data, wherein the address of each block chain node corresponds to one service system module; the wallet programming interface module encapsulates a unified digital currency operation function and a tool bag, the wallet programming interface module performs transfer operation of converting a business function into a block chain link point according to a request of a client, the wallet task module reads a transaction record on the block chain link point, and if a record matched with a business system address is found, the transaction record data and the conversion persistence are respectively fed back to the corresponding business system module through the message queue module, and the user asset record is modified. The invention realizes a low-coupling independent block chain digital currency transaction transfer platform, reduces the development difficulty of each item and shortens the time of appearance of the item.

Description

Universal blockchain wallet platform system
Technical Field
The invention relates to the technical field of network payment, in particular to a universal block chain wallet platform.
Background
In the current cashless era, virtual digital currency makes the way, the market for trading by using the digital currency is larger and larger, and a convenient and safe block chain wallet provided for users becomes an industry foundation. The general block chain wallet docking platform utilizes offline signature packaging transaction, the private key and the user password are stored in an isolated mode, the user password is stored by using an asymmetric encryption technology, and the functions of recharging and extracting the mainstream coins such as BTC, ETH and EOS in the current market are realized on the premise that the application security is guaranteed by using the user password to encrypt and decrypt the private key. And due to the reasonable architecture, new digital currency types can be easily added. For the butt-joint party, the basic recharging and cash-drawing function can be realized only by simply calling an interface based on an http protocol and subscription information according to a butt-joint document provided by the platform, and the butt-joint party can realize the basic recharging and cash-drawing function only by focusing on the service of the butt-joint party without concerning the realization of the bottom layer area block chain.
The existing block chain wallet platform does not make a distributed cluster version because of few butt-joint parties and low transaction flow. Although sufficient at present, the situations of slow response, network congestion and the like can occur in high-throughput and high-concurrency scenes. In the future, as a robust high-availability platform, distributed, business and database clusters, high-availability schemes are all processes that must be experienced.
In the prior block chain transaction project development, the core problem of the project is to improve the response speed, the throughput, the development of the wallet, the safety of the user assets and other core and weak business contents of the transaction. Various attempts are made by various exchanges to realize the function of the wallet, however, the problems of coin loss, wrong address transfer, transfer failure and the like are endless, and the mutual reference difficulty is very high when the exchanges are realized based on different languages.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a universal blockchain wallet platform, which effectively reduces the development cost of each connected project party, reduces the development difficulty of each project, shortens the time of the project appearing, puts more energy and time on the core business realization and provides better interactive experience for users by realizing a low-coupling and independent blockchain digital currency transaction transfer platform.
The technical scheme adopted by the invention for solving the technical problems is as follows: the universal block chain wallet platform comprises a wallet programming interface module, a wallet task module, a message queue module (short for MQ), a plurality of service system modules and a plurality of block chain link points which are connected by data, wherein the address of each block chain node corresponds to one service system module; the wallet programming interface module encapsulates a unified digital currency operation function and a tool bag, the wallet programming interface module converts a business function into a transfer operation on the block chain link points according to a request of a client, the wallet task module reads transaction records on the block chain link points, and when records matched with the business system addresses are found, the message queue module respectively feeds back transaction record data and conversion persistence data to the corresponding business system modules and modifies user asset records.
Furthermore, the wallet programming interface and the wallet task are connected with CoinJS (WEB component library), unified digital currency operations and toolkits are packaged in the CoinJS, and chain transfer can be carried out on the service by referring the library by the wallet programming interface and the wallet task.
Further, the client is a user-oriented blockchain application or an exchange item.
Further, when the client applies for the wallet function, the following steps are executed:
1. applying parameters required for docking to a wallet programming interface module, such as an api, a secret key and the like for authentication, and defining a system identifier of the wallet for a platform to identify;
2. subscribing the notice of the asset change event through the message queue module, and changing the self user account book after receiving information such as money charging to account, money extraction success and the like;
3. the wallet programming interface module generates addresses of corresponding block link nodes, applies for money extraction, and obtains interfaces which realize wallet functions such as currency and the like and are connected to the corresponding business system module in an abutting mode;
4. and the operation department manages users to log in the service system module according to the provided desktop program to make a decision of money withdrawal service (whether money is passed or not, whether money is put or not and the like).
The invention has the beneficial effects that:
1. unified digital currency operation and toolkits are packaged in the CoinJS library, and chain transfer of business can be carried out only by using the library through data connection and reference of a wallet programming interface and a wallet task, so that more detailed professional division of labor is realized, the wallet is more stable in performance on a basic layer, and the wallet development efficiency and the operation efficiency are higher;
2. in a service interface of a wallet programming interface, when an application system requests to generate a block chain address, a user password sha-256 encryption algorithm is stored in a mysql database, and a wallet address private key is subjected to aes symmetric encryption by using an encrypted user password and then stored in a mongodb database, so that isolated storage of the password and the key is effectively realized, transactions including collection and withdrawal of coins and transfer accounts are packaged and broadcast transactions after local offline signature, and the safety of user assets is ensured to the maximum extent;
3. the whole wallet system is independent of the application service, and the wallet programming interface and the MQ are used as a communication channel to realize data interaction with the application system, so that the system coupling degree is reduced;
4. various operations of different currencies are uniformly packaged, a uniform access mode is provided for the outside, development difficulty is reduced, implementation details are shielded, and safety guarantee is provided.
Drawings
FIG. 1 is a block diagram of the architecture of the present invention.
Detailed Description
The invention will be further described with reference to the accompanying drawings.
As shown in fig. 1, the universal block chaining wallet platform includes a wallet programming interface (wallet-api) module, a wallet task (wallet-task) module, a message queue module (MQ for short), a plurality of service system modules and a plurality of block chaining nodes, which are connected by data, wherein a client (sea client, desktop wallet) is mainly provided for an operator to independently control, when a system user initiates a money extraction (transfers digital assets from the system), the operator introduces an account packet, fills an account password into an audit page, when the audit is passed, the desktop wallet directly performs a signature transaction and packaging data to nodes such as BTC, ETH and the like, the wallet programming interface module is developed by using frames such as Sequlize of node js, Express and the like, and provides functions such as application system query, address generation, money extraction application and the like as a back-end api service, and the wallet task module uses Express, a data access control, a wallet task module, a message queue module (, The system comprises a wallet system, a plurality of block chain nodes, a plurality of business system modules and a plurality of business system modules, wherein the framework development of CoinJS, Node-Schedule and the like is realized, and the block chain nodes are mainly realized by establishing all nodes on an independent server according to a Node program provided by a bit currency and an Ethernet official network, and the functions of on-chain business query, broadcast business and the like can be provided for the wallet system; the wallet programming interface module encapsulates a unified digital currency operation function and a toolkit, the wallet programming interface module performs transfer operation of converting a business function into the block chain link points according to a request of a client, the client is a user-oriented block chain application or a trading place project, the wallet task module reads transaction records on the block chain link points, and when records matched with the business system address are found, the message queue module respectively feeds back transaction record data and conversion persistence data to the corresponding business system modules and modifies user asset records.
When the client applies for the wallet function, the following steps are executed:
1. applying parameters required for docking to a wallet programming interface module, such as an api, a secret key and the like for authentication, and defining a system identifier of the wallet for a platform to identify;
2. subscribing the notice of the asset change event through the message queue module, and changing the self user account book after receiving information such as money charging to account, money extraction success and the like;
3. the wallet programming interface module generates addresses of corresponding block link nodes, applies for money extraction, and obtains interfaces which realize wallet functions such as currency and the like and are connected to the corresponding business system module in an abutting mode;
4. and the operation department manages users to log in the service system module according to the provided desktop program to make a decision of money withdrawal service (whether money is passed or not, whether money is put or not and the like).
The above description is only a preferred embodiment of the present invention, and the scope of the present invention should not be limited thereby, and all the simple equivalent changes and modifications made in the claims and the description of the present invention are within the scope of the present invention.

Claims (3)

1. The universal block chain wallet platform is characterized by comprising a wallet programming interface module, a wallet task module, a message queue module, a plurality of service system modules and a plurality of block chain link points which are connected by data, wherein the address of each block chain node corresponds to one service system module; the wallet programming interface module encapsulates a unified digital currency operation function and a tool bag, the wallet programming interface module converts a business function into a transfer operation on the block chain link points according to a request of a client, the wallet task module reads transaction records on the block chain link points, and when records matched with the business system addresses are found, the message queue module respectively feeds back transaction record data and conversion persistence data to the corresponding business system modules and modifies user asset records.
2. The universal blockchain wallet platform of claim 1, wherein the client is a user-oriented blockchain application or an exchange item.
3. The universal blockchain wallet platform of claim 1 or 2, wherein when the client applies for a wallet function, the following steps are performed:
1. applying for docking required parameters to a wallet programming interface module;
2. after subscribing the notice of the asset change event through the message queue module, changing the account book of the user per se;
3. the wallet programming interface module generates the address of the corresponding block chain node, and the interface of the wallet function is connected to the corresponding business system module in an abutting mode;
4. and the operation department makes a decision according to the login of the provided desktop program management user to the service system module.
CN202010905394.0A 2020-09-01 2020-09-01 Universal blockchain wallet platform system Withdrawn CN112379862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010905394.0A CN112379862A (en) 2020-09-01 2020-09-01 Universal blockchain wallet platform system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010905394.0A CN112379862A (en) 2020-09-01 2020-09-01 Universal blockchain wallet platform system

Publications (1)

Publication Number Publication Date
CN112379862A true CN112379862A (en) 2021-02-19

Family

ID=74586093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010905394.0A Withdrawn CN112379862A (en) 2020-09-01 2020-09-01 Universal blockchain wallet platform system

Country Status (1)

Country Link
CN (1) CN112379862A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950196A (en) * 2021-03-11 2021-06-11 杭州复杂美科技有限公司 Block chain wallet system and using method, equipment and storage medium thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950196A (en) * 2021-03-11 2021-06-11 杭州复杂美科技有限公司 Block chain wallet system and using method, equipment and storage medium thereof

Similar Documents

Publication Publication Date Title
CN109756582B (en) Information recording method, device, node and storage medium in block chain network
CN111770102B (en) Block chain cross-chain method and device, computer equipment and storage medium
US20220329422A1 (en) Data processing method, apparatus, computer program, and storage medium
CN106779636B (en) Block chain digital currency wallet based on mobile phone earphone interface
Han et al. Ensuring data storage security through a novel third party auditor scheme in cloud computing
CN101916388B (en) Smart SD card and method for using same for mobile payment
JPH1166193A (en) Method and device for managing electronic money and storage medium where electronic money managing program is stored
CN111131412B (en) Method, system, mobile terminal and cloud server for realizing 5G mobile terminal calculation
CN110111102A (en) A kind of virtual traffic card system and distribution method of commerce based on block chain technology
CN112560072B (en) Key management method, device, medium and equipment based on block chain
CN113947394A (en) Block chain-based fair payment method for deletable duplicate data in cloud storage
CN102968861B (en) Tax copying method
CN110910109B (en) Electronic resource transfer method and device based on block chain
CN109685659B (en) Method for supporting offline transaction of block chain hard wallet and hard wallet
CN109985390B (en) Virtual asset management method and system
CN111915302B (en) Associated data processing method and device, electronic equipment and computer readable medium
CN112379862A (en) Universal blockchain wallet platform system
CN115439254B (en) Financial background transaction platform with intelligent key function
CN102831517A (en) Electronic consumption card system based on mobile terminal
US20230412404A1 (en) Systems and methods for mitigating network congestion on blockchain networks by supporting blockchain operations through off-chain interactions
CN103023642B (en) A kind of mobile terminal and digital certificate functionality implementation method thereof
CN104376493A (en) Safe processing system and method based on encryption equipment
CN114154185A (en) Data encryption storage method based on national cryptographic algorithm
CN114301912A (en) Information interaction method and device based on block chain
CN107306510A (en) Network electronic billing system and its implementation and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210219