CN109146583A - bill processing method and device, storage medium and electronic device - Google Patents

bill processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN109146583A
CN109146583A CN201810820704.1A CN201810820704A CN109146583A CN 109146583 A CN109146583 A CN 109146583A CN 201810820704 A CN201810820704 A CN 201810820704A CN 109146583 A CN109146583 A CN 109146583A
Authority
CN
China
Prior art keywords
block chain
account
bill
electronic bill
processing
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
CN201810820704.1A
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.)
Shenzhen Intellectual Tax Chain Technology Co., Ltd.
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810820704.1A priority Critical patent/CN109146583A/en
Publication of CN109146583A publication Critical patent/CN109146583A/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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • 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/12Accounting
    • G06Q40/125Finance or payroll

Abstract

The embodiment of the present application discloses a kind of bill processing method and device, storage medium and electronic device.Wherein, this method comprises: obtaining electronic bill processing request, wherein electronic bill processing request is for requesting to handle the account bill configured in the first block chain account;It is handled and is requested according to electronic bill, the processing to the target bill in account bill is completed in block chain, obtains processing result, wherein comprising carrying out encrypted billing information to the target bill that processing is completed in processing result;Processing result is shared into object block chain account included in block chain, wherein, object block chain account includes holding the second block chain account of first key, the billing information that target bill is obtained for decryption processing result that first key is distributed by block chain.Present application addresses the low technical problems of the accuracy handled in the related technology to bill of exchange.

Description

Bill processing method and device, storage medium and electronic device
Technical field
The present invention relates to computer fields, in particular to a kind of bill processing method and device, storage medium and electricity Sub-device.
Background technique
In many transactions, seller is often that purchaser issues bill of exchange, and the bill of exchange is for proving The transaction of both parties and transaction amount are genuine and believable.In general, above-mentioned bill of exchange is by the consumer as purchaser Got from the unit of issuing as seller, then hand to check and write off unit completion check and write off processing.
However, much practising fraud in the above-mentioned treatment process to bill of exchange in order to speculate often to will appear Processing behavior.Thus, relevant departments usually can ticket contents in manual review's bill of exchange, but not only consumption is a large amount of in this way Manpower and material resources not can guarantee the authenticity of review data and since most of transaction is the individual activity of consumer And integrality, so as to cause not can guarantee the accuracy handled bill of exchange.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of bill processing methods and device, storage medium and electronic device, at least to solve The low technical problem of the accuracy that certainly bill of exchange is handled in the related technology.
According to an aspect of an embodiment of the present invention, a kind of bill processing method is provided, comprising: obtain at electronic bill Reason request, wherein above-mentioned electronic bill processing request for request to the account bill configured in the first block chain account into Row processing;It is handled and is requested according to above-mentioned electronic bill, the place to the target bill in above-mentioned account bill is completed in block chain Reason, obtains processing result, wherein encrypted comprising carrying out to the above-mentioned target bill that processing is completed in above-mentioned processing result Billing information;Above-mentioned processing result is shared into object block chain account included in above-mentioned block chain, wherein above-mentioned object Block chain account includes holding the second block chain account of first key, the use that above-mentioned first key is distributed by above-mentioned block chain The billing information of above-mentioned target bill is obtained in the above-mentioned processing result of decryption
According to an aspect of an embodiment of the present invention, a kind of bill processing apparatus is additionally provided, comprising: first obtains list Member, for obtaining electronic bill processing request, wherein above-mentioned electronic bill processing request is for requesting to the first block chain account Middle configured account bill is handled;First processing units are requested for being handled according to above-mentioned electronic bill, in block chain Processing of the middle completion to the target bill in above-mentioned account bill, obtains processing result, wherein includes pair in above-mentioned processing result The above-mentioned target bill that processing is completed carries out encrypted billing information;Sharing unit, for sharing above-mentioned processing result To object block chain account included in above-mentioned block chain, wherein above-mentioned object block chain account includes holding first key The second block chain account, above-mentioned first key by above-mentioned block chain distribute for decrypting above-mentioned processing result to obtain State the billing information of target bill.
According to an aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute above-mentioned bill processing method when operation.
According to an aspect of an embodiment of the present invention, it additionally provides a kind of electronic device, including memory, processor and deposits Store up the computer program that can be run on a memory and on a processor, wherein above-mentioned processor passes through computer program and executes Above-mentioned bill processing method.
In embodiments of the present invention, it uses and obtains electronic bill processing request;It is handled and is requested according to above-mentioned electronic bill, The processing to the target bill in account bill is completed in block chain, obtains processing result;Above-mentioned processing result is shared to The method of object block chain account included in above-mentioned block chain.In the above-mentioned methods, using block chain to account bill into Row operates, and the processing result after operation is shared with to the object block chain account in block chain.Since account bill is storage In block chain, therefore, the behavior operated to account bill can be known by the account on other block chains.To guarantee Accuracy and authenticity that account bill is handled.And then it solves and in the related technology bill of exchange is handled The low technical problem of accuracy.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of the application environment of optional bill processing method according to an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of optional bill processing method according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of optional bill processing method according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of optional bill processing method according to an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of optional bill processing method according to an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of optional bill processing method according to an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of optional bill processing method according to an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of optional bill processing method according to an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of optional bill processing apparatus according to an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of optional electronic device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of bill processing method is provided, optionally, as a kind of optional Embodiment, above-mentioned bill processing method can be, but not limited to be applied to environment as shown in Figure 1 in.
User 102 can carry out human-computer interaction between user equipment 104, include memory 106 in user equipment 104 With processor 108.User equipment 104 passes through the processing request of above-mentioned electronic bill after getting electronic bill processing request Step S102 is sent to block chain 112 by network 110.Block chain 112 after getting the processing request of above-mentioned electronic bill, It is handled and is requested according to above-mentioned electronic bill, block chain 112 handles the account bill in the first block chain account 114.? To the processing result of encryption.After the completion of processing, processing result is shared with the object block chain on block chain 112 by block chain 112 Account 116, object block chain account 116 can be used first key and decrypt above-mentioned processing result, obtain billing information.
It should be noted that in the related technology, when handling bill of exchange, usually there is the row practised fraud For.And when exercising supervision to the treatment process of bill of exchange, it is generally adopted by the mode of manual oversight, efficiency is relatively low.And In the present embodiment, it uses and obtains electronic bill processing request;It is handled and is requested according to above-mentioned electronic bill, it is complete in block chain The processing of target bill in pairs of account bill, obtains processing result;Above-mentioned processing result is shared in above-mentioned block chain The method for the object block chain account for being included.In the above-mentioned methods, account bill is operated using block chain, and will behaviour Processing result after work is shared with the object block chain account in block chain.Since account bill is stored in block chain, Therefore, the behavior operated to account bill can be known by the account on other block chains.To ensure that account bill The accuracy and authenticity handled.
Optionally, above-mentioned user equipment 104 can be, but not limited to as mobile phone, tablet computer, laptop, PC machine etc., Above-mentioned network can include but is not limited to wireless network or cable network.Wherein, which includes: WIFI and other realizations The network of wireless communication.Above-mentioned cable network can include but is not limited to: wide area network, Metropolitan Area Network (MAN), local area network.Above-mentioned bill processing Method can be applied to but be not limited to be applied to it is any can carry out in the equipment of data calculating, such as in server or terminal In.
Optionally, as an alternative embodiment, as shown in Fig. 2, above-mentioned bill processing method includes:
S202 obtains electronic bill processing request, wherein electronic bill processing request is for requesting to the first block chain account The account bill configured in family is handled;
S204 is handled according to electronic bill and is requested, and the processing to the target bill in account bill is completed in block chain, Obtain processing result, wherein comprising carrying out encrypted billing information to the target bill that processing is completed in processing result;
Processing result is shared to object block chain account included in block chain by S206, wherein object block chain account Family includes the second block chain account for holding first key, first key by block chain distribute for decryption processing result with Obtain the billing information of target bill.
Optionally, above-mentioned bill processing method can be, but not limited to during being applied to issued notes, or issue ticket During perhaps bill is submitted an expense account during or during bill is paid.
Such as shown in figure 3, block chain gets electronic bill processing request by step S302, electronic bill processing is asked It asks for requesting to handle the account bill in the first block chain account.Block chain is according to the above-mentioned electronic bill got Processing request handles the account bill in the first block chain account, and obtains processing result.Include in processing result Encrypted billing information.Later, the processing result that block chain will acquire is shared with object block chain account.It is obtained in block chain In the case where getting the first key that the second block chain account in object block chain account is sent, allow the second block chain account Billing information is decrypted, checks content documented by billing information.
It should be noted that in the present embodiment, using and obtaining electronic bill processing request;According to above-mentioned electronic bill Processing request completes the processing to the target bill in account bill in block chain, obtains processing result;Above-mentioned processing is tied The method that fruit shares to object block chain account included in above-mentioned block chain.In the above-mentioned methods, using block chain reconciliation Family bill is operated, and the processing result after operation is shared with to the object block chain account in block chain.Due to account ticket According to being stored in block chain, therefore, the behavior operated to account bill can be known by the account on other block chains. To ensure that the accuracy and authenticity handled account bill.
Optionally, above-mentioned acquisition electronic bill processing request can be, but not limited to ask in client triggering electronic bill processing After asking, the processing request of above-mentioned electronic bill is sent to block chain.Optionally, above-mentioned client triggering electronic bill processing request The button that can be, but not limited to show for the client perhaps client that is pressed receives fixed screen sliding operation or client Termination receives preset finger print information, acoustic information or client and receives preset literal order etc..It is shown with client Button be pressed, trigger electronic bill processing request for, Fig. 4 be a kind of optional client display interface.Such as Fig. 4 It is shown, multiple account bills are shown in Fig. 4, every bill can be carried out showing.Client can receive selection processing The quantity of account bill then sends electronic bill processing request when the confirming button for detecting that client is shown is pressed Block chain is given, block chain is handled according to above-mentioned electronic bill and requested after receiving above-mentioned electronic bill processing request Content, multiple account bills selected to client handle.And processing result is shared with object block chain account.
Optionally, above-mentioned account bill can be, but not limited to include following one of any: the coupon identification of account bill, account Purchaser's title of family bill, the Taxpayer Identification Number of account bill, the date of making out an invoice of account bill, account bill purposes and The amount of money, the purchaser address of account bill or phone, the bank of deposit of account bill and account, the seller title of account bill, The seller title of account bill, the seller address of account bill or phone etc..
Optionally, before processing result to be shared to object block chain account included in block chain, further includes: to The first client for registering the first block chain account sends authentication request, wherein carries in authentication request and electronic ticket Corresponding hash index value is requested according to processing;The authentication signature that the first client uses the second key pair hash index value is obtained, Wherein, it is legitimate request that authentication signature, which is used to indicate electronic bill processing request, and the second key is used for by what block chain distributed Authentication request corresponding with the first block chain account is authenticated.
Optionally, above-mentioned the first client to for registering the first block chain account send authentication request can with but it is unlimited In for the display reminding information in the first client, prompt information is for prompting user's input authentication to sign.Getting user After the authentication signature of input, just allow that account bill will be carried out that treated that processing result is shared with object block chain account.
Optionally, it is handled and is requested according to electronic bill, the place to the target bill in account bill is completed in block chain Reason, obtaining processing result includes: the account information for obtaining the second client for generating electronic bill processing request and being uploaded, It wherein, include the identity information for having authenticated account in account information;Account information is added in processing result.
Optionally, the account information that above-mentioned the second client of acquisition is uploaded can be, but not limited to include that acquisition is following at least One of: account number, account title, account liveness, wherein above-mentioned account liveness is for indicating that account generates electronic bill Handle frequency, the account credit worthiness of request, wherein above-mentioned account credit worthiness is for indicating that account generates electronic bill processing request The percentage that is successfully processed afterwards, account historical requests quantity, wherein above-mentioned account historical requests quantity is for indicating that account generates The quantity of electronic bill processing request, the account historical requests amount of money, wherein the above-mentioned historical requests amount of money is for indicating account history Initiate total amount number, account enterprise, account ownership place, account contact method, account residue hair that processing is requested in processing Play request permissions etc..
Optionally, it catches on a second client after stating one or more in account information, block chain is by above-mentioned The account information that two clients upload is added in processing result.
Optionally, after obtaining electronic bill processing request, further includes: obtain entrained in electronic bill processing request Timestamp;It is located in the case where being effectively treated in the period of the first block chain account in timestamp, counts at electronic bill Manage the number of requests of request;In the case where number of requests not up to handles threshold value, the target bill in account bill is carried out Processing.
Optionally, the timestamp carried in above-mentioned acquisition electronic bill processing request can be, but not limited to obtain and initiating State the time of electronic bill processing request.It is above-mentioned to be effectively treated the period and can be, but not limited to as the preset time Section, for example, 1 year is divided into 12 months, when with each moon be an effective period of time or every day is one effective Between section, or be effective period of time etc. per several hours.It can be greater than etc. for each effective period of time default one In 1 number of requests, the number of the electronic bill processing request for indicating to initiate in effective period of time.It is getting After the timestamp carried in above-mentioned electronic bill processing request, the number of requests in effective period of time at timestamp is judged Whether it has been more than processing threshold value, if processing quantity is more than or equal to processing threshold value, has not allowed to initiate electronic bill processing request, or Person's block chain does not respond after receiving above-mentioned electronic bill processing request.
Optionally, the above-mentioned target bill in account bill is handled, obtain processing result can be, but not limited to for Determine that the coupon identification of the target bill of transfer is requested in electronic bill processing from account bill;It is looked into block chain In the case where finding out with the matched target bill of coupon identification, target bill is transferred to the second block chain account in block chain Family.
Optionally, the coupon identification of different account bills is different.
Optionally, above-mentioned target bill is transferred to the second block chain account to can be, but not limited to as by the first block chain account Target bill in family is deleted, and target bill is generated in the second block chain account.For example, as shown in figure 5, the first block Include 4 account bills in chain account, includes 3 account bills in the second block chain account, getting electronic bill After processing request, an account bill is transferred to the second block chain account by above-mentioned electronic bill processing request instruction.Then block Chain gets the coupon identification in electronic bill processing request, and finds target bill according to coupon identification, and by target ticket According to deletion, while generating in the second block chain account the target bill of above-mentioned coupon identification instruction.
Optionally, the above-mentioned target bill in account bill is handled, and obtaining processing result can also be to account Filling information in target bill in bill.Optionally, block chain gets electronics after getting electronic bill processing request The filling information that carries in bill processing request, and the target bill above-mentioned filling information being filled into account bill is specified In position.Above-mentioned filling information can be the information such as Chinese character, letter, number.For example, by taking filling information is Chinese character as an example, such as Fig. 6 It is shown, after getting electronic bill processing request, following filling information: buyer is carried in electronic bill processing request: So-and-so company.Then after block chain gets above-mentioned electronic bill processing request, is handled in request and taken according to above-mentioned electronic bill The coupon identification of band searches out target bill from account bill, and so-and-so company is filled into the buyer position of target bill It sets.
Optionally, it in the processing to the target bill in account bill, after obtaining processing result, can be, but not limited to pair Obtained processing result is encrypted.Optionally, it is above-mentioned to processing result carry out encryption can be, but not limited to above-mentioned processing knot Full content in fruit is encrypted, or is encrypted to the partial content in above-mentioned processing result.Optionally, above-mentioned to place After reason result is encrypted, it can be, but not limited to carry out secondary encryption to the content selected in processing result, wherein secondary Encrypted content can not be decrypted by first key.
Optionally, as shown in fig. 7, Fig. 7 optionally carries out encryption to processing result or to processing result progress to be a kind of The display interface of secondary encryption.It can be seen that including multinomial content in target bill in Fig. 7.It can be, but not limited to pass through a little A part of content in mode selected target bill that touching or sliding touch, and above-mentioned selected a part of content is added The close or secondary encryption of progress.Chosen content can carry annotated mark or modal variation, for indicating the portion Divide content chosen.For example, indicating that the contents of the section is chosen with to hook in Fig. 7.After receiving determine instruction, block chain pair The content selected in target bill is encrypted or is carried out secondary encryption.
Optionally, above-mentioned first block chain account can be, but not limited to issue the mechanism of electronic bill, such as publisher, Or the mechanism of electronic bill, such as the person of making out an invoice are issued, or check and write off the focal pointe of electronic bill, such as the person of checking and writing off, or Person pays the mechanism of electronic bill, such as the person of paying.Above-mentioned second block chain account can be, but not limited to issue electronic bill Mechanism, such as publisher, or issue the mechanism of electronic bill, such as the person of making out an invoice, or check and write off electronic bill mechanism or Individual, such as the person of checking and writing off, or pay the mechanism of electronic bill, such as the person of paying.
Above-mentioned bill processing method is illustrated below in conjunction with Fig. 8.
For example, the first block chain account is publisher, the second block chain account is the person of making out an invoice, then publisher passes through step S802 sends to block chain and requests, and request issues 100 electronic bills to the person of making out an invoice, then block chain gets 100 electronic tickets According to coupon identification, and get the account identification for the person of making out an invoice, block chain reduces the electronic bill quantity of issuing of publisher 100, and above-mentioned 100 electronic bills are deleted, while increasing above-mentioned 100 in the account of the person of making out an invoice in account identification instruction Electronic bill.Partial information in above-mentioned 100 electronic bills may be encrypted, if be encrypted, then need the person of making out an invoice according to First key is decrypted, just it can be seen that encrypted information.If the partial information in 100 electronic bills is added by secondary It is close, then it can not be decrypted by first key by the content of secondary encryption.Publisher, can be with after electronic bill is opened in distribution 100 Electronic bill is authenticated, in the case where certification passes through, just allows to issue above-mentioned 100 electronic bills.
Or first block chain account be the person of making out an invoice, the second block chain account is the person of checking and writing off, and the person that then do not make out an invoice passes through step S804 sends to block chain and requests, and request opens 1 electronic bill to the person of checking and writing off, then block chain gets the ticket of 1 electronic bill According to mark, and the account identification for the person of checking and writing off is got, the electronic bill quantity of issuing for the person of making out an invoice is reduced 1 by block chain, and will Above-mentioned 1 electronic bill is deleted, while increasing above-mentioned 1 electronic bill in the account of the person of checking and writing off in account identification instruction.On Stating the partial information in 1 electronic bill may be encrypted, if being encrypted, then need the person of checking and writing off to be solved according to first key It is close, just it can be seen that encrypted information.If the partial information in 1 electronic bill is by secondary encryption, then by secondary encryption Content can not be decrypted by first key.The person of making out an invoice can recognize electronic bill after issuing 1 electronic bill Card, in the case where certification passes through, just allows to issue above-mentioned 1 electronic bill.
Or first block chain account be the person of checking and writing off, the second block chain account be the person of paying, then do not check and write off person and pass through step S806 sends to block chain and requests, and request checks and writes off 2 electronic bills to the person of paying, then block chain gets 2 electronic bills The electronic bill quantity of checking and writing off for the person of checking and writing off is reduced 2 by coupon identification, and get the account identification for the person of paying, block chain, and Above-mentioned 2 electronic bills are deleted, while increasing above-mentioned 2 electronic bills in the account of the person of paying in account identification instruction. Partial information in above-mentioned 2 electronic bills may be encrypted, if being encrypted, then the person of paying be needed to be carried out according to first key Decryption, just it can be seen that encrypted information.If the partial information in 2 electronic bills by secondary encryption, is then added by secondary Close content can not be decrypted by first key.The person of checking and writing off can recognize electronic bill after checking and writing off 2 electronic bills Card, in the case where certification passes through, just allows to issue above-mentioned 2 electronic bills.It is also desirable to will the person of checking and writing off it is certified The identity information of account is added in processing result, to be saved.For example, the unit one belongs to for the person of checking and writing off is added with record is checked and write off It is added in processing result.
Or first block chain account be the person of paying, the second block chain account be publisher, then do not pay person and pass through step S808 sends to block chain and requests, and request pays 100 electronic bills to publisher, then block chain gets 100 electronic tickets According to coupon identification, and get the account identification of publisher, block chain reduces the electronic bill quantity of paying for the person of paying 100, and above-mentioned 100 electronic bills are deleted, while increasing above-mentioned 100 in the account of the publisher in account identification instruction Electronic bill.Partial information in above-mentioned 100 electronic bills may be encrypted, if be encrypted, then need publisher according to First key is decrypted, just it can be seen that encrypted information.If the partial information in 100 electronic bills is added by secondary It is close, then it can not be decrypted by first key by the content of secondary encryption.The person of paying, can be with after paying 100 electronic bills Electronic bill is authenticated, in the case where certification passes through, just allows to issue above-mentioned 100 electronic bills.
Through this embodiment, by using acquisition electronic bill processing request;It is handled and is requested according to above-mentioned electronic bill, The processing to the target bill in above-mentioned account bill is completed in block chain, obtains processing result;Above-mentioned processing result is shared To the method for object block chain account included in above-mentioned block chain.In the above-mentioned methods, using block chain to account bill It is operated, and the processing result after operation is shared with to the object block chain account in block chain.Since account bill is to deposit Storage is in block chain, and therefore, the behavior operated to account bill can be known by the account on other block chains.To protect The accuracy and authenticity handled account bill is demonstrate,proved.
It as a kind of optional embodiment, is handled and is requested according to electronic bill, completed in block chain to account bill In target bill handled, obtaining processing result includes:
S1 determines that the coupon identification of the target bill of transfer is requested in electronic bill processing from account bill;
S2, in the case where target bill matched with coupon identification is found out in block chain, by target in block chain Bill is transferred to the second block chain account.
Optionally, the coupon identification of different account bills is different.
Optionally, above-mentioned target bill is transferred to the second block chain account to can be, but not limited to as by the first block chain account Target bill in family is deleted, and target bill is generated in the second block chain account.For example, as shown in figure 5, the first block Include 4 account bills in chain account, includes 3 account bills in the second block chain account, getting electronic bill After processing request, an account bill is transferred to the second block chain account by above-mentioned electronic bill processing request instruction.Then block Chain gets the coupon identification in electronic bill processing request, and finds target bill according to coupon identification, and by target ticket According to deletion, while generating in the second block chain account the target bill of above-mentioned coupon identification instruction.
Through this embodiment, by get electronic bill processing request in target bill coupon identification after, root Target bill is shifted according to the coupon identification of above-mentioned target bill, is transferred to the second block chain account, to improve pair The treatment effeciency and accuracy that target bill is handled.
As a kind of optional embodiment, determine that transfer is requested in electronic bill processing from account bill The coupon identification of target bill includes:
S1 reflects in the case where carrying bill change mapping relations in electronic bill processing request according to bill change The relationship of penetrating determines the coupon identification that be transferred to the target bill of the second block chain account, wherein bill change mapping is closed System includes the electricity for receiving block chain account and the block chain account of the first block chain account institute electronic bill to be changed and being received Corresponding relationship between the bill number of sub- bill, the account bill in the first block chain account include the first block chain account institute Electronic bill to be changed, block chain account include the second block chain account.
Optionally, above-mentioned bill change mapping relations can be, but not limited to as the first block chain account and the second block chain account The corresponding relationship at family.
For example, being asked in the corresponding relationship for getting the first block chain account and the second block chain account with electronic bill processing It after asking, is handled and is requested according to above-mentioned electronic bill, by bill number entrained in the target bill in the first block chain account It is transferred in the second block chain account.
Through this embodiment, by according to bill change mapping relations carry out poll number transfer, thus improve into The safety and efficiency of the bill number transfer of row electronic bill.
As a kind of optional embodiment, transfer is requested determining that electronic bill is handled from account bill Target bill coupon identification before, further includes:
(1) in the case where electronic bill processing request is for requesting distribution electronic bill, the second block chain account is determined Account identification, wherein the second block chain account includes that will receive the first block chain account in block chain to be issued One or more target object block chain accounts of electronic bill, the account bill in the first block chain account include the first block The electronic bill to be issued of chain account;Or
(2) in the case where electronic bill processing request is for requesting to issue electronic bill, the second block chain account is determined Account identification, wherein the second block chain account includes that will receive the first block chain account in block chain to be issued One or more target object block chain accounts of electronic bill, the account bill in the first block chain account include the first block The electronic bill to be issued of chain account;Or
(3) in the case where electronic bill processing request is for requesting to check and write off electronic bill, the second block chain account is determined Account identification, wherein the second block chain account includes that will receive the first block chain account in block chain to be checked and write off One or more target object block chain accounts of electronic bill, the account bill in the first block chain account include the first block The electronic bill to be checked and write off of chain account;Or
(4) in the case where electronic bill processing request is for requesting to pay electronic bill, the second block chain account is determined Account identification, wherein the second block chain account includes that will receive the first block chain account in block chain to be paid One or more target object block chain accounts of electronic bill, the account bill in the first block chain account include the first block The electronic bill to be paid of chain account.
Through this embodiment, determining the second different block chain account is corresponded to and request by handling according to electronic bill, To improve the processing flexibility handled electronic bill.
As a kind of optional embodiment, processing result is being shared into object block chain account included in block chain Before family, further includes:
S1 sends authentication request to the first client for registering the first block chain account, wherein take in authentication request With hash index value corresponding with electronic bill processing request;
S2 obtains the authentication signature that the first client uses the second key pair hash index value, wherein authentication signature is used for Indicate electronic bill processing request be legitimate request, the second key for block chain distribute be used for the first block chain account Corresponding authentication request is authenticated.
For example, display reminding information, prompt information are used in the first client before handling target bill Prompt user's input authentication signature.After the authentication signature for getting user's input, just allow that account bill will be handled Processing result afterwards is shared with object block chain account.
Through this embodiment, the authentication signature that the second key pair hash index value is used by obtaining the first client, from And ensure that electronic bill processing request is legitimate request, improve the safety handled electronic bill.
It as a kind of optional embodiment, is handled and is requested according to electronic bill, completed in block chain to account bill In target bill processing, obtaining processing result includes:
S1 obtains the account information that the second client for generating electronic bill processing request is uploaded, wherein account It include the identity information for having authenticated account in information;
Account information is added in processing result by S2.
Optionally, the account information that above-mentioned the second client of acquisition is uploaded can be, but not limited to include that acquisition is following at least One of: account number, account title, account liveness, wherein above-mentioned account liveness is for indicating that account generates electronic bill Handle frequency, the account credit worthiness of request, wherein above-mentioned account credit worthiness is for indicating that account generates electronic bill processing request The percentage that is successfully processed afterwards, account historical requests quantity, wherein above-mentioned account historical requests quantity is for indicating that account generates The quantity of electronic bill processing request, the account historical requests amount of money, wherein the above-mentioned historical requests amount of money is for indicating account history Initiate total amount number, account enterprise, account ownership place, account contact method, account residue hair that processing is requested in processing Play request permissions etc..
For example, getting above-mentioned account title and account so that account information is account title and account liveness as an example After liveness, above- mentioned information are added in processing result, and are shared with the second block chain account in the second block chain account After being decoded to processing result, above-mentioned account title and account liveness can be viewed.
Through this embodiment, after the account information by getting the upload of the second client, above-mentioned account information is added Into processing result, to ensure that the information security of target bill processing.
As a kind of optional embodiment, after obtaining electronic bill processing request, further includes:
S1 obtains timestamp entrained in electronic bill processing request;
S2 is located in the case where being effectively treated in the period of the first block chain account in timestamp, counts electronic bill Handle the number of requests of request;
S3 is handled the target bill in account bill in the case where number of requests not up to handles threshold value.
Optionally, the timestamp carried in above-mentioned acquisition electronic bill processing request can be, but not limited to obtain and initiating State the time of electronic bill processing request.It is above-mentioned to be effectively treated the period and can be, but not limited to as the preset time Section,
For example, 1 year is divided into 12 months, it is an effective period of time with each moon or is one every day and has It imitates the period, or is effective period of time etc. per several hours.It can be big for each effective period of time default one In the number of requests for being equal to 1, the number of the electronic bill processing request for indicating to initiate in effective period of time.It is obtaining After getting the timestamp carried in above-mentioned electronic bill processing request, the request in effective period of time at timestamp is judged Whether quantity has been more than processing threshold value, if processing quantity is more than or equal to processing threshold value, does not allow to initiate electronic bill processing and asks It asks or block chain does not respond after receiving above-mentioned electronic bill processing request.
Through this embodiment, it by getting the timestamp carried in electronic bill processing request, and is determined according to timestamp It is fixed whether target bill to be handled, to limit the quantity handled target data, improve to target The safety that data are handled.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) method that executes each embodiment of the present invention.
According to an aspect of an embodiment of the present invention, it additionally provides a kind of for implementing the bill of above-mentioned bill processing method Processing unit.As shown in figure 9, the device includes:
(1) first acquisition unit 902, for obtaining electronic bill processing request, wherein electronic bill processing request is used for Request handles the account bill configured in the first block chain account;
(2) first processing units 904 are requested for being handled according to electronic bill, are completed in block chain to account bill In target bill processing, obtain processing result, wherein in processing result comprising to be completed processing target bill carry out Encrypted billing information;
(3) sharing unit 906, for processing result to be shared to object block chain account included in block chain, In, object block chain account includes holding the second block chain account of first key, the use that first key is distributed by block chain The billing information of target bill is obtained in decryption processing result.
Optionally, above-mentioned bill processing apparatus can be, but not limited to during being applied to issued notes, or issue ticket During perhaps bill is submitted an expense account during or during bill is paid.
As a kind of optional embodiment, above-mentioned processing unit includes:
(1) first determining module, for determining that the mesh of transfer is requested in electronic bill processing from account bill Mark the coupon identification of bill;
(2) shift module, in the case where for finding out target bill matched with coupon identification in block chain, in area Target bill is transferred to the second block chain account in block chain.
Optionally, the coupon identification of different account bills is different.
Optionally, above-mentioned target bill is transferred to the second block chain account to can be, but not limited to as by the first block chain account Target bill in family is deleted, and target bill is generated in the second block chain account.Through this embodiment, by obtaining To after the coupon identification of the target bill in electronic bill processing request, according to the coupon identification of above-mentioned target bill to target ticket According to being shifted, it is transferred to the second block chain account, to improve the treatment effeciency handled to target bill and accurate Property.
As a kind of optional embodiment, above-mentioned determining module includes:
(1) submodule is determined, in the case where for carrying bill change mapping relations in electronic bill processing request, Mapping relations, which are changed, according to bill determines the coupon identification that be transferred to the target bill of the second block chain account, wherein Bill change mapping relations include receive the first block chain account institute electronic bill to be changed block chain account and block chain Corresponding relationship between the bill number for the electronic bill that account is received, the account bill in the first block chain account include the One block chain account institute electronic bill to be changed, block chain account includes the second block chain account.
As a kind of optional embodiment, above-mentioned processing unit further include:
(1) second determining module, for determined from account bill electronic bill processing request shift Before the coupon identification of target bill, in the case where electronic bill processing request is for requesting distribution electronic bill, the is determined The account identification of two block chain accounts, wherein the second block chain account, which is included in block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be issued of family, the account bill in the first block chain account Including the first electronic bill to be issued of block chain account;Or
(2) third determining module, for determined from account bill electronic bill processing request shift Before the coupon identification of target bill, in the case where electronic bill processing request is for requesting to issue electronic bill, the is determined The account identification of two block chain accounts, wherein the second block chain account, which is included in block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be issued of family, the account bill in the first block chain account Including the first electronic bill to be issued of block chain account;Or
(3) the 4th determining modules, for determined from account bill electronic bill processing request shift Before the coupon identification of target bill, in the case where electronic bill processing request is for requesting to check and write off electronic bill, the is determined The account identification of two block chain accounts, wherein the second block chain account, which is included in block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be checked and write off of family, the account bill in the first block chain account Including the first electronic bill to be checked and write off of block chain account;Or
(4) the 5th determining modules, for determined from account bill electronic bill processing request shift Before the coupon identification of target bill, in the case where electronic bill processing request is for requesting to pay electronic bill, the is determined The account identification of two block chain accounts, wherein the second block chain account, which is included in block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be paid of family, the account bill in the first block chain account Including the first electronic bill to be paid of block chain account.
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) transmission unit, for before processing result to be shared to object block chain account included in block chain, Authentication request is sent to the first client for registering the first block chain account, wherein is carried in authentication request and electronics Corresponding hash index value is requested in bill processing;
(2) second acquisition unit uses the authentication signature of the second key pair hash index value for obtaining the first client, Wherein, it is legitimate request that authentication signature, which is used to indicate electronic bill processing request, and the second key is used for by what block chain distributed Authentication request corresponding with the first block chain account is authenticated.For example, before handling target bill, first Display reminding information in client, prompt information is for prompting user's input authentication to sign.In the certification for getting user's input After signature, just allow that account bill will be carried out that treated that processing result is shared with object block chain account.
Through this embodiment, the authentication signature that the second key pair hash index value is used by obtaining the first client, from And ensure that electronic bill processing request is legitimate request, improve the safety handled electronic bill.
As a kind of optional embodiment, above-mentioned processing unit includes:
(1) third acquiring unit handles what the second client requested was uploaded for generating electronic bill for obtaining Account information, wherein include the identity information for having authenticated account in account information;
(2) adding unit, for account information to be added in processing result.
Optionally, the account information that above-mentioned the second client of acquisition is uploaded can be, but not limited to include that acquisition is following at least One of: account number, account title, account liveness, wherein above-mentioned account liveness is for indicating that account generates electronic bill Handle frequency, the account credit worthiness of request, wherein above-mentioned account credit worthiness is for indicating that account generates electronic bill processing request The percentage that is successfully processed afterwards, account historical requests quantity, wherein above-mentioned account historical requests quantity is for indicating that account generates The quantity of electronic bill processing request, the account historical requests amount of money, wherein the above-mentioned historical requests amount of money is for indicating account history Initiate total amount number, account enterprise, account ownership place, account contact method, account residue hair that processing is requested in processing Play request permissions etc..
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) the 4th acquiring unit, for obtaining in electronic bill processing request after obtaining electronic bill processing request Entrained timestamp;
(2) statistic unit, for being located in the case where being effectively treated in the period of the first block chain account in timestamp, Count the number of requests of electronic bill processing request;
(3) second acquisition unit is used in the case where number of requests not up to handles threshold value, to the mesh in account bill Mark bill is handled.
Optionally, the timestamp carried in above-mentioned acquisition electronic bill processing request can be, but not limited to obtain and initiating State the time of electronic bill processing request.It is above-mentioned to be effectively treated the period and can be, but not limited to as the preset time Section,
Through this embodiment, it by getting the timestamp carried in electronic bill processing request, and is determined according to timestamp It is fixed whether target bill to be handled, to limit the quantity handled target data, improve to target The safety that data are handled.
According to an aspect of an embodiment of the present invention, it additionally provides a kind of for implementing the electronics of above-mentioned bill processing method Device, as shown in Figure 10, the electronic device include memory 1002 and processor 1004, are stored with calculating in the memory 1002 Machine program, the processor 1004 are arranged to execute the step in any of the above-described embodiment of the method by computer program.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 obtains electronic bill processing request, wherein electronic bill processing request is for requesting to the first block chain account Middle configured account bill is handled;
S2 is handled according to electronic bill and is requested, and the processing to the target bill in account bill is completed in block chain, is obtained To processing as a result, wherein, in processing result including to carry out encrypted billing information to the target bill that processing is completed;
Processing result is shared to object block chain account included in block chain by S3, wherein object block chain account The second block chain account including holding first key, first key are used for decryption processing result by what block chain distributed to obtain Take the billing information of target bill.
Optionally, it will appreciated by the skilled person that structure shown in Fig. 10 is only to illustrate, electronic device can also To be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device The terminal devices such as (Mobile Internet Devices, MID), PAD.Figure 10 it does not make to the structure of above-mentioned electronic device At restriction.For example, electronic device may also include than shown in Figure 10 more perhaps less component (such as network interface) or With the configuration different from shown in Figure 10.
Wherein, memory 1002 can be used for storing software program and module, such as the bill processing in the embodiment of the present invention Corresponding program instruction/the module of method and apparatus, the software program that processor 1004 is stored in memory 1002 by operation And module realizes above-mentioned bill processing method thereby executing various function application and data processing.Memory 1002 It may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, memory 1002 can further comprise relative to processor 1004 remotely located memories, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.Wherein, memory 1002 specifically can with but It is not limited to use in the information such as storage account bill.As an example, as shown in Figure 10, in above-mentioned memory 1002 can with but not It is limited to include first acquisition unit 902, first processing units 904, the sharing unit 906 in above-mentioned bill processing apparatus.In addition, It can also include but is not limited to other modular units in above-mentioned bill processing apparatus, be repeated no more in this example.
Optionally, above-mentioned transmitting device 1006 is used to that data to be received or sent via a network.Above-mentioned network Specific example may include cable network and wireless network.In an example, transmitting device 1006 includes a network adapter (Network Interface Controller, NIC), can be connected by cable with other network equipments with router to It can be communicated with internet or local area network.In an example, transmitting device 1006 be radio frequency (Radio Frequency, RF) module is used to wirelessly be communicated with internet.
In addition, above-mentioned electronic device further include: display 1008, for showing the information such as above-mentioned target bill;And connection Bus 1010, for connecting the modules component in above-mentioned electronic device.
According to one aspect of the embodiment of the invention, additionally providing a kind of storage medium, it is stored in the storage medium Computer program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 obtains electronic bill processing request, wherein electronic bill processing request is for requesting to the first block chain account Middle configured account bill is handled;
S2 is handled according to electronic bill and is requested, and the processing to the target bill in account bill is completed in block chain, is obtained To processing as a result, wherein, in processing result including to carry out encrypted billing information to the target bill that processing is completed;
Processing result is shared to object block chain account included in block chain by S3, wherein object block chain account The second block chain account including holding first key, first key are used for decryption processing result by what block chain distributed to obtain Take the billing information of target bill.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of bill processing method characterized by comprising
Obtain electronic bill processing request, wherein the electronic bill processing request is for requesting in the first block chain account The account bill configured is handled;
It is handled and is requested according to the electronic bill, the processing to the target bill in the account bill is completed in block chain, Obtain processing result, wherein comprising carrying out encrypted ticket to the target bill that processing is completed in the processing result It is believed that breath;
The processing result is shared into object block chain account included in the block chain, wherein the object block Chain account includes holding the second block chain account of first key, and the first key is used to solve by what the block chain distributed The close processing result is to obtain the billing information of the target bill.
2. the method according to claim 1, wherein described handled according to the electronic bill is requested, in block The processing to the target bill in the account bill is completed in chain, obtaining processing result includes:
Determine that the bill of the target bill of transfer is requested in the electronic bill processing from the account bill Mark;
In the case where finding out the target bill matched with the coupon identification in the block chain, in the block chain It is middle that the target bill is transferred to the second block chain account.
3. according to the method described in claim 2, it is characterized in that, described determine the electronic ticket from the account bill Include: according to the coupon identification for requesting the target bill of transfer is handled
In the case where carrying bill change mapping relations in electronic bill processing request, reflected according to bill change The relationship of penetrating determines the coupon identification that be transferred to the target bill of the second block chain account, wherein the ticket According to change mapping relations include receive the first block chain account electronic bill to be changed block chain account with it is described Corresponding relationship between the bill number for the electronic bill that block chain account is received, in the first block chain account The account bill includes the first block chain account institute electronic bill to be changed, and the block chain account includes described the Two block chain accounts.
4. according to the method described in claim 2, it is characterized in that, determining the electronics from the account bill described Bill processing is requested before the coupon identification of the target bill of transfer, further includes:
In the case where electronic bill processing request is for requesting distribution electronic bill, the second block chain account is determined Account identification, wherein the second block chain account, which is included in the block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be issued of family, it is described in the first block chain account Account bill includes the electronic bill to be issued of the first block chain account;Or
In the case where electronic bill processing request is for requesting to issue electronic bill, the second block chain account is determined Account identification, wherein the second block chain account, which is included in the block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be issued of family, it is described in the first block chain account Account bill includes the electronic bill to be issued of the first block chain account;Or
In the case where electronic bill processing request is for requesting to check and write off electronic bill, the second block chain account is determined Account identification, wherein the second block chain account, which is included in the block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be checked and write off of family, it is described in the first block chain account Account bill includes the electronic bill to be checked and write off of the first block chain account;Or
In the case where electronic bill processing request is for requesting to pay electronic bill, the second block chain account is determined Account identification, wherein the second block chain account, which is included in the block chain, will receive the first block chain account One or more target object block chain accounts of the electronic bill to be paid of family, it is described in the first block chain account Account bill includes the electronic bill to be paid of the first block chain account.
5. the method according to claim 1, wherein the processing result is shared to the block chain described Included in front of object block chain account, further includes:
Authentication request is sent to the first client for registering the first block chain account, wherein in the authentication request Carry hash index value corresponding with electronic bill processing request;
It obtains first client and uses the authentication signature of hash index value described in the second key pair, wherein the certification label It is legitimate request that name, which is used to indicate the electronic bill processing request, and second key is used for by what the block chain distributed The authentication request corresponding with the first block chain account is authenticated.
6. the method according to claim 1, wherein described handled according to the electronic bill is requested, in block The processing to the target bill in the account bill is completed in chain, obtaining processing result includes:
Obtain the account information that the second client for generating the electronic bill processing request is uploaded, wherein the account It include the identity information for having authenticated account in number information;
The account information is added in the processing result.
7. the method according to claim 1, wherein also being wrapped after acquisition electronic bill processing request It includes:
Obtain timestamp entrained in the electronic bill processing request;
It is located in the case where being effectively treated in the period of the first block chain account in the timestamp, counts the electronics The number of requests of bill processing request;
In the case where the number of requests not up to handles threshold value, at the target bill in the account bill Reason.
8. a kind of bill processing apparatus characterized by comprising
First acquisition unit handles request for obtaining electronic bill, wherein the electronic bill processing request is for request pair The account bill configured in first block chain account is handled;
First processing units are requested for being handled according to the electronic bill, are completed in block chain in the account bill Target bill processing, obtain processing result, wherein comprising to the target ticket that processing is completed in the processing result According to the encrypted billing information of progress;
Sharing unit, for the processing result to be shared to object block chain account included in the block chain, wherein The object block chain account includes holding the second block chain account of first key, and the first key is the block chain institute Distribution is used to decrypt the processing result to obtain the billing information of the target bill.
9. device according to claim 8, which is characterized in that the processing unit includes:
First determining module, for determining that the institute of transfer is requested in the electronic bill processing from the account bill State the coupon identification of target bill;
Shift module, the case where for finding out the target bill matched with the coupon identification in the block chain Under, the target bill is transferred to the second block chain account in the block chain.
10. device according to claim 9, which is characterized in that the determining module includes:
Determine submodule, in the case where for carrying bill change mapping relations in electronic bill processing request, root The bill that be transferred to the target bill of the second block chain account is determined according to bill change mapping relations Mark, wherein bill change mapping relations include receive the first block chain account electronic bill to be changed Corresponding relationship between the bill number for the electronic bill that block chain account and the block chain account are received, described The account bill in one block chain account includes the first block chain account institute electronic bill to be changed, the block Chain account includes the second block chain account.
11. device according to claim 9, which is characterized in that the processing unit further include:
Second determining module, for determining that the electronic bill processing requests to turn from the account bill described Before the coupon identification of the target bill moved, in electronic bill processing request for requesting the feelings of distribution electronic bill Under condition, the account identification of the second block chain account is determined, wherein the second block chain account is included in the block chain In will receive one or more target object block chain accounts of the electronic bill to be issued of the first block chain account, The account bill in the first block chain account includes the electronic bill to be issued of the first block chain account;Or Person
Third determining module, for determining that the electronic bill processing requests to turn from the account bill described Before the coupon identification of the target bill moved, it is used to request to issue the feelings of electronic bill in electronic bill processing request Under condition, the account identification of the second block chain account is determined, wherein the second block chain account is included in the block chain In will receive one or more target object block chain accounts of the electronic bill to be issued of the first block chain account, The account bill in the first block chain account includes the electronic bill to be issued of the first block chain account;Or Person
4th determining module, for determining that the electronic bill processing requests to turn from the account bill described Before the coupon identification of the target bill moved, it is used to request to check and write off the feelings of electronic bill in electronic bill processing request Under condition, the account identification of the second block chain account is determined, wherein the second block chain account is included in the block chain In will receive one or more target object block chain accounts of the electronic bill to be checked and write off of the first block chain account, The account bill in the first block chain account includes the electronic bill to be checked and write off of the first block chain account;Or Person
5th determining module, for determining that the electronic bill processing requests to turn from the account bill described Before the coupon identification of the target bill moved, it is used to request to pay the feelings of electronic bill in electronic bill processing request Under condition, the account identification of the second block chain account is determined, wherein the second block chain account is included in the block chain In will receive one or more target object block chain accounts of the electronic bill to be paid of the first block chain account, The account bill in the first block chain account includes the electronic bill to be paid of the first block chain account.
12. device according to claim 8, which is characterized in that described device further include:
Transmission unit, for the processing result to be shared to object block chain account included in the block chain described Before, authentication request is sent to the first client for registering the first block chain account, wherein in the authentication request Carry hash index value corresponding with electronic bill processing request;
Second acquisition unit uses the certification label of hash index value described in the second key pair for obtaining first client Name, wherein it is legitimate request that the authentication signature, which is used to indicate the electronic bill processing request, and second key is described What block chain was distributed is used to authenticate the authentication request corresponding with the first block chain account.
13. device according to claim 8, which is characterized in that the processing unit includes:
Third acquiring unit, the account that the second client for obtaining for generating the electronic bill processing request is uploaded Information, wherein include the identity information for having authenticated account in the account information;
Adding unit, for the account information to be added in the processing result.
14. a kind of storage medium, the storage medium includes the program of storage, wherein described program executes above-mentioned power when running Benefit requires method described in 1 to 7 any one.
15. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to execute side described in any one of claim 1 to 7 by the computer program Method.
CN201810820704.1A 2018-07-24 2018-07-24 bill processing method and device, storage medium and electronic device Pending CN109146583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810820704.1A CN109146583A (en) 2018-07-24 2018-07-24 bill processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810820704.1A CN109146583A (en) 2018-07-24 2018-07-24 bill processing method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN109146583A true CN109146583A (en) 2019-01-04

Family

ID=64797641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810820704.1A Pending CN109146583A (en) 2018-07-24 2018-07-24 bill processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109146583A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111373400A (en) * 2019-07-02 2020-07-03 阿里巴巴集团控股有限公司 System and method for implementing a resolver service for decentralized identity
CN111598635A (en) * 2020-05-18 2020-08-28 腾讯科技(深圳)有限公司 Bill information processing method and device, equipment and readable storage medium
US10846765B2 (en) 2019-07-31 2020-11-24 Advanced New Technologies Co., Ltd. Blockchain-based e-bill number application method, apparatus, and electronic device
WO2020233236A1 (en) * 2019-05-22 2020-11-26 深圳前海微众银行股份有限公司 Verification method and device of consumable certificates applied to block chain
WO2021017437A1 (en) * 2019-07-31 2021-02-04 创新先进技术有限公司 Blockchain-based note verification method and apparatus, electronic device, and storage medium
CN112434020A (en) * 2020-11-26 2021-03-02 腾讯科技(深圳)有限公司 Database account cleaning method and device and electronic equipment
US11049115B2 (en) 2019-07-31 2021-06-29 Advanced New Technologies Co., Ltd. Blockchain-based bill write-off method, apparatus, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140052641A1 (en) * 2012-08-20 2014-02-20 Tsinghua University Electronic Invoice Issuing System For Electronic Commerce Website
CN106952124A (en) * 2017-03-16 2017-07-14 北京牛链科技有限公司 Electronic bill management system and method based on distribution book keeping operation
CN107369008A (en) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 For improving management method, the apparatus and system of bill business security
CN108305106A (en) * 2018-01-31 2018-07-20 复旦大学 A kind of electronic invoice register method based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140052641A1 (en) * 2012-08-20 2014-02-20 Tsinghua University Electronic Invoice Issuing System For Electronic Commerce Website
CN106952124A (en) * 2017-03-16 2017-07-14 北京牛链科技有限公司 Electronic bill management system and method based on distribution book keeping operation
CN107369008A (en) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 For improving management method, the apparatus and system of bill business security
CN108305106A (en) * 2018-01-31 2018-07-20 复旦大学 A kind of electronic invoice register method based on block chain

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233236A1 (en) * 2019-05-22 2020-11-26 深圳前海微众银行股份有限公司 Verification method and device of consumable certificates applied to block chain
CN111373400A (en) * 2019-07-02 2020-07-03 阿里巴巴集团控股有限公司 System and method for implementing a resolver service for decentralized identity
CN111373400B (en) * 2019-07-02 2023-11-21 创新先进技术有限公司 System and method for implementing a resolver service for decentralizing identity
US10846765B2 (en) 2019-07-31 2020-11-24 Advanced New Technologies Co., Ltd. Blockchain-based e-bill number application method, apparatus, and electronic device
WO2021017437A1 (en) * 2019-07-31 2021-02-04 创新先进技术有限公司 Blockchain-based note verification method and apparatus, electronic device, and storage medium
US11049115B2 (en) 2019-07-31 2021-06-29 Advanced New Technologies Co., Ltd. Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
US11429983B2 (en) 2019-07-31 2022-08-30 Advanced New Technologies Co., Ltd. Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
CN111598635A (en) * 2020-05-18 2020-08-28 腾讯科技(深圳)有限公司 Bill information processing method and device, equipment and readable storage medium
CN111598635B (en) * 2020-05-18 2021-09-28 腾讯科技(深圳)有限公司 Bill information processing method and device, equipment and readable storage medium
CN112434020A (en) * 2020-11-26 2021-03-02 腾讯科技(深圳)有限公司 Database account cleaning method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN109146583A (en) bill processing method and device, storage medium and electronic device
CN102982441B (en) A kind of method and electronic payment devices of processing information
KR101673073B1 (en) Dealing method of Crypto-currency base on Blockchain System
CN103270524B (en) Integration of verification tokens with mobile communication devices
US20170228705A1 (en) Secure electronic storage devices for physical delivery of digital currencies when trading
CN107408245A (en) Utilize the trading signature of Asymmetric Cryptography
JP3877188B2 (en) Electronic currency system
US10354496B2 (en) Method and system for lottery application
CN107798537A (en) The data verification carried out via the independent processor of equipment
CN109658240A (en) A kind of data trade method, apparatus and terminal device based on block chain
Cook et al. Blockchain: Transforming the seafood supply chain
CN109196539A (en) For the system and method using safety certification processing transaction
US10445730B2 (en) Digital transactional procedures and implements
KR101951408B1 (en) A System Providing Virtual Money Managerial System
CN108765144B (en) Electronic resource package processing method, terminal device and medium
CN107466409A (en) Use the binding procedure of electronic telecommunication device
CN107256484A (en) Mobile payment sublicense method and the payment system realized using this method
CN105956855A (en) Transaction method and system of electronic signature device
CN106033571A (en) Trading method of electronic signature devices, electronic signature devices and trading system
CN110210846A (en) Message delay estimating system and method
US20210264413A1 (en) Using a nested random number-based security ecosystem for block chains for electronic cash tokens and other embodiments
CN109792446A (en) Transient state trading server
CN109829830A (en) A danger marketing method, device, electronic equipment and computer readable storage medium
WO2023107446A1 (en) Utilization of biometrics in creation of secure key or digital signature
WO2003036537A1 (en) Electronic information delivery system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20190122

Address after: 518057 Tencent Building 2401, Maling Community Science and Technology Center, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Intellectual Tax Chain Technology Co., Ltd.

Address before: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination