CN106920100A - A kind of electronic money trading method and system - Google Patents

A kind of electronic money trading method and system Download PDF

Info

Publication number
CN106920100A
CN106920100A CN201710174557.0A CN201710174557A CN106920100A CN 106920100 A CN106920100 A CN 106920100A CN 201710174557 A CN201710174557 A CN 201710174557A CN 106920100 A CN106920100 A CN 106920100A
Authority
CN
China
Prior art keywords
payment
information
transaction
account number
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710174557.0A
Other languages
Chinese (zh)
Inventor
郭建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Noah Investment Management Co Ltd
Original Assignee
Shanghai Noah Investment Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Noah Investment Management Co Ltd filed Critical Shanghai Noah Investment Management Co Ltd
Priority to CN201710174557.0A priority Critical patent/CN106920100A/en
Publication of CN106920100A publication Critical patent/CN106920100A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明公开了一种电子货币交易方法和系统,所述方法包括以下步骤:付款方获取付款请求;调取付款方的付款账号,并从所述付款请求中提取收款方的基本账户信息及交易信息;将所述付款账号结合提取的所述收款方的基本账户信息及所述交易信息进行共同加密,生成付款信息;收款方对所述付款信息进行解密后,发起验证请求;响应验证请求,并在验证通过后执行交易。本发明提供的电子货币交易方法,能够避免出现他人篡改交易信息的情况。并且在执行交易的过程中通过对收款方对付款信息解析出的参考验证值进行验证的形式,保证了交易双方的真实性,对交易的安全性有了极大提升。本发明还提供了一种电子货币的交易系统。

The invention discloses an electronic money transaction method and system. The method includes the following steps: the payer obtains a payment request; retrieves the payment account number of the payer, and extracts the payee's basic account information and Transaction information: Encrypt the payment account number together with the extracted basic account information of the payee and the transaction information to generate payment information; the payee initiates a verification request after decrypting the payment information; respond Verify the request and execute the transaction after the verification is passed. The electronic money transaction method provided by the invention can avoid the situation that others tamper with the transaction information. And in the process of executing the transaction, by verifying the reference verification value analyzed by the payee to the payment information, the authenticity of both parties to the transaction is guaranteed, which greatly improves the security of the transaction. The invention also provides an electronic currency transaction system.

Description

一种电子货币交易方法和系统Method and system for electronic currency transaction

技术领域technical field

本发明涉及货币交易领域,特别涉及一种电子货币交易方法和系统。The invention relates to the field of currency transactions, in particular to an electronic currency transaction method and system.

背景技术Background technique

随着社会的不断进步,货币的电子化应用已经被广大人民群众所接受,电子货币能够在衣食住行等多个领域完全实现对传统纸质货币的替换。电子货币相较于传统货币存在不易遗失、快捷交易以及便于管理等优点,极大地提升了用户的体验感。With the continuous progress of society, the electronic application of currency has been accepted by the broad masses of the people, and electronic currency can completely replace traditional paper currency in many fields such as food, clothing, housing and transportation. Compared with traditional currency, electronic currency has the advantages of not easy to lose, fast transaction and easy management, which greatly improves the user experience.

但是,在现有的电子货币交易过程中,由于交易信息具有公开化的特点,他人容易对交易内容进行伪造,存在极大的安全隐患。一旦被“有心人”所利用,将会造成用户的财产损失。However, in the existing electronic currency transaction process, due to the openness of the transaction information, it is easy for others to forge the transaction content, which poses a great security risk. Once it is exploited by a "spirited person", it will cause the user's property loss.

发明内容Contents of the invention

为了解决现有技术的问题,本发明实施例提供了一种电子货币交易方法和系统。方案如下:In order to solve the problems in the prior art, an embodiment of the present invention provides an electronic money transaction method and system. The scheme is as follows:

一种电子货币交易方法,包括以下步骤:An electronic currency transaction method, comprising the following steps:

付款方获取付款请求;The payer obtains the payment request;

调取付款方的付款账号,并从付款请求中提取收款方的基本账户信息及交易信息;Call the payer's payment account number, and extract the payee's basic account information and transaction information from the payment request;

将付款账号结合提取的收款方的基本账户信息及交易信息进行共同加密,生成付款信息;Combine the payment account number with the extracted basic account information and transaction information of the payee to jointly encrypt to generate payment information;

收款方对付款信息进行解密后,发起验证请求;The payee initiates a verification request after decrypting the payment information;

响应验证请求,并在验证通过后执行交易。Respond to the verification request and execute the transaction after the verification is passed.

进一步地,基本账户信息具体包括收款账号和收款密匙;交易信息具体为付款金额;付款信息为将收款账号、收款密匙、付款金额以及付款方的付款账号通过付款密匙和公共密匙进行加密后生成。Further, the basic account information specifically includes the collection account number and the collection key; the transaction information specifically includes the payment amount; The public key is encrypted and generated.

进一步地,在收款方对付款信息进行解密后,发送验证请求的步骤中,具体包括:Further, after the payee decrypts the payment information, the step of sending the verification request specifically includes:

收款方使用公共密匙和收款密匙对付款信息解析得到参考验证值;The payee uses the public key and the receiving key to analyze the payment information to obtain a reference verification value;

收款方将参考验证值以及基本账户信息一并发送验证。The payee will send verification with reference to the verification value and basic account information.

进一步地,对付款信息进行加密生成的算法具体为:Further, the algorithm for encrypting and generating the payment information is specifically:

其中,M为付款信息,C为收款密匙,T为付款密匙,P为付款账号,R为收款账号,U为公共密匙,A为付款金额。Among them, M is the payment information, C is the collection key, T is the payment key, P is the payment account number, R is the collection account number, U is the public key, and A is the payment amount.

进一步地,在收款方对付款信息进行解密验证,在验证通过后完成交易的步骤之后,还包括:Further, after the payee decrypts and verifies the payment information, and completes the transaction after the verification is passed, it also includes:

对完成交易的交易信息加盖时间戳,并进行全网广播。Time stamp the transaction information of the completed transaction and broadcast it across the network.

本发明还提供了一种电子货币交易系统,包括付款端、收款端以及交易验证装置;其中,付款端包括:The present invention also provides an electronic money transaction system, including a payment terminal, a collection terminal, and a transaction verification device; wherein, the payment terminal includes:

请求生成单元:用于获取付款请求;Request generation unit: used to obtain payment requests;

信息提取单元:用于调取付款方的付款账号,并从请求生成单元获得的付款请求中提取收款方的基本账户信息及交易信息;Information extraction unit: used to retrieve the payment account number of the payer, and extract the basic account information and transaction information of the payee from the payment request obtained by the request generation unit;

交易验证装置包括:加密模块以及验证模块;The transaction verification device includes: an encryption module and a verification module;

加密模块:用于将信息提取单元中调取的付款账号结合提取的收款方基本账户信息以及交易信息进行共同加密,生成付款信息;Encryption module: used to jointly encrypt the payment account number retrieved in the information extraction unit and the extracted basic account information and transaction information of the payee to generate payment information;

所述收款端用于在对加密模块生成的付款信息进行解密后,发起验证请求;The receiving end is used to initiate a verification request after decrypting the payment information generated by the encryption module;

所述验证模块用于响应收款端发起的验证请求,并在验证通过后执行交易。The verification module is used to respond to the verification request initiated by the payee, and execute the transaction after the verification is passed.

进一步地,信息提取单元提取的基本账户信息包括收款账号和收款密匙;交易信息为付款金额;加密模块加密生成的付款信息为将收款账号、收款密匙、付款金额以及付款账号通过付款密匙和公共密匙进行加密后生成。Further, the basic account information extracted by the information extraction unit includes the collection account number and the collection key; the transaction information is the payment amount; the payment information generated by encryption by the encryption module is the collection account number, the collection key, the payment amount and the payment account number Generated after encryption with payment key and public key.

进一步地,该收款端具体包括:Further, the payment terminal specifically includes:

解析单元:用于使用公共密钥和收款密钥对加密模块生成的付款信息进行解析得到参考验证值;Parsing unit: used to parse the payment information generated by the encryption module using the public key and the payment key to obtain a reference verification value;

信息发送单元:用于将解析单元解析得到的参考验证值以及基本账户信息一并发送给验证模块进行验证。Information sending unit: used to send the reference verification value parsed by the parsing unit and the basic account information to the verification module for verification.

进一步地,该加密模块对付款信息进行加密生成的算法具体为:Further, the encryption module encrypts the payment information and generates the algorithm specifically as follows:

其中,M为付款信息,C为收款密匙,T为付款密匙,P为付款账号,R为收款账号,U为公共密匙,A为付款金额。Among them, M is the payment information, C is the collection key, T is the payment key, P is the payment account number, R is the collection account number, U is the public key, and A is the payment amount.

进一步地,该交易验证装置还包括:Further, the transaction verification device also includes:

广播模块:用于对验证模块完成交易的交易信息加盖时间戳,并进行全网广播。Broadcast module: It is used to stamp the transaction information of the transaction completed by the verification module and broadcast it to the whole network.

本发明实施例提供的技术方案带来的有益效果是:本发明的电子货币交易方法和系统,由于采用将付款方的付款帐号、收款方的基本账户信息以及交易信息进行共同加密的方式来生成付款信息,能够避免出现他人篡改交易信息的情况。并且在执行交易的过程中通过对收款方对付款信息解析出的参考验证值进行验证的形式,保证了交易双方的真实性,对交易的安全性有了极大提升。The beneficial effect brought by the technical solution provided by the embodiment of the present invention is: the electronic money transaction method and system of the present invention, due to the way of jointly encrypting the payment account number of the payer, the basic account information of the payee, and the transaction information Generate payment information to prevent others from tampering with transaction information. And in the process of executing the transaction, by verifying the reference verification value analyzed by the payee on the payment information, the authenticity of both parties to the transaction is guaranteed, which greatly improves the security of the transaction.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1为本发明实施例提供电子货币交易方法的方法流程图;Fig. 1 is a method flow chart of an electronic money transaction method provided by an embodiment of the present invention;

图2为图1中步骤S400的细化流程图;FIG. 2 is a detailed flowchart of step S400 in FIG. 1;

图3为本发明优选实施例提供的电子货币交易方法的方法流程图;Fig. 3 is a method flowchart of the electronic money transaction method provided by the preferred embodiment of the present invention;

图4为本发明实施例提供电子货币交易系统的系统架构图;4 is a system architecture diagram of an electronic money transaction system provided by an embodiment of the present invention;

图5为图4中收款端200的结构示意图优选实施例中交易验证模块的结构图;FIG. 5 is a structural diagram of a transaction verification module in a preferred embodiment of a schematic structural diagram of the payment terminal 200 in FIG. 4;

图6为本发明优选实施例中交易验证装置的结构示意图。Fig. 6 is a schematic structural diagram of a transaction verification device in a preferred embodiment of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

图1所示为本发明实施例提供电子货币交易方法的方法流程图。FIG. 1 is a flowchart of a method for providing an electronic money transaction method according to an embodiment of the present invention.

本发明实施例的电子货币交易方法,包括:The electronic money transaction method of the embodiment of the present invention includes:

S100、付款方获取付款请求;S100. The payer obtains a payment request;

在本发明实施例中,付款方所获取付款请求可以有两种形式:一种是由收款方生成付款请求,然后将付款请求发送给付款方,请求付款方付款;另一种是由付款方主动生成一个付款请求,向收款方付款。In the embodiment of the present invention, the payment request obtained by the payer can be in two forms: one is that the payee generates a payment request, and then sends the payment request to the payer, requesting the payer to pay; the other is by the payer The party actively generates a payment request and pays the payee.

S200、调取付款方的付款账号,并从付款请求中提取收款方的基本账户信息及交易信息;S200, retrieve the payment account number of the payer, and extract the basic account information and transaction information of the payee from the payment request;

在本发明实施例中,无论是由收款方主动发送的付款请求,或者是付款方自主生成的付款请求,当付款方得到一个付款请求后,可以从付款请求中提取出收款方的基本账户信息和交易信息。并且同时能够调取付款方的基本账户信息,收款方的基本账户信息应当至少包括收款账号和收款密匙;交易信息应至少包括付款金额。In the embodiment of the present invention, no matter the payment request sent by the payee or the payment request generated by the payer, when the payer gets a payment request, the payee's basic information can be extracted from the payment request. Account Information and Transaction Information. And at the same time, the basic account information of the payer can be retrieved. The basic account information of the payee should at least include the receiving account number and the receiving key; the transaction information should at least include the payment amount.

S300、将付款账号结合提取的收款方的基本账户信息及交易信息进行共同加密,生成付款信息;S300. Encrypt the payment account number together with the extracted basic account information and transaction information of the payee to generate payment information;

在本发明实施例中,付款信息由付款方将收款账号、收款密匙、付款金额以及自身的付款账号通过付款密匙和公共密匙通过共同进行加密后生成得到。In the embodiment of the present invention, the payment information is generated by the payer by encrypting the collection account number, collection key, payment amount and its own payment account with the payment key and the public key together.

具体的,生成付款信息的算法为:Specifically, the algorithm for generating payment information is:

式中,M为付款信息,C为收款密匙,T为付款密匙,P为付款账号,R为收款账号,U为公共密匙,A为付款金额。In the formula, M is the payment information, C is the collection key, T is the payment key, P is the payment account number, R is the collection account number, U is the public key, and A is the payment amount.

S400、收款方对付款信息进行解密后,发起验证请求;S400. The payee initiates a verification request after decrypting the payment information;

请一并参阅图2,为图1中步骤S400的细化流程图。步骤S400,具体包括:Please also refer to FIG. 2 , which is a detailed flowchart of step S400 in FIG. 1 . Step S400 specifically includes:

S401、收款方使用公共密匙和收款密匙对付款信息解析得到参考验证值;S401. The payee uses the public key and the payee key to analyze the payment information to obtain a reference verification value;

在本发明实施例中,当收款方接收到付款信息后,要根据自身的收款密匙以及公共密匙对收款信息进行解密。可以理解的,任意收款方通过其收款密匙以及公共密匙均能够实现对收款信息的解密,但所得出的参考验证值并不相同。In the embodiment of the present invention, after receiving the payment information, the payee needs to decrypt the payment information according to its own payment key and public key. It is understandable that any payee can decrypt the payment information through its payment key and public key, but the obtained reference verification values are not the same.

在本发明优选实施例中,收款方还可以通过进阶解密的方式实现对付款信息的精确解析,具体的收款方可以在使用收款密匙和公共密匙进行解密的基础上,再次通过收款账号、付款账号和付款金额,对付款信息进行解析,以得到相对准确的参考验证值。该参考验证值具体可以为付款密匙,优选的,出于对付款密匙的保护,该参考验证值也可以为对付款密匙进行特殊化处理的值。In the preferred embodiment of the present invention, the payee can also realize accurate analysis of the payment information through advanced decryption. The specific payee can decrypt the payment information again on the basis of using the payment key and the public key. Analyze the payment information through the collection account number, payment account number and payment amount to obtain a relatively accurate reference verification value. The reference verification value may specifically be a payment key. Preferably, for the protection of the payment key, the reference verification value may also be a value that is specially processed for the payment key.

S402、收款方将参考验证值以及基本账户信息一并发送验证;S402. The payee sends the verification value together with the basic account information for verification;

在本发明实施例中,为了最大程度的保证交易安全性,故待验证的信息中至少包括解析出的参考验证值以及收款方的基本账户信息。In the embodiment of the present invention, in order to ensure transaction security to the greatest extent, the information to be verified includes at least the parsed reference verification value and the payee's basic account information.

S500、响应验证请求,并在验证通过后执行交易。S500. Respond to the verification request, and execute the transaction after the verification is passed.

在本发明实施例中,执行验证过程,首先要对付款信息中包含的收款方的基本账户信息进行比较,当确认相同时,再对付款密匙以及参考验证值进行比较。当全部验证通过后,则执行交易。如任意环节验证不通过,则终止交易。In the embodiment of the present invention, to perform the verification process, the basic account information of the payee contained in the payment information must first be compared, and when the same is confirmed, the payment key and the reference verification value are compared. When all verifications are passed, the transaction is executed. If any part of the verification fails, the transaction will be terminated.

请参阅图3,为本发明优选实施例提供的电子货币交易方法的方法流程图。鉴于所包含的步骤S100'~S500'与图1中的S100~S500相同,在此不进行赘述,在步骤S500'之后,还包括:Please refer to FIG. 3 , which is a flow chart of the electronic money transaction method provided by the preferred embodiment of the present invention. In view of the fact that the included steps S100'~S500' are the same as those of S100~S500 in FIG. 1, they will not be repeated here. After step S500', it also includes:

步骤S600',对完成交易的交易信息加盖时间戳,并进行全网广播Step S600', stamping the transaction information of the completed transaction with a time stamp, and broadcasting to the entire network

在本发明实施例中,当执行交易后,对付款信息中所包含的交易信息加入即时时间标记,然后将交易信息在区块链全网进行广播,告知区块链上所有用户。通过此步骤,能够避免他人恶意对交易信息的篡改。In the embodiment of the present invention, after the transaction is executed, an instant time stamp is added to the transaction information contained in the payment information, and then the transaction information is broadcast on the entire blockchain network to inform all users on the blockchain. Through this step, malicious tampering of transaction information by others can be avoided.

本发明的电子货币交易方法,由于采用将付款方的付款帐号、收款方的基本账户信息以及交易信息进行共同加密的方式来生成付款信息,能够避免出现他人篡改交易信息的情况。并且在执行交易的过程中通过对收款方对付款信息解析出的参考验证值进行验证的形式,保证了交易双方的真实性,对交易的安全性有了极大提升。In the electronic money transaction method of the present invention, payment information is generated by jointly encrypting the payment account number of the payer, the basic account information of the payee, and the transaction information, which can prevent others from tampering with the transaction information. And in the process of executing the transaction, by verifying the reference verification value analyzed by the payee on the payment information, the authenticity of both parties to the transaction is guaranteed, which greatly improves the security of the transaction.

本发明还提供一种电子货币交易系统,如图4所示,为本发明实施例提供电子货币交易系统的系统架构图。The present invention also provides an electronic money transaction system, as shown in FIG. 4 , which provides a system architecture diagram of the electronic money transaction system according to the embodiment of the present invention.

本发明实施例的电子货币交易系统包括:付款端100、收款模块200以及交易验证装置300。其中,付款端100和收款端200可通过有线或无线的方式与交易验证装置300进行连接;付款端100与收款模块200之间无线连接,该付款端100和收款端200的数量为至少一个,该付款端100和收款端200具体可以为手机,平板电脑以及PDA等手持移动终端或台式电脑等固定终端。The electronic money transaction system in the embodiment of the present invention includes: a payment terminal 100 , a collection module 200 and a transaction verification device 300 . Wherein, the payment terminal 100 and the payment terminal 200 can be connected with the transaction verification device 300 in a wired or wireless manner; the payment terminal 100 and the collection module 200 are wirelessly connected, and the number of the payment terminal 100 and the payment terminal 200 is At least one, the payment terminal 100 and the payment terminal 200 may specifically be handheld mobile terminals such as mobile phones, tablet computers, and PDAs, or fixed terminals such as desktop computers.

在本发明实施例中,付款端100包括请求生成模块110和信息提取单元120,请求生成单元110与信息提取单元120相连接。请求生成单元110用于获取付款请求;信息提取单元120用于调取付款方的付款账号,并从请求生成单元110获得的付款请求中提取收款方的基本账户信息及交易信息。具体的,请求生成单元110所获取的付款请求可以为付款端100自行生成也可以为接收收款端200发出的付款请求。In the embodiment of the present invention, the payment terminal 100 includes a request generation module 110 and an information extraction unit 120 , and the request generation unit 110 is connected to the information extraction unit 120 . The request generation unit 110 is used to obtain the payment request; the information extraction unit 120 is used to retrieve the payment account number of the payer, and extract the basic account information and transaction information of the payee from the payment request obtained by the request generation unit 110 . Specifically, the payment request acquired by the request generation unit 110 may be generated by the payer 100 itself or may be a payment request sent by the receiver 200 .

交易验证装置300包括加密模块310以及验证模块320,加密模块310用于将信息提取单元120中所调取的付款账号并结合提出的收收款方基本账户信息以及交易信息进行共同加密,生成付款信息;验证模块320用于响应收款端200发起的验证请求,并在验证通过后执行交易。The transaction verification device 300 includes an encryption module 310 and a verification module 320. The encryption module 310 is used to jointly encrypt the payment account number retrieved in the information extraction unit 120 in combination with the proposed basic account information of the payee and payee and transaction information to generate a payment Information; the verification module 320 is used to respond to the verification request initiated by the payee terminal 200, and execute the transaction after the verification is passed.

收款端200用于在对加密模块310生成的付款信息进行解密后,发起验证请求。The payment terminal 200 is configured to initiate a verification request after decrypting the payment information generated by the encryption module 310 .

在本发明优选的实施例中,信息提取单元所提取的收款方的基本账户信息应当至少包括收款账号和收款密匙;交易信息应至少包括付款金额。加密模块对付款信息进行加密生成的算法具体为:In a preferred embodiment of the present invention, the basic account information of the payee extracted by the information extraction unit should at least include a collection account number and a collection key; the transaction information should at least include a payment amount. The encryption module encrypts the payment information and generates the algorithm specifically as follows:

其中,M为付款信息,C为收款密匙,T为付款密匙,P为付款账号,R为收款账号,U为公共密匙,A为付款金额。Among them, M is the payment information, C is the collection key, T is the payment key, P is the payment account number, R is the collection account number, U is the public key, and A is the payment amount.

请一并参阅图5,为图4中收款端200的结构示意图优选实施例中交易验证模块的结构图。该收款端200包括:解析单元210以及信息发送单元220。其中,解析单元210用于使用公共密钥和收款密钥对加密模块310生成的付款信息进行解析得到参考验证值;信息发送单元220用于将解析单元210解析得到的参考验证值以及基本账户信息一并发送给验证模块320进行验证。在验证过程中,验证模块320首先要对付款信息中包含的收款方的基本账户信息进行比较,当确认相同时,再对付款密匙以及参考验证值进行比较。当全部验证通过后,则执行交易。如任意环节验证不通过,则终止交易。Please also refer to FIG. 5 , which is a structural diagram of the payment terminal 200 in FIG. 4 and a structural diagram of a transaction verification module in a preferred embodiment. The payment terminal 200 includes: an analysis unit 210 and an information sending unit 220 . Wherein, the parsing unit 210 is used to analyze the payment information generated by the encryption module 310 using the public key and the collection key to obtain a reference verification value; the information sending unit 220 is used to parse the reference verification value obtained by the parsing unit 210 and the basic account The information is also sent to the verification module 320 for verification. During the verification process, the verification module 320 first compares the payee's basic account information included in the payment information, and compares the payment key and the reference verification value when they are confirmed to be the same. When all verifications are passed, the transaction is executed. If any part of the verification fails, the transaction will be terminated.

在本发明优选实施例中,解析单元解析得出的参考验证值具体可以为付款密匙。在本发明其他实施例中,该参考验证值也可以为对付款密匙进行特殊化处理的值。In a preferred embodiment of the present invention, the reference verification value analyzed by the analysis unit may specifically be a payment key. In other embodiments of the present invention, the reference verification value may also be a value that performs special processing on the payment key.

图6为本发明优选实施例中交易验证装置的结构示意图,该交易验证装置300'包括:加密模块310'、验证模块320'以及广播模块330'。需要说明的是,由于加密模块310'和验证模块320'与在先实施例对应模块的功能相同,在此不进行赘述。广播模块330'用于对所述验证模块320'完成交易的交易信息加盖时间戳,并进行全网广播。Fig. 6 is a schematic structural diagram of a transaction verification device in a preferred embodiment of the present invention. The transaction verification device 300' includes: an encryption module 310', a verification module 320' and a broadcast module 330'. It should be noted that since the functions of the encryption module 310' and the verification module 320' are the same as those of the corresponding modules in the previous embodiment, details are not described here. The broadcast module 330' is used to add a time stamp to the transaction information of the transaction completed by the verification module 320', and broadcast to the whole network.

本发明的电子货币交易系统,由于采用将付款方的付款帐号、收款方的基本账户信息以及交易信息进行共同加密的方式来生成付款信息,能够避免出现他人篡改交易信息的情况。并且在执行交易的过程中通过对收款方对付款信息解析出的参考验证值进行验证的形式,保证了交易双方的真实性,对交易的安全性有了极大提升。The electronic money transaction system of the present invention generates payment information by jointly encrypting the payment account number of the payer, the basic account information of the payee and the transaction information, thereby avoiding the situation that others tamper with the transaction information. And in the process of executing the transaction, by verifying the reference verification value analyzed by the payee on the payment information, the authenticity of both parties to the transaction is guaranteed, which greatly improves the security of the transaction.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (10)

1. a kind of electronic money trading method, it is characterised in that comprise the following steps:
Paying party obtains payment request;
The payment account number of paying party is transferred, and the basic account information and transaction letter of beneficiary are extracted from the payment request Breath;
Basic account information and the Transaction Information that the payment account number combines the beneficiary for extracting are carried out to add jointly It is close, generate payment information;
After beneficiary is decrypted to the payment information, checking request is initiated;
Response verification is asked, and transaction is performed after being verified.
2. the method for claim 1, it is characterised in that:The basic account information specifically includes shroff account number and gathering Secret key;The Transaction Information is specially Payment Amount;The payment information be by shroff account number, gathering secret key, Payment Amount with And the payment account number of paying party is by paying the bill secret key and generating after public keys are encrypted.
3. method as claimed in claim 2, it is characterised in that after the beneficiary is decrypted to payment information, sends In the step of checking request, specifically include:
Beneficiary is parsed and is obtained referring to validation value using public keys and payment information described in gathering secret key pair;
The reference validation value and the basic account information are sent checking by the beneficiary in the lump.
4. method as claimed in claim 3, it is characterised in that the algorithm for being encrypted generation to the payment information is specific For:
M = ∫ C T ( P + R ) U × A
Wherein, M is payment information, and C is gathering secret key, and T is payment secret key, and P is payment account number, and R is shroff account number, and U is public Secret key, A is Payment Amount.
5. the method as any one of claim 1-4, it is characterised in that solved to payment information in the beneficiary Close checking, after the step of transaction is completed after being verified, also includes:
The Transaction Information to completing transaction adds a cover timestamp, and carries out the whole network broadcast.
6. a kind of electronic currency trade system, it is characterised in that including payment end, gathering end and transaction verification device;Wherein, The payment end includes:
Request generation unit:For obtaining payment request;
Information extraction unit:Payment account number for transferring paying party, and the payment request obtained from the request generation unit The middle basic account information and Transaction Information for extracting beneficiary;
The transaction verification device includes:Encrypting module and authentication module;
The encrypting module:Payment account number for will be transferred in described information extraction unit combines the basic account of beneficiary extracted Family information and Transaction Information carry out common cryptographic, generate payment information;
The gathering end is used for after the payment information generated to the encrypting module is decrypted, and initiates checking request;
The authentication module is used to respond the checking request that the gathering end is initiated, and transaction is performed after being verified.
7. system as claimed in claim 6, it is characterised in that the basic account information that described information extraction unit is extracted Including shroff account number and gathering secret key;The Transaction Information is Payment Amount;The payment of the encrypting module encryption generation Information is by paying the bill secret key and public keys are encrypted by shroff account number, gathering secret key, Payment Amount and payment account number After generate.
8. system as claimed in claim 7, it is characterised in that the gathering end specifically includes:
Resolution unit:Payment information for being generated using public keys and gathering key pair encryption module parse being joined Examine validation value;
Information transmitting unit:For the reference validation value and basic account information one that obtain resolution unit parsing And be sent to the authentication module and verified.
9. system as claimed in claim 8, it is characterised in that the encrypting module is encrypted the calculation of generation to payment information Method is specially:
M = ∫ C T ( P + R ) U × A
Wherein, M is payment information, and C is gathering secret key, and T is payment secret key, and P is payment account number, and R is shroff account number, and U is public Secret key, A is Payment Amount.
10. the system as any one of claim 6-9, it is characterised in that the transaction verification device also includes:
Broadcast module:Transaction Information for completing transaction to the authentication module adds a cover timestamp, and carries out the whole network broadcast.
CN201710174557.0A 2017-03-22 2017-03-22 A kind of electronic money trading method and system Pending CN106920100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710174557.0A CN106920100A (en) 2017-03-22 2017-03-22 A kind of electronic money trading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710174557.0A CN106920100A (en) 2017-03-22 2017-03-22 A kind of electronic money trading method and system

Publications (1)

Publication Number Publication Date
CN106920100A true CN106920100A (en) 2017-07-04

Family

ID=59461080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710174557.0A Pending CN106920100A (en) 2017-03-22 2017-03-22 A kind of electronic money trading method and system

Country Status (1)

Country Link
CN (1) CN106920100A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107705125A (en) * 2017-08-28 2018-02-16 杭州云象网络技术有限公司 A kind of payment marking method based on block chain
CN108805574A (en) * 2018-05-19 2018-11-13 深圳市图灵奇点智能科技有限公司 Method of commerce based on secret protection and system
CN109191122A (en) * 2018-08-10 2019-01-11 中国银行股份有限公司 A kind of method and device obtaining Transaction Information voucher
CN111523869A (en) * 2020-04-09 2020-08-11 天地融科技股份有限公司 Off-line transaction method and system for digital currency

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489098A (en) * 2013-09-23 2014-01-01 裘百灵 Mobile payment method, system and program supporting offline receipt and payment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489098A (en) * 2013-09-23 2014-01-01 裘百灵 Mobile payment method, system and program supporting offline receipt and payment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冯丽云: "《分销渠道管理》", 30 June 2002 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107705125A (en) * 2017-08-28 2018-02-16 杭州云象网络技术有限公司 A kind of payment marking method based on block chain
CN108805574A (en) * 2018-05-19 2018-11-13 深圳市图灵奇点智能科技有限公司 Method of commerce based on secret protection and system
CN108805574B (en) * 2018-05-19 2021-01-26 深圳市图灵奇点智能科技有限公司 Transaction method and system based on privacy protection
CN109191122A (en) * 2018-08-10 2019-01-11 中国银行股份有限公司 A kind of method and device obtaining Transaction Information voucher
CN111523869A (en) * 2020-04-09 2020-08-11 天地融科技股份有限公司 Off-line transaction method and system for digital currency
CN111523869B (en) * 2020-04-09 2024-05-24 天地融科技股份有限公司 Off-line transaction method and system for digital currency

Similar Documents

Publication Publication Date Title
CN111095332B (en) Method and system for protecting private social media advertisements
JP6713081B2 (en) Authentication device, authentication system and authentication method
RU2674329C2 (en) Secure remote payment transaction processing
RU2710897C2 (en) Methods for safe generation of cryptograms
JP5592477B2 (en) Personal authentication system and method using mobile device
CN102801710B (en) A kind of network trading method and system
JP6370407B2 (en) O2O secure settlement method and O2O secure settlement system
WO2022154789A1 (en) Token-based off-chain interaction authorization
CN114270780B (en) Gateway agnostic tokenization
EP1984890A2 (en) A point-of-sale terminal transaction using mutating identifiers
CN110599140B (en) Digital currency verification method and system
CN202854880U (en) SMS payment system based on fingerprint identification mobile phone
CN102694780A (en) Digital signature authentication method, payment method containing the same and payment system
CN104243162B (en) A kind of information interacting method, system and intelligent cipher key equipment
CN106033571A (en) Trading method of electronic signature devices, electronic signature devices and trading system
CN106469370A (en) A kind of method of commerce, system and electronic signature equipment
CN106920100A (en) A kind of electronic money trading method and system
CN115760082A (en) Digital payment processing method, device, equipment, system and medium
CN108805574A (en) Method of commerce based on secret protection and system
KR101754486B1 (en) Method for Providing Mobile Payment Service by Using Account Information
Kisore et al. A secure SMS protocol for implementing digital cash system
CN112712354A (en) Interaction method of digital currency wallet and digital currency server
WO2019232766A1 (en) Trading method, hardware wallet and trading device
CN111131227A (en) A data processing method and device
CN110719264B (en) Information processing method and device, electronic equipment and storage medium

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: 20170704