CN107330783A - A kind of method and system for handling digital cash - Google Patents

A kind of method and system for handling digital cash Download PDF

Info

Publication number
CN107330783A
CN107330783A CN201710494521.0A CN201710494521A CN107330783A CN 107330783 A CN107330783 A CN 107330783A CN 201710494521 A CN201710494521 A CN 201710494521A CN 107330783 A CN107330783 A CN 107330783A
Authority
CN
China
Prior art keywords
digital cash
operation information
network node
parsing
information
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.)
Pending
Application number
CN201710494521.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.)
Digital Currency Institute of the Peoples Bank of China
Original Assignee
Digital Currency Institute of the Peoples Bank of China
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 Digital Currency Institute of the Peoples Bank of China filed Critical Digital Currency Institute of the Peoples Bank of China
Priority to CN201710494521.0A priority Critical patent/CN107330783A/en
Publication of CN107330783A publication Critical patent/CN107330783A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computational Linguistics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of method and system for handling digital cash, and this method includes:Receive the operation information of the digital cash sent by digital cash core system;Parse the operation information;Operation information after parsing is stored in the corresponding database of each network node.This method is capable of the operation information of distributed storage digital cash, and ensures uniformity and reliability of the data in distributed environment so that digital cash is served by convenient extending transversely, the use under the extensive load scene of satisfaction.

Description

A kind of method and system for handling digital cash
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and system for handling digital cash.
Background technology
Digital cash is that, by a series of legal tender of string representations, the security of wherein digital cash passes through cryptography Algorithm is protected.At present, it is considered that digital cash is to authorize distribution by Central Bank's distribution or the Central Bank, to represent The encrypted numeric string of the specific amount of money is the legal tender of the form of expression, including the amount of money of digital cash, publisher's mark and all Person identifies.Digital cash is built on the platform of ripe now computer technology and Internet technology, now by being used as number The Central Bank of word currency core system issues and the field that circulates.
The Register of digital cash core system, the information of digital cash is stored using centralized data base, is only Bank or other non-silver mechanisms provide digital cash inquiry service, and the predominantly inquiry service of the statistical information such as monetary aggregates. In actual life, the public is a kind of very universal personal behavior to the verification demand of currency.But, due to digital cash core System uses the operation information of centralised storage digital cash, for the consideration of safety and performance, digital cash core system System can not provide instant currency examination for the public and really weigh service, and then can not meet the demand of personal verification's digital cash true and false.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and system for handling digital cash, being capable of distributed storage The operation information of digital cash, and ensure uniformity and reliability of the data in distributed environment so that application is convenient It is extending transversely, meet the use under extensive load scene.
To achieve the above object, there is provided a kind of side for handling digital cash for one side according to embodiments of the present invention Method.
A kind of method of processing digital cash of the embodiment of the present invention includes:Receive what is sent by digital cash core system The operation information of digital cash;Parse the operation information;Operation information after parsing is stored in each network node correspondence Database in.
Alternatively, a kind of method of processing digital cash of the embodiment of the present invention also includes:Operation letter after by parsing After breath is stored in the corresponding database of each network node, the request of checking digital cash is received, is existed according to the request The operation information of corresponding digital cash is searched in database, the result is returned after checking is compared.
Alternatively, the operation information by after parsing is stored in each corresponding database of network node and included:Will Information after parsing writes one of network node;By distributed account book technology by the one of network node of said write Information, be synchronized in other corresponding databases of each network node.
Alternatively, a kind of method of processing digital cash of the embodiment of the present invention also includes:Operation letter after by parsing After breath is stored in the corresponding database of each network node, the status information of storage is constituted into message queue message;And The message queue message is sent to digital cash core system.
Alternatively, the operation information includes:The digital cash of distribution, the command information for destroying digital cash or digital goods Coin collection of illustrative plates.
Alternatively, the digital cash is encryption word string, and the encryption word string includes the amount of money of the digital cash, distribution Side's mark and owner's mark.
There is provided a kind of system for handling digital cash for another aspect according to embodiments of the present invention.
A kind of system of processing digital cash of the embodiment of the present invention includes:Receiving module, for receiving by digital cash The operation information for the digital cash that core system is sent;Parsing module, for parsing the operation information;Memory module, is used for Operation information after parsing is subjected to distributed storage in the corresponding database of each network node.
Alternatively, a kind of system of processing digital cash of the embodiment of the present invention also includes:Authentication module, is tested for receiving The request of digital cash is demonstrate,proved, according to the operation information for asking to search corresponding digital cash in database, is compared The result is returned after checking.
Alternatively, the information after parsing is write one of network node by the memory module;And, pass through distribution The information of the one of network node of said write is synchronized to other corresponding databases of each network node by account book technology In.
Alternatively, a kind of system of processing digital cash of the embodiment of the present invention also includes:Feedback module, for that will solve After operation information after analysis carries out distributed storage in the corresponding database of each network node, by the status information of storage Constitute message queue message;And, the message queue message is sent to digital cash core system.
Alternatively, the operation information includes:The digital cash of distribution, the command information for destroying digital cash or digital goods Coin collection of illustrative plates.
Alternatively, the digital cash is encryption word string, and the encryption word string includes the amount of money of the digital cash, distribution Side's mark and owner's mark.
Another further aspect according to embodiments of the present invention is there is provided a kind of computer-readable recording medium, and the computer can Read the computer instruction that is stored with storage medium, it is characterised in that the computer instruction can be by computer or department of computer science System operation, so that the computer or computer system are able to carry out any one of the method for above-mentioned processing digital cash Method.
One embodiment in foregoing invention has the following advantages that or beneficial effect:Because using the digital goods of distributed storage The technological means of the operation information of coin, so overcoming centralised storage personal towards the public can not carry out digital cash service. In addition, carrying out distributed storage to digital currency operations information using distributed account book technology, integrated system can be carried difficult With the access of burden and calculating pressure, service is provided for the public.User then carries out digital cash whenever and wherever possible by Web applications Checking, is more beneficial for circulation of the digital cash in the public.
The further effect that above-mentioned non-usual optional mode has adds hereinafter in conjunction with embodiment With explanation.
Brief description of the drawings
Accompanying drawing is used to more fully understand the present invention, does not constitute inappropriate limitation of the present invention.Wherein:
Fig. 1 is a kind of key step figure of the method for processing digital cash according to embodiments of the present invention;
Fig. 2 is a kind of timing diagram of the method for processing digital cash according to embodiments of the present invention;
Fig. 3 is a kind of system main modular figure of processing digital cash according to embodiments of the present invention.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, eliminates the description to known function and structure in following description.
Fig. 1 is a kind of key step figure of the method for processing digital cash according to embodiments of the present invention.As shown in figure 1, A kind of method of processing digital cash of the embodiment of the present invention mainly includes:
S101:Receive the operation information of the digital cash sent by digital cash core system.Digital cash is encrypted word String, encryption word string includes the amount of money of digital cash, publisher's mark and owner's mark.Digital cash core system is digital goods The mechanism of coin distribution, now the Central Bank operation of digital cash is believed by message queue as digital cash core system Breath is sent to distributed account book platform to carry out distributed storage.Wherein, operation information includes:The digital cash of distribution, destruction The command information or digital cash collection of illustrative plates of digital cash.The digital cash of distribution is effective digital cash.Destroy digital cash Command information can realize and destroyed the digital cash of storage that then user can carry when verifying the information of the digital cash Show that digital cash is invalid.The Transaction Information of digital cash collection of illustrative plates including digital cash, digital cash are traced to the source and life cycle Etc. information.
S102:Parse operation information.The operation information of the digital cash received, is the message number sent by message queue According to, so after receiving, carry out parsing operation to message data, and then can be by distributed account book technology by digital cash Operation information writes each network node.
S103:Operation information after parsing is stored in the corresponding database of each network node.Wherein, to digital goods After the message data parsing of the peration data of coin, the information after parsing is write into the corresponding database of one of network node In, the network node does not have uniqueness, and other nodes also may be selected and are used as the network node write first.Then the network section The synchronizing information of write-in to other each network nodes is also achieved that the uniformity of each node application database by point.This is same Step process is achieved that by distributed account book technology, and by distributed account book technology, the distribution of digital cash, destruction etc. are believed Breath record is on distributed account book, it is ensured that monetary data can not be distorted and trackability.Also, distributed account book can be avoided The problems such as single node is unavailable, and by increasing the true load for weighing application of Modal split checking of deployment number of nodes, guarantor The service demonstrate,proved in global range is reachable and reliable.Using distributed account book technology, integrated system can be carried and be difficult to what is born Pressure is accessed and calculated, the related service of digital cash is provided for public individual.Such as checking;User by Web apply with When carry out the checking of digital cash everywhere, be more beneficial for circulation of the digital cash in the public.
After the operation information after by parsing is stored in the corresponding database of each network node, by the state of storage Information constitutes message queue message;And message queue message is sent to digital cash core system.Message queue is to calculate Container in machine science for data transfer between information system, it is ensured that message, which can succeed, reliably transmit.In present invention implementation In example, message queue can also be used in progress information exchange between digital cash core system.
After above-mentioned steps S103, the operation information for the digital cash being stored in each network node can be transported With such as checking for digital cash is really weighed.After the request of checking digital cash is received, looked into according to request in database The operation information of corresponding digital cash is looked for, the result is returned after checking is compared.And then, user is in checking digital cash The true and false when, applied by Web, checking request will be sent, will need checking digital cash be input to Web application in, Web Using then corresponding information is retrieved in the relevant database of network node nearby, if retrieved, contrast verification is carried out, such as Fruit is consistent with the information in database, and return digital cash is genuine the result, is otherwise returned as false or invalid checking knot Really.And internet site technology can allow user to have access to required content under the conditions of networking, whenever and wherever possible.
Fig. 2 is a kind of timing diagram of the method for processing digital cash according to embodiments of the present invention.
In a kind of method of processing digital cash of the embodiment of the present invention, realize that distribution is deposited using block chain technology Storage, block chain technology is the distributed book keeping operation technology developed in recent years.As shown in Fig. 2 digital cash core system passes through message Queue sends the message (MQ) of the operation information of digital cash, and the message that Message processing interface applications are received carries out dissection process, And block chain is written to, realize that network node is synchronous using block chain technology, while updating the corresponding database of network node.Together After step is completed, the information of storage state is constituted into message queue message, digital cash core system is fed back to.And then, user Applied by Web, the service really weighed using the checking of digital cash.
Fig. 3 is a kind of system main modular figure of processing digital cash according to embodiments of the present invention.
As shown in figure 3, a kind of system 300 of processing digital cash of the embodiment of the present invention mainly includes:Receiving module 301st, parsing module 302 and memory module 303.Wherein, receiving module 301 is used to receive what is sent by digital cash core system The operation information of digital cash, operation information includes:The digital cash of distribution, the command information for destroying digital cash or digital goods Coin collection of illustrative plates.If the digital cash information of storage is used to verify the true and false, the effective number for the storage that need to be only stored in database Word currency and the command information for destroying digital cash.Digital cash collection of illustrative plates can be used for the withdrawal of currency from circulation, transaction of digital cash etc..Wherein, Digital cash is encryption word string, and encryption word string includes the amount of money of digital cash, publisher's mark and owner's mark.Parsing module 302 are used to parse operation information;Memory module 303 is used to the operation information after parsing carrying out distributed storage in each network In the corresponding database of node.Also, the information after parsing is write one of network node by memory module 303;And, lead to The information that distributed account book technology will write one of network node is crossed, other corresponding data of each network node are synchronized to In storehouse.
A kind of system 300 of processing digital cash of the embodiment of the present invention also includes authentication module and feedback module, checking Module is used for the request for receiving checking digital cash, is believed according to the operation that corresponding digital cash is searched in request in database Breath, the result is returned after checking is compared.Feedback module is used for the operation information after by parsing and carries out distributed storage After in the corresponding database of each network node, the status information of storage is constituted into message queue message;And, by message Queue messages are sent to digital cash core system.
A kind of system of processing digital cash of the embodiment of the present invention is when handling digital cash, and receiving module is received The message sent by digital cash core system by message queue, then parsing module after Message processing to being written to distribution The operation of digital cash is synchronized each network node by account book, distributed account book, is stored when realizing synchronous.And then terminal User can be applied by Web to carry out verifying true power to digital cash.Using internet site as entrance, the true and false is carried out to digital cash Checking, facilitates the use of public user.And the characteristics of due to distributed storage, public users can in real time be tested by terminal Card, solves the problem of centralised storage can only carry out digital cash checking for banking institution and non-silver mechanism.Centralization Data storage, relatively easily ensure that the uniformity of data, and service, bottom of the present invention can not be but provided for vast public user Distributed account book technology, then ensure data reliability while, by the way of share load, lifted service capacity.
Above-mentioned embodiment, does not constitute limiting the scope of the invention.Those skilled in the art should be bright It is white, depending on design requirement and other factors, can occur various modifications, combination, sub-portfolio and replacement.It is any Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (13)

1. a kind of method for handling digital cash, it is characterised in that including:
Receive the operation information of the digital cash sent by digital cash core system;
Parse the operation information;
Operation information after parsing is stored in the corresponding database of each network node.
2. according to the method described in claim 1, it is characterised in that also include:
After the operation information after by parsing is stored in the corresponding database of each network node,
The request of checking digital cash is received, asks the operation for searching corresponding digital cash in database to be believed according to described Breath, the result is returned after checking is compared.
3. according to the method described in claim 1, it is characterised in that the operation information by after parsing is stored in each network The corresponding database of node includes:
Information after parsing is write into one of network node;
By distributed account book technology by the information of the one of network node of said write, other each network nodes are synchronized to In corresponding database.
4. method according to claim 1 or 2, it is characterised in that also include:
After the operation information after by parsing is stored in the corresponding database of each network node, by the status information of storage Constitute message queue message;And
The message queue message is sent to digital cash core system.
5. method according to claim 1 or 2, it is characterised in that the operation information includes:The digital cash of distribution, Destroy the command information or digital cash collection of illustrative plates of digital cash.
6. method according to claim 1 or 2, it is characterised in that the digital cash is encryption word string, the encrypted word String includes the amount of money of the digital cash, publisher's mark and owner's mark.
7. a kind of system for handling digital cash, it is characterised in that including:
Receiving module, the operation information for receiving the digital cash sent by digital cash core system;
Parsing module, for parsing the operation information;
Memory module, for the operation information after parsing to be carried out into distributed storage in the corresponding database of each network node In.
8. system according to claim 7, it is characterised in that also include:
Authentication module, the request for receiving checking digital cash searches corresponding numeral according to the request in database The operation information of currency, the result is returned after checking is compared.
9. system according to claim 7, it is characterised in that the information after parsing is write wherein one by the memory module Individual network node;And, by distributed account book technology by the information of the one of network node of said write, it is synchronized to other In the corresponding database of each network node.
10. the system according to claim 7 or 8, it is characterised in that also include:
Feedback module, distributed storage is carried out in the corresponding database of each network node for the operation information after by parsing In after, the status information of storage is constituted into message queue message;And, the message queue message is sent to digital cash Core system.
11. the system according to claim 7 or 8, it is characterised in that the operation information includes:The digital cash of distribution, Destroy the command information or digital cash collection of illustrative plates of digital cash.
12. the system according to claim 7 or 8, it is characterised in that the digital cash is encryption word string, the encryption Word string includes the amount of money of the digital cash, publisher's mark and owner's mark.
13. be stored with computer instruction, its feature in a kind of computer-readable recording medium, the computer-readable recording medium It is, the computer instruction can be run by computer or computer system, so that the computer or computer system energy Enough perform claims require the method any one of 1-6.
CN201710494521.0A 2017-06-26 2017-06-26 A kind of method and system for handling digital cash Pending CN107330783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710494521.0A CN107330783A (en) 2017-06-26 2017-06-26 A kind of method and system for handling digital cash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710494521.0A CN107330783A (en) 2017-06-26 2017-06-26 A kind of method and system for handling digital cash

Publications (1)

Publication Number Publication Date
CN107330783A true CN107330783A (en) 2017-11-07

Family

ID=60195203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710494521.0A Pending CN107330783A (en) 2017-06-26 2017-06-26 A kind of method and system for handling digital cash

Country Status (1)

Country Link
CN (1) CN107330783A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117477A (en) * 2015-09-09 2015-12-02 中国人民解放军国防科学技术大学 Self-adaptive and self-feedback system for discovering abnormity of fictitious assets and implementation method
CN105678546A (en) * 2016-01-04 2016-06-15 布比(北京)网络技术有限公司 Digital asset processing method based on distributed shared general ledger

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117477A (en) * 2015-09-09 2015-12-02 中国人民解放军国防科学技术大学 Self-adaptive and self-feedback system for discovering abnormity of fictitious assets and implementation method
CN105678546A (en) * 2016-01-04 2016-06-15 布比(北京)网络技术有限公司 Digital asset processing method based on distributed shared general ledger

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姚前: "中国法定数字货币原型构想", 《中国金融》 *

Similar Documents

Publication Publication Date Title
KR101637868B1 (en) Financial institution document verification system that is based on the block chain
EP3594884A1 (en) Electronic bill management method, device, and storage medium
US20160342977A1 (en) Device, method and system for virtual asset transactions
US20170091726A1 (en) Low bandwidth crypto currency transaction execution and synchronization method and system
US20180322489A1 (en) System and method for restricted transaction processing
US20190354963A1 (en) Cryptographic transaction processing system and client wallet and methods therefor
CN109716707A (en) Distributed electrical subrecord and transactions history
CN109118214A (en) The method and apparatus for running intelligent contract
CN109478282A (en) Digital asset distribution is carried out by the transaction device
US20190164150A1 (en) Using Blockchain Ledger for Selectively Allocating Transactions to User Accounts
CN107018125A (en) A kind of block catenary system, date storage method and device
AU2017212501A1 (en) Digital asset conversion
WO2003075131A3 (en) System and method for performing secure remote real-time financial transactions
CN104657848A (en) Systems and methods for real-time account access
US20050015336A1 (en) Electronic draft capture
CN106056373A (en) Divisible digital asset transfer method based on blockchains
US11037147B2 (en) Money transfer fraud prevention methods and systems
EP2613287B1 (en) Computer system and method for initiating payments based on cheques
CN112035350B (en) Test method and device for block chain system and computer equipment
CN111198888A (en) Method and system for dynamically generating and monitoring digital currency crown number
KR20190120680A (en) Block Chain Based Cryptocurrency Transaction Method
CN1930592A (en) Emv transactions in mobile terminals
WO2018085011A1 (en) Method and system for net settlement by use of cryptographic promissory notes issued on a blockchain
Lánský Bitcoin system
CN101477661A (en) Digital certificate management method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107