Disclosure of Invention
In view of this, one or more embodiments of the present specification provide a blockchain-based certification, supervision method, apparatus, and computer device.
To achieve the above object, one or more embodiments of the present specification provide a blockchain-based supervision method applied to a blockchain network system including a supervisor node device and at least one individual supervisor node device, the supervisor node device and the at least one supervisor node device being communicatively connected; the method is performed by the supervisor node device, comprising:
obtaining a forensic transaction from a distributed database of the blockchain, the forensic transaction being generated by the at least one supervised party node device and sent to the blockchain, the forensic transaction comprising forensic data generated by a target service;
and executing preset supervision logic based on the certification data generated by the target service.
In yet another illustrated embodiment, the target business is a single business occurring with the supervised party; the executing preset supervision logic based on the certification data generated by the target service comprises the following steps: and executing preset supervision logic in real time based on the certification data generated by the target service.
In yet another illustrated embodiment, the executing preset administrative logic based on the certification data generated by the target service includes:
checking whether the certification data generated by the target service meets a preset supervision threshold;
and if not, sending a supervision data acquisition application to the at least one supervised party node device, wherein the supervision data acquisition application is used for applying to acquire supervision data corresponding to the target service.
In yet another illustrated embodiment, the forensic transaction includes a forensic data type identification; the verifying whether the forensic transaction meets a preset supervision threshold comprises:
and checking whether the number of the acquired evidence-storing transactions comprising the same evidence-storing data type identifiers within a preset duration meets a preset supervision threshold.
In yet another illustrated embodiment, the target service generates forensic data that is a hash digest value; the supervision data comprises original text data corresponding to the certification data generated by the target service.
In yet another illustrated embodiment, the supervised party is a financial institution; the supervised credit data comprises loan deposit and credit information of the supervised party.
In yet another illustrated embodiment, the blockchain is a federation chain and the supervisor node device is a federation member node device of the federation chain.
Accordingly, one or more embodiments of the present specification also provide a blockchain-based certification method applied to a blockchain network system including a supervised party node device and a supervising party node device, where the supervised party node device and the supervising party node device are in communication connection; the supervisor supervises the supervised party based on a target service; the method is performed by the supervised party node device, and comprises:
generating a certification transaction, wherein the certification transaction comprises certification data generated by the target service;
and sending the certification transaction to the blockchain so that the certification transaction is recorded in a distributed data database of the blockchain.
In yet another illustrated embodiment, the target business is a single business occurring with the supervised party;
the generating the forensic transaction based on the forensic data generated by the target service comprises the following steps:
and generating the certification transaction in real time based on certification data generated by the target service.
In yet another illustrated embodiment, the forensic transaction includes a forensic data type identification.
In a further illustrated embodiment, the method further comprises:
receiving a supervision data acquisition application sent by the supervision party node equipment, wherein the supervision data acquisition application is used for applying to acquire supervision data corresponding to the target service;
and sending the supervision data to the supervision node equipment.
In yet another illustrated embodiment, the target service generates forensic data that is a hash digest value; the supervision data comprises original text data corresponding to the certification data generated by the target service.
In yet another illustrated embodiment, the supervised party is a financial institution; the target business is a loan and paying business.
In yet another illustrated embodiment, the blockchain is a federation chain and the supervisor node device is a federation member node device of the federation chain.
Accordingly, the present specification also provides a blockchain-based supervision apparatus applied to a blockchain network system including a supervisor node device and at least one supervised node device, the supervisor node device and the at least one supervised node device being communicatively connected; the device is applied to the supervisor node equipment end, and comprises:
An acquisition unit configured to acquire a forensic transaction from a distributed database of the blockchain, the forensic transaction being generated by the at least one supervised party node device and sent to the blockchain, the forensic transaction including forensic data generated by a target service;
and the execution unit is used for executing preset supervision logic based on the certification data generated by the target service.
In yet another illustrated embodiment, the target business is a single business occurring with the supervised party; the execution unit is further used for executing preset supervision logic in real time based on the certification data generated by the target service.
In a further illustrated embodiment, the execution unit is further configured to:
checking whether the certification data generated by the target service meets a preset supervision threshold;
the device also comprises a sending unit, wherein the sending unit is used for sending a supervision data acquisition application to the at least one supervised party node device, and the supervision data acquisition application is used for applying for acquiring supervision data corresponding to the target service.
In yet another illustrated embodiment, the forensic transaction includes a forensic data type identification; the verifying whether the forensic transaction meets a preset supervision threshold comprises:
And checking whether the number of the acquired evidence-storing transactions comprising the same evidence-storing data type identifiers within a preset duration meets a preset supervision threshold.
In yet another illustrated embodiment, the target service generates forensic data that is a hash digest value; the supervision data comprises original text data corresponding to the certification data generated by the target service.
In yet another illustrated embodiment, the supervised party is a financial institution; the supervised credit data comprises loan deposit and credit information of the supervised party.
In yet another illustrated embodiment, the blockchain is a federation chain and the supervisor node device is a federation member node device of the federation chain.
Correspondingly, the specification also provides a blocking chain-based certification device which is applied to a blocking chain network system comprising the supervised party node equipment and the supervising party node equipment, wherein the supervised party node equipment and the supervising party node equipment are in communication connection; the supervisor supervises the supervised party based on a target service; the device is applied to the supervised party node equipment end, and comprises:
the generation unit is used for generating a certification transaction, wherein the certification transaction comprises certification data generated by the target service;
And the sending unit is used for sending the certification transaction to the blockchain so that the certification transaction is recorded in a distributed data database of the blockchain.
In yet another illustrated embodiment, the target business is a single business occurring with the supervised party;
the generation unit is further used for generating the certification transaction in real time based on certification data generated by the target service.
In yet another illustrated embodiment, the forensic transaction includes a forensic data type identification.
In a further illustrated embodiment, the apparatus further comprises:
the receiving unit is used for receiving a supervision data acquisition application sent by the supervision party node equipment, wherein the supervision data acquisition application is used for applying to acquire supervision data corresponding to the target service;
the sending unit is further configured to send the supervision data to the supervisor node device.
In yet another illustrated embodiment, the target service generates forensic data that is a hash digest value; the supervision data comprises original text data corresponding to the certification data generated by the target service.
In yet another illustrated embodiment, the supervised party is a financial institution; the target business is a loan and paying business.
In yet another illustrated embodiment, the blockchain is a federation chain and the supervisor node device is a federation member node device of the federation chain.
Accordingly, the present specification also provides a computer apparatus comprising: a memory and a processor; the memory has stored thereon a computer program executable by the processor; and when the processor runs the computer program, executing the supervision method executed by the supervision party node equipment.
Accordingly, the present specification also provides a computer apparatus comprising: a memory and a processor; the memory has stored thereon a computer program executable by the processor; and when the processor runs the computer program, executing the certification method executed by the node equipment of the supervised party.
According to the technical scheme, the block chain-based certification and supervision method and device provided by the specification can acquire certification transaction which is sent by a supervised party and comprises certification data generated by a target service from a distributed database of a block chain based on supervision requirements, and execute preset supervision logic. The tamper-proof mechanism based on the blockchain is characterized in that the evidence-storing data generated by the target business which is sent to the distributed database of the blockchain for evidence storage has the characteristic of difficult tampering, so that the true reliability of the object data based on the supervision behavior is improved; in addition, the certification and supervision method provided in the present specification is not limited to the types of the target service and the quantity of certification data generated by the target service, and the supervisory party and the supervised party can conduct certification of the target service data and supervision of the target service data with a preset frequency based on specific supervision requirements, so that a more flexible supervision mode is obtained.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of one or more embodiments of the present description as detailed in the accompanying claims.
It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
At present, financial supervision institutions, such as banking authorities, generally manage business data and operation conditions of banks, non-banking institutions and the like according to months, quarters or years, and due to longer supervision period, some financial institutions have false reporting conditions that data of the beginning of a month and the end of a month are mutually smoothed, so that supervision absences are easy to be caused.
In view of this, in one embodiment shown in the present specification, there is provided a blockchain-based supervision method applied to a blockchain network system including a supervisor node device and at least one individual supervisor node device, the supervisor node device and the at least one supervisor node device being communicatively connected; the supervisor supervises the supervised party based on a target service.
The blockchain network in one or more embodiments of the present disclosure may specifically refer to a P2P network system with a distributed data storage structure, where each node device is implemented by a consensus mechanism, and data in the blockchain is distributed in blocks (blocks) that are temporally connected, where a later block includes a data summary of a previous block, and a full backup of data of all or part of nodes is implemented according to a specific consensus mechanism (such as POW, POS, DPOS or PBFT). Those skilled in the art are familiar with that, since the blockchain network system operates under the corresponding consensus mechanism, the data recorded in the blockchain database is difficult to be tampered by any node, for example, the blockchain adopting Pow consensus, and at least the attack of 51% computing power of the whole network is needed to tamper with the existing data, so that the blockchain system has the characteristics of ensuring the security and preventing the attack and tampering of the data which are incomparable with other centralized database systems. Therefore, the data recorded in the distributed database of the blockchain cannot be attacked or tampered, so that the true reliability of the data information stored in the distributed database of the blockchain is ensured.
Example types of blockchain networks may include public blockchain networks, private blockchain networks, and federated blockchain networks. Although the term blockchain is typically associated with bitcoin cryptocurrency networks, blockchain as used herein may refer to DLS (distributed ledger system) without reference to any particular use case.
In a common blockchain network, the consensus process is controlled by nodes of the consensus network. For example, hundreds, thousands, or even millions of entities may cooperate in a public blockchain network, each entity operating at least one node in the public blockchain network. Thus, a public blockchain network may be considered a public network with respect to participating entities. An example public blockchain network includes a bitcoin network, which is a peer-to-peer payment network. The bitcoin network utilizes a distributed ledger, known as a blockchain. However, as noted above, the term blockchain is generally used to refer to a distributed ledger that does not refer specifically to a bitcoin network.
Typically, public blockchain networks support public transactions. Public transactions are shared with all nodes within the public blockchain network and stored in the global blockchain. A global blockchain is a blockchain that replicates across all nodes. That is, for a global blockchain, all nodes are in a completely consistent state. To achieve consensus (e.g., agree to add blocks to the blockchain), a consensus protocol is implemented within the common blockchain network. Example consensus protocols include, but are not limited to, proof of work (POW) implemented in bitcoin networks.
Typically, a private blockchain network is provided to a specific entity that centrally controls read and write rights. The entity controls which nodes can participate in the blockchain network. Thus, private blockchain networks are often referred to as licensed networks, which impose restrictions on who is allowed to participate in the network and its participation level (e.g., only in certain transactions). Various types of access control mechanisms may be used (e.g., existing participants vote to add new entities, and a regulatory authority may control admission).
Typically, federated blockchain networks are proprietary among the participating entities. In a federated blockchain network, the consensus process is controlled by an authorized set of nodes (federated member nodes), one or more of which are operated by a corresponding entity (e.g., an enterprise). For example, a federation consisting of ten (10) entities (e.g., enterprises) can operate a federated blockchain network in which each entity operates at least one node. Thus, a federated blockchain network may be considered a private network as far as participating entities are concerned. In some examples, each entity (node) must sign each block to make the block valid and add the valid block to the blockchain. In some examples, at least a subset of entities (nodes) (e.g., at least 7 entities) must sign each block to make the block valid and add the valid block to the blockchain.
It is contemplated that the embodiments provided herein can be implemented in any suitable type of blockchain network.
A node (or node device) as described in one or more embodiments of the present specification refers to a node that can join the blockchain by following the installation of a corresponding node protocol, running a node protocol program, as the blockchain. Those skilled in the art generally refer to node devices having a full backup of data of a blockchain distributed database as full nodes, node devices having a partial backup of data of a blockchain distributed database (e.g., data having only a block header) as light nodes, and the like. In one or more embodiments of the present description, the above-described node types of the supervisor, or the supervised node apparatus, are not limited; the number of the node devices of the supervisor or the supervised party is not limited, and the supervisor or the supervised party can correspond to one device terminal or server, and can also correspond to a plurality of device terminals or servers to serve as the node devices of the blockchain.
The supervisor supervises at least one supervised party based on the target service; the supervisor according to this embodiment is an entity organization or individual that performs industry or business supervision on the supervised party, and this embodiment is not limited to the specific application field of the industry or business supervision, nor to the specific kind of the target business.
As shown in fig. 1, the blocking chain-based certification and supervision method provided in this embodiment includes:
step 102, the supervised party node equipment generates a certification transaction, wherein the certification transaction comprises certification data generated by the target business.
Transactions (transactions) described in one or more embodiments herein refer to a piece of data created by a node device of a blockchain and that needs to be eventually published into a distributed database of the blockchain. Among the transactions in the blockchain are narrow transactions and broad transactions. A narrow transaction refers to a transfer of value issued by a user to a blockchain; for example, in a traditional bitcoin blockchain network, the transaction may be a transfer initiated by the user in the blockchain. And a generalized transaction refers to a piece of business data with business intent that a user entity publishes to a blockchain through a node. The certification transaction in this embodiment refers to a piece of data including certification data generated by the target service, and is used for certifying the certification data generated by the target service based on a tamper-proof mechanism of a blockchain; the certification data generated by the target service may include an original text or a ciphertext of the service data generated by the target service, or may include a "digital fingerprint" of the service data generated by the target service, that is, a hash digest of the service data, and so on.
Optionally, the certification transaction may further include a digital signature, a public key, and other data information of the sender of the transaction, i.e. the supervised party, according to the requirements of the underlying protocol of the blockchain system, which is not limited herein.
Step 104, the supervised party node device sends the forensic transaction to the blockchain so that the forensic transaction is recorded in a distributed data database of the blockchain.
The detailed process of recording the certification transaction in the distributed database of the blockchain according to the above embodiment may be specifically set according to the verification mechanism and the consensus mechanism of the blockchain. In an illustrative embodiment, the recording of the forensic transaction into the blockchain distributed database includes:
after verifying that the evidence-based transaction passes, the node with the accounting authority in the blockchain adds the evidence-based transaction to a candidate block;
determining a consensus accounting node meeting the blockchain consensus mechanism from the nodes with accounting rights;
the consensus accounting node broadcasting the candidate block to nodes of the blockchain;
after the candidate block passes the verification approval of the blockchain conforming to the preset number of nodes, the candidate block is regarded as the latest block and is added into the distributed database of the blockchain.
In the above embodiment, the node having the accounting authority refers to the node having the authority to generate the candidate block. The common accounting node may be determined from the nodes having accounting authority for the candidate blocks according to a common accounting mechanism of the blockchain, where the common accounting mechanism may include a workload certification mechanism (PoW), a rights certification mechanism (PoS), a share authorization certification mechanism (DPoS), a bayer fault tolerance algorithm mechanism (PBFT) commonly used by alliance chains, or the like.
In practical business applications, the blockchain network described in one or more embodiments of the present disclosure may be configured as a federation chain, and the supervisor node device may be used as a member node device of the federation, to control the data authority of the supervised supervisor node device in the blockchain. Compared with a public chain, the common algorithm adopted by the alliance chain is generally high in efficiency, and can meet the requirement of high-frequency transaction amount, such as high-frequency transmitted certification transaction based on target business frequently generated by a plurality of monitored node devices; the common time delay is very low, the real-time processing requirement is basically met, and the evidence-storing transaction can be rapidly recorded in a new block of the block chain in real time; moreover, the trusted node (such as a supervisor node or a node corresponding to a government agency) in the alliance chain network is used as a preselected accounting node, so that the safety and the stability are both considered; in addition, federated chain consensus algorithms (e.g., PBFT) typically do not consume excessive computer power resources nor do they necessarily require token circulation, and thus have good usability.
It should be noted that, the certification and supervision method provided in the foregoing embodiment is not limited to the type of the target service and the amount of certification data generated by the target service, and the supervised party may perform certification of the target service data with the required frequency based on the specific supervision requirement, so as to facilitate the supervised party to perform supervision of the target service with the required frequency, thereby obtaining a more flexible supervision manner.
In yet another illustrated embodiment, the target service is a single service that occurs by the above-mentioned regulated party; the generating the forensic transaction based on the forensic data generated by the target service in the step 102 includes: and generating the certification transaction in real time based on certification data generated by the target service. The certification transaction is generated in real time based on a single service, so that the target service execution condition of the supervised party can be ensured by the supervisor node equipment from the distributed database of the blockchain in a transaction synchronization period determined by the blockchain system, and the supervision defect phenomenon caused by false declaration of service data due to longer supervision period is effectively prevented; it should be appreciated by those skilled in the art that, although the time difference between the obtaining of the deposit transaction by the supervisor node device and the sending of the deposit transaction by the supervisor is determined by the transaction synchronization period of the blockchain system, the transaction synchronization periods of the blockchain systems are somewhat different due to the different consensus mechanisms, but are significantly smaller than the day-based or month-based supervision period in the existing supervision scheme, so that the supervisor can basically achieve the "real-time" condition of supervising the execution of the target service by the supervisor, so that the supervisor can find problems in time and execute the supervision logic related to the problems.
Step 106, the supervisor node equipment acquires the certification transaction from the distributed database of the blockchain.
And after the certification transaction is synchronized to the distributed database of the blockchain network node, the supervisor node equipment can acquire the certification transaction.
And step 108, the supervisor node equipment executes preset supervision logic based on the certification data generated by the target service.
The present embodiment is not limited to the specific implementation content of the above-mentioned supervision logic, and the supervision party may make an executable supervision logic program from the actual industry or business supervision requirement, and the executable supervision logic program is executed by the supervision party node device. It should be noted that, the certification and supervision method provided in the foregoing embodiment is not limited to the type of the target service and the amount of certification data generated by the target service, and the supervised party may perform certification of the target service data with the required frequency based on the specific supervision requirement, so as to facilitate the supervised party to perform supervision of the target service with the required frequency, thereby obtaining a more flexible supervision manner.
Thus, in yet another illustrated embodiment, the target business is a single business occurring by the above-described policed party; the executing preset supervision logic according to the step 108, includes: and executing preset supervision logic in real time based on the certification data generated by the target service. The certification transaction is generated in real time based on a single service, so that the target service execution condition of the supervised party can be ensured by the supervisor node equipment from the distributed database of the blockchain in a transaction synchronization period determined by the blockchain system, and the supervision defect phenomenon caused by false declaration of service data due to longer supervision period is effectively prevented; it should be appreciated by those skilled in the art that, although the time difference between the obtaining of the deposit transaction by the supervisor node device and the sending of the deposit transaction by the supervisor is determined by the transaction synchronization period of the blockchain system, the transaction synchronization periods of the blockchain systems are somewhat different due to the different consensus mechanisms, but are significantly smaller than the day-based or month-based supervision period in the existing supervision scheme, so that the supervisor can basically achieve the "real-time" condition of supervising the execution of the target service by the supervisor, so that the supervisor can find problems in time and execute the supervision logic related to the problems.
In yet another illustrated embodiment, as shown in fig. 1, the step 108 of executing preset administrative logic based on the certification data generated by the target service includes: checking whether the certification data generated by the target service meets a preset supervision threshold; if not, step 110 is executed, where the above-mentioned supervisor node device sends a supervisor data acquisition application to the supervised node device, where the supervisor data acquisition application is used to apply for acquiring supervisor data corresponding to the target service.
The supervision threshold described in the above embodiment may be specifically set according to the type or content of the certification data generated by the target service, for example, when the certification data generated by the target service is the original document of the service data, the supervision threshold may be set as a characteristic threshold related to the value of the service data, such as an alert value, a fit value, a standard value, and so on.
For another example, when the forensic data generated by the target service is a ciphertext or a hash digest of the service data, since the supervisor node device cannot learn the original text content corresponding to the forensic data, the forensic transaction may further include a forensic data type identifier, for example, it may be identified whether the encrypted forensic data belongs to single service data or multiple service data, or it may be identified whether the encrypted forensic data belongs to loan data or deposit data, or the like; at this time, the checking that the certification transaction performed by the supervisor node device meets a preset supervision threshold includes: and checking whether the number of the acquired evidence-storing transactions comprising the same evidence-storing data type identifiers within a preset duration meets a preset supervision threshold. By counting the number of the certificate-storing transactions with the same certificate-storing data type, the certificate-storing data can be supervised to a certain extent on the premise that the original content of the certificate-storing data is not known, and the safety, privacy and flexibility of supervision behaviors are further improved.
When the certification data generated by the target service cannot meet the preset supervision threshold, the above-mentioned supervisor node device needs to execute the step 110, and send a supervision data acquisition application to the supervisor node device that provides the certification transaction that cannot meet the preset supervision threshold, where the supervision data acquisition application is used to apply for acquiring the supervision data corresponding to the target service. It should be appreciated by those skilled in the art that the above-mentioned supervision data corresponding to the target service may include target service background data related to the development of the target service by the supervision party, or identity background data of the target service related party, or original text data corresponding to the certification data generated by the target service (when the certification data is encrypted data or hash digest), and so on. When the monitored party is a financial institution, the target business may include a loan business, a deposit business, a financial product business, etc., and correspondingly, the monitoring data may include a loan approval limit, a loan issuing number, a lender credit qualification report, etc., or a deposit number, a deposit party identity, etc., or financial product background data, interest rate generation data, etc., so as to facilitate the monitoring party to execute further specific monitoring logic.
Accordingly, as shown in fig. 1, the blocking-chain-based certification and supervision method according to the above embodiment further includes:
step 112, the monitored node device receives a monitoring data acquisition application sent by the monitored node device;
step 114, the supervised party node device sends the supervision data to the supervising party node device.
According to the blockchain-based certification and supervision method provided by one or more embodiments, the supervisor node device can acquire the certification transaction including the certification data generated by the target service and sent by the supervisor from the distributed database of the blockchain based on the supervision requirement, so as to execute the preset supervision logic. The tamper-proof mechanism based on the blockchain is characterized in that the evidence-storing data generated by the target business which is sent to the distributed database of the blockchain for evidence storage has the characteristic of difficult tampering, so that the true reliability of the object data based on the supervision behavior is improved; moreover, the certification and supervision method provided in the present specification is not limited to the types of the target services and the quantity of certification data generated by the target services, and the supervisory party and the supervised party can perform certification of the target service data and supervision of the target service data with a preset frequency based on specific supervision requirements, for example, real-time supervision, periodic supervision, and the like, so that a more flexible supervision mode is obtained.
Corresponding to the above-described flow implementation, embodiments of the present disclosure also provide a blockchain-based policing device 20 and a blockchain-based certification device 30. The apparatus 20, 30 may be implemented in software, or may be implemented in hardware or a combination of hardware and software. Taking software implementation as an example, the device in a logic sense is formed by reading corresponding computer program instructions into a memory through a CPU (Central Process Unit, central processing unit) of the device. In addition to the CPU, the memory, and the storage shown in fig. 4, the device in which the above apparatus is located generally includes other hardware such as a chip for performing wireless signal transmission and reception, and/or other hardware such as a board card for implementing a network communication function.
As shown in fig. 2, the present specification also provides a blockchain-based supervision apparatus 20 applied to a blockchain network system including a supervisor node device and at least one supervised node device, the supervisor node device and the at least one supervised node device being communicatively connected; the apparatus 20 is applied to the supervisor node equipment end, and includes:
an obtaining unit 202, configured to obtain, from a distributed database of the blockchain, a forensic transaction, where the forensic transaction is generated by the at least one supervised node device and sent to the blockchain, and the forensic transaction includes forensic data generated by a target service;
And the execution unit 204 is used for executing preset supervision logic based on the certification data generated by the target service.
In yet another illustrated embodiment, the target business is a single business occurring with the supervised party; the executing unit 204 is further configured to execute preset supervision logic in real time based on the certification data generated by the target service.
In a further illustrated embodiment, the execution unit 204 is further configured to:
checking whether the certification data generated by the target service meets a preset supervision threshold;
the apparatus further includes a sending unit 206, configured to send a supervision data acquisition application to the at least one supervised node device, where the supervision data acquisition application is configured to apply for acquiring supervision data corresponding to the target service.
In yet another illustrated embodiment, the forensic transaction includes a forensic data type identification; the verifying whether the forensic transaction meets a preset supervision threshold comprises:
and checking whether the number of the acquired evidence-storing transactions comprising the same evidence-storing data type identifiers within a preset duration meets a preset supervision threshold.
In yet another illustrated embodiment, the target service generates forensic data that is a hash digest value; the supervision data comprises original text data corresponding to the certification data generated by the target service.
In yet another illustrated embodiment, the supervised party is a financial institution; the supervised credit data comprises loan deposit and credit information of the supervised party.
In yet another illustrated embodiment, the blockchain is a federation chain and the supervisor node device is a federation member node device of the federation chain.
The implementation process of the functions and roles of each unit in the apparatus 20 is specifically described in detail in the implementation process of the corresponding steps in the blockchain-based supervision method executed by the supervisor node device, and relevant points are only required to refer to part of the description of the method embodiment, and are not repeated herein.
As shown in fig. 3, the present specification also provides a blockchain-based certification device 30 applied to a blockchain network system including a supervised party node apparatus and a supervising party node apparatus, the supervised party node apparatus and the supervising party node apparatus being communicatively connected; the supervisor supervises the supervised party based on a target service; the apparatus 30 is applied to the device end of the supervised party node, and includes:
a generating unit 302, configured to generate a certification transaction, where the certification transaction includes certification data generated by the target service;
A sending unit 304, configured to send the forensic transaction to the blockchain, so that the forensic transaction is recorded in a distributed database of the blockchain.
In yet another illustrated embodiment, the target business is a single business occurring with the supervised party;
the generating unit 302 is further configured to generate the forensic transaction in real time based on the forensic data generated by the target service.
In yet another illustrated embodiment, the forensic transaction includes a forensic data type identification.
In a further illustrated embodiment, the apparatus 30 further includes a receiving unit 306, configured to receive a supervision data acquisition application sent by the supervisor node device, where the supervision data acquisition application is used to apply for acquiring supervision data corresponding to the target service;
the sending unit 304 is further configured to send the supervision data to the supervisor node device.
In yet another illustrated embodiment, the target service generates forensic data that is a hash digest value; the supervision data comprises original text data corresponding to the certification data generated by the target service.
In yet another illustrated embodiment, the supervised party is a financial institution; the target business is a loan and paying business.
In yet another illustrated embodiment, the blockchain is a federation chain and the supervisor node device is a federation member node device of the federation chain.
The implementation process of the functions and roles of each unit in the apparatus 30 is specifically described in detail in the implementation process of the corresponding steps in the blockchain-based authentication method executed by the node device of the supervised party, and the relevant parts are only required to be described in the part of the method embodiments, and are not repeated here.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the units or modules may be selected according to actual needs to achieve the purposes of the present description. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The apparatus, units, modules illustrated in the above embodiments may be implemented in particular by a computer chip or entity or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
Corresponding to the above method embodiments, embodiments of the present disclosure also provide a computer device, as shown in fig. 4, which includes a memory and a processor. Wherein the memory has stored thereon a computer program executable by the processor; the processor, when executing the stored computer program, performs the steps of the blockchain-based supervision method performed by the supervisor node device described above in the embodiments of the present disclosure. For a detailed description of the steps of the blockchain-based supervision method performed by the above-mentioned supervisor node device, please refer to the previous contents, and are not repeated.
Corresponding to the above method embodiments, embodiments of the present disclosure also provide a computer device, as shown in fig. 4, which includes a memory and a processor. Wherein the memory has stored thereon a computer program executable by the processor; the processor, when executing the stored computer program, performs the steps of the blockchain-based certification method performed by the above-described supervised node apparatus in embodiments of the present specification. For a detailed description of the steps of the blockchain-based certification method performed by the above-described supervised node apparatus, please refer to the previous contents, and are not repeated.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data.
Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, embodiments of the present description may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.