CN110555319B - 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
CN110555319B
CN110555319B CN201910662222.2A CN201910662222A CN110555319B CN 110555319 B CN110555319 B CN 110555319B CN 201910662222 A CN201910662222 A CN 201910662222A CN 110555319 B CN110555319 B CN 110555319B
Authority
CN
China
Prior art keywords
resource
block chain
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.)
Active
Application number
CN201910662222.2A
Other languages
Chinese (zh)
Other versions
CN110555319A (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

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 following steps: from a preset secondExtracting first data from a block chain network; acquiring second data of the resources acquired in real time, and according to a formula: h (t) = min (G (t), m), wherein
Figure DDA0002138925510000011
E (t) = F (t) -F (t), obtain function H (t); and according to the formula: normal time ratio = the first length of time/(the first length of time + the second length of time); if the normal time ratio is larger than a preset ratio threshold, generating a resource expected result; sending the expected resource result to a plurality of audit block chain nodes; receiving return information of a plurality of resource expected result auditing block chain link points for auditing the resource expected results; and if the preset block chain recording condition is met, recording the expected resource result into the second block chain network. Therefore, the efficiency, the safety and the reliability of auditing the expected result of the resource and the transparency of an auditing process are improved.

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 not or falsifying the data. 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), wherein
Figure BDA0002138925490000011
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing along with time, F (t) is a preset standard second data changing function, E (t) is a difference function of the function F (t) and the standard second data changing function F (t),
Figure BDA0002138925490000021
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; acquiring a first time length of the function H (t) on a time axis when the time length is not equal to m and a second time length when the time length is equal to m, and according to a formula: the normal time ratio = the first time length/(the first time length + the second time length), the normal time ratio is calculated, and whether the normal time ratio is greater than a preset ratio threshold is judged; 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 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 and not restrictive on the broad 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 block chain network, wherein the specified terminal is a block chain node of the first block chain network which is constructed in advance and a block chain node of a second block chain network which is constructed in advance, the first block chain network at least comprises block chain link points which provide expected calculation and use data of resources, and the second block chain network at least comprises expected result audit block chain nodes of the resources;
s2, acquiring second data of the resources acquired in real time, and according to a formula:
h (t) = min (G (t), m), wherein
Figure BDA0002138925490000031
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing along with time, F (t) is a preset standard second data changing function, E (t) is a difference function of the function F (t) and the standard second data changing function F (t),
Figure BDA0002138925490000032
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; acquiring a first time length of the function H (t) on a time axis when the time length is not equal to m and a second time length when the time length is equal to m, and according to a formula: normal time ratio = the first length of time/(the second length of time)/A time length + the second time length), calculating the normal time ratio, 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, return information of the plurality of resource expected result auditing block link points for auditing the resource expected results is received, wherein the return information comprises that the auditing is passed or the auditing is not passed;
s5, judging whether the return information meets a preset block chain recording condition or not;
and S6, if the return information meets the preset block chain recording condition, recording the expected resource result into the second block chain network.
According to the method, the designated terminal is simultaneously set as the block chain link points of the first block chain network and the second block chain network by adopting the design of the block chain, 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 (by utilizing the characteristic that the data of the block chain is not easy to be distorted), the resource expected result is audited and recorded by utilizing the second block chain network, the auditing process is transparent, the efficiency is improved, the design of the block chain is further adopted, the provided resource expected calculation use data and the audited resource expected result are divided, and the hierarchical management and 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 step S1, the first data is extracted from a preset first blockchain network, where the designated terminal is a blockchain node of a first blockchain network that is pre-constructed and a blockchain node of a second blockchain network that is pre-constructed, the first blockchain network includes at least a blockchain node that provides the resource-expected calculation-use data, and the second blockchain network includes at least a resource-expected result audit 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 that provides an anticipated calculated usage of the resource, such as a division expense plan made by the division, and 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 stated in step S2 above, the second data of the resource collected in real time is obtained, and according to the formula:
h (t) = min (G (t), m), wherein
Figure BDA0002138925490000051
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing along with time, F (t) is a preset standard second data changing function, and E (t) isA difference function of said function F (t) and said standard second data variation function F (t),
Figure BDA0002138925490000052
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; acquiring 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 length when the function H (t) is equal to m, and according to a formula: the normal time ratio = the first time length/(the first time length + the second time length), the normal time ratio is calculated, and whether the normal time ratio is greater than a preset ratio threshold 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. 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) indicates 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 larger 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; 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 above, 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 a 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 link node of the resource expected result audit block, and recording link points of the resource expected result audit block, which are willing to be audited, of the reply information as final link nodes of the resource expected result audit block; 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 stated in step S4, return information of auditing the resource expected results by multiple resource expected result auditing block nodes is received, where the return information includes that the auditing is passed or the auditing is not passed. The link points of the audit block of different resource expected results are not necessarily identical in audit mode, so the audit results may be different, and are respectively audit passed or audit 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 preset blockchain recording condition. The mode of judging whether the returned information meets the preset block chain recording condition or not can be any mode, for example, when the number of the returned information which passes the examination 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 preset blockchain recording condition, the expected resource result 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 designated object, the first data includes predicted resource increase amounts and predicted resource consumption amounts of a plurality of sub-objects of the designated 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-object 1 、A 2 …、A n And predicted resource consumption amounts B of the first sub-object through the nth sub-object 1 、B 2 …、B n And obtaining the first object from the pre-stored relationship table of the importance degree of the sub-objectImportance degree parameter p of sub-object to nth sub-object 1 、p 2 …、p n
S202, according to a formula:
Figure BDA0002138925490000071
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 an importance level parameter p 1 、p 2 …、p n To represent the degree of importance of the department, and according to the formula:
Figure BDA0002138925490000072
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 A 1 、A 2 …、A n The estimated expenditure of the first department to the nth department is B 1 、B 2 …、B n . 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 achieved. The embodiment preferably adopts a share authorization certification mechanism as a consensus mechanism of the blockchain network. The certification mechanism of the share authorization refers to that all the block chain nodes select a plurality of consignment block chain nodes, so that the consignment block chain nodes represent all the block chain link point pairs to judge whether data (such as transactions) are recorded into a public ledger, and the defect that the block chain runs slowly when the number of the block chain link points is too large is avoided. Therefore, the block chain nodes are examined according to a plurality of resource expected results thrown by the share authorization certification mechanism to determine whether to add the resource expected results into the block chain network. 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 which passes 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;
and S504, 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.
As described above, it is achieved that whether the return information satisfies a preset block chain recording condition is judged. 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 fail (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 returned information does not meet the preset block chain recording condition, sending a reason acquisition instruction to a resource expected result auditing block chain link point of which the returned information is not approved, wherein the reason acquisition instruction is used for indicating the resource expected result auditing block chain link point 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 is not passed;
s53, judging whether the reason of the failure of the verification exists in a preset reason list or not;
and S54, if the reason for the failure of the audit 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 for the failure of the audit is generated, and the reason for the failure of the audit 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 specified 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 resource expected calculation usage data, and the second blockchain network includes at least the step S1 of reviewing the blockchain node of the resource expected result, and 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 a hash value of a previous block to be 0 in the created block;
s002, generating other blocks based on the founding block, wherein the other blocks record hash values of a 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 language, etc., and the C + +, go language is preferred in this embodiment, so as to optimize the blockchain class. The class of the blockchain is a definition of the blockchain, and instantiating the class of the blockchain is to determine specific parameters of the blockchain, 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 step S1, the method includes:
s011, receiving a request of joining a second block chain network sent by an application terminal, wherein the request of 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 block chain deployment speed is increased and the decentralization of the block chain is maintained by 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 the second blockchain network or may be 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), wherein
Figure BDA0002138925490000121
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing along with time, F (t) is a preset standard second data changing function, E (t) is a difference function of the function F (t) and the standard second data changing function F (t),
Figure BDA0002138925490000131
the differential function of the difference function to time is adopted, min refers to a minimum function, t refers to time, and m refers to a preset error parameter value larger than 0; acquiring a first time length of the function H (t) on a time axis when the time length is not equal to m and a second time length when the time length is equal to m, and according to a formula: normal time ratio = the first time length/(the first time length + the second time length), the normal time ratio is calculated, and whether the normal time ratio is greater than a preset ratio threshold is judged; 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;
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 foregoing unit 10, the first data is extracted from a preset first blockchain network, where the designated terminal is 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 includes at least a blockchain node that provides the resource expected calculation usage data, and the second blockchain network includes at least a resource expected result audit 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 that provides an anticipated calculated usage of the resource, such as a division expense plan made by the division, and 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), wherein
Figure BDA0002138925490000141
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing along with time, F (t) is a preset standard second data changing function, E (t) is a difference function of the function F (t) and the standard second data changing function F (t),
Figure BDA0002138925490000142
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; acquiring 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 length when the function H (t) is equal to m, and according to a formula: normal time ratio = the first time length/(the first time length + the second time length), the normal time ratio is calculated, and whether the normal time ratio is greater than a preset ratio threshold is judged; if the normal time ratio is larger than a preset ratio threshold value, according to the first data, utilizing preset resource expectationAnd (4) an algorithm for generating a resource expected result. 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) indicates 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, the normal time ratio is calculated according to the value, and whether the normal time ratio is larger 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; 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 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 link node of the resource expected result audit block, and recording link points of the resource expected result audit block, which are willing to be audited, of the reply information as final link nodes of the resource expected result audit block; 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 audit block of different resource expected results are not necessarily identical in audit mode, so the audit results may be different, and are respectively audit passed or audit 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. And if the return 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 consumption amounts 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-object 1 、A 2 …、A n And predicted resource consumption amounts B of the first sub-object through the nth sub-object 1 、B 2 …、B n And 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-objects 1 、p 2 …、p n
A sensitivity factor M calculation subunit, configured to:
Figure BDA0002138925490000161
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, generation is achievedThe resource expects a result. 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 p 1 、p 2 …、p n To represent the degree of importance of the department, and according to the formula:
Figure BDA0002138925490000171
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 A 1 、A 2 …、A n The predicted payout of the first division to the nth division is B 1 、B 2 …、B n . Therefore, the resource expectation is more targeted so as to ensure the resource expectation of important departments.
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 block chain 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 examination;
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 configured to judge that the return information satisfies a preset block chain recording condition if the quotient value is greater than a preset block chain recording parameter threshold value.
As described above, it is achieved that whether the return information satisfies a preset block chain recording condition is judged. 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 fail (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 resource expected result 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 (a founder block) which is used as a basis for generating other blocks. Since the created block is the first block, there is virtually 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 prestored therein a virtual machine image and a block link node container image, 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 link point container mirror image to the application terminal if the identity information of the application terminal is in a preset allowed join 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 tool kit. 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 then informing all block chain nodes of the 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 the 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 method for auditing the expected result of the resource based on the block chain, and is applied to a specified terminal, and the method 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), wherein
Figure BDA0002138925490000221
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is time-varying of second data of the resourceA function 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),
Figure BDA0002138925490000222
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; acquiring 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 length when the function H (t) is equal to m, and according to a formula: the normal time ratio = the first time length/(the first time length + the second time length), the normal time ratio is calculated, and whether the normal time ratio is greater than a preset ratio threshold is judged; 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.
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-object 1 、A 2 …、A n And expected resource consumption of the first sub-object through the nth sub-objectQuantity B 1 、B 2 …、B n And obtaining the importance degree parameter p of the first sub-object to the nth sub-object from the pre-stored relation table of the importance degrees of the sub-objects 1 、p 2 …、p n (ii) a According to the formula:
Figure BDA0002138925490000223
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 expectation result to a plurality of resource expectation result auditing block chain nodes in the second block chain network and requiring a plurality of resource expectation result auditing block chain nodes to audit the resource expectation result includes: acquiring a plurality of resource expected result audit block chain nodes selected according to a preset consensus mechanism in the second block chain network; sending review requests to all the chain nodes of the resource expected result review block, and requesting the chain nodes of the resource expected result review block to send return information; receiving reply information sent by the link node of the resource expected result audit block, and recording link points of the resource expected result audit block, which are willing to be audited, of the reply information as final link nodes of the resource expected result audit block; 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 block chain class by using a Go language, giving a designated parameter to the block chain class so as to obtain a created block, and setting a hash value of a 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 resource acquired in real time, and according to a formula: h (t) = min (G (t), m), wherein
Figure BDA0002138925490000251
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing with time, F (t) is a preset standard second data changing function, E (t) is a difference function of the function F (t) and the standard second data changing function F (t),
Figure BDA0002138925490000252
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; acquiring 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 length when the function H (t) is equal to m, and according to a formula: normal time ratio = the first time length/(the first time length + the second time length), the normal time ratio is calculated, and whether the normal time ratio is greater than a preset ratio threshold is judged; 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.
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: counting projected resource increases for a plurality of said sub-objectsThe amount and the predicted resource loss amount are obtained, so that the predicted resource increase amount A from the first sub-object to the nth sub-object is obtained 1 、A 2 …、A n And predicted resource consumption amounts B of the first sub-object to the nth sub-object 1 、B 2 …、B n And 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-objects 1 、p 2 …、p n (ii) a According to the formula:
Figure BDA0002138925490000253
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 a predicted resource increment and a predicted resource loss of a plurality of sub-objects.
In one embodiment, the step of sending the resource expectation result to a plurality of resource expectation result auditing block chain nodes in the second block chain network and requiring a plurality of resource expectation result auditing block chain nodes to audit the resource expectation 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 examination; 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; and if the reason of the failure of the audit exists in a preset reason list, the expected result of the resource is not allowed to be recorded into the second block chain network, the reminding information of the failure of the audit is generated, and the reason of the failure of the audit is attached to the reminding information.
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 block chain class by using a Go language, giving a designated parameter to the block chain class so as to obtain a created block, and setting a hash value of a 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 accompanied with identity information of the application terminal; judging whether the identity information of the application terminal is in a preset permission 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 nodes 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 a blockchain node of the first blockchain network which is constructed in advance and a blockchain node of a second blockchain network which is constructed in advance, the first blockchain network at least comprises a blockchain node which provides resource expected calculation use data, and the second blockchain network at least comprises a resource expected result audit blockchain node;
acquiring second data of the resource acquired in real time, and according to a formula:
h (t) = min (G (t), m), wherein
Figure FDA0003751913760000011
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing along with time, F (t) is a preset standard second data changing function, E (t) is a difference function of the function F (t) and the standard second data changing function F (t),
Figure FDA0003751913760000012
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; acquiring a first time length of the function H (t) on a time axis when the time length is not equal to m and a second time length when the time length is equal to m, and according to a formula: normal time ratio = the first time length/(the first time length + the second time length), the calculated ratio is calculatedThe normal time ratio is judged, and whether the normal time ratio is larger than a preset ratio threshold value is judged; if the normal time ratio is larger than a preset ratio threshold, generating a resource expectation result by using 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:
the predicted resource increment and the predicted resource loss of a plurality of sub-objects are counted to obtain the predicted resource increment A from the first sub-object to the nth sub-object 1 、A 2 …、A n And predicted resource consumption amounts B of the first sub-object to the nth sub-object 1 、B 2 …、B n And 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-objects 1 、p 2 …、p n
According to the formula:
Figure FDA0003751913760000021
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 selected according to a preset consensus mechanism in the second block chain network;
sending review requests to all the chain nodes of the resource expected result review block, and requesting the chain nodes of the resource expected result review block to send return 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 examination;
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 result of resource expectation based on block chain according to claim 1, wherein the step of extracting the first data from the preset first block chain network is preceded by:
creating a block chain class by using a Go language, giving a designated parameter to the block chain class so as to obtain a created block, and setting a hash value of a 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 as claimed in claim 1, wherein the designated terminal pre-stores a virtual machine image and a block chain node container image, and the step of extracting the first data from the preset first block chain network 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 permission list or not;
if the identity information of the application terminal is in a preset permission adding list, sending the virtual machine mirror image and the block chain link point 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), wherein
Figure FDA0003751913760000041
E (t) = F (t) -F (t), obtaining a function H (t), wherein F (t) is a function of the second data of the resource changing along with time, F (t) is a preset standard second data changing function, E (t) is a difference function of the function F (t) and the standard second data changing function F (t),
Figure FDA0003751913760000051
the differential function of the difference function to time is adopted, min refers to a minimum function, t refers to time, and m refers to a preset error parameter value larger than 0; acquiring a first time length of the function H (t) on a time axis when the time length is not equal to m and a second time length when the time length is equal to m, and according to a formula: the normal time ratio = the first time length/(the first time length + the second time length), the normal time ratio is calculated, and whether the normal time ratio is greater than a preset ratio threshold is judged; 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 when executing the computer program performs the steps of the method according to any of claims 1 to 7.
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 CN110555319A (en) 2019-12-10
CN110555319B true 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)

Families Citing this family (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
CN110555319B (en) * 2019-07-22 2022-12-27 平安科技(深圳)有限公司 Resource expected result auditing method and device based on block chain and computer equipment
CN111399987B (en) * 2020-03-26 2023-04-18 海口海辰宇信息科技有限公司 Universal block chain sandbox supervision technology

Family Cites Families (9)

* 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
US10169614B2 (en) * 2016-11-17 2019-01-01 International Business Machines Corporation Container update system
CN108876380B (en) * 2018-08-07 2021-03-23 创新先进技术有限公司 Transaction method and system based on centralized settlement and block chain deposit certificate
CN109284974A (en) * 2018-08-30 2019-01-29 西交利物浦大学 A kind of checking method based on block chain, device, audit equipment and storage medium
CN109493203A (en) * 2018-09-30 2019-03-19 咪咕文化科技有限公司 Data accounting method, device and storage medium
CN109325852A (en) * 2018-10-25 2019-02-12 平安科技(深圳)有限公司 Loan data processing method, device, equipment and storage medium based on block chain
CN109481936B (en) * 2018-10-26 2022-04-29 咪咕文化科技有限公司 Block chain accounting node selection method and device and computer readable storage medium
CN109727040B (en) * 2019-01-28 2020-09-15 杭州复杂美科技有限公司 Data publishing method, data calling method, device and storage medium
CN110555319B (en) * 2019-07-22 2022-12-27 平安科技(深圳)有限公司 Resource expected result auditing method and device based on block chain and computer equipment

Also Published As

Publication number Publication date
WO2021012911A1 (en) 2021-01-28
CN110555319A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN110555319B (en) Resource expected result auditing method and device based on block chain and computer equipment
US11102001B2 (en) Trust management system and trust management method
CN109614262B (en) Service checking method, device and computer readable storage medium
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
CN113177396B (en) Report generation method and device, computer equipment and storage medium
CN109543984A (en) Risk control method, device, electronic equipment and medium
CN110851877B (en) Data processing method and device, block chain node equipment and storage medium
CN110866289B (en) Block chain-based data processing method, device, server and storage medium
JP2021528705A (en) Email management method based on artificial intelligence and its device
CN108829838A (en) A kind of account information batch processing method and server
US20200394162A1 (en) Operation management method for distributed ledger system, operation management system for distributed ledger system, and operation management program for distributed ledger system
CN111095863A (en) Block chain based system and method for communicating, storing and processing data over a block chain network
CN113221163B (en) Model training method and system
CN111178894A (en) Asset type registration and transaction record verification method and system
CN111078797B (en) Method and device for distributing certificates, computer equipment and storage medium
KR102055748B1 (en) Network self-diagnosis control apparatus based on block chain
CN113468276A (en) Trusted data acquisition method and device of on-chain prediction machine and electronic equipment
CN112115507B (en) Cloud service interaction method and big data platform based on cloud computing and information digitization
CN113806816A (en) Electronic file management method and device based on block chain and electronic equipment
US20220139122A1 (en) Method for monitoring a functionality of a vehicle information system of a motor vehicle, and electronic computing device, computer program and data carrier
CN113077185B (en) Workload evaluation method, workload evaluation device, computer equipment and storage medium
CN114154996A (en) Cross-block-chain data transfer method and system, storage medium and terminal
CN110932898B (en) Intelligent network management system and method
CN110750604A (en) Block chain-based transfer route recording method and device and computer equipment

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