CN110555319A - Resource expected result auditing method and device based on block chain and computer equipment - Google Patents

Resource expected result auditing method and device based on block chain and computer equipment Download PDF

Info

Publication number
CN110555319A
CN110555319A CN201910662222.2A CN201910662222A CN110555319A CN 110555319 A CN110555319 A CN 110555319A CN 201910662222 A CN201910662222 A CN 201910662222A CN 110555319 A CN110555319 A CN 110555319A
Authority
CN
China
Prior art keywords
block chain
resource
expected result
preset
auditing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910662222.2A
Other languages
Chinese (zh)
Other versions
CN110555319B (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910662222.2A priority Critical patent/CN110555319B/en
Publication of CN110555319A publication Critical patent/CN110555319A/en
Priority to PCT/CN2020/099436 priority patent/WO2021012911A1/en
Application granted granted Critical
Publication of CN110555319B publication Critical patent/CN110555319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

the application discloses a resource expected result auditing method, device, computer equipment and storage medium based on a block chain, wherein the method comprises the steps of extracting first data from a preset first block chain network, acquiring second data of the resource acquired in real time, and recording the resource expected result into the second block chain network according to a formula, namely H (t) min (G (t), m), E (t) F (t) f (t), and acquiring a function H (t), according to the formula, wherein a normal time proportion is equal to the first time length/(the first time length + the second time length), if the normal time proportion is larger than a preset proportion threshold value, generating the resource expected result, sending the resource expected result to a plurality of auditing block chain nodes, receiving return information of the resource expected result from the resource expected result auditing block chain nodes, and if preset block chain recording conditions are met, recording the resource expected result into the second block chain network, thereby improving the efficiency, safety, auditing efficiency and transparency of the resource expected result.

Description

Resource expected result auditing method and device based on block chain and computer equipment
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a computer device, and a storage medium for auditing an expected result of a resource based on a block chain.
Background
Resource expectations, such as budgeting, are a commonly used technical means in modern production to anticipate revenue and expenditure for some time in the future. In the traditional technology, whether budget planning and manual budget checking are appropriate or not is generally established by adopting a manual means for budget generation and checking, a large amount of manpower and material resources are consumed in the specific budget generation and checking process, and information transparentization cannot be realized and data is easy to be tampered in the traditional technology mode. And the traditional technology has no ability to effectively judge whether the data of the object generating the budget is normal or not, and whether the data is abnormal or forged or not. Therefore, the traditional technology has the defects of low efficiency, opaque process, low information safety, low reliability and the like.
disclosure of Invention
the application mainly aims to provide a resource expected result auditing method, device, computer equipment and storage medium based on a block chain, and aims to improve the efficiency, safety, reliability and transparency of an auditing process of resource expected result auditing.
in order to achieve the above object, the present application provides a method for auditing a resource expected result based on a block chain, which is applied to a designated terminal, and includes:
extracting first data from a preset first blockchain network, wherein the specified terminal is one blockchain node of the first blockchain network which is constructed in advance and one blockchain node of a second blockchain network which is constructed in advance, the first blockchain network at least comprises a blockchain link point providing resource expected calculation use data, and the second blockchain network at least comprises a resource expected result auditing blockchain node;
acquiring second data of the resources acquired in real time, and according to a formula:
H (t) ═ min (g (t), m), whereE (t) f (t) -f (t), obtaining a function h (t), where f (t) is a function of the second data of the resource over time, f (t) is a predetermined standard second data variation function, e (t) is a function of the difference between the function f (t) and the standard second data variation function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; if the normal time ratio is larger than a preset ratio threshold, generating a resource expectation result by utilizing a preset resource expectation algorithm according to the first data;
Sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network, and requiring a plurality of resource expected result auditing block chain nodes to audit the resource expected result;
receiving return information of a plurality of resource expected result auditing block chain nodes for auditing the resource expected results, wherein the return information comprises that the auditing is passed or the auditing is not passed;
judging whether the return information meets a preset block chain recording condition or not;
And if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network.
the application also provides a device for auditing the expected result of the resource based on the block chain.
The present application further provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of any of the above methods when executing the computer program.
the present application provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any of the above.
according to the method, the device, the computer equipment and the storage medium for auditing the resource expected result based on the block chain, first data are extracted from a preset first block chain network; acquiring second data, judging whether the resources are normal according to the second data, and generating a resource expected result according to the first data; receiving return information of a plurality of resource expected result auditing block chain link points for auditing the resource expected results; and if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network. Therefore, the defects of low efficiency, opaque process, low information safety and the like of the traditional technology are overcome.
Drawings
fig. 1 is a schematic flowchart of a method for auditing expected result of a resource based on a block chain according to an embodiment of the present application;
fig. 2 is a schematic block diagram illustrating a structure of a device for auditing expected result of a resource based on a block chain according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
the implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a method for auditing a resource expected result based on a block chain, which is applied to a designated terminal, and includes the following steps:
s1, extracting first data from a preset first blockchain network, where the designated terminal is both a blockchain node of a pre-constructed first blockchain network and a blockchain node of a pre-constructed second blockchain network, the first blockchain network at least includes a blockchain node providing data of expected computing usage of resources, and the second blockchain network at least includes a resource expected result audit blockchain node;
s2, acquiring second data of the resources collected in real time, and according to a formula:
H (t) ═ min (g (t), m), whereE (t) f (t) -f (t), obtaining a function h (t), where f (t) is a function of the second data of the resource over time, f (t) is a predetermined standard second data variation function, e (t) is a function of the difference between the function f (t) and the standard second data variation function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; if the normal time ratio is larger than a preset ratio threshold, generating a resource expectation result by utilizing a preset resource expectation algorithm according to the first data;
s3, sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network, and requiring a plurality of resource expected result auditing block chain nodes to audit the resource expected result;
S4, receiving return information of auditing the resource expected results by a plurality of resource expected result auditing block chain nodes, wherein the return information comprises that the auditing is passed or the auditing is not passed;
s5, judging whether the return information meets the preset block chain recording condition;
And S6, if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network.
by adopting the design of the block chain, the appointed terminal is simultaneously set as the block chain link points of the first block chain network and the second block chain network, so that the first data for generating the resource expected result can be extracted from the public account book of the first block chain network, the reliability of the first data is ensured (the characteristic that the data of the block chain is not easy to be distorted), the second block chain network is also used for auditing and recording the resource expected result, the auditing process is ensured to be transparent, the efficiency is improved, the block chain is further adopted, the data for providing the resource expected calculation and the resource expected result are divided, and the hierarchical management and the possible error tracing are facilitated. And the second data is processed to judge whether the resource has the possibility of abnormity or counterfeit data, so that the reliability of the expected result is improved.
as described in step S1 above, the first data is extracted from a preset first blockchain network, where the specified terminal is both a blockchain node of the first pre-constructed blockchain network and a blockchain node of a second pre-constructed blockchain network, the first blockchain network includes at least a blockchain node providing the expected computing usage data of the resource, and the second blockchain network includes at least a resource expected result checking blockchain node. Such as financial, and expected budget. Wherein the first blockchain network and the second blockchain network may be public chains, alliance chains, or private chains. The public ledger of the first blockchain network is used to maintain data providing prospective computational usage of resources, such as department-specific expense plans or the like. And the public ledger of the second block chain network is used for storing the expected result of the approved resource. The designated terminal is simultaneously located in the first block chain network and the second block chain network, so that a public account book of the first block chain network and a public account book of the second block chain network are simultaneously provided, data sources of the whole process of checking the first data, the generated resource expected result and the resource expected result are real and credible, and information safety is improved. Wherein the block link points of the first block chain network may record data used to generate the resource expectation result into a public ledger of the first block chain network. Therefore, in the method for auditing the expected result of the resource based on the blockchain, the first data is derived from the public ledger of the first blockchain network and is difficult to be tampered, so that the problem of questioning the reliability of the data in the traditional technology is solved; and the auditing of the expected result of the resource is realized in the second block chain network and recorded in the second block chain network, so that the technical effects of credibility of the expected result of the resource, hierarchical management and possible error tracing are realized.
as described in step S2, the second data of the resource collected in real time is obtained, and according to the formula:
h (t) ═ min (g (t), m), whereE (t) f (t) -f (t), obtaining a function h (t), where f (t) is a function of the second data of the resource over time, f (t) is a predetermined standard second data variation function, e (t) is a function of the difference between the function f (t) and the standard second data variation function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; and if the normal time ratio is greater than a preset ratio threshold, generating a resource expectation result by using a preset resource expectation algorithm according to the first data. The function H (t) is used for representing the condition of the second data, and when the value of the function H (t) is m, the function H (t) shows that the value of the second data is overlarge and is in an abnormal state; when the value of the function H (t) is not m, the value of the second data is normal and is in a normal state, and the value is counted according to the normal statecalculating the normal time ratio, and judging whether the normal time ratio is greater than a preset threshold value; and if the normal time ratio is greater than a preset ratio threshold, generating a resource expectation result by using a preset resource expectation algorithm according to the first data. Wherein the first data is used to generate the resource expectation result, and thus the resource expectation result can be generated. According to the first data, a preset resource expectation algorithm is used to generate a resource expectation result, which may be any manner, for example: dividing income data and expenditure data from the first data; judging whether the income data and the expenditure data are credible or not; if the income data and the expenditure data are credible, respectively recording as credible income and credible expenditure; counting the credible income and credible expense so as to obtain credible total income and credible total expense; generating a resource expectation result comprising the trusted total revenue and the trusted total expenditure.
Further, the first data and the second data may or may not be related to each other. The second data is used for laterally judging whether the data of the resource has the possibility of abnormity or forgery. The second data may be determined in any manner, for example, by retrieving the second data from a preset data table, wherein the data table is recorded with a plurality of data categories. The manner of acquiring the second data is, for example, random extraction or the like.
as described in step S3, the resource expected result is sent to a plurality of resource expected result auditing block chain nodes in the second block chain network, and a plurality of resource expected result auditing block chain nodes are required to audit the resource expected result. The resource expected result auditing blockchain node may be all blockchain nodes in the second blockchain network or may be part of blockchain nodes. Sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network, and requiring the plurality of resource expected result auditing block chain nodes to audit the resource expected result, for example, the process includes: acquiring a plurality of resource expected result audit block chain nodes selected according to a preset share authorization certification mechanism in the second block chain network; sending an audit request to all the chain nodes of the resource expected result audit block, and requiring the chain nodes of the resource expected result audit block to send reply information; receiving reply information sent by the resource expected result audit block chain node, and recording the link point of the resource expected result audit block which is willing to audit as a final resource expected result audit block chain node; and sending the resource expected result to a plurality of final resource expected result auditing block chain nodes, and requiring the plurality of final resource expected result auditing block chain nodes to audit the resource expected result.
as described in step S4, return information of auditing the expected resource result at multiple resource expected result auditing block chain nodes is received, where the return information includes an audit pass or an audit fail. The link points of the auditing blocks of different resource expected results are not necessarily identical in auditing manner, so the auditing results may be different, namely auditing is passed or auditing is not passed. In order to avoid misjudgment, return information of the resource expected result by the link points of the plurality of resource expected result auditing blocks is received and comprehensively considered to determine whether the resource expected result is recorded into a public account book of the second block chain network.
as described in step S5, it is determined whether the returned information satisfies a predetermined blockchain recording condition. The mode of judging whether the returned information meets the preset block chain recording condition can be any mode, for example, when the number of the returned information passing the audit reaches the condition of a preset threshold value, the preset block chain recording condition is judged to be met; or when the ratio of the number of the returned information which passes the audit to the number of all the returned information is larger than the preset ratio threshold, judging that the preset block chain recording condition is met.
As described in step S6, if the return information satisfies the predetermined blockchain recording condition, the expected result of the resource is recorded into the second blockchain network. If the returned information meets the preset block chain recording condition, most of the audit block chain nodes in the second block chain network accept the expected resource result, and therefore the expected resource result is recorded into the second block chain network. So that a blockchain node in a second blockchain network can learn the expected result of the resource from the second blockchain network.
In one embodiment, the resource is a resource of a specified object, the first data includes predicted resource increase amounts and predicted resource loss amounts of a plurality of sub-objects of the specified object, and the step S2 of generating a resource expectation result by using a preset resource expectation algorithm according to the first data includes:
s201, counting the estimated resource increment and the estimated resource loss of a plurality of sub-objects, thereby obtaining the estimated resource increment A from the first sub-object to the nth sub-object1、A2…、AnAnd predicted resource consumption amounts B of the first sub-object to the nth sub-object1、B2…、Bnand obtaining the importance degree parameter p from the first sub-object to the nth sub-object from the pre-stored importance degree relation table of the sub-objects1、p2…、pn
S202, according to a formula:Calculating a sensitive factor M;
S203, judging whether the sensitivity factor M is larger than a preset sensitivity threshold value;
And S204, if the sensitivity factor M is not larger than a preset sensitivity threshold, generating a resource expected result, wherein the resource expected result at least comprises an expected resource increment and an expected resource loss of a plurality of sub-objects.
as described above, generating the resource expectation result is achieved. The first data of the present application includes, for example, a department expected income and a department expected expenditure of a plurality of departments, and the resource expected result can be generated based on the department expected income and the department expected expenditure. Wherein due to the different importance of different departments, the corresponding department budget is also affected accordingly. Accordingly, the present application employs the importance level referencenumber p1、p2…、pnTo represent the degree of importance of the department, and according to the formula:Calculating a sensitivity factor M, and if the sensitivity factor M is not greater than a preset sensitivity threshold, generating a resource expected result, wherein the resource expected result at least comprises expected income of departments and expected expenses of the departments of the multiple departments. Wherein the expected revenue of the first department to the nth department is A1、A2…、Anthe predicted payout of the first division to the nth division is B1、B2…、Bn. Thereby making the resource expectation more targeted so as to ensure the resource expectation of important departments.
in one embodiment, the step S3 of sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network and requiring the plurality of resource expected result auditing block chain nodes to audit the resource expected result includes:
S301, acquiring a plurality of resource expected result audit block chain nodes selected according to a preset consensus mechanism in the second block chain network;
s302, sending an audit request to all the chain nodes of the resource expected result audit block, and requiring the chain nodes of the resource expected result audit block to send reply information;
S303, receiving reply information sent by the resource expected result audit block chain node, and recording the link point of the resource expected result audit block which is in favor of audit as a final resource expected result audit block chain node;
S304, sending the resource expected result to a plurality of final resource expected result auditing block chain nodes, and requiring the plurality of final resource expected result auditing block chain nodes to audit the resource expected result.
As described above, sending to multiple audit block chain nodes is accomplished. The embodiment preferably adopts a share authorization certification mechanism as a consensus mechanism of the blockchain network. The share authorization mechanism is that all block chain nodes select a plurality of consignment block chain nodes, so that the consignment block chain nodes represent all block chain link point pairs to judge whether data (such as transaction) are recorded into a public account book, and the defect that the block chain runs slowly when the number of the block chain link points is excessive is avoided. Accordingly, the check block chain node can make a decision whether to add the resource expected result into the block chain network according to the plurality of resource expected results selected by the share authorization certification mechanism. In addition, in order to prevent the inaccurate final decision caused by the fact that part of the link points of the audit block of the expected result of the resource cannot participate in the audit (for example, the link nodes of the audit block of the expected result of the part of the resource are not started, or the communication fails, etc.), the embodiment also adopts a mode of sending the audit request in advance to determine the link nodes of the audit block willing to be audited, and to mark the link nodes as the link nodes of the audit block of the expected result of the final resource, and sends the preset specified transfer route to a plurality of the link nodes of the final audit block, thereby reducing unnecessary network overhead (the overhead of sending the audit request is far less than that of sending the expected result of the resource), and ensuring the accuracy of subsequent judgment (excluding the nodes which cannot participate in the audit).
In one embodiment, the step S5 of determining whether the returned information satisfies a preset blockchain recording condition includes:
S501, counting the return information to obtain the total number of the received return information and the number of the returned information which passes the auditing;
S502, calculating a quotient value of dividing the number of the returned information passing the examination by the total number of the returned information;
s503, judging whether the quotient value is larger than a preset block chain recording parameter threshold value or not;
s504, if the quotient value is larger than a preset block chain recording parameter threshold value, judging that the return information meets a preset block chain recording condition.
As described above, it is realized to determine whether the return information satisfies a preset blockchain recording condition. The method and the device adopt the quotient of the number of the returned information which passes the examination and the total number of the returned information to be used as the basis for judging whether the returned information meets the preset block chain recording condition. If the quotient value is larger than a preset block chain recording parameter threshold value, the occupation ratio of the resource expected result audit block chain nodes which approve the resource expected result in all the resource expected result audit block chain nodes is large enough, and accordingly the returned information is judged to meet the preset block chain recording condition; if the quotient value is not greater than the preset block chain recording parameter threshold value, the occupation ratio of the resource expected result audit block chain nodes which approve the resource expected result in all the resource expected result audit block chain nodes is less, and accordingly, the returned information is judged not to meet the preset block chain recording condition. The method for judging the quotient of the number of the returned information passing the audit divided by the total number of the returned information is more accurate than the method for judging the number of the returned information passing the audit, and can prevent misjudgment caused when a large number of resource expected results audit block chain link points have faults (for example, the audit block chain link points and an external communication interface are hijacked) and cannot participate in the audit.
In one embodiment, after the step S5 of determining whether the returned information satisfies the preset blockchain recording condition, the method includes:
s51, if the return information does not meet the preset block chain recording condition, sending a reason acquisition instruction to the link point of the resource expected result auditing block, the return information of which is not approved, wherein the reason acquisition instruction is used for indicating the link point of the resource expected result auditing block to send the reason of not approved to the designated terminal;
S52, receiving the reason that the audit sent by the resource expected result audit block chain node fails;
S53, judging whether the reason of the failure of the audit exists in a preset reason list or not;
and S54, if the reason that the audit fails exists in a preset reason list, the expected result of the resource is not allowed to be recorded into the second block chain network, a reminding message that the audit fails is generated, and the reason that the audit fails is attached to the reminding message.
As described above, it is achieved that logging of the expected result of the resource into the second blockchain network is not allowed. And if the return information does not meet the preset block chain recording condition, indicating that the expected result of the resource is not approved and cannot be recorded into the second block chain network. However, in order to utilize error tracing to determine the reason why the resource is not passed so as to correct the reason in time, the method also adopts the step of sending a reason acquisition instruction to the link point of the resource expected result auditing block, the returned information of which is not passed by auditing; receiving the reason that the audit sent by the resource expected result audit block chain node fails; and generating reminding information of which the audit fails, and attaching the reason of the failed audit to the reminding information so as to correct the expected result of the failed resource.
in one embodiment, the extracting the first data from the preset first blockchain network, wherein the designated terminal is both a blockchain node of the first pre-constructed blockchain network and a blockchain node of the second pre-constructed blockchain network, the first blockchain network includes at least a blockchain node providing the resource expected computation usage data, and the second blockchain network includes at least, before the step S1 of reviewing the blockchain node of the resource expected result, the method includes:
S001, creating a block chain class by using a Go language, giving a designated parameter to the block chain class to obtain a created block, and setting the hash value of the previous block to be 0 in the created block;
S002, generating other blocks based on the created block, wherein the other blocks record hash values of the previous block;
and S003, taking a preset terminal as a block chain node of a second block chain network, thereby constructing the second block chain network.
As described above, building the blockchain network is achieved. The language for creating the blockchain class may be any feasible language, such as JAVA, C + +, Go, etc., and the C + +, Go language is preferred in this embodiment, so as to optimize the blockchain class. The block chain class (class) is a definition of a block chain, and instantiating the block chain class is to determine specific parameters of the block chain, so as to obtain a first block (created block) and use the first block as a basis for generating other blocks. Since the created block is the first block, there is effectively no previous block, so the hash value of the previous block is set to 0 in the created block. And generating other blocks based on the created blocks, wherein the other blocks are recorded with the hash value of the previous block, so that all the blocks are closely connected and the data is prevented from being tampered. The preset consensus mechanism of the second blockchain network may be any consensus mechanism, such as a workload certification mechanism, a rights and interests certification mechanism, a byzantine fault tolerance mechanism, a stock authorization certification mechanism, and the like, and the stock authorization certification mechanism is preferred in this embodiment. Further, the building method of the first block chain network may be the same as that of the second block chain network, or may be different from that of the second block chain network.
In one embodiment, the method for extracting the first data from the preset first blockchain network includes, by the designated terminal, prestoring a virtual machine image and a blockchain container image, where the designated terminal is both a blockchain node of the first pre-constructed blockchain network and a blockchain node of a second pre-constructed blockchain network, the first blockchain network includes at least a blockchain node providing the resource-expected computation-usage data, and the second blockchain network includes at least a blockchain node for resource-expected result auditing before the step S1, the method includes:
S011, receiving a request for joining a second block chain network sent by an application terminal, wherein the request for joining the second block chain network is accompanied with identity information of the application terminal;
s012, judging whether the identity information of the application terminal is in a preset allowed adding list;
s013, if the identity information of the application terminal is in a preset allowed join list, sending the virtual machine mirror image and the block chain node container mirror image to the application terminal;
s014, acquiring the IP address and the communication port of the application terminal;
S015, to apply for the terminal to send the information of the IP address and the communication port of all block chain nodes of the second block chain network of prestoring to and send to all block chain nodes of the second block chain network the information of the IP address and the communication port of applying for the terminal, thus will apply for the terminal to join in the second block chain network, wherein apply for the terminal and have installed and start in the virtual machine mirror image block chain node container mirror image.
as described above, the second blockchain network is rapidly deployed by using the virtual machine image and the block chain link point container image. The virtual machine image is used for providing a basic operation environment, such as an environment for operating a blockchain node container image, a programming language operation environment or a basic toolkit. The container mirror image of the block chain node is stored with data such as a public ledger (for example, an existing approval record of the current approval system is converted into a public ledger), and the like, and is used for enabling the terminal to have basic conditions for becoming the block chain node (for example, information such as IP addresses of other block chain nodes needs to be acquired, and information such as IP addresses of the terminal is informed to other block chain nodes, and then the terminal can complete joining the block chain network) after the container mirror image of the block chain node is installed and started. And informing all block chain nodes of a second block chain network of the IP address and the communication port of the application terminal, and sending the information of the IP address and the communication port of the application terminal to all block chain nodes of the second block chain network, thereby realizing rapid addition of the application terminal into the second block chain network. According to the method and the device, the node chain is deployed at a higher speed and the decentralized of the block chain is maintained in a mode of presetting the virtual machine mirror image and the block chain node container mirror image. Further, the method for adding a blockchain node to the first blockchain network may be the same as or different from the second blockchain network.
According to the resource expected result auditing method based on the block chain, first data are extracted from a preset first block chain network; acquiring second data, judging whether the resources are normal according to the second data, and generating a resource expected result according to the first data; receiving return information of a plurality of resource expected result auditing block chain link points for auditing the resource expected results; and if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network. Therefore, the defects of low efficiency, opaque process, low information safety and the like of the traditional technology are overcome.
Referring to fig. 2, an embodiment of the present application provides a device for auditing expected result of resource based on a block chain, which is applied to a specified terminal, and includes:
a first data extraction unit 10, configured to extract first data from a preset first blockchain network, where the specified terminal is both a blockchain node of a pre-constructed first blockchain network and a blockchain node of a pre-constructed second blockchain network, the first blockchain network at least includes a blockchain node that provides expected resource calculation usage data, and the second blockchain network at least includes a expected resource result audit blockchain node;
A resource expected result obtaining unit 20, configured to obtain second data of the resource collected in real time, and according to a formula:
h (t) ═ min (g (t), m), whereE (t) f (t) -f (t), obtaining a function h (t), where f (t) is a function of the second data of the resource over time, f (t) is a predetermined standard second data variation function, e (t) is a function of the difference between the function f (t) and the standard second data variation function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis when the function H (t) is not equal to m and a second time when the function H (t) is equal to mlength, and according to the formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; if the normal time ratio is larger than a preset ratio threshold, generating a resource expectation result by utilizing a preset resource expectation algorithm according to the first data;
A resource expected result sending unit 30, configured to send the resource expected result to multiple resource expected result auditing block chain nodes in the second block chain network, and request the multiple resource expected result auditing block chain nodes to audit the resource expected result;
A return information receiving unit 40, configured to receive return information obtained by examining the resource expected result by using a plurality of resource expected result examining block link points, where the return information includes that the examination is passed or that the examination is not passed;
A block chain recording condition determining unit 50, configured to determine whether the return information satisfies a preset block chain recording condition;
And a resource expected result recording unit 60, configured to record the resource expected result into the second blockchain network if the return information meets a preset blockchain recording condition.
By adopting the design of the block chain, the appointed terminal is simultaneously set as the block chain link points of the first block chain network and the second block chain network, so that the first data for generating the resource expected result can be extracted from the public account book of the first block chain network, the reliability of the first data is ensured (the characteristic that the data of the block chain is not easy to be distorted), the second block chain network is also used for auditing and recording the resource expected result, the auditing process is ensured to be transparent, the efficiency is improved, the block chain is further adopted, the data for providing the resource expected calculation and the resource expected result are divided, and the hierarchical management and the possible error tracing are facilitated. And the second data is processed to judge whether the resource has the possibility of abnormity or counterfeit data, so that the reliability of the expected result is improved.
as described in the above unit 10, the first data is extracted from a preset first blockchain network, where the designated terminal is a blockchain node of both a pre-constructed first blockchain network and a pre-constructed second blockchain network, the first blockchain network includes at least a blockchain node providing the expected computing usage data of the resource, and the second blockchain network includes at least a resource expected result auditing blockchain node. Such as financial, and expected budget. Wherein the first blockchain network and the second blockchain network may be public chains, alliance chains, or private chains. The public ledger of the first blockchain network is used to maintain data providing prospective computational usage of resources, such as department-specific expense plans or the like. And the public ledger of the second block chain network is used for storing the expected result of the approved resource. The designated terminal is simultaneously located in the first block chain network and the second block chain network, so that a public account book of the first block chain network and a public account book of the second block chain network are simultaneously provided, data sources of the whole process of checking the first data, the generated resource expected result and the resource expected result are real and credible, and information safety is improved. Wherein the block link points of the first block chain network may record data used to generate the resource expectation result into a public ledger of the first block chain network. Therefore, in the method for auditing the expected result of the resource based on the blockchain, the first data is derived from the public ledger of the first blockchain network and is difficult to be tampered, so that the problem of questioning the reliability of the data in the traditional technology is solved; and the auditing of the expected result of the resource is realized in the second block chain network and recorded in the second block chain network, so that the technical effects of credibility of the expected result of the resource, hierarchical management and possible error tracing are realized.
as described above in unit 20, the second data of the resource collected in real time is obtained, and according to the formula:
h (t) ═ min (g (t), m), whereE (t) f (t) -f (t), obtaining a function h (t), where f (t) is a function of the second data of the resource over time, f (t) is a predetermined standard second data variation function, e (t) is a function of the difference between the function f (t) and the standard second data variation function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; and if the normal time ratio is greater than a preset ratio threshold, generating a resource expectation result by using a preset resource expectation algorithm according to the first data. The function H (t) is used for representing the condition of the second data, and when the value of the function H (t) is m, the function H (t) shows that the value of the second data is overlarge and is in an abnormal state; when the value of the function H (t) is not m, the numerical value of the second data is normal and is in a normal state, the normal time ratio is calculated according to the numerical value, and whether the normal time ratio is greater than a preset threshold value or not is judged; and if the normal time ratio is greater than a preset ratio threshold, generating a resource expectation result by using a preset resource expectation algorithm according to the first data. Wherein the first data is used to generate the resource expectation result, and thus the resource expectation result can be generated. According to the first data, a preset resource expectation algorithm is used to generate a resource expectation result, which may be any manner, for example: dividing income data and expenditure data from the first data; judging whether the income data and the expenditure data are credible or not; if the income data and the expenditure data are credible, respectively recording as credible income and credible expenditure; counting the credible income and credible expense so as to obtain credible total income and credible total expense; raw materialan expected outcome of the resource including the trusted total revenue and the trusted total expenditure.
further, the first data and the second data may or may not be related to each other. The second data is used for laterally judging whether the data of the resource has the possibility of abnormity or forgery. The second data may be determined in any manner, for example, by retrieving the second data from a preset data table, wherein the data table is recorded with a plurality of data categories. The manner of acquiring the second data is, for example, random extraction or the like.
as described in the above unit 30, the resource expected result is sent to a plurality of resource expected result auditing block chain nodes in the second block chain network, and a plurality of resource expected result auditing block chain nodes are required to audit the resource expected result. The resource expected result auditing blockchain node may be all blockchain nodes in the second blockchain network or may be part of blockchain nodes. Sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network, and requiring the plurality of resource expected result auditing block chain nodes to audit the resource expected result, for example, the process includes: acquiring a plurality of resource expected result audit block chain nodes selected according to a preset share authorization certification mechanism in the second block chain network; sending an audit request to all the chain nodes of the resource expected result audit block, and requiring the chain nodes of the resource expected result audit block to send reply information; receiving reply information sent by the resource expected result audit block chain node, and recording the link point of the resource expected result audit block which is willing to audit as a final resource expected result audit block chain node; and sending the resource expected result to a plurality of final resource expected result auditing block chain nodes, and requiring the plurality of final resource expected result auditing block chain nodes to audit the resource expected result.
as described in the above unit 40, return information of auditing the resource expected results by multiple resource expected result auditing block chain nodes is received, where the return information includes that the auditing is passed or the auditing is not passed. The link points of the auditing blocks of different resource expected results are not necessarily identical in auditing manner, so the auditing results may be different, namely auditing is passed or auditing is not passed. In order to avoid misjudgment, return information of the resource expected result by the link points of the plurality of resource expected result auditing blocks is received and comprehensively considered to determine whether the resource expected result is recorded into a public account book of the second block chain network.
As described in the above-mentioned unit 50, it is determined whether the returned information satisfies a preset blockchain recording condition. The mode of judging whether the returned information meets the preset block chain recording condition can be any mode, for example, when the number of the returned information passing the audit reaches the condition of a preset threshold value, the preset block chain recording condition is judged to be met; or when the ratio of the number of the returned information which passes the audit to the number of all the returned information is larger than the preset ratio threshold, judging that the preset block chain recording condition is met.
as described in the foregoing unit 60, if the return information meets the preset condition for recording the blockchain, the expected result of the resource is recorded into the second blockchain network. If the returned information meets the preset block chain recording condition, most of the audit block chain nodes in the second block chain network accept the expected resource result, and therefore the expected resource result is recorded into the second block chain network. So that a blockchain node in a second blockchain network can learn the expected result of the resource from the second blockchain network.
In one embodiment, the resource is a resource of a specified object, the first data includes a predicted resource increase amount and a predicted resource loss amount of a plurality of sub-objects of the specified object, and the resource expected result obtaining unit 20 includes:
a statistic subunit, configured to count the predicted resource increase and the predicted resource loss of the multiple sub-objects, so as to obtain a predicted resource increase a from the first sub-object to the nth sub-object1、A2…、AnAnd predicted resource consumption amounts B of the first sub-object to the nth sub-object1、B2…、Bnand obtaining the importance degree parameter p from the first sub-object to the nth sub-object from the pre-stored importance degree relation table of the sub-objects1、p2…、pn
A sensitivity factor M calculation subunit, configured to:calculating a sensitive factor M;
a sensitivity threshold judgment subunit, configured to judge whether the sensitivity factor M is greater than a preset sensitivity threshold;
And the resource expected result generating subunit is configured to generate a resource expected result if the sensitivity factor M is not greater than a preset sensitivity threshold, where the resource expected result at least includes an expected resource increase amount and an expected resource loss amount of the plurality of sub-objects.
as described above, generating the resource expectation result is achieved. The first data of the present application includes, for example, a department expected income and a department expected expenditure of a plurality of departments, and the resource expected result can be generated based on the department expected income and the department expected expenditure. Wherein due to the different importance of different departments, the corresponding department budget is also affected accordingly. Accordingly, the present application employs an importance level parameter p1、p2…、pnTo represent the degree of importance of the department, and according to the formula:calculating a sensitivity factor M, and if the sensitivity factor M is not greater than a preset sensitivity threshold, generating a resource expected result, wherein the resource expected result at least comprises expected income of departments and expected expenses of the departments of the multiple departments. Wherein the expected revenue of the first department to the nth department is A1、A2…、AnThe predicted payout of the first division to the nth division is B1、B2…、Bn. Thereby making the resource expectation more targeted so as to ensure the important departmentsResource anticipation.
in one embodiment, the resource expected result sending unit 30 includes:
An audit block chain node obtaining subunit, configured to obtain, in the second block chain network, a plurality of resource expected result audit block chain nodes that are selected according to a preset consensus mechanism;
an audit request sending subunit, configured to send an audit request to all resource expected result audit block chain nodes, and request the resource expected result audit block chain nodes to send reply information;
A reply information receiving subunit, configured to receive reply information sent by the resource expected result audit block chain node, and record a resource expected result audit block chain node that is willing to be audited as a final resource expected result audit block chain node for the reply information;
And the resource expected result sending subunit is configured to send the resource expected result to a plurality of final resource expected result auditing block chain nodes, and require the plurality of final resource expected result auditing block chain nodes to audit the resource expected result.
as described above, sending to multiple audit block chain nodes is accomplished. The embodiment preferably adopts a share authorization certification mechanism as a consensus mechanism of the blockchain network. The share authorization mechanism is that all block chain nodes select a plurality of consignment block chain nodes, so that the consignment block chain nodes represent all block chain link point pairs to judge whether data (such as transaction) are recorded into a public account book, and the defect that the block chain runs slowly when the number of the block chain link points is excessive is avoided. Accordingly, the check block chain node can make a decision whether to add the resource expected result into the block chain network according to the plurality of resource expected results selected by the share authorization certification mechanism. In addition, in order to prevent the inaccurate final decision caused by the fact that part of the link points of the audit block of the expected result of the resource cannot participate in the audit (for example, the link nodes of the audit block of the expected result of the part of the resource are not started, or the communication fails, etc.), the embodiment also adopts a mode of sending the audit request in advance to determine the link nodes of the audit block willing to be audited, and to mark the link nodes as the link nodes of the audit block of the expected result of the final resource, and sends the preset specified transfer route to a plurality of the link nodes of the final audit block, thereby reducing unnecessary network overhead (the overhead of sending the audit request is far less than that of sending the expected result of the resource), and ensuring the accuracy of subsequent judgment (excluding the nodes which cannot participate in the audit).
In one embodiment, the block chain recording condition determining unit 50 includes:
A returned information counting subunit, configured to count the returned information, so as to obtain the total number of the received returned information and the number of returned information that has passed the audit;
A quotient value calculating subunit, configured to calculate a quotient value obtained by dividing the number of the returned information that passes the audit by the total number of the returned information;
A parameter threshold judging subunit, configured to judge whether the quotient value is greater than a preset block chain recording parameter threshold;
And the condition satisfaction judging subunit is used for judging that the return information satisfies the preset block chain recording condition if the quotient is greater than a preset block chain recording parameter threshold value.
As described above, it is realized to determine whether the return information satisfies a preset blockchain recording condition. The method and the device adopt the quotient of the number of the returned information which passes the examination and the total number of the returned information to be used as the basis for judging whether the returned information meets the preset block chain recording condition. If the quotient value is larger than a preset block chain recording parameter threshold value, the occupation ratio of the resource expected result audit block chain nodes which approve the resource expected result in all the resource expected result audit block chain nodes is large enough, and accordingly the returned information is judged to meet the preset block chain recording condition; if the quotient value is not greater than the preset block chain recording parameter threshold value, the occupation ratio of the resource expected result audit block chain nodes which approve the resource expected result in all the resource expected result audit block chain nodes is less, and accordingly, the returned information is judged not to meet the preset block chain recording condition. The method for judging the quotient of the number of the returned information passing the audit divided by the total number of the returned information is more accurate than the method for judging the number of the returned information passing the audit, and can prevent misjudgment caused when a large number of resource expected results audit block chain link points have faults (for example, the audit block chain link points and an external communication interface are hijacked) and cannot participate in the audit.
in one embodiment, the apparatus comprises:
A reason acquisition instruction sending unit, configured to send a reason acquisition instruction to a resource expected result auditing block link point where the return information is not approved if the return information does not meet a preset block link recording condition, where the reason acquisition instruction is used to instruct the resource expected result auditing block link point to send a reason that the auditing is not approved to the specified terminal;
The reason receiving unit is used for receiving the reason that the audit sent by the resource expected result audit block chain node fails;
a reason list judging unit, configured to judge whether the reason for the non-pass audit exists in a preset reason list;
And a disallowance recording unit, configured to disallow recording the expected resource result into the second block chain network if the reason why the audit fails exists in a preset reason list, generate a reminder message that the audit fails, and attach the reason why the audit fails to pass to the reminder message.
As described above, it is achieved that logging of the expected result of the resource into the second blockchain network is not allowed. And if the return information does not meet the preset block chain recording condition, indicating that the expected result of the resource is not approved and cannot be recorded into the second block chain network. However, in order to utilize error tracing to determine the reason why the resource is not passed so as to correct the reason in time, the method also adopts the step of sending a reason acquisition instruction to the link point of the resource expected result auditing block, the returned information of which is not passed by auditing; receiving the reason that the audit sent by the resource expected result audit block chain node fails; and generating reminding information of which the audit fails, and attaching the reason of the failed audit to the reminding information so as to correct the expected result of the failed resource.
in one embodiment, the apparatus comprises:
a blockchain class creating unit, configured to create a blockchain class using a Go language, assign a specified parameter to the blockchain class, thereby obtaining an created block, and set a hash value of a previous block to 0 in the created block;
A further block generation unit configured to generate a further block based on the created block, wherein the further block records a hash value of a previous block;
And the second block chain network building unit is used for building the second block chain network by taking a preset terminal as a block chain node of the second block chain network.
As described above, building the blockchain network is achieved. The language for creating the blockchain class may be any feasible language, such as JAVA, C + +, Go, etc., and the C + +, Go language is preferred in this embodiment, so as to optimize the blockchain class. The block chain class (class) is a definition of a block chain, and instantiating the block chain class is to determine specific parameters of the block chain, so as to obtain a first block (created block) and use the first block as a basis for generating other blocks. Since the created block is the first block, there is effectively no previous block, so the hash value of the previous block is set to 0 in the created block. And generating other blocks based on the created blocks, wherein the other blocks are recorded with the hash value of the previous block, so that all the blocks are closely connected and the data is prevented from being tampered. The preset consensus mechanism of the second blockchain network may be any consensus mechanism, such as a workload certification mechanism, a rights and interests certification mechanism, a byzantine fault tolerance mechanism, a stock authorization certification mechanism, and the like, and the stock authorization certification mechanism is preferred in this embodiment. Further, the building method of the first block chain network may be the same as that of the second block chain network, or may be different from that of the second block chain network.
In one embodiment, the designated terminal has a virtual machine image and a block link node container image prestored therein, and the apparatus includes:
a join request receiving unit, configured to receive a request for joining a second blockchain network sent by an application terminal, where the request for joining the second blockchain network is accompanied with identity information of the application terminal;
the joining permission list judging unit is used for judging whether the identity information of the application terminal is in a preset joining permission list or not;
The mirror image sending unit is used for sending the virtual machine mirror image and the block chain node container mirror image to the application terminal if the identity information of the application terminal is in a preset join-allowed list;
an IP address and communication port obtaining unit, configured to obtain an IP address and a communication port of the application terminal;
and the IP address and communication port sending unit is used for sending the prestored IP addresses and the information of the communication ports of all block chain nodes of the second block chain network to the application terminal and sending the IP addresses and the information of the communication ports of the application terminal to all block chain nodes of the second block chain network so as to add the application terminal into the second block chain network, wherein the application terminal is installed and started in the virtual machine mirror image.
as described above, the second blockchain network is rapidly deployed by using the virtual machine image and the block chain link point container image. The virtual machine image is used for providing a basic operation environment, such as an environment for operating a blockchain node container image, a programming language operation environment or a basic toolkit. The container mirror image of the block chain node is stored with data such as a public ledger (for example, an existing approval record of the current approval system is converted into a public ledger), and the like, and is used for enabling the terminal to have basic conditions for becoming the block chain node (for example, information such as IP addresses of other block chain nodes needs to be acquired, and information such as IP addresses of the terminal is informed to other block chain nodes, and then the terminal can complete joining the block chain network) after the container mirror image of the block chain node is installed and started. And informing all block chain nodes of a second block chain network of the IP address and the communication port of the application terminal, and sending the information of the IP address and the communication port of the application terminal to all block chain nodes of the second block chain network, thereby realizing rapid addition of the application terminal into the second block chain network. According to the method and the device, the node chain is deployed at a higher speed and the decentralized of the block chain is maintained in a mode of presetting the virtual machine mirror image and the block chain node container mirror image. Further, the method for adding a blockchain node to the first blockchain network may be the same as or different from the second blockchain network.
the resource expected result auditing device based on the block chain extracts first data from a preset first block chain network; acquiring second data, judging whether the resources are normal according to the second data, and generating a resource expected result according to the first data; receiving return information of a plurality of resource expected result auditing block chain link points for auditing the resource expected results; and if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network. Therefore, the defects of low efficiency, opaque process, low information safety and the like of the traditional technology are overcome.
Referring to fig. 3, an embodiment of the present invention further provides a computer device, where the computer device may be a server, and an internal structure of the computer device may be as shown in the figure. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing data used by the resource expected result auditing method based on the block chain. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a block chain based resource expected result auditing method.
The processor executes the resource expectation result auditing method based on the block chain, is applied to a specified terminal, and comprises the following steps: extracting first data from a preset first blockchain network, wherein the specified terminal is one blockchain node of the first blockchain network which is constructed in advance and one blockchain node of a second blockchain network which is constructed in advance, the first blockchain network at least comprises a blockchain link point providing resource expected calculation use data, and the second blockchain network at least comprises a resource expected result auditing blockchain node; acquiring second data of the resources acquired in real time, and according to a formula: h (t) ═ min (g (t), m), whereE (t) f (t) -f (t), obtaining a function h (t), where f (t) is a function of the second data of the resource over time, f (t) is a predetermined standard second data variation function, e (t) is a function of the difference between the function f (t) and the standard second data variation function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; if the normal time ratio is larger than a preset ratio threshold, generating a resource expectation result by utilizing a preset resource expectation algorithm according to the first data; sending the resource expected result to a plurality of resource expected result audit block chain nodes in the second block chain network, and requiring the plurality of resource expected result audit block chain linksAuditing the expected result of the resource; receiving return information of a plurality of resource expected result auditing block chain nodes for auditing the resource expected results, wherein the return information comprises that the auditing is passed or the auditing is not passed; judging whether the return information meets a preset block chain recording condition or not; and if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network.
in one embodiment, the resource is a resource of a designated object, the first data includes predicted resource increase and predicted resource loss of a plurality of sub-objects of the designated object, and the step of generating the resource expectation result by using a preset resource expectation algorithm according to the first data includes: calculating the estimated resource increment and the estimated resource loss of a plurality of the sub-objects, thereby obtaining the estimated resource increment A from the first sub-object to the nth sub-object1、A2…、AnAnd predicted resource consumption amounts B of the first sub-object to the nth sub-object1、B2…、BnAnd obtaining the importance degree parameter p from the first sub-object to the nth sub-object from the pre-stored importance degree relation table of the sub-objects1、p2…、pn(ii) a According to the formula:Calculating a sensitive factor M; judging whether the sensitivity factor M is larger than a preset sensitivity threshold value or not; and if the sensitivity factor M is not larger than a preset sensitivity threshold, generating a resource expected result, wherein the resource expected result at least comprises the expected resource increment and the expected resource loss of the plurality of sub-objects.
In one embodiment, the step of sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network and requiring the plurality of resource expected result auditing block chain nodes to audit the resource expected result includes: acquiring a plurality of resource expected result audit block chain nodes which are selected according to a preset consensus mechanism in the second block chain network; sending an audit request to all the chain nodes of the resource expected result audit block, and requiring the chain nodes of the resource expected result audit block to send reply information; receiving reply information sent by the resource expected result audit block chain node, and recording the link point of the resource expected result audit block which is willing to audit as a final resource expected result audit block chain node; and sending the resource expected result to a plurality of final resource expected result auditing block chain nodes, and requiring the plurality of final resource expected result auditing block chain nodes to audit the resource expected result.
in one embodiment, the step of determining whether the return information satisfies a preset blockchain recording condition includes: counting the return information so as to obtain the total number of the received return information and the number of the returned information which passes the auditing; calculating a quotient value of the number of returned information passing the audit divided by the total number of returned information; judging whether the quotient value is larger than a preset block chain recording parameter threshold value or not; and if the quotient value is greater than a preset block chain recording parameter threshold value, judging that the return information meets a preset block chain recording condition.
in one embodiment, the step of determining whether the returned information satisfies a preset blockchain recording condition includes: if the returned information does not meet the preset block chain recording condition, sending a reason acquisition instruction to a resource expected result auditing block link point of which the returned information is not approved, wherein the reason acquisition instruction is used for indicating the reason that the resource expected result auditing block link point fails to audit to be sent to the specified terminal; receiving the reason that the audit sent by the resource expected result audit block chain node fails; judging whether the reason of the failure of the audit exists in a preset reason list or not; if the reason for the failure of the audit exists in a preset reason list, recording the expected result of the resource into the second block chain network is not allowed, a reminding message for the failure of the audit is generated, and the reason for the failure of the audit is attached to the reminding message.
In one embodiment, the extracting the first data from the preset first blockchain network, wherein the specified terminal is a blockchain node of the first blockchain network constructed in advance and a blockchain node of the second blockchain network constructed in advance, the first blockchain network at least comprises a blockchain node providing the resource expected calculation usage data, and the second blockchain network at least comprises the step of examining the blockchain node by the resource expected result before the step of: creating a blockchain class by using a Go language, giving a designated parameter to the blockchain class, thereby obtaining a created block, and setting the hash value of the previous block to be 0 in the created block; generating other blocks based on the created block, wherein the other blocks record hash values of a previous block; and taking a preset terminal as a block chain node of a second block chain network, thereby constructing the second block chain network.
in one embodiment, the method for extracting the first data from the preset first blockchain network includes the steps of, by the designated terminal, pre-storing a virtual machine image and a blockchain container image, where the designated terminal is both a blockchain node of the pre-built first blockchain network and a blockchain node of a pre-built second blockchain network, the first blockchain network includes at least blockchain nodes providing the resource expected calculation usage data, and the second blockchain network includes at least before the step of reviewing the blockchain nodes of the resource expected result, the method includes: receiving a request for joining a second block chain network sent by an application terminal, wherein the request for joining the second block chain network is attached with identity information of the application terminal; judging whether the identity information of the application terminal is in a preset allowed adding list or not; if the identity information of the application terminal is in a preset join-allowed list, sending the virtual machine mirror image and the block chain node container mirror image to the application terminal; acquiring an IP address and a communication port of the application terminal; and sending prestored information of IP addresses and communication ports of all block chain nodes of the second block chain network to the application terminal, and sending the information of the IP addresses and the communication ports of the application terminal to all block chain nodes of the second block chain network, so that the application terminal is added into the second block chain network, wherein the application terminal is installed and started in the virtual machine mirror image.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for auditing expected result of resource based on a block chain, and is applied to a specific terminal, where the method includes: extracting first data from a preset first blockchain network, wherein the specified terminal is one blockchain node of the first blockchain network which is constructed in advance and one blockchain node of a second blockchain network which is constructed in advance, the first blockchain network at least comprises a blockchain link point providing resource expected calculation use data, and the second blockchain network at least comprises a resource expected result auditing blockchain node; acquiring second data of the resources acquired in real time, and according to a formula: h (t) ═ min (g (t), m), whereE (t) f (t) -f (t), obtaining a function h (t), where f (t) is a function of the second data of the resource over time, f (t) is a predetermined standard second data variation function, e (t) is a function of the difference between the function f (t) and the standard second data variation function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; if the normal time ratio is larger than a preset ratio threshold, utilizing preset resources to preset according to the first dataa phase algorithm for generating a resource expected result; sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network, and requiring a plurality of resource expected result auditing block chain nodes to audit the resource expected result; receiving return information of a plurality of resource expected result auditing block chain nodes for auditing the resource expected results, wherein the return information comprises that the auditing is passed or the auditing is not passed; judging whether the return information meets a preset block chain recording condition or not; and if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network.
In one embodiment, the resource is a resource of a designated object, the first data includes predicted resource increase and predicted resource loss of a plurality of sub-objects of the designated object, and the step of generating the resource expectation result by using a preset resource expectation algorithm according to the first data includes: calculating the estimated resource increment and the estimated resource loss of a plurality of the sub-objects, thereby obtaining the estimated resource increment A from the first sub-object to the nth sub-object1、A2…、Anand predicted resource consumption amounts B of the first sub-object to the nth sub-object1、B2…、BnAnd obtaining the importance degree parameter p from the first sub-object to the nth sub-object from the pre-stored importance degree relation table of the sub-objects1、p2…、pn(ii) a According to the formula:calculating a sensitive factor M; judging whether the sensitivity factor M is larger than a preset sensitivity threshold value or not; and if the sensitivity factor M is not larger than a preset sensitivity threshold, generating a resource expected result, wherein the resource expected result at least comprises the expected resource increment and the expected resource loss of the plurality of sub-objects.
in one embodiment, the step of sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network and requiring the plurality of resource expected result auditing block chain nodes to audit the resource expected result includes: acquiring a plurality of resource expected result audit block chain nodes which are selected according to a preset consensus mechanism in the second block chain network; sending an audit request to all the chain nodes of the resource expected result audit block, and requiring the chain nodes of the resource expected result audit block to send reply information; receiving reply information sent by the resource expected result audit block chain node, and recording the link point of the resource expected result audit block which is willing to audit as a final resource expected result audit block chain node; and sending the resource expected result to a plurality of final resource expected result auditing block chain nodes, and requiring the plurality of final resource expected result auditing block chain nodes to audit the resource expected result.
in one embodiment, the step of determining whether the return information satisfies a preset blockchain recording condition includes: counting the return information so as to obtain the total number of the received return information and the number of the returned information which passes the auditing; calculating a quotient value of the number of returned information passing the audit divided by the total number of returned information; judging whether the quotient value is larger than a preset block chain recording parameter threshold value or not; and if the quotient value is greater than a preset block chain recording parameter threshold value, judging that the return information meets a preset block chain recording condition.
In one embodiment, the step of determining whether the returned information satisfies a preset blockchain recording condition includes: if the returned information does not meet the preset block chain recording condition, sending a reason acquisition instruction to a resource expected result auditing block link point of which the returned information is not approved, wherein the reason acquisition instruction is used for indicating the reason that the resource expected result auditing block link point fails to audit to be sent to the specified terminal; receiving the reason that the audit sent by the resource expected result audit block chain node fails; judging whether the reason of the failure of the audit exists in a preset reason list or not; if the reason for the failure of the audit exists in a preset reason list, recording the expected result of the resource into the second block chain network is not allowed, a reminding message for the failure of the audit is generated, and the reason for the failure of the audit is attached to the reminding message.
in one embodiment, the extracting the first data from the preset first blockchain network, wherein the specified terminal is a blockchain node of the first blockchain network constructed in advance and a blockchain node of the second blockchain network constructed in advance, the first blockchain network at least comprises a blockchain node providing the resource expected calculation usage data, and the second blockchain network at least comprises the step of examining the blockchain node by the resource expected result before the step of: creating a blockchain class by using a Go language, giving a designated parameter to the blockchain class, thereby obtaining a created block, and setting the hash value of the previous block to be 0 in the created block; generating other blocks based on the created block, wherein the other blocks record hash values of a previous block; and taking a preset terminal as a block chain node of a second block chain network, thereby constructing the second block chain network.
In one embodiment, the method for extracting the first data from the preset first blockchain network includes the steps of, by the designated terminal, pre-storing a virtual machine image and a blockchain container image, where the designated terminal is both a blockchain node of the pre-built first blockchain network and a blockchain node of a pre-built second blockchain network, the first blockchain network includes at least blockchain nodes providing the resource expected calculation usage data, and the second blockchain network includes at least before the step of reviewing the blockchain nodes of the resource expected result, the method includes: receiving a request for joining a second block chain network sent by an application terminal, wherein the request for joining the second block chain network is attached with identity information of the application terminal; judging whether the identity information of the application terminal is in a preset allowed adding list or not; if the identity information of the application terminal is in a preset join-allowed list, sending the virtual machine mirror image and the block chain node container mirror image to the application terminal; acquiring an IP address and a communication port of the application terminal; and sending prestored information of IP addresses and communication ports of all block chain nodes of the second block chain network to the application terminal, and sending the information of the IP addresses and the communication ports of the application terminal to all block chain nodes of the second block chain network, so that the application terminal is added into the second block chain network, wherein the application terminal is installed and started in the virtual machine mirror image.
The computer-readable storage medium extracts first data from a preset first blockchain network; acquiring second data, judging whether the resources are normal according to the second data, and generating a resource expected result according to the first data; receiving return information of a plurality of resource expected result auditing block chain link points for auditing the resource expected results; and if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network. Therefore, the defects of low efficiency, opaque process, low information safety and the like of the traditional technology are overcome.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A resource expected result auditing method based on a block chain is applied to a designated terminal, and is characterized by comprising the following steps:
Extracting first data from a preset first blockchain network, wherein the specified terminal is one blockchain node of the first blockchain network which is constructed in advance and one blockchain node of a second blockchain network which is constructed in advance, the first blockchain network at least comprises a blockchain link point providing resource expected calculation use data, and the second blockchain network at least comprises a resource expected result auditing blockchain node;
Acquiring second data of the resources acquired in real time, and according to a formula:
h (t) ═ min (g (t), m), whereobtaining a function H (t), wherein F (t) is a function of the second data of the resource with time, f (t) is a preset standard second data change function, E (t) is a difference function of the function F (t) and the standard second data change function f (t),the differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; if the normal time ratio is larger than a preset ratio threshold, generating a resource expectation result by utilizing a preset resource expectation algorithm according to the first data;
Sending the resource expected result to a plurality of resource expected result auditing block chain nodes in the second block chain network, and requiring a plurality of resource expected result auditing block chain nodes to audit the resource expected result;
receiving return information of a plurality of resource expected result auditing block chain nodes for auditing the resource expected results, wherein the return information comprises that the auditing is passed or the auditing is not passed;
judging whether the return information meets a preset block chain recording condition or not;
and if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network.
2. The method for auditing expected result of resources based on a block chain according to claim 1, where the resource is a resource of a specified object, the first data includes an expected resource increment and an expected resource loss of a plurality of sub-objects of the specified object, and the step of generating an expected result of a resource by using a preset resource expectation algorithm according to the first data includes:
calculating the estimated resource increment and the estimated resource loss of a plurality of the sub-objects, thereby obtaining the estimated resource increment A from the first sub-object to the nth sub-object1、A2…、AnAnd predicted resource consumption amounts B of the first sub-object to the nth sub-object1、B2…、BnAnd obtaining the importance degree parameter p from the first sub-object to the nth sub-object from the pre-stored importance degree relation table of the sub-objects1、p2…、pn
According to the formula:calculating a sensitive factor M;
judging whether the sensitivity factor M is larger than a preset sensitivity threshold value or not;
and if the sensitivity factor M is not larger than a preset sensitivity threshold, generating a resource expected result, wherein the resource expected result at least comprises the expected resource increment and the expected resource loss of the plurality of sub-objects.
3. the method according to claim 1, wherein the step of sending the expected resource result to a plurality of resource expected result auditing block chain nodes in the second block chain network and requiring the plurality of resource expected result auditing block chain nodes to audit the expected resource result comprises:
acquiring a plurality of resource expected result audit block chain nodes which are selected according to a preset consensus mechanism in the second block chain network;
Sending an audit request to all the chain nodes of the resource expected result audit block, and requiring the chain nodes of the resource expected result audit block to send reply information;
receiving reply information sent by the resource expected result audit block chain node, and recording the link point of the resource expected result audit block which is willing to audit as a final resource expected result audit block chain node;
And sending the resource expected result to a plurality of final resource expected result auditing block chain nodes, and requiring the plurality of final resource expected result auditing block chain nodes to audit the resource expected result.
4. The method for auditing expected result of resource based on block chain according to claim 1, wherein the step of determining whether the returned information satisfies a preset block chain recording condition includes:
counting the return information so as to obtain the total number of the received return information and the number of the returned information which passes the auditing;
calculating a quotient value of the number of returned information passing the audit divided by the total number of returned information;
Judging whether the quotient value is larger than a preset block chain recording parameter threshold value or not;
And if the quotient value is greater than a preset block chain recording parameter threshold value, judging that the return information meets a preset block chain recording condition.
5. The method for auditing expected result of block chain-based resources according to claim 1, wherein the step of determining whether the returned information satisfies a preset block chain recording condition is followed by:
if the returned information does not meet the preset block chain recording condition, sending a reason acquisition instruction to a resource expected result auditing block link point of which the returned information is not approved, wherein the reason acquisition instruction is used for indicating the reason that the resource expected result auditing block link point fails to audit to be sent to the specified terminal;
receiving the reason that the audit sent by the resource expected result audit block chain node fails;
judging whether the reason of the failure of the audit exists in a preset reason list or not;
if the reason for the failure of the audit exists in a preset reason list, recording the expected result of the resource into the second block chain network is not allowed, a reminding message for the failure of the audit is generated, and the reason for the failure of the audit is attached to the reminding message.
6. the method for auditing expected result of resource based on block chain according to claim 1, wherein the extracting first data from a preset first block chain network, wherein the specified terminal is a block chain node of the first block chain network and a block chain node of a second block chain network, the first block chain network comprises at least a block chain node providing expected calculation use data of resource, and the second block chain network comprises at least a block chain node for examining expected result of resource before the step of examining the block chain node, the method comprises:
Creating a blockchain class by using a Go language, giving a designated parameter to the blockchain class, thereby obtaining a created block, and setting the hash value of the previous block to be 0 in the created block;
generating other blocks based on the created block, wherein the other blocks record hash values of a previous block;
And taking a preset terminal as a block chain node of a second block chain network, thereby constructing the second block chain network.
7. the method for auditing expected result of resource based on block chain according to claim 1, wherein the specified terminal prestores a virtual machine image and a block chain node container image, and extracts first data from a preset first block chain network, wherein the specified terminal is a block chain node of a first pre-constructed block chain network and a block chain node of a second pre-constructed block chain network, the first block chain network at least includes a block chain node providing expected calculation use data of resource, and the second block chain network at least includes a block chain node for examining expected result of resource before the step of reviewing the block chain node, the method comprises:
Receiving a request for joining a second block chain network sent by an application terminal, wherein the request for joining the second block chain network is attached with identity information of the application terminal;
judging whether the identity information of the application terminal is in a preset allowed adding list or not;
if the identity information of the application terminal is in a preset join-allowed list, sending the virtual machine mirror image and the block chain node container mirror image to the application terminal;
Acquiring an IP address and a communication port of the application terminal;
and sending prestored information of IP addresses and communication ports of all block chain nodes of the second block chain network to the application terminal, and sending the information of the IP addresses and the communication ports of the application terminal to all block chain nodes of the second block chain network, so that the application terminal is added into the second block chain network, wherein the application terminal is installed and started in the virtual machine mirror image.
8. A device for auditing expected result of resources based on a block chain is applied to a specified terminal, and is characterized by comprising:
A first data extraction unit, configured to extract first data from a preset first blockchain network, where the specified terminal is both a blockchain node of a pre-constructed first blockchain network and a blockchain node of a pre-constructed second blockchain network, the first blockchain network at least includes a blockchain node that provides resource expected computation usage data, and the second blockchain network at least includes a resource expected result audit blockchain node;
The resource expected result obtaining unit is used for obtaining second data of the resources collected in real time and obtaining the second data according to a formula:
H (t) ═ min (g (t), m), whereObtaining a function H (t), wherein F (t) is a function of the second data of the resource with time, f (t) is a preset standard second data change function, E (t) is a difference function of the function F (t) and the standard second data change function f (t),The differential function of the difference function to the time is adopted, min refers to a minimum function, t refers to the time, and m refers to a preset error parameter value larger than 0; obtaining a first time length of the function H (t) on a time axis, wherein the first time length is not equal to m, and a second time length is equal to m, and according to a formula: calculating a normal time ratio which is the first time length/(the first time length + the second time length), and judging whether the normal time ratio is greater than a preset ratio threshold; if the normal time ratio is larger than a preset ratio threshold, generating a resource expectation result by utilizing a preset resource expectation algorithm according to the first data;
A resource expected result sending unit, configured to send the resource expected result to multiple resource expected result auditing block chain nodes in the second block chain network, and request the multiple resource expected result auditing block chain nodes to audit the resource expected result;
A return information receiving unit, configured to receive return information obtained by auditing the resource expected results by multiple resource expected result auditing block link points, where the return information includes that the auditing is passed or the auditing is not passed;
a block chain recording condition judgment unit, configured to judge whether the return information satisfies a preset block chain recording condition;
and the resource expected result recording unit is used for recording the resource expected result into the second block chain network if the return information meets the preset block chain recording condition.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910662222.2A 2019-07-22 2019-07-22 Resource expected result auditing method and device based on block chain and computer equipment Active CN110555319B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910662222.2A CN110555319B (en) 2019-07-22 2019-07-22 Resource expected result auditing method and device based on block chain and computer equipment
PCT/CN2020/099436 WO2021012911A1 (en) 2019-07-22 2020-06-30 Blockchain-based resource forecast result auditing method, device, and computer apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910662222.2A CN110555319B (en) 2019-07-22 2019-07-22 Resource expected result auditing method and device based on block chain and computer equipment

Publications (2)

Publication Number Publication Date
CN110555319A true CN110555319A (en) 2019-12-10
CN110555319B CN110555319B (en) 2022-12-27

Family

ID=68735673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910662222.2A Active CN110555319B (en) 2019-07-22 2019-07-22 Resource expected result auditing method and device based on block chain and computer equipment

Country Status (2)

Country Link
CN (1) CN110555319B (en)
WO (1) WO2021012911A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378691A (en) * 2019-06-18 2019-10-25 重庆金融资产交易所有限责任公司 Block chain dispositions method, device and computer equipment based on deployment center
CN111399987A (en) * 2020-03-26 2020-07-10 国金公用通链(海南)信息科技有限公司 Universal block chain sandbox supervision technology
WO2021012911A1 (en) * 2019-07-22 2021-01-28 平安科技(深圳)有限公司 Blockchain-based resource forecast result auditing method, device, and computer apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130036047A1 (en) * 2011-08-03 2013-02-07 Nxsystems, Inc. Method, system and process for centralized management and control of a budget and electronic mass distribution of funds
CN108876380A (en) * 2018-08-07 2018-11-23 阿里巴巴集团控股有限公司 A kind of method of commerce and system for depositing card based on centralization clearing and block chain
CN109493203A (en) * 2018-09-30 2019-03-19 咪咕文化科技有限公司 A kind of data calculate method, apparatus and storage medium
CN109481936A (en) * 2018-10-26 2019-03-19 咪咕文化科技有限公司 A kind of block chain accounting nodes selection method, device and computer readable storage medium
CN109727040A (en) * 2019-01-28 2019-05-07 杭州复杂美科技有限公司 Data publication method, data calling method, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10169614B2 (en) * 2016-11-17 2019-01-01 International Business Machines Corporation Container update system
CN109284974A (en) * 2018-08-30 2019-01-29 西交利物浦大学 A kind of checking method based on block chain, device, audit equipment and storage medium
CN109325852A (en) * 2018-10-25 2019-02-12 平安科技(深圳)有限公司 Loan data processing method, device, equipment and storage medium based on block chain
CN110555319B (en) * 2019-07-22 2022-12-27 平安科技(深圳)有限公司 Resource expected result auditing method and device based on block chain and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130036047A1 (en) * 2011-08-03 2013-02-07 Nxsystems, Inc. Method, system and process for centralized management and control of a budget and electronic mass distribution of funds
CN108876380A (en) * 2018-08-07 2018-11-23 阿里巴巴集团控股有限公司 A kind of method of commerce and system for depositing card based on centralization clearing and block chain
CN109493203A (en) * 2018-09-30 2019-03-19 咪咕文化科技有限公司 A kind of data calculate method, apparatus and storage medium
CN109481936A (en) * 2018-10-26 2019-03-19 咪咕文化科技有限公司 A kind of block chain accounting nodes selection method, device and computer readable storage medium
CN109727040A (en) * 2019-01-28 2019-05-07 杭州复杂美科技有限公司 Data publication method, data calling method, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378691A (en) * 2019-06-18 2019-10-25 重庆金融资产交易所有限责任公司 Block chain dispositions method, device and computer equipment based on deployment center
WO2021012911A1 (en) * 2019-07-22 2021-01-28 平安科技(深圳)有限公司 Blockchain-based resource forecast result auditing method, device, and computer apparatus
CN111399987A (en) * 2020-03-26 2020-07-10 国金公用通链(海南)信息科技有限公司 Universal block chain sandbox supervision technology
CN111399987B (en) * 2020-03-26 2023-04-18 海口海辰宇信息科技有限公司 Universal block chain sandbox supervision technology

Also Published As

Publication number Publication date
WO2021012911A1 (en) 2021-01-28
CN110555319B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
US11102001B2 (en) Trust management system and trust management method
CN110555319B (en) Resource expected result auditing method and device based on block chain and computer equipment
CN108427632B (en) Automatic test method and device
CN106548091A (en) A kind of data deposit card, the method and device of checking
EP3549050B1 (en) Method and computer product and methods for generation and selection of access rules
JP2019200556A (en) Usage management method, usage management system, and node
CN109543984A (en) Risk control method, device, electronic equipment and medium
US20200058163A1 (en) System and Method for Mapping a Virtual Building Model
CN110851877B (en) Data processing method and device, block chain node equipment and storage medium
US11310259B2 (en) Cybersecurity architectural network based on artificial intelligence
CN108829838A (en) A kind of account information batch processing method and server
Zalewski et al. Threat modeling for security assessment in cyberphysical systems
US20200394162A1 (en) Operation management method for distributed ledger system, operation management system for distributed ledger system, and operation management program for distributed ledger system
CN112561707A (en) Transaction data risk control method and device, computer equipment and storage medium
US11102055B2 (en) Network self-diagnosis control device based on block chain
CN113221163B (en) Model training method and system
CN108596548B (en) Logistics scheduling method and system based on block chain
CN113468276A (en) Trusted data acquisition method and device of on-chain prediction machine and electronic equipment
CN112702410B (en) Evaluation system, method and related equipment based on blockchain network
CN108255703A (en) A kind of fault repairing method and its terminal of SQL scripts
CN113065152A (en) Cloud service interaction method and system based on cloud computing and information digitization
CN109784629B (en) Transformer substation industrial control network fault positioning method based on neural network
CN111489175A (en) Online identity authentication method, device, system and storage medium
CN113177396B (en) Report generation method and device, computer equipment and storage medium
CN113077185B (en) Workload evaluation method, workload evaluation device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant