Blockchain-based multi-region power grid business data early warning method, device, equipment, storage medium and program product

By deploying basic and detailed early warning rules on a blockchain platform and using smart contracts for rule comparison, the problem of inconsistent judgment standards in data management of power grid business systems in different regions has been solved, and unified early warning and standardized management of power grid business data in multiple regions has been achieved.

CN119691063BActive Publication Date: 2025-12-09GUIZHOU POWER GRID CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411736703.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-12-09
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

In the process of data management and early warning, different power grid business systems in different regions have inconsistent judgment standards, making it difficult to achieve standardized data management across the entire network.

Method used

A blockchain-based multi-regional power grid business data early warning method is adopted. This method involves deploying basic and detailed early warning rules on a blockchain platform, using smart contracts to perform rule comparison processing, generating comparison results, and determining whether to send early warning messages to the power grid business management or processing end based on the comparison results.

Benefits of technology

It has achieved a unified early warning standard for power grid business data in multiple regions, improved the standardization and reliability of data management, prevented the early warning rules from being tampered with, and adapted to the strict early warning requirements of different regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691063B_ABST
    Figure CN119691063B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of power grid early warning, and provides a multi-region power grid business data early warning method and device based on a blockchain, equipment, a storage medium and a program product, which can align early warning judgment standards of different regions and prevent tampering. Power grid business data of a target region is acquired; the power grid business data is uploaded to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on basic early warning rules deployed in a smart contract and refined early warning rules of the target region, and an comparison result is obtained; if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid business data meets the basic early warning rules and does not meet the refined early warning rules, the current early warning message is sent to a power grid business processing end of the target region; and if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid business data does not meet the basic early warning rules, the current early warning message is sent to a power grid business management end and the power grid business processing end of the target region.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power grid early warning, in particular to a multi-region power grid business data early warning method and device based on a blockchain, computer equipment, a storage medium and a computer program product. BACKGROUND

[0002] Different regions have their own power grid business data. For example, the power grid business system in region a generates its own power grid business data during operation, and the power grid business system in region b generates its own power grid business data during operation.

[0003] In the process of data management and early warning, different regions do not have unified judgment standards for early warning, which is not conducive to standardized data management of the entire network. SUMMARY

[0004] Therefore, it is necessary to provide a multi-region power grid business data early warning method and device based on a blockchain, computer equipment, a storage medium and a computer program product to solve the above technical problems.

[0005] The present application provides a multi-region power grid business data early warning method based on a blockchain, which comprises:

[0006] Obtaining power grid business data of a target region; the target region is any region of multiple regions;

[0007] Uploading the power grid business data to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on a basic early warning rule deployed in a smart contract and a refined early warning rule of the target region, to obtain a comparison result; the basic early warning rule is a consensus early warning rule of a power grid business management end and a power grid business processing end of multiple regions, and the refined early warning rule of the target region is a consensus early warning rule of the power grid business management end and a power grid business processing end of the target region;

[0008] If it is determined according to the comparison result that the current early warning is caused by the power grid business data satisfying the basic early warning rule and not satisfying the refined early warning rule, an early warning message of this time is sent to the power grid business processing end of the target region;

[0009] If it is determined according to the comparison result that the current early warning is caused by the power grid business data not satisfying the basic early warning rule, an early warning message of this time is sent to the power grid business management end and the power grid business processing end of the target region.

[0010] In some embodiments, the method further comprises:

[0011] Obtaining a first early warning rule to be agreed upon;

[0012] sending the first consensus-to-be-alerting rule to the power grid service management end and the power grid service processing ends of multiple regions;

[0013] determining whether to take the first consensus-to-be-alerting rule as a basic alerting rule according to the digital signature of the first consensus-to-be-alerting rule by the power grid service management end and the power grid service processing ends of multiple regions.

[0014] In some embodiments, the determining whether to take the first consensus-to-be-alerting rule as a basic alerting rule according to the digital signature of the first consensus-to-be-alerting rule by the power grid service management end and the power grid service processing ends of multiple regions includes:

[0015] if the management end digital signature is received, determining whether the number of processing end digital signatures exceeds a threshold value; the management end digital signature is the digital signature of the first consensus-to-be-alerting rule by the power grid service management end, and the processing end digital signature is the digital signature of the first consensus-to-be-alerting rule by the power grid service processing end;

[0016] if the threshold value is exceeded, taking the first consensus-to-be-alerting rule as a basic alerting rule.

[0017] In some embodiments, the method further includes:

[0018] obtaining a second consensus-to-be-alerting rule sent by a power grid service processing end of a target region and carrying a corresponding digital signature;

[0019] sending the second consensus-to-be-alerting rule to the power grid service management end;

[0020] determining whether to take the second consensus-to-be-alerting rule as a refined alerting rule of the target region according to the digital signature of the second consensus-to-be-alerting rule by the power grid service management end.

[0021] In some embodiments, the determining whether to take the second consensus-to-be-alerting rule as a refined alerting rule of the target region according to the digital signature of the second consensus-to-be-alerting rule by the power grid service management end includes:

[0022] if the digital signature of the second consensus-to-be-alerting rule by the power grid service management end is received, taking the second consensus-to-be-alerting rule as a refined alerting rule of the target region.

[0023] In some embodiments, the method further includes:

[0024] If the power grid business data meets the basic early warning rule and does not meet the refined early warning rule triggering, the power grid business processing end of the target area sends the processing result of the current early warning message to the power grid business management end.

[0025] The application provides a multi-region power grid business data early warning device based on a blockchain, the device comprising:

[0026] A data acquisition module is configured to acquire power grid business data of a target region; the target region is any region of a plurality of regions;

[0027] A data sending module is configured to upload the power grid business data to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on a basic early warning rule deployed in a smart contract and a refined early warning rule of the target region, and obtains a comparison result; the basic early warning rule is a consensus early warning rule of a power grid business management end and a power grid business processing end of a plurality of regions, and the refined early warning rule of the target region is a consensus early warning rule of the power grid business management end and a power grid business processing end of the target region;

[0028] A message sending module is configured to send a current early warning message to the power grid business processing end of the target region if it is determined according to the comparison result that the current early warning is caused by the power grid business data meeting the basic early warning rule and not meeting the refined early warning rule.

[0029] The message sending module is further configured to send the current early warning message to the power grid business management end and the power grid business processing end of the target region if it is determined according to the comparison result that the current early warning is caused by the power grid business data not meeting the basic early warning rule.

[0030] The application provides a computer device comprising a memory and a processor, the memory storing a computer program, and the processor executing the above method.

[0031] The application provides a computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to perform the above method.

[0032] The application provides a computer program product having a computer program stored thereon, the computer program being executed by a processor to perform the above method.

[0033] The blockchain-based multi-region power grid business data early warning method, device, computer equipment, storage medium and computer program product obtain power grid business data of a target region; the target region is any region of the multi-region; upload the power grid business data to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on a basic early warning rule deployed in a smart contract and a refined early warning rule of the target region, to obtain a comparison result; the basic early warning rule is a consensus early warning rule of a power grid business management end and a power grid business processing end of the multi-region, and the refined early warning rule of the target region is a consensus early warning rule of the power grid business management end and a power grid business processing end of the target region; the application deploys the multi-party consensus basic early warning rule on the smart contract of the blockchain platform, which can prevent tampering by one party while pulling up the early warning rules of all parties; on this basis, in order to adapt to more stringent early warning of power grid business data by different regions themselves, the application also deploys the refined early warning rule of the region itself on the smart contract. After the deployment is completed, the power grid business data of any region can be uploaded to the blockchain platform for rule comparison, if it is determined according to the comparison result that the current early warning is caused by the power grid business data satisfying the basic early warning rule and not satisfying the refined early warning rule, the current early warning message can be sent to the power grid business processing end of the target region without being sent to the power grid business management end; if it is determined according to the comparison result that the current early warning is caused by the power grid business data not satisfying the basic early warning rule, the current early warning message is sent to the power grid business management end and the power grid business processing end of the target region, so that the power grid business management end knows that the basic early warning rule is not satisfied this time. BRIEF DESCRIPTION OF DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiments or related art descriptions. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0035] Figure 1 A flowchart of a multi-region power grid business data early warning method based on blockchain in an embodiment;

[0036] Figure 2 A flowchart of determining a basic early warning rule in an embodiment;

[0037] Figure 3 A flowchart of determining a refined early warning rule in an embodiment;

[0038] Figure 4 A structural block diagram of a multi-region power grid business data early warning device based on blockchain in an embodiment;

[0039] Figure 5 Figure 1 is a schematic diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0040] For the purpose of the present application, the technical solutions and advantages are more clearly and intelligibly described, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.

[0041] The blockchain-based multi-region power grid business data early warning method provided by the present application can be executed by a computer device, which can be a server. The server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0042] In one embodiment, a blockchain-based multi-region power grid business data early warning method is provided, comprising Figure 1 The steps shown are:

[0043] Step S101, obtaining power grid business data of a target region;

[0044] The target region is any region of the multi-region. The data of the power grid business system of the target region during business operation can be used as power grid business data and sent to the computer device.

[0045] The power grid business system can include an asset management system, a financial management system, an IT asset operation and maintenance management system, etc.

[0046] Step S102, uploading the power grid business data to a blockchain platform.

[0047] After obtaining the power grid business data, the computer device can upload the power grid business data to the blockchain platform. The blockchain platform performs rule comparison processing on the power grid business data based on the basic early warning rules deployed in the smart contract and the refined early warning rules of the target region, and obtains a comparison result.

[0048] The basic early warning rules are the early warning rules agreed upon by the power grid business management end and the power grid business processing end of the multi-region, and the refined early warning rules of the target region are the early warning rules agreed upon by the power grid business management end and the power grid business processing end of the target region. The early warning range of the basic early warning rules is included in the early warning range of the refined early warning rules, and the early warning range of the basic early warning rules is smaller than the early warning range of the refined early warning rules.

[0049] The power grid business management end is one end for monitoring and managing the multi-region power grid business. The power grid business processing end of each region is one end for processing the power grid business of the region.

[0050] The basic early warning rule can be pre-deployed on a smart contract of a blockchain platform. The refined early warning rule of each region can also be determined and pre-deployed on the smart contract of the blockchain platform. The refined early warning rule of each region is the early warning rule that is agreed by the power grid business management end and the power grid business processing end of the region.

[0051] The power grid business data of the target region is uploaded to the blockchain platform, the basic early warning rule and the refined early warning rule of the target region of the smart contract of the blockchain platform can be called to compare the power grid business data, each node generates a block according to the rule comparison result obtained by itself and broadcasts it to other nodes for verification, the block accepted by most nodes can be written into the blockchain ledger, and the processing result can be obtained according to the rule comparison result corresponding to the block accepted by most nodes. The blockchain platform sends the processing result to the computer device.

[0052] In step S103, if it is determined according to the comparison result that the current early warning is caused by that the power grid business data meets the basic early warning rule and does not meet the refined early warning rule, the current early warning message is sent to the power grid business processing end of the target region.

[0053] After obtaining the comparison result, if it is determined according to the comparison result that the current early warning is caused by that the power grid business data meets the basic early warning rule and does not meet the refined early warning rule, it is indicated that the current early warning meets the relatively loose basic early warning rule, and the current early warning is caused by the strict early warning of the target region. Therefore, the current early warning message can not be sent to the power grid business management end, and the computer device can send the current early warning message to the power grid business processing end of the target region. After receiving the current early warning message, the power grid business processing end of the target region can perform corresponding processing, and the processing result can be fed back to the computer device.

[0054] In step S104, if it is determined according to the comparison result that the current early warning is caused by that the power grid business data does not meet the basic early warning rule, the current early warning message is sent to the power grid business management end and the power grid business processing end of the target region.

[0055] After obtaining the comparison result, if it is determined according to the comparison result that the current early warning is caused by that the power grid business data does not meet the basic early warning rule, it is indicated that the current early warning does not meet the loose basic early warning rule. At this time, the current early warning message can be sent to the power grid business management end in addition to the power grid business processing end of the target region, so that the power grid business management end knows the situation and performs supervision. After receiving the current early warning message, the power grid business processing end of the target region can perform corresponding processing, and the processing result can be fed back to the computer device.

[0056] In the blockchain-based multi-region power grid business data early warning method, power grid business data of a target region is obtained; the target region is any region of the multi-region; the power grid business data is uploaded to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on basic early warning rules deployed in a smart contract and refined early warning rules of the target region to obtain a comparison result; the basic early warning rules are early warning rules agreed by a power grid business management end and a power grid business processing end of the multi-region, and the refined early warning rules of the target region are early warning rules agreed by the power grid business management end and the power grid business processing end of the target region; the basic early warning rules agreed by the multi-party are deployed on the smart contract of the blockchain platform, so that the early warning rules of each party are pulled up, and the early warning rules of each party can also be prevented from being tampered with by a certain party; on this basis, in order to adapt to more stringent early warning of power grid business data by different regions themselves, the refined early warning rules of the region itself are also deployed on the smart contract. After the deployment is completed, the power grid business data of any region can be uploaded to the blockchain platform for rule comparison. If it is determined according to the comparison result that the power grid business data satisfies the basic early warning rules and does not satisfy the refined early warning rules, the early warning message of this time can be sent to the power grid business processing end of the target region without being sent to the power grid business management end. If it is determined according to the comparison result that the power grid business data does not satisfy the basic early warning rules, the early warning message of this time is sent to the power grid business management end and the power grid business processing end of the target region, so that the power grid business management end knows that the basic early warning rules are not satisfied this time.

[0057] In one embodiment, the method provided by the application further includes Figure 2 The steps shown are: step S201, obtaining a first to-be-consensus early warning rule; step S202, sending the first to-be-consensus early warning rule to a power grid business management end and a power grid business processing end of a multi-region; and step S203, determining whether to take the first to-be-consensus early warning rule as a basic early warning rule according to digital signatures of the power grid business management end and the power grid business processing end of the multi-region for the first to-be-consensus early warning rule.

[0058] The computer device can obtain a first to-be-consensus early warning rule and send the first to-be-consensus early warning rule to a power grid business management end and a power grid business processing end of each region. After each end receives the first to-be-consensus early warning rule, if it agrees with the first to-be-consensus early warning rule, it can digitally sign the first to-be-consensus early warning rule and feed back to the computer device, and if it disagrees with the first to-be-consensus early warning rule, it can not digitally sign the first to-be-consensus early warning rule.

[0059] The computer device determines whether to take the first to-be-consensus early warning rule as a basic early warning rule according to the digital signature of the power grid business management end to the first to-be-consensus early warning rule and the digital signature of the power grid business processing end in each region to the first to-be-consensus early warning rule.

[0060] In one embodiment, the determination of whether to take the first to-be-consensus early warning rule as a basic early warning rule according to the digital signature of the power grid business management end and the power grid business processing end in multiple regions to the first to-be-consensus early warning rule includes: if the management end digital signature is received, determining whether the number of received processing end digital signatures exceeds a threshold; the management end digital signature is the digital signature of the power grid business management end to the first to-be-consensus early warning rule, and the processing end digital signature is the digital signature of the power grid business processing end to the first to-be-consensus early warning rule; if the threshold is exceeded, the first to-be-consensus early warning rule is taken as a basic early warning rule.

[0061] If the power grid business management end agrees to the first to-be-consensus early warning rule, the first to-be-consensus early warning rule can be digitally signed, and the digital signature can be referred to as a management end digital signature. The digital signature is sent to the computer device.

[0062] If the power grid business processing end in a certain region agrees to the first to-be-consensus early warning rule, the first to-be-consensus early warning rule can be digitally signed, and the digital signature can be referred to as a processing end digital signature. The digital signature is sent to the computer device.

[0063] After the computer device receives the management end digital signature, it can determine whether the number of received processing end digital signatures exceeds a threshold. If it exceeds, it means that the power grid business processing end in more regions agrees to the first to-be-consensus early warning rule. If it does not exceed, it means that the power grid business processing end in fewer regions agrees to the first to-be-consensus early warning rule. For example, if the threshold is set to 5, if the number of processing end digital signatures received by the computer device exceeds the threshold 5, it means that the power grid business processing end in more than 5 regions agrees to the first to-be-consensus early warning rule. If the number of processing end digital signatures received by the computer device does not exceed the threshold 5, it means that the power grid business processing end in not more than 5 regions agrees to the first to-be-consensus early warning rule.

[0064] After obtaining the basic early warning rule, the basic early warning rule can be deployed to the smart contract of the blockchain platform.

[0065] In one embodiment, the method provided by the present application further includes Figure 3The steps shown are: step S301, obtaining the second to-be-consensus early warning rule carrying a corresponding digital signature sent by the power grid business processing end of the target region; step S302, sending the second to-be-consensus early warning rule to the power grid business management end; and step S303, determining whether to take the second to-be-consensus early warning rule as the refined early warning rule of the target region according to the digital signature of the power grid business management end for the second to-be-consensus early warning rule.

[0066] The refined early warning rule of a certain region is a more stringent early warning monitoring requirement proposed by the region for itself. Therefore, the power grid business processing end of the region can draft a refined early warning rule (which can be referred to as a second to-be-consensus early warning rule) by a computer device, and let the power grid business management end confirm whether the early warning rule is a further refined early warning rule above the basic early warning rule, whether the early warning range of the early warning rule is greater than and encompasses the early warning range of the basic early warning rule, and if so, the power grid business management end can agree to the early warning rule.

[0067] Taking the target region as an example, the power grid business processing end of the target region can send the second to-be-consensus early warning rule carrying its own digital signature to the computer device; after the computer device receives the second to-be-consensus early warning rule, the computer device can send the second to-be-consensus early warning rule to the power grid business management end.

[0068] If the power grid business management end agrees to the second to-be-consensus early warning rule, the power grid business management end can digitally sign the second to-be-consensus early warning rule and feed back to the computer device, and if the power grid business management end does not agree to the second to-be-consensus early warning rule, the power grid business management end can not digitally sign the second to-be-consensus early warning rule.

[0069] In one embodiment, according to the digital signature of the power grid business management end for the second to-be-consensus early warning rule, it is determined whether to take the second to-be-consensus early warning rule as the refined early warning rule of the target region, which includes: if the digital signature of the power grid business management end for the second to-be-consensus early warning rule is received, taking the second to-be-consensus early warning rule as the refined early warning rule of the target region.

[0070] If the computer device receives the digital signature of the power grid business management end for the second to-be-consensus early warning rule, it indicates that the power grid business management end agrees to the second to-be-consensus early warning rule. At this time, the second to-be-consensus early warning rule can be taken as the refined early warning rule of the target region and deployed to the smart contract of the blockchain platform.

[0071] In one embodiment, the method provided by the present application further includes: if the power grid business data satisfies the basic early warning rule and does not satisfy the refined early warning rule triggering, sending the processing result of the power grid business processing end of the target region for the early warning message to the power grid business management end.

[0072] After obtaining the comparison result, the computer device determines whether the current warning is caused by the fact that the power grid business data does not meet the basic warning rule according to the comparison result. If the current warning does not meet the basic warning rule, the current warning message is sent to the power grid business management end in addition to the power grid business processing end in the target area, so that the power grid business management end can learn the situation and perform supervision. After receiving the current warning message, the power grid business processing end in the target area can perform corresponding processing, and the processing result can be fed back to the computer device.

[0073] After obtaining the processing result of the current warning message, the computer device can feed back the processing result to the power grid business management end, so that the power grid business management end can monitor the processing of the current warning by the power grid business processing end in the target area.

[0074] It should be understood that, although each step in the flowchart involved in each embodiment described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise stated herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0075] Based on the same inventive concept, the embodiments of the present application also provide a blockchain-based multi-region power grid business data warning device for implementing the above-mentioned blockchain-based multi-region power grid business data warning method. The problem-solving implementation scheme provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more blockchain-based multi-region power grid business data warning device embodiments provided below can refer to the limitations of the blockchain-based multi-region power grid business data warning method in the above text, which will not be repeated here.

[0076] In one embodiment, as shown in Figure 4 a blockchain-based multi-region power grid business data warning device is provided, comprising:

[0077] The data acquisition module 401 is configured to acquire power grid business data of a target region; the target region is any region of a plurality of regions;

[0078] The data sending module 402 is configured to upload the power grid service data to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid service data based on a basic early warning rule deployed in a smart contract and a refined early warning rule of the target region, to obtain a comparison result; the basic early warning rule is a consensus early warning rule of a power grid service management end and power grid service processing ends of multiple regions, and the refined early warning rule of the target region is a consensus early warning rule of the power grid service management end and the power grid service processing end of the target region.

[0079] The message sending module 403 is configured to send a current early warning message to the power grid service processing end of the target region if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid service data meets the basic early warning rule and does not meet the refined early warning rule.

[0080] The message sending module 403 is further configured to send a current early warning message to the power grid service management end and the power grid service processing end of the target region if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid service data does not meet the basic early warning rule.

[0081] In one embodiment, the apparatus further includes a rule processing module configured to: obtain a first to-be-consensus early warning rule; send the first to-be-consensus early warning rule to the power grid service management end and power grid service processing ends of multiple regions; and determine whether to take the first to-be-consensus early warning rule as a basic early warning rule according to digital signatures of the power grid service management end and the power grid service processing ends of multiple regions for the first to-be-consensus early warning rule.

[0082] In one embodiment, the rule processing module is further configured to: if a management end digital signature is received, determine whether a number of processing end digital signatures received exceeds a threshold value; the management end digital signature is a digital signature of the power grid service management end for the first to-be-consensus early warning rule, and the processing end digital signature is a digital signature of the power grid service processing end for the first to-be-consensus early warning rule; and if the threshold value is exceeded, take the first to-be-consensus early warning rule as a basic early warning rule.

[0083] In one embodiment, the apparatus further includes a rule processing module configured to: obtain a second to-be-consensus early warning rule sent by a power grid service processing end of a target region and carrying a corresponding digital signature; send the second to-be-consensus early warning rule to the power grid service management end; and determine whether to take the second to-be-consensus early warning rule as a refined early warning rule of the target region according to a digital signature of the power grid service management end for the second to-be-consensus early warning rule.

[0084] In an embodiment, the rule processing module is further configured to: if the digital signature of the power grid service management end for the second consensus-to-be-alerted rule is received, then the second consensus-to-be-alerted rule is taken as a refined alert rule of the target region.

[0085] In an embodiment, the device further comprises a processing result sending module configured to: if the power grid service data satisfies the basic alert rule and does not satisfy the refined alert rule trigger, then send a processing result of the power grid service processing end of the target region for the current alert message to the power grid service management end.

[0086] The above-mentioned various modules of the blockchain-based multi-region power grid service data alert device can be realized by software, hardware, and combinations thereof, in whole or in part. The above-mentioned various modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above-mentioned various modules.

[0087] In an exemplary embodiment, a computer device, which can be a server, is provided, and an internal structure diagram of the computer device can be as shown in Figure 5 The computer device comprises a processor, a memory, an input / output interface (I / O), and a communication interface. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is configured to store data related to the above-mentioned method. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with external terminals through a network connection. The computer program is executed by the processor to implement a blockchain-based multi-region power grid service data alert method.

[0088] Those skilled in the art can understand that Figure 5 The structure shown in the above-mentioned figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, the computer device can comprise more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0089] In an embodiment, a computer device is provided, comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps in each of the above method embodiments when executing the computer program.

[0090] In an embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the steps in each of the above method embodiments when executed by a processor.

[0091] In an embodiment, a computer program product is provided, which stores a computer program, and the computer program implements the steps in each of the above method embodiments when executed by a processor.

[0092] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.

[0093] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.

[0094] The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.

[0095] The above-described embodiments are merely illustrative of several embodiments of the present application, and the description is relatively specific and detailed, but should not be understood as a limitation on the scope of the patent. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the scope of the present application. Therefore, the scope of protection of the present application should be subject to the appended claims.

Claims

1. A blockchain-based multi-regional power grid business data early warning method, characterized in that, The method comprises: acquiring power grid service data of a target region; the target region is any region of multiple regions; uploading the power grid service data to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid service data based on a basic early warning rule deployed in a smart contract and a refined early warning rule of the target region, to obtain a comparison result; the basic early warning rule is a consensus early warning rule of a power grid service management end and a power grid service processing end of multiple regions, and the refined early warning rule of the target region is a consensus early warning rule of the power grid service management end and a power grid service processing end of the target region; if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid service data satisfies the basic early warning rule and does not satisfy the refined early warning rule, then sending a current early warning message to the power grid service processing end of the target region; if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid service data does not satisfy the basic early warning rule, then sending the current early warning message to the power grid service management end and the power grid service processing end of the target region; the step of determining a basic early warning rule comprises: acquiring a first to-be-consensus early warning rule; sending the first to-be-consensus early warning rule to the power grid service management end and the power grid service processing end of multiple regions; after receiving a management end digital signature, determining whether the number of received processing end digital signatures exceeds a threshold value; the management end digital signature is a digital signature of the power grid service management end for the first to-be-consensus early warning rule, and the processing end digital signature is a digital signature of the power grid service processing end for the first to-be-consensus early warning rule; if the threshold value is exceeded, then taking the first to-be-consensus early warning rule as a basic early warning rule.

2. The method of claim 1, wherein, The method further comprises: acquiring a second to-be-consensus early warning rule sent by the power grid service processing end of the target region and carrying a corresponding digital signature; sending the second to-be-consensus early warning rule to the power grid service management end; determining whether to take the second to-be-consensus early warning rule as a refined early warning rule of the target region according to the digital signature of the power grid service management end for the second to-be-consensus early warning rule.

3. The method of claim 2, wherein, Determining whether to take the second to-be-consensus early warning rule as a refined early warning rule of the target region according to the digital signature of the power grid service management end for the second to-be-consensus early warning rule comprises: if the digital signature of the power grid service management end for the second to-be-consensus early warning rule is received, then taking the second to-be-consensus early warning rule as the refined early warning rule of the target region.

4. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: if the power grid service data satisfies the basic early warning rule and does not satisfy the refined early warning rule, then sending a processing result of the power grid service processing end of the target region for the current early warning message to the power grid service management end. 5.A blockchain-based multi-regional power grid business data early warning device, characterized in that, The device comprises: a data acquisition module configured to acquire power grid service data of a target region; the target region is any region of multiple regions; The data sending module is configured to upload the power grid service data to a blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid service data based on a basic early warning rule deployed in a smart contract and a refined early warning rule of the target region, and obtains a comparison result; the basic early warning rule is a consensus early warning rule of a power grid service management end and power grid service processing ends of multiple regions, and the refined early warning rule of the target region is a consensus early warning rule of the power grid service management end and the power grid service processing end of the target region; The message sending module is configured to send a current early warning message to the power grid service processing end of the target region if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid service data meets the basic early warning rule and does not meet the refined early warning rule. The message sending module is further configured to send a current early warning message to the power grid service management end and the power grid service processing end of the target region if it is determined according to the comparison result that the current early warning is caused by the fact that the power grid service data does not meet the basic early warning rule. The rule processing module is configured to obtain a first consensus early warning rule, send the first consensus early warning rule to the power grid service management end and power grid service processing ends of multiple regions, receive a management end digital signature, and determine whether the number of received processing end digital signatures exceeds a threshold value; the management end digital signature is a digital signature of the power grid service management end for the first consensus early warning rule, and the processing end digital signature is a digital signature of the power grid service processing end for the first consensus early warning rule; if the threshold value is exceeded, the first consensus early warning rule is used as a basic early warning rule.

6. The apparatus of claim 5, wherein, The rule processing module is configured to: obtain a second consensus early warning rule sent by a power grid service processing end of a target region and carrying a corresponding digital signature; send the second consensus early warning rule to the power grid service management end; determine whether to use the second consensus early warning rule as a refined early warning rule of the target region according to a digital signature of the power grid service management end for the second consensus early warning rule.

7. The apparatus of claim 6, wherein, The rule processing module is configured to: if the digital signature of the power grid service management end for the second consensus early warning rule is received, use the second consensus early warning rule as the refined early warning rule of the target region.

8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the method in any one of claims 1 to 4.

9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method in any one of claims 1 to 4.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Service early warning processing method and device based on artificial intelligence, equipment and medium

    CN112434949A

  • Hidden danger identification and disposal method and disposal system for port safety operation

    CN118798659A