[go: up one dir, main page]

CN111461688A - Service charging system based on block chain technology and charging method thereof - Google Patents

Service charging system based on block chain technology and charging method thereof Download PDF

Info

Publication number
CN111461688A
CN111461688A CN202010256217.4A CN202010256217A CN111461688A CN 111461688 A CN111461688 A CN 111461688A CN 202010256217 A CN202010256217 A CN 202010256217A CN 111461688 A CN111461688 A CN 111461688A
Authority
CN
China
Prior art keywords
service
transaction
server
block chain
user
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
CN202010256217.4A
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.)
Guojin Blockchain Technology Hangzhou Co ltd
Original Assignee
Guojin Blockchain Technology Hangzhou 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 Guojin Blockchain Technology Hangzhou Co ltd filed Critical Guojin Blockchain Technology Hangzhou Co ltd
Priority to CN202010256217.4A priority Critical patent/CN111461688A/en
Publication of CN111461688A publication Critical patent/CN111461688A/en
Pending legal-status Critical Current

Links

Images

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/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The invention discloses a service charging method based on a block chain technology; the method comprises the following specific steps: s1, establishing two general libraries at the server and the client; s2, using a custom http header to store the application payment information in the http header, and verifying the transaction and executing corresponding service by the server; s3, the service end verifies the transaction validity according to the service type of the user request, and sends the transaction and executes the user request after the verification is successful; the invention is a service charging system based on block chain technology; for each service type, the service party specifies a charging standard and a supported pass-certificate type; the service charging aims at each user request, and when the user initiates the request, the service charging needs to carry payment information of corresponding service types; the safety is good, and the efficiency is high; the invention further provides two general libraries for the service end and the client end respectively for more conveniently using the service charging system; the client and the server only need to specify service charging information in the configuration file, and the service charging method is greatly convenient to use.

Description

Service charging system based on block chain technology and charging method thereof
Technical Field
The invention relates to the technical field of service charging, in particular to a service charging system based on a block chain technology and a charging method thereof.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm.
The block chain (Blockchain) is an important concept of the bitcoin, is essentially a decentralized database, and is used as a bottom-layer technology of the bitcoin, namely a series of data blocks which are generated by correlation by using a cryptographic method, wherein each data block contains information of a batch of bitcoin network transactions and is used for verifying the validity (anti-counterfeiting) of the information and generating a next block; in a narrow sense, the blockchain is a distributed account book which is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence and is guaranteed in a cryptographic mode and cannot be tampered and forged.
Broadly, the blockchain technique is a completely new distributed infrastructure and computing approach that utilizes blockchain data structures to verify and store data, utilizes distributed node consensus algorithms to generate and update data, utilizes cryptography to secure data transmission and access, and utilizes intelligent contracts composed of automated script code to program and manipulate data.
The existing service charging system has a complex structure and unsatisfactory safety and efficiency, and provides a service charging system based on a block chain technology and a charging method thereof for the inventor by integrating various factors.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a service charging system based on block chain technology and a charging method thereof, so as to solve the problems proposed in the background art.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a service charging method based on block chain technique; the method comprises the following specific steps:
s1, establishing two general libraries at the server and the client;
s2, using a custom http header to store the application payment information in the http header, and verifying the transaction and executing corresponding service by the server;
and S3, the service end verifies the transaction validity according to the service type of the user request, and sends the transaction and executes the user request after the verification is successful.
As a further scheme of the invention: the universal library in the S1 supports the general certificates of BTC/ETH/GOS and the like.
As a further scheme of the invention: the execution procedure in S2 is
X-Receiver-Address:"0x"
X-Sender-Nonce:"12"
X-Transfer-Amount:"7"
X-Signature:"0x"
X-Service-Type:"request-for-service"
X-Token-Name:"GOS"。
As a further scheme of the invention: and in the step S3, the service end verifies the validity of the transaction according to the service type requested by the user, including signature validity and payment validity.
A service charging system based on a block chain technology comprises two general libraries which are arranged corresponding to a client and a server, a user-defined http header is used in an application layer, application payment information is stored in the http header, the server verifies transaction and executes corresponding services, the server verifies the transaction validity according to the service type requested by a user, and sends the transaction and executes a user request after the verification is successful.
Compared with the prior art, the invention has the following beneficial effects:
the invention is a service charging system based on block chain technology; for each service type, the service party specifies a charging standard and a supported pass-certificate type; the service charging aims at each user request, and when the user initiates the request, the service charging needs to carry payment information of corresponding service types; the safety is good, and the efficiency is high;
the invention further provides two general libraries for the service end and the client end respectively for more conveniently using the service charging system; the client and the server only need to specify service charging information in the configuration file, and do not need to deeply understand the related concepts of the block chain; the universal library can support the certificates of BTC/ETH/GOS and the like, and meanwhile, the application end can also support more certificate types according to the requirement expansion of the application end, so that the application is greatly convenient to use.
Drawings
Fig. 1 is a schematic structural diagram of a service charging system based on a block chain technology.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Referring to fig. 1, the application payment information is stored in httpfieder by using a custom http header in the application layer, and the server verifies the transaction and executes the corresponding service:
X-Receiver-Address:"0x"
X-Sender-Nonce:"12"
X-Transfer-Amount:"7"
X-Signature:"0x"
X-Service-Type:"request-for-service"
X-Token-Name:"GOS"
the service end verifies the transaction validity (signature and payment fee) according to the service type requested by the user, and sends the transaction and executes the user request after the verification is successful.
To make it more convenient to use this protocol, we provide two general libraries for the server and client, respectively. The client and the server only need to specify service charging information in the configuration file, and do not need to deeply understand related concepts of the block chain. The universal library provided by the user can support the certificates of BTC/ETH/GOS and the like, and meanwhile, the application end can also expand and support more certificate types according to the requirement of the application end.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, and the scope of protection is still within the scope of the invention.

Claims (4)

1. A service charging method based on block chain technique; the method is characterized by comprising the following specific steps:
s1, establishing two general libraries at the server and the client;
s2, using a custom http header to store the application payment information in the http header, and verifying the transaction and executing corresponding service by the server;
and S3, the service end verifies the transaction validity according to the service type of the user request, and sends the transaction and executes the user request after the verification is successful.
2. The method of claim 1, wherein the general purpose library in S1 supports BTC, ETH and GOS certificates.
3. The method as claimed in claim 1, wherein the step of executing in S2 is to execute
X-Receiver-Address:"0x"
X-Sender-Nonce:"12"
X-Transfer-Amount:"7"
X-Signature:"0x"
X-Service-Type:"request-for-service"
X-Token-Name:"GOS"。
4. The service charging method based on blockchain technology as claimed in claim 1, wherein the service end verifies the validity of the transaction according to the service type requested by the user in S3 including signature validity and payment fee validity.
A service charging system based on a block chain technology is characterized by comprising two general libraries which are arranged corresponding to a client and a server, a user-defined http header is used in an application layer, application payment information is stored in the http header, the server verifies transaction and executes corresponding service, the server verifies the transaction validity according to the service type requested by a user, and sends the transaction and executes a user request after the verification is successful.
CN202010256217.4A 2020-04-02 2020-04-02 Service charging system based on block chain technology and charging method thereof Pending CN111461688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010256217.4A CN111461688A (en) 2020-04-02 2020-04-02 Service charging system based on block chain technology and charging method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010256217.4A CN111461688A (en) 2020-04-02 2020-04-02 Service charging system based on block chain technology and charging method thereof

Publications (1)

Publication Number Publication Date
CN111461688A true CN111461688A (en) 2020-07-28

Family

ID=71679356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010256217.4A Pending CN111461688A (en) 2020-04-02 2020-04-02 Service charging system based on block chain technology and charging method thereof

Country Status (1)

Country Link
CN (1) CN111461688A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412972A (en) * 2001-10-04 2003-04-23 阿尔卡塔尔公司 Control service device for supporting charged service
CN108229958A (en) * 2017-12-27 2018-06-29 浙商银行股份有限公司 A kind of accounts receivable system and method based on block chain technology
US20180293557A1 (en) * 2017-04-05 2018-10-11 Samsung Sds Co., Ltd. Method of charging electronic currency automatically based on blockchain and system thereof
CN108681891A (en) * 2018-05-24 2018-10-19 深圳前海益链网络科技有限公司 A kind of Multiple Currencies tranaction costs collection methods based on block chain
CN108830709A (en) * 2018-04-17 2018-11-16 中车工业研究院有限公司 A kind of crowdsourcing transaction system based on block chain
CN109325039A (en) * 2018-06-07 2019-02-12 海南新软软件有限公司 A kind of block chain browser and block chain information browsing method
CN109658098A (en) * 2018-12-14 2019-04-19 互链云网(北京)科技有限公司 The logical card circulation method of one kind, system, electronic equipment and storage medium
CN109784883A (en) * 2018-12-20 2019-05-21 众安信息技术服务有限公司 A kind of charging method, block catenary system and storage medium based on the logical card of block chain
CN109816361A (en) * 2019-01-10 2019-05-28 仲重宇 A blockchain signature transfer method without miner fee
CN110378791A (en) * 2019-07-22 2019-10-25 深圳市元征科技股份有限公司 A kind of information processing method, device and electronic equipment
CN110622191A (en) * 2017-05-10 2019-12-27 科因普拉格株式会社 Block chain-based fee settlement method for Internet of things equipment, server using same, service providing terminal and user electronic wallet
CN110866827A (en) * 2019-10-12 2020-03-06 平安壹钱包电子商务有限公司 Method and device for processing general certificate, storage medium and server

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412972A (en) * 2001-10-04 2003-04-23 阿尔卡塔尔公司 Control service device for supporting charged service
US20180293557A1 (en) * 2017-04-05 2018-10-11 Samsung Sds Co., Ltd. Method of charging electronic currency automatically based on blockchain and system thereof
CN110622191A (en) * 2017-05-10 2019-12-27 科因普拉格株式会社 Block chain-based fee settlement method for Internet of things equipment, server using same, service providing terminal and user electronic wallet
CN108229958A (en) * 2017-12-27 2018-06-29 浙商银行股份有限公司 A kind of accounts receivable system and method based on block chain technology
CN108830709A (en) * 2018-04-17 2018-11-16 中车工业研究院有限公司 A kind of crowdsourcing transaction system based on block chain
CN108681891A (en) * 2018-05-24 2018-10-19 深圳前海益链网络科技有限公司 A kind of Multiple Currencies tranaction costs collection methods based on block chain
CN109325039A (en) * 2018-06-07 2019-02-12 海南新软软件有限公司 A kind of block chain browser and block chain information browsing method
CN109658098A (en) * 2018-12-14 2019-04-19 互链云网(北京)科技有限公司 The logical card circulation method of one kind, system, electronic equipment and storage medium
CN109784883A (en) * 2018-12-20 2019-05-21 众安信息技术服务有限公司 A kind of charging method, block catenary system and storage medium based on the logical card of block chain
CN109816361A (en) * 2019-01-10 2019-05-28 仲重宇 A blockchain signature transfer method without miner fee
CN110378791A (en) * 2019-07-22 2019-10-25 深圳市元征科技股份有限公司 A kind of information processing method, device and electronic equipment
CN110866827A (en) * 2019-10-12 2020-03-06 平安壹钱包电子商务有限公司 Method and device for processing general certificate, storage medium and server

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
曹岗,李锦涛,黄庆怀: "基于SSL的HTTP安全日志" *
胥 月 等: "基于区块链的学生行为综合评价体系的研究与实现" *
金雪涛: "区块链+通证经济_版权运营的新模式" *

Similar Documents

Publication Publication Date Title
US20210167966A1 (en) Method and server for providing notary service for file and verifying file recorded by notary service
JP7587635B2 (en) BLOCKCHAIN-ENABLED METHOD FOR CONTROL AND DISTRIBUTION OF DIGITAL CONTENT
TWI690184B (en) Cross-blockchain authentication method and device, and electronic equipment
US20210295321A1 (en) Methods for decentralized digital asset transfer and smart contract state transition
TWI706275B (en) System and method for information protection
US10783260B2 (en) Method for providing simplified account registration service and user authentication service, and authentication server using same
CN110933020B (en) Cryptographic logic exports submissions from execution blockchain
CN109617699B (en) A key generation method, blockchain network service platform and storage medium
US10235538B2 (en) Method and server for providing notary service for file and verifying file recorded by notary service
CN110089069B (en) System and method for information protection
CN110517141B (en) A consensus method and device based on blockchain system
JP6756041B2 (en) Information protection systems and methods
CN108492183A (en) Account trading method, system and the computer readable storage medium of block chain
CN109861829B (en) Cloud data justice auditing system supporting dynamic updating and auditing method thereof
CN111640018B (en) A method and device for verifying the existence of a blockchain transaction
CN112581130B (en) A cross-chain transaction method based on multi-chain interconnection
CN111314066B (en) Block chain-based data transfer method, terminal and computer-readable storage medium
CN113343213A (en) Multi-CA cross-domain authentication method based on block chain in distributed autonomous network
CN113947394A (en) Block chain-based fair payment method for deletable duplicate data in cloud storage
CN110599175A (en) Block processing method and related equipment
JP2022549070A (en) Computer-implemented methods and systems for storing authenticated data on a blockchain
CN111080296A (en) Verification method and device based on block chain system
CN113472783B (en) Block chain cipher certificate service method, system, storage medium and device
Singh et al. Performance comparison of executing fast transactions in bitcoin network using verifiable code execution
WO2021184873A1 (en) Method and apparatus for data synchronization in blockchain network, and computing device

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