System and method for cost management by using block chain and encryption technology

By adopting a new architecture of blockchain and encryption technology in construction cost management, combined with smart contracts, the conflict between data tampering and transparency and confidentiality in construction cost management is solved, and the accountability and confidentiality of data is achieved, reducing the Computer processing time.

CN118898076APending Publication Date: 2024-11-05THE HONG KONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410418204.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-03-18
Filing Date
2024-04-09
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing digital platform for building cost management adopts a centralized architecture and is susceptible to network security risks, resulting in data tampering and accountability for cost data. At the same time, the application of blockchain in building cost management conflicts with transparency and confidentiality. question.

Method used

Adopt a new architecture based on blockchain and encryption technology, and realize partial transparent recording and efficient access control on the blockchain by defining the cost data model and symmetric asymmetric encryption and proxy re-encryption mechanism, combining smart contracts for automation and security cost management.

Benefits of technology

It realizes the accountability and confidentiality of data in construction cost management, ensures the traceability and confidentiality of cost data, reduces computer processing time, and improves the reliability and security of cost data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898076A_ABST
    Figure CN118898076A_ABST
Patent Text Reader

Abstract

A cost management system utilizing blockchain and encryption techniques is provided herein. The system comprises an access interface, a recorder, a determiner, a key generator, an encryptor and a decryptor. And the access interface is used for providing a login platform for a user. The recorder is used for recording cost information. And the determiner is used for determining whether the cost information recorded in the recorder is non-sensitive information, and when the cost information is determined to be non-sensitive information, the cost information is directly uploaded and recorded in a block chain network through the intelligent contract module. When the cost information is judged to be sensitive information, the key generator randomly generates a symmetric key. The encryptor is used for encrypting the cost information by using the symmetric key to obtain ciphertext information, and encrypting the symmetric key by using the public key to obtain an encrypted key. And the encryptor sends the ciphertext information to the block chain network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to blockchain and encryption technology, and in particular to a system and method for cost management using blockchain and encryption technology. Background Art

[0002] Engineering cost management is a decentralized and information-intensive process, where different kinds of cost-related information, such as material quantities, unit costs, and pricing, are exchanged between project stakeholders. The traditional paper-based approach is considered an error-prone and inefficient way that blocks and disrupts information exchange. The introduction and transformation of digitalization can reshape the model of cost information management. With the support of an online environment, different stakeholders can share cost-related information electronically, simplifying cost management and thus improving the quality of cost data delivery and the efficiency of decision-making.

[0003] However, due to the centralized architecture of existing digital platforms for construction cost management, they are vulnerable to cybersecurity risks, such as data tampering. Malicious internal or external actors may abuse their privileges and tamper with bid and cost information without knowing it, resulting in bid and / or project failure and loss of accountability for cost data (i.e., integrity and traceability of cost data). Blockchain is an emerging and promising solution to overcome these challenges. It is a distributed ledger technology (DLT) that uses cryptography and decentralized consensus mechanisms to have the characteristics of immutability, traceability, and decentralization. Unlike traditional centralized systems, the data in the blockchain ledger is irreversibly recorded through cryptographic methods and maintained by each member of the blockchain network through a decentralized consensus mechanism, which can protect the integrity of the data without a third party. The encryption mechanism of irreversibly storing data records can prevent malicious tampering of construction cost information. The distributed ledger and consensus mechanism that maintains data in a peer-to-peer manner can bring transparency and traceability to the stored cost data. Researchers have demonstrated the potential and feasibility of blockchain to enhance accountability of construction data in design collaboration, payment management, procurement processes, supply chain management, and more.

[0004] However, the application of blockchain in construction cost management, especially from the holistic perspective of different cost-related activities and stakeholders, is still immature. Due to the lack of appropriate access control methods, the use of blockchain to promote construction cost management has the problem of leaking sensitive data. Construction cost-related data is highly sensitive and should not be disclosed to all stakeholders, while the data in the blockchain ledger is transparent to every member in the network. Therefore, unauthorized access to cost-sensitive data can lead to unexpected cost data leakage when using blockchain in construction cost management. According to ISO19650-5:2020, the need to protect confidential data of construction projects should be taken seriously to prevent unauthorized data access. Due to the fundamental difference in database architecture (i.e., centralized vs. decentralized), traditional access control methods in centralized databases, such as lock-based mechanisms and multi-level relational models, cannot be directly applied to blockchain networks. In addition, the difference in data model formats, i.e., the entity-relationship data model of centralized databases and the chain data model of blockchain networks, is also another obstacle to the application of traditional access control methods. Therefore, the confidentiality of cost-sensitive data in transparent blockchain networks is a matter of concern.

[0005] Therefore, while blockchain is expected to improve the risk of data tampering in the centralized paradigm by leveraging the accountability (i.e., data integrity and traceability) of the existing construction cost management platform, this will put the transparency of blockchain in conflict with the confidentiality of cost information. Therefore, it is necessary to establish an architecture for the construction cost management platform to effectively utilize blockchain. Summary of the invention

[0006] The purpose of the present invention is to provide a system and method for engineering cost management using blockchain and encryption technology to address the above-mentioned deficiencies and unmet needs in the art.

[0007] The present invention provides a novel architecture based on blockchain and encryption technology to maintain data accountability and confidentiality in engineering cost management. The novel architecture provided by the present invention involves the development of a cost data model that contains the required confidential cost information to facilitate partially transparent recording on the blockchain. An access control model based on symmetric and asymmetric encryption and proxy re-encryption mechanisms is provided to prevent unauthorized access to sensitive cost data on the blockchain and prevent data access transfer in dynamic construction projects (i.e., construction projects that constantly have new members participating). Subsequently, cryptographic integrated smart contracts are provided for automatically and securely performing cost activities on the blockchain. In three cost management example scenarios, the architecture is verified by ideal latency (milliseconds), throughput (hundreds), and storage costs (megabytes). The results show that project members can obtain responsible and confidential cost data, which can be used for dispute resolution and cost analysis, respectively, as well as efficient cost data access transmission.

[0008] To overcome these challenges, this paper proposes a novel architecture that uses blockchain and cryptographic methods to promote data accountability and confidentiality in construction cost management. The specific objectives are: 1. Define the cost data model to identify non-sensitive cost information that should be transparent to all project members and sensitive cost information that only authorized members can access, so that traceable and confidential cost information management can be performed on the blockchain; 2. Develop access control mechanisms using custom cryptographic techniques (i.e., symmetric and asymmetric encryption, proxy re-encryption) to protect sensitive cost information in the proposed cost data model on the blockchain in a transparent and efficient manner; and 3. Develop smart contract logic to combine the proposed cryptographic-based access control mechanism with blockchain to support automated and secure cost management activities.

[0009] This paper attempts to take a holistic view of construction cost management, focusing on the exchange and management of cost information, as well as the data responsibility and confidentiality issues that arise between project stakeholders.

[0010] According to one embodiment of the present invention, a cost management system for reducing computer processing time by using blockchain and encryption technology is provided. The system includes an access interface, a recorder, a determiner, a key generator, an encryptor and a decryptor. The access interface is used to provide a login platform for users. The recorder is connected to the platform for recording cost information. The determiner is connected to the recorder for determining whether the cost information recorded in the recorder is non-sensitive information. When the cost information is determined as non-sensitive information by the determiner, the determiner is also used to trigger a smart contract module, which can interact with the determiner to generate and complete a transaction containing the cost information. The cost information is directly uploaded and recorded on the blockchain network through the smart contract module. The key generator is coupled to the determiner. When the cost information is determined as sensitive information by the determiner, the key generator is used to randomly generate a symmetric key. The encryptor is used to encrypt the cost information using a symmetric key to obtain ciphertext information, and encrypt the symmetric key using a public key to obtain an encryption key. The encryptor sends the ciphertext information to the blockchain network for record through the smart contract module. A decryptor is coupled to the platform and is used to decrypt the encryption key using a private key corresponding to the public key. When decryption fails, the decryptor denies the access request. When decryption succeeds, the decryptor allows the symmetric key K to be used to decrypt the ciphertext information.

[0011] In some embodiments, the encryptor is also used to send the encryption key to the smart contract module, and the system also includes a key destroyer, which is connected to the encryptor and is used to destroy the symmetric key in the memory after the smart contract module receives the encryption key.

[0012] In some embodiments, the key destroyer destroys the symmetric key by overwriting the memory multiple times with other irrelevant information, wherein the other irrelevant information includes random bits or all zero bits or one bits.

[0013] In some embodiments, the system further comprises a re-encryptor coupled to the platform, for generating a re-encryption key using a sender private key and a receiver public key, and for encrypting at least one of the encryption keys using the re-encryption key to obtain the re-encryption key, which will be decrypted by the receiver private key.

[0014] In some implementations, the re-encryptor is allowed to decrypt the re-encryption key using the recipient private key to obtain a key for decrypting the encrypted ciphertext information.

[0015] In some implementations, the platform allows different stakeholders to log in through the access interface, enabling simultaneous access by multiple parties.

[0016] In some embodiments, the platform is made for construction projects, so that the access interface is also used to assign construction-related role characteristics to users.

[0017] In some embodiments, the construction-related role characteristics include roles of owner, designer, quantity surveyor (QS), contractor, contractor quantity surveyor consultant, or a combination thereof.

[0018] In some embodiments, the determiner triggers the smart contract module to activate the smart contract function and signs the smart contract provided by the smart contract module, including encryption key distribution, cost data recording, cost data retrieval and cost data access transmission.

[0019] In some embodiments, the cryptographic key distribution is activated, thereby generating and sharing public keys for all members of the blockchain network, enabling users to use them for access control.

[0020] In some embodiments, the cost data record is activated for transactions containing identified planned and actual cost related information, which is recorded in the blockchain network while protecting the confidentiality of cost sensitive data.

[0021] In some embodiments, the cost data retrieval is activated for the transactions recorded on the blockchain network, which can use the retrieval as a real data source for cost analysis and provide undisputed evidence in the event of a dispute while preventing the leakage of cost-sensitive data.

[0022] In some embodiments, the cost data access transmission is activated to enable secure and efficient transmission of the ability to decrypt previous cost-sensitive data to a new member joining the blockchain network, which is based on the premise that the new member has access to the cost-sensitive data. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0024] Figure 1 According to some embodiments of the present invention, a design based on a design science research method is depicted, which includes six research steps;

[0025] Figure 2 Describe the evaluation of the functionality, computational performance, and security of the proposed new architecture according to some embodiments of the present invention;

[0026] Figure 3 Describes an overview of the configuration of the architecture proposed according to one embodiment of the present invention;

[0027] Figure 4 Describe a typical flow chart for construction cost management to identify cost-related information that needs to be accountable and kept confidential;

[0028] Figure 5 Describe the estimation process for detailed construction changes and requirements;

[0029] Figure 6 Describing a confidentiality-aware cost data model for blockchain-based cost information management according to one embodiment of the present invention;

[0030] Figure 7 is an example of blockchain transaction data according to one embodiment of the present invention;

[0031] Fig. 8A depicts a cost management system using blockchain and encryption according to one embodiment of the present invention;

[0032] Figure 8B A flow chart depicting an efficient and dynamic access control model operated by a system according to one embodiment of the present invention;

[0033] Fig. 9A A diagram depicting symmetric encryption, and Fig. 9B A diagram depicting asymmetric encryption;

[0034] Fig.10 Describes the storage efficiency of a symmetric-asymmetric integrated encryption mechanism according to one embodiment;

[0035] Fig.11A The general concept of re-encryption for proxies;

[0036] Fig. 11B It means that each member randomly draws a large prime number;

[0037] Fig. 11C Describe the RSA-based proxy re-encryption mechanism according to one embodiment of the present invention;

[0038] Fig.12 Describe the user interface, which includes three main functional modules: data recording, data retrieval, and data access transmission;

[0039] Fig.13 Describe the process by which the owner and contractor resolve disputes regarding change costs based on retrieved data recorded on the blockchain at an earlier stage;

[0040] Fig.14 Describe how sensitive cost data is protected to ensure that only authorized project members have access to it; and

[0041] Fig.15 Describe the transfer of sensitive cost data access rights to newly engaged contractor members. DETAILED DESCRIPTION

[0042] In the following description, as a preferred example, a system and method for engineering cost management using blockchain and encryption technology are proposed. It is obvious to those skilled in the art that modifications, including additions and / or substitutions, can be made without departing from the scope and spirit of the invention. Specific details may be omitted so as not to obscure the invention; however, the content of this disclosure is written to enable those skilled in the art to practice what the invention teaches without doing too much experimentation.

[0043] In the following description: the use of blockchain for data accountability in construction projects and the access control method for data confidentiality on blockchain are introduced, and the research gap to be solved by the present invention is pointed out; then the research method is described; the proposed construction cost management architecture based on blockchain and encryption is introduced. There are three examples to verify the functions and performance of the architecture proposed by the present invention. This is followed by further discussion and summary.

[0044] The characteristics of blockchain are distributed architecture and unchangeable data records. In a blockchain network, each member has a ledger that stores a complete copy of the records uploaded to the blockchain. These members maintain the same records through a consensus mechanism without the need for a third party such as a "central authority". The hash function irreversibly maps any content (such as a block record) to a unique hash value, thereby connecting a block to its previous block to form a chain sequence. This method prevents data mutability, because the modification of the block record will cause the hash value to change, and the change in the hash value will invalidate all subsequent blocks in the chain and be discovered by other members.

[0045] Existing research on incorporating blockchain into construction projects mainly covers two aspects: (1) the application of blockchain in construction to ensure data accountability; and (2) methods to maintain data confidentiality in a distributed and transparent blockchain.

[0046] Blockchain in the construction of data accountability

[0047] There have been several studies exploring how blockchain can be used to address data accountability issues in the construction industry. For example, one of the related works is to use blockchain in a collaborative environment based on Building Information Modeling (BIM) to improve the traceability of design data exchange and archiving. One of the related works is to integrate blockchain into a network system to improve the transparency and accountability of design change records. One of the related works proposes a blockchain-enabled Internet of Things (IoT) system for non-disputed allocation of liability for damaged materials in the construction supply chain. One of the related works introduces permissioned blockchain in modular building supply chain management, which can be promoted through an effective service-oriented system architecture. By leveraging blockchain and smart contracts, building quality information can also be managed with greater transparency and traceability, thereby reducing disputes between stakeholders. Regarding the application of blockchain in construction cost management-related uses, several studies have investigated the application of blockchain in construction payment processes. For example, one of the related works integrates blockchain-based smart contracts with building information models to achieve automatic, transparent, and traceable payment and contract management. One of the related works is to develop a blockchain-based smart contract system for payment freezes and payment cycles for construction projects. The results show that it can improve payment certainty and efficiency without radical changes to industry practices. Some related works develop progress payment systems based on blockchain and smart contracts and verify their feasibility through real construction data and structured interviews with construction stakeholders. The advantages of blockchain and smart contracts in reducing disputes and automating payment approval are appreciated by professionals. Previous studies, including those on blockchain-based construction payment processes, have shown that blockchain is a promising solution to address data accountability issues in construction cost management. However, they mainly focus on data trust and traceability issues in construction data recording and storage. In construction cost management, there is still a lack of overall research on the exchange and management of information stored on blockchain, especially the lack of identification of activities and data models with cost-specific characteristics to facilitate blockchain cost information exchange between different stages and stakeholders.

[0048] Access control method for blockchain data confidentiality

[0049] Blockchain is transparent in nature, so every member can access and verify the data in the ledger. However, this conflicts with the confidentiality requirements of some specific field applications (such as sensitive design collaboration, construction cost management) during data exchange and management. Therefore, access control methods are needed to maintain the confidentiality of project data on the blockchain. Due to the chain data structure and decentralized architecture of blockchain, traditional access control methods are not suitable for blockchain. For example, lock-based mechanisms are usually used to freeze certain data (such as only showing a few rows in a table) to prevent unauthorized data access. The role-based access control (RBAC) model can set fine-grained access for different users and is also widely used to ensure that users can only access the data assigned to them. However, since there are many different blocks containing sensitive or non-sensitive data, it is unreasonable to set access rights to each block in the blockchain. In addition, since the data is stored in a distributed manner, it is difficult to synchronously manage the access of multiple members to the repository. One of the related works is to store building information model data in the blockchain as hash values ​​to protect confidentiality. However, this approach prevents project members from obtaining the source data required for further applications from the blockchain. One of the related works uses different blockchain channels to manage confidential project data, which makes blockchain development and data management more complicated. One of the related works applies asymmetric encryption technology to protect sensitive design building information model data on the blockchain. However, this approach is not efficient in terms of the actual needs of construction projects (for example, new members need to be constantly added to the project, and these new members should be able to access previously encrypted data). The Hyperledger community recommends placing the hash value of private data in the main ledger (on-chain) and the source data in a separate repository (off-chain) connected to the main blockchain. However, the consistency of on-chain and off-chain data and data exchange in distributed networks remain concerns. Therefore, it remains challenging to develop a practical and efficient access control method to protect the confidentiality of data in blockchain-based construction cost management.

[0050] To address these issues, the present invention develops a blockchain and encryption-based architecture to ensure accountable and confidential cost information flow in construction projects and implements practical and efficient cost data access control on the blockchain, thereby reducing computer power consumption during data access.

[0051] Regarding the research methods, the method provided by the present invention adopts the Design Science Research (DSR) method, which is an exploratory and analytical method that can create innovative artifacts (such as architectures, algorithms, models) to solve discovered problems and contribute to the knowledge system. Figure 1 According to some embodiments of the present invention, a design based on a design science research method is described, which includes six research steps. Through a literature review of construction cost management and discussions with professional quantity surveyors, the problem of lack of accountability and confidentiality of cost data in construction projects was found. It is not uncommon for researchers and practitioners to expose cost data to cybersecurity risks while actively adopting advanced digital platforms for construction cost management. Objectives are defined and refined by regularly reviewing the literature on relevant developments to maintain the accountability and confidentiality of cost data in construction projects. In the design and development step, cross-sector learning is carried out through another round of literature review to design a construction cost management architecture based on blockchain and encryption. Access control in the field of database security is an important topic to prevent data in database systems from being destroyed by unauthorized persons. The focus of this area is to gain a deep understanding of access control methods and applications, as well as their possible integration with blockchain. A general cost data model is determined from a typical cost management process to clarify the information to be recorded on the blockchain, and then key blockchain and encryption elements are developed to support responsible and confidential cost information management. In the demonstration step, the developed prototype is implemented in a simulated typical project scenario where accountability and confidentiality of cost data are required.

[0052] Next, according to Figure 2 The methods and criteria in the paper evaluate the functionality, computing performance and safety in a simulated cost management scenario, which shows the evaluation of the functionality, computing performance and safety of the proposed new architecture according to some embodiments of the present invention. Finally, the prototype was demonstrated to professional quantity surveyors to collect practical feedback. It should be noted that these six steps are an interactive and iterative process to continuously improve the developed architecture.

[0053] The construction cost management architecture based on blockchain and encryption is as follows. Figure 3 Describes an overview of the configuration of the architecture proposed according to one embodiment of the present invention. Figure 3As shown, the proposed new architecture includes a cost management layer 110, a smart contract layer 112, an access control layer 114, and a blockchain layer 116. Since different stakeholders will gradually participate in the generation and exchange of cost-related information (such as cost estimates, actual cost records, changes, and requirements) at different stages of the project, the cost management layer 110 aims to simplify the information flow of the construction project. From this layer, confidentiality-aware cost activities and data models are identified and partially transparently recorded on the blockchain to support the accountability and confidentiality of cost data. Considering the characteristics of construction projects (such as the continuous participation of new members in the project delivery process), a symmetric-asymmetric encryption integration and a proxy-based re-encryption mechanism are designed to create an efficient and dynamic access control layer for confidential cost data in the blockchain layer. Only authorized members can access confidential cost data, while new members in the construction process can effectively gain data access rights through proxy re-encryption. Finally, the smart contract layer develops different smart contracts with integrated encryption functions to interact between the cost management, blockchain, and access control layers to achieve automatic and secure cost activities. Smart contracts are trusted computer programs that can be automatically executed when predefined conditions are met. The details of the architecture are described below.

[0054] It is reported that there are three types of blockchains: public blockchain, private blockchain and consortium blockchain. The data stored in the public blockchain network is transparent to each member and difficult to tamper with. However, since each member in the network can view the recorded data, the privacy level is low. In addition, the consensus mechanism that relies on computational competition in the public blockchain requires a lot of computing resources, resulting in low scalability. In a private blockchain network, one organization takes the lead and only pre-approved members can participate. It is designed with high privacy and scalability because it has a more centralized feature, but it sacrifices the transparency and security of the recorded data. The consortium blockchain allows multiple authorized organizations to participate in recording data with different levels of access rights. It designs various governance structures to provide moderate scalability and is more auditable than a single-person-led private blockchain. In a construction project, only registered project stakeholders can register, and different stakeholders may have different information requirements and privacy controls. At the same time, there are also high requirements for the transparency and security of the recorded data to make it more auditable. Therefore, the present invention adopts a consortium blockchain to adapt to the characteristics of the construction project. We selected Hyperledger to develop the consortium blockchain given its diverse security-enhancing resources and tools, as well as its suitability for the complex information needs of the construction industry.

[0055] The following introduces a confidentiality-aware cost data model.

[0056] 1.1) Identification of cost-related information

[0057] Figure 4 A typical flow chart of construction cost management for identifying cost-related information that needs to be accountable and confidential is provided. The flow chart includes the main cost information flows and data exchanges between different tasks and stakeholders based on existing practices and cost expert opinions. Information and activities directly related to cost (such as bills of quantities (BQ) in the design phase, cost reports in the construction phase) are highlighted to show the focus of the present invention in the process. The owner initializes the project and determines the project requirements (such as project scope, cost targets) so that the designer can carry out architectural design and coordination. Then, the design information (such as design drawings and / or building information model models) will be delivered to the consultant quantity surveyor, who will prepare the bill of quantities as part of the tender documents sent to the contractor. The contractor exchanges tender-related documents (including bills of quantities) and cost estimation results with the designated contractor quantity surveyor to prepare for bid evaluation. Next, the selected contractor starts the actual construction according to the contract.

[0058] During the construction phase, the contractor's quantity surveyor regularly prepares cost reports, which contain actual construction cost information (such as material, machinery and labor costs, and the number of engineering items) and cost analysis results (such as cost forecasts and cost adjustment suggestions) to facilitate the contractor's cost control. At the same time, it is not uncommon for project owners to issue change orders during the construction process, resulting in cost changes. Figure 5 Describe the estimation process for detailed construction changes and requirements. Information and activities related to cost variances (such as confirmation and evaluation of variances) are the focus of the described process. The project owner or the architect on behalf of the project owner first issues a change statement, based on which the contractor requires a confirmed version including detailed change instructions and comments. The consultant's and contractor's quantity surveyors estimate the variances (for example, quantity and unit price differences caused by changes in design and material specifications) for the project owner and contractor respectively. These stakeholders then hold regular cost review meetings to resolve any differences. The agreement containing the estimation information, such as change items, total change costs and detailed cost details, should be properly documented to avoid disputes at the time of final accounting. Finally, if Figure 4 As shown, with the help of the consultant and contractor’s quantity surveyor, a final settlement is carried out to close the project.

[0059] Therefore, construction cost management is a highly collaborative process in which multiple stakeholders produce and exchange cost-related information, which directly affects the economic interests of stakeholders. This feature encourages people to manipulate bids and cost information without knowing it to maximize their own profits, which can easily lead to economic disputes. With the immutability and transparency of the blockchain network, people's concerns about the integrity and traceability of cost data can be alleviated. In addition, some cost information (such as detailed cost details in cost reports) is highly sensitive. Sensitive cost information needs to be kept confidential and transparently managed at the same time. Therefore, encryption methods need to be used to meet the confidentiality characteristics of construction cost management.

[0060] Through this identification process, information related to construction cost and the exchange of relevant information between stakeholders and stages are confirmed, providing a basis for determining the cost data model for engineering cost management based on blockchain and encryption technology.

[0061] 1.2) Establishment of cost-related transaction data model on blockchain

[0062] As provided in the flowchart, the identified information flows in construction cost management can be extracted to build a cost data model with privacy awareness, and then the model is used to determine the cost-related transaction data on the blockchain. Figure 6 As shown, a confidentiality cost data model for blockchain-based cost information management according to one embodiment of the present invention is described, and the data model covers information related to planned costs and actual costs. Information related to planned costs refers to communication activities and information during the initiation, design, and bidding stages. As mentioned earlier, during these stages, different stakeholders will exchange various cost-related documents, thereby generating planned costs that can determine subsequent project arrangements. In construction projects, it is not uncommon for the integrity of the exchanged data to be maliciously compromised, resulting in deviations in the cost baseline. This security risk seriously affects construction projects and is related to the funding and reputation of project members. Therefore, the exchanged information related to costs (i.e. Figure 6 Information about exchanged documents and exchange parties) should be protected in terms of traceability and integrity to allow for credible cost results and undisputed allocation of responsibilities during the planning phase.

[0063] Information related to actual costs refers to records and / or evidence related to actual costs during construction. As mentioned earlier, actual cost information (such as material, machinery, labor costs, project quantities) occurs during the construction process and is recorded in cost reports for the contractor to conduct cost control. This information requires traceability for accountability. On the other hand, some content (such as quantities, actual unit prices, instructions) may reveal the contractor's performance and competitive advantages and should be kept confidential from unrelated parties. Therefore, if Figure 6As shown, this part of information is included in the data model and is considered partially confidential. For changes and requirements, confirmation information (such as issuer, instructions, endorsements) should be protected by traceability to become credible evidence of the change and therefore included in the data model. Similar to the actual cost information, the estimates of changes and requirements also need to be responsible, and some of them (such as detailed cost breakdowns) should be kept confidential to prevent unauthorized access as it may reveal the preferential strategies of the project owner or contractor (such as special offers / discounts to maintain a good strategic relationship). Therefore, in Figure 6 In the data model shown, the changing valuation information is recorded in a partially confidential manner.

[0064] Figure 7 is an example of blockchain transaction data according to one embodiment of the present invention. Regarding the developed confidentiality-aware cost data model, three types of transactions are proposed to share planned costs, actual construction costs, and change and requirement information on the blockchain, such as Figure 7 The actual values ​​in the transactions are for reference only. Cost information is recorded in the format of these transactions, shared across the blockchain network, and stored in the ledger for use in construction cost management activities. The access and decryption key fields record access control information for confidential cost data and are described in the following subsections.

[0065] The following introduces an efficient and dynamic access control model.

[0066] Fig. 8A A system 200 for cost management using blockchain and encryption according to one embodiment of the present invention is depicted. System 200 includes access interface 201, recorder 202, determiner 204, key generator 206, encryptor 208, key destroyer 210, smart contract module 300, blockchain network 302, decryptor 400 and re-encryptor 500, which are electrically connected / coupled together. Starting from access interface 201, the process can enter the next stage through decryptor 400 or re-encryptor 500, and then enter recorder 202, or directly enter recorder 202. Specifically, there are three paths from access interface 201, namely path I, path II and path III, for processing cost management requirements.

[0067] Figure 8BA flowchart depicting an efficient dynamic access control model running in a system 200 according to an embodiment of the present invention. The workflow starts with a stakeholder and proceeds in the order of paths I>>II>>III. A stakeholder can operate the access interface 201 to start the workflow of cost management, such as logging into the cost management platform through the access interface 201. In one embodiment, the platform allows different stakeholders to log in through the access interface 201, thereby achieving simultaneous access by multiple parties. For example, stakeholders may include owners, designers, consultant surveyors (quantity surveyors, QS), contractors, and contractor surveyors. It will be understood that although examples related to construction are used herein to illustrate the embodiments, the scope of protection of the present disclosure (as claimed) should not be limited to the field of construction, because the present architecture is applicable to many other fields involving cost management.

[0068] As mentioned above, sensitive cost data can only be accessed by certain project members to maintain confidentiality. This invention provides a new architecture based on blockchain and encryption technology to maintain data accountability and confidentiality in construction cost management. Figure 8B As shown in Figure 1, the proposed access control model consists of two parts: (1) a symmetric-asymmetric integrated encryption mechanism for secure and efficient access control, including encryption and decryption, which respectively protect or allow access to sensitive data; (2) a proxy re-encryption-based mechanism for secure dynamic access transmission, that is, re-encrypting data during transmission access. The details are as follows.

[0069] 2.1) Symmetric-asymmetric integrated encryption mechanism to achieve secure and efficient access control

[0070] Fig. 9A A diagram depicting symmetric encryption, and Fig. 9B A diagram depicting asymmetric encryption. There are three types of encryption techniques: hash functions, symmetric encryption, and asymmetric encryption. Because the encrypted cost information may need to be retrieved later, irreversible hash functions are not suitable. Fig. 9A As shown in Figure 1, symmetric encryption uses the same key to encrypt plaintext and decrypt ciphertext between two or more parties. It is fast, but there is a risk of key leakage. In asymmetric encryption, Fig. 9B As shown, each member generates a public key (K pub ) and a private key (K pri ). pub Public release, while K pri Any member can use the target recipient's K pub Encrypt the plaintext, but only the recipient's K pri Although the speed is relatively low compared to symmetric encryption, it still achieves secure key management.

[0071] Information exchange in construction projects is usually one-to-many in nature. In other words, a confidential information can be accessed by multiple stakeholders. For example, multiple contractor members and contractor quantity surveyors can obtain the actual unit price of a certain engineering project. In such multi-party communication, symmetric encryption has a high risk of key leakage. As for asymmetric encryption, it is inefficient to encrypt information multiple times using the public keys of multiple recipients (i.e., project members who can obtain sensitive cost information). Multiple encrypted versions of the same information also take up unnecessary storage space. Therefore, considering the high efficiency of symmetric encryption and the secure key management of asymmetric encryption in such a one-to-many situation, the proposed access control model integrates symmetric and asymmetric encryption mechanisms to protect confidential cost information, such as Fig. 8A and Figure 8B The specific instructions are as follows.

[0072] like Fig. 8A and Figure 8B As shown, each project member (ie, stakeholder) logs into the platform via the access interface 201 and correspondingly possesses a pair of keys allocated by the platform via the access interface 201 .

[0073] exist Figure 8B The definitions of various symbols are as follows:

[0074] K stands for key and E stands for encryption. K is the symmetric encryption key. is the public key of member X, is the private key of member X, is K encrypted using member X’s public key, K X→Y is the re-encryption key used to re-encrypt the information given to member X so that member Y can decrypt it, is the result of re-encrypting K using the re-encryption key.

[0075] Going further, Figure 8B The diagram includes a first part (path I and path II) and a second part (path III), wherein: the first part is a symmetric-asymmetric integrated encryption mechanism for secure and efficient access control, including path I as encrypted protection data and path II as decrypted access data; the second part is a secure dynamic access transmission mechanism based on proxy re-encryption (PRE), including path III with re-encrypted transmission access.

[0076] In path I of the first part, after the cost information is uploaded to the recorder 202 for recording, the determiner 204 is configured to determine whether the uploaded cost information is non-sensitive information. If the uploaded cost information is determined to be non-sensitive information by the determiner 204, the determiner 204 may trigger the smart contract module 300, and the smart contract module 300 may interact with the determiner 204 to generate and complete a transaction containing the cost information (such as Figure 7 ); then, the cost information is uploaded directly to the blockchain network 302 by the smart contract module 300 and recorded on the blockchain network 302 (i.e., directly enters the end stage of path I in the first part).

[0077] Otherwise, if the uploaded cost information is determined by the determiner 204 to be sensitive information, a symmetric key is randomly generated and used by the key generator 206 to encrypt the cost information so that the corresponding ciphertext is subsequently uploaded to the blockchain (e.g., blockchain network 302). The encryptor is used to encrypt the cost information using the symmetric key to obtain the ciphertext information, and to encrypt the symmetric key using the public key to obtain the encryption key. When the encryptor 208 encrypts the information using the symmetric key, the symmetric key is further encrypted using the recipient's public key. Then, the encrypted version of the symmetric key K of different recipients (e.g., ), where E stands for encryption) is recorded on the blockchain (i.e., the blockchain network 302, such as Figure 7 shown).

[0078] Afterwards, in one embodiment, the symmetric key K is destroyed by the key destroyer 210. Since the symmetric key is in memory rather than storage and is designed to be destroyed immediately after the encryption process is completed, it can be erased by overwriting it multiple times with other irrelevant information (such as random bits or all zeros or ones) using the key destroyer 210.

[0079] At a later stage, as path II in the first part, if a project member, such as contractor D1, operates access interface 201 and wants to access the sensitive cost information, the project member needs to use his / her private key First decrypted by decryptor 400 (ie, K encrypted using D1's public key) to obtain the symmetric key K. Such as going to the recorder 202 and then to the determiner 204 for information access. Otherwise, the access request is denied by the decryptor 400, indicating that D1 should not have data access.

[0080] In this integrated approach, symmetric encryption makes encryption and decryption faster, and asymmetric encryption makes key management simple and secure. In addition, encrypting a symmetric key to produce a single ciphertext, rather than multiple project members encrypting the same message to produce multiple ciphertexts, requires less storage space, such as Fig.10 As shown, the storage efficiency of the symmetric-asymmetric integrated encryption mechanism according to one embodiment of the present invention is described. Therefore, the computer processing time is accelerated and the computer power consumption is reduced during the encryption and decryption process.

[0081] Regarding Path III in Part II, i.e., the secure dynamic access transmission mechanism based on proxy re-encryption, more explanation is as follows.

[0082] In addition to the one-to-many characteristics, construction projects also have the actual need for dynamic access transmission of confidential information (i.e., transmitting data access rights to new members who continue to participate in the construction project). The traditional decryption-encryption method (i.e., using the private key of the current member with access rights to decrypt the data, and then encrypting it with the public key of the new member) will bring considerable workload to project members.

[0083] In addition, these huge workloads of project members lead to a slow speed of operating computer processing programs. To solve this problem, a proxy re-encryption-based mechanism is designed to support dynamic access control, thereby speeding up the speed of operating computer processing programs.

[0084] Compared to other ciphertext-based methods, proxy re-encryption allows a third party (i.e., a proxy) to change the ciphertext encrypted by one party so that the other party can decrypt it (i.e., re-encrypt without decrypting it), without the third party being able to learn anything about the original information. This feature minimizes the workload of the data owner while ensuring the security of data access transmission, which is more practical for the construction industry because construction projects are usually time-sensitive and project members may not be familiar with cybersecurity concepts and operations.

[0085] Fig.11A The general concept of proxy re-encryption is shown. Initially, using member A's public key Encrypt the information and generate a Ciphertext that can only be decrypted by member A A In the proxy re-encryption scheme, a re-encryption key K is generated Re-gen , used to re-encrypt Ciphertext A (i.e., member A's ciphertext), and then member B can decrypt the Ciphertext using his own private key B , thereby obtaining the original information.

[0086] Based on different asymmetric encryption algorithms, different proxy re-encryption schemes can be constructed. The RSA algorithm is one of the asymmetric encryption algorithms recommended by the National Institute of Standards and Technology (NIST). Considering its security, simplicity and ease of implementation, we use this algorithm to develop a proxy re-encryption mechanism. Fig. 11B As shown, each member randomly selects a large prime number n and derives the public key K from it. pub and private key K pri Based on modular operations of large prime numbers, the RSA algorithm can perform encryption and decryption securely.

[0087] exist Fig. 8A and Figure 8B In the second part of Path III shown, apply Fig. 11C The figure shows a proxy re-encryption mechanism based on an asymmetric encryption algorithm (RSA). The figure describes a proxy re-encryption mechanism based on RSA. According to the characteristics of the construction project, its strategy is as follows:

[0088] Principal P1: Current project member, responsible for handing over data access rights to the new member. Principal P1 creates the re-encryption key and sends it to the agent, specifying which data access needs to be transferred. Considering the hierarchical structure of the construction project, the principal P1 in this mechanism is the manager of the new member's discipline according to the project hierarchy to avoid additional communication and approval workflows.

[0089] Agent P2: An entity that performs the re-encryption process, where the ciphertext encrypted for the principal P1 is converted into a new ciphertext that can be decrypted by the delegate P3. Smart contracts, which are self-executing and trustworthy computer programs, are used as a new type of agent to automate repetitive re-encryption tasks, eliminating manual work in the process.

[0090] Delegate P3: A new member who is involved in the project mid-term and needs to access data that is not encrypted by his public key in the early stages.

[0091] When a new member (such as authorized person P3) appears in the project, the new member must first obtain a key pair based on the same n as the manager (such as authorized person P1). The manager (such as authorized person P1) multiplies his private key with the new member's public key (such as authorized person P3's public key) to generate a re-encrypted key. Next, the re-encryption key and RSA encrypted ciphertext that need to transfer access rights are sent to the smart contract of agent P2. The smart contract then uses the RSA algorithm to encrypt the ciphertext with the re-encryption key to generate a re-encrypted ciphertext for the new member (such as authorized person P3).

[0092] according to Fig.11A and Fig. 11B The RSA properties shown, the re-encrypted ciphertext looks like the original data encrypted by RSA using the new member's public key (such as the public key of the authorized person P3). In this way, the new member (such as the authorized person P3) can decrypt the re-encrypted ciphertext with his / her private key to obtain the original data when needed.

[0093] Through this RSA-based proxy re-encryption mechanism, re-encryption is performed using smart contracts, and dynamic new members in the construction project can obtain data access rights without decryption and encryption, which greatly reduces manual workload and computer power consumption, while ensuring the security of data during access and transmission. It should be noted that the RSA-based design is only used for illustrative purposes in this disclosure, so the embodiments of the present invention are not limited to RSA-based designs. In different embodiments, different asymmetric encryption algorithms can be used to construct the mechanism to meet different application scenarios or requirements.

[0094] Therefore, if these strategies are applied to Fig. 8A and Figure 8B In the illustration, when a new member (such as new member N1) operates access interface 201 and wishes to access the sensitive cost information, the new member first obtains a key pair based on the same n as the manager (i.e., another member) at re-encryptor 500. Re-encryptor 500 generates a re-encryption key, such as K, using the manager's private key and the new member's public key. D1→N1 . Re-encryptor 500 uses K D1→N1 For the encrypted K, Encrypt and get the encrypted key K, The new member N1 can use the re-encryptor 500, For the heavily encrypted K, The encrypted cost information is decrypted by using the key K. In one embodiment, K is re-encrypted by using the smart contract of the smart contract module 300.

[0095] The automated and cryptographically integrated smart contracts are described below.

[0096] Smart contract identification function:

[0097] See also Fig. 8A Figure 8B, smart contracts in blockchain networks enable project members to automatically interact with the data of blockchain ledgers. In the present invention, cryptographically integrated smart contracts are developed to manage transparent and confidential data on blockchains. The developed smart contracts are an integral part of the architecture proposed by the present invention, which are used to connect project members, blockchain ledgers, and access control mechanisms to carry out automatic and secure cost management activities on blockchains.

[0098] First, according to the main cost management activities in the proposed architecture, four smart contract functions are determined, as shown in Table 1. These smart contract functions can be triggered by the determiner 204, so the determiner 204 can activate and sign these functions. Table 1: Identification of smart contract functions according to cost management activities in the proposed framework

[0099] 4.3.2. Development of smart contract algorithms

[0100] The functions of the smart contract "DIST_KEY" include (1) pre-verifying the input transaction; (2) generating a block containing the transaction; and (3) broadcasting the block to be added to the blockchain. DIST_KEY allows project members to distribute their public keys in the blockchain network so that others can use them to encrypt data when access control is required. The input is a transaction that includes the member ID and his / her public key. The output is a new block containing distributed key information. The input transaction is first verified. Then, the sorting service packages the transactions in chronological order to generate a new block containing the transaction data and other block metadata. After that, the transaction is broadcast in the blockchain network, and the project members verify and add it to their ledgers. Finally, the initiator is notified that the key information has been successfully distributed in the network.

[0101] The smart contract function “RECORD” includes (1) encryption based on the proposed access control model, including encryption of sensitive data using a symmetric key and encryption of the symmetric key using the public key of the recipient; and (2) uploading transaction data in the blockchain, including pre-verifying transactions, generating a block containing transactions, and broadcasting the block to be added to the blockchain. RECORD is used to upload cost data on the blockchain while encrypting sensitive data to maintain confidentiality. The input is the cost data to be recorded, and the output is a new block including the recorded cost information. If the input cost data is sensitive, it is encrypted using a symmetric key. The public key of the member who can access the data is then retrieved from the blockchain to further encrypt the symmetric key, and the transaction is updated for different recipients using multiple encrypted versions of the encrypted data and the symmetric key. Next, the updated transaction with confidentiality or the original non-sensitive transaction is uploaded to the blockchain. This step is similar to the DIST_KEY function except for the transaction data model.

[0102] The “RETRIEVE” function of the smart contract includes (1) pre-verifying the input transaction; (2) obtaining the corresponding value from the blockchain ledger; and (3) decrypting the data to gain access if the data is encrypted. RETRIEVE supports querying cost data from the blockchain and ensures that only authorized project members can access certain sensitive data. The input is the cost data information to be retrieved (i.e., the transaction ID and data field) and the private key of the project member who retrieves the information. The output is the retrieved value. The smart contract first obtains the cost data transaction based on the input ID from the blockchain. It then obtains the value of the retrieved cost data field from the returned transaction. If the retrieved value is encrypted (i.e., the data is sensitive), the private key is used to decrypt the encrypted version of the symmetric key in the decryption key field of the transaction. If the decryption is successful, the retrieved ciphertext is decrypted using the obtained symmetric key to obtain the original value. Otherwise, members are blocked from accessing this sensitive cost data.

[0103] The “TRANSFER” function of the smart contract includes: (1) obtaining the public key of the new member; (2) generating a re-encryption key and obtaining the transaction whose access needs to be transferred; and (3) re-encrypting the corresponding transaction using the re-encryption key and updating the transaction in the blockchain. TRANSFER grants new project members access to data that does not originally belong to them through the proxy re-encryption mechanism described above and is called by the manager who transfers data access rights. The input includes the ID of the transaction to which access rights need to be transferred, the ID of the new member and the administrator of the program to which the new member belongs, and the administrator’s private key. The new member’s public key is first obtained from the blockchain. Based on the RSA-based proxy re-encryption mechanism described above, a re-encryption key is generated and used to re-encrypt the manager’s decryption key (i.e., the symmetric key encrypted with the manager’s public key) in the smart contract. Then, the transaction whose access needs to be transferred is updated by adding the new member ID and the re-encrypted decryption key in the access and key fields of the decrypted data, respectively. Afterwards, the updated transaction is uploaded to the blockchain. The new member can decrypt the re-encrypted decryption key using his / her private key, and then use the obtained symmetric key to access the original data by calling the RETRIVE smart contract.

[0104] Example

[0105] A blockchain network consisting of a project owner, designer, consultant quantity engineer, contractor, and contractor quantity engineer is established herein. The network is then deployed in three typical construction cost management scenarios to verify the functionality of the proposed framework (i.e., the ability to protect accountability and confidentiality of cost data). In this regard, the blockchain-based applications under construction should be computationally efficient in actual deployments, which can be indicated by latency, throughput, and storage cost. Therefore, they are also measured in this disclosure to prove that when the proposed framework is adopted in the construction process, its computational performance is satisfactory (i.e., the measured values ​​of latency, throughput, and storage cost are within acceptable ranges).

[0106] In addition, the security vulnerabilities of the developed smart contracts are evaluated to further illustrate the security of the framework.

[0107] Fig.12 A user interface (UI) according to an embodiment of the present invention is described, including three main functional modules: data recording, data retrieval, and data access transmission. Users can call these modules to implement different functions. The blockchain dashboard is integrated with the UI to monitor the blockchain network status. Five organizations corresponding to the above five stakeholders (i.e., project owner, designer, consultant quantity engineer, contractor, and contractor quantity engineer) are configured in the blockchain network, and each organization has two peers (i.e., project members) for illustration.

[0108] Next, there are three scenarios for the illustration.

[0109] Scenario 1: Record and retrieve non-sensitive changes and request cost data to resolve disputes:

[0110] Fig.13 The process of resolving a dispute over change costs between an owner and a contractor based on retrieved data recorded earlier on a blockchain is described, which includes five activities in a chronological order in a construction project. In Activity 1, stakeholders evaluate the changes and requirements and Figure 5 The process shown is followed by regular cost review meetings to reach an agreement. Detailed agreement information (e.g., change confirmation, cost details) is then recorded on the blockchain via the RECORD smart contract in activity 2. The blockchain ledger status shows that a new block containing the change and required cost data transaction VAR001 has been successfully recorded on the blockchain, visible to all project members in the network. In the final accounting starting from activity 3, the owner and contractor have a dispute over the total cost of the change order VAR001. The consultant quantity surveyor helps the owner retrieve the corresponding data (e.g., total cost, change description, change instruction endorsement) from the blockchain through the RETRIVE smart contract in activity 4. With irreversible and authentic blockchain records, the owner and contractor no longer need to make excuses, thereby efficiently resolving disputes in activity 5. The implementation of this scenario verifies the connectivity of the framework and shows that project members can track cost records in the project for accountability.

[0111] Scenario 2: Record and retrieve sensitive actual cost data of work items for cost analysis:

[0112] Fig.14 Describes how to protect sensitive cost data to ensure that only authorized project members can access it. In Activity 1, field engineers record the actual costs of the work items. Figure 8BThe encryption process of the access control method proposed in the first part is carried out to protect the sensitive actual cost data in Activity 2 through the RECORD smart contract. First, an AES (Advanced Encryption Standard, a symmetric encryption algorithm recommended by NIST) key is randomly generated to encrypt the quantities, unit costs, and descriptions. The public RSA keys of Contractor 001 and Contractor Quantity Surveyor (QS) 001 (i.e., the authorized project members specified in the field access) are retrieved from the blockchain to encrypt the AES keys using the RSA algorithm. Then, the encrypted versions of the AES keys of these two members are added to the decryption key field of the transaction. The updated actual cost data transaction contains the encrypted quantities, unit costs, and descriptions and the encrypted version of the AES key, which is then uploaded to the blockchain. In Activity 3, if Contractor QS 001 needs to use the actual cost of the recorded work item for periodic cost analysis, he / she will call the RETRIEVE smart contract to obtain the corresponding transaction and then use his / her private RSA key to decrypt the encrypted AES key in Activity 4. Then, the ciphertext of quantities, unit costs, and descriptions is decrypted using the recovered AES keys to access the original values. During this process, although all project members can retrieve the actual cost data transactions, only authorized recipients (e.g., Contractor 001, Contractor QS 001) can decrypt them to access the original values. This shows that sensitive cost data in construction projects can be kept confidential.

[0113] Scenario 3: Transferring access to sensitive cost data to a newly engaged contractor member:

[0114] Fig.15The scenario describes the transfer of sensitive cost data access to a newly involved contractor member. The scenario is intended to demonstrate the dynamic and efficient data access transfer between project members in a construction project. In activity 1, a new contractor member, Contractor 007, is involved in the middle of the project and needs to be able to obtain the actual costs of the work items. The new member uses the DIST_key smart contract in activity 2 to distribute his / her public key in the blockchain network. Starting from activity 3, the manager Contractor 001 calls the TRANSFER smart contract to transfer data access based on the proxy re-encryption mechanism described above. The smart contract retrieves Contractor 001's public key, which is used to generate a re-encryption key and an actual cost transaction with encrypted data for re-encryption in activities 3 and 4, respectively. In activity 5, the smart contract acts as a proxy to re-encrypt and update the actual cost transaction. The re-encryption key is used to re-encrypt the decryption key of Contractor 001. The generated ciphertext is considered as the decryption key of Contractor 007. The re-encrypted ciphertext and the new member ID, Contractor 007, are then added to the key for decryption and the field access being transacted, respectively. Next, the updated transaction is uploaded to the blockchain. In Activity 6, Contractor 007 retrieves the corresponding transaction and successfully decrypts the re-encrypted ciphertext using his / her private RSA key to recover the AES key. The quantity, unit cost, and description ciphertexts are then decrypted using the AES key to obtain their original values. This proxy-based re-encryption process demonstrates that in an evolving construction project, new members can securely and efficiently access sensitive data that was originally not intended for them without the need for decryption and encryption.

[0115] The computational efficiency is evaluated as follows.

[0116] Delay

[0117] Hyperledger's lightweight benchmark tool is used to test blockchain latency and throughput. In the present invention, latency includes blockchain network latency and encryption mechanism latency. Blockchain network latency refers to the time cost from sending a transaction to the blockchain to receiving confirmation from the blockchain, which is an indicator of network efficiency. According to the survey suggestions and practices of blockchain in construction scenarios in existing research, the latency should be within 200 milliseconds to be acceptable. For different smart contracts provided in the present disclosure, the latency of encryption key distribution, cost information recording and retrieval, and data access transmission in the blockchain network is measured. Each task is measured ten times and the average is calculated. As shown in Table 2, the average latency of DIST_KEY, RECORD, RETRIVE, and TRANSFER is 43ms, 59ms, 77ms, and 94ms, respectively, which shows that the blockchain transactions in the proposed framework can be efficiently submitted and confirmed in the network, thereby reducing computer processing time.

[0118] The encryption mechanism delay refers to the use of the proposed access control mechanism as described above (i.e., Figure 8B The time to encrypt, decrypt, and re-encrypt the access transmission in paths i, II, and III. The time logs were recorded to calculate the duration. Each institution measured ten times to calculate the average. The results shown in Table 3 are all within 10ms, which means that the delay of the developed access control mechanism is negligible in the cost management process. Table 2: Blockchain network latency and throughput Table 3: Encryption mechanism delay

[0119] Throughput

[0120] Throughput measures the number of transactions that a blockchain network can process per second. In this regard, the throughput should be greater than 50, which means that the network should allow at least 50 blockchain-related actions (e.g., uploading cost data, transmitting cost data access) to occur simultaneously in a construction project. Similarly, each smart contract as described above was called and measured ten times to calculate the average throughput. Table 2 shows that the network can process 231, 170, 129, and 106 transactions in 1 second for distributing encryption keys, recording and retrieving cost information, and transmitting cost data access, respectively, which indicates that the proposed framework can bear the transaction load in most cost activities.

[0121] Storage costs

[0122] Storage cost refers to the size of data generated and stored on the blockchain every day in the proposed framework. It is suggested that in the construction project, the storage cost within 10MB is acceptable. Table 4 shows Figure 7 The sizes of the three types of transactions in the blockchain. Considering the maximum change of size 8286B and requiring transactions to calculate the maximum storage cost of the block. Assuming that each block contains 10 transactions and 50 blocks (i.e. 500 transactions) are generated per day, the block size (including block header, block Merkle tree and transaction data) is 83.581KB, and the blockchain storage cost is 83.581KB*50=4.179MB, which is acceptable. Table 4: Transaction size in the proposed framework

[0123] Security Assessment

[0124] Since the smart contracts in the proposed framework perform cost information management activities (such as recording, retrieval, access transfer) on the blockchain, it is important to evaluate their security vulnerabilities. In this section, the smart contract security assessment tool is used to evaluate the common security vulnerabilities of the smart contracts developed in the proposed framework. Security vulnerability indicators include blacklisted chaincode imports, global state variables, lightweight threads (goroutines), phantom reading of the ledger, and map scope. Regarding this issue, no security vulnerability issues were found in the developed smart contracts, which ensured the successful execution of cost information management activities.

[0125] Compared with existing research on using blockchain and smart contracts for construction cost management related purposes (such as payment), the present invention has the following novelties and contributions: (I) First, a confidentiality-aware cost data model is identified for comprehensive construction cost management. Several studies have investigated the benefits of blockchain and smart contracts in construction cost management by maintaining traceable financial records and automating payment processes. However, the natural confidentiality requirement of cost information in a transparent blockchain network has not been discussed in depth. The identified data model comprehensively covers different stakeholders and stages, distinguishing between the required transparency and confidentiality of cost information, which should be open to all project members and kept confidential only to authorized members, respectively. This facilitates partially transparent cost records on the blockchain to maintain accountability and confidentiality of cost information in the blockchain-based construction cost management process. (II) Secondly, the present invention develops a symmetric-asymmetric encryption integration and proxy re-encryption-based access control model to protect sensitive cost data on the blockchain. Some studies have emphasized the necessity of access control in blockchain networks to prevent sensitive data leakage. However, the characteristics of construction projects (e.g., dynamic access control for successive new members in the project) have not been properly considered. In the present invention, the symmetric-asymmetric encryption integration approach effectively handles the one-to-many information exchange in the above-mentioned construction projects. The proxy re-encryption-based mechanism eliminates the need for decryption and encryption, thereby securely and efficiently transmitting sensitive data access to new members in the dynamic construction project. A practical access control mechanism tailored to the characteristics of such construction projects protects data confidentiality while utilizing the transparent blockchain under construction. (III) Third, encryption (especially proxy re-encryption)-integrated smart contracts are developed for automatic and secure cost activities on blockchain. Some studies on integrating encryption with blockchain have not incorporated encryption workflows into self-executing smart contract logic, which requires additional workload for project members to perform encryption and decryption operations outside the blockchain. In addition, during project delivery, sensitive data access transmission on the blockchain by new members requires continuous decryption and encryption work by existing members, which is inefficient and impractical. In the present invention, the first is to directly incorporate the proxy re-encryption workflow into the smart contract logic, and re-encryption is performed inside the blockchain, thereby simplifying the management of encrypted data on the blockchain. Secondly, smart contracts are used as a new agent for automatic and secure re-encryption. Compared with the centralized agent in the existing re-encryption method, the smart contract agent is a self-executing trusted computer program that improves the automation and security of the re-encryption process. After that, the re-encrypted messages on the blockchain are accessible to new qualified members who were not previously granted data access rights without manual decryption and encryption.

[0126] It is expected to have three practical implications and prospects as follows:

[0127] The present invention can maximize trust and minimize disputes in construction cost activities. Stakeholders in construction projects often quarrel over cost records (such as actual costs, cost changes) to maximize their own profits. The proposed blockchain-based framework provides immutable cost data storage to establish a trustworthy and indisputable cost information management environment. If any disputes arise, project stakeholders will be convinced by the relevant records on the blockchain, thereby improving project efficiency.

[0128] The second prospect is to increase the confidence in the adoption of blockchain in construction cost management. Although the benefits of blockchain have been recognized in construction cost management (such as payment process), the inherent confidentiality of cost data involves project stakeholders in a transparent blockchain network. Considering the access control requirements specific to construction projects (such as dynamic access control for successive new members in the project), the present invention provides a practical encryption-based solution to protect sensitive cost data, thereby increasing the willingness and confidence of participants to adopt blockchain to improve project efficiency.

[0129] Last but not least, the present invention provides an adaptive crypto-assisted solution based on blockchain. The proposed new construction project framework is not limited to cost management. It can also be applied to other construction industry scenarios where data accountability and confidentiality need to be maintained while considering actual project characteristics. For example, the proxy re-encryption-based mechanism for dynamic access control and crypto-integrated smart contracts can also enhance blockchain-based design collaboration and facility management.

[0130] As described above, in the present invention, a cost data model with confidential information is identified, based on which partially transparent cost records on the blockchain are facilitated. A symmetric-asymmetric integrated encryption mechanism is designed to protect the confidentiality of cost data on the blockchain. In addition, a proxy re-encryption-based mechanism is proposed to securely and efficiently transfer access to confidential cost data to new members in an evolving construction project. Then a smart contract with an integrated encryption mechanism is developed to automate and secure identified cost activities on the blockchain. The framework is applied to three typical construction cost management scenarios for illustration. The research results verify the feasibility and performance by: (1) being responsible for cost data in dispute resolution; (2) maintaining the confidentiality of cost data in cost analysis; and (3) transferring access to confidential cost data to newly participating project members with millisecond latency, hundreds of throughput, and MB storage cost.

[0131] The functional units and modules of the devices and methods according to the embodiments disclosed herein can be implemented using computing devices, computer processors or electronic circuits, including but not limited to application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), microcontrollers, and other programmable logic devices configured or programmed according to the teachings of the present disclosure. Computer instructions or software codes running in computing devices, computer processors, or programmable logic devices can be easily prepared by technicians in the software or electronics fields based on the teachings of the present disclosure.

[0132] All or part of the methods according to the embodiments may be executed in one or more computing devices, including server computers, personal computers, laptop computers, mobile computing devices (such as smart phones and tablet computers).

[0133] Embodiments may include computer storage media, transient and non-transitory memory devices having computer instructions or software codes stored therein, which may be used to program or configure a computing device, a computer processor, or an electronic circuit to perform any of the processes of the present invention. Storage media, transient and non-transitory memory devices may include, but are not limited to, floppy disks, optical disks, Blu-ray disks, DVDs, CD-ROMs and magneto-optical disks, ROMs, RAMs, flash memory devices, or any type of medium or device suitable for storing instructions, codes, and / or data.

[0134] Each functional unit and module according to various embodiments may also be implemented in a distributed computing environment and / or a cloud computing environment, where all or part of a machine instruction is executed in a distributed manner by one or more processing devices interconnected by a communication network, such as an intranet, a wide area network, a local area network, the Internet, and other forms of data transmission media.

[0135] The above description of the present invention is provided for the purpose of illustration and description. It is not intended to be exhaustive or to limit the present invention to the precise form disclosed. Many modifications and variations will be apparent to those skilled in the art.

[0136] The embodiment was chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use contemplated.

Claims

1. A cost management system that uses blockchain and encryption technology to reduce computer processing time, characterized in that: include: Access interface, used to provide a login platform for users; a recorder connected to the platform and used to record cost information; a determiner, connected to the recorder, for determining whether the cost information recorded in the recorder is non-sensitive information, wherein when the cost information is determined by the determiner to be non-sensitive information, the determiner is further used to trigger a smart contract module, the smart contract module can interact with the determiner, generate and complete a transaction containing the cost information, and the cost information is directly uploaded and recorded on the blockchain network through the smart contract module; a key generator coupled to the determiner, wherein when the cost information is determined by the determiner to be sensitive information, the key generator is used to randomly generate a symmetric key; an encryptor, coupled to the key generator, configured to encrypt the cost information using the symmetric key to obtain ciphertext information, and to encrypt the symmetric key using a public key to obtain an encryption key, wherein the encryptor sends the ciphertext information to a blockchain network through the smart contract module for recording; and A decryptor is coupled to the platform and is used to decrypt the encryption key using a private key corresponding to the public key, wherein when the decryption fails, the decryptor denies the access request, and when the decryption succeeds, the decryptor allows the symmetric key K to be used to decrypt the ciphertext information.

2. The system according to claim 1, characterized in that The encryptor is further used to send the encryption key to the smart contract module, and the system further includes: A key destroyer is connected to the encryptor and is used to destroy the symmetric key in the memory after the smart contract module receives the encryption key.

3. The system according to claim 2, characterized in that The key destroyer destroys the symmetric key by overwriting the memory multiple times with other irrelevant information, including random bits or all zero bits or one bits.

4. The system according to claim 1, characterized in that Also includes: A re-encryptor, coupled to the platform, is used to generate a re-encryption key using a sender private key and a receiver public key, and is used to encrypt at least one of the encryption keys using the re-encryption key to obtain the re-encryption key, which will be decrypted by the receiver private key.

5. The system according to claim 4, characterized in that The re-encryptor is allowed to decrypt the re-encryption key using the recipient private key to obtain a key for decrypting the encrypted ciphertext information.

6. The system according to claim 1, characterized in that The platform allows different stakeholders to log in through the access interface, achieving multi-party simultaneous access.

7. The system according to claim 1, characterized in that The platform is made for construction projects, so that the access interface is also used to assign construction-related role characteristics to users.

8. The system according to claim 7, characterized in that The construction-related role characteristics include roles of owner, designer, quantity surveyor (QS), contractor, contractor quantity surveyor consultant or a combination thereof.

9. The system according to claim 1, characterized in that The determiner triggers the smart contract module to activate the smart contract function and signs the smart contract provided by the smart contract module, including encryption key distribution, cost data recording, cost data retrieval and cost data access transmission.

10. The system according to claim 9, characterized in that The cryptographic key distribution is activated, thereby generating and sharing public keys for all members in the blockchain network, enabling users to utilize them for access control.

11. The system according to claim 9, characterized in that The cost data record is activated for transactions containing identified planned and actual cost related information, which is recorded in the blockchain network while protecting the confidentiality of cost sensitive data.

12. The system according to claim 9, characterized in that The cost data retrieval is activated for the transactions recorded on the blockchain network, which can use the retrieval as a real data source for cost analysis and provide undisputed evidence in the event of a dispute, while preventing the leakage of cost-sensitive data.

13. The system according to claim 9, characterized in that The cost data access transmission is activated to enable the secure and efficient transmission of the decryption capability of previous cost-sensitive data to a new member joining the blockchain network, which is based on the premise that the new member has access to the cost-sensitive data.