Blockchain-based material acceptance and payment methods, devices, and equipment
By using blockchain technology to build a material acceptance and payment system in large-scale engineering projects, the problems of information opacity and transaction risks in the material acceptance and settlement process have been solved, achieving data transparency, transaction security and efficient material settlement.
Patent Information
- Application Number
- CN202410810519.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-06-21
AI Technical Summary
In large-scale engineering projects, there are problems such as lack of transparency in information, cumbersome settlement process, data asymmetry and high transaction risk in the material acceptance and settlement process. In particular, the lack of direct contact between construction units and material suppliers makes automatic settlement inconvenient.
A blockchain-based material acceptance and payment method is adopted. The material acceptance block is constructed through blockchain nodes (including owner, construction unit and material supplier nodes), the acceptance results are stored and the settlement statement is generated. The transaction is automatically calculated and recorded by smart contracts to ensure data immutability and transparency.
This process ensures full transparency in the material acceptance process, reduces transaction costs, improves settlement efficiency, guarantees the reliability and transparency of transactions, reduces human error, and promotes trust and cooperation among all parties.
Smart Images

Figure CN118608157B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain application technology, specifically to a blockchain-based method, apparatus, equipment, storage medium, and program product for material acceptance and payment. Background Technology
[0002] In large-scale engineering projects, the integrated management of material acceptance and settlement is crucial and exceptionally complex, often accompanied by issues such as opaque acceptance processes, cumbersome settlement procedures, and information asymmetry. For example, material requirements are typically proposed by the construction unit, with the owner responsible for centralized procurement, followed by centralized delivery by material suppliers, and finally, on-site acceptance by the construction unit. However, the lack of direct contact between the construction unit and material suppliers hinders automated settlement for suppliers. Furthermore, the construction unit needs to communicate and coordinate with the owner multiple times during on-site acceptance, a process frequently plagued by opaque and asymmetrical information and cumbersome procedures.
[0003] These issues not only affect work efficiency but may also lead to risks of errors, tampering, or inconsistencies in data records and fund flows during material acceptance and settlement payment processes. Furthermore, given that a large amount of materials are supplied by the owner, the construction unit must automatically deduct the corresponding material costs after project completion. Ensuring the accuracy and transparency of this deduction is also a major challenge in the material acceptance and settlement process. Summary of the Invention
[0004] In view of this, the present invention provides a blockchain-based method, device, equipment, storage medium and program product for material acceptance and payment, in order to solve the problems of low transaction efficiency caused by lack of transparency of information among multiple parties and transaction risks that may be caused by inaccurate transaction data in the process of material acceptance and settlement of large-scale engineering projects.
[0005] In a first aspect, the present invention provides a blockchain-based method for material acceptance and payment. The method is executed by blockchain nodes corresponding to the target blockchain, including owner nodes, several construction unit nodes, and several material supplier nodes. The method includes:
[0006] When at least one construction unit node obtains the acceptance result of the corresponding construction unit, it constructs a material acceptance block in the target blockchain and stores the acceptance result in the material acceptance block;
[0007] When the owner unit node detects the material acceptance block in the target blockchain, it obtains the acceptance result in the material acceptance block, generates a material settlement form, and stores the material settlement form in the material acceptance block.
[0008] The construction unit node and the material supplier node execute transactions according to the material settlement sheet in the material acceptance block, and store the transaction records in the target blockchain.
[0009] The blockchain-based material acceptance and payment method provided in this invention involves the joint processing of the material acceptance process by the blockchain nodes corresponding to the target blockchain. The acceptance results and the material settlement slips generated based on the acceptance results are stored on the target blockchain. Because its data has the characteristics of being tamper-proof and non-lossable, the entire material acceptance process is made open and transparent, and the data is secure and error-free, which significantly improves the efficiency of the material acceptance process.
[0010] In one optional implementation, when the owner unit node detects a material acceptance block in the target blockchain, it obtains the acceptance result from the material acceptance block and generates a material settlement statement, including:
[0011] The target acceptance results that meet the preset conditions in the owner unit's node screening and acceptance results;
[0012] A material settlement sheet is generated based on the target acceptance results. The material settlement sheet is used to represent the set of material suppliers and material amounts corresponding to the target acceptance results.
[0013] The blockchain-based material acceptance and payment method provided in this invention deploys smart contracts on the target blockchain to summarize the material suppliers and amounts corresponding to the acceptance results deemed qualified by the owner's unit node, forming a material settlement statement. Based on the material settlement statement, corresponding payment transactions are carried out. The transaction records are visible to all relevant parties, ensuring the reliability and transparency of the material acceptance process.
[0014] In one optional implementation, the construction unit node and the material supplier node execute transactions according to the material settlement sheet in the material acceptance block, including:
[0015] The construction unit calculates the outstanding material costs based on the material settlement sheet.
[0016] The construction unit node and the material supplier node execute transactions based on the outstanding material costs, and generate transaction records;
[0017] Transaction records are stored in the settlement block, which is constructed by the construction unit node.
[0018] The blockchain-based material acceptance and payment method provided in this invention automatically calculates the material costs due based on the material suppliers, the total quantity of materials provided, and the corresponding unit price recorded on the material settlement sheet, and performs a corresponding deduction operation. After the deduction transaction is executed, a transaction record is generated and recorded on the target blockchain. At the same time, this operation triggers an event to notify other relevant nodes on the target blockchain system that the deduction has been completed. The entire process is automatically calculated, processed, and updated by the system, without relying on manual intervention, avoiding data errors, and improving transaction transparency.
[0019] In one alternative implementation, the method further includes querying acceptance and payment information, including:
[0020] In response to an information query request from each blockchain node, the target query information is generated;
[0021] The target query information is sent to each blockchain node.
[0022] The blockchain-based material acceptance and payment method provided in this invention allows each blockchain node on the target blockchain to query deduction records and material acceptance status, and displays the query information on the front-end interface, ensuring information symmetry and transparency among the nodes.
[0023] In one optional implementation, the acceptance result is based on the arrival status, quantity, weight, specifications, and performance of the materials verified by the construction unit at each stage, including:
[0024] In response to the construction unit's verification of the appearance, packaging and labeling of materials at each stage, a material arrival acceptance record is generated;
[0025] In response to the verification of the quantity of materials by the construction unit at each stage, a material quantity acceptance record is generated;
[0026] In response to the construction unit's verification of the weight of materials at each stage, a material weight acceptance record is generated.
[0027] In response to the verification of the specifications, dimensions and materials of materials by the construction unit at each stage, and to the comparison of materials with samples, a material specification acceptance record is generated.
[0028] In response to the performance tests of materials conducted by the construction unit at each stage, generate material performance acceptance records;
[0029] Summarize all acceptance records to form the acceptance results;
[0030] The acceptance results are stored in the materials acceptance block.
[0031] The blockchain-based material acceptance and payment method provided in this invention sequentially inspects the arrival status, quantity, weight, specifications, and performance of materials. In response to each inspection process, an inspection record is generated and stored in the target blockchain. After the inspection is completed, an event is triggered to notify other relevant nodes, thus forming a transparent and reliable recording method.
[0032] Secondly, the present invention provides a blockchain system for material acceptance and payment, the blockchain system comprising:
[0033] Several construction unit nodes, supported or hosted by the servers of several construction units, are used to upload the material verification results to the blockchain system;
[0034] The owner unit node, supported or hosted by the owner unit's server, is used to obtain material verification results and generate material settlement statements, and to upload the material acceptance management service agreement established between the owner unit, the construction unit, and the material supplier to the blockchain system.
[0035] Several material supplier nodes, supported or hosted by the material supplier's server, are used to conduct payment transactions with the construction unit node based on the material settlement sheet, and generate transaction records stored in the blockchain system.
[0036] The blockchain system for material acceptance and payment provided in this embodiment of the invention deploys smart contracts by the owner unit node, and the owner unit node, several construction unit nodes, and several material supplier nodes execute the operations to ensure that all participating nodes have synchronized and transparent information on acceptance standards and processes, and to ensure that the data is tamper-proof and cannot be lost, so as to make the transaction safe and efficient.
[0037] Thirdly, the present invention provides a blockchain-based material acceptance and payment device. The device is applied to the execution of blockchain nodes corresponding to the target blockchain. The blockchain nodes include owner unit nodes, several construction unit nodes, and several material supplier nodes. The device includes:
[0038] The construction module is used to construct a material acceptance block in the target blockchain and store the acceptance result in the material acceptance block when at least one construction unit node obtains the acceptance result of the corresponding construction unit.
[0039] The generation module is used to obtain the acceptance results in the material acceptance block when the owner unit node detects the material acceptance block in the target blockchain, generate a material settlement sheet, and store the material settlement sheet in the material acceptance block.
[0040] The transaction module is used by construction unit nodes and material supplier nodes to execute transactions based on the material settlement sheets in the material acceptance block, and store the transaction records in the target blockchain.
[0041] Fourthly, the present invention provides a computer device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the blockchain-based material acceptance and payment method of the first aspect or any corresponding embodiment described above.
[0042] Fifthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the blockchain-based material acceptance and payment method of the first aspect or any corresponding embodiment described above.
[0043] In a sixth aspect, the present invention provides a computer program product, including computer instructions for causing a computer to execute the blockchain-based material acceptance and payment method described in the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0044] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0045] Figure 1 This is a flowchart illustrating a blockchain-based material acceptance and payment method according to an embodiment of the present invention.
[0046] Figure 2 This is a schematic diagram of a blockchain system for material acceptance and payment according to an embodiment of the present invention;
[0047] Figure 3 This is a structural block diagram of a blockchain-based material acceptance and payment device according to an embodiment of the present invention;
[0048] Figure 4 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0050] As large-scale engineering projects become increasingly larger and more complex, traditional methods of material acceptance and settlement face problems such as inefficiency, lack of transparency, and lack of trust. To address these challenges, blockchain technology, with its decentralized, immutable, and highly transparent characteristics, offers an innovative solution for material acceptance and settlement in large-scale engineering projects.
[0051] Based on the above ideas, a blockchain-based material acceptance and payment system can be built to achieve real-time and accurate recording, verification, and sharing of material information, thereby ensuring the fairness of the acceptance process and the accuracy of settlement. At the same time, blockchain technology can also reduce transaction costs, improve settlement efficiency, and promote trust and cooperation among all parties, providing strong support for the successful implementation of large-scale engineering projects.
[0052] According to an embodiment of the present invention, a blockchain-based material acceptance and payment method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0053] This embodiment provides a blockchain-based material acceptance and payment method. The method is executed by blockchain nodes corresponding to the target blockchain. The blockchain nodes include owner node, several construction unit nodes, and several material supplier nodes, and can be used on mobile terminals such as mobile phones and tablets. Figure 1 This is a flowchart of a blockchain-based material acceptance and payment method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0054] In step S101, when at least one construction unit node obtains the acceptance result of the corresponding construction unit, it constructs a material acceptance block in the target blockchain and stores the acceptance result in the material acceptance block.
[0055] Specifically, each construction unit generates its own acceptance results based on pre-set acceptance standards.
[0056] In this embodiment, the owner unit node deploys a smart contract on the target blockchain and uses this smart contract as the core of the target blockchain system, responsible for information and processes related to material acceptance. After deploying the smart contract, the owner unit node adds acceptance service agreements between itself and several construction units and several material suppliers through contract functions. The construction unit node generates the corresponding acceptance results according to the acceptance service agreements.
[0057] Optionally, the owner node can use smart contract functions to add material information to the target blockchain, including the material name, description, and acceptance criteria.
[0058] In step S102, when the owner unit node detects the material acceptance block in the target blockchain, it obtains the acceptance result in the material acceptance block, generates a material settlement form, and stores the material settlement form in the material acceptance block.
[0059] Specifically, in this embodiment, the target blockchain system has an event notification function. When a node meets preset conditions or completes a preset action, an event is triggered, notifying other relevant nodes in the target blockchain system, which is then displayed via smart contracts or other front-end applications. When the owner node is notified of the event notification in the material acceptance block of the target blockchain, it obtains the acceptance result, generates a material settlement statement based on the acceptance result, and stores it in the material acceptance block. Simultaneously, it notifies other relevant nodes.
[0060] In some optional implementations, step S102 above includes:
[0061] When the owner's node detects a material acceptance block in the target blockchain, it retrieves the acceptance results from the material acceptance block and generates a material settlement statement, including:
[0062] The target acceptance results that meet the preset conditions in the owner unit's node screening and acceptance results;
[0063] A material settlement sheet is generated based on the target acceptance results. The material settlement sheet is used to represent the set of material suppliers and material amounts corresponding to the target acceptance results.
[0064] Specifically, the target blockchain system periodically or under specific triggering conditions, such as the completion stage of an engineering project, obtains the acceptance results of all materials arriving at the construction site. The acceptance results include material identifiers and the acceptance status of each acceptance record in the results. The system filters the acceptance records with the acceptance status of "passed" to ensure that only materials that meet the preset standards enter the settlement process. For each type of material, the system accumulates the number of all acceptance records with the acceptance status of "passed" to calculate the total amount of materials that have passed acceptance. The total amount of materials represents the total amount of materials actually provided by the material supplier that meets the preset standards. The system integrates the material supplier and the material amount corresponding to the total amount of materials to form a material settlement statement. Whenever a new material settlement statement is generated, the target blockchain system triggers an event to notify other relevant nodes that a new material settlement statement has been generated. The event contains the identifier corresponding to the material settlement statement.
[0065] Optionally, the material settlement sheet also includes a pending status. The initial value of the pending status is set to unconfirmed. The generated settlement sheet needs to be reviewed by the owner node or other audit node to ensure that the quantity of materials matches the requirements of the project. Once the owner node or other audit node confirms the material settlement sheet, the pending status of the material settlement sheet is changed to confirmed.
[0066] In some alternative implementations, the acceptance results are based on the arrival status, quantity, weight, specifications, and performance of the materials verified by the construction unit at each stage, including:
[0067] In response to the construction unit's verification of the appearance, packaging and labeling of materials at each stage, a material arrival acceptance record is generated;
[0068] In response to the verification of the quantity of materials by the construction unit at each stage, a material quantity acceptance record is generated;
[0069] In response to the construction unit's verification of the weight of materials at each stage, a material weight acceptance record is generated.
[0070] In response to the verification of the specifications, dimensions and materials of materials by the construction unit at each stage, and to the comparison of materials with samples, a material specification acceptance record is generated.
[0071] In response to the performance tests of materials conducted by the construction unit at each stage, generate material performance acceptance records;
[0072] Summarize all acceptance records to form the acceptance results;
[0073] The acceptance results are stored in the materials acceptance block.
[0074] Based on the acceptance records, the construction unit nodes record the acceptance status of each material through the smart contract's addAcceptanceRecord function.
[0075] In step S103, the construction unit node and the material supplier node execute transactions according to the material settlement sheet in the material acceptance block and store the transaction records in the target blockchain.
[0076] Specifically, transactions are executed for material settlement orders that are in an unprocessed state.
[0077] In some optional implementations, step S103 above includes:
[0078] The construction unit calculates the outstanding material costs based on the material settlement sheet.
[0079] The construction unit node and the material supplier node execute transactions based on the outstanding material costs, and generate transaction records;
[0080] Transaction records are stored in the settlement block, which is constructed by the construction unit node.
[0081] In this embodiment, the status of the material settlement order is first checked to ensure it is in an unprocessed state, thus avoiding duplicate deductions. Next, the construction unit node obtains the unit price of the material stored on the target blockchain through the material's unique identifier. Based on the product of the unit price and the total quantity of materials on the unprocessed settlement order, the payment for the materials is calculated. After the deduction operation is performed, the status of the material settlement order is updated and marked as processed, indicating that the corresponding fee has been deducted. Simultaneously, the target blockchain system records detailed information about this operation, including the material's identifier and the total deducted fee, and stores the record in the settlement block. Each transaction triggers an event, notifying all relevant nodes that the fee has been deducted. Through this event mechanism, all participating nodes in the target blockchain system can be informed of the material fee deduction status in real time, increasing the transparency of the entire material transaction process.
[0082] Furthermore, the logic for processing funds after deducting the cost of materials to be paid is to transfer the funds to the corresponding material supplier, and the external payment system responds to this fund transfer operation to complete the subsequent fund processing.
[0083] Optionally, the unpaid material costs can be recorded as accounts payable and then processed in conjunction with external payment systems or other internal accounting procedures.
[0084] The blockchain-based material acceptance and payment method provided in this embodiment establishes a material acceptance and payment system based on blockchain technology. This system involves the joint participation of owner nodes, several construction unit nodes, and several material supplier nodes. All material acceptance results, settlement payment transaction records, and material cost deduction processes are permanently stored in a distributed ledger, enabling information traceability and verification. This ensures the accuracy and immutability of transaction data. Furthermore, each step in the method can be executed automatically, reducing human error and labor costs, and improving the transaction efficiency of material acceptance and payment.
[0085] In some alternative implementations, the method further includes querying acceptance and payment information, including:
[0086] In response to an information query request from each blockchain node, the target query information is generated;
[0087] The target query information is sent to each blockchain node.
[0088] In this embodiment of the application, the target blockchain system enables owner nodes, construction unit nodes, and material supplier nodes to view material acceptance records, transaction information, and deduction details, thereby enabling information query and management. Specifically, by developing a query interface and deploying a smart contract, query functions such as getTotalDeduction and getMaterialUsage are used to allow all parties to query the total deducted fees and the usage of each material.
[0089] Optionally, a front-end application can be developed using libraries such as Web3.js, enabling users (owners, construction companies, and material suppliers) to access and query data on the blockchain through a user-friendly interface.
[0090] Optionally, a private or permissioned blockchain can be used to control access permissions and protect data, encrypting sensitive data to ensure that only authorized users can view it.
[0091] This embodiment provides a blockchain system for material acceptance and payment, such as Figure 2 As shown, the system includes:
[0092] Several construction unit nodes, supported or hosted by the servers of several construction units, are used to upload the material verification results to the blockchain system;
[0093] The owner unit node, supported or hosted by the owner unit's server, is used to obtain material verification results and generate material settlement statements, and to upload the material acceptance management service agreement established between the owner unit, the construction unit, and the material supplier to the blockchain system.
[0094] Several material supplier nodes, supported or hosted by the material supplier's server, are used to conduct payment transactions with the construction unit node based on the material settlement sheet, and generate transaction records stored in the blockchain system.
[0095] This embodiment also provides a blockchain-based material acceptance and payment device. The device is applied to the blockchain nodes corresponding to the target blockchain. The blockchain nodes include owner node, several construction unit nodes, and several material supplier nodes. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0096] This embodiment provides a blockchain-based material acceptance and payment device, such as... Figure 3 As shown, it includes:
[0097] Module 501 is used to construct a material acceptance block in the target blockchain and store the acceptance result in the material acceptance block when at least one construction unit node obtains the acceptance result of the corresponding construction unit.
[0098] The generation module 502 is used to obtain the acceptance results in the material acceptance block when the owner unit node detects the material acceptance block in the target blockchain, generate a material settlement form, and store the material settlement form in the material acceptance block.
[0099] Transaction module 503 is used by construction unit nodes and material supplier nodes to execute transactions according to the material settlement sheets in the material acceptance block, and store the transaction records in the target blockchain.
[0100] In some alternative implementations, the generation module 502 includes:
[0101] The filtering submodule is used by the owner unit to filter the target acceptance results that meet the preset conditions among the node acceptance results.
[0102] The settlement statement submodule is used to generate a material settlement statement based on the target acceptance results. The material settlement statement is used to represent the set of material suppliers and material amounts corresponding to the target acceptance results.
[0103] In some alternative implementations, the transaction module 503 includes:
[0104] The calculation submodule is used by construction unit nodes to calculate the material costs to be paid based on the material settlement sheet.
[0105] The transaction execution submodule is used by construction unit nodes and material supplier nodes to execute transactions based on the material costs to be paid, and to generate transaction records.
[0106] The storage record submodule is used to store transaction records to the settlement block, which is constructed by the construction unit node.
[0107] In some alternative embodiments, the apparatus further includes:
[0108] The query module is used to respond to an information query request from each blockchain node and generate the target query information.
[0109] The sending node module is used to send the target query information to each blockchain node.
[0110] In some alternative implementations, the generation module 502 further includes:
[0111] The Material Arrival Status submodule is used to respond to the verification of the appearance, packaging and labeling of materials by the construction unit and generate a material arrival status acceptance record.
[0112] The Materials Quantity submodule is used to respond to the verification of the materials quantity by the construction unit nodes and generate materials quantity acceptance records.
[0113] The Material Weight submodule is used to respond to the verification of material weight by the construction unit and generate material weight acceptance records.
[0114] The Material Specifications submodule is used to respond to the verification of the specifications, dimensions and materials of materials by the construction unit at each stage, and to compare the materials with samples to generate material specification acceptance records.
[0115] The material performance testing submodule is used to respond to the performance tests of materials by the construction unit and generate material performance acceptance records.
[0116] The summary submodule is used to summarize various acceptance records to form the acceptance results.
[0117] The storage results submodule is used to store the acceptance results in the material acceptance block.
[0118] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0119] In this embodiment, the blockchain-based material acceptance and payment device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0120] This invention also provides a computer device having the above-described features. Figure 3 The image shows a blockchain-based material acceptance and payment device.
[0121] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 4As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 4 Take a processor 10 as an example.
[0122] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0123] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.
[0124] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0125] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0126] The computer device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30, and output device 40 can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0127] Input device 30 can receive input numerical or character information, and generate key signal inputs related to user settings and function control of the computer device, such as a touchscreen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display devices, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors). The aforementioned display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, displays, and plasma displays. In some alternative embodiments, the display device may be a touchscreen.
[0128] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0129] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0130] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A blockchain-based method for material acceptance and payment, characterized in that, The method is executed by blockchain nodes corresponding to the target blockchain, the blockchain nodes including owner node, several construction unit nodes, and several material supplier nodes, the method including: The owner unit node deploys a smart contract on the target blockchain and adds an acceptance service agreement between the owner unit node and several construction unit nodes and several material supplier nodes through contract functions. The construction unit node generates the corresponding acceptance result according to the acceptance service agreement; When at least one of the construction unit nodes obtains the acceptance result from the corresponding construction unit, a material acceptance block is constructed in the target blockchain, and the acceptance result is stored in the material acceptance block. The acceptance result is formed based on the construction unit node's verification of the material's arrival status, quantity, weight, specifications, and performance, including: generating a material arrival status acceptance record in response to the construction unit node's verification of the material's appearance, packaging, and labeling; generating a material quantity acceptance record in response to the construction unit node's verification of the material's quantity; generating a material weight acceptance record in response to the construction unit node's verification of the material's weight; generating a material specification acceptance record in response to the construction unit node's verification of the material's specifications, dimensions, and materials, and by comparing the material with a sample; generating a material performance acceptance record in response to the construction unit node's performance testing of the material; and summarizing all the acceptance records to form the acceptance result. When the owner unit node detects the material acceptance block in the target blockchain, it obtains the acceptance result in the material acceptance block, generates a material settlement form, and stores the material settlement form in the material acceptance block. The construction unit node and the material supplier node execute transactions according to the material settlement sheet in the material acceptance block, and store the transaction records in the target blockchain.
2. The method according to claim 1, characterized in that, When the owner unit node detects the material acceptance block in the target blockchain, it obtains the acceptance result from the material acceptance block and generates a material settlement statement, including: The owner unit node filters the target acceptance results that meet the preset conditions from the acceptance results; The material settlement sheet is generated based on the target acceptance result. The material settlement sheet is used to represent the set of material suppliers and material amounts corresponding to the target acceptance result.
3. The method according to any one of claims 1 or 2, characterized in that, The construction unit node and the material supplier node execute transactions according to the material settlement sheet in the material acceptance block, including: The construction unit node calculates the material costs to be paid based on the material settlement sheet; The construction unit node and the material supplier node execute transactions based on the unpaid material costs, thereby generating transaction records; The transaction records are stored in the settlement block, which is constructed by the construction unit node.
4. The method according to claim 1, characterized in that, The method also includes querying acceptance and payment information, including: In response to an information query request from each of the blockchain nodes, target query information is generated; The target query information is sent to each of the blockchain nodes.
5. A blockchain system for material acceptance and payment, characterized in that, The blockchain system includes: Several construction unit nodes, supported or hosted by servers of several construction units, are used to upload material acceptance results to the blockchain system. The acceptance results are formed based on the verification of material arrival, quantity, weight, specifications, and performance by the construction unit nodes, including: generating a material arrival acceptance record in response to the construction unit nodes' verification of the material's appearance, packaging, and labeling; generating a material quantity acceptance record in response to the construction unit nodes' verification of the material's quantity; generating a material weight acceptance record in response to the construction unit nodes' verification of the material's weight; generating a material specification acceptance record in response to the construction unit nodes' verification of the material's specifications, dimensions, and materials, and by comparing the material with a sample; generating a material performance acceptance record in response to the construction unit nodes' performance testing of the material; and summarizing all acceptance records to form the acceptance result. The owner unit node, supported or hosted by the owner unit's server, is used to obtain the material acceptance results and generate material settlement sheets, and to upload the material acceptance management service agreement established by the owner unit, the construction unit, and the material supplier to the blockchain system. Several material supplier nodes, supported or hosted by the material supplier's server, are used to conduct payment transactions with the construction unit node based on the material settlement sheet, and generate transaction records stored in the blockchain system. The owner node deploys a smart contract on the blockchain system and adds an acceptance service agreement between the owner node and several construction unit nodes and several material supplier nodes through contract functions; the construction unit node generates the corresponding acceptance result according to the acceptance service agreement.
6. A blockchain-based material acceptance and payment device, characterized in that, The device is applied to the execution of the blockchain node corresponding to the target blockchain. The blockchain node includes the owner unit node, several construction unit nodes, and several material supplier nodes. The owner unit node deploys a smart contract on the target blockchain and adds an acceptance service agreement between the owner unit node and several construction unit nodes and several material supplier nodes through contract functions. The construction unit node generates the corresponding acceptance result according to the acceptance service agreement; The device includes: A construction module is configured to, when at least one of the construction unit nodes obtains the acceptance result from the corresponding construction unit, construct a material acceptance block on the target blockchain and store the acceptance result in the material acceptance block. The acceptance result is formed based on the construction unit node's verification of the material's arrival status, quantity, weight, specifications, and performance, including: generating a material arrival status acceptance record in response to the construction unit node's verification of the material's appearance, packaging, and labeling; generating a material quantity acceptance record in response to the construction unit node's verification of the material's quantity; generating a material weight acceptance record in response to the construction unit node's verification of the material's weight; generating a material specification acceptance record in response to the construction unit node's verification of the material's specifications, dimensions, and material, and by comparing the material with a sample; generating a material performance acceptance record in response to the construction unit node's performance testing of the material; and summarizing all acceptance records to form the acceptance result. The generation module is used to obtain the acceptance result in the material acceptance block when the owner unit node detects the material acceptance block in the target blockchain, generate a material settlement sheet, and store the material settlement sheet in the material acceptance block. The transaction module is used by the construction unit node and the material supplier node to execute transactions according to the material settlement sheet in the material acceptance block, and store the transaction records in the target blockchain.
7. A computer device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 4.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the method of any one of claims 1 to 4.
9. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Construction progress management system and method based on block chain and storage medium
CN112288405A
Power grid material electronic invoice intelligent settlement system and method
CN116611781A