Methods, devices, storage media and computer equipment for verifying the cost of relocation and reconstruction projects
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-15
- Publication Date
- 2026-08-14
AI Technical Summary
[0004]本申请的目的旨在至少能解决上述的技术缺陷之一,特别是现有技术中迁改工程造价需多部门协同,若方案调整频繁,则将导致造价反复核算,耗时长的技术缺陷
[0041]本申请提供的迁改工程造价验证方法、装置、存储介质及计算机设备,接收到迁改需求方针对迁改工程提交的迁改需求数据后,可以基于该迁改需求数据生成至少一个迁改方案,并对其自动造价计算,得到迁改方案的工程造价,从而缩短工程造价耗时。在迁改工程自动造价的每个阶段,本申请均可以对获取到的数据,如迁改需求数据、迁改方案和工程造价进行椭圆曲线数字签名,并在签名验证通过后将对应数据写入区块链中,形成不可伪造、不可篡改以及可追溯的存证记录。此外,若迁改需求方对迁改方案的工程造价的反馈结果为不通过,则可以自动回溯至方案生成步骤,基于区块链中的迁改需求数据重新生成方案,直至生成满足需求的工程造价,通过自动化迭代,本申请可以显著缩短方案调整周期。
Smart Images

Figure CN122573399A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of engineering cost technology, and in particular to a method, apparatus, storage medium and computer equipment for verifying the cost of relocation projects. Background Technology
[0002] With the acceleration of urbanization, power relocation projects have become an important supporting link in ensuring the momentum of urban development. Relocation projects have evolved from simple line relocation to systematic projects that integrate spatial planning, power grid safety, and technological upgrades, resulting in an increasing investment scale for power relocation projects. Their cost management directly affects the efficiency of project construction and the effectiveness of fund utilization.
[0003] Currently, the cost estimation for relocation and reconstruction projects relies heavily on manual labor. Technical personnel need to combine relocation and reconstruction needs data with formulas applied to standard quotas to calculate material and construction costs, ultimately generating a cost list. However, this cost estimation model is susceptible to limitations imposed by human experience, leading to significant cost discrepancies. Furthermore, the cost determination process requires collaboration among multiple departments; frequent adjustments to the plan result in repeated cost calculations, which is time-consuming. Summary of the Invention
[0004] The purpose of this application is to at least solve one of the aforementioned technical defects, particularly the technical defect in the prior art where the cost of relocation projects requires coordination among multiple departments, and frequent adjustments to the plan will lead to repeated cost calculations and a long time consumption.
[0005] This application provides a method for verifying the cost of relocation projects, the method comprising:
[0006] Obtain the relocation request data submitted by the relocation request party for the relocation project, sign the relocation request data using the elliptic curve digital signature algorithm, and write the relocation request data into the blockchain after the signature verification is passed.
[0007] At least one migration plan is generated based on the migration requirement data in the blockchain. The migration plan is signed using an elliptic curve digital signature algorithm, and the migration plan is written into the blockchain after the signature verification is passed.
[0008] The relocation plan in the blockchain is automatically calculated to obtain the project cost. The project cost is then signed using an elliptic curve digital signature algorithm, and the project cost is written into the blockchain after the signature verification is successful.
[0009] Obtain feedback from the relocation requester regarding the project cost in the blockchain. If the feedback result is negative, return to the process of generating at least one relocation plan based on the relocation request data in the blockchain and its subsequent steps until the feedback result is positive, thus ending the automatic cost estimation process for the relocation project.
[0010] Optionally, the step of signing the migration request data using an elliptic curve digital signature algorithm and writing the migration request data into the blockchain after the signature verification is successful includes:
[0011] Obtain the first private key of the party requesting the relocation;
[0012] The migration requirement data is hashed, and the hash result is digitally signed using the first private key to obtain the requirement signature data.
[0013] The relocation request data and the request signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0014] Optionally, generating at least one migration plan based on the migration demand data in the blockchain includes:
[0015] Data parsing is performed on the relocation requirement data in the blockchain to obtain the spatial location data of the distribution network equipment to be relocated and the relocation constraints, as well as the current latitude and longitude data and power grid topology information of the distribution network equipment;
[0016] Based on the spatial location data, the relocation constraints, the latitude and longitude data, and the power grid topology information, at least one relocation scheme is generated; the relocation scheme includes at least the line relocation path, equipment adjustment method, and construction implementation method.
[0017] Optionally, the step of signing the migration scheme using an elliptic curve digital signature algorithm and writing the migration scheme into the blockchain after the signature verification is successful includes:
[0018] Obtain the second private key of the person in charge of the relocation;
[0019] The migration scheme is hashed, and the hash result is digitally signed using the second private key to obtain the scheme signature data.
[0020] The migration scheme and its signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0021] Optionally, the step of signing the project cost using an elliptic curve digital signature algorithm and writing the project cost into the blockchain after the signature verification is successful includes:
[0022] Obtain the third private key of the person in charge of cost estimation;
[0023] The project cost is hashed, and the hash result is digitally signed using the third private key to obtain the cost signature data.
[0024] The project cost and the cost signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0025] Optionally, the method may also include:
[0026] When a request to obtain target data in the blockchain is received, the signature data corresponding to the target data is extracted; wherein, the target data includes relocation requirement data, relocation plan or project cost, and the signature data includes requirement signature data, plan signature data or cost signature data;
[0027] The signature data is verified using the public key corresponding to the target data to obtain a verification result, and it is determined whether the verification result is successful.
[0028] If so, the corresponding target data in the blockchain is output to the requesting party that made the acquisition request;
[0029] If not, then terminate the data acquisition operation of the acquisition request.
[0030] Optionally, the method may also include:
[0031] If the signature verification of the relocation requirement data, the relocation plan, or the project cost fails, the blockchain notarization process for the corresponding data will be terminated, and the process will proceed to manual review.
[0032] This application also provides a device for verifying the cost of relocation projects, including:
[0033] The demand acquisition module is used to acquire relocation demand data submitted by the relocation demand party for the relocation project, sign the relocation demand data using the elliptic curve digital signature algorithm, and write the relocation demand data into the blockchain after the signature verification is passed.
[0034] The scheme generation module is used to generate at least one migration scheme based on the migration requirement data in the blockchain, sign the migration scheme using an elliptic curve digital signature algorithm, and write the migration scheme into the blockchain after the signature verification is passed.
[0035] The project cost module is used to automatically calculate the cost of the relocation plan in the blockchain, obtain the project cost, sign the project cost using the elliptic curve digital signature algorithm, and write the project cost into the blockchain after the signature verification is successful.
[0036] The scheme rollback module is used to obtain the feedback result of the relocation request party on the project cost in the blockchain. If the feedback result is not approved, the module returns to execute the generation of at least one relocation scheme based on the relocation request data in the blockchain and its subsequent steps until the feedback result is approved, thus ending the automatic cost estimation process of the relocation project.
[0037] This application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the relocation project cost verification method as described in any of the above embodiments.
[0038] This application also provides a computer device, including: one or more processors, and memory;
[0039] The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the relocation project cost verification method as described in any of the above embodiments.
[0040] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0041] The relocation project cost verification method, apparatus, storage medium, and computer equipment provided in this application, upon receiving relocation request data submitted by the relocation request party, can generate at least one relocation plan based on the relocation request data and automatically calculate the project cost of the relocation plan, thereby shortening the time required for project cost verification. At each stage of the automatic cost verification, this application can perform elliptic curve digital signatures on the acquired data, such as relocation request data, relocation plans, and project costs. After successful signature verification, the corresponding data is written into the blockchain, forming an unforgeable, tamper-proof, and traceable evidence record. Furthermore, if the relocation request party's feedback on the project cost of the relocation plan is unsatisfactory, the process can automatically backtrack to the plan generation step, regenerating the plan based on the relocation request data in the blockchain until a project cost that meets the requirements is generated. Through automated iteration, this application can significantly shorten the plan adjustment cycle. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1A flowchart illustrating a method for verifying the cost of a relocation project, provided as an embodiment of this application;
[0044] Figure 2 This is a schematic diagram of the structure of a relocation project cost verification device provided in an embodiment of this application;
[0045] Figure 3 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0047] Currently, the cost estimation for relocation and reconstruction projects relies heavily on manual labor. Technical personnel need to combine relocation and reconstruction needs data with formulas applied to standard quotas to calculate material and construction costs, ultimately generating a cost list. However, this cost estimation model is susceptible to limitations imposed by human experience, leading to significant cost discrepancies. Furthermore, the cost determination process requires collaboration among multiple departments; frequent adjustments to the plan result in repeated cost calculations, which is time-consuming.
[0048] Based on this, this application proposes the following technical solution, which specifically includes the following:
[0049] In one embodiment, such as Figure 1 As shown, Figure 1 This application provides a flowchart illustrating a method for verifying the cost of a relocation project, as illustrated in an embodiment of the present application. The method specifically includes the following:
[0050] S110: Obtain the relocation request data submitted by the relocation request party for the relocation project, sign the relocation request data using the elliptic curve digital signature algorithm, and write the relocation request data into the blockchain after the signature verification is successful.
[0051] In this step, after the relocation request party uploads the relocation request data of the relocation project to the system, the computer equipment can use the elliptic curve digital signature algorithm to sign the relocation request data, and write the relocation request data into the blockchain after the signature verification is passed, so as to prevent the relocation request data from being tampered with during the project cost process.
[0052] Among them, the relocation demand party refers to the party that puts forward the relocation project request, such as planning and construction departments, project construction units, etc.; the relocation project refers to the project involving the relocation and alteration of infrastructure such as power lines and communication pipelines, which is often a supporting project in urban construction to support the development of new urban areas and the widening and renovation of roads; the relocation demand data is the relevant data describing the specific requirements, constraints and target scope of the relocation project, such as the location information of the relocation project, the scale of facilities to be relocated, the completion time requirements, site restrictions and other content.
[0053] Furthermore, elliptic curve digital signature algorithms refer to a digital signature method based on public-key cryptography. It utilizes the discrete logarithm problem in elliptic curve cryptography to construct signatures, featuring short key lengths, high security, and fast computation speed. It can authenticate various types of data submitted by different roles, preventing unauthorized entities from tampering with the data. Once the migration request data is signed and verified, it is stored on the blockchain, ensuring that the request data is traceable and tamper-proof throughout the entire process, preventing arbitrary changes to the request information during the solution adjustment process.
[0054] Specifically, after receiving the relocation request data uploaded by the party making the relocation request, the computer equipment can first use the elliptic curve digital signature algorithm to sign the relocation request data to generate a signature that uniquely corresponds to the relocation request data. Subsequently, the computer equipment can use the public key associated with the relocation request data to verify the legitimacy of the signature. If the verification result shows that the source of the relocation request data is genuine and the data content has not been tampered with, the relocation request data is written into the blockchain, so that the relocation request data is recorded in the distributed storage and tamper-proof manner of the blockchain.
[0055] Understandably, this application can authenticate and protect the integrity of relocation request data through the elliptic curve digital signature algorithm, while blockchain can provide an immutable and traceable storage environment for the relocation request data. Therefore, by combining the elliptic curve digital signature algorithm and blockchain, the entire process of relocation request data, from generation and storage to use, possesses verifiable, traceable, and immutable security, thereby significantly improving the reliability of relocation project cost estimates.
[0056] S120: Generate at least one migration plan based on the migration requirement data in the blockchain, sign the migration plan using the elliptic curve digital signature algorithm, and write the migration plan into the blockchain after the signature verification is passed.
[0057] In this step, after the relocation requirement data is stored in step S110, the computer device can generate at least one relocation plan based on the relocation requirement data in the blockchain. Then, the relocation plan can be signed using the elliptic curve digital signature algorithm, and after the signature verification is passed, the relocation plan is written into the blockchain to represent the validity of the relocation plan.
[0058] The relocation plan refers to the specific implementation plan for the relocation project. It mainly includes the route planning for facility relocation, the adjustment and replacement plan for existing equipment, and the arrangement of on-site construction. Different relocation plans can correspond to different costs and construction periods, providing diverse options for relocation clients.
[0059] Understandably, the generation of relocation plans is highly flexible. Given the same relocation requirements, and provided that safety regulations, technical standards, and site conditions are met, multiple feasible relocation implementation paths can often be derived, such as different route configurations, different construction methods, or different equipment selection schemes. Therefore, when generating relocation plans, computer equipment can, based on a preset number of schemes, generate locally optimal relocation plans within the scenarios that meet the relocation requirements.
[0060] Specifically, computer equipment can retrieve proven migration request data from the blockchain and automatically generate a migration plan that meets the requirements. Next, the computer equipment can use an elliptic curve digital signature algorithm to sign the generated migration plan, obtaining a signature uniquely corresponding to the plan. Subsequently, the computer equipment can use the public key associated with the migration plan to verify the signature's legitimacy. If the verification result indicates that the migration plan's source is reliable and its data content is complete, the migration plan is written into the blockchain, thus representing its validity and legal status.
[0061] S130: Automatically calculate the cost of the relocation plan in the blockchain to obtain the project cost, use the elliptic curve digital signature algorithm to sign the project cost, and write the project cost into the blockchain after the signature verification is successful.
[0062] In this embodiment, after the relocation plan is notarized in step S120, the computer equipment can automatically calculate the project cost based on the relocation plan in the blockchain, obtain the project cost, sign the project cost using the elliptic curve digital signature algorithm, and write the project cost into the blockchain after the signature verification is passed, providing a reliable basis for subsequent auditing, settlement and accountability.
[0063] Specifically, computer equipment can retrieve the proven relocation plan from the blockchain and, based on the engineering quantity information, material parameters, construction methods, and corresponding quota rules contained in the relocation plan, automatically execute cost calculation logic to generate the engineering cost corresponding to the relocation plan. After the engineering cost is generated, the computer equipment can use the elliptic curve digital signature algorithm to sign the engineering cost, thereby obtaining a signature that uniquely corresponds to the engineering cost. Subsequently, the computer equipment can use the public key associated with the engineering cost to verify the legitimacy of the signature. If the verification result shows that the source of the relocation plan is reliable and the data content has not been tampered with, the engineering cost is written into the blockchain, realizing the immutable storage of the engineering cost result and full-process traceability.
[0064] S141: Obtain feedback from the relocation requester regarding the engineering cost in the blockchain.
[0065] S142: If the feedback result is negative, return to execute the process of generating at least one relocation plan and its subsequent steps based on the relocation demand data in the blockchain until the feedback result is positive, and end the automatic cost estimation process of the relocation project.
[0066] In this step, after the project cost is notarized in step S130, the computer equipment can receive feedback from the relocation request party regarding the project cost in the blockchain in real time. If the feedback result is negative, the computer equipment can further adjust the generated relocation plan based on the adjustment direction in the feedback result by re-acquiring the relocation request data in the blockchain, thereby generating a new relocation plan and project cost, until the feedback result from the relocation request party is positive, thus obtaining the final relocation plan and project cost, and ending the automatic cost estimation process for the relocation project.
[0067] Specifically, when feedback indicates that the project cost has not passed the relocation request party's review, the computer equipment can further analyze the adjustment direction carried in the feedback result and, based on this adjustment direction, retrieve the relocation request data already stored in the blockchain. While maintaining the immutability of the original relocation request data, the generated relocation plan is adjusted accordingly to generate a new relocation plan. On this basis, automatic cost calculation is re-executed to obtain the project cost corresponding to the new relocation plan. This application can automatically iterate and update the relocation plan based on the feedback result. That is, whenever the relocation request party's feedback result for the newly generated project cost is "not approved," the computer equipment can iteratively update the relocation plan and project cost according to the current feedback result until the relocation request party's feedback result is "approved." At this point, the corresponding relocation plan and project cost can be confirmed as the final result, and the automatic cost calculation process for the relocation project ends. This allows for rapid adjustment of the plan without compromising the credibility of the original data in the blockchain, and ensures that every plan adjustment and cost change has a traceable record.
[0068] Furthermore, after the relocation plan is determined, the computer equipment can also generate feasible reports for the relocation plan, including a feasibility analysis report, an implementation quantity calculation report, and a cost traceability audit report. The feasibility analysis report can be used to display the compliance analysis results of each relocation plan with the relocation constraints; the implementation quantity calculation report can be used to list in detail the bill of quantities for each item in the final confirmed relocation plan and the corresponding quota basis; the cost traceability audit report can be used to fully display the entire iterative process from relocation requirements to the final project cost, the corresponding plan and cost for each iteration, and the signatories and evidence block heights for each stage, in a timeline or process node format. Each report generated here is accompanied by signature information and hash value watermarks corresponding to its data source, supporting one-click verification.
[0069] In addition, computer equipment can obtain the current latitude and longitude data of distribution network equipment stored in the blockchain, power grid topology information, line migration paths in the relocation plan, and equipment adjustment methods to generate a three-dimensional dynamic map. This map uses a geographic information system as its base map, overlaying and displaying power grid nodes, connecting edges, relocation paths, and the cost information, signature status, and blockchain storage entry points associated with each node and path. Users can interactively drill down from nodes or paths in the map to view the corresponding detailed relocation plans, cost reports, and original storage records; the system automatically refreshes the map and retains historical versions with each relocation plan iteration.
[0070] Furthermore, this application can also introduce a grid-graph linkage engine to achieve forward synchronization and reverse verification. Forward synchronization means that when equipment is added or removed or the topology is adjusted in the actual power grid, the corresponding nodes or edges in the three-dimensional dynamic graph are automatically updated. Reverse verification means that when planning a new relocation path, the linkage engine is automatically invoked to verify whether the connectivity, short-circuit current and voltage drop parameters of the planned path meet the safe operation requirements based on the current power grid topology data, thereby realizing bidirectional graph-model driving and closed-loop verification.
[0071] In the above embodiments, after receiving relocation request data submitted by the relocation request party for the relocation project, at least one relocation plan can be generated based on the relocation request data, and the project cost of the relocation plan can be automatically calculated, thereby shortening the time required for project cost calculation. At each stage of the automatic cost calculation for the relocation project, this application can perform elliptic curve digital signatures on the acquired data, such as relocation request data, relocation plans, and project costs, and write the corresponding data into the blockchain after the signature verification is successful, forming an unforgeable, tamper-proof, and traceable evidence record. Furthermore, if the relocation request party's feedback on the project cost of the relocation plan is unsatisfactory, the process can automatically backtrack to the plan generation step, regenerate the plan based on the relocation request data in the blockchain, until a project cost that meets the requirements is generated. Through automated iteration, this application can significantly shorten the plan adjustment cycle.
[0072] In one embodiment, step S110, which involves signing the relocation request data using an elliptic curve digital signature algorithm and writing the relocation request data into the blockchain after the signature verification is successful, may include:
[0073] S111: Obtain the first private key of the party requesting the relocation.
[0074] S112: Perform a hash operation on the migration request data, and use the first private key to perform an elliptic curve digital signature on the hash result to obtain the request signature data.
[0075] S113: Write the relocation request data and request signature data into the blockchain, and then store the evidence after verifying the signature using the public key.
[0076] In this embodiment, when signing and storing relocation request data, the computer device can first obtain the first private key of the relocation request party, then perform a hash operation on the relocation request data, and use the first private key to perform an elliptic curve digital signature on the hash result to obtain the request signature data. Then, the relocation request data and the request signature data can be written into the blockchain, and the signature verification can be completed through the public key before storage.
[0077] Hash calculation refers to the calculation method that converts input data of arbitrary length into output data of fixed length through a hash function. Different input data will produce different hash results, and the process is irreversible. Therefore, it can be used to quickly verify whether the data has been tampered with. As long as the input data is changed even slightly, the generated hash results will show obvious differences.
[0078] Specifically, the computer device first obtains a unique private key corresponding to the relocation requester. Then, it performs a hash operation on the received relocation request data to map it into a fixed-length hash result. Subsequently, the computer device uses the first private key to perform an elliptic curve digital signature operation on this hash result, thereby generating a request signature data corresponding to the relocation request data. After signature generation, the computer device writes the relocation request data and the corresponding request signature data together into the blockchain. During the on-chain process, it verifies the request signature data based on the public key matching the first private key. This ensures that the relocation request data is stored and confirmed as valid, provided the verification result shows the signature is legal and the data content has not changed, thus guaranteeing the long-term reliability of the relocation request data during the project cost process.
[0079] In one embodiment, the process of generating at least one relocation plan based on relocation demand data in the blockchain in step S120 may include:
[0080] S121: Perform data parsing on the relocation requirement data in the blockchain to obtain the spatial location data and relocation constraints of the distribution network equipment to be relocated, as well as the current latitude and longitude data and power grid topology information of the distribution network equipment.
[0081] S122: Based on spatial location data, relocation constraints, latitude and longitude data, and power grid topology information, generate at least one relocation scheme; the relocation scheme shall at least include the line relocation path, equipment adjustment method, and construction implementation method.
[0082] In this embodiment, when generating a relocation plan, the computer device can first parse the relocation requirement data in the blockchain to obtain the spatial location data of the distribution network equipment to be relocated and the relocation constraints, as well as the current latitude and longitude data and power grid topology information of the distribution network equipment. Then, at least one relocation plan can be generated from these data. These relocation plans include at least the line migration path, equipment adjustment method and construction implementation method.
[0083] Spatial location data refers to the target location information where the distribution network equipment needs to be moved after the relocation project is implemented. Relocation constraints include various conditions that restrict the relocation construction, such as construction site limitations, construction time windows, environmental protection requirements, and safety regulations. In addition, the latitude and longitude data of the distribution network equipment is the precise geographical coordinates of each piece of equipment to be relocated, and the power grid topology information is the network structure information such as the connection relationships between distribution network equipment and the power transmission paths in the current relocation area.
[0084] It is understandable that spatial location data can determine the spatial location where distribution network equipment needs to be relocated in the actual geographical space, and relocation constraints can include engineering specification requirements, construction restrictions, equipment safety distances, and power grid operation constraints. Therefore, by using spatial location data and relocation constraints, this application can ensure that the generated relocation plan is feasible, safe, and compliant with regulations. Furthermore, latitude and longitude data can accurately locate the specific position of each distribution network device in the geographic coordinate system, while power grid topology information describes the connection relationships, node structure, and power flow between devices in the distribution network. Therefore, by using latitude and longitude data and power grid topology information, this application can ensure that the generated relocation plan is geographically feasible while meeting the requirements of power grid operation logic and stability.
[0085] Specifically, computer equipment can fuse and analyze this spatiotemporal and logical data, and automatically generate at least one feasible relocation plan through built-in path planning algorithms and engineering rule bases. This relocation plan can plan the new route and laying path in detail, clarify whether each piece of equipment should be replaced in situ or relocated, and determine the specific construction implementation method.
[0086] For example, computer equipment can generate at least three differentiated relocation plans at once using a built-in multi-constraint optimization algorithm. These plans, while meeting all spatial constraints and power grid safety regulations, each have their own emphasis on line relocation paths, equipment adjustment methods, and construction implementation methods. For instance, some plans prioritize construction costs, some prioritize shortening the construction period, and some minimize changes to the existing power grid topology. By providing multiple feasible implementation plans, this application provides a rich data foundation for subsequent cost comparisons and plan selection.
[0087] In one embodiment, step S120, which involves signing the migration plan using an elliptic curve digital signature algorithm and writing the migration plan into the blockchain after successful signature verification, may include:
[0088] S123: Obtain the second private key of the person in charge of the relocation.
[0089] S124: Perform a hash operation on the migration scheme and use the second private key to perform an elliptic curve digital signature on the hash result to obtain the scheme signature data.
[0090] S125: Write the relocation plan and its signature data into the blockchain, and then store the evidence after verifying the signature using a public key.
[0091] In this embodiment, when signing and storing the relocation plan, the computer device can first obtain the second private key of the person in charge of the relocation, then perform a hash operation on the relocation plan, and use the second private key to perform an elliptic curve digital signature on the hash result to obtain the relocation signature data. Then, the relocation plan and the relocation signature data can be written into the blockchain, and the signature verification can be completed through the public key before storage.
[0092] Specifically, the computer device first obtains a second private key uniquely corresponding to the person in charge of the relocation, then performs a hash operation on the received relocation plan to map the relocation plan into a fixed-length hash result. Subsequently, the computer device can use the second private key to perform an elliptic curve digital signature operation on the hash result, thereby generating relocation signature data corresponding to the relocation plan. After the signature is generated, the computer device can write the relocation plan and the corresponding relocation signature data together into the blockchain. During the on-chain process, the relocation signature data is verified based on the public key matching the second private key. Thus, if the verification result shows that the signature is valid and the data content has not changed, the relocation plan can be confirmed and stored, ensuring the traceability of the relocation plan in the project cost process.
[0093] In one embodiment, step S130, which involves signing the project cost using an elliptic curve digital signature algorithm and writing the project cost into the blockchain after successful signature verification, may include:
[0094] S131: Obtain the third private key of the person in charge of cost estimation.
[0095] S132: Perform a hash operation on the project cost and use a third private key to perform an elliptic curve digital signature on the hash result to obtain the cost signature data.
[0096] S133: Write the project cost and cost signature data into the blockchain, and then store the evidence after verifying the signature using a public key.
[0097] In this embodiment, when signing and storing the project cost, the computer device can first obtain the third private key of the person in charge of the cost, then perform a hash operation on the project cost, and use the third private key to perform an elliptic curve digital signature on the hash result to obtain the cost signature data. Then, the project cost and the cost signature data can be written into the blockchain, and the signature verification can be completed through the public key before storage.
[0098] Specifically, the computer device first obtains a third private key uniquely corresponding to the person in charge of cost estimation. Then, it performs a hash operation on the received project cost to map the cost to a fixed-length hash result. Subsequently, the computer device uses the third private key to perform an elliptic curve digital signature operation on this hash result, thereby generating cost signature data corresponding to the project cost. After signature generation, the computer device writes the project cost and the corresponding cost signature data together into the blockchain, forming a cost evidence quadruple, including the plaintext project cost, the hash value obtained by hashing the plaintext, the cost signature data generated using the third private key of the person in charge of cost estimation, and the public key corresponding to the third private key. During the on-chain process, the cost signature data is verified based on the public key matching the third private key. This ensures that the relocation plan is confirmed and verified as valid, provided the verification result shows the signature is valid and the data content has not changed, thus guaranteeing the immutability of the relocation plan during the project cost estimation process.
[0099] For example, when a cost audit is required later, the auditor only needs to retrieve the four-tuple from the blockchain, verify the signature using the public key, and recalculate the hash value of the plaintext cost estimate and compare it with the stored hash value. If both match, it proves that the cost estimate result was indeed issued by the designated cost estimator and has not been tampered with, thus achieving efficient automated verification and tamper auditing.
[0100] In one embodiment, the method may further include:
[0101] S150: When a request to obtain target data in the blockchain is received, extract the signature data corresponding to the target data; wherein, the target data includes relocation requirement data, relocation plan or project cost, and the signature data includes requirement signature data, plan signature data or cost signature data.
[0102] S160: Verify the signature data using the public key corresponding to the target data, obtain the verification result, and determine whether the verification result is successful.
[0103] S170: If so, output the corresponding target data in the blockchain to the requesting party that made the request.
[0104] S180: If not, terminate the data retrieval operation requested.
[0105] In this embodiment, upon receiving a request, the computer device can extract the signature data corresponding to the target data in the request from the blockchain, and then verify the signature data using the public key corresponding to the target data. If the verification result is successful, the computer device can directly output the corresponding target data from the blockchain to the requester; otherwise, if the verification result is unsuccessful, the computer device will terminate the data acquisition operation of the request.
[0106] The target data may include relocation requirement data, relocation plan or project cost, while the signature data may include requirement signature data, plan signature data or cost signature data.
[0107] Specifically, if the verification result passes, it means that the signature data is valid and the target data has not been tampered with. At this time, the computer device can directly return the target data corresponding to the acquisition request from the blockchain for the requester to use. Conversely, if the verification result fails, it means that the signature data is invalid or the target data has been tampered with. At this time, the computer device needs to immediately terminate the subsequent processing of the acquisition request and not return the target data to the requester, thereby preventing illegal or unreliable data from being used.
[0108] Furthermore, to achieve clear data access control with defined rights and responsibilities, this application further constructs a role-based dynamic access control system. Independent elliptic curve key pairs are configured for the relocation requester, the relocation manager, and the cost manager, achieving three roles, three keys, three levels of signatures, and isolation of rights and responsibilities. When a request to obtain target data in the blockchain is received, in addition to verifying the legality of the signature, the computer device can further identify the requester's role. If the verification result is successful, data content within the corresponding permission scope is output according to the preset, data-de-identification rules embedded in the blockchain and the requester's role; for example, the relocation requester is output with the full engineering cost details and a scheme summary; the construction implementer is output with only the line relocation path, equipment adjustment method, and corresponding bill of quantities; and the auditor is output with the full data including complete signature information, hash value, and complete traceability chain. Simultaneously, each data distribution record is recorded on the blockchain, forming a traceable distribution log, thereby satisfying the informed and usage needs of multiple parties while ensuring data security and privacy.
[0109] In one embodiment, the method may further include:
[0110] S190: If the signature verification of the relocation requirement data, relocation plan, or project cost fails, the blockchain notarization process for the corresponding data will be terminated, and the manual review process will begin.
[0111] In this embodiment, during the process of blockchain-based evidence storage of relocation demand data, relocation plans, or project costs, if the signature verification fails, the computer device can terminate the corresponding data upload process and stop executing the blockchain evidence storage operation. At the same time, the data can be marked as abnormal, and a manual review process can be triggered based on the abnormal data. The person in charge with the corresponding authority will check and adjust the source, content, and signature of the data to ensure that the data is successfully stored in the blockchain, thereby further improving the data reliability of the relocation project cost process.
[0112] Furthermore, if signature verification fails at any level, the computer device can immediately execute a circuit breaker operation, including terminating the current data's on-chain process, freezing the blocks to be generated associated with that data, and isolating the data from the normal processing queue to a separate anomaly handling area. Simultaneously, the computer device can automatically identify the corresponding responsible role based on the data type of the failed signature verification, such as migration request data, migration plan, or project cost, including the migration requester, migration manager, or cost manager. It then sends a targeted review notification containing the reason for the failure and an anomaly data identifier to the responsible person's terminal device. This accurately pinpoints the responsible link, guiding the responsible person to quickly intervene in verification and correction, thereby further improving the system's fault tolerance and problem location efficiency.
[0113] The relocation project cost verification device provided in the embodiments of this application is described below. The relocation project cost verification device described below and the relocation project cost verification method described above can be referred to in correspondence.
[0114] In one embodiment, such as Figure 2 As shown, Figure 2 This application provides a structural schematic diagram of a relocation project cost verification device according to an embodiment of the present application; the present application also provides a relocation project cost verification device, including a requirement acquisition module 210, a scheme generation module 220, a project cost module 230, and a scheme rollback module 240, specifically including the following:
[0115] The demand acquisition module 210 is used to acquire the relocation demand data submitted by the relocation demand party for the relocation project, sign the relocation demand data using the elliptic curve digital signature algorithm, and write the relocation demand data into the blockchain after the signature verification is passed.
[0116] To elaborate, when the relocation request party uploads the relocation request data of the relocation project to the system, the request acquisition module 210 can use the elliptic curve digital signature algorithm to sign the relocation request data, and write the relocation request data into the blockchain after the signature verification is passed, so as to prevent the relocation request data from being tampered with during the project cost process.
[0117] The scheme generation module 220 is used to generate at least one migration scheme based on the migration requirement data in the blockchain, sign the migration scheme using the elliptic curve digital signature algorithm, and write the migration scheme into the blockchain after the signature verification is passed.
[0118] In detail, after the demand acquisition module 210 stores the relocation demand data, the solution generation module 220 can generate at least one relocation solution based on the relocation demand data in the blockchain. Then, the relocation solution can be signed using the elliptic curve digital signature algorithm, and after the signature verification is passed, the relocation solution is written into the blockchain to represent the validity of the relocation solution.
[0119] The project cost module 230 is used to automatically calculate the cost of the relocation plan in the blockchain, obtain the project cost, sign the project cost using the elliptic curve digital signature algorithm, and write the project cost into the blockchain after the signature verification is passed.
[0120] In detail, after the scheme generation module 220 stores the relocation scheme, the project cost module 230 can automatically calculate the project cost based on the relocation scheme in the blockchain, obtain the project cost, sign the project cost using the elliptic curve digital signature algorithm, and write the project cost into the blockchain after the signature verification is passed, providing a reliable basis for subsequent auditing, settlement and accountability.
[0121] The scheme rollback module 240 is used to obtain the feedback result of the relocation request party on the project cost in the blockchain. If the feedback result is not approved, it returns to execute the generation of at least one relocation scheme and its subsequent steps based on the relocation request data in the blockchain until the feedback result is approved, thus ending the automatic cost estimation process of the relocation project.
[0122] In detail, after the project cost module 230 stores the project cost, the scheme rollback module 240 can receive feedback from the relocation requester regarding the project cost in the blockchain in real time. If the feedback result is negative, the scheme rollback module 240 can further adjust the generated relocation scheme based on the adjustment direction in the feedback result, re-acquire the relocation request data in the blockchain, and thus generate a new relocation scheme and project cost, until the feedback result from the relocation requester is positive, obtaining the final relocation scheme and project cost, and simultaneously ending the automatic cost estimation process for the relocation project.
[0123] In the above embodiments, after receiving relocation request data submitted by the relocation request party for the relocation project, at least one relocation plan can be generated based on the relocation request data, and the project cost of the relocation plan can be automatically calculated, thereby shortening the time required for project cost calculation. At each stage of the automatic cost calculation for the relocation project, this application can perform elliptic curve digital signatures on the acquired data, such as relocation request data, relocation plans, and project costs, and write the corresponding data into the blockchain after the signature verification is successful, forming an unforgeable, tamper-proof, and traceable evidence record. Furthermore, if the relocation request party's feedback on the project cost of the relocation plan is unsatisfactory, the process can automatically backtrack to the plan generation step, regenerate the plan based on the relocation request data in the blockchain, until a project cost that meets the requirements is generated. Through automated iteration, this application can significantly shorten the plan adjustment cycle.
[0124] In one embodiment, the demand acquisition module 210 may include:
[0125] The first private key acquisition submodule is used to obtain the first private key of the party requesting the migration.
[0126] The first data signature submodule is used to perform hash operations on the migration requirement data and use the first private key to perform elliptic curve digital signature on the hash result to obtain the required signature data.
[0127] The first data storage submodule is used to write migration request data and request signature data into the blockchain, and then store the data after verifying the signature using a public key.
[0128] In this embodiment, the demand acquisition module 210 may include a first private key acquisition submodule, a first data signing submodule, and a first data storage submodule. When the demand acquisition module 210 signs and stores the migration demand data, the first private key acquisition submodule can first acquire the first private key of the migration demand party. Then, the first data signing submodule can perform a hash operation on the migration demand data and use the first private key to perform an elliptic curve digital signature on the hash result to obtain the demand signature data. Finally, the first data storage submodule can write the migration demand data and the demand signature data into the blockchain and perform signature verification through the public key before storing the data.
[0129] In one embodiment, the solution generation module 220 may include:
[0130] The data parsing submodule is used to parse the relocation requirement data in the blockchain to obtain the spatial location data of the distribution network equipment to be relocated and the relocation constraints, as well as to obtain the current latitude and longitude data and power grid topology information of the distribution network equipment.
[0131] The scheme generation submodule is used to generate at least one relocation scheme based on spatial location data, relocation constraints, latitude and longitude data, and power grid topology information; the relocation scheme includes at least the line relocation path, equipment adjustment method, and construction implementation method.
[0132] In this embodiment, the scheme generation module 220 may include a data parsing submodule and a scheme generation submodule. When generating a relocation scheme, the data parsing submodule can first parse the relocation requirement data in the blockchain to obtain the spatial location data of the distribution network equipment to be relocated and the relocation constraints, as well as the current latitude and longitude data and power grid topology information of the distribution network equipment. This allows the scheme generation submodule to generate at least one relocation scheme based on this data. These relocation schemes include at least the line relocation path, equipment adjustment method, and construction implementation method.
[0133] In one embodiment, the solution generation module 220 may further include:
[0134] The second private key acquisition submodule is used to obtain the second private key of the person in charge of the migration.
[0135] The second data signature submodule is used to perform hash operations on the migration scheme and use the second private key to perform elliptic curve digital signature on the hash result to obtain the scheme signature data.
[0136] The second data storage submodule is used to write the relocation plan and the plan signature data into the blockchain, and then store the data after verifying the signature using a public key.
[0137] In this embodiment, the scheme generation module 220 may further include a second private key acquisition submodule, a second data signature submodule, and a second data storage submodule. When the scheme generation module 220 signs and stores the migration scheme, the computer device of the second private key acquisition submodule can first obtain the second private key of the person in charge of the migration, then the second data signature submodule can perform a hash operation on the migration scheme, and use the second private key to perform an elliptic curve digital signature on the hash result to obtain the migration signature data, and finally the second data storage submodule can write the migration scheme and migration signature data into the blockchain, and perform signature verification through the public key before storage.
[0138] In one embodiment, the project cost module 230 may include:
[0139] The third private key acquisition submodule is used to obtain the third private key of the person in charge of cost estimation.
[0140] The third data signature submodule is used to perform hash calculations on the project cost and use the third private key to perform elliptic curve digital signatures on the hash result to obtain the cost signature data.
[0141] The third data storage submodule is used to write the project cost and cost signature data into the blockchain, and then store the data after verifying the signature using a public key.
[0142] In this embodiment, the third private key acquisition submodule, the third data signature submodule, and the third data storage submodule are connected sequentially to form the engineering cost module 230. When the engineering cost module 230 signs and stores the engineering cost, the third private key acquisition submodule can first obtain the third private key of the person in charge of cost estimation. Then, the third data signature submodule performs a hash operation on the engineering cost and uses the third private key to perform an elliptic curve digital signature on the hash result to obtain the cost signature data. Finally, the third data storage submodule can write the engineering cost and the cost signature data into the blockchain and perform signature verification through the public key before storing the data.
[0143] In one embodiment, the apparatus may further include:
[0144] The data request module is used to extract the signature data corresponding to the target data when it receives a request to obtain target data in the blockchain. The target data includes relocation requirement data, relocation plan or project cost, and the signature data includes requirement signature data, plan signature data or cost signature data.
[0145] The signature verification module is used to verify the signature data using the public key corresponding to the target data, obtain the verification result, and determine whether the verification result is successful.
[0146] The data return module is used to output the corresponding target data in the blockchain to the requester when the verification result is successful.
[0147] The request termination module is used to terminate the data retrieval operation when the verification result fails.
[0148] In this embodiment, the relocation project cost verification device may further include a data request module, a signature verification module, a data return module, and a request termination module. When the relocation project cost verification device receives a request, the data request module can extract the signature data corresponding to the target data in the request from the blockchain. Then, the signature verification module can verify the signature data using the public key corresponding to the target data. If the verification result is successful, the data return module can directly output the corresponding target data from the blockchain to the requester; otherwise, if the verification result is unsuccessful, the request termination module will terminate the data acquisition operation for that request.
[0149] In one embodiment, the apparatus may further include:
[0150] The manual review module is used to terminate the blockchain storage process for the corresponding data and initiate the manual review process if the signature verification of the relocation requirement data, relocation plan, or project cost fails.
[0151] In this embodiment, the relocation project cost verification device may further include a manual review module. During the blockchain storage of relocation demand data, relocation plans, or project costs, if the signature verification fails, the manual review module can terminate the corresponding data's on-chain process, ceasing further blockchain storage operations. Simultaneously, the data can be marked as abnormal, and a manual review process can be triggered based on this abnormal data. A person with the appropriate authority will then verify and adjust the data's source, content, and signature to ensure successful storage in the blockchain, thereby further improving the data reliability of the relocation project cost process.
[0152] In one embodiment, this application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps:
[0153] Obtain the relocation request data submitted by the relocation request party for the relocation project, sign the relocation request data using the elliptic curve digital signature algorithm, and write the relocation request data into the blockchain after the signature verification is passed.
[0154] At least one relocation plan is generated based on the relocation demand data in the blockchain. The relocation plan is signed using the elliptic curve digital signature algorithm, and the relocation plan is written into the blockchain after the signature verification is passed.
[0155] The project cost is automatically calculated for the relocation plan in the blockchain. The project cost is then signed using the elliptic curve digital signature algorithm, and the project cost is written into the blockchain after the signature is verified.
[0156] Obtain feedback from the relocation requester regarding the project cost in the blockchain. If the feedback is negative, return to the process of generating at least one relocation plan and its subsequent steps based on the relocation request data in the blockchain until the feedback is positive, thus ending the automatic cost estimation process for the relocation project.
[0157] In one embodiment, the computer-readable instructions, when executed by the processor, further perform the following steps:
[0158] Obtain the first private key from the party requesting the relocation;
[0159] The relocation request data is hashed, and the hash result is digitally signed using the first private key to obtain the request signature data.
[0160] The relocation request data and request signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0161] In one embodiment, the computer-readable instructions, when executed by the processor, further perform the following steps:
[0162] Data parsing is performed on the relocation requirement data in the blockchain to obtain the spatial location data of the distribution network equipment to be relocated and the relocation constraints, as well as the current latitude and longitude data and power grid topology information of the distribution network equipment;
[0163] Based on spatial location data, relocation constraints, latitude and longitude data, and power grid topology information, at least one relocation plan is generated; the relocation plan includes at least the line relocation path, equipment adjustment method, and construction implementation method.
[0164] In one embodiment, the computer-readable instructions, when executed by the processor, further perform the following steps:
[0165] Obtain the second private key of the person in charge of the relocation;
[0166] The relocation scheme is hashed, and the hash result is digitally signed using the second private key to obtain the scheme signature data.
[0167] The relocation plan and its signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0168] In one embodiment, the computer-readable instructions, when executed by the processor, further perform the following steps:
[0169] Obtain the third private key of the person in charge of cost estimation;
[0170] The project cost is hashed, and the hash result is digitally signed using an elliptic curve digital signature with a third private key to obtain the cost signature data.
[0171] The project cost and cost signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0172] In one embodiment, the computer-readable instructions, when executed by the processor, further perform the following steps:
[0173] When a request to retrieve target data in the blockchain is received, the signature data corresponding to the target data is extracted; the target data includes relocation requirement data, relocation plan or project cost, and the signature data includes requirement signature data, plan signature data or cost signature data.
[0174] The signature data is verified using the public key corresponding to the target data to obtain the verification result, and it is determined whether the verification result is successful.
[0175] If so, the corresponding target data in the blockchain will be output to the requesting party that made the request.
[0176] If not, then terminate the data retrieval operation requested.
[0177] In one embodiment, the computer-readable instructions, when executed by the processor, further perform the following steps:
[0178] If the signature verification of the relocation requirement data, relocation plan, or project cost fails, the blockchain notarization process for the corresponding data will be terminated, and the process will proceed to manual review.
[0179] In one embodiment, this application also provides a computer device storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the following steps:
[0180] Obtain the relocation request data submitted by the relocation request party for the relocation project, sign the relocation request data using the elliptic curve digital signature algorithm, and write the relocation request data into the blockchain after the signature verification is passed.
[0181] At least one relocation plan is generated based on the relocation demand data in the blockchain. The relocation plan is signed using the elliptic curve digital signature algorithm, and the relocation plan is written into the blockchain after the signature verification is passed.
[0182] The project cost is automatically calculated for the relocation plan in the blockchain. The project cost is then signed using the elliptic curve digital signature algorithm, and the project cost is written into the blockchain after the signature is verified.
[0183] Obtain feedback from the relocation requester regarding the project cost in the blockchain. If the feedback is negative, return to the process of generating at least one relocation plan and its subsequent steps based on the relocation request data in the blockchain until the feedback is positive, thus ending the automatic cost estimation process for the relocation project.
[0184] In one embodiment, the processor also performs the following steps when executing computer-readable instructions:
[0185] Obtain the first private key from the party requesting the relocation;
[0186] The relocation request data is hashed, and the hash result is digitally signed using the first private key to obtain the request signature data.
[0187] The relocation request data and request signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0188] In one embodiment, the processor also performs the following steps when executing computer-readable instructions:
[0189] Data parsing is performed on the relocation requirement data in the blockchain to obtain the spatial location data of the distribution network equipment to be relocated and the relocation constraints, as well as the current latitude and longitude data and power grid topology information of the distribution network equipment;
[0190] Based on spatial location data, relocation constraints, latitude and longitude data, and power grid topology information, at least one relocation plan is generated; the relocation plan includes at least the line relocation path, equipment adjustment method, and construction implementation method.
[0191] In one embodiment, the processor also performs the following steps when executing computer-readable instructions:
[0192] Obtain the second private key of the person in charge of the relocation;
[0193] The relocation scheme is hashed, and the hash result is digitally signed using the second private key to obtain the scheme signature data.
[0194] The relocation plan and its signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0195] In one embodiment, the processor also performs the following steps when executing computer-readable instructions:
[0196] Obtain the third private key of the person in charge of cost estimation;
[0197] The project cost is hashed, and the hash result is digitally signed using an elliptic curve digital signature with a third private key to obtain the cost signature data.
[0198] The project cost and cost signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
[0199] In one embodiment, the processor also performs the following steps when executing computer-readable instructions:
[0200] When a request to retrieve target data in the blockchain is received, the signature data corresponding to the target data is extracted; the target data includes relocation requirement data, relocation plan or project cost, and the signature data includes requirement signature data, plan signature data or cost signature data.
[0201] The signature data is verified using the public key corresponding to the target data to obtain the verification result, and it is determined whether the verification result is successful.
[0202] If so, the corresponding target data in the blockchain will be output to the requesting party that made the request.
[0203] If not, then terminate the data retrieval operation requested.
[0204] In one embodiment, the processor also performs the following steps when executing computer-readable instructions:
[0205] If the signature verification of the relocation requirement data, relocation plan, or project cost fails, the blockchain notarization process for the corresponding data will be terminated, and the process will proceed to manual review.
[0206] Indicatively, such as Figure 3 As shown, Figure 3 This is a schematic diagram of the internal structure of a computer device 300 provided in an embodiment of this application. The computer device 300 can be provided as a server. (Refer to...) Figure 3 The computer device 300 includes a processing component 302, which further includes one or more processors, and memory resources represented by memory 301 for storing instructions, such as application programs, that can be executed by the processing component 302. The application programs stored in memory 301 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 302 is configured to execute instructions to perform the relocation project cost verification method of any of the above embodiments.
[0207] The computer device 300 may also include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 may operate on an operating system stored in memory 301, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or similar.
[0208] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0209] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0210] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.
[0211] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for verifying the cost of relocation projects, characterized in that, The method includes: Obtain the relocation request data submitted by the relocation request party for the relocation project, sign the relocation request data using the elliptic curve digital signature algorithm, and write the relocation request data into the blockchain after the signature verification is passed. At least one migration plan is generated based on the migration requirement data in the blockchain. The migration plan is signed using an elliptic curve digital signature algorithm, and the migration plan is written into the blockchain after the signature verification is passed. The relocation plan in the blockchain is automatically calculated to obtain the project cost. The project cost is then signed using an elliptic curve digital signature algorithm, and the project cost is written into the blockchain after the signature verification is successful. Obtain feedback from the relocation requester regarding the project cost in the blockchain. If the feedback result is negative, return to the process of generating at least one relocation plan based on the relocation request data in the blockchain and its subsequent steps until the feedback result is positive, thus ending the automatic cost estimation process for the relocation project.
2. The method for verifying the cost of relocation projects according to claim 1, characterized in that, The step of signing the migration request data using an elliptic curve digital signature algorithm and writing the migration request data into the blockchain after successful signature verification includes: Obtain the first private key of the party requesting the relocation; The migration requirement data is hashed, and the hash result is digitally signed using the first private key to obtain the requirement signature data. The relocation request data and the request signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
3. The method for verifying the cost of relocation projects according to claim 1, characterized in that, The generation of at least one relocation scheme based on the relocation demand data in the blockchain includes: Data parsing is performed on the relocation requirement data in the blockchain to obtain the spatial location data of the distribution network equipment to be relocated and the relocation constraints, as well as the current latitude and longitude data and power grid topology information of the distribution network equipment; Based on the spatial location data, the relocation constraints, the latitude and longitude data, and the power grid topology information, at least one relocation scheme is generated; the relocation scheme includes at least the line relocation path, equipment adjustment method, and construction implementation method.
4. The method for verifying the cost of relocation projects according to claim 1, characterized in that, The step of signing the migration scheme using an elliptic curve digital signature algorithm and writing the migration scheme into the blockchain after successful signature verification includes: Obtain the second private key of the person in charge of the relocation; The migration scheme is hashed, and the hash result is digitally signed using the second private key to obtain the scheme signature data. The migration scheme and its signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
5. The method for verifying the cost of relocation projects according to claim 1, characterized in that, The step of using an elliptic curve digital signature algorithm to sign the project cost, and writing the project cost into the blockchain after successful signature verification, includes: Obtain the third private key of the person in charge of cost estimation; The project cost is hashed, and the hash result is digitally signed using the third private key to obtain the cost signature data. The project cost and the cost signature data are written into the blockchain, and the signature is verified using a public key before being stored as evidence.
6. The method for verifying the cost of relocation projects according to claim 1, characterized in that, The method also includes: When a request to obtain target data in the blockchain is received, the signature data corresponding to the target data is extracted; wherein, the target data includes relocation requirement data, relocation plan or project cost, and the signature data includes requirement signature data, plan signature data or cost signature data; The signature data is verified using the public key corresponding to the target data to obtain a verification result, and it is determined whether the verification result is successful. If so, the corresponding target data in the blockchain is output to the requesting party that made the acquisition request; If not, then terminate the data acquisition operation of the acquisition request.
7. The method for verifying the cost of relocation projects according to claim 1, characterized in that, The method also includes: If the signature verification of the relocation requirement data, the relocation plan, or the project cost fails, the blockchain notarization process for the corresponding data will be terminated, and the process will proceed to manual review.
8. A device for verifying the cost of relocation projects, characterized in that, include: The demand acquisition module is used to acquire relocation demand data submitted by the relocation demand party for the relocation project, sign the relocation demand data using the elliptic curve digital signature algorithm, and write the relocation demand data into the blockchain after the signature verification is passed. The scheme generation module is used to generate at least one migration scheme based on the migration requirement data in the blockchain, sign the migration scheme using an elliptic curve digital signature algorithm, and write the migration scheme into the blockchain after the signature verification is passed. The project cost module is used to automatically calculate the cost of the relocation plan in the blockchain, obtain the project cost, sign the project cost using the elliptic curve digital signature algorithm, and write the project cost into the blockchain after the signature verification is successful. The scheme rollback module is used to obtain the feedback result of the relocation request party on the project cost in the blockchain. If the feedback result is not approved, the module returns to execute the generation of at least one relocation scheme based on the relocation request data in the blockchain and its subsequent steps until the feedback result is approved, thus ending the automatic cost estimation process of the relocation project.
9. A storage medium, characterized in that: The storage medium stores computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the relocation project cost verification method as described in any one of claims 1 to 7.
10. A computer device, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the relocation project cost verification method as described in any one of claims 1 to 7.