CN111275506A - Bill issuing method and block link point equipment - Google Patents

Bill issuing method and block link point equipment Download PDF

Info

Publication number
CN111275506A
CN111275506A CN202010058592.8A CN202010058592A CN111275506A CN 111275506 A CN111275506 A CN 111275506A CN 202010058592 A CN202010058592 A CN 202010058592A CN 111275506 A CN111275506 A CN 111275506A
Authority
CN
China
Prior art keywords
block chain
block
link point
enterprise
information
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
CN202010058592.8A
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.)
Tencent Technology Shenzhen 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 CN202010058592.8A priority Critical patent/CN111275506A/en
Publication of CN111275506A publication Critical patent/CN111275506A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce, e.g. shopping or e-commerce
    • G06Q30/04Billing or invoicing, e.g. tax processing in connection with a sale
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/10Tax strategies
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission

Abstract

The embodiment of the application discloses a method for issuing bills and block link point equipment. Wherein the method comprises the following steps: the method comprises the steps that a first block chain node point device receives a bill making request sent by a second block chain node point device, wherein the bill making request comprises a digital certificate of the second block chain node point device; the first block chain link point device compares the digital certificate included in the bill making request with a digital certificate of a second block chain link point device stored in the first block chain link point device; and if the two types of the bills are the same, the first block chain node equipment responds to the bill making request to generate a bill and sends the bill to the second block chain node equipment. Correspondingly, after the second block chain link point device signs the bill, the obtained digital signature, the bill and the digital certificate are issued to the block chain network. By adopting the method and the device, the incidence relation can be established between the bill and the invoicer, and the condition of virtual opening of the bill is reduced.

Description

Bill issuing method and block link point equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for issuing a bill and a block link point device.
Background
With the popularization of internet application, the security problem of the internet is increasingly highlighted. Such as information leakage, spurious information propagation, etc.
At present, the phenomenon that the identity information of others is used for making a bill by mistake is frequently seen. For example, the invoicing party steals the identity information of other people on the internet, and sells the bill to other enterprises or individuals to earn private interest after using the false identity information to open the bill. Because the invoicing party uses false identity information when invoicing the bill, the invoicing party is difficult to capture according to the invoicing bill, and the national fund loss is caused. Therefore, how to avoid the problem of false opening of the bill becomes a hot topic of research.
Disclosure of Invention
The embodiment of the application provides a method for issuing bills and block chain link point equipment, which can verify the identity information of a bill issuing party and establish an association relation between the bills and the bill issuing party so as to avoid the problem of virtual opening of the bills.
In a first aspect, an embodiment of the present application provides a method for issuing a ticket, including: the method comprises the steps that a first block chain node point device receives a bill making request sent by a second block chain node point device, wherein the bill making request comprises a digital certificate of the second block chain node point device; the first block chain link point device compares the digital certificate included in the bill making request with a digital certificate of a second block chain link point device stored in the first block chain link point device; if the digital certificate included in the bill issuing request is the same as the digital certificate stored in the first block chain node point device, the first block chain node point device responds to the bill issuing request to generate a bill and sends the bill to the second block chain node point device, so that the second block chain node point device signs the bill according to the private key of the second block chain node point device to obtain the digital signature of the bill, and the second block chain node point device issues the bill, the digital signature and the digital certificate of the second block chain node point device to the block chain network. In a second aspect, the embodiments of the present application provide a block link point device, which has a function of implementing the issuing note of the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one implementation, the block link point device includes a receiving module, a comparing module, a generating module, and a transmitting module. The receiving module is used for receiving a bill issuing request sent by the second block chain node device, wherein the bill issuing request comprises a digital certificate of the second block chain node device. And the comparison module is used for comparing the digital certificate included in the bill making request with the digital certificate of the second block chain node device stored in the first block chain node device. And the generating module is used for responding the bill making request by the first block chain node equipment to generate the bill if the digital certificate included in the bill making request is the same as the digital certificate stored by the first block chain node equipment. The sending module is used for sending the bill to the second block chain link point device so that the second block chain link point device signs the bill according to the private key of the second block chain link point device to obtain the digital signature of the bill, and the second block chain link point device issues the bill, the digital signature and the digital certificate of the second block chain link point device to the block chain network.
In a third aspect, embodiments of the present application provide a block-link point device that includes a processor and a memory, the processor and the memory coupled. A memory for storing a computer program. A processor for invoking a computer program for causing a blockchain node device to perform the method of issuing a ticket according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium for storing a computer program for a block link point device, which includes a program for executing the above-mentioned first aspect.
Through the embodiment of the application, when the first block chain link point device successfully verifies the digital certificate sent by the second block chain link point device, the generated bill is sent to the second block chain link point device. Correspondingly, the second block chain node point device signs and chains the bill according to the private key of the second block chain node point device. The identity information of the invoicing party can be ensured to be real and reliable, and the incidence relation is established between the bill and the invoicing party, so that the invoicing party can be traced according to the bill, and the condition of virtual bill opening is reduced.
Drawings
In order to more clearly describe the technical solutions in the embodiments or background art of the present application, the drawings required to be used in the embodiments of the present application will be described below.
FIG. 1 is a schematic diagram of an embodiment of an issuing ticket system;
FIG. 2 is a schematic flow chart diagram of a method for issuing a ticket as disclosed in an embodiment of the present application;
FIG. 3 is a diagram of a digital certificate disclosed in an embodiment of the present application;
FIG. 4 is a schematic view of a ticket disclosed in an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of another method for issuing a ticket disclosed in embodiments of the present application;
FIG. 6 is a schematic flow chart diagram illustrating yet another method for issuing a ticket disclosed in an embodiment of the present application;
FIG. 7 is a schematic block link point apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another blockchain node device disclosed in an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings.
With the rapid development of science and technology, the human society gradually advances into the internet era, and the internet technology accelerates the information transmission, facilitates modern communication and reduces the world range. But the internet technology is also a double-edged sword, which brings convenience to people and brings hidden danger to people. Such as information leakage, spurious information propagation, etc.
Taking the bill false opening as an example, the bill false opening means that the invoicing party utilizes false identity information to issue a bill and then the issued bill is distributed to other companies or individuals so as to earn private interest. For example, the invoicing party illegally acquires the identity information of other people through the internet, registers the empty-shell company by using the identity information of other people, and after the empty-shell company is operated for a period of time, the invoicing is convenient to take out the invoice by using the empty-shell company, and then the invoice is distributed to other companies or people earn benefits. Therefore, in the process of issuing bills by the invoicers by means of false identity information, the bills are not associated with the invoicers, so that the information of the invoicers cannot be traced back according to the bills when problems occur in subsequent bills, and the national fund loss verification is caused.
In order to solve the above problems, embodiments of the present application provide a method for issuing a bill and a block link point device, where the method for issuing a bill and the block link point device are implemented based on a block chain technology.
The Block Chain (BC) is a novel application mode of computer technologies such as distributed data storage, consensus mechanism, encryption algorithm and the like. The block chain technology has the characteristics of decentralization, openness, independence, safety, anonymity and the like. Generally, a traditional transaction model is a transaction model constructed based on centralized thinking, that is, on the premise that two transaction parties do not trust each other, the centralized formation of a third party is promoted, and the third party serves as an arbitrator to witness the activities of the two transaction parties in the transaction process. The decentralized feature of the blockchain technology means that in a blockchain network, each node device stores data, data redundancy is realized through distributed storage, all nodes can have the ability to maintain the safety of a database, and the whole transaction is autonomous and simplified.
In the scenario of issuing a bill, the block chain technique is introduced, and the method for issuing a bill provided by the embodiment of the present application includes: the method comprises the steps that a first block chain node point device receives a bill making request sent by a second block chain node point device, wherein the bill making request comprises a digital certificate of the second block chain node point device; the first block chain link point device compares the digital certificate included in the bill making request with a digital certificate of a second block chain link point device stored in the first block chain link point device; if the digital certificate included in the bill issuing request is the same as the digital certificate stored in the first block chain node point device, the first block chain node point device responds to the bill issuing request to generate a bill and sends the bill to the second block chain node point device, so that the second block chain node point device signs the bill according to the private key of the second block chain node point device to obtain the digital signature of the bill, and the second block chain node point device issues the bill, the digital signature and the digital certificate of the second block chain node point device to the block chain network.
It should be noted that the first block link point device and the second block link point device belong to the same block chain network. In the scenario of the bill making, the first block chain node device may be a tax bureau, and the second block chain node device may be a client. The embodiment of the present application does not limit the first block link point device or the second block link point device in other scenarios.
Therefore, the first block chain link point equipment verifies the digital certificate in the bill issuing request, and the identity information of the issuing party can be ensured to be real and reliable. And the second block chain node point equipment receives the bill sent by the first block chain node point equipment, and signs and chains the bill according to the private key of the second block chain node point equipment. The method can establish the incidence relation between the bill and the invoicer, thereby ensuring that the tracing process of the subsequent bill is more reliable and reducing the false opening condition of the bill.
Referring to fig. 1, fig. 1 is a schematic diagram of an architecture of a billing system according to an embodiment of the present application. As shown in fig. 1, the issuing ticket system includes: a first block link point device, at least one second block link point device. The first block chain link point device and each second block chain link point device form a block chain network, and all block chain node devices in the block chain network share information in the block chain. The first block chain node point device may be a tax bureau, and the second block chain node point device may be a client.
The second block link point device sends a ticket issuing request to the first block link point device, the ticket issuing request including a digital certificate of the second block link point device. The first block link point device compares the digital certificate included in the ticket issuing request with a digital certificate of a second block link point device stored by the first block link point device. And if the digital certificate included in the bill issuing request is the same as the digital certificate of the second block chain link point device stored in the first block chain link point device, the first block chain link point device responds to the bill issuing request to generate a bill and sends the bill to the second block chain link point device. Correspondingly, the second block chain node point equipment signs the bill according to the private key of the second block chain node point equipment to obtain a digital signature. The second blockchain link point device also issues the ticket, the digital signature, and the digital certificate to the blockchain network.
Based on the schematic architecture of the billing system shown in fig. 1, please refer to fig. 2, and fig. 2 is a schematic flow chart of a method for billing according to an embodiment of the present application, which includes, but is not limited to, the following steps:
step S201: the first block chain node device receives a bill making request sent by the second block chain node device.
Wherein the ticket issuing request includes a digital certificate for the second block link point device. Note that the ticket issuing request may include information of the biller in addition to the digital certificate of the second block link point device. Such as a business name, a business address, etc.
For example, the first block link point device is a tax bureau, and the second block link point device is company B, so when company B wants to issue a bill, it needs to send a bill issuing request to the tax bureau. The ticket issuing request should include a digital certificate of company B, the name of company B, the address of company B, the account number of company B, the bank of company B, the phone of company B, and so on.
Step S202: the first block link point device compares the digital certificate in the ticket issuing request with a digital certificate of a second block link point device stored by the first block link point device.
A digital Certificate is a relatively authoritative and fair Certificate issued by a Certificate Authority (CA), and is a digital Certificate that identifies user identity information in internet communications. The digital certificate encrypts or decrypts information and data of network users in computer network traffic, so that the integrity and the safety of the information and the data are ensured. Referring to fig. 3, fig. 3 is a schematic diagram of a digital certificate disclosed in an embodiment of the present application, and as shown in fig. 3, the digital certificate may include, but is not limited to: enterprise name, enterprise address, taxpayer identification number, account row, public key, hash, and the like.
In one implementation, a first block link point device compares a digital certificate in a ticket issuing request with a digital certificate of a second block link point device stored by the first block link point device. If the digital certificate in the ticket issuing request is the same as the digital certificate of the second block chain node device stored by the first block chain node device, the first block chain node device may determine that the identity of the party issuing the ticket issuing request sent by the second block chain node device is legitimate. That is, the first block link point device allows a biller that sent a ticket making request to make a ticket.
The digital certificate in the ticket issuing request is obtained by: and the first block link point equipment issues a digital certificate of the second block link point equipment and sends the digital certificate to the second block link point equipment. Thus, the digital certificate is included in the ticket issuing request sent by the biller to the first block-link point device by the second block-link point device.
It will be appreciated that the digital certificate stored by the first block-link point device does not include only the digital certificate of the second block-link point device. For example, if the first blockchain link point device successfully verifies the third blockchain node device in the blockchain network, the first blockchain link point device may further store the digital certificate of the third blockchain node device.
It can be known that the first block chain node point device verifies the digital certificate in the ticket issuing request, and if the verification passes, the first block chain node point device responds to the ticket issuing request. The identity of the invoicing party can be ensured to be credible, and further the false invoicing of the bill is avoided.
Step S203: and if the digital certificate in the bill issuing request is the same as the digital certificate of the second block chain link point device stored in the first block chain link point device, the first block chain link point device responds to the bill issuing request to generate a bill.
Specifically, the first block link point device generates a ticket according to a ticket issuing request. The request includes information of the invoicing party, such as the name of the business, the address of the business, and the like. A ticket is a security of value having a certain amount of money. The ticket may be a money order, a promissory note, a check, an invoice, and the like. Referring to fig. 4, fig. 4 is a schematic view of a ticket provided in an embodiment of the present application, and as shown in fig. 4, the ticket may include, but is not limited to: the name of the person to be billed, the taxpayer identification number of the person to be billed, the address of the person to be billed, the phone of the person to be billed, the line and account number of the person to be billed, transaction information, and tariff totals.
Step S204: the first block link point device sends the bill to the second block link point device.
Step S205: and the second block chain node equipment signs the bill according to the private key to obtain the digital signature of the bill.
Specifically, the second block chain node point device signs the bill according to a private key of the second block chain node point device to obtain a digital signature of the bill. That is, the association relationship between the ticket and the invoicer is established, so that the invoicer who makes the invoicer through the second block link point device can be found through the ticket.
Step S206: the second blockchain link point device issues the ticket, the digital signature and the digital certificate to a blockchain network.
Specifically, the second blockchain link point device issues the ticket, the digital signature, and the digital certificate to the blockchain network. Namely, the note, the digital signature and the digital certificate are linked. Accordingly, the first blockchain link point device in the blockchain network can acquire the bill, the digital signature and the digital certificate.
As can be seen, after the first block chain node point device successfully verifies the digital certificate in the ticket issuing request, the first block chain node point device generates a ticket and sends the ticket to the second block chain node point device. And the second block chain link point equipment signs the bill and chains the bill. The incidence relation can be established between the bill and the invoicer, the tracing process of the follow-up bill is ensured to be more reliable, and the condition of the virtual opening of the bill can be reduced
Referring to fig. 5, fig. 5 is a schematic flow chart of another method for issuing a ticket according to an embodiment of the present application, where the method may include:
step S501: the first block chain node equipment receives identity information and biological characteristic information sent by the second block chain node equipment.
The identity information includes the name, gender, telephone, etc. of the drawer. The biometric information includes fingerprint feature information, face feature information, iris feature information, or the like of the drawer.
Step S502: the first block link point device compares the identity information and the biometric information.
In one implementation, a method of a first tile link point device comparing identity information and biometric information may comprise: the first block chain node equipment searches biological characteristic information corresponding to the identity information; and the first block chain node point equipment compares the biological characteristic information sent by the second block chain node point equipment with the searched biological characteristic information. If the biometric information sent by the second block link point device is the same as the found biometric information, the first block link point device may determine that the identity information used by the drawer for drawing the invoice is true and valid, and then the first block link point device may perform the operation of step S503.
Specifically, the first block link point device may obtain biometric information corresponding to the identity information through other devices. For example, the first block link point device is a tax bureau, and then the tax bureau can obtain identity card information corresponding to the identity information through a public security bureau in communication with the tax bureau, where the identity card information includes facial feature information (biometric information) corresponding to the identity information, and the like.
Step S503: and if the biological characteristic information sent by the second block link point equipment is the same as the searched biological characteristic information, the first block link point equipment acquires the enterprise information.
Step S504: and the first block chain node equipment receives the enterprise information sent by the second block chain node equipment.
The enterprise information refers to information of an enterprise represented by the drawer, and the enterprise information may include but is not limited to: business name, business address, business taxpayer identification number, business account opening row and account, business phone, etc.
Step S505: and the first block link point equipment judges whether the enterprise corresponding to the enterprise information is a credit enterprise or not according to the enterprise information.
In one implementation, the implementation process of step S505 may include: the first block chain node equipment acquires registration information corresponding to the enterprise information from the management equipment according to the enterprise information; and the first block link point device judges whether the enterprise corresponding to the enterprise information is a credit enterprise or not according to the registration information. Optionally, the management device may also be a block link point device. The management device is used for storing the registration information of the enterprise.
For example, the first block link point device is a tax bureau, the management device is a business bureau, the business bureau stores registration information of at least one enterprise, and the tax bureau and the business bureau can mutually acquire information. After the tax bureau obtains the enterprise information of the enterprise, the tax bureau can obtain the registration information of the enterprise corresponding to the enterprise information from the enterprise and business bureau.
In one implementation, the method for the first block link point device to determine whether the enterprise corresponding to the enterprise information is a credit enterprise according to the registration information may include: the first block chain node equipment obtains historical credit information of an enterprise corresponding to the enterprise information according to the registration information; the first block link point device detects whether the historical credit information indicates that the enterprise is a credit enterprise. The historical credit information may include, but is not limited to: the enterprise information corresponds to historical transaction data, risk management and control information and the like of the enterprise.
For example, if the first block link point device obtains the historical credit information indication of the enterprise corresponding to the enterprise information, and the credit level of the enterprise is low, the first block link point device may determine that the enterprise corresponding to the enterprise information is a low-credit enterprise.
In another implementation manner, the method for the first block link point device to determine whether the enterprise corresponding to the enterprise information is a credit enterprise according to the registration information may include: the first block chain node equipment compares the enterprise information with the registration information; and if the enterprise information is the same as the registration information, the first block link point device determines that the enterprise corresponding to the enterprise information is a credit enterprise.
For example, the first blockchain node device may request that the enterprise information sent by the second blockchain node includes all information included in the registration information, and then the first blockchain node device compares the content included in the enterprise information with the content included in the registration information, and if the content included in the enterprise information is the same as the content included in the registration information, it is determined that the enterprise corresponding to the enterprise information is a credit enterprise.
As can be seen, the first block link point device verifies the enterprise information provided by the invoicer, and if the verification is successful, the operation of step S506 is performed. The enterprise information provided by the invoicing party can be ensured to be real and reliable information, and the condition of virtual invoicing of the bill is further reduced.
Step S506: and if the enterprise information corresponds to the enterprise which is a credit enterprise, the first block link point device generates a digital certificate of the second block link point device.
In one implementation, the first block-link point device generates a digital certificate of the second block-link point device according to the registration information. Specifically, after the first block node device receives the biometric information sent by the second block node device, hash of the biometric information may be generated; and the first block chain node equipment generates a digital certificate containing the hash according to the registration information. Wherein the first tile linked-point device may generate a hash of the biometric information according to a hash algorithm.
Step S507: the first block link point device sends the digital certificate to the second block link point device.
Step S508: the first block link point device receives a ticket issuing request of the second block link point device.
Step S509: the first block link point device compares the digital certificate in the ticket issuing request with a digital certificate of a second block link point device stored by the first block link point device.
Step S510: and if the two are the same, the first block chain node equipment responds to the bill making request to generate a bill.
Step S511: the first block link point device sends the bill to the second block link point device.
Step S512: and the second block chain node equipment signs the bill according to the private key to obtain the digital signature of the bill.
Step S513: the second blockchain link point device issues the ticket, the digital signature and the digital certificate to a blockchain network.
It should be noted that the implementation process of step 507 to step 513 may refer to the implementation process of step S201 to step 206, and is not described herein again.
The first block chain node equipment verifies the identity information and the enterprise information sent by the second block chain node equipment respectively, the identity information and the enterprise information are verified successfully, and the first block chain node equipment issues the digital certificate of the second block chain node equipment. The identity information of the drawer can be ensured to be real and reliable, and the condition of false opening of the bill is further reduced.
It can be understood that after the second blockchain link point device issues the ticket, the digital signature and the digital certificate to the blockchain network, the first blockchain link point device can obtain the ticket, the digital signature and the digital certificate from the blockchain network, and the first blockchain link point device can trace back to the drawer who has issued the ticket according to the ticket, the digital signature and the digital certificate.
Referring to fig. 6, fig. 6 is a schematic flowchart of another method for issuing a ticket according to an embodiment of the present application, where the method includes:
step S601: the first block link point device acquires the ticket, the digital signature and the digital certificate.
Optionally, the first blockchain link point device acquires the ticket, the digital signature and the digital certificate from the blockchain network. Optionally, the first blockchain link point device may also obtain the ticket, the digital signature, and the digital certificate from a device outside the blockchain network.
Step S602: the first blockchain link point device compares the digital certificate obtained from the blockchain network with the digital certificate stored by the first blockchain link point device.
The first block link point device stores at least one digital certificate, and therefore the first block link point device compares the digital certificate of the second block link point device acquired from the block chain network with the digital certificate of the second block link point device stored in the first block link point device.
Step S603: and if the digital certificate acquired from the block chain network is the same as the digital certificate stored in the first block chain link point device, the first block chain node verifies and signs the digital signature.
In one implementation, the first block link point device verifies and signs the digital signature of the second block link point device obtained from the block chain network according to the public key of the second block link point device. According to the above, the second block chain node point device signs the bill according to the private key of the second block chain node point device, so as to obtain the digital signature. Therefore, the first block link point device can verify the digital signature according to the public key of the second block link point device, and if the verification is successful, the first block link point device determines that the digital signature is authentic.
Step S604: and if the signature verification is successful, the first block chain node equipment acquires the hash from the digital certificate and determines the identity information corresponding to the hash as the identity information associated with the bill.
Since the hash is generated from the biometric information of the drawer, there is an association between the hash and the drawer's identity information. Therefore, the first block chain node equipment acquires the hash from the digital certificate, and the drawer corresponding to the bill can be determined.
Therefore, the association relation is established between the bills and the drawer, so that the first block link point equipment can trace back the drawer who draws the bills according to the bills, and the condition of virtual opening of the bills is reduced.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a block link point apparatus according to an embodiment of the present disclosure, where the block link point apparatus 70 is used to execute steps executed by a first block link point apparatus in the method embodiments corresponding to fig. 2, fig. 5, and fig. 6. The block link point device 70 may include a receiving module 701, a comparing module 702, a generating module 703, and a transmitting module 704. Receiving module 701 may include a searching unit 7011 and a signature verifying unit 7012. Each module in the block link point device 70 is specifically configured to:
a receiving module 701, configured to receive a ticket issuing request sent by a second block link point device, where the ticket issuing request includes a digital certificate of the second block link point device, and the first block link point device and the second block link point device belong to the same block chain network;
a comparing module 702, configured to compare the digital certificate included in the request for issuing a ticket with a digital certificate of a second block link point device stored in the first block link point device;
a generating module 703, configured to, if the digital certificate included in the ticket issuing request is the same as the digital certificate stored in the first block link point device, respond to the ticket issuing request by the first block link point device to generate a ticket;
the sending module 704 is configured to send the ticket to the second block chain node point device, so that the second block chain node point device signs the ticket according to the private key of the second block chain node point device to obtain a digital signature of the ticket, and the second block chain node point device issues the ticket, the digital signature, and the digital certificate of the second block chain node point device to the block chain network.
In one implementation, the receiving module 701, before receiving the ticket issuing request sent by the second block link point device, is further configured to: enterprise information sent by the second block chain node equipment is received, and registration information of enterprises corresponding to the enterprise information is obtained from management equipment according to the enterprise information, wherein the management equipment is used for storing the registration information of the enterprises;
a comparing module 702, configured to determine whether the enterprise corresponding to the enterprise information is a credit enterprise;
if the enterprise corresponding to the enterprise information is a credit enterprise, the generating module 703 generates a digital certificate according to the registration information, and the sending module 704 sends the digital certificate to the second block link point device.
In one implementation, when determining whether the enterprise corresponding to the enterprise information is a credit enterprise, the comparing module 702 is specifically configured to: according to the registration information, the data of the business is received;
if the historical credit information is only that the enterprise is a credit enterprise, the step of generating the digital certificate according to the registration information by the generating module 703 is executed.
In one implementation, when determining whether the enterprise corresponding to the enterprise information is a credit enterprise, the comparing module 702 is specifically configured to: comparing the enterprise information with the registration information;
and if the enterprise information is the same as the registration information, determining that the enterprise corresponding to the enterprise information is a credit enterprise.
In one implementation, the receiving module 701, before receiving the enterprise information sent by the second block-link node device, is further configured to: receiving identity information and biological characteristic information sent by second block chain node equipment;
the searching unit 7011 searches for biometric information corresponding to the identity information;
if the comparison module 702 compares that the biometric information sent by the second block link point device is the same as the found biometric information, the step of receiving the enterprise information sent by the second block link point device by the receiving module 701 is executed.
In one implementation, when the generating module 703 generates the digital certificate according to the registration information, it is specifically configured to: generating a hash of the biometric information;
the generating module 703 is further configured to generate a digital certificate including a hash according to the registration information.
In one implementation, after the sending module 704 sends the ticket to the second block link point device, the receiving module 701 is further configured to: acquiring a bill, a digital signature and a digital certificate of a second block chain link point device from a block chain network;
the signature verification unit 7012 verifies the signature of the digital signature acquired from the block chain network according to the ticket and the public key of the second block chain link point device;
if the signature verification is successful, the receiving module 701 obtains hash in the digital certificate of the second block link point device;
and determining the identity information corresponding to the hash as the identity information associated with the bill according to the hash.
In one implementation, before the signature verification unit 7012 verifies the digital signature acquired from the blockchain network according to the public key of the ticket and the second blockchain link point device, the comparison module 702 is further configured to: comparing the digital certificate of the second block chain link point device acquired from the block chain network with the digital certificate of the second block chain link point device stored in the first block chain link point device;
if the digital certificate of the second block link point device obtained from the block chain network is the same as the digital certificate of the second block link point device stored in the first block link point device, then the signature verification unit 7012 performs a signature verification on the digital signature obtained from the block chain network according to the ticket and the public key of the second block link point device.
It should be noted that details that are not mentioned in the embodiment corresponding to fig. 7 and specific implementation manners of the steps executed by each module may refer to the embodiments shown in fig. 2, fig. 5, and fig. 6 and the foregoing details, and are not described herein again.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another block chain node device according to an embodiment of the present disclosure. The block link node device 80 comprises a processor 801, a memory 802, and a communication interface 803, wherein the processor 801, the memory 802, and the communication interface 803 are connected by one or more communication buses.
The processor 801 is configured to support the block-link point device to perform the corresponding functions of the first block-link point device in the methods described in fig. 2, 5, and 6. The Processor 801 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof.
The memory 802 is used for storing program codes and the like. The Memory 802 may include volatile Memory (volatile), such as Random Access Memory (RAM); the Memory 802 may also include a non-volatile Memory (non-volatile Memory), such as a Read Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk Drive (HDD) or a Solid State Drive (SSD); the memory 802 may also comprise a combination of the above-described types of memory.
Communication interface 803 is used to receive and send data, for example, communication interface 803 is used to receive a ticket issuing request sent by a second block node device, or communication interface 803 is used to receive enterprise information sent by a second block node device, etc., or communication interface 803 is used to send a ticket to a second block node device, etc.
In an embodiment of the present invention, the block link point device 80 includes a plurality of communication interfaces, wherein the communication interface for transmitting data and the communication interface for receiving data may not be the same communication interface.
The processor 801 may call the program code stored in the memory 802 to perform the following operations:
a communication interface 803, configured to receive a ticket issuing request sent by a second block chain node device, where the ticket issuing request includes a digital certificate of the second block chain node device, and the first block chain node device and the second block chain node device belong to the same block chain network;
a processor 801 configured to compare a digital certificate included in the ticket issuing request with a digital certificate of a second block link point device stored in the first block link point device;
if the digital certificate included in the bill issuing request is the same as the digital certificate stored in the first block chain node point equipment, the first block chain node point equipment responds to the bill issuing request to generate a bill;
the communication interface 803 is configured to send the ticket to the second block chain node device, so that the second block chain node device signs the ticket according to the private key of the second block chain node device to obtain a digital signature of the ticket, and the second block chain node device issues the ticket, the digital signature, and the digital certificate of the second block chain node device to the block chain network.
In one implementation, before receiving the ticket issuing request sent by the second block link point device, the communication interface 803 is further configured to: enterprise information sent by the second block chain node equipment is received, and registration information of enterprises corresponding to the enterprise information is obtained from management equipment according to the enterprise information, wherein the management equipment is used for storing the registration information of the enterprises;
the processor 801 is configured to determine whether the enterprise corresponding to the enterprise information is a credit enterprise;
if the enterprise information corresponds to an enterprise that is a credit enterprise, the processor 801 generates a digital certificate according to the registration information, and the communication interface 803 sends the digital certificate to the second blockchain node device.
In one implementation, when determining whether the enterprise corresponding to the enterprise information is a credit enterprise, the processor 801 is specifically configured to: according to the registration information, the data of the business is received;
if the historical credit information is only that the business is a credit business, the processor 801 performs the step of generating a digital certificate based on the registration information.
In one implementation, when determining whether the enterprise corresponding to the enterprise information is a credit enterprise, the processor 801 is specifically configured to: comparing the enterprise information with the registration information;
and if the enterprise information is the same as the registration information, determining that the enterprise corresponding to the enterprise information is a credit enterprise.
In one implementation, before receiving the enterprise information sent by the second block-link node device, the communication interface 803 is further configured to: receiving identity information and biological characteristic information sent by second block chain node equipment;
the processor 801 is configured to search biometric information corresponding to the identity information;
and if the biological characteristic information sent by the second block chain node equipment is the same as the searched biological characteristic information, executing the step of receiving the enterprise information sent by the second block chain node equipment.
In one implementation, when the processor 801 generates the digital certificate according to the registration information, it is specifically configured to: generating a hash of the biometric information;
the processor 801 is further configured to generate a digital certificate including a hash according to the registration information.
In one implementation, after sending the ticket to the second block link point device, the communication interface 803 is further configured to: acquiring a bill, a digital signature and a digital certificate of a second block chain link point device from a block chain network;
the processor 801 is configured to perform signature verification on the digital signature acquired from the blockchain network according to the ticket and the public key of the second blockchain link point device;
if the signature verification is successful, hash is obtained from the digital certificate of the second block link point equipment;
and determining the identity information corresponding to the hash as the identity information associated with the bill according to the hash.
In one implementation, before the processor 801 verifies the digital signature acquired from the blockchain network according to the ticket and the public key of the second blockchain link point device, the communication interface 803 is further configured to: comparing the digital certificate of the second block chain link point device acquired from the block chain network with the digital certificate of the second block chain link point device stored in the first block chain link point device;
if the digital certificate of the second block link point device obtained from the block chain network is the same as the digital certificate of the second block link point device stored in the first block link point device, the processor 801 executes a step of verifying the digital signature obtained from the block chain network according to the ticket and the public key of the second block link point device.
Further, the processor 801 may further cooperate with the communication interface 803 to execute operations corresponding to the first block link point device in the method embodiments shown in fig. 2, fig. 5, and fig. 6, which may be referred to the description in the method embodiments and will not be described herein again.
The present invention also provides a computer readable storage medium, which can be used to store a computer program for the block-link point device in the embodiments shown in fig. 2, fig. 5 and fig. 6, and which includes a program designed for executing the first block-link point device in the above embodiments.
The computer readable storage medium includes, but is not limited to, flash memory, hard disk, solid state disk.
The present invention further provides a computer program product, which when executed by a computer device, can execute the billing method designed for the first block link point device in the embodiments of fig. 2, 5 and 6.
There is also provided in an embodiment of the present application a chip, including a processor and a memory, where the memory is used to store a computer program, the processor is used to call and run the computer program from the memory, and the computer program is used to implement the method in the above method embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method of issuing a note, comprising:
a first block chain link point device receives a bill making request sent by a second block chain link point device, wherein the bill making request comprises a digital certificate of the second block chain link point device, and the first block chain link point device and the second block chain link point device belong to the same block chain network;
the first block link point device comparing the digital certificate included in the ticket issuing request with the digital certificate of the second block link point device stored by the first block link point device;
if the digital certificate included in the bill issuing request is the same as the digital certificate stored in the first block chain node device, the first block chain node device responds to the bill issuing request to generate a bill and sends the bill to the second block chain node device, so that the second block chain node device signs the bill according to the private key of the second block chain node device to obtain the digital signature of the bill, and the second block chain node device issues the bill, the digital signature and the digital certificate of the second block chain node device to the block chain network.
2. The method of claim 1, wherein prior to the first block link point device receiving a ticket issuing request sent by a second block link point device, further comprising:
the first block chain node point device receives enterprise information sent by the second block chain node point device, and acquires registration information of an enterprise corresponding to the enterprise information from management equipment according to the enterprise information, wherein the management equipment is used for storing the registration information of the enterprise;
the first block chain node equipment judges whether the enterprise corresponding to the enterprise information is a credit enterprise or not according to the registration information;
if so, the first block chain node point device generates a digital certificate according to the registration information, and sends the digital certificate to the second block chain node point device.
3. The method according to claim 2, wherein the determining, by the first block node device, whether the enterprise corresponding to the enterprise information is a credit enterprise according to the registration information includes:
the first block chain node equipment obtains historical credit information of an enterprise corresponding to the enterprise information according to the registration information;
and if the historical credit information indicates that the enterprise is a credit enterprise, executing the step that the first block link point device generates a digital certificate according to the registration information.
4. The method according to claim 2, wherein the determining, by the first block node device, whether the enterprise corresponding to the enterprise information is a credit enterprise according to the registration information includes:
the first block link point device compares the enterprise information with the registration information;
and if the enterprise information is the same as the registration information, the first block link node device determines that the enterprise corresponding to the enterprise information is a credit enterprise.
5. The method of claim 2, wherein before the first block-node device receives the enterprise information sent by the second block-node device, further comprising:
the first block chain node point device receives identity information and biological characteristic information sent by the second block chain node point device;
the first block chain node equipment searches biological characteristic information corresponding to the identity information;
and if the biological characteristic information sent by the second block link point device is the same as the searched biological characteristic information, executing the step that the first block link point device receives the enterprise information sent by the second block link point device.
6. The method of claim 5, wherein the first block-node device generates a digital certificate from the registration information, comprising:
the first block link point device generates a hash of the biometric information;
and the first block chain node device generates a digital certificate containing the hash according to the registration information.
7. The method of claim 6, wherein after the first block link point device sends the ticket to the second block link point device, further comprising:
the first blockchain link point device acquires the bill, the digital signature and a digital certificate of the second blockchain link point device from the blockchain network;
the first block chain node point device checks the digital signature acquired from the block chain network according to the bill and the public key of the second block chain node point device;
if the signature verification is successful, the first block link point device obtains hash in the digital certificate of the second block link point device;
and the first block chain node equipment determines that the identity information corresponding to the hash is the identity information associated with the bill according to the hash.
8. The method of claim 7, wherein before the first block-link-point device verifies the digital signature obtained from the block chain network according to the public key of the second block-link-point device, the method further comprises:
the first block link point device compares the digital certificate of the second block link point device acquired from the block chain network with the digital certificate of the second block link point device stored by the first block link point device;
and if the digital certificate of the second block chain link point device acquired from the block chain network is the same as the digital certificate of the second block chain link point device stored in the first block chain link point device, executing a step of verifying and signing the digital signature acquired from the block chain network by the first block chain link point device according to the public key of the second block chain link point device.
9. A block link point apparatus comprising means for performing the method of any one of claims 1 to 8.
10. A block link point device comprising a processor coupled with a memory,
the memory for storing a computer program;
the processor is configured to invoke the computer program to cause the blockchain node device to perform the method according to any one of claims 1 to 8.
CN202010058592.8A 2020-01-17 2020-01-17 Bill issuing method and block link point equipment Pending CN111275506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010058592.8A CN111275506A (en) 2020-01-17 2020-01-17 Bill issuing method and block link point equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010058592.8A CN111275506A (en) 2020-01-17 2020-01-17 Bill issuing method and block link point equipment

Publications (1)

Publication Number Publication Date
CN111275506A true CN111275506A (en) 2020-06-12

Family

ID=71003089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010058592.8A Pending CN111275506A (en) 2020-01-17 2020-01-17 Bill issuing method and block link point equipment

Country Status (1)

Country Link
CN (1) CN111275506A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112132588A (en) * 2020-11-26 2020-12-25 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, routing equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112132588A (en) * 2020-11-26 2020-12-25 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, routing equipment and storage medium
CN112132588B (en) * 2020-11-26 2021-06-15 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, routing equipment and storage medium

Similar Documents

Publication Publication Date Title
US9730065B1 (en) Credential management
US9864987B2 (en) Account provisioning authentication
US20200076795A1 (en) Systems and methods for providing digital identity records to verify identities of users
EP3073670B1 (en) A system and a method for personal identification and verification
CN108804906B (en) System and method for application login
US7548890B2 (en) Systems and methods for identification and authentication of a user
US8661520B2 (en) Systems and methods for identification and authentication of a user
US11088855B2 (en) System and method for verifying an identity of a user using a cryptographic challenge based on a cryptographic operation
US20190303552A1 (en) Online identity scoring
EP3499795A1 (en) Authentication system and method, and user equipment, authentication server, and service server for performing same method
GB2483515A (en) User Identity Authentication
CN103024706A (en) Short message based device and short message based method for bidirectional multiple-factor dynamic identity authentication
KR101282824B1 (en) Meeting attestation system and providing method thereof
CN111275506A (en) Bill issuing method and block link point equipment
CN110753944A (en) System and method for blockchain based data management
CN108989346A (en) The effective identity trustship agility of third party based on account concealment authenticates access module
CN109241762A (en) Assets information acquisition methods, device and computer equipment based on block chain technology
US10580000B2 (en) Obtaining user input from a remote user to authorize a transaction
US20210014064A1 (en) Method and apparatus for managing user authentication in a blockchain network
EP3217593A1 (en) Two-factor authentication method for increasing the security of transactions between a user and a transaction point or system
CN110324314A (en) User registering method and device, storage medium, electronic equipment
CN110290134A (en) A kind of identity identifying method, device, storage medium and processor
CN109242666A (en) Personal reference method, apparatus and computer equipment are obtained based on block chain
CN108964921A (en) Verification System, authentication method and service server
KR20210036888A (en) Method for Verifying Monopolizing Relationship or Contraction and System for the Same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024718

Country of ref document: HK