CN108305071A - A kind of method and apparatus of enquiring digital currency managing detailed catalogue - Google Patents
A kind of method and apparatus of enquiring digital currency managing detailed catalogue Download PDFInfo
- Publication number
- CN108305071A CN108305071A CN201711459260.5A CN201711459260A CN108305071A CN 108305071 A CN108305071 A CN 108305071A CN 201711459260 A CN201711459260 A CN 201711459260A CN 108305071 A CN108305071 A CN 108305071A
- Authority
- CN
- China
- Prior art keywords
- digital cash
- inquiry
- wallet
- verification
- instruction
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000012795 verification Methods 0.000 claims abstract description 111
- 230000008520 organization Effects 0.000 claims description 34
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 claims description 7
- 238000013475 authorization Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 6
- 239000013589 supplement Substances 0.000 claims description 6
- 230000001502 supplementing effect Effects 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 2
- 235000013399 edible fruits Nutrition 0.000 claims 2
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 62
- 238000010586 diagram Methods 0.000 description 11
- 230000006854 communication Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Health & Medical Sciences (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- General Business, Economics & Management (AREA)
- Bioethics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of method and apparatus of enquiring digital currency managing detailed catalogue, are related to field of computer technology.One specific implementation mode of this method includes:Generation includes the inquiry request of inquiry instruction;The inquiry request is sent to security module;It is signed to the inquiry request using wallet private key by security module;The inquiry request after signature is received, after effective using the signing messages of inquiry request described in wallet public key verifications, digital cash detail list is shown according to the inquiry instruction.The embodiment can ensure safety when user's enquiring digital currency managing detailed catalogue.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of methods and dress of enquiring digital currency managing detailed catalogue
It sets.
Background technology
It is existing using bit coin as the ideal money of representative, realization principle is based on digitized system of account, is related to
The query function of such ideal money all relies on the completion of account system, and user terminal is only to provide the entrance of account access.
Signified digital cash in technical solution of the present invention, then be in the form of encrypting currency word string existing for really count
According to, it can be understood as digitized currency or coin, the information such as word string of digital cash deposit in local digital cash wallet
In.How to ensure safety of the user using digital cash wallet inquiry numeric currency managing detailed catalogue when, is that the present invention wishes to solve
The problem of.
Invention content
In view of this, the embodiment of the present invention provides a kind of method and apparatus of enquiring digital currency managing detailed catalogue, Neng Goubao
Demonstrate,prove safety when user's enquiring digital currency managing detailed catalogue.
To achieve the above object, it is detailed to provide a kind of enquiring digital currency for one side according to the ... of the embodiment of the present invention
The method of information, including:
Generation includes the inquiry request of inquiry instruction;
The inquiry request is sent to security module;The inquiry request is carried out using wallet private key by security module
Signature;
The inquiry request after signature is received, after effective using the signing messages of inquiry request described in wallet public key verifications,
Digital cash detail list is shown according to the inquiry instruction.
Optionally, the step of showing digital cash detail list according to the inquiry instruction before, further include:
The digital cash locally stored is inquired according to the inquiry instruction, and digital cash detail row are generated according to query result
Table.
Optionally, the inquiry request further includes wallet mark and wallet certificate;Include the inquiry of inquiry instruction in generation
Before the step of request, further include:
Show inquiry instruction list;
Inquiry instruction is determined according to the user's choice;
Obtain the wallet mark to match with the inquiry instruction and wallet certificate.
Optionally, after the step of showing digital cash detail list, further include:
The state of digital cash in the digital cash detail list is verified;Wherein, the state of digital cash
Including its true and false, whether effectively, the amount of money, owner's public key, issuer's title, at least one of term of validity.
Optionally, the step of state of the digital cash in the digital cash detail list being verified, including:
Digital cash to be verified is determined according to the user's choice;
Generate the checking request for the digital cash word string for including the digital cash to be verified;
The checking request is sent to security module, the checking request is carried out using wallet private key by security module
Signature;
The checking request after signature is received, after effective using the signing messages of checking request described in wallet public key verifications,
Checking request after signature is sent to digital cash certifying organization;
Receive and show the verification result that the digital cash certifying organization returns.
Optionally, the checking request further includes verification instruction, includes the number of the digital cash to be verified in generation
Before the step of checking request of currency word string, further include:
Verification instruction is generated according to the digital cash word string of digital cash to be verified;The verification instruction is for supplementing number
The information of currency word string, realize in the format conversion for meeting query specification or supplement owner's authorization query information at least one
Kind;Verification instruction includes checking request option, the checking request option for specify the true and false, whether the effective, amount of money, institute
At least one of the person's of having public key, issuer's title, term of validity are as verification content.
Digital cash certifying organization signs to verification result using mechanism private key;It receives and shows the digital cash
The step of verification result that certifying organization returns, including:
Receive the verification result that the digital cash certifying organization returns;
Verification result is sent to security module;By security module using authority public key to the A.L.S. of the verification result
Breath is verified;
If signing messages is effective, the verification result is shown.
To achieve the above object, it is bright to provide a kind of enquiring digital currency for other side according to the ... of the embodiment of the present invention
The device of thin information, including:
Inquiry request generation module, for generate include inquiry instruction inquiry request;
Inquiry request signature blocks, for the inquiry request to be sent to security module;Wallet is used by security module
Private key signs to the inquiry request;
Detailed list display module is inquired for receiving the inquiry request after signing using described in wallet public key verifications
After the signing messages of request is effective, digital cash detail list is shown according to the inquiry instruction.
Optionally, the detailed list display module is additionally operable to:
The digital cash locally stored is inquired according to the inquiry instruction, and digital cash detail row are generated according to query result
Table.
Optionally, the inquiry request further includes wallet mark and wallet certificate;Described device further includes:
Inquiry instruction selecting module, for showing inquiry instruction list;Inquiry instruction is determined according to the user's choice;And
Obtain the wallet mark to match with the inquiry instruction and wallet certificate.
Optionally, described device further includes:
State verification module is verified for the state to the digital cash in the digital cash detail list;Its
In, the state of digital cash include its true and false, whether effectively, the amount of money, owner's public key, issuer's title, in term of validity
At least one.
Optionally, the state verification module is additionally operable to:Digital cash to be verified is determined according to the user's choice;Generate packet
Include the checking request of the digital cash word string of the digital cash to be verified;The checking request is sent to security module, by
Security module signs to the checking request using wallet private key;The checking request after signature is received, public using wallet
Key verify the checking request signing messages it is effective after, the checking request after signature is sent to digital cash certifying organization;
And receive and show the verification result that the digital cash certifying organization returns.
Optionally, the state verification module is additionally operable to:Checking request after signature is sent to function execution module;Work(
Whether energy execution module is effective using the signing messages in checking request described in wallet public key verifications;If it is determined that the signing messages
Effectively, then the checking request after signature is sent to digital cash certifying organization by function execution module.
Optionally, the checking request further includes verification instruction, and the state verification module is additionally operable to:
Verification instruction is generated according to the digital cash word string of digital cash to be verified;The verification instruction is for supplementing number
The information of currency word string, realize in the format conversion for meeting query specification or supplement owner's authorization query information at least one
Kind;Verification instruction includes checking request option, the checking request option for specify the true and false, whether the effective, amount of money, institute
At least one of the person's of having public key, issuer's title, term of validity are as verification content.
Optionally, digital cash certifying organization signs to verification result using mechanism private key;The state verification mould
Block is additionally operable to:
Receive the verification result that the digital cash certifying organization returns;
Verification result is sent to security module, by security module using authority public key to the A.L.S. of the verification result
Breath is verified;
If signing messages is effective, the verification result is shown.
To achieve the above object, it is bright to provide a kind of enquiring digital currency for another aspect according to the ... of the embodiment of the present invention
The electronic equipment of thin information, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processing
Device is at least realized:
Generation includes the inquiry request of inquiry instruction;
The inquiry request is sent to security module;The inquiry request is carried out using wallet private key by security module
Signature;
The inquiry request after signature is received, after effective using the signing messages of inquiry request described in wallet public key verifications,
Digital cash detail list is shown according to the inquiry instruction.
To achieve the above object, another aspect according to the ... of the embodiment of the present invention provides a kind of computer-readable medium,
On be stored with computer program, at least realized when described program is executed by processor:
Generation includes the inquiry request of inquiry instruction;
The inquiry request is sent to security module;The inquiry request is carried out using wallet private key by security module
Signature;
The inquiry request after signature is received, after effective using the signing messages of inquiry request described in wallet public key verifications,
Digital cash detail list is shown according to the inquiry instruction.
One embodiment in foregoing invention has the following advantages that or advantageous effect:Because using security module to inquiry
Request is signed, by the technological means for showing digital cash detail list after function execution module verification signature again, it is ensured that look into
It is from the horse's mouth to ask request, to avoid the digital cash information of user from leaking, has reached the technology for improving query safe
Effect.
Further effect possessed by above-mentioned non-usual optional mode adds hereinafter in conjunction with specific implementation mode
With explanation.
Description of the drawings
Attached drawing does not constitute inappropriate limitation of the present invention for more fully understanding the present invention.Wherein:
Fig. 1 is the schematic diagram of the key step of the method for enquiring digital currency managing detailed catalogue according to the ... of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the main modular of the device of enquiring digital currency managing detailed catalogue according to the ... of the embodiment of the present invention;
Fig. 3 is logical based on the inquiry system constructed by the method for enquiring digital currency managing detailed catalogue in the embodiment of the present invention
Believe process schematic;
Fig. 4 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 5 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention
Figure.
Specific implementation mode
It explains to the exemplary embodiment of the present invention below in conjunction with attached 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
It arrives, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
The description to known function and structure is omitted for clarity and conciseness in sample in following description.
Fig. 1 is the schematic diagram of the key step of the method for enquiring digital currency managing detailed catalogue according to the ... of the embodiment of the present invention.
As shown in Figure 1, a kind of method of the enquiring digital currency managing detailed catalogue provided according to embodiments of the present invention, including:
S10, the generation of function execution module include the inquiry request of inquiry instruction.Inquiry instruction in this step refers to being used for
The instruction of enquiring digital currency managing detailed catalogue, the instruction are selected or are inputted by user.
The inquiry request is sent to security module by S11, function module;By security module using wallet private key to described
Inquiry request is signed.The wallet public key occurred in the wallet private key and subsequent step that occur in this step is mutually matched, money
Packet private key and wallet public key generate during user opens digital cash wallet, inside security module, wherein wallet is private
Key inside security module have high confidentiality and safety, wallet public key can be disclosed in network or with signature after
Information is sent to recipient, and recipient can verify signing messages after getting wallet public key.
Inquiry request after signature is sent to function execution module by S12, security module.Function execution module for realizing
The main business function of wallet, the digital cash managing detailed catalogue provided in the present embodiment are a parts for its function.
S13, function execution module receive the inquiry request after signature, are using inquiry request described in wallet public key verifications
After signing messages is effective, digital cash detail list is shown according to the inquiry instruction.Wherein, the list of digital cash detail preserves
It is local in function execution module, it is managed by function execution module;In digital cash detail list, including each digital cash
Digital cash word string, can also include the verification instruction of the digital cash issuer, the amount of money, issuer's title, production
Date etc..
In the scheme of the present embodiment, including three side of terminal system, security module and function execution module;Wherein, terminal system
Unite for provide display interface and receive user instruction, function execution module for realizing digital cash wallet main business
Function, security module provide signature and the work(of signature verification for the communication process of function execution module and terminal system or outside
Can, safety guarantee is provided.
From the above it can be seen that the method for enquiring digital currency managing detailed catalogue provided in this embodiment, because using
Security module signs to inquiry request, by showing digital cash detail list again after function execution module verification signature
Technological means, it is ensured that inquiry request is from the horse's mouth, to avoid the digital cash information of user from leaking, has reached raising and has looked into
Ask the technique effect of safety.
In step S13, the step of showing digital cash detail list according to the inquiry instruction before, further include:
Function execution module inquires the digital cash locally stored according to the inquiry instruction, and number is generated according to query result
Word currency detail list.
Signified digital cash is different from existing ideal money in the application.Existing ideal money does not have the number of entity
According to, but the held amount of currency of user is recorded by safeguarding account book, user does not actually hold any fund or assets;And this Shen
Please in digital cash be then existing word string in an encrypted form, deposit in digital cash wallet (i.e. this implementation of user terminal
Function execution module in example) in.Due to having above-mentioned difference, in enquiring digital currency managing detailed catalogue, need not join
Net inquiry account book, and need to only inquire and count the digital cash locally stored.
In some optional embodiments, the inquiry request further includes wallet mark and wallet certificate;In step S10,
Before generation includes the steps that the inquiry request of inquiry instruction, further include:
Function execution module shows inquiry instruction list;Inquiry instruction is determined according to the user's choice;Acquisition is looked into described
Ask the wallet mark and wallet certificate that instruction matches.
In the present embodiment, inquiry instruction list can also include for example in addition to including digital cash detail inquiry instruction
Transaction detail query instruction, the inquiry instruction that links a bank account etc..In order to provide more comprehensive information, in display inquiry instruction
While list, wallet summary info, including such as wallet owner title, wallet service organization title, money can also be shown
Packet type currently stores effective coin remaining sum or coin sum etc..Wallet is identified for uniquely determining a digital cash wallet, money
Packet certificate includes previously mentioned wallet public key;Include inquiry instruction, wallet mark in inquiry request i.e. in the present embodiment
Know and wallet certificate three parts information, wallet mark are convenient for being accurately located specific wallet, wallet certificate convenient for getting money
Bao Zheng's key improves the reliability of query process.
In some optional embodiments, in step s 13, show digital cash detail list the step of after, further include:
The state of digital cash in the digital cash detail list is verified.Wherein, the state of digital cash
Including but not limited to the true and false of digital cash, whether effectively, the amount of money, owner's public key, issuer's title, in term of validity
It is at least one.
The step of validity of digital cash in the digital cash detail list is verified, including:
Digital cash to be verified is determined according to the user's choice;Generation includes the digital cash of the digital cash to be verified
The checking request of word string;The checking request is sent to security module, by security module using wallet private key to the verification
Request is signed;The checking request after signature is received, is had in the signing messages using checking request described in wallet public key verifications
After effect, the checking request after signature is sent to digital cash certifying organization;It receives and shows the digital cash certifying organization
The verification result of return.
Digital cash certifying organization is responsible for the mechanism being managed to the state of digital cash, is receiving checking request
Afterwards, digital cash certifying organization uses the wallet public key of sender to carry out signature verification to the checking request first, if verification is logical
Cross, then verification verification further carried out to the state of digital cash word string included in checking request, and by verification result with
It is sent to the user terminal after digital cash certifying organization private key signature;Except verification digital cash the true and false or whether effectively in addition to,
When verifying other states of digital cash, it is also necessary to verify whether to have been achieved with owner's mandate.
Since user is the checking request assigned by terminal system, it is therefore desirable to ensure the safety of the request.Safety
Module first signs to the request, after being signed effectively by the function execution module verification of wallet, then sends it to correlation
Digital cash certifying organization.
The checking request further includes verification instruction, includes the digital cash word string of the digital cash to be verified in generation
Checking request the step of before, further include:
Verification instruction is generated according to the digital cash word string of digital cash to be verified;The verification instruction is for supplementing number
The information of currency word string, realize in the format conversion for meeting query specification or supplement owner's authorization query information at least one
Kind.
Fig. 2 is the schematic diagram of the main modular of the device of enquiring digital currency managing detailed catalogue according to the ... of the embodiment of the present invention.
As shown in Fig. 2, according to another embodiment of the present invention, providing a kind of device of enquiring digital currency managing detailed catalogue
200, including:
Inquiry request generation module 201, for generate include inquiry instruction inquiry request;
Inquiry request signature blocks 202, for the inquiry request to be sent to security module 203;By security module 203
It is signed to the inquiry request using wallet private key;
Detailed list display module 204 is looked into for receiving the inquiry request after signing using described in wallet public key verifications
Ask request signing messages it is effective after, according to the inquiry instruction show digital cash detail list.
In some optional embodiments, the detail list display module 204 is additionally operable to:
The digital cash locally stored is inquired according to the inquiry instruction, and digital cash detail row are generated according to query result
Table.
In some optional embodiments, the inquiry request further includes wallet mark and wallet certificate;Described device 200
Further include:
Inquiry instruction selecting module 205, for showing inquiry instruction list;Inquiry instruction is determined according to the user's choice;
And obtain the wallet mark to match with the inquiry instruction and wallet certificate.
In some optional embodiments, described device 200 further includes:
State verification module 206 is tested for the validity to the digital cash in the digital cash detail list
Card.Wherein, the state of digital cash include its true and false, whether effectively, the amount of money, owner's public key, issuer's title, the term of validity
At least one of limit.
In some optional embodiments, the state verification module 206 is additionally operable to:It determines according to the user's choice to be tested
Demonstrate,prove digital cash;Generate the checking request for the digital cash word string for including the digital cash to be verified;Use wallet private key pair
The checking request is signed;Checking request after signature is sent to digital cash certifying organization;And it receives and shows
The verification result that the digital cash certifying organization returns.
In some optional embodiments, the state verification module 206 is additionally operable to:Checking request after signature is sent
To function execution module 203;Whether function execution module 203 uses the signing messages in checking request described in wallet public key verifications
Effectively;If it is determined that the signing messages is effective, then the checking request after signature is sent to digital goods by function execution module 203
Coin certifying organization.
In some optional embodiments, the checking request further includes verification instruction, and the state verification module 206 is also
For:
Verification instruction is generated according to the digital cash word string of digital cash to be verified;The verification instruction is for supplementing number
The information of currency word string, realize in the format conversion for meeting query specification or supplement owner's authorization query information at least one
Kind.
Fig. 3 is logical based on the inquiry system constructed by the method for enquiring digital currency managing detailed catalogue in the embodiment of the present invention
Believe process schematic.
As shown in figure 3, inquiry system 300 provided in this embodiment includes terminal wallet contract function execution module 32, end
Hold security module 33 and digital currency validator structure 34;User 31 is user.Wherein, terminal wallet contract function execution module
32 correspond to the function execution module in preceding embodiment of the method, and terminal security module 33 corresponds in preceding embodiment of the method
Security module;Terminal wallet contract function execution module 32 and terminal security module 33 can be software module, also can be used as conjunction
One hardware or separate hardware, can also be the component being made of software and hardware combining.Terminal wallet contract function executes
Module 32 is mainly used for realizing that digital cash wallet business function, terminal security module 33 are then used to maintain digital cash wallet
Safety, such as the information for sending or receiving to terminal wallet contract function execution module 32 carry out signature and signature verification.
Based on inquiry system 300, the query process that user 31 realizes includes:
301. users 31 log in local digital currency wallet.
302. after user 31 logs in wallet, selects and enters query interface, by terminal wallet contract function execution module
32 controls show wallet summary info and inquiry instruction list.Wallet summary info includes mainly wallet owner title, wallet
Service organization's title, wallet type currently store effective coin remaining sum or coin sum.Inquiry instruction list includes mainly that transaction is bright
Thin inquiry instruction, the inquiry instruction that links a bank account, digital cash detail inquiry instruction etc..
303. users 31 select digital cash detail inquiry instruction, selection result to be sent to terminal by modes such as clicks
Wallet contract function execution module 32.
The digital cash detail inquiry instruction that 304. terminal wallet contract function execution modules 32 are selected according to user generates
Digital cash detail inquiry request including wallet mark, certificate, digital cash detail inquiry instruction.
Digital cash detail inquiry instruction is sent to terminal security mould by 305. terminal wallet contract function execution modules 32
Block 33.
306. terminal security modules 33 use wallet private key signature digital cash detail inquiry request, and by the number after signature
Word currency detail inquiry request is sent to terminal wallet contract function execution module 32.
307. terminal wallet contract function execution modules 32 use wallet public key verifications digital cash detail inquiry request
Signing messages
For 308. terminal wallet contract function execution modules 32 after being verified, control shows digital cash detail list,
It includes digital cash word string and issuer's verification instruction, the amount of money, issuer's title, life that digital cash detail, which inquires list,
Produce the date.Wherein, before showing digital cash detail list, terminal wallet contract function execution module 32 inquires local storage
Whole digital cash, and the detail list is generated according to query result.
309. users 31 select the optional network specific digit currency in digital cash detail list, selection result by modes such as clicks
It is sent to terminal security module 33.
310. terminal wallet contract function execution modules 32 generate digital cash checking request according to the optional network specific digit currency.
Digital cash checking request includes that the word string of the optional network specific digit currency and verification instruct;Wherein, verification instruction is by terminal security
What module 33 and terminal wallet contract function execution module 32 generated, the benefit mainly to the information of digital cash substring to be verified
Fill or meet the format conversion of query specification.
Digital cash checking request is sent to terminal security module 33 by 311. terminal wallet contract function execution modules 32.
312. terminal security modules 33 wallet private key signature digital cash checking request, and by the digital cash after signature
Checking request is sent to terminal wallet contract function execution module 32.
313. terminal wallet contract function execution modules 32 use the label in wallet public key verifications digital cash checking request
Name information.
After 314. are verified, digital cash checking request is sent to number by terminal wallet contract function execution module 32
Currency validation mechanism 34.
315. digital cash certifying organization 34 verify the effective of the optional network specific digit currency according to digital cash checking request
Property, predominantly the true and false of the digital cash, whether effectively, the amount of money, owner's public key, issuer's title, term of validity etc.;With
And after the completion of verification, signed to verification result using the mechanism private key of digital cash certifying organization.
Verification result is sent to terminal wallet contract function execution module 32 by 316. digital cash certifying organization 34.
Verification result is sent to terminal security module 33 by 317. terminal wallet contract function execution modules 32.
318. terminal security modules 33 verify the signing messages of verification result with authority public key.It verifies private key and tests
Card public key is a pair of of secret key that digital cash certifying organization 34 holds, is mutually matched, and details are not described herein.
319. after being verified, and terminal wallet contract function execution module 32 shows verification result to user 31.
Fig. 4 shows the method or enquiring digital goods for the enquiring digital currency managing detailed catalogue that can apply the embodiment of the present invention
The exemplary system architecture 400 of the device of coin managing detailed catalogue.
As shown in figure 4, system architecture 400 may include terminal device 401,402,403, network 404 and server 405.
Network 404 between terminal device 401,402,403 and server 405 provide communication link medium.Network 404 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 404 with server 405 with using terminal equipment 401,402,403, to receive or send out
Send message etc..Various digital cash wallet applications can be installed on terminal device 401,402,403.
Terminal device 401,402,403 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart mobile phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 405 can be to provide the server of various services, such as utilize terminal device 401,402,403 to user
The digital cash wallet run provides the back-stage management server of authentication function.
It should be noted that the method for the enquiring digital currency managing detailed catalogue that the embodiment of the present invention is provided is generally by terminal
Equipment 401,402,403, correspondingly, in the general terminal device of the device of enquiring digital currency managing detailed catalogue 401,402,403.
It should be understood that the number of the terminal device, network and server in Fig. 4 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
According to an embodiment of the invention, the present invention also provides a kind of electronic equipment and a kind of readable storage medium storing program for executing.
Fig. 5 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention
Figure.
Below with reference to Fig. 5, it illustrates the computer systems 500 suitable for the terminal device for realizing the embodiment of the present invention
Structural schematic diagram.Terminal device shown in Fig. 5 is only an example, to the function of the embodiment of the present invention and should not use model
Shroud carrys out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in
Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and
Execute various actions appropriate and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data.
CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always
Line 504.
It is connected to I/O interfaces 505 with lower component:Importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 508 including hard disk etc.;
And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because
The network of spy's net executes communication process.Driver 510 is also according to needing to be connected to I/O interfaces 505.Detachable media 511, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 510, as needed in order to be read from thereon
Computer program be mounted into storage section 508 as needed.
Particularly, according to an embodiment of the invention, the process of the schematic diagram description of key step above may be implemented as
Computer software programs.For example, the embodiment of the present invention includes a kind of computer program product comprising being carried on computer can
The computer program on medium is read, which includes the program for executing method shown in the schematic diagram of key step
Code.In such embodiments, which can be downloaded and installed by communications portion 509 from network, and/
Or it is mounted from detachable media 511.When the computer program is executed by central processing unit (CPU) 501, the present invention is executed
System in the above-mentioned function that limits.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two arbitrarily combines.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more conducting wires, just
It takes formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, can be any include computer readable storage medium or storage journey
The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this
In invention, computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated,
Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By instruction execution system, device either device use or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned
Any appropriate combination.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part for a part for one module, program segment, or code of table, above-mentioned module, program segment, or code includes one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part is realized.Described module can also be arranged in the processor, for example, can be described as:A kind of processor packet
Include inquiry request generation module 201, inquiry request signature blocks 202, function execution module 203, inquiry instruction selecting module 204
With state verification module 205.Wherein, the title of these modules does not constitute the restriction to the module itself under certain conditions,
For example, function execution module is also described as " in the signing messages using inquiry request described in wallet public key verifications
After effectively, the module of digital cash detail list is shown according to the inquiry instruction ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which can be
Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes
Obtaining the equipment includes:
Generation includes the inquiry request of inquiry instruction;
It is signed to the inquiry request using wallet private key;
Inquiry request after signature is sent to function execution module;
Function execution module is looked into after effective using the signing messages of inquiry request described in wallet public key verifications according to described
It askes instruction and shows digital cash detail list.
Technical solution according to the ... of the embodiment of the present invention signs to inquiry request because using security module, by work(
The technological means of digital cash detail list is shown after energy execution module verification signature again, it is ensured that inquiry request is from the horse's mouth, from
And the digital cash information of user is avoided to leak, reach the technique effect for improving query safe.
Above-mentioned specific implementation mode, does not constitute limiting the scope of the invention.Those skilled in the art should be bright
It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and replacement can occur.It is any
Modifications, equivalent substitutions and improvements made by within the spirit and principles in the present invention etc., should be included in the scope of the present invention
Within.
Claims (16)
1. a kind of method of enquiring digital currency managing detailed catalogue, which is characterized in that including:
Generation includes the inquiry request of inquiry instruction;
The inquiry request is sent to security module;The inquiry request is signed using wallet private key by security module
Name;
The inquiry request after signature is received, after effective using the signing messages of inquiry request described in wallet public key verifications, according to
The inquiry instruction shows digital cash detail list.
2. according to the method described in claim 1, it is characterized in that, showing digital cash detail row according to the inquiry instruction
Before the step of table, further include:
The digital cash locally stored is inquired according to the inquiry instruction, and digital cash detail list is generated according to query result.
3. according to the method described in claim 1, it is characterized in that, the inquiry request further includes wallet mark and wallet card
Book;Before generation includes the steps that the inquiry request of inquiry instruction, further include:
Show inquiry instruction list;
Inquiry instruction is determined according to the user's choice;
Obtain the wallet mark to match with the inquiry instruction and wallet certificate.
4. according to the method described in claim 1, it is characterized in that, after the step of showing digital cash detail list, also wrap
It includes:
The state of digital cash in the digital cash detail list is verified;Wherein, the state of digital cash includes
Its true and false, whether effectively, the amount of money, owner's public key, issuer's title, at least one of term of validity.
5. according to the method described in claim 4, it is characterized in that, to the digital cash in the digital cash detail list
The step of state is verified, including:
Digital cash to be verified is determined according to the user's choice;
Generate the checking request for the digital cash word string for including the digital cash to be verified;
The checking request is sent to security module, the checking request is signed using wallet private key by security module
Name;
The checking request after signature is received, after effective using the signing messages of checking request described in wallet public key verifications, will be signed
Checking request after name is sent to digital cash certifying organization;
Receive and show the verification result that the digital cash certifying organization returns.
6. according to the method described in claim 5, it is characterized in that, the checking request further includes verification instruction, in generation packet
Before the step of including the checking request of the digital cash word string of the digital cash to be verified, further include:
Verification instruction is generated according to the digital cash word string of digital cash to be verified;The verification instruction is for supplementing digital cash
The information of word string realizes at least one of the format conversion for meeting query specification or supplement owner's authorization query information;Institute
It includes checking request option to state verification instruction, and the checking request option is for specifying the true and false, the whether effective, amount of money, the owner
At least one of public key, issuer's title, term of validity are as verification content.
7. according to the method described in claim 5, it is characterized in that, verification is tied using mechanism private key by digital cash certifying organization
Fruit is signed;The step of receiving and show the verification result that the digital cash certifying organization returns, including:
Receive the verification result that the digital cash certifying organization returns;
Verification result is sent to security module;By security module using authority public key to the signing messages of the verification result into
Row verification;
If signing messages is effective, the verification result is shown.
8. a kind of device of enquiring digital currency managing detailed catalogue, which is characterized in that including:
Inquiry request generation module, for generate include inquiry instruction inquiry request;
Inquiry request signature blocks, for the inquiry request to be sent to security module;Wallet private key is used by security module
It signs to the inquiry request;
Detailed list display module is using inquiry request described in wallet public key verifications for receiving the inquiry request after signing
Signing messages it is effective after, according to the inquiry instruction show digital cash detail list.
9. device according to claim 8, which is characterized in that the detail list display module is additionally operable to:
The digital cash locally stored is inquired according to the inquiry instruction, and digital cash detail list is generated according to query result.
10. device according to claim 8, which is characterized in that the inquiry request further includes wallet mark and wallet card
Book;Described device further includes:
Inquiry instruction selecting module, for showing inquiry instruction list;Inquiry instruction is determined according to the user's choice;And it obtains
The wallet mark and wallet certificate to match with the inquiry instruction.
11. device according to claim 8, which is characterized in that described device further includes:
State verification module is verified for the state to the digital cash in the digital cash detail list;Wherein, number
The state of word currency include its true and false, whether effectively, the amount of money, owner's public key, issuer's title, in term of validity at least
It is a kind of.
12. according to the devices described in claim 11, which is characterized in that the state verification module is additionally operable to:According to user's
Selection determines digital cash to be verified;Generate the checking request for the digital cash word string for including the digital cash to be verified;It will
The checking request is sent to security module, is signed to the checking request using wallet private key by security module;It receives
Checking request after signature, after effective using the signing messages of checking request described in wallet public key verifications, by testing after signature
Card request is sent to digital cash certifying organization;And receive and show the verification knot that the digital cash certifying organization returns
Fruit.
13. device according to claim 12, which is characterized in that the checking request further includes verification instruction, the shape
State authentication module is additionally operable to:
Verification instruction is generated according to the digital cash word string of digital cash to be verified;The verification instruction is for supplementing digital cash
The information of word string realizes at least one of the format conversion for meeting query specification or supplement owner's authorization query information;Institute
It includes checking request option to state verification instruction, and the checking request option is for specifying the true and false, the whether effective, amount of money, the owner
At least one of public key, issuer's title, term of validity are as verification content.
14. device according to claim 12, which is characterized in that digital cash certifying organization is using mechanism private key to verification
As a result it signs;The state verification module is additionally operable to:
Receive the verification result that the digital cash certifying organization returns;
Verification result is sent to security module, by security module using authority public key to the signing messages of the verification result into
Row verification;
If signing messages is effective, the verification result is shown.
15. a kind of electronic equipment of enquiring digital currency managing detailed catalogue, which is characterized in that including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real
The now method as described in any in claim 1-7.
16. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor
The method as described in any in claim 1-7 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711459260.5A CN108305071B (en) | 2017-12-28 | 2017-12-28 | Method and device for inquiring digital currency detail information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711459260.5A CN108305071B (en) | 2017-12-28 | 2017-12-28 | Method and device for inquiring digital currency detail information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108305071A true CN108305071A (en) | 2018-07-20 |
CN108305071B CN108305071B (en) | 2020-11-24 |
Family
ID=62868079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711459260.5A Active CN108305071B (en) | 2017-12-28 | 2017-12-28 | Method and device for inquiring digital currency detail information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108305071B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109191122A (en) * | 2018-08-10 | 2019-01-11 | 中国银行股份有限公司 | A kind of method and device obtaining Transaction Information voucher |
CN111966277A (en) * | 2020-08-17 | 2020-11-20 | 陶丽萍 | Digital currency display method, device and equipment |
CN112712361A (en) * | 2019-11-25 | 2021-04-27 | 深圳市文鼎创数据科技有限公司 | Transaction method and device based on digital currency and terminal equipment |
CN113837762A (en) * | 2020-06-24 | 2021-12-24 | 中国工商银行股份有限公司 | Digital currency payment method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030100372A1 (en) * | 2001-11-23 | 2003-05-29 | Cyberscan Technology, Inc. | Modular entertainment and gaming systems |
US20070219928A1 (en) * | 2006-03-16 | 2007-09-20 | Sushil Madhogarhia | Strategy-driven methodology for reducing identity theft |
CN101159054A (en) * | 2007-11-14 | 2008-04-09 | 范传东 | Method for realizing currency money payment through mobile communication appliance channel |
CN106910072A (en) * | 2017-02-15 | 2017-06-30 | 捷德(中国)信息科技有限公司 | Digital cash management method and system |
CN107330690A (en) * | 2017-06-26 | 2017-11-07 | 中国人民银行数字货币研究所 | The method and system that the application wallet of digital cash is bound with bank's wallet |
CN107392752A (en) * | 2017-06-26 | 2017-11-24 | 中国人民银行数字货币研究所 | The querying method and inquiry system of digital cash wallet |
CN107480986A (en) * | 2017-08-14 | 2017-12-15 | 飞天诚信科技股份有限公司 | A kind of method and hardware wallet that digital cash wallet is realized using hardware |
-
2017
- 2017-12-28 CN CN201711459260.5A patent/CN108305071B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030100372A1 (en) * | 2001-11-23 | 2003-05-29 | Cyberscan Technology, Inc. | Modular entertainment and gaming systems |
US20070219928A1 (en) * | 2006-03-16 | 2007-09-20 | Sushil Madhogarhia | Strategy-driven methodology for reducing identity theft |
CN101159054A (en) * | 2007-11-14 | 2008-04-09 | 范传东 | Method for realizing currency money payment through mobile communication appliance channel |
CN106910072A (en) * | 2017-02-15 | 2017-06-30 | 捷德(中国)信息科技有限公司 | Digital cash management method and system |
CN107330690A (en) * | 2017-06-26 | 2017-11-07 | 中国人民银行数字货币研究所 | The method and system that the application wallet of digital cash is bound with bank's wallet |
CN107392752A (en) * | 2017-06-26 | 2017-11-24 | 中国人民银行数字货币研究所 | The querying method and inquiry system of digital cash wallet |
CN107480986A (en) * | 2017-08-14 | 2017-12-15 | 飞天诚信科技股份有限公司 | A kind of method and hardware wallet that digital cash wallet is realized using hardware |
Non-Patent Citations (1)
Title |
---|
周永林: "央行数字货币实现模式", 《中国金融》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109191122A (en) * | 2018-08-10 | 2019-01-11 | 中国银行股份有限公司 | A kind of method and device obtaining Transaction Information voucher |
CN112712361A (en) * | 2019-11-25 | 2021-04-27 | 深圳市文鼎创数据科技有限公司 | Transaction method and device based on digital currency and terminal equipment |
CN113837762A (en) * | 2020-06-24 | 2021-12-24 | 中国工商银行股份有限公司 | Digital currency payment method and device |
CN113837762B (en) * | 2020-06-24 | 2024-01-05 | 中国人民银行数字货币研究所 | Digital currency payment method and device |
CN111966277A (en) * | 2020-08-17 | 2020-11-20 | 陶丽萍 | Digital currency display method, device and equipment |
CN111966277B (en) * | 2020-08-17 | 2022-03-01 | 陶丽萍 | Digital currency display method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108305071B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108604338A (en) | Verifying online access to security device functionality | |
CN105612543A (en) | Methods and systems for provisioning mobile devices with payment credentials | |
CN110535648A (en) | Electronic certificate is generated and verified and key controlling method, device, system and medium | |
CN108305071A (en) | A kind of method and apparatus of enquiring digital currency managing detailed catalogue | |
CN109472525A (en) | Method, apparatus, electronic equipment and the terminal device signed for for order | |
WO2021082466A1 (en) | Offline payment | |
CN102238193A (en) | Data authentication method and system using same | |
CN113052599B (en) | Method, device, equipment and system for generating, verifying and storing transaction certificates | |
CN110149354A (en) | A kind of encryption and authentication method and device based on https agreement | |
CN110535807A (en) | A kind of service authentication method, device and medium | |
WO2010109271A1 (en) | Systems, methods, apparatuses, and computer program products for generation and exchange of digital currency | |
CN109767200A (en) | A kind of electric paying method, device, system and storage medium | |
CN109767208A (en) | A kind of method of payment and payment mechanism | |
CN110599140A (en) | Digital currency verification method and system | |
TW201317911A (en) | Cloud credit card transaction system and transaction method thereof | |
CN106251145A (en) | Electronic fare payment system, electronic payment devices and electric paying method | |
US20240330922A1 (en) | Payment redemption using non-fungible tokens | |
CN114462989A (en) | Method, device and system for starting digital currency hardware wallet application | |
CN110751467B (en) | Digital currency generation method and system | |
CN108390878A (en) | Method, apparatus for verifying network request safety | |
CN107491955B (en) | Encryption method of mobile terminal, identity authentication and electronic payment system and method | |
CN109978683A (en) | Supply chain management method, system, storage medium and electronic equipment | |
CN110166244A (en) | Contactless auth method, device and system | |
CN114186994A (en) | Method, terminal and system for using digital currency wallet application | |
CN110098921A (en) | Verification code generation method, device, application service end 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |