CN110880069A - Engineering settlement traceability method and device based on block chain technology - Google Patents

Engineering settlement traceability method and device based on block chain technology Download PDF

Info

Publication number
CN110880069A
CN110880069A CN201911102912.9A CN201911102912A CN110880069A CN 110880069 A CN110880069 A CN 110880069A CN 201911102912 A CN201911102912 A CN 201911102912A CN 110880069 A CN110880069 A CN 110880069A
Authority
CN
China
Prior art keywords
data
project
block
settlement
department
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911102912.9A
Other languages
Chinese (zh)
Inventor
宋飞虎
叶青
余涵
何联涛
袁婷
周智敏
房少君
朱立派
巫建辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jianxin Zhuhe Technology Co Ltd
Shenzhen Institute of Building Research Co Ltd
Original Assignee
Shenzhen Jianxin Zhuhe Technology Co Ltd
Shenzhen Institute of Building Research 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 Shenzhen Jianxin Zhuhe Technology Co Ltd, Shenzhen Institute of Building Research Co Ltd filed Critical Shenzhen Jianxin Zhuhe Technology Co Ltd
Priority to CN201911102912.9A priority Critical patent/CN110880069A/en
Publication of CN110880069A publication Critical patent/CN110880069A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Probability & Statistics with Applications (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Marketing (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an engineering settlement traceability method and device based on a block chain technology. The method comprises the following steps: acquiring an original data block and a world state block according to the authority identification of the user certificate; calculating a data updating increment, and linking the data updating increment on the basis of the block chain; and calculating to obtain a data statistic value according to the original data block, the world state block and the data updating increment, and linking the data statistic value based on the block chain. According to the invention, the data updating increment and the data statistic are calculated according to the original data block and the world state block, and after chaining, the traceability of the statistic can be realized according to the authority identification of the user. The authority isolation is realized by limiting the user authority identification, and the engineering settlement tracing based on the data statistics value can be realized, so that the convenience of data retrieval and query is provided; in addition, the data is linked on the block chain, so that the engineering settlement data cannot be modified manually, and the safety is improved.

Description

Engineering settlement traceability method and device based on block chain technology
Technical Field
The invention relates to the technical field of block chains, in particular to an engineering settlement traceability method and device based on a block chain technology.
Background
Currently, the non-falsifiable nature of the blockchain technique is acknowledged by the industry, and the blockchain technique is really difficult to fall to the ground in an actual business scenario. Particularly, the business tracing is important when the engineering settlement financial correlation is involved.
The orders of the traditional engineering settlement software transaction are stored in the relational database, so that the manual modification is easy, and modification traces can be easily erased. Due to this drawback, there is a huge risk hidden, and there is no method to verify the truth of the matter, which is liable to cause irreparable damage to the system user. Second, the system program deployment package threshold is low and the program logic is replaced and not known to the user. Contrary to the spirit of the fair, open and transparent internet.
Disclosure of Invention
In view of this, the present invention provides a method for tracing engineering settlement based on a block chain technology, which includes:
according to the authority identification of the user certificate, acquiring the operation record of the user as an original data block, and acquiring the current state information on the block chain as a world state block;
calculating a data updating increment according to the original data block and the world state block, and linking the data updating increment on the basis of the block chain;
and calculating to obtain a data statistic value according to the original data block, the world state block and the data update increment, and chaining the data statistic value based on the block chain so as to trace the source of the data statistic value corresponding to the user according to the authority identification of the user certificate.
Preferably, the "calculating a data update increment according to the original data block and the world state block, and chaining the data update increment based on the block chain" includes:
associating the world state block with department identifiers or project identifiers in the original data block;
calculating department project settlement data or project settlement data based on the original data block on the basis of the world state block in a department or a project based on the department identification or the project identification, and taking the department project settlement data and the project settlement data as data update increments;
updating the data for incremental uplink.
Preferably, the "linking up the data update increments" includes:
and according to the authority identification of the user certificate of the user, performing authority isolation and chaining on the data updating increment based on departments and projects.
Preferably, the "calculating a data statistic according to the original data block, the world state block, and the data update increment, and chaining the data statistic based on the block chain" includes:
acquiring the current project settlement expenditure in the original data block;
acquiring a used total amount and a used total budget of a department in a last block in the world state block;
calculating and updating the used total amount and the total budget based on the data updating increment as the data engineering quantity statistic value according to the original state block;
chaining the statistics based on the block chain.
Preferably, the "calculating a data statistic according to the original data block, the world state block, and the data update increment, and chaining the data statistic based on the block chain" includes:
acquiring employee operation data of the user in the original data block;
acquiring a project total plan of a project corresponding to the world state block;
calculating the operation progress percentage of the current block according to the project total plan and the employee operation data to be used as the data engineering quantity statistical value;
chaining the statistics based on the block chain.
Preferably, the "calculating the percentage of operation progress of the current block according to the project total plan and the employee operation data as the data engineering quantity statistical value" includes:
the operation progress percentage is composed of the sum of the engineering quantity direct cost data in the project total plan, the management cost data corresponding to the project total plan in the employee operation data and the project material fee, and the overtime penalty statistical data of the problem events occurring in the project total plan execution process are removed.
Preferably, the calculation method of the engineering quantity direct cost data is as follows:
A1=(B1×C1×D1)+(B2×C2×D2)+……(Bn×Cn×Dn);
wherein the project overview comprises at least one project sub-contract; the subcontract working hour ratio corresponding to each project subcontract is the proportion of the total working hours of the project subcontract in the project total plan; a1 is engineering quantity direct cost data; b is the project subcontract amount; c is the sub-contract time-to-work ratio; d is a reserved error and a rework value; n is the contract identification of the project sub-contract in the project total plan;
the calculation method of the management cost data comprises the following steps:
A2=[100-(E-i1)×10]+[100-(E-i2)×10]+……[100-(E-in)×10];
the employee operation data is generated by at least one employee operation aiming at the corresponding project operation; a2 is administrative cost data; n is an employee identifier; e is the number of the preset theoretical uploaded data; i is the number of data actually uploaded on the same day corresponding to the employee identification;
the project material charge is the total charge of each employee for using the material in the execution of the project total plan, and is marked as A3;
the calculation method of the overtime penalty statistical data comprises the following steps:
A4=(F1×G)+(F2×G)+……(Fn×G);
wherein A4 is the statistic data of overtime penalty; n is the identification of the problem event; f is the overtime days corresponding to the problem events; g is a time-out per day penalty factor in the project sub-contract;
the calculation method of the operation progress percentage comprises the following steps:
X=A1+A2+A3-A4
wherein X is the percentage of the operation progress as the statistical value of the data engineering quantity; if there is no problem event in all project sub-contracts within the project aggregate plan, then A4 is 0.
Preferably, after calculating the department project settlement data or project settlement data based on the original data block on the basis of the world state block in the department or project based on the department identifier or the project identifier, and using the department project settlement data and the project settlement data as data update increments, the method further includes:
taking the department project settlement data as a department updating block and taking the project settlement data as a project updating block; constructing a sequence number for the department update block and the project update block;
after the "obtaining a statistical data value by calculation according to the original data block, the world state block, and the data update increment, and chaining the statistical data value based on the block chain", the method further includes:
according to the authority identification of the user certificate, confirming the access authority of the user;
based on the access authority, extracting a data block corresponding to a preset retrieval condition of a user through the block identifier of each data block;
and sequencing according to the sequence number corresponding to each data block to generate a traceable source block chain.
In addition, in order to solve the above problem, the present application further provides an engineering settlement traceability device based on the block chain technology, including:
the acquisition module is used for acquiring the operation record of the user as an original data block and acquiring the current state information on the block chain as a world state block according to the authority identification of the user certificate;
the calculation module is used for calculating a data updating increment according to the original data block and the world state block and chaining the data updating increment based on the block chain;
the calculation module is further configured to calculate a data statistic according to the original data block, the world state block, and the data update increment, and link the data statistic based on the block chain, so as to trace the source of the data statistic corresponding to the user according to the authority identifier of the user certificate.
In addition, in order to solve the above problems, the present application further provides an engineering settlement traceability system based on a blockchain technology, which includes a memory and a processor, where the memory is used to store an engineering settlement traceability program based on the blockchain technology, and the processor runs the engineering settlement traceability program based on the blockchain technology so that the engineering settlement traceability system based on the blockchain technology executes the engineering settlement traceability method based on the blockchain technology.
In addition, in order to solve the above problems, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a project settlement tracing program based on a blockchain technology, and when being executed by a processor, the project settlement tracing program based on the blockchain technology implements the project settlement tracing method based on the blockchain technology.
The invention provides a block chain technology-based engineering settlement traceability method and a block chain technology-based engineering settlement traceability device. The method comprises the steps of calculating to obtain a data updating increment according to an original data block and a world state block, calculating to obtain a data statistic, and tracing the statistic according to the authority identification of a user after chaining. The authority isolation is realized by limiting the user authority identification, and the engineering settlement tracing based on the data statistic value can be realized, so that the convenience of data check and query is provided; in addition, the data is linked on the block chain, so that the engineering settlement data on the chain cannot be modified manually, and the safety is improved.
Drawings
Fig. 1 is a schematic structural diagram of a hardware operating environment related to an embodiment of the engineering settlement traceability method based on the blockchain technology according to the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for tracing engineering settlement based on a blockchain technique according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of the method for tracing engineering settlement based on block chaining technology according to the present invention;
FIG. 4 is a flowchart illustrating a detailed step S300 of the method for tracing engineering settlement based on block chaining technology according to a third embodiment of the present invention;
fig. 5 is a flowchart illustrating a step S300 of another embodiment of a method for tracing engineering settlement based on a blockchain technique according to the present invention;
FIG. 6 is a flowchart illustrating a third embodiment of the method for tracing engineering settlement based on blockchain technology according to the present invention;
fig. 7 is a flowchart illustrating a step S370 in a fourth embodiment of the method for tracing engineering settlement based on the blockchain technology according to the present invention;
fig. 8 is a functional block diagram of the engineering settlement tracing apparatus based on the blockchain technology according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
Reference will now be made in detail to the embodiments of the present invention, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment of a terminal according to an embodiment of the present invention.
The engineering settlement traceability system based on the block chain technology can be a PC (personal computer), a mobile terminal device such as a smart phone, a tablet personal computer or a portable computer, and the like. As shown in fig. 1, the engineering settlement traceability system based on the blockchain technology may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a display screen, an input unit such as a keyboard, a remote control, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001. Optionally, the engineering settlement traceability system based on the block chain technology may further include a RF (Radio Frequency) circuit, an audio circuit, a WiFi module, and the like. In addition, the engineering settlement traceability system based on the block chain technology can be also configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like, and the details are not repeated herein.
Those skilled in the art will appreciate that the project settlement provenance system based on blockchain technology illustrated in fig. 1 does not constitute a limitation thereto and may include more or fewer components than illustrated, or combine certain components, or a different arrangement of components. As shown in fig. 1, the memory 1005, which is a computer-readable storage medium, may include an operating system, a data interface control program, a network connection program, and an engineering settlement traceability program based on the blockchain technique.
The invention provides a block chain technology-based engineering settlement traceability method and a block chain technology-based engineering settlement traceability device. The method comprises the steps of calculating to obtain a data updating increment according to an original data block and a world state block, calculating to obtain a data statistic, and tracing the statistic according to the authority identification of a user after chaining. The authority isolation is realized by limiting the user authority identification, and the engineering settlement tracing based on the data statistic value can be realized, so that the convenience of data check and query is provided; in addition, the data is linked on the block chain, so that the engineering settlement data cannot be modified manually, and the safety is improved.
Example 1:
referring to fig. 2, a first embodiment of the present invention provides a method for tracing engineering settlement based on a block chain technique, including:
step S100, acquiring an operation record of the user as an original data block and acquiring current state information on a block chain as a world state block according to the authority identification of the user certificate;
the user certificate can be obtained through the real-name registration process of the user. Specifically, the following may be mentioned:
s1: and (4) registering the real name of the user.
The user registration information through the PC terminal/the WeChat small program comprises the name, the number, the registration time, the identity card number, the face identification information and the like of the user.
In the embodiment, the real-name information of a user is obtained, and face recognition registration is carried out for 1-4;
1. the method comprises the following steps: and (4) confirming the mobile phone verification code through the name and the mobile phone number (bound to the business hall real name authentication) input by the user. For example, (userName user name, mobile phone number). Inputting a user name: zhang III, mobile phone number input 13100000001, click to send the verification code, the system sends the verification code to the mobile phone input by the user within 5 seconds. For example, (the verification code is '1462'), input to the verification code text box of the registration page, input '1462', verify success, point out the mobile phone number is correct; if another number is entered, such as "1141," the verification fails, prompting for the correct verification code.
2. After the mobile phone passes the verification, the information of the identity card is input, the length is 18 bits, and the deficiency is replaced by 'X'.
3. And entering a face recognition module. The method comprises the following specific steps: the system prompts 'please watch the screen', the camera captures the face information of the user, and the face recognition verification is carried out.
4. Therefore, after the information is successfully verified, the user is successfully registered, and the user number is generated. For example (user number userID: 494949084193357829) the user number is generated using a non-repeatable unique mechanism.
S2: and calculating the public and private keys of the CA certificate of the user according to the registration information of the user.
The system issues a certificate by a CFCA (China financial certification center) organization according to 4 elements of name, mobile phone number (mobile phone number bound by business hall real-name certification), identity card number, face identification information and the like. In order to make the system data legal, compliant and safe, the system data can be used as legal basis when disputes occur.
The certificate is obtained through real-time communication with the CFCA, and the safety of engineering settlement traceability is improved.
As mentioned above, the user obtaining the certificate can mainly perform two main types of operations, one type of operation is about "department" and the other type is about "project"; all operations of a specific employee in "department" or "project" are recorded as "raw data". Taking the "project" operation as an example, one employee can perform operations such as "uploading project information (pictures and characters), publishing problems, printing documents, printing drawings and ordering", etc. in the project, the corresponding "project settlement operation" can be "direct cost of project amount, management cost, project material fee, problem solving timeout statistics", etc., and the "project settlement data" records the specific values corresponding to the "project settlement operation". The above collection of data serves as the "original data block".
As described above, according to the authority identifier in the user certificate, the latest data information is obtained from the block chain, and the latest data information represents the latest status of the "project (or department)" and includes the department remaining available budget, the project progress, and the like. This data set serves as a "world state block".
Step S200, calculating a data updating increment according to the original data block and the world state block, and linking the data updating increment on the basis of the block chain;
according to the operation record and the latest state of the current block chain, a data updating increment is calculated and linked on the block chain.
As mentioned above, the data update increment is the calculated increment changed based on the current state block of the blockchain based on the original operation record and the latest state of the current blockchain, and the value or the progress of the calculated increment may be a positive value or a negative value.
Step S300, calculating to obtain a data statistic according to the original data block, the world state block and the data update increment, and chaining the data statistic based on the block chain so as to trace the source of the data statistic corresponding to the user according to the authority identifier of the user certificate.
The data statistics value is a statistics value obtained by changing the operation of the data based on the world state block through the operation record of the user. Or the progress condition of the project task advanced or changed through the operation recorded by the user operation on the basis of the world state block.
The embodiment provides an engineering settlement tracing method and device based on a block chain technology. The method comprises the steps of calculating to obtain a data updating increment according to an original data block and a world state block, calculating to obtain a data statistic, and tracing the statistic according to the authority identification of a user after chaining. The authority isolation is realized by limiting the user authority identification, and the engineering settlement tracing based on the data statistics value can be realized, so that the convenience of data retrieval and query is provided; in addition, the data is linked on the block chain, so that the engineering settlement data on the chain cannot be modified manually, and the safety is improved.
Example 2:
referring to fig. 3, a second embodiment of the present invention provides a method for tracing engineering settlement based on a block chain technique, based on the first embodiment shown in fig. 2, where the step S200 "calculating a data update increment according to the original data block and the world state block, and chaining the data update increment based on the block chain" includes:
step S210, associating the world state block with department identification or project identification in the original data block;
step S220, calculating department project settlement data or project settlement data based on the original data block on the basis of the world state block in a department or project based on the department identification or the project identification, and taking the department project settlement data and the project settlement data as data updating increment;
step S230, updating the data to increment uplink.
In the system based on the engineering settlement traceability method, the operation can comprise two aspects of management of projects and departments. Wherein, in the project, the data such as the progress, the project plan, the project budget and the like of the project and the types to be managed can be related; and the department can include project budget based on the department, task progress of the department and the like.
In the operation of the department, the department identification in the original data block and the world state block can be associated, and the project settlement data and the department budget are calculated according to the employee-department operation-project settlement operation to obtain the latest data of the department after the employee operates.
In the operation of the project, the project identifiers in the original data block and the world state block can be associated, and the project settlement data and the project budget are calculated according to the employee-project operation-project settlement operation to obtain the latest data of the project after the employee operates.
And further linking on the block chain after obtaining the department project settlement data or the project settlement data.
In step S230, "uplink the data update increment" includes:
step S231, according to the authority identifier of the user certificate of the user, performing authority isolation and chaining on the data update increment based on departments and projects.
In the above, when data is linked up, authority isolation is performed according to 'departments and projects', and only related personnel of the projects and the departments can access the blockchain data of a single project and department, and unrelated personnel cannot access each other. In this embodiment, by associating the original data block with the project identifier or department identifier in the world state, the department project settlement data or project settlement data can be calculated, and after chaining in the block chain, authority isolation is performed according to the user certificate of the user, so that the security of the data can be further improved.
In the embodiment, the latest state data is obtained according to the employee authority, and the latest state is calculated and stored in the block chain according to the employee operation record; the refined permission isolation is realized: employee authority isolation, organization department authority isolation, and project authority isolation. According to the specific identification, classifying and calculating departments, updating data sets and statistical data sets of projects; according to the specific operation of the employee in the project or department, respectively recording the operation and update states of the employee according to the affiliated department or the affiliated project, and meanwhile, counting and calculating the statistical data set of the department or project at the current moment (the moment when the employee operation occurs); from a batch of data, multi-dimensional analysis, calculation and chaining are performed, and data authority isolation is achieved at the same time.
Example 3:
referring to fig. 4-6, the present embodiment provides a method for tracing engineering settlement based on a block chain technique, based on the above embodiment 2, where in the step S300, "calculating a data statistic according to the original data block, the world state block, and the data update increment, and chaining the data statistic based on the block chain" includes:
step S310, acquiring the current project settlement expenditure in the original data block;
step S320, acquiring the used total amount and the total budget of the department in the last block in the world state block;
step S330, calculating and updating the used total amount and the total budget based on the data updating increment according to the original state block, and taking the total amount and the total budget as the data engineering quantity statistic;
step S340, uplink the statistics based on the block chain.
Acquiring 'current project settlement expenditure', the 'used total amount' of the department in the previous block and 'total budget', and calculating the 'used total amount' of the department in the current block.
In another embodiment, the step S300 of calculating statistics according to the original data block, the world state block, and the data update increment and chaining the statistics based on the block chain includes:
step S350, acquiring employee operation data of the user in the original data block;
step S360, acquiring a project total plan of the project corresponding to the world state block;
step S370, calculating the operation progress percentage of the current block according to the project total plan and the employee operation data, and using the operation progress percentage as the data engineering quantity statistical value;
step S380, uplinking the statistics based on the block chain.
Acquiring 'employee-project operation' and 'project total plan' when initializing the network, and calculating 'operation progress percentage' of the current block.
In step S220, "calculating department project settlement data or project settlement data based on the raw data block on the basis of the world state block in the department or project based on the department identifier or the project identifier, and using the department project settlement data and the project settlement data as data update increments", the method further includes:
step S240, using the department project settlement data as a department updating block and using the project settlement data as a project updating block; constructing a sequence number for the department update block and the project update block;
in step S300, "after obtaining a statistical data value by calculation according to the original data block, the world state block, and the data update increment, and chaining the statistical data value based on the block chain", the method further includes:
step S400, according to the authority identification of the user certificate, confirming the access authority of the user;
step S500, based on the access authority, extracting a data block corresponding to a preset retrieval condition of a user through the block identifier of each data block;
step S600, sorting according to the sequence number corresponding to each data block, and generating a traceable block chain.
In the above, the data tracing includes three aspects: tracing engineering fund flow, tracing project life cycle and tracing employee work condition.
1. Engineering fund flow tracing source
Firstly, judging access authority according to the authority identification of the employee; then, searching out a specific data block under a specific department sequentially through a department identifier and a block identifier; and finally, sorting the data blocks according to the sequence number to form a traceable block chain.
The retrievable tracing block chain includes two, respectively: a block chain of department update blocks and a block chain of department project settlement blocks.
2. Project full life cycle tracing source
Firstly, judging access authority according to the authority identification of the employee; subsequently, searching out a specific data block under a specific project sequentially through the project identification and the block identification; and finally, sorting the data blocks according to the sequence number to form a traceable block chain.
The retrievable tracing block chain includes two, respectively: a blockchain of project update blocks, a blockchain of project progress blocks.
3. Tracing employee working conditions
Firstly, judging access authority according to the authority identification of the employee; then, searching out a specific data block of a specific employee sequentially through the employee identification and the block identification; and finally, sorting the data blocks according to the sequence number to form a traceable block chain.
One traceability block chain is available, namely the block chain of the employee work performance. The work performance and the operation record of the employee in the department or project are reflected.
In this embodiment, when tracing, the authority identifier is first confirmed, so that authority isolation is achieved, and security of data retrieval is improved. And moreover, project progress traceability, project settlement traceability and specific employee operation record traceability are realized according to projects, departments and employees, fine access authority isolation is realized on the basis of specific identifiers (authority identifiers, project identifiers, department identifiers and the like) when the data are linked, and fine traceability isolation is realized according to the fine access authority isolation.
The term "tracing isolation" means: the project block chain records can only be accessed by related personnel of the project under the authority of a specific project, and the department block chain records can only be accessed by personnel in the department under the authority of a specific department; the statistical block chain records can only be accessed by administrators or specific personnel with corresponding permissions, and data tracing is achieved.
Example 4:
referring to fig. 7, the present embodiment provides a project settlement tracing method based on a block chain technology, and based on the above embodiment 3, the step S370, "calculating an operation progress percentage of a current block according to the project total plan and the employee operation data, and using the operation progress percentage as the data project statistics" includes:
and step S371, the operation progress percentage is composed of the sum of the engineering quantity direct cost data in the project total plan, the management cost data corresponding to the project total plan in the employee operation data and the project material fee, and overtime penalty statistical data of the problem event occurring in the project total plan executing process is removed.
Further, the calculation method of the engineering quantity direct cost data comprises the following steps:
A1=(B1×C1×D1)+(B2×C2×D2)+……(Bn×Cn×Dn);
wherein the project overview comprises at least one project sub-contract; the subcontract working hour ratio corresponding to each project subcontract is the proportion of the total working hours of the project subcontract in the project total plan; a1 is engineering quantity direct cost data; b is the project subcontract amount; c is the sub-contract time-to-work ratio; d is a reserved error and a rework value; n is the contract identification of the project sub-contract in the project total plan;
the project total plan includes a plurality of sub-projects, and each sub-project is provided with a project sub-contract. And a plurality of sub-contracts form a project total plan. In each project sub-contract, the corresponding amount data of the sub-contract is set.
Each project sub-contract is written with the sub-contract working hours required by the sub-project corresponding to the sub-contract, and the project total plan also has the total working hours of one project, and the sub-contract working hours are divided by the total working hours during calculation to obtain the sub-contract working hour occupation ratio.
As described above, the reserved error and rework value are calculated by avoiding the factor of ensuring that the total project amount does not exceed the contract amount, and may be set to 5% in this embodiment.
In this equation, n is a contract identifier corresponding to a sub-contract, and may be a project number, a contract number, or the like. The project quantity direct cost data is composed of the sum of the project cost of all project sub-contracts in the project total plan.
The calculation method of the management cost data comprises the following steps:
A2=[100-(E-i1)×10]+[100-(E-i2)×10]+……[100-(E-in)×10];
the employee operation data is generated by at least one employee operation aiming at the corresponding project operation; a2 is administrative cost data; n is an employee identifier; e is the number of the preset theoretical uploaded data; i is the number of data actually uploaded on the same day corresponding to the employee identification;
the employee management cost data is evaluation data indicating management workload, which is operated by each employee as an administrator according to the project progress.
Each department administrator (staff) performs data uploading work on the workload through the APP every day, and 100 is evaluation score for the workload of the uploaded data and is one percent full. E is the theoretical number of data of uploading in presetting, and the data bulk that every administrator uploaded reflects this staff's work load, but if the quantity of uploading exceeds certain range, then have the suspicion of brushing data through APP, in order to avoid this suspicion, this embodiment gathers and confirms after verifying, and through a predetermined standard number that the system set up in advance, the number of every administrator of uploading every day, if be less than this standard number, then belong to normal upload scope, if exceed this standard number, then judge suspicion and brush data. i is the number of data actually uploaded by the employee.
N is an employee identifier, and may be information such as a number or a name corresponding to an administrator employee. 10 in the formula is a scalar participating in the scoring.
E, for example, may be 5 strips. If 1 item of data is uploaded by the Zhang worker today (No. 808), the management cost data of the Zhang worker is as follows: 100- [5-1808]X 10 ═ 60; if the Zhang worker uploads 10 items of project data today, the management cost data of the Zhang worker is as follows: 100- [5-10808]×10=50。
The project material charge is the total charge of each employee for using the material in the execution of the project total plan, and is marked as A3;
above-mentioned, project material cost, the expense that pays for the agent is comprehensive, and the statistics of the corresponding reimbursement bill is uploaded to the APP end by every administrator (staff), and specific can include but not limited to bill fee, activity propaganda fee, bill-board preparation fee etc. are printed to the drawing, upload the invoice picture to the system by staff or user, and the system automatic identification obtains the numerical value.
The calculation method of the overtime penalty statistical data comprises the following steps:
A4=(F1×G)+(F2×G)+……(Fn×G);
wherein A4 is the statistic data of overtime penalty; n is the identification of the problem event; f is the overtime days corresponding to the problem events; g is a time-out per day penalty factor in the project sub-contract;
the project plan includes a plurality of sub-contracts, that is, a plurality of sub-projects, and each sub-project includes a different process. Correspondingly, when different processes are carried out, the processes are carried out according to the time limit specified by the contract, and if the process is finished due to different reasons, the process is taken as a problem event with an overdue attribute, and the penalty data is counted.
Wherein, F is the time for the problem event to expire, and may be days. G is the time-out per day penalty factor in the project sub-contract, which in this embodiment may be 0.0001%, then F × G is the penalty data generated for the problem event, and the sum of all the penalty data in the project total plan constitutes the time-out penalty statistic.
The calculation method of the operation progress percentage comprises the following steps:
X=A1+A2+A3-A4
wherein X is the percentage of the operation progress as the statistical value of the data engineering quantity; if there is no problem event in all project sub-contracts within the project aggregate plan, then A4 is 0.
In the calculation of the engineering quantity statistical value, the engineering quantity direct cost data in the project total plan, the management cost data corresponding to the project total plan in the employee operation data and the project material fee are respectively calculated, the sum of the engineering quantity direct cost data and the management cost data corresponding to the project total plan is calculated, and the overtime penalty statistical data is removed. Therefore, the whole project amount covers cost data, actual operation of staff and used project material cost, and is more complete and more open and transparent; the consideration of overtime punishment data is added, so that the whole engineering quantity data is more accurate; the algorithm meets the interest requirements of both parties, and the enthusiasm of the staff is mobilized to a greater extent by colleagues who guarantee the engineering quality.
In addition, referring to fig. 8, the present invention further provides a block chain technology-based engineering settlement traceability device, including:
an obtaining module 10, configured to obtain, according to the authority identifier of the user certificate, an operation record of the user as an original data block, and obtain current state information on a block chain as a world state block;
a calculating module 20, configured to calculate a data update increment according to the original data block and the world state block, and uplink the data update increment based on the block chain;
the calculation module is further configured to calculate a data statistic according to the original data block, the world state block, and the data update increment, and link the data statistic based on the block chain, so as to trace the source of the data statistic corresponding to the user according to the authority identifier of the user certificate.
In addition, the invention also provides an engineering settlement traceability system based on the block chain technology, which comprises a terminal and a server side; the terminal and the server comprise memories and processors, the memories are used for storing engineering settlement traceability programs based on the block chain technology, and the processors operate the engineering settlement traceability programs based on the block chain technology so that the engineering settlement traceability system based on the block chain technology can execute the engineering settlement traceability method based on the block chain technology.
In addition, the invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores the engineering settlement traceability program based on the block chain technology, and when being executed by the processor, the engineering settlement traceability program based on the block chain technology realizes the engineering settlement traceability method based on the block chain technology.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention. The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A project settlement tracing method based on a block chain technology is characterized by comprising the following steps:
according to the authority identification of the user certificate, acquiring the operation record of the user as an original data block, and acquiring the current state information on the block chain as a world state block;
calculating a data updating increment according to the original data block and the world state block, and linking the data updating increment on the basis of the block chain;
and calculating to obtain a data statistic value according to the original data block, the world state block and the data update increment, and chaining the data statistic value based on the block chain so as to trace the source of the data statistic value corresponding to the user according to the authority identification of the user certificate.
2. The method as claimed in claim 1, wherein the step of computing a data update delta according to the original data block and the world state block and linking the data update delta based on the block chain comprises:
associating the world state block with department identifiers or project identifiers in the original data block;
calculating department project settlement data or project settlement data based on the original data block on the basis of the world state block in a department or a project based on the department identification or the project identification, and taking the department project settlement data and the project settlement data as data update increments;
updating the data for incremental uplink.
3. The method as claimed in claim 2, wherein the chaining the data update increments comprises:
and according to the authority identification of the user certificate of the user, performing authority isolation and chaining on the data updating increment based on departments and projects.
4. The method as claimed in claim 1, wherein the calculating statistics from the original data blocks, the world state blocks and the data update increments and chaining the statistics based on the blockchain comprises:
acquiring the current financial expense in the original data block;
acquiring a used total amount and a used total budget of a department in a last block in the world state block;
calculating and updating the used total amount and the total budget based on the data updating increment as the data engineering quantity statistic value according to the original state block;
chaining the statistics based on the block chain.
5. The method as claimed in claim 1, wherein the calculating statistics from the original data blocks, the world state blocks and the data update increments and chaining the statistics based on the blockchain comprises:
acquiring employee operation data of the user in the original data block;
acquiring a project total plan of a project corresponding to the world state block;
calculating the operation progress percentage of the current block according to the project total plan and the employee operation data to be used as the data engineering quantity statistical value;
chaining the statistics based on the block chain.
6. The method for project settlement tracing based on blockchain technology as claimed in claim 5, wherein said "calculating the percentage of operation progress of the current block according to the project plan and the employee operation data as the data project statistics" comprises:
the operation progress percentage is composed of the sum of the engineering quantity direct cost data in the project total plan, the management cost data corresponding to the project total plan in the employee operation data and the project material fee, and the overtime penalty statistical data of the problem events occurring in the project total plan execution process are removed.
7. The method for tracing engineering settlement based on blockchain technology as claimed in claim 6, wherein the method for calculating the engineering quantity direct cost data comprises:
A1=(B1×C1×D1)+(B2×C2×D2)+……(Bn×Cn×Dn);
wherein the project overview comprises at least one project sub-contract; the subcontract working hour ratio corresponding to each project subcontract is the proportion of the total working hours of the project subcontract in the project total plan; a1 is engineering quantity direct cost data; b is the project subcontract amount; c is the sub-contract time-to-work ratio; d is a reserved error and a rework value; n is the contract identification of the project sub-contract in the project total plan;
the calculation method of the management cost data comprises the following steps:
A2=[100-(E-i1)×10]+[100-(E-i2)×10]+……[100-(E-in)×10];
the employee operation data is generated by at least one employee operation aiming at the corresponding project operation; a2 is administrative cost data; n is an employee identifier; e is the number of the preset theoretical uploaded data; i is the number of data actually uploaded on the same day corresponding to the employee identification;
the project material charge is the total charge of each employee for using the material in the execution of the project total plan, and is marked as A3;
the calculation method of the overtime penalty statistical data comprises the following steps:
A4=(F1×G)+(F2×G)+……(Fn×G);
wherein A4 is the statistic data of overtime penalty; n is the identification of the problem event; f is the overtime days corresponding to the problem events; g is a time-out per day penalty factor in the project sub-contract;
the calculation method of the operation progress percentage comprises the following steps:
X=A1+A2+A3-A4
wherein X is the percentage of the operation progress as the statistical value of the data engineering quantity; if there is no problem event in all project sub-contracts within the project aggregate plan, then A4 is 0.
8. The method for tracing engineering settlement based on blockchain technology according to any one of claims 2 to 3, wherein after calculating the department engineering settlement data or project engineering settlement data based on the original data block based on the world state block in the department or project based on the department identifier or the project identifier, and using the department engineering settlement data and the project engineering settlement data as data update increments, the method further comprises:
taking the department project settlement data as a department updating block and taking the project settlement data as a project updating block; constructing a sequence number for the department update block and the project update block;
after the "obtaining a statistical data value by calculation according to the original data block, the world state block, and the data update increment, and chaining the statistical data value based on the block chain", the method further includes:
according to the authority identification of the user certificate, confirming the access authority of the user;
based on the access authority, extracting a data block corresponding to a preset retrieval condition of a user through the block identifier of each data block;
and sequencing according to the sequence number corresponding to each data block to generate a traceable source block chain.
9. The utility model provides an engineering settlement device of tracing to source based on block chain technique which characterized in that includes:
the acquisition module is used for acquiring the operation record of the user as an original data block and acquiring the current state information on the block chain as a world state block according to the authority identification of the user certificate;
the calculation module is used for calculating a data updating increment according to the original data block and the world state block and chaining the data updating increment based on the block chain;
the calculation module is further configured to calculate a data statistic according to the original data block, the world state block, and the data update increment, and link the data statistic based on the block chain, so as to trace the source of the data statistic corresponding to the user according to the authority identifier of the user certificate.
10. The engineering settlement traceability system based on the blockchain technology is characterized by comprising a memory and a processor, wherein the memory is used for storing an engineering settlement traceability program based on the blockchain technology, and the processor runs the engineering settlement traceability program based on the blockchain technology so that the engineering settlement traceability system based on the blockchain technology executes the engineering settlement traceability method based on the blockchain technology according to any one of claims 1 to 8.
CN201911102912.9A 2019-11-12 2019-11-12 Engineering settlement traceability method and device based on block chain technology Pending CN110880069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911102912.9A CN110880069A (en) 2019-11-12 2019-11-12 Engineering settlement traceability method and device based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911102912.9A CN110880069A (en) 2019-11-12 2019-11-12 Engineering settlement traceability method and device based on block chain technology

Publications (1)

Publication Number Publication Date
CN110880069A true CN110880069A (en) 2020-03-13

Family

ID=69729475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911102912.9A Pending CN110880069A (en) 2019-11-12 2019-11-12 Engineering settlement traceability method and device based on block chain technology

Country Status (1)

Country Link
CN (1) CN110880069A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846603A (en) * 2018-05-31 2018-11-20 深圳市零度智控科技有限公司 Logistics retroactive method, user equipment, storage medium and device based on block chain
CN109408521A (en) * 2018-09-28 2019-03-01 上海擎沣投资控股有限公司 A kind of method and device thereof for more new block chain global data state
CN109657927A (en) * 2018-11-27 2019-04-19 建经投资咨询有限公司 A kind of Whole Process Cost progress supervision system and method
CN109697188A (en) * 2018-11-30 2019-04-30 广州菲达建筑咨询有限公司 Cost Data management method and system
CN109978573A (en) * 2019-04-03 2019-07-05 上海中商网络股份有限公司 A kind of information source tracing system based on block chain
US20190258971A1 (en) * 2018-02-20 2019-08-22 Tyson York Winarski Blockchain project management with process feedback control
WO2019205849A1 (en) * 2018-04-28 2019-10-31 腾讯科技(深圳)有限公司 Authentication method and apparatus for blockchain access, and storage medium and electronic apparatus
CN110430250A (en) * 2019-07-25 2019-11-08 河北信通网络信息技术有限公司 A kind of propulsion management method, storage medium and the device of Project of Computer System Integration

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190258971A1 (en) * 2018-02-20 2019-08-22 Tyson York Winarski Blockchain project management with process feedback control
WO2019205849A1 (en) * 2018-04-28 2019-10-31 腾讯科技(深圳)有限公司 Authentication method and apparatus for blockchain access, and storage medium and electronic apparatus
CN108846603A (en) * 2018-05-31 2018-11-20 深圳市零度智控科技有限公司 Logistics retroactive method, user equipment, storage medium and device based on block chain
CN109408521A (en) * 2018-09-28 2019-03-01 上海擎沣投资控股有限公司 A kind of method and device thereof for more new block chain global data state
CN109657927A (en) * 2018-11-27 2019-04-19 建经投资咨询有限公司 A kind of Whole Process Cost progress supervision system and method
CN109697188A (en) * 2018-11-30 2019-04-30 广州菲达建筑咨询有限公司 Cost Data management method and system
CN109978573A (en) * 2019-04-03 2019-07-05 上海中商网络股份有限公司 A kind of information source tracing system based on block chain
CN110430250A (en) * 2019-07-25 2019-11-08 河北信通网络信息技术有限公司 A kind of propulsion management method, storage medium and the device of Project of Computer System Integration

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑家亨主编: "《统计大辞典》", 31 March 1995, 中国统计出版社 *

Similar Documents

Publication Publication Date Title
CA3088069C (en) Vehicle data acquisition and access system and method
CN109920174B (en) Book borrowing method and device, electronic equipment and storage medium
CN111078140B (en) Nuclear power station file uploading management method and device, terminal equipment and medium
CN112131843A (en) Business report generation method and device, computer equipment and storage medium
CN113626914A (en) Engineering project management method, device and system based on digital twins
CN110728422A (en) Building information model, method, device and settlement system for construction project
CN110503409B (en) Information processing method and related device
CN113868498A (en) Data storage method, electronic device, device and readable storage medium
WO2021078139A1 (en) A blockchain based hybrid system and method thereof for construction document management
CN113971270A (en) Identity recognition method and system based on block chain
CN111369348A (en) Post-loan risk monitoring method, device, equipment and computer-readable storage medium
CN110880069A (en) Engineering settlement traceability method and device based on block chain technology
CN111160681A (en) Method, device and storage medium for evaluating user income level based on user income and expenditure data
CN115392767A (en) Intelligent building site field management system based on BIM and 5G technologies
JP6119101B2 (en) Aggregation device, aggregation method, and aggregation system
CN111382159A (en) Method for processing fee information, server and computer readable medium
CN114444532A (en) Method and system for realizing registration management of incoming of foreign personnel through mobile phone APP
CN112632247A (en) Method and device for detecting man-hour report, computer equipment and storage medium
CN113393204A (en) Talent sharing platform based on scene
CN113807797A (en) Underground engineering construction management and monitoring system integrated with BIM and intelligent algorithm
CN110598988A (en) Statistical data processing method, device and storage medium
JP6409888B2 (en) Aggregation device and aggregation program
JP2009301413A (en) Employment situation management method and employment situation management system
CN113065881A (en) Method and device for calculating price of material, computer equipment and storage medium
CN110865813A (en) Bill information acquisition method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200313

WD01 Invention patent application deemed withdrawn after publication