CN109598148A - A kind of invoice management method and system based on block chain - Google Patents
A kind of invoice management method and system based on block chain Download PDFInfo
- Publication number
- CN109598148A CN109598148A CN201811284455.5A CN201811284455A CN109598148A CN 109598148 A CN109598148 A CN 109598148A CN 201811284455 A CN201811284455 A CN 201811284455A CN 109598148 A CN109598148 A CN 109598148A
- Authority
- CN
- China
- Prior art keywords
- information
- user
- invoice
- invoice information
- block chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or 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
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- Bioethics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Economics (AREA)
- Accounting & Taxation (AREA)
- Health & Medical Sciences (AREA)
- General Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of invoice management method and system based on block chain, comprising: propose it is a kind of can allow both sides while the invoice input system that uses, ensure that the accuracy of both sides financial staff's institute's typing information in Input Process;A kind of management system that can allow typing invoice information that can not distort is proposed, ensure that the correctness and integrality of invoice information in systems.Suitable for invoice information Fiscal management process, can be allowed more true and effective, the carry out invoice information record open and clear to management level and invoice information result count the present invention.
Description
Technical field
The invention belongs to block chain technical field, more particularly to a kind of invoice management method based on block chain and
System.
Background technique
In traditional financial system, accounting processing module, report form processing module, fixed assets accounting mould are generally comprised
Block, wage accounting module etc. include the function of invoice record and inquiry in financial process module, and effect is to inside and outside enterprise
Portion's fund is calculated and is managed.
However, there is following two in above-mentioned traditional financial system: firstly, tick up is than relatively time-consuming, in meeting
During meter is calculated, if some part malfunctions, and fail to find in time when financial staff's review, then when needing to consume very long afterwards
Between go to search mistake, this situation causes accounting error it is easy to appear between parent company and its subsidiary;Secondly there are people
For the risk distorted, with the user of higher-rights in system, may malice altered data, so as to cause huge economic damage
It loses.
Summary of the invention
For the above defects or improvement requirements of traditional financial system, the present invention provides a kind of invoices based on block chain
Management method and system its object is to reduce the mistake in existing financial system in Input Process, and solve to exist artificial
The problem of distorting.
To achieve the above object, in a first aspect, the present invention provides a kind of invoice management method based on block chain, comprising:
(1) user's registration:
Block chain node receives the addition request that user sends, and includes the information of user, the use in the addition request
The information at family includes node name, node serial number and node public key information;
The block chain node audits the information of the user, if audit passes through, returns to certificate to user, and will be described
User information is recorded in block chain after being known together by common recognition mechanism;If audit does not pass through, audit is returned to user and is not passed through
Prompt;
(2) user's invoice information typing:
The block chain node receives the write-in invoice information request that user sends, and the request of said write invoice information passes through
The certificate of user encrypts, and the request of said write invoice information includes invoice information to be written;
The invoice information that the block chain node treats write-in carries out integrity verification and consistency checking, separately verifies this
Whether whether the complete, invoice information conflicts invoice information with the effective invoice information recorded in block chain, if being verified,
It is written in block chain after the invoice information is known together by common recognition mechanism, if being verified not since the invoice information is imperfect
Pass through, then the incomplete prompt of invoice information is returned to user, if effective due to recording in the invoice information and block chain
Invoice information conflict and verify and do not pass through, then to user return the conflicting prompt of invoice information;
If the incomplete prompt of user's receipt of invoice information, user modifies invoice information, and again to block chain node
Send write-in invoice information request;
If the conflicting prompt of user's receipt of invoice information, user sends to block chain node and deletes asking for invoice information
It asks, the request for deleting invoice information is encrypted by the certificate of user, and the deletion invoice information request includes to be deleted
Invoice information;
The block chain node receives the request for the deletion invoice information that user sends, and asks to the deletion invoice information
Carry out Authority Verification is sought, if being verified, by specified invoice information to be deleted labeled as in vain, is otherwise returned to user
The prompt of insufficient permission.
It is understood that the user referred in the present invention can be using any of the invoice management method or system
People, such as the financial staff of certain unit.
In an optional example, the invoice information includes: invoice number, invoice codes, invoice chain store and the amount of money
Information.
In an optional example, if user receives the prompt of insufficient permission, the deletion invoice information is modified
After certificate information in request, the request for deleting invoice information is sent to block chain node again.
In an optional example, this method further include: before the addition request that user sends, configure the letter of user
Breath.
Second aspect, the present invention provide a kind of managing bill system based on block chain, comprising:
Registration module, for receiving the addition request of user's transmission, the information being added in request including user is described
The information of user includes node name, node serial number and node public key information;And the information of the audit user, if audit is logical
It crosses, then returns to certificate to user, and be recorded in block chain after the user information is known together by common recognition mechanism;If audit is not
Pass through, is then returned to user and audit unacceptable prompt;
User's invoice information recording module, for receiving the write-in invoice information request of user's transmission, said write invoice
Information request is encrypted by the certificate of user, and the request of said write invoice information includes invoice information to be written;And it treats
The invoice information of write-in carries out integrity verification and consistency checking, and separately verifying the invoice information, whether the complete, invoice is believed
Whether breath conflicts with the effective invoice information recorded in block chain, if being verified, which is passed through common recognition mechanism
It is written to after common recognition in block chain, if verifying and not passing through since the invoice information is imperfect, returns to invoice letter to user
Incomplete prompt is ceased, if verifying obstructed since the effective invoice information recorded in the invoice information and block chain conflicts
It crosses, then returns to the conflicting prompt of invoice information to user;
User's invoice information recording module, the request of the deletion invoice information for receiving user's transmission, to the deletion
The request of invoice information carries out Authority Verification, if being verified, it is invalid that specified invoice information to be deleted is labeled as, no
Then the insufficient prompt of permission is returned to user;The request for deleting invoice information, which is that user's receipt of invoice information is conflicting, to be mentioned
It issues after showing, is encrypted by the certificate of user, the deletion invoice information request includes invoice information to be deleted.
In an optional example, the invoice information includes: invoice number, invoice codes, invoice chain store and the amount of money
Information.
In an optional example, registration module, for configuring the letter of user before the addition request that user sends
Breath.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain down and show
Beneficial effect:
1, the present invention is able to solve the problem of artificial typing mistake existing for existing financial system: since the present invention is based on areas
The administrative mechanism of block chain node stores invoice information into block chain, the hair in invoice information and block chain to each typing
Ticket information compares, therefore solves the problems, such as artificial typing mistake.
2, the present invention can record invoice data into block chain, and block chain itself has the characteristics that distort,
Therefore solve the problems, such as that data malice is distorted.
3, the present invention is based on the invoice management method of block chain and systems, can be realized based on block chain and be shared between user
The managing bill mode between the two sides concerned can be achieved based on the basis that block chain is shared in invoice information, and the two sides concerned can be more
Add and easily invoice is managed, realize win-win, reduces audit cost.
Detailed description of the invention
Fig. 1 is the flow chart of the invoice management method provided by the invention based on block chain;
Fig. 2 is the architecture diagram of the managing bill system provided by the invention based on block chain.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that specific implementation example described herein is only used to explain the present invention,
It is not intended to limit the present invention.In addition, technical characteristic involved in the various embodiments of the present invention described below is only
Not constituting a conflict with each other can be combined with each other.
It is an aspect of this invention to provide that as shown in Figure 1, the invoice management method proposed by the present invention based on block chain includes
Following steps:
(1) request that new tissue is sent by client to block chain CA node, application are added this system, wrap in the request
Include neoblastic information;
Specifically, neoblastic information includes node name, node serial number and node public key.In addition, being mentioned in the present invention
And tissue refer to user, no longer illustrate below.
It should be noted that method of the invention further includes that neoblastic configuration information is arranged before this step (1);
(2) block chain CA node audits neoblastic information, if audit passes through, is sent to it certificate, block chain node
By organizational information by being recorded in block chain after common recognition mechanism (PBFT, kafka etc.) common recognition, otherwise return information is audited not
By prompt, process terminates;
(3) Party A financial staff is sent to block chain node by client and is requested, application write-in invoice information, and should
Request is encrypted by its certificate;
(4) block chain link point carries out the integrity verification of invoice information, and invoice information is passed through common recognition machine after being verified
It is written in block chain after system (PBFT, kafka etc.) common recognition, otherwise returns to the incomplete prompt of invoice information, returned (3)
Step;
(5) Party B financial staff is sent to block chain node by client and is requested, application write-in invoice information, and should
Request is encrypted by its certificate;
(6) block chain link point carry out invoice information consistency checking, verifying include whether with it is already existing in system
Effective invoice information mutually conflicts, by invoice information by writing after common recognition mechanism (PBFT, kafka etc.) common recognition after being verified
Enter into block chain, process terminates, and otherwise returns to the conflicting prompt of invoice information;
(7) wrong if it is Party B's typing information, then Party B financial staff modifies typing information, returns to (5) step, no
Then, Party A financial staff is sent to block chain node by client and is requested, and invoice information is deleted in application, and the request is by it
Certificate encryption;
(8) block chain node carries out Authority Verification to the message, and after verifying, specified invoice information is labeled as nothing
Effect returns to (3) step, otherwise returns to insufficient permission, returns to (7) step.
Preferably, the method also includes neoblastic configuration information is arranged before step (1).
Preferably, invoice information includes invoice number, invoice codes, the information such as invoice chain store and the amount of money.
It is another aspect of this invention to provide that providing a kind of managing bill system based on block chain, it is set to block
Chain node, the system comprises:
First module includes neoblastic in the request for receiving the request of addition this system from client
Information;
Second module if audit passes through, is sent to it certificate, block chain node will for auditing neoblastic information
Organizational information after common recognition mechanism (PBFT, kafka etc.) common recognition by being recorded in block chain, and otherwise return information audit is obstructed
The prompt crossed, process terminate;
Third module, the request sent for receiving client to block chain node, application write-in invoice information, and should
Request is encrypted by its certificate;
Invoice information is passed through common recognition mechanism after being verified for verifying the integrality of invoice information by the 4th module
It is written in block chain after (PBFT, kafka etc.) common recognition, otherwise returns to the incomplete prompt of invoice information, return to third mould
Block;
5th module, for carrying out the consistency checking of invoice information to block chain link point, verifying includes whether and system
In already existing effective invoice information mutually conflict, after being verified by invoice information pass through common recognition mechanism (PBFT, kafka
Deng) know together is written in block chain later, process terminates, and otherwise returns to the conflicting prompt of invoice information.
6th module is recorded for judging to be that Party A's typing information is wrong or Party B's typing information is wrong if it is Party A
It is wrong to enter information, then Party B financial staff modifies typing information, returns to the 5th module, first wrong if it is Party A's typing information
Square financial staff is sent to block chain node by client and is requested, and invoice information is deleted in application, and the request is by its certificate
Encryption;
7th module, the message for receiving to the 6th module carry out Authority Verification, after verifying, specified invoice are believed
Otherwise breath returns to insufficient permission, the 6th module of return labeled as invalid, return third module.
In another example, the present invention provides another managing bill system based on block chain, specifically includes:
Registration module, for receiving the addition request of user's transmission, the information being added in request including user is described
The information of user includes node name, node serial number and node public key information;And the information of the audit user, if audit is logical
It crosses, then returns to certificate to user, and be recorded in block chain after the user information is known together by common recognition mechanism;If audit is not
Pass through, is then returned to user and audit unacceptable prompt;
User's invoice information recording module, for receiving the write-in invoice information request of user's transmission, said write invoice
Information request is encrypted by the certificate of user, and the request of said write invoice information includes invoice information to be written;And it treats
The invoice information of write-in carries out integrity verification and consistency checking, and separately verifying the invoice information, whether the complete, invoice is believed
Whether breath conflicts with the effective invoice information recorded in block chain, if being verified, which is passed through common recognition mechanism
It is written to after common recognition in block chain, if verifying and not passing through since the invoice information is imperfect, returns to invoice letter to user
Incomplete prompt is ceased, if verifying obstructed since the effective invoice information recorded in the invoice information and block chain conflicts
It crosses, then returns to the conflicting prompt of invoice information to user;
User's invoice information recording module, the request of the deletion invoice information for receiving user's transmission, to the deletion
The request of invoice information carries out Authority Verification, if being verified, it is invalid that specified invoice information to be deleted is labeled as, no
Then the insufficient prompt of permission is returned to user;The request for deleting invoice information, which is that user's receipt of invoice information is conflicting, to be mentioned
It issues after showing, is encrypted by the certificate of user, the deletion invoice information request includes invoice information to be deleted.
Specifically, invoice information includes: invoice number, invoice codes, invoice chain store and amount information.
Specifically, registration module, for configuring the information of user before the addition request that user sends.
Integral Thought of the invention is, non-repudiation and retrospective characteristic using block chain, in invoice typing
In the process, fast verification goes out the correctness of invoice information, prompts financial staff to modify in case of an error, and
Permanent storage can be carried out to operations such as typing information and modification informations, so that invoice information be prevented to be maliciously tampered.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to
The limitation present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should all include
Within protection scope of the present invention.
Claims (7)
1. a kind of invoice management method based on block chain characterized by comprising
(1) user's registration:
Block chain node receives the addition request that user sends, and includes the information of user in the addition request, the user's
Information includes node name, node serial number and node public key information;
The block chain node audits the information of the user, if audit passes through, returns to certificate to user, and by the user
Information is recorded in block chain after being known together by common recognition mechanism;If audit does not pass through, is returned to user and audit unacceptable mention
Show;
(2) user's invoice information typing:
The block chain node receives the write-in invoice information request that user sends, and the request of said write invoice information passes through user
Certificate encryption, said write invoice information request include invoice information to be written;
The invoice information that the block chain node treats write-in carries out integrity verification and consistency checking, separately verifies the invoice
Whether whether the complete, invoice information conflicts information with the effective invoice information recorded in block chain, should if being verified
Invoice information is written in block chain after being known together by common recognition mechanism, if verifying obstructed since the invoice information is imperfect
It crosses, then returns to the incomplete prompt of invoice information to user, if due to the effective hair recorded in the invoice information and block chain
Ticket information collision and verify and do not pass through, then to user return the conflicting prompt of invoice information;
If the incomplete prompt of user's receipt of invoice information, user modifies invoice information, and sends again to block chain node
Invoice information request is written;
If the conflicting prompt of user's receipt of invoice information, user sends the request for deleting invoice information to block chain node,
The request for deleting invoice information is encrypted by the certificate of user, and the deletion invoice information request includes invoice to be deleted
Information;
The block chain node receives the request for the deletions invoice information that user sends, to the request of the deletion invoice information into
Row Authority Verification, by specified invoice information to be deleted labeled as in vain, otherwise returns to permission to user if being verified
Insufficient prompt.
2. the invoice management method according to claim 1 based on block chain, which is characterized in that the invoice information packet
It includes: invoice number, invoice codes, invoice chain store and amount information.
3. the invoice management method according to claim 1 based on block chain, which is characterized in that if user receives permission
Insufficient prompt sends to block chain node delete again after then modifying the certificate information in the deletion invoice information request
The request of invoice information.
4. the invoice management method according to claim 1 based on block chain, which is characterized in that the method also includes:
Before the addition request that user sends, the information of user is configured.
5. a kind of managing bill system based on block chain characterized by comprising
Registration module, for receiving the addition request of user's transmission, the information being added in request including user, the user
Information include node name, node serial number and node public key information;And the information of the audit user, if audit passes through,
Certificate then is returned to user, and is recorded in block chain after the user information is known together by common recognition mechanism;If auditing obstructed
It crosses, is then returned to user and audit unacceptable prompt;
User's invoice information recording module, for receiving the write-in invoice information request of user's transmission, said write invoice information
Request is encrypted by the certificate of user, and the request of said write invoice information includes invoice information to be written;And to be written
Invoice information carry out integrity verification and consistency checking, separately verifying the invoice information, whether the complete, invoice information is
It is no to conflict with effective invoice information that is being recorded in block chain, if being verified, which is known together by common recognition mechanism
After be written in block chain, if due to the invoice information it is imperfect and verify do not pass through, to user return invoice information not
Complete prompt, if verifying and not passing through since the effective invoice information recorded in the invoice information and block chain conflicts,
The conflicting prompt of invoice information is returned to user;
User's invoice information recording module, the request of the deletion invoice information for receiving user's transmission, to the deletion invoice
The request of information carries out Authority Verification, if being verified, by specified invoice information to be deleted labeled as invalid, otherwise to
User returns to the insufficient prompt of permission;The request for deleting invoice information is after the conflicting prompt of user's receipt of invoice information
It issues, is encrypted by the certificate of user, the deletion invoice information request includes invoice information to be deleted.
6. the managing bill system according to claim 5 based on block chain, which is characterized in that the invoice information packet
It includes: invoice number, invoice codes, invoice chain store and amount information.
7. the managing bill system according to claim 5 based on block chain, which is characterized in that registration module is used for
Before the addition request that user sends, the information of user is configured.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811284455.5A CN109598148B (en) | 2018-10-31 | 2018-10-31 | Invoice management method and system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811284455.5A CN109598148B (en) | 2018-10-31 | 2018-10-31 | Invoice management method and system based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109598148A true CN109598148A (en) | 2019-04-09 |
CN109598148B CN109598148B (en) | 2022-03-15 |
Family
ID=65957197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811284455.5A Active CN109598148B (en) | 2018-10-31 | 2018-10-31 | Invoice management method and system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109598148B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110738536A (en) * | 2019-10-14 | 2020-01-31 | 腾讯科技(深圳)有限公司 | data processing method, device and storage medium based on block chain network |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106952124A (en) * | 2017-03-16 | 2017-07-14 | 北京牛链科技有限公司 | Electronic bill management system and method based on distribution book keeping operation |
CN107451874A (en) * | 2017-07-27 | 2017-12-08 | 武汉天喻信息产业股份有限公司 | Electronic invoice integrated conduct method and system based on block chain |
WO2018106187A1 (en) * | 2016-12-06 | 2018-06-14 | Vesl Pte. Ltd. | System and method for reducing fraud in trade insurance and financing |
CN108711099A (en) * | 2018-06-07 | 2018-10-26 | 深圳鑫宏图工业设计有限公司 | A kind of financial system management method, electronic equipment and storage medium |
-
2018
- 2018-10-31 CN CN201811284455.5A patent/CN109598148B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018106187A1 (en) * | 2016-12-06 | 2018-06-14 | Vesl Pte. Ltd. | System and method for reducing fraud in trade insurance and financing |
CN106952124A (en) * | 2017-03-16 | 2017-07-14 | 北京牛链科技有限公司 | Electronic bill management system and method based on distribution book keeping operation |
CN107451874A (en) * | 2017-07-27 | 2017-12-08 | 武汉天喻信息产业股份有限公司 | Electronic invoice integrated conduct method and system based on block chain |
CN108711099A (en) * | 2018-06-07 | 2018-10-26 | 深圳鑫宏图工业设计有限公司 | A kind of financial system management method, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110738536A (en) * | 2019-10-14 | 2020-01-31 | 腾讯科技(深圳)有限公司 | data processing method, device and storage medium based on block chain network |
Also Published As
Publication number | Publication date |
---|---|
CN109598148B (en) | 2022-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10705801B2 (en) | Data processing systems for identity validation of data subject access requests and related methods | |
US7673323B1 (en) | System and method for maintaining security in a distributed computer network | |
US11164165B1 (en) | Multi-asset blockchain network platform | |
US20200043253A1 (en) | Blockchain Configuration History for Aircraft Maintenance, Modification, and Activity Tracking | |
CN108537640A (en) | A kind of management of leasing method based on block chain technology | |
WO2020040937A2 (en) | Blockchain-based service rental method, apparatus, and system, and electronic device | |
US20030115322A1 (en) | System and method for analyzing security policies in a distributed computer network | |
CN106600403A (en) | Asset management method, device and system | |
CN108875386A (en) | A kind of multicenter finite field block catenary system framework with block issue mechanism and application demand issue mechanism | |
CN102855587A (en) | Electronic invoice generating system for electronic commerce website | |
JP5144340B2 (en) | Contract content setting system and contract content setting method | |
CN107944837A (en) | A kind of authority processing method, device and system | |
CN111177252A (en) | Service data processing method and device | |
TWI744863B (en) | Proof aggregating system for asset management resume based on blockchain and method thereof | |
CN107832602B (en) | Unified electronic seal system based on identification | |
CN112100635B (en) | Law enforcement return system and method based on intelligent contract and workflow architecture | |
CN111429191A (en) | Block chain-based electronic invoice flow management method, device and system | |
WO2021164194A1 (en) | Reward point management method based on blockchain, and related apparatus | |
US11277411B2 (en) | Data protection and privacy regulations based on blockchain | |
CN111221914A (en) | Data exchange sharing tracing method based on block chain | |
CN116542637B (en) | Government platform safety control method based on computer | |
CN105809526A (en) | Asynchronous multithread processing-based on-line unified dutiable goods declaring method and system | |
CN108846740A (en) | A kind of financial data system | |
CN103914926B (en) | A kind of safety feature storing invoice | |
CN109598148A (en) | A kind of invoice management method and system based on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |