CN107220824A - A kind of commercial articles vending system and method based on digital cash - Google Patents
A kind of commercial articles vending system and method based on digital cash Download PDFInfo
- Publication number
- CN107220824A CN107220824A CN201710301075.7A CN201710301075A CN107220824A CN 107220824 A CN107220824 A CN 107220824A CN 201710301075 A CN201710301075 A CN 201710301075A CN 107220824 A CN107220824 A CN 107220824A
- Authority
- CN
- China
- Prior art keywords
- digital cash
- seller
- sale
- mobile terminal
- service device
- 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
Links
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/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3276—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
-
- 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
- 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
The invention discloses the commercial articles vending method based on digital cash.This method includes:Mobile terminal obtains seller's digital cash information and sale service device IP address from sale terminal, and seller's digital cash information is compared with legal seller's digital cash information, asked if consistent based on sale service device IP address to the hair purchase of sale service device;Sale service device is based on purchase request and sells interface to mobile terminal transmission;Mobile terminal is based on selling interface acquisition merchandise news and Payment Amount, and fund corresponding with Payment Amount is transferred into seller's wallet address from buyer's wallet address;Sale service device is being detected after seller's wallet address receives fund to sale terminal transmission delivery commodity instruction;Sale terminal performs after delivery commodity instruction is received and delivers commodity operation.This invention simplifies the structure of commercial articles vending machine, commercial articles vending machine manufacturing cost is reduced, the time safeguarded and human cost has been saved.
Description
Technical field
The present invention relates to digital cash technical field, more particularly to a kind of commercial articles vending system and side based on digital cash
Method.
Background technology
Commercial articles vending machine includes tangible commercial articles vending machine and intangible goods vending machine, and tangible goods vending machine is for example:Automatically
Vending machine, is that a kind of can pay the machine of goods automatically according to the coin of input.Intangible goods vending machine is for example:Recharging Machine, be
Can be according to the coin of input to being automatically inserted into the machine that card is supplemented with money.Two kinds of machines are the common equipments of business automation,
Do not limited by time, place, manpower, convenient transaction can be saved.
Current commercial articles vending machine majority is needed using bank note purchase, and provided with change making function inside commercial articles vending machine
Setting up needs the artificial banknote for taking out input and is put into the coin for small change after currency checking module, and certain time, pair and its work(
It can require high, more to resource requirement, circulation efficiency is relatively low, machine cost is high, the human cost of maintenance is high.
The increased popularity of current digital cash, especially Central Bank of China promote the research and distribution of digital RMB, accelerate
Digital cash circulates field.Therefore, how commercial articles vending system is caused to support digital cash, it is to avoid bank note must be set
Eager demand behind the drawbacks of vertical currency checking module is brought, the field that circulated as digital cash.
The content of the invention
The invention aims to solve to support the circulation efficiency that the commercial articles vending machine of bank note is brought in the prior art
The drawbacks of human cost that relatively low, machine cost is high, safeguard is high, promotes the circulation of digital cash to support digital goods there is provided one kind
The commercial articles vending system and method based on digital cash that coin is paid.
According to an aspect of the invention, there is provided a kind of commercial articles vending method based on digital cash, including:It is mobile whole
Hold from sale terminal and obtain seller's digital cash information and the IP address of sale service device;Wherein, seller's digital cash letter
Breath includes:Seller's wallet address, seller's public key and to seller's wallet address, the signature of seller's public key;Mobile terminal will be obtained
The seller's digital cash information taken is compared with legal seller's digital cash information, if the two is consistent, mobile terminal base
Purchase is sent in the IP address of the sale service device to sale service device to ask;Sale service device receive the purchase please
After asking, sent to mobile terminal and sell interface;Mobile terminal, which is received, to be sold after interface, is obtained user and is based on selling interface
The merchandise news and Payment Amount of selection, and the fund corresponding with the Payment Amount is transferred to institute from buyer's wallet address
State in seller's wallet address;Sale service device is being detected after seller's wallet address receives the fund, is sold to described
Terminal, which is sent, delivers commodity instruction;Sale terminal performs after the delivery commodity instruction is received and delivers commodity operation.
Further, described method, wherein, it is described " mobile terminal from sale terminal obtain seller's digital cash information and
The IP address of sale service device ", including:Mobile scanning terminal is shown in the graphic code on the sale terminal;Mobile terminal solution
Analyse the IP address that the graphic code obtains seller's digital cash information and sale service device.
Further, described method, " IP address of the mobile terminal based on the sale service device is to sale service described
Device sends purchase request " when, in addition to:Mobile terminal is packed buyer's wallet address, buyer's public key, and private by buyer
Key is signed to the information after packing, obtains buyer's digital cash information, and by buyer's digital cash information send to
Sale service device;Sale service device is compared buyer's digital cash information of reception with legal buyer's digital cash information
It is right, if the two is consistent, is sent to mobile terminal and sell interface.
Further, described method, described " seller's digital cash information of acquisition is sold number formulary by mobile terminal with legal
Word monetary information is compared " include:Mobile terminal by seller's digital cash information and prestore legal sell number formulary
Word monetary information is compared;Or mobile terminal sends to digital cash server and obtains legal seller's digital cash information
Request, and legal seller's digital cash information of digital cash server loopback is obtained, mobile terminal will be obtained from transaction terminal
Legal seller digital cash information of seller's digital cash information with being obtained from digital cash server is taken to be compared.
Further, described method, the graphic code includes bar code and/or Quick Response Code;The IP of the sale service device
Address is link;The sale terminal includes:Tangible goods sale terminal and intangible goods sale terminal;The digital goods of the seller
Coin information also includes:One or more of transaction sequence number, current time, present level of digital cash.
Present invention also offers a kind of commercial articles vending system based on digital cash, including:Mobile terminal, sale terminal and
Sale service device;The mobile terminal, the IP for obtaining from sale terminal seller's digital cash information and sale service device
Location;Wherein, seller's digital cash information includes:Seller's wallet address, seller's public key and to seller's wallet address, sell
The signature of square public key;Seller's digital cash information of acquisition is compared with legal seller's digital cash information, if the two
Unanimously, then the IP address based on the sale service device sends purchase request to sale service device;The sale service device, is used for
After the purchase request is received, sent to mobile terminal and sell interface;The mobile terminal, is additionally operable to sell receiving
Sell after interface, obtaining user will based on the merchandise news and Payment Amount for selling interface selection, and from buyer's wallet address
The fund corresponding with the Payment Amount is transferred in seller's wallet address;The sale service device is additionally operable to, in detection
Received to seller's wallet address after the fund, sent to the sale terminal and deliver commodity instruction;The sale terminal,
For after the delivery commodity instruction is received, performing and delivering commodity operation.
Further, described system, wherein, the mobile terminal is additionally operable to, and scanning is shown on the sale terminal
Graphic code, and parse the IP address that the graphic code obtains seller's digital cash information and sale service device.
Further, described system, wherein, the mobile terminal is additionally operable to, and buyer's wallet address, buyer's public key are carried out
Packing, and is signed by buyer's private key to the information after packing, obtains buyer's digital cash information, and by buyer's number
Word monetary information is sent to sale service device;The sale service device is additionally operable to, by buyer's digital cash information of reception with closing
Buyer's digital cash information of method is compared, if the two is consistent, is sent to mobile terminal and sells interface.
Further, described system, wherein, the mobile terminal, be additionally operable to by seller's digital cash information with advance
Legal seller's digital cash information of storage is compared;Or be additionally operable to obtain legal sell to the transmission of digital cash server
The request of number formulary word monetary information, and legal seller's digital cash information of digital cash server loopback is obtained, it is mobile whole
Seller's digital cash information and the legal seller's digital cash obtained from digital cash server will be obtained from transaction terminal by holding
Information is compared.
Further, described system, the graphic code includes bar code and/or Quick Response Code;The IP of the sale service device
Address is link;The sale terminal includes:Tangible goods sale terminal and intangible goods sale terminal;The digital goods of the seller
Coin information also includes:One or more of transaction sequence number, current time, present level of digital cash.
The beneficial effect of the embodiment of the present invention is, devise it is a set of can support the commercial articles vending system of digital cash,
Currency examination equipment, small change equipment and storage bank note equipment need not be set up inside commercial articles vending machine, the structure of commercial articles vending machine is simplified,
Reduce commercial articles vending machine manufacturing cost, additionally, it is not necessary to needed after certain time the artificial banknote for taking out input and be put into for
The coin of small change, has saved the time safeguarded and human cost.
Brief description of the drawings
Fig. 1 is the commercial articles vending method flow diagram based on digital cash that first embodiment of the invention is provided;
Fig. 2 is the module relationship signal for the commercial articles vending system based on digital cash that second embodiment of the invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention of greater clarity, with reference to embodiment and join
According to accompanying drawing, the present invention is described in more detail.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this hair
Bright scope.In addition, in the following description, the description to known features and technology is eliminated, to avoid unnecessarily obscuring this
The concept of invention.
Term is explained:Digital cash, referred to as DIGICCY, are that English " Digital Currency " abbreviation is one
Plant the currency based on the formation of block chain, cryptographic technique, calibration technology and internet P-2-P technology.Alleged numeral in the present invention
Currency is that can not be equal to the ideal money of Internet firm's distribution, can not be equal to the RMB of central the People's Bank's distribution
Digital form.The ideal money of Internet firm's distribution is for example, Baidu's coin of baidu company, the Q coin Q points of Tencent, contain
Micro- coin (being used for micro- game, Sina's reading etc.) that the point certificate of major company, Sina release, chivalrous ingot (be used for chivalrous road game),
Line silver (is used for green snow feelings day game).The digital form of RMB is for example, the people of the digital form stored in bank card account
People's coin, Third-party payment platform are (for example:Wechat, Alipay etc.) RMB merchandised in digital form.It is popular in the prior art
Digital cash have:The special coin of bit coin, Lay, bit stock etc..
Referring to Fig. 1, Fig. 1 is the commercial articles vending method flow based on digital cash that first embodiment of the invention is provided
Figure.
As shown in figure 1, a kind of commercial articles vending method based on digital cash, comprises the following steps S1- steps S7:
Step S1, mobile terminal obtains seller's digital cash information and the IP address of sale service device from sale terminal.
Mobile terminal and sale terminal are to be integrated with communication module, message processing module, memory module, display module
Electronic equipment.Specifically, mobile terminal can be smart mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, palm
Computer and mobile internet device MobileInternetDevices, MID), PAD etc..Sale terminal can be tangible goods
Sale terminal (such as self-service food grains vending machine, sell fruit machine, sell fruit juice mixer, sell beverage machine, sell toy machine), or invisible business
Product sale terminal (such as check-in of subway card self-filling, the check-in of telephone expenses self-filling, the check-in of mess card self-filling, library card self-recharging
Machine etc.).
Wherein, seller's digital cash information includes:Seller's wallet address, seller's public key and to seller's wallet address, the seller
The signature of public key.Seller's wallet address is the wallet address that the seller stores in digital cash server, seller's public key root
Calculate and obtain according to vendor private key, vendor private key is that the seller generates according to randomizer.Specifically, sale terminal or selling clothes
Device be engaged in by seller's wallet address, the packing of seller's public key, signature calculation is carried out to the information after packing based on vendor private key, obtained
Seller's digital cash information.Further, in another embodiment of the present invention, seller's digital cash information can also include:
One or more of transaction sequence number, current time, present level of digital cash.
In order that the public is better understood from the present invention, at this for the wallet in digital cash of the invention signified
Relation between location, public key, private key is illustrated.
Private key is generated by randomizer, and private key can be 256bits number, and whoso has private
Key, it is possible to which the digital cash in pair wallet address corresponding with the private key is operated, so private key must be protected safely
Store away.Private key generates public key by rivest, shamir, adelman, and rivest, shamir, adelman is a kind of non-reversible algorithm, it is known that private
Can calculate to obtain public key during key by asymmetric encryption, and during known public key can not backwards calculation go out private key.By byte
Address version number is connected to public key Hash head, then carries out Hash operation twice to it, regard 4 bytes before result as public key
The check value of Hash, is connected to its afterbody.The result of calculation is encoded using predictive encoding method, with just having obtained wallet
Location.
The form that mobile terminal obtains seller's digital cash information from sale terminal is various, be can be, but not limited to following
Two kinds of forms:Form one, sale terminal is by seller's digital cash information and the IP address of sale service device in the way of graphic code
Over the display, mobile scanning terminal graphic code simultaneously parses to obtain seller's digital cash information and sale service device for display
IP address.The IP address of sale service device can be shown in the way of link.Graphic code includes bar code and/or two dimension
Code.Sale terminal updates graphic code at predetermined time intervals.Form two, sale terminal passes through bluetooth or other low coverages with mobile terminal
Set up and connect from communication mode, sale terminal sells number formulary by the close range communication links of foundation by what is stored in its memory module
The IP address of word monetary information and sale service device is sent to mobile terminal, is sold so that mobile terminal is obtained from sale terminal
The IP address of number formulary word monetary information and sale service device.
Step S2, mobile terminal is compared seller's digital cash information of acquisition with legal seller's digital cash information
It is right.
If the two is consistent, judges that sale terminal is legal, continue executing with step S3.If the two is inconsistent, judgement is sold
Terminal is illegal, and flow is sold in end.In another embodiment of the present invention, when mobile terminal judges that sale terminal is illegal
When, mobile terminal can show the prompt message of " address is illegal, shuts the book " on the display screen.
It should be noted that legal seller's digital cash information can be stored in advance in mobile terminal, shifting can also be worked as
When dynamic terminal needs, obtained in real time from digital cash server.
Specifically, mobile terminal can be by seller's digital cash information and the legal seller's digital cash prestored
Information is compared.Now, it is previously stored with legal seller's digital cash information in mobile terminal, mobile terminal is from transaction
Terminal is obtained after seller's digital cash information, by seller's digital cash information and the digital goods of the legal seller prestored
Coin information is compared.
Mobile terminal can also send the request for obtaining legal seller's digital cash information to digital cash server, and
Legal seller's digital cash information of digital cash server loopback is obtained, mobile terminal will obtain from transaction terminal and sell number formulary
Word monetary information is compared with the legal seller's digital cash information obtained from digital cash server.Now, it is mobile whole
There is no to store legal seller's digital cash information in end, mobile terminal from transaction terminal obtain seller's digital cash information it
Afterwards, the request for obtaining legal seller's digital cash information is sent to digital cash server, digital cash server is being received
To after the request, legal seller's digital cash information is sent to mobile terminal, afterwards, mobile terminal will be obtained from transaction terminal
Legal seller digital cash information of seller's digital cash information with being obtained from digital cash server is taken to be compared.
Step S3, IP address of the mobile terminal based on sale service device sends purchase request to sale service device.
When mobile terminal judges that sale terminal is legal, purchase button or its other party are shown on the display screen of mobile terminal
The triggering command of formula.Acquisition for mobile terminal user is inputted or the purchase of selection is asked, and is asked the purchase by communication module
Send to sale service device.Purchase request can not be all different request types according to sale terminal, when sale terminal is
During vending machine, purchase request can be purchase request, and when sale terminal is top-up machines, purchase request can be charging request.
Step S4, sale service device sends to mobile terminal after purchase request is received and sells interface.
Step S5, mobile terminal, which is received, to be sold after interface, obtains user based on the merchandise news for selling interface selection
And Payment Amount, and the fund corresponding with Payment Amount is transferred in seller's wallet address from buyer's wallet address.Buyer
Wallet address is the wallet address that the seller registers in digital cash server.
Step S6, sale service device is being detected after seller's wallet address receives fund, is sent to sale terminal and is delivered business
Product are instructed.
Step S7, sale terminal performs after delivery commodity instruction is received and delivers commodity operation.
For different types of sale terminal, perform delivery commodity operation and also differ.For vending machine, friendship is performed
It is that commodity are sent into withdrawal zone to pay commodity operation, so that user takes out commodity, for top-up machines, performs and delivers commodity behaviour
Work is that the data on the card inserted to user are modified.In yet another embodiment of the present invention, it is foregoing based on
On the basis of the embodiment of the commercial articles vending method of digital cash, wherein, in " IP address of the mobile terminal based on sale service device
Purchase request is sent to sale service device " when, in addition to:
Mobile terminal is packed buyer's wallet address, buyer's public key, and by buyer's private key to the information after packing
Signed, obtain buyer's digital cash information, and buyer's digital cash information is sent to sale service device.Buyer's numeral goods
Coin information also includes:One or more of dealing money and transaction sequence number, current time, the present level of digital cash.
Buyer's digital cash information of reception is compared sale service device with legal buyer's digital cash information, if
The two is consistent, then judges that mobile terminal is legal, and sells interface to mobile terminal transmission.If the two is inconsistent, judgement is sold
Terminal is illegal.
Legal buyer's digital cash information can be stored in advance in sale service device, can also work as sale service device needs
When, obtained in real time from digital cash server.Specifically, sale service device by buyer's digital cash information of reception with it is legal
Buyer's digital cash information be compared including following two modes:
Mode one:Legal buyer's digital cash information is previously stored with sale service device, sale service device is being received
To after buyer's digital cash information, by buyer's digital cash information and the legal buyer's digital cash information prestored
It is compared.
Mode two:Do not have to store legal buyer's digital cash information in sale service device, sale service device is being received
After buyer's digital cash information, the request for obtaining legal buyer's digital cash information, number are sent to digital cash server
Word currency server upon receiving the request, legal buyer's digital cash information is sent to sale service device, afterwards, sold
Server is sold to believe the legal buyer's digital cash for receiving buyer's digital cash information with obtaining from digital cash server
Breath is compared.
Referring to Fig. 2, Fig. 2 is the module for the commercial articles vending system based on digital cash that second embodiment of the invention is provided
Relation is illustrated.As shown in Fig. 2 in the present embodiment, the commercial articles vending system based on digital cash includes:Mobile terminal, sell
Terminal, sale service device and digital currency server.
Mobile terminal is used to obtain seller's digital cash information and the IP address of sale service device from sale terminal.It is mobile whole
End and sale terminal are to be integrated with communication module, message processing module, memory module, the electronic equipment of display module.Specifically
Ground, mobile terminal can be smart mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, palm PC and movement
Internet device MobileInternetDevices, MID), PAD etc..Sale terminal can be tangible goods sale terminal (example
Such as self-service food grains vending machine, fruit machine is sold, fruit juice mixer is sold, sells beverage machine, sells toy machine), or intangible goods sale terminal
(such as the check-in of subway card self-filling, the check-in of telephone expenses self-filling, the check-in of mess card self-filling, library card self-filling check-in).
Wherein, seller's digital cash information includes:Seller's wallet address, seller's public key and to seller's wallet address, the seller
The signature of public key.Seller's wallet address is the wallet address that the seller stores in digital cash server, seller's public key root
Calculate and obtain according to vendor private key, vendor private key is that the seller generates according to randomizer.Specifically, sale terminal or selling clothes
Device be engaged in by seller's wallet address, the packing of seller's public key, signature calculation is carried out to the information after packing based on vendor private key, obtained
Seller's digital cash information.Further, in another embodiment of the present invention, seller's digital cash information can also include:
One or more of transaction sequence number, current time, present level of digital cash.
In order that the public is better understood from the present invention, at this for the wallet in digital cash of the invention signified
Relation between location, public key, private key is illustrated.
Private key is generated by randomizer, and private key can be 256bits number, and whoso has private
Key, it is possible to which the digital cash in pair wallet address corresponding with the private key is operated, so private key must be protected safely
Store away.Private key generates public key by rivest, shamir, adelman, and rivest, shamir, adelman is a kind of non-reversible algorithm, it is known that private
Can calculate to obtain public key during key by asymmetric encryption, and during known public key can not backwards calculation go out private key.By byte
Address version number is connected to public key Hash head, then carries out Hash operation twice to it, regard 4 bytes before result as public key
The check value of Hash, is connected to its afterbody.The result of calculation is encoded using predictive encoding method, with just having obtained wallet
Location.
The form that mobile terminal obtains seller's digital cash information from sale terminal is various, be can be, but not limited to following
Two kinds of forms:Form one, sale terminal is by seller's digital cash information and the IP address of sale service device in the way of graphic code
Over the display, mobile scanning terminal graphic code simultaneously parses to obtain seller's digital cash information and sale service device for display
IP address.The IP address of sale service device can be shown in the way of link.Graphic code includes bar code and/or two dimension
Code.Sale terminal updates graphic code at predetermined time intervals.Form two, sale terminal passes through bluetooth or other low coverages with mobile terminal
Set up and connect from communication mode, sale terminal sells number formulary by the close range communication links of foundation by what is stored in its memory module
The IP address of word monetary information and sale service device is sent to mobile terminal, is sold so that mobile terminal is obtained from sale terminal
The IP address of number formulary word monetary information and sale service device.
Mobile terminal is additionally operable to be compared seller's digital cash information of acquisition with legal seller's digital cash information
It is right, if the two is consistent, judge that sale terminal is legal.If the two is inconsistent, judge that sale terminal is illegal.
Legal seller's digital cash information can be stored in advance in mobile terminal, when can also work as mobile terminal and needing,
Obtained in real time from digital cash server.
Specifically, mobile terminal can be by seller's digital cash information and the legal seller's digital cash prestored
Information is compared.Now, it is previously stored with legal seller's digital cash information in mobile terminal, mobile terminal is from transaction
Terminal is obtained after seller's digital cash information, by seller's digital cash information and the digital goods of the legal seller prestored
Coin information is compared.
Mobile terminal can also send the request for obtaining legal seller's digital cash information to digital cash server, and
Legal seller's digital cash information of digital cash server loopback is obtained, mobile terminal will obtain from transaction terminal and sell number formulary
Word monetary information is compared with the legal seller's digital cash information obtained from digital cash server.Now, it is mobile whole
There is no to store legal seller's digital cash information in end, mobile terminal from transaction terminal obtain seller's digital cash information it
Afterwards, the request for obtaining legal seller's digital cash information is sent to digital cash server, digital cash server is being received
To after the request, legal seller's digital cash information is sent to mobile terminal, afterwards, mobile terminal will be obtained from transaction terminal
Legal seller digital cash information of seller's digital cash information with being obtained from digital cash server is taken to be compared.
In another embodiment of the present invention, when mobile terminal judges that sale terminal is illegal, mobile terminal can be with
The prompt message of " address is illegal, shuts the book " is shown on the display screen.
Mobile terminal is additionally operable to the IP address based on sale service device and sends purchase request to sale service device.
When mobile terminal judges that sale terminal is legal, purchase button or its other party are shown on the display screen of mobile terminal
The triggering command of formula.Acquisition for mobile terminal user is inputted or the purchase of selection is asked, and is asked the purchase by communication module
Send to sale service device.Purchase request can not be all different request types according to sale terminal, when sale terminal is
During vending machine, purchase request can be purchase request, and when sale terminal is top-up machines, purchase request can be charging request.
Sale service device, for after purchase request is received, being sent to mobile terminal and selling interface.
Mobile terminal, is additionally operable to after receiving and selling interface, obtains user based on the commodity letter for selling interface selection
Breath and Payment Amount, and the fund corresponding with Payment Amount is transferred in seller's wallet address from buyer's wallet address.Buy
Square wallet address is the wallet address that the seller registers in digital cash server.
Sale service device is additionally operable to, and is being detected after seller's wallet address receives fund, is being sent to sale terminal and deliver business
Product are instructed.
Sale terminal, for after delivery commodity instruction is received, performing and delivering commodity operation.
In yet another embodiment of the present invention, in the embodiment of the foregoing commercial articles vending system based on digital cash
On the basis of, wherein, mobile terminal is additionally operable to, and buyer's wallet address, buyer's public key is packed, and pass through buyer's private key pair
Information after packing is signed, and obtains buyer's digital cash information, and buyer's digital cash information is sent to sale service
Device.Buyer's digital cash information also includes:In dealing money and transaction sequence number, current time, the present level of digital cash
It is one or more.Sale service device is additionally operable to, and buyer's digital cash information of reception is believed with legal buyer's digital cash
Breath is compared, if the two is consistent, judges that mobile terminal is legal, and sells interface to mobile terminal transmission.If the two differs
Cause, then judge that sale terminal is illegal.
Legal buyer's digital cash information can be stored in advance in sale service device, can also work as sale service device needs
When, obtained in real time from digital cash server.Specifically, sale service device by buyer's digital cash information of reception with it is legal
Buyer's digital cash information be compared including following two modes:
Mode one:Legal buyer's digital cash information is previously stored with sale service device, sale service device is being received
To after buyer's digital cash information, by buyer's digital cash information and the legal buyer's digital cash information prestored
It is compared.
Mode two:Do not have to store legal buyer's digital cash information in sale service device, sale service device is being received
After buyer's digital cash information, the request for obtaining legal buyer's digital cash information, number are sent to digital cash server
Word currency server upon receiving the request, legal buyer's digital cash information is sent to sale service device, afterwards, sold
Server is sold to believe the legal buyer's digital cash for receiving buyer's digital cash information with obtaining from digital cash server
Breath is compared.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is
Related hardware is instructed to complete by program, described program can be stored in a computer read/write memory medium, should
Program upon execution, includes the flow of the following such as embodiment of above-mentioned each method.Wherein, described storage medium can for magnetic disc,
CD, read-only memory (Read-OnlyMemory, abbreviation ROM) or random access memory
(RandomAccessMemory, abbreviation RAM) etc..
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.This hair
Module in bright embodiment device can be combined, divided and deleted according to actual needs.
It should be appreciated that the above-mentioned embodiment of the present invention is used only for exemplary illustration or explains the present invention's
Principle, without being construed as limiting the invention.Therefore, that is done without departing from the spirit and scope of the present invention is any
Modification, equivalent substitution, improvement etc., should be included in the scope of the protection.In addition, appended claims purport of the present invention
Covering the whole changes fallen into scope and border or this scope and the equivalents on border and repairing
Change example.
Claims (10)
1. a kind of commercial articles vending method based on digital cash, it is characterised in that including:
Mobile terminal obtains seller's digital cash information and the IP address of sale service device from sale terminal;Wherein, the seller
Digital cash information includes:Seller's wallet address, seller's public key and to seller's wallet address, the signature of seller's public key;
Seller's digital cash information of acquisition is compared mobile terminal with legal seller's digital cash information;If the two one
Cause, then IP address of the mobile terminal based on the sale service device sends purchase request to sale service device;
Sale service device sends to mobile terminal and sells interface;
Acquisition for mobile terminal user will based on the merchandise news and Payment Amount for selling interface selection, and from buyer's wallet address
The fund corresponding with the Payment Amount is transferred in seller's wallet address;
Sale service device is being detected after seller's wallet address receives the fund, is sent to the sale terminal and is delivered business
Product are instructed;
Sale terminal performs after the delivery commodity instruction is received and delivers commodity operation.
2. according to the method described in claim 1, wherein, it is described that " mobile terminal obtains seller digital cash letter from sale terminal
The IP address of breath and sale service device ", including:
Mobile scanning terminal is shown in the graphic code on the sale terminal;
Mobile terminal parses the IP address that the graphic code obtains seller's digital cash information and sale service device.
3. according to the method described in claim 1, wherein, in " the IP address of the mobile terminal based on the sale service device
Purchase request is sent to sale service device " when, in addition to:
Mobile terminal is packed buyer's wallet address, buyer's public key, and the information after packing is carried out by buyer's private key
Signature, obtains buyer's digital cash information, and buyer's digital cash information is sent to sale service device;
Buyer's digital cash information of reception is compared sale service device with legal buyer's digital cash information, if the two
Unanimously, then sent to mobile terminal and sell interface.
4. according to the method described in claim 1, wherein, it is described " mobile terminal by seller's digital cash information of acquisition with close
Seller's digital cash information of method is compared " include:
Seller's digital cash information and legal seller's digital cash information for prestoring are compared mobile terminal;Or
Mobile terminal sends the request for obtaining legal seller's digital cash information to digital cash server, and obtains digital goods
Legal seller's digital cash information of coin server loopback, mobile terminal will obtain seller's digital cash information from transaction terminal
It is compared with legal seller's digital cash information for being obtained from digital cash server.
5. the method according to claim any one of 2-4, wherein,
The graphic code includes bar code and/or Quick Response Code;
The IP address of the sale service device is link;
The sale terminal includes:Tangible goods sale terminal and intangible goods sale terminal;
Seller's digital cash information also includes:One in transaction sequence number, current time, the present level of digital cash
Or it is multiple.
6. a kind of commercial articles vending system based on digital cash, it is characterised in that including:Mobile terminal, sale terminal and sell
Server;
The mobile terminal, for obtaining seller's digital cash information and the IP address of sale service device from sale terminal;Wherein,
Seller's digital cash information includes:Seller's wallet address, seller's public key and to seller's wallet address, seller's public key
Signature;Seller's digital cash information of acquisition is compared with legal seller's digital cash information, if the two is consistent, base
Purchase is sent in the IP address of the sale service device to sale service device to ask;
The sale service device, for selling interface to mobile terminal transmission;
The mobile terminal, is additionally operable to obtain user based on the merchandise news and Payment Amount for selling interface selection, and from buyer
The fund corresponding with the Payment Amount is transferred in seller's wallet address in wallet address;
The sale service device is additionally operable to, and is detecting after seller's wallet address receives the fund, end is sold to described
End, which is sent, delivers commodity instruction;
The sale terminal, for after the delivery commodity instruction is received, performing and delivering commodity operation.
7. system according to claim 6, wherein, the mobile terminal is additionally operable to, and scanning is shown in the sale terminal
On graphic code, and parse the IP address that the graphic code obtains seller's digital cash information and sale service device.
8. system according to claim 6, wherein, the mobile terminal is additionally operable to, by buyer's wallet address, buyer's public key
Packed, and the information after packing is signed by buyer's private key, obtain buyer's digital cash information, and buy described
Number formulary word monetary information is sent to sale service device;
The sale service device is additionally operable to, and buyer's digital cash information of reception is carried out with legal buyer's digital cash information
Compare, if the two is consistent, is sent to mobile terminal and sell interface.
9. system according to claim 6, wherein, the mobile terminal, be additionally operable to by seller's digital cash information with
The legal seller's digital cash information prestored is compared;Or
It is additionally operable to send the request for obtaining legal seller's digital cash information to digital cash server, and obtains digital cash
Legal seller's digital cash information of server loopback, mobile terminal will be obtained from transaction terminal seller's digital cash information with
The legal seller's digital cash information obtained from digital cash server is compared.
10. the system according to claim any one of 7-9, wherein,
The graphic code includes bar code and/or Quick Response Code;
The IP address of the sale service device is link;
The sale terminal includes:Tangible goods sale terminal and intangible goods sale terminal;
Seller's digital cash information also includes:One in transaction sequence number, current time, the present level of digital cash
Or it is multiple.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710301075.7A CN107220824A (en) | 2017-05-02 | 2017-05-02 | A kind of commercial articles vending system and method based on digital cash |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710301075.7A CN107220824A (en) | 2017-05-02 | 2017-05-02 | A kind of commercial articles vending system and method based on digital cash |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107220824A true CN107220824A (en) | 2017-09-29 |
Family
ID=59943669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710301075.7A Pending CN107220824A (en) | 2017-05-02 | 2017-05-02 | A kind of commercial articles vending system and method based on digital cash |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220824A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909476A (en) * | 2017-11-23 | 2018-04-13 | 深圳捷汇科技有限公司 | Digital asset reception, sending method, electronic equipment and transaction system |
CN108364396A (en) * | 2018-02-06 | 2018-08-03 | 中山微宇电器科技有限公司 | A kind of shipment system of vending machine |
CN109003186A (en) * | 2018-07-13 | 2018-12-14 | 北京创世智链信息技术研究院 | A kind of method of commerce for preventing from denying, apparatus and system based on block chain |
CN109409538A (en) * | 2018-09-30 | 2019-03-01 | 深圳市轱辘汽车维修技术有限公司 | A kind of management method of vehicle spare and accessory parts, device and block chain node device |
WO2019237258A1 (en) * | 2018-06-12 | 2019-12-19 | 王健 | Digital currency interactive method, digital currency physical carrier, terminal device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103927656A (en) * | 2014-05-05 | 2014-07-16 | 宋骊平 | Bitcoin terminal wallet with embedded fixed collecting address and Bitcoin payment method of Bitcoin terminal wallet |
CN104065471A (en) * | 2014-07-11 | 2014-09-24 | 北京德加才科技有限公司 | Data exchange system and data exchange method based on mobile terminals |
CN104978673A (en) * | 2015-06-25 | 2015-10-14 | 张杰音 | O2O information wireless interaction system and method realized based on vending machine |
US20160086418A1 (en) * | 2012-01-19 | 2016-03-24 | Stuart Card | Digital currency enabled vending machine |
CN105894380A (en) * | 2016-04-05 | 2016-08-24 | 邓迪 | Digital currency credit investigation system and method |
CN105913562A (en) * | 2016-04-29 | 2016-08-31 | 邓迪 | Vending machine system based on block chain and data processing method |
CN205594708U (en) * | 2016-04-28 | 2016-09-21 | 张�杰 | Support track traffic ticket vending machine of bit coin payment |
CN106447927A (en) * | 2015-08-06 | 2017-02-22 | 邵氏数位颜色有限公司 | Selling system and method |
-
2017
- 2017-05-02 CN CN201710301075.7A patent/CN107220824A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160086418A1 (en) * | 2012-01-19 | 2016-03-24 | Stuart Card | Digital currency enabled vending machine |
CN103927656A (en) * | 2014-05-05 | 2014-07-16 | 宋骊平 | Bitcoin terminal wallet with embedded fixed collecting address and Bitcoin payment method of Bitcoin terminal wallet |
CN104065471A (en) * | 2014-07-11 | 2014-09-24 | 北京德加才科技有限公司 | Data exchange system and data exchange method based on mobile terminals |
CN104978673A (en) * | 2015-06-25 | 2015-10-14 | 张杰音 | O2O information wireless interaction system and method realized based on vending machine |
CN106447927A (en) * | 2015-08-06 | 2017-02-22 | 邵氏数位颜色有限公司 | Selling system and method |
CN105894380A (en) * | 2016-04-05 | 2016-08-24 | 邓迪 | Digital currency credit investigation system and method |
CN205594708U (en) * | 2016-04-28 | 2016-09-21 | 张�杰 | Support track traffic ticket vending machine of bit coin payment |
CN105913562A (en) * | 2016-04-29 | 2016-08-31 | 邓迪 | Vending machine system based on block chain and data processing method |
Non-Patent Citations (1)
Title |
---|
李昕旸: "《信息时代的金融战略》", 31 March 2017 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909476A (en) * | 2017-11-23 | 2018-04-13 | 深圳捷汇科技有限公司 | Digital asset reception, sending method, electronic equipment and transaction system |
CN108364396A (en) * | 2018-02-06 | 2018-08-03 | 中山微宇电器科技有限公司 | A kind of shipment system of vending machine |
WO2019237258A1 (en) * | 2018-06-12 | 2019-12-19 | 王健 | Digital currency interactive method, digital currency physical carrier, terminal device and storage medium |
CN109003186A (en) * | 2018-07-13 | 2018-12-14 | 北京创世智链信息技术研究院 | A kind of method of commerce for preventing from denying, apparatus and system based on block chain |
CN109409538A (en) * | 2018-09-30 | 2019-03-01 | 深圳市轱辘汽车维修技术有限公司 | A kind of management method of vehicle spare and accessory parts, device and block chain node device |
CN109409538B (en) * | 2018-09-30 | 2021-06-11 | 深圳市轱辘车联数据技术有限公司 | Vehicle spare and accessory part management method and device and block link point equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107220824A (en) | A kind of commercial articles vending system and method based on digital cash | |
US11315156B2 (en) | Exchange item group sharing in a computing network | |
US11694207B2 (en) | Securing an exchange item associated with fraud | |
CN102985885B (en) | For based on the neighbouring system of point-to-point payment transaction, Apparatus and method for | |
US9734509B2 (en) | System and method for providing a cashless vending donation transaction | |
US9280775B2 (en) | Module ID based encryption for financial transactions | |
CN107491946A (en) | It is a kind of to store virtual objects to the method, apparatus of block chain and electronic equipment | |
WO2019128062A1 (en) | Gift giving method and device on e-commerce platform | |
US20150294294A1 (en) | Method and apparatus for facilitating payment via mobile networks | |
US10229451B2 (en) | Method and apparatus for processing transaction information for commodity object | |
US20150206164A1 (en) | Payment process | |
TW201405456A (en) | Mobile device, payment transaction system and method of payment transaction | |
CN108090763A (en) | It is a kind of can on-line payment and the intelligent electronic-scale and method of commerce traced to the source | |
TW201419185A (en) | Mobile device, payment transaction system and payment transaction method | |
CA2764558A1 (en) | Payment systems and methods using mobile computing devices | |
CN109670811A (en) | The personal selling point (pPOS) of core configuration is paid with dynamic | |
CN102999840A (en) | Network transaction method for payment through fingerprint authentication | |
CN104504567A (en) | Recharge method and device of micro-payment card | |
JP2014528616A (en) | Payment method for products or services at commercial sites via internet connection and compatible terminals | |
CN108475371A (en) | Trading authorization | |
CN108647971A (en) | Account safety method and smart card system in a kind of user payment | |
US20230050176A1 (en) | Method of processing a transaction request | |
US20220366495A1 (en) | Systems and methods for digital asset management comprising physical digital asset holders | |
KR20190090699A (en) | Method And Apparatus for Providing Wallet for Enhancing Security And keeping Crypto-currency | |
JP2003177763A (en) | Music distribution 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: 20170929 |