CN117455312A - Power grid smart supply chain quality detection method and system based on blockchain technology - Google Patents
Power grid smart supply chain quality detection method and system based on blockchain technology Download PDFInfo
- Publication number
- CN117455312A CN117455312A CN202311696226.5A CN202311696226A CN117455312A CN 117455312 A CN117455312 A CN 117455312A CN 202311696226 A CN202311696226 A CN 202311696226A CN 117455312 A CN117455312 A CN 117455312A
- Authority
- CN
- China
- Prior art keywords
- smart contract
- testing
- data
- function
- detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 96
- 238000005516 engineering process Methods 0.000 title claims abstract description 28
- 238000012937 correction Methods 0.000 claims abstract description 43
- 239000000463 material Substances 0.000 claims abstract description 42
- 230000007246 mechanism Effects 0.000 claims abstract description 6
- 238000012360 testing method Methods 0.000 claims description 123
- 230000006870 function Effects 0.000 claims description 78
- 238000007689 inspection Methods 0.000 claims description 31
- 238000000034 method Methods 0.000 claims description 17
- 238000013507 mapping Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 12
- 238000012372 quality testing Methods 0.000 claims description 12
- 238000007477 logistic regression Methods 0.000 claims description 9
- 238000012549 training Methods 0.000 claims description 9
- 238000007726 management method Methods 0.000 claims description 5
- 238000004519 manufacturing process Methods 0.000 claims description 4
- 238000002790 cross-validation Methods 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 238000007637 random forest analysis Methods 0.000 claims description 3
- 238000011084 recovery Methods 0.000 claims description 3
- 230000008713 feedback mechanism Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06395—Quality analysis or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Educational Administration (AREA)
- Marketing (AREA)
- Computer Security & Cryptography (AREA)
- General Health & Medical Sciences (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Quality & Reliability (AREA)
- Primary Health Care (AREA)
- Operations Research (AREA)
- Bioethics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明涉及一种基于区块链技术的电网智慧供应链质量检测方法及系统,基于区块链技术构建供应链质量检测区块链,并构建检测机构的数据接入系统,将实时的物资质量检测数据与区块链进行集成;所述供应链质量检测区块链网络利用智能合约编程语言构建第一智能合约、第二智能合约和第三智能合约;所述第一智能合约用来实现预测模型,第二智能合约用来实现识别模型,第三智能合约用来实现匹配修正模型;主管部门通过用户端供应链质量检测区块链网络,获取检测结果。本发明实现供应链数据的真实性和可信度、自动化质量管理和反馈机制,提高电网供应链的质量和效率。
The invention relates to a power grid smart supply chain quality detection method and system based on blockchain technology. It constructs a supply chain quality detection blockchain based on blockchain technology, and builds a data access system for the detection mechanism to integrate real-time material quality The detection data is integrated with the blockchain; the supply chain quality detection blockchain network uses smart contract programming language to construct the first smart contract, the second smart contract and the third smart contract; the first smart contract is used to achieve prediction model, the second smart contract is used to implement the identification model, and the third smart contract is used to implement the matching correction model; the competent department obtains the detection results through the user-side supply chain quality detection blockchain network. The invention realizes the authenticity and credibility of supply chain data, automated quality management and feedback mechanism, and improves the quality and efficiency of the power grid supply chain.
Description
技术领域Technical field
本发明涉及数据管理领域,尤其涉及一种基于区块链技术的电网智慧供应链质量检测方法。The invention relates to the field of data management, and in particular to a power grid smart supply chain quality detection method based on blockchain technology.
背景技术Background technique
伴随着电力行业物资需求与日俱增,对于物资质量检测的及时性、结果的准确性要求日益迫切。而区块链技术近两年,因其公开透明、不可篡改、可证可溯等特点,备受国内外大型机构、主流公司的高度关注,与业务相结合应用市场增长空间巨大,且不存在技术、贸易壁垒与政策限制。高安全高可信的新技术在检测机构实际业务场景下应用探索,对于建立健全检测机构在社会民众良好的心理认同感和公信力具有实际指导意义。因此,开展安全可信的质检业务应用,将质检过程数据、质检结果、质检报告等信息上链存证,能有效解决部分质检业务环节传统模式下检测报告等信息保真能力不强、互信度不高、投诉纠纷处理难等问题,是十分必要的。As the demand for materials in the power industry increases day by day, the timeliness and accuracy of the results of material quality testing are increasingly urgent. In the past two years, blockchain technology has attracted great attention from large domestic and foreign institutions and mainstream companies because of its characteristics of openness, transparency, non-tampering, and traceability. There is huge room for growth in the application market when combined with business, and there is no Technology, trade barriers and policy restrictions. The application and exploration of new technologies with high security and reliability in the actual business scenarios of testing institutions has practical guiding significance for establishing and improving testing institutions’ good psychological identity and credibility among the public. Therefore, developing safe and credible quality inspection business applications, and uploading quality inspection process data, quality inspection results, quality inspection reports and other information to the chain for certificate storage, can effectively solve the problem of fidelity of information such as inspection reports under the traditional model of some quality inspection business links. Problems such as weak strength, low mutual trust, and difficulty in handling complaints and disputes are very necessary.
发明内容Contents of the invention
为了解决上述问题,本发明的目的在于提供一种基于区块链技术的电网智慧供应链质量检测方法及系统,实现供应链数据的真实性和可信度、自动化质量管理和反馈机制,提高电网供应链的质量和效率。In order to solve the above problems, the purpose of the present invention is to provide a power grid smart supply chain quality detection method and system based on blockchain technology, realize the authenticity and credibility of supply chain data, automated quality management and feedback mechanism, and improve the power grid Supply chain quality and efficiency.
为实现上述目的,本发明采用以下技术方案:In order to achieve the above objects, the present invention adopts the following technical solutions:
一种基于区块链技术的电网智慧供应链质量检测方法,包括以下步骤:A power grid smart supply chain quality inspection method based on blockchain technology, including the following steps:
步骤S1:基于区块链技术构建供应链质量检测区块链,并构建检测机构的数据接入系统,将实时的物资质量检测数据与区块链进行集成;Step S1: Construct a supply chain quality inspection blockchain based on blockchain technology, and build a data access system for the inspection agency to integrate real-time material quality inspection data with the blockchain;
步骤S2:利用智能合约编程语言构建第一智能合约、第二智能合约和第三智能合约;所述第一智能合约用来实现预测模型,所述第一智能合约接受检测项目、检测参数和实际测试值作为输入,调用预测模型进行预测,并将预测结果返回给调用者;所述第二智能合约用来实现识别模型,接受检测单号作为输入,调用识别模型进行识别,获取该批次的预报告;所述第三智能合约用来实现匹配修正模型,接受正式检测结果和预报告作为输入,调用匹配修正模型进行匹配修正;Step S2: Use smart contract programming language to construct the first smart contract, the second smart contract and the third smart contract; the first smart contract is used to implement the prediction model, and the first smart contract accepts detection items, detection parameters and actual The test value is used as input, the prediction model is called for prediction, and the prediction result is returned to the caller; the second smart contract is used to implement the identification model, accepts the detection order number as input, calls the identification model for identification, and obtains the batch Pre-report; the third smart contract is used to implement the matching correction model, accepts formal detection results and pre-reports as input, and calls the matching correction model to perform matching correction;
步骤S3:根据数据接入系统,将实时的物资质量检测数据接入供应链质量检测区块链,并调用第一智能合约,生成预报告;Step S3: According to the data access system, connect the real-time material quality detection data to the supply chain quality detection blockchain, and call the first smart contract to generate a pre-report;
步骤S4:将预报告中检测结果判定为合格的物资品类的检测结果和可领用信息反馈至主管部门,主管部门可凭借预报告提前开展相关的物资入库、领用工作;Step S4: Feed back the test results and availability information of the material categories that are judged to be qualified in the pre-report to the competent department. The competent department can use the pre-report to carry out relevant material warehousing and requisition work in advance;
步骤S5:当检测机构完成正式检测,生成正式检测结果,并将正式检测结果接入区块链,并调用第二智能合约根据检测单号识别该批次的预报告;Step S5: When the testing agency completes the formal testing, it generates formal testing results, connects the formal testing results to the blockchain, and calls the second smart contract to identify the batch of pre-reports based on the testing order number;
步骤S6:调用第三智能合约,根据正式检测结果完善并修正预报告数据,若预报告中判定为合格的物资品类被修正,则将修正数据反馈至主管部门进行修正,并根据正式检测结果完成该批次所有的的物资入库、领用工作。Step S6: Call the third smart contract to complete and correct the pre-report data based on the formal test results. If the material category judged to be qualified in the pre-report is corrected, the corrected data will be fed back to the competent department for correction and completed based on the formal test results. Warehouse and receive all materials of this batch.
进一步的,所述步骤S1具体为:Further, the step S1 is specifically:
定义物资质量检测数据的数据结构,包括物资名称、批次号、生产日期、检测结果、检测时间字段;Define the data structure of material quality testing data, including material name, batch number, production date, testing results, and testing time fields;
定义一个区块链上的智能合约,用于存储和管理物资质量检测数据;Define a smart contract on the blockchain to store and manage material quality inspection data;
检测机构构建数据接入系统,用于将实时的物资质量检测数据上传到区块链网络中,数据接入系统使用数字签名技术对数据进行验证和加密:The testing agency builds a data access system to upload real-time material quality testing data to the blockchain network. The data access system uses digital signature technology to verify and encrypt the data:
首先计算输入数据的哈希值,然后调用 signHash 函数使用发送者的私钥对哈希值进行签名,并将签名结果存储在 signatures映射中;First calculate the hash value of the input data, then call the signHash function to sign the hash value using the sender's private key, and store the signature result in the signatures map;
基于verifySignature函数,接受签名者的地址、数据和签名作为参数,并使用签名者的公钥来验证签名的有效性;Based on the verifySignature function, it accepts the signer's address, data and signature as parameters, and uses the signer's public key to verify the validity of the signature;
然后通过调用signHash函数将一个哈希值作为参数,并使用发送者的私钥对哈希值进行签,签名结果以字节数组的形式返回;调用verifyHash函数接受一个哈希值、签名和签名者的地址作为参数,并使用签名者的公钥来验证签名的有效性;调用ecdsaSign函数对哈希值和签名者进行签名,返回了签名的 r、s 和 v 值;其中r值为签名中的一部分,s值为签名中的另一部分,v值表示签名者的公钥的恢复ID;Then call the signHash function to take a hash value as a parameter and use the sender's private key to sign the hash value. The signature result is returned in the form of a byte array; call the verifyHash function to accept a hash value, signature and signer. The address is used as a parameter, and the signer's public key is used to verify the validity of the signature; the ecdsaSign function is called to sign the hash value and the signer, and the r, s and v values of the signature are returned; where the r value is the One part, the s value is another part of the signature, and the v value represents the recovery ID of the signer's public key;
基于ecdsaVerify函数对哈希值和签名进行验证,返回了签名的有效性;The hash value and signature are verified based on the ecdsaVerify function, and the validity of the signature is returned;
检测机构通过数据接入系统将实时的物资质量检测数据上传到区块链上的智能合约中;The testing agency uploads real-time material quality testing data to the smart contract on the blockchain through the data access system;
智能合约会将每次上传的数据以交易的形式存储到区块链上,并确保数据的不可篡改性和透明性。The smart contract will store each uploaded data on the blockchain in the form of a transaction and ensure the non-tamperability and transparency of the data.
进一步的,所述第一智能合约具体如下:Further, the details of the first smart contract are as follows:
基于Solidity声明了一个名为QualityPredictionContract的智能合约,在合约中,定义了一个结构体TestResult,用于存储检测参数和预测结果,结构体包含两个字段:检测参数parameters和预测结果prediction;A smart contract named QualityPredictionContract is declared based on Solidity. In the contract, a structure TestResult is defined to store detection parameters and prediction results. The structure contains two fields: detection parameters parameters and prediction results;
使用了一个映射testResults,用于存储历史测试数据,映射的键是项目名称,值是TestResult结构体数组,用于存储该项目的历史测试数据;A mapping testResults is used to store historical test data. The key of the map is the project name, and the value is the TestResult structure array, which is used to store the historical test data of the project;
addTestData函数用于向testResults中添加历史测试数据,接受项目名称、检测参数和预测结果作为参数,并将它们存储到对应的项目名称下;The addTestData function is used to add historical test data to testResults, accepts the project name, detection parameters and prediction results as parameters, and stores them under the corresponding project name;
predictQuality函数用于调用预测模型的智能合约进行预测,接受项目名称和检测参数作为参数,并返回预测结果。The predictQuality function is used to call the smart contract of the prediction model to make predictions, accepts the project name and detection parameters as parameters, and returns the prediction results.
进一步的,所述调用预测模型进行预测,具体如下:Further, the prediction model is called for prediction, as follows:
首先定义了一个名为LogisticRegressionModel的智能合约,其中包含了逻辑回归模型,模型参数包括截距intercept、参数1的系数coef1和参数2的系数coef2,预测函数predict接受参数1和参数2作为输入,并返回预测结果true或false,在预测函数中,使用sigmoid函数和指数函数来计算预测结果;First, a smart contract named LogisticRegressionModel is defined, which contains a logistic regression model. The model parameters include intercept, coefficient coef1 of parameter 1, and coefficient coef2 of parameter 2. The prediction function predict accepts parameter 1 and parameter 2 as input, and Returns the prediction result true or false. In the prediction function, the sigmoid function and exponential function are used to calculate the prediction result;
接着,修改了QualityPredictionContract智能合约,添加了一个构造函数用于接收LogisticRegressionModel智能合约的地址,并在构造函数中初始化了logisticRegressionModel;还定义了一个结构体TestResult用于存储检测参数和预测结果,并使用映射testResults来存储历史测试数据;Next, the QualityPredictionContract smart contract was modified, a constructor was added to receive the address of the LogisticRegressionModel smart contract, and the logisticRegressionModel was initialized in the constructor; a structure TestResult was also defined to store detection parameters and prediction results, and use mapping testResults to store historical test data;
在QualityPredictionContract智能合约中,添加了addTestData函数用于添加历史测试数据,并修改了该函数,添加了一个actualValue参数,用于存储实际的测试值,还添加了predictQuality函数,用于调用logisticRegressionModel进行预测,并将预测结果存储到testResults中。In the QualityPredictionContract smart contract, the addTestData function is added to add historical test data, and the function is modified to add an actualValue parameter to store the actual test value. The predictQuality function is also added to call logisticRegressionModel for prediction. And store the prediction results in testResults.
进一步的,所述逻辑回归模型,具体为:Further, the logistic regression model is specifically:
设有 n 个检测参数 x1, x2, ..., xn,以及对应的质量等级标签 y,y=1表示合格,y=0表示不合格;There are n detection parameters x1, x2, ..., xn, and corresponding quality level labels y, y=1 means qualified, y=0 means unqualified;
逻辑回归模型为:The logistic regression model is:
hθ(x) = g(θ^T * x)hθ(x) = g(θ^T * x)
其中,θ 是模型的参数向量,x 是输入特征向量;Among them, θ is the parameter vector of the model, x is the input feature vector;
g(z) 是逻辑函数,其公式为:g(z) is a logistic function whose formula is:
g(z) = 1 / (1 + e^(-z))g(z) = 1 / (1 + e^(-z))
其中z为输入参量;where z is the input parameter;
模型的预测结果为:The prediction results of the model are:
如果 hθ(x) >= 0.5,则预测 y = 1; 如果 hθ(x) < 0.5,则预测 y = 0。If hθ(x) >= 0.5, predict y = 1; if hθ(x) < 0.5, predict y = 0.
进一步的,所述第二智能合约接受检测单号作为输入,调用识别模型进行识别,并根据识别结果调取区块链中对应单号的预报告,具体如下:Further, the second smart contract accepts the detection order number as input, calls the identification model for identification, and retrieves the pre-report of the corresponding order number in the blockchain based on the identification result, as follows:
定义了一个名为 ReportStorage 的合约,其中包含了一个 reports 映射,用来存储检测单号对应的预报告,定义了一个名为 setReport 的函数,用来设置检测单号对应的预报告,同时,还定义了一个名为 getReport 的函数,用来获取检测单号对应的预报告;A contract named ReportStorage is defined, which contains a reports mapping to store the pre-report corresponding to the detection order number. A function named setReport is defined to set the pre-report corresponding to the detection order number. At the same time, it also A function named getReport is defined to obtain the pre-report corresponding to the detection order number;
定义了一个名为 DetectionModel 的合约,其中包含了一个reportStorageAddress 变量,用来存储 ReportStorage 合约的地址,还定义了一个名为detectAndGenerateReport 的函数,用来进行单号识别并返回预报告;A contract named DetectionModel is defined, which contains a reportStorageAddress variable to store the address of the ReportStorage contract. It also defines a function named detectAndGenerateReport to identify single numbers and return pre-reports;
在detectAndGenerateReport 函数中,首先调用单号识别模型进行识别,然后调用 getReportFromStorage 函数来获取对应单号的预报告,根据 reportStorageAddress中存储的 ReportStorage 合约地址来调用 ReportStorage 合约的 getReport 函数,获取对应单号的预报告,最后返回预报告。In the detectAndGenerateReport function, the order number recognition model is first called for identification, and then the getReportFromStorage function is called to obtain the pre-report of the corresponding order number. According to the ReportStorage contract address stored in reportStorageAddress, the getReport function of the ReportStorage contract is called to obtain the pre-report of the corresponding order number. , and finally return the pre-report.
进一步的,所述第三智能合约包含一个名为 MatchingModel 的合约,合约中定义了一个名为 matchedAddresses 的映射,用于存储匹配修正结果,合约包含了一个名为match 的公共函数,用于将特定键和地址进行匹配并存储到映射中;还定义了一个matchedStorage,用于调用匹配修正模型;另外,还有一个名为 getMatchedAddress 的公共视图函数,用于获取特定键对应的匹配修正地址。Further, the third smart contract includes a contract named MatchingModel. The contract defines a mapping named matchedAddresses for storing matching correction results. The contract includes a public function named match for converting specific The key and address are matched and stored in the map; a matchedStorage is also defined, which is used to call the match correction model; in addition, there is a public view function named getMatchedAddress, which is used to obtain the match correction address corresponding to a specific key.
进一步的,所述匹配修正模型,具体如下:Further, the matching correction model is as follows:
获取一批产品的历史相关信息,包括检测项目、检测参数和实际测试值,并进行预处理,构建训练数据集;Obtain historical information about a batch of products, including test items, test parameters and actual test values, and perform preprocessing to build a training data set;
基于随机森林模型构建匹配修正模型,并基于训练数据集训练,在训练过程中,我们将产品的各项检测项目和检测参数作为特征,实际测试值作为标签;A matching correction model is built based on the random forest model and trained based on the training data set. During the training process, we use the product's various detection items and detection parameters as features, and the actual test values as labels;
通过交叉验证对训练好的模型进行优化,得到最终的匹配修正模型。The trained model is optimized through cross-validation to obtain the final matching correction model.
一种基于区块链技术的电网智慧供应链质量检测系统,包括检测机构、数据接入系统、供应链质量检测区块链网络和用户端;所述检测机构通过数据接入系统将实时的物资质量检测数据与区块链进行集成;所述供应链质量检测区块链网络利用智能合约编程语言构建第一智能合约、第二智能合约和第三智能合约;所述第一智能合约用来实现预测模型,所述第一智能合约接受检测项目、检测参数和实际测试值作为输入,调用预测模型进行预测,并将预测结果返回给调用者;所述第二智能合约用来实现识别模型,接受检测单号作为输入,调用识别模型进行识别,获取该批次的预报告;所述第三智能合约用来实现匹配修正模型,接受正式检测结果和预报告作为输入,调用匹配修正模型进行匹配修正;主管部门通过用户端接入供应链质量检测区块链网络,获取检测结果。A power grid smart supply chain quality detection system based on blockchain technology, including a detection mechanism, a data access system, a supply chain quality detection blockchain network and a user terminal; the detection mechanism transmits real-time material information through the data access system Quality inspection data is integrated with the blockchain; the supply chain quality inspection blockchain network uses smart contract programming language to construct the first smart contract, the second smart contract and the third smart contract; the first smart contract is used to implement Prediction model, the first smart contract accepts detection items, detection parameters and actual test values as input, calls the prediction model to make predictions, and returns the prediction results to the caller; the second smart contract is used to implement the identification model, accepting The detection order number is used as input, the identification model is called to identify, and the pre-report of the batch is obtained; the third smart contract is used to implement the matching and correction model, accepts the formal detection results and pre-report as input, and calls the matching and correction model to perform matching and correction. ; The competent authorities access the supply chain quality inspection blockchain network through the user terminal to obtain the inspection results.
进一步的,所述用户端还设有检测费用管理模块,根据检测项目、检测机构、物资品类、检测等级条件维度参数调整设置检测费用基准值,同时关联检测计划及检测项目内容自动计算出检测费用金额,同时针对不合格产品的检测费用,汇总检测情况、检测金额信息,生成检测费用缴纳通知函,发送至供应商提供的电子邮箱,把检测费用缴纳信息推送至供应商待办事项中,并将检测费缴纳通过短信形式发送给供应商联系人,设置对超期未缴纳检测费用的信息提出预警功能,对于未提交检测费用缴费凭证的供应商可定期重复发送通知信息。Furthermore, the user terminal is also equipped with a testing fee management module, which adjusts and sets the testing fee benchmark value according to the testing items, testing institutions, material categories, and testing level conditions. At the same time, the testing fee is automatically calculated by correlating the testing plan and the content of the testing project. At the same time, for the testing fees of unqualified products, summarize the testing status and testing amount information, generate a testing fee payment notification letter, send it to the email address provided by the supplier, push the testing fee payment information to the supplier’s to-do list, and Send the payment of testing fees to the supplier's contact person via text message, and set up an early warning function for information about overdue testing fees. For suppliers who have not submitted payment vouchers for testing fees, notification messages can be sent regularly and repeatedly.
本发明具有如下有益效果:The invention has the following beneficial effects:
1、本发明实现供应链数据的真实性和可信度、自动化质量管理和反馈机制,提高电网供应链的质量和效率;1. This invention realizes the authenticity and credibility of supply chain data, automated quality management and feedback mechanism, and improves the quality and efficiency of the power grid supply chain;
2、本发明将预报告、检测结果等数据存储在区块链上,实现数据安全和不可篡改,通过智能合约可以方便地访问这些数据,进行匹配修正等操作;2. This invention stores data such as pre-reports and detection results on the blockchain to ensure data security and non-tamperability. These data can be easily accessed through smart contracts to perform operations such as matching and correction;
3、本发明将复杂度低的预测模型直接通过智能合约封装,而复杂度高的识别模型和匹配修正模型通过调用使用,智能合约中的代码越复杂,执行所需的燃料成本就越高,将复杂度低的预测模型直接封装在智能合约中,可以降低智能合约的复杂度,减少执行成本,提高智能合约的执行效率,将复杂度高的识别模型和匹配修正模型作为可调用的外部服务,可以实现智能合约和外部模型的解耦,实现灵活地更新和替换识别模型和匹配修正模型,而不需要修改智能合约的代码,提高了可扩展性和灵活性。3. The present invention encapsulates low-complexity prediction models directly through smart contracts, while high-complexity identification models and matching correction models are used through calls. The more complex the code in the smart contract, the higher the fuel cost required for execution. Encapsulating low-complexity prediction models directly in smart contracts can reduce the complexity of smart contracts, reduce execution costs, and improve the execution efficiency of smart contracts. High-complexity identification models and matching correction models can be used as callable external services. , can realize the decoupling of smart contracts and external models, and flexibly update and replace the identification model and matching correction model without modifying the code of the smart contract, which improves scalability and flexibility.
附图说明Description of the drawings
图1为本发明方法流程图;Figure 1 is a flow chart of the method of the present invention;
图2为本发明一实施例中系统架构示意图。Figure 2 is a schematic diagram of the system architecture in an embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图和具体实施例对本发明做进一步详细说明:The present invention will be further described in detail below in conjunction with the accompanying drawings and specific examples:
参考图1,在本实施例中,提供一种基于区块链技术的电网智慧供应链质量检测方法,包括以下步骤:Referring to Figure 1, in this embodiment, a power grid smart supply chain quality detection method based on blockchain technology is provided, including the following steps:
步骤S1:基于区块链技术构建供应链质量检测区块链,并构建检测机构的数据接入系统,将实时的物资质量检测数据与区块链进行集成;Step S1: Construct a supply chain quality inspection blockchain based on blockchain technology, and build a data access system for the inspection agency to integrate real-time material quality inspection data with the blockchain;
步骤S2:利用智能合约编程语言构建第一智能合约、第二智能合约和第三智能合约;所述第一智能合约用来实现预测模型,所述第一智能合约接受检测项目、检测参数和实际测试值作为输入,调用预测模型进行预测,并将预测结果返回给调用者;所述第二智能合约用来实现识别模型,接受检测单号作为输入,调用识别模型进行识别,获取该批次的预报告;所述第三智能合约用来实现匹配修正模型,接受正式检测结果和预报告作为输入,调用匹配修正模型进行匹配修正;Step S2: Use smart contract programming language to construct the first smart contract, the second smart contract and the third smart contract; the first smart contract is used to implement the prediction model, and the first smart contract accepts detection items, detection parameters and actual The test value is used as input, the prediction model is called for prediction, and the prediction result is returned to the caller; the second smart contract is used to implement the identification model, accepts the detection order number as input, calls the identification model for identification, and obtains the batch Pre-report; the third smart contract is used to implement the matching correction model, accepts formal detection results and pre-reports as input, and calls the matching correction model to perform matching correction;
步骤S3:根据数据接入系统,将实时的物资质量检测数据接入供应链质量检测区块链,并调用第一智能合约,生成预报告;Step S3: According to the data access system, connect the real-time material quality detection data to the supply chain quality detection blockchain, and call the first smart contract to generate a pre-report;
步骤S4:将预报告中检测结果判定为合格的物资品类的检测结果和可领用信息反馈至主管部门,主管部门可凭借预报告提前开展相关的物资入库、领用工作;Step S4: Feed back the test results and availability information of the material categories that are judged to be qualified in the pre-report to the competent department. The competent department can use the pre-report to carry out relevant material warehousing and requisition work in advance;
步骤S5:当检测机构完成正式检测,生成正式检测结果,并将正式检测结果接入区块链,并调用第二智能合约根据检测单号识别该批次的预报告;Step S5: When the testing agency completes the formal testing, it generates formal testing results, connects the formal testing results to the blockchain, and calls the second smart contract to identify the batch of pre-reports based on the testing order number;
步骤S6:调用第三智能合约,根据正式检测结果完善并修正预报告数据,若预报告中判定为合格的物资品类被修正,则将修正数据反馈至主管部门进行修正,并根据正式检测结果完成该批次所有的的物资入库、领用工作。Step S6: Call the third smart contract to complete and correct the pre-report data based on the formal test results. If the material category judged to be qualified in the pre-report is corrected, the corrected data will be fed back to the competent department for correction and completed based on the formal test results. Warehouse and receive all materials of this batch.
在本实施例中,步骤S1具体为:In this embodiment, step S1 is specifically:
定义物资质量检测数据的数据结构,包括物资名称、批次号、生产日期、检测结果、检测时间字段;Define the data structure of material quality testing data, including material name, batch number, production date, testing results, and testing time fields;
定义一个区块链上的智能合约,用于存储和管理物资质量检测数据;Define a smart contract on the blockchain to store and manage material quality inspection data;
检测机构构建数据接入系统,用于将实时的物资质量检测数据上传到区块链网络中,数据接入系统使用数字签名技术对数据进行验证和加密:The testing agency builds a data access system to upload real-time material quality testing data to the blockchain network. The data access system uses digital signature technology to verify and encrypt the data:
首先计算输入数据的哈希值,然后调用 signHash 函数使用发送者的私钥对哈希值进行签名,并将签名结果存储在 signatures映射中;First calculate the hash value of the input data, then call the signHash function to sign the hash value using the sender's private key, and store the signature result in the signatures map;
基于verifySignature函数,接受签名者的地址、数据和签名作为参数,并使用签名者的公钥来验证签名的有效性;Based on the verifySignature function, it accepts the signer's address, data and signature as parameters, and uses the signer's public key to verify the validity of the signature;
然后通过调用signHash函数将一个哈希值作为参数,并使用发送者的私钥对哈希值进行签,签名结果以字节数组的形式返回;调用verifyHash函数接受一个哈希值、签名和签名者的地址作为参数,并使用签名者的公钥来验证签名的有效性;调用ecdsaSign函数对哈希值和签名者进行签名,返回了签名的 r、s 和 v 值;其中r值为签名中的一部分,s值为签名中的另一部分,v值表示签名者的公钥的恢复ID;Then call the signHash function to take a hash value as a parameter and use the sender's private key to sign the hash value. The signature result is returned in the form of a byte array; call the verifyHash function to accept a hash value, signature and signer. The address is used as a parameter, and the signer's public key is used to verify the validity of the signature; the ecdsaSign function is called to sign the hash value and the signer, and the r, s and v values of the signature are returned; where the r value is the One part, the s value is another part of the signature, and the v value represents the recovery ID of the signer's public key;
基于ecdsaVerify函数对哈希值和签名进行验证,返回了签名的有效性;The hash value and signature are verified based on the ecdsaVerify function, and the validity of the signature is returned;
检测机构通过数据接入系统将实时的物资质量检测数据上传到区块链上的智能合约中;The testing agency uploads real-time material quality testing data to the smart contract on the blockchain through the data access system;
智能合约会将每次上传的数据以交易的形式存储到区块链上,并确保数据的不可篡改性和透明性。The smart contract will store each uploaded data on the blockchain in the form of a transaction and ensure the non-tamperability and transparency of the data.
进一步的,所述第一智能合约具体如下:Further, the details of the first smart contract are as follows:
基于Solidity声明了一个名为QualityPredictionContract的智能合约,在合约中,定义了一个结构体TestResult,用于存储检测参数和预测结果,结构体包含两个字段:检测参数parameters和预测结果prediction;A smart contract named QualityPredictionContract is declared based on Solidity. In the contract, a structure TestResult is defined to store detection parameters and prediction results. The structure contains two fields: detection parameters parameters and prediction results;
使用了一个映射testResults,用于存储历史测试数据,映射的键是项目名称,值是TestResult结构体数组,用于存储该项目的历史测试数据;A mapping testResults is used to store historical test data. The key of the map is the project name, and the value is the TestResult structure array, which is used to store the historical test data of the project;
addTestData函数用于向testResults中添加历史测试数据,接受项目名称、检测参数和预测结果作为参数,并将它们存储到对应的项目名称下;The addTestData function is used to add historical test data to testResults, accepts the project name, detection parameters and prediction results as parameters, and stores them under the corresponding project name;
predictQuality函数用于调用预测模型的智能合约进行预测,接受项目名称和检测参数作为参数,并返回预测结果。The predictQuality function is used to call the smart contract of the prediction model to make predictions, accepts the project name and detection parameters as parameters, and returns the prediction results.
在本实施例中,调用预测模型进行预测,具体如下:In this embodiment, the prediction model is called for prediction, as follows:
首先定义了一个名为LogisticRegressionModel的智能合约,其中包含了逻辑回归模型,模型参数包括截距intercept、参数1的系数coef1和参数2的系数coef2,预测函数predict接受参数1和参数2作为输入,并返回预测结果true或false,在预测函数中,使用sigmoid函数和指数函数来计算预测结果;First, a smart contract named LogisticRegressionModel is defined, which contains a logistic regression model. The model parameters include intercept, coefficient coef1 of parameter 1, and coefficient coef2 of parameter 2. The prediction function predict accepts parameter 1 and parameter 2 as input, and Returns the prediction result true or false. In the prediction function, the sigmoid function and exponential function are used to calculate the prediction result;
接着,修改了QualityPredictionContract智能合约,添加了一个构造函数用于接收LogisticRegressionModel智能合约的地址,并在构造函数中初始化了logisticRegressionModel;还定义了一个结构体TestResult用于存储检测参数和预测结果,并使用映射testResults来存储历史测试数据;Next, the QualityPredictionContract smart contract was modified, a constructor was added to receive the address of the LogisticRegressionModel smart contract, and the logisticRegressionModel was initialized in the constructor; a structure TestResult was also defined to store detection parameters and prediction results, and use mapping testResults to store historical test data;
在QualityPredictionContract智能合约中,添加了addTestData函数用于添加历史测试数据,并修改了该函数,添加了一个actualValue参数,用于存储实际的测试值,还添加了predictQuality函数,用于调用logisticRegressionModel进行预测,并将预测结果存储到testResults中。In the QualityPredictionContract smart contract, the addTestData function is added to add historical test data, and the function is modified to add an actualValue parameter to store the actual test value. The predictQuality function is also added to call logisticRegressionModel for prediction. And store the prediction results in testResults.
在本实施例中,逻辑回归模型,具体为:In this embodiment, the logistic regression model is specifically:
设有 n 个检测参数 x1, x2, ..., xn,以及对应的质量等级标签 y,y=1表示合格,y=0表示不合格;There are n detection parameters x1, x2, ..., xn, and corresponding quality level labels y, y=1 means qualified, y=0 means unqualified;
逻辑回归模型为:The logistic regression model is:
hθ(x) = g(θ^T * x)hθ(x) = g(θ^T * x)
其中,θ 是模型的参数向量,x 是输入特征向量;Among them, θ is the parameter vector of the model, x is the input feature vector;
g(z) 是逻辑函数,其公式为:g(z) is a logistic function and its formula is:
g(z) = 1 / (1 + e^(-z))g(z) = 1 / (1 + e^(-z))
其中z为输入参量;where z is the input parameter;
模型的预测结果为:The prediction results of the model are:
如果 hθ(x) >= 0.5,则预测 y = 1; 如果 hθ(x) < 0.5,则预测 y = 0。If hθ(x) >= 0.5, predict y = 1; if hθ(x) < 0.5, predict y = 0.
进一步的,所述第二智能合约接受检测单号作为输入,调用识别模型进行识别,并根据识别结果调取区块链中对应单号的预报告,具体如下:Further, the second smart contract accepts the detection order number as input, calls the identification model for identification, and retrieves the pre-report of the corresponding order number in the blockchain based on the identification result, as follows:
定义了一个名为 ReportStorage 的合约,其中包含了一个 reports 映射,用来存储检测单号对应的预报告,定义了一个名为 setReport 的函数,用来设置检测单号对应的预报告,同时,还定义了一个名为 getReport 的函数,用来获取检测单号对应的预报告;A contract named ReportStorage is defined, which contains a reports mapping to store the pre-report corresponding to the detection order number. A function named setReport is defined to set the pre-report corresponding to the detection order number. At the same time, it also A function named getReport is defined to obtain the pre-report corresponding to the inspection order number;
定义了一个名为 DetectionModel 的合约,其中包含了一个reportStorageAddress 变量,用来存储 ReportStorage 合约的地址,还定义了一个名为detectAndGenerateReport 的函数,用来进行单号识别并返回预报告;A contract named DetectionModel is defined, which contains a reportStorageAddress variable to store the address of the ReportStorage contract. It also defines a function named detectAndGenerateReport to identify single numbers and return pre-reports;
在detectAndGenerateReport 函数中,首先调用单号识别模型进行识别,然后调用getReportFromStorage 函数来获取对应单号的预报告,根据 reportStorageAddress中存储的 ReportStorage 合约地址来调用 ReportStorage 合约的 getReport 函数,获取对应单号的预报告,最后返回预报告。In the detectAndGenerateReport function, the order number recognition model is first called for identification, and then the getReportFromStorage function is called to obtain the pre-report of the corresponding order number. According to the ReportStorage contract address stored in reportStorageAddress, the getReport function of the ReportStorage contract is called to obtain the pre-report of the corresponding order number. , and finally return the pre-report.
进一步的,所述第三智能合约包含一个名为 MatchingModel 的合约,合约中定义了一个名为 matchedAddresses 的映射,用于存储匹配修正结果,合约包含了一个名为match 的公共函数,用于将特定键和地址进行匹配并存储到映射中;还定义了一个matchedStorage,用于调用匹配修正模型;另外,还有一个名为 getMatchedAddress 的公共视图函数,用于获取特定键对应的匹配修正地址。Further, the third smart contract includes a contract named MatchingModel. The contract defines a mapping named matchedAddresses for storing matching correction results. The contract includes a public function named match for converting specific The key and address are matched and stored in the map; a matchedStorage is also defined, which is used to call the match correction model; in addition, there is a public view function named getMatchedAddress, which is used to obtain the match correction address corresponding to a specific key.
进一步的,所述匹配修正模型,具体如下:Further, the matching correction model is as follows:
获取一批产品的历史相关信息,包括检测项目、检测参数和实际测试值,并进行预处理,构建训练数据集;Obtain historical information about a batch of products, including test items, test parameters and actual test values, and perform preprocessing to build a training data set;
基于随机森林模型构建匹配修正模型,并基于训练数据集训练,在训练过程中,我们将产品的各项检测项目和检测参数作为特征,实际测试值作为标签;A matching correction model is built based on the random forest model and trained based on the training data set. During the training process, we use the product's various detection items and detection parameters as features, and the actual test values as labels;
通过交叉验证对训练好的模型进行优化,得到最终的匹配修正模型。The trained model is optimized through cross-validation to obtain the final matching correction model.
参考图2,在本实施例中,还提供一种基于区块链技术的电网智慧供应链质量检测系统,包括检测机构、数据接入系统、供应链质量检测区块链网络和用户端;所述检测机构通过数据接入系统将实时的物资质量检测数据与区块链进行集成;所述供应链质量检测区块链网络利用智能合约编程语言构建第一智能合约、第二智能合约和第三智能合约;所述第一智能合约用来实现预测模型,所述第一智能合约接受检测项目、检测参数和实际测试值作为输入,调用预测模型进行预测,并将预测结果返回给调用者;所述第二智能合约用来实现识别模型,接受检测单号作为输入,调用识别模型进行识别,获取该批次的预报告;所述第三智能合约用来实现匹配修正模型,接受正式检测结果和预报告作为输入,调用匹配修正模型进行匹配修正;主管部门通过用户端接入供应链质量检测区块链网络,获取检测结果。Referring to Figure 2, in this embodiment, a power grid smart supply chain quality detection system based on blockchain technology is also provided, including a detection mechanism, a data access system, a supply chain quality detection blockchain network and a user terminal; so The testing agency integrates real-time material quality testing data with the blockchain through the data access system; the supply chain quality testing blockchain network uses smart contract programming language to construct the first smart contract, the second smart contract and the third smart contract. Smart contract; the first smart contract is used to implement the prediction model. The first smart contract accepts detection items, detection parameters and actual test values as input, calls the prediction model to make predictions, and returns the prediction results to the caller; so The second smart contract is used to implement the identification model, accepts the detection order number as input, calls the identification model for identification, and obtains the pre-report of the batch; the third smart contract is used to implement the matching correction model, accepts the formal detection results and The pre-report is used as input, and the matching correction model is called to perform matching correction; the competent department accesses the supply chain quality inspection blockchain network through the user terminal to obtain the test results.
在本实施例中,用户端还设有检测费用管理模块,根据检测项目、检测机构、物资品类、检测等级条件维度参数调整设置检测费用基准值,同时关联检测计划及检测项目内容自动计算出检测费用金额,同时针对不合格产品的检测费用,汇总检测情况、检测金额信息,生成检测费用缴纳通知函,发送至供应商提供的电子邮箱,把检测费用缴纳信息推送至供应商待办事项中,并将检测费缴纳通过短信形式发送给供应商联系人,设置对超期未缴纳检测费用的信息提出预警功能,对于未提交检测费用缴费凭证的供应商可定期重复发送通知信息。In this embodiment, the user terminal is also equipped with a testing fee management module, which adjusts and sets the testing fee benchmark value according to the testing items, testing institutions, material categories, and testing level conditions. At the same time, it automatically calculates the testing fee by correlating the testing plan and testing project content. The amount of the fee, and for the testing fees of unqualified products, summarize the testing status and testing amount information, generate a testing fee payment notification letter, send it to the email address provided by the supplier, and push the testing fee payment information to the supplier's to-do list. The payment of testing fees will be sent to the supplier's contact person via text message, and an early warning function will be set up for information on overdue testing fees. For suppliers who have not submitted payment vouchers for testing fees, notification messages can be sent regularly and repeatedly.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in a process or processes in a flowchart and/or a block or blocks in a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes in the flowchart and/or in a block or blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
以上所述,仅是本发明的较佳实施例而已,并非是对本发明作其它形式的限制,任何熟悉本专业的技术人员可能利用上述揭示的技术内容加以变更或改型为等同变化的等效实施例。但是凡是未脱离本发明技术方案内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与改型,仍属于本发明技术方案的保护范围。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention in other forms. Any skilled person familiar with the art may make changes or modifications to equivalent changes using the technical contents disclosed above. Example. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the protection scope of the technical solution of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311696226.5A CN117455312B (en) | 2023-12-12 | 2023-12-12 | Power grid smart supply chain quality detection method and system based on blockchain technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311696226.5A CN117455312B (en) | 2023-12-12 | 2023-12-12 | Power grid smart supply chain quality detection method and system based on blockchain technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117455312A true CN117455312A (en) | 2024-01-26 |
CN117455312B CN117455312B (en) | 2024-03-08 |
Family
ID=89593184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311696226.5A Active CN117455312B (en) | 2023-12-12 | 2023-12-12 | Power grid smart supply chain quality detection method and system based on blockchain technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117455312B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2639015C1 (en) * | 2017-01-26 | 2017-12-19 | Игорь Сан-Сенович Дю | Authenticity and quality control procedure of production in the process of manufacture and implementation |
KR20190133573A (en) * | 2018-05-23 | 2019-12-03 | 권형석 | Block Chain Trading System with Smart Contract And That way |
CN111861285A (en) * | 2020-08-07 | 2020-10-30 | 浙江华电器材检测研究所有限公司 | A method and system for highly reliable real-time management and control of distribution network material quality data based on blockchain technology |
CN113222360A (en) * | 2021-04-23 | 2021-08-06 | 南京航空航天大学 | Recording method and device for power material quality detection critical weight information |
CN113760916A (en) * | 2021-09-08 | 2021-12-07 | 国网上海市电力公司 | Material quality tracing method and system based on industrial internet identification and block chain |
CN115409409A (en) * | 2022-09-21 | 2022-11-29 | 国网黑龙江省电力有限公司电力科学研究院 | A power technology supervision and management system based on blockchain smart contracts |
CN115619289A (en) * | 2022-11-16 | 2023-01-17 | 国网山西省电力公司信息通信分公司 | Method and device for discriminating quality inspection results of distribution transformers based on blockchain |
CN116594989A (en) * | 2023-04-20 | 2023-08-15 | 南方电网数字平台科技(广东)有限公司 | Power exchange sharing data quality assessment method, medium and system based on blockchain intelligent contract |
CN116993215A (en) * | 2023-08-04 | 2023-11-03 | 贵州财经大学 | Intelligent evaluation and early warning method and system for manufacturing quality of electric power equipment |
CN117172668A (en) * | 2023-09-11 | 2023-12-05 | 国网江苏省电力有限公司 | A warehouse management system |
-
2023
- 2023-12-12 CN CN202311696226.5A patent/CN117455312B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2639015C1 (en) * | 2017-01-26 | 2017-12-19 | Игорь Сан-Сенович Дю | Authenticity and quality control procedure of production in the process of manufacture and implementation |
KR20190133573A (en) * | 2018-05-23 | 2019-12-03 | 권형석 | Block Chain Trading System with Smart Contract And That way |
CN111861285A (en) * | 2020-08-07 | 2020-10-30 | 浙江华电器材检测研究所有限公司 | A method and system for highly reliable real-time management and control of distribution network material quality data based on blockchain technology |
CN113222360A (en) * | 2021-04-23 | 2021-08-06 | 南京航空航天大学 | Recording method and device for power material quality detection critical weight information |
CN113760916A (en) * | 2021-09-08 | 2021-12-07 | 国网上海市电力公司 | Material quality tracing method and system based on industrial internet identification and block chain |
CN115409409A (en) * | 2022-09-21 | 2022-11-29 | 国网黑龙江省电力有限公司电力科学研究院 | A power technology supervision and management system based on blockchain smart contracts |
CN115619289A (en) * | 2022-11-16 | 2023-01-17 | 国网山西省电力公司信息通信分公司 | Method and device for discriminating quality inspection results of distribution transformers based on blockchain |
CN116594989A (en) * | 2023-04-20 | 2023-08-15 | 南方电网数字平台科技(广东)有限公司 | Power exchange sharing data quality assessment method, medium and system based on blockchain intelligent contract |
CN116993215A (en) * | 2023-08-04 | 2023-11-03 | 贵州财经大学 | Intelligent evaluation and early warning method and system for manufacturing quality of electric power equipment |
CN117172668A (en) * | 2023-09-11 | 2023-12-05 | 国网江苏省电力有限公司 | A warehouse management system |
Non-Patent Citations (4)
Title |
---|
冯翠香;: "区块链技术在电力物资供应管理中的应用", 经营与管理, no. 05, 8 May 2020 (2020-05-08) * |
刘宗妹;: ""区块链+射频识别技术"赋能食品溯源平台研究", 食品与机械, no. 09, 31 December 2020 (2020-12-31) * |
王胜寒;郭创新;冯斌;张浩;杜振东;: "区块链技术在电力系统中的应用:前景与思路", 电力系统自动化, no. 11, 31 December 2020 (2020-12-31) * |
陆歌皓;李析禹;谢丽红;杨丹妮;罗健钊;: "区块链技术及其在供应链管理中的应用", 网络安全技术与应用, no. 05, 15 May 2020 (2020-05-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN117455312B (en) | 2024-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Yong et al. | An intelligent blockchain-based system for safe vaccine supply and supervision | |
US20220027992A1 (en) | Non-fungible cryptographic tokens for tracking trees | |
CN111428207B (en) | Digital copyright registration and transaction method based on blockchain technology | |
US12010213B2 (en) | Pruning entries in tamper-evident data stores | |
CN112801658B (en) | Cross-border resource transfer authenticity auditing method and device and electronic equipment | |
WO2020006540A1 (en) | System and method for facilitating legal review for commercial loan transactions | |
WO2020143342A1 (en) | Warehouse receipt authentication method and device based on block chain architecture | |
CN105913219A (en) | Method and system used for monitoring and managing whole actuating process of electronic contract | |
US20210065304A1 (en) | Contract automation with blockchain based interaction and recording | |
Cui et al. | Protecting vaccine safety: An improved, blockchain-based, storage-efficient scheme | |
Demi et al. | Software engineering applications enabled by blockchain technology: a systematic mapping study | |
CN114493335A (en) | System for product quality traceability | |
CN116258309A (en) | Business object life cycle management and tracing method and device based on block chain | |
US20240265446A1 (en) | Computer-implemented system and method for blockchain-enabled documentation of trade transactions | |
CN112200533A (en) | Block chain-based consumption voucher full-life-cycle management method and device | |
CN116071160A (en) | Block chain-based transaction implementation method, device and computer readable medium | |
CN111292097A (en) | Supply chain tracing method, equipment and medium based on block chain | |
CN117455312B (en) | Power grid smart supply chain quality detection method and system based on blockchain technology | |
US20210288823A1 (en) | Secure and accountable execution of robotic process automation | |
Balekundri et al. | Farmsupply: Food supply chain management using blockchain technology | |
CN114048330B (en) | Risk conduction probability knowledge graph generation method, apparatus, device and storage medium | |
Tao et al. | The credibility measurement model of food safety on-chain data based on blockchain | |
CN112257080B (en) | Distributed crowdsourcing system, method, storage medium and terminal based on block chain | |
Peng et al. | A survey of zero-knowledge proof based verifiable machine learning | |
CN115587826A (en) | Textile tracing method and device based on block chain technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |