Multi-regional power grid business data early warning method, device and equipment based on block chain, storage medium and program product
By deploying smart contracts on the blockchain platform, unified early warning management of multi-regional power grid business data is solved, and the problem of inconsistent early warning standards in different regions is improved, and the management efficiency and security of power grid business data is improved.
Patent Information
- Application Number
- CN202411736703.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-11-29
AI Technical Summary
The early warning standards for power grid business data management in different regions are not unified, making it difficult to achieve standardized data management across the entire network.
The blockchain-based multi-regional power grid business data early warning method is adopted, and basic warning rules are deployed through smart contracts and refined warning rules are carried out to compare data and send warning messages.
The standardized early warning management of multi-regional power grid service data is realized, ensuring the accurate transmission of early warning messages, and improving the management efficiency and security of power grid service data.
Smart Images

Figure CN119691063A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power grid early warning technology, and in particular to a multi-regional power grid business data early warning method, device, computer equipment, storage medium and computer program product based on blockchain. Background Art
[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 have different criteria for determining the need for early warning, which is not conducive to standardized data management across the entire network. Summary of the invention
[0004] Based on this, it is necessary to provide a blockchain-based multi-regional power grid business data early warning method, device, computer equipment, storage medium and computer program product to address the above technical problems.
[0005] The present application provides a multi-regional power grid business data early warning method based on blockchain, the method comprising:
[0006] Acquire power grid business data of a target area; the target area is any area of multiple areas;
[0007] The power grid business data is uploaded to the blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on the basic warning rules deployed in the smart contract and the detailed warning rules of the target area to obtain a comparison result; the basic warning rules are warning rules agreed upon by the power grid business management end and the power grid business processing end of multiple regions, and the detailed warning rules of the target area are warning rules agreed upon by the power grid business management end and the power grid business processing end of the target area;
[0008] If it is determined according to the comparison result that this warning is caused by the power grid service data satisfying the basic warning rule but not satisfying the detailed warning rule, then sending this warning message to the power grid service processing terminal of the target area;
[0009] If it is determined according to the comparison result that this warning is caused by the power grid service data not satisfying the basic warning rules, this warning message is sent to the power grid service management end and the power grid service processing end of the target area.
[0010] In some embodiments, the method further comprises:
[0011] Get the first consensus warning rule;
[0012] Sending the first consensus-pending warning rule to the power grid service management terminal and the power grid service processing terminals in multiple regions;
[0013] According to the digital signature status of the first warning rule to be agreed upon by the power grid service management end and the power grid service processing ends in multiple regions, it is determined whether to use the first warning rule to be agreed upon as a basic warning rule.
[0014] In some embodiments, determining whether to use the first warning rule to be agreed upon as a basic warning rule according to the digital signature status of the power grid service management terminal and the multi-region power grid service processing terminals for the first warning rule to be agreed upon includes:
[0015] If the digital signature of the management end is received, it is determined whether the number of the digital signatures of the processing end received exceeds the threshold; the digital signature of the management end is the digital signature of the power grid business management end for the first warning rule to be agreed upon, and the digital signature of the processing end is the digital signature of the power grid business processing end for the first warning rule to be agreed upon;
[0016] If the threshold is exceeded, the first consensus-pending warning rule is used as the basic warning rule.
[0017] In some embodiments, the method further comprises:
[0018] Obtain the second consensus-pending warning rule with a corresponding digital signature sent by the power grid business processing terminal in the target area;
[0019] Sending the second consensus-pending warning rule to the power grid service management terminal;
[0020] According to the digital signature of the second warning rule to be agreed upon by the power grid service management end, it is determined whether to use the second warning rule to be agreed upon as a detailed warning rule for the target area.
[0021] In some embodiments, determining whether to use the second warning rule to be agreed upon as a refined warning rule for the target area according to the digital signature of the power grid service management terminal for the second warning rule to be agreed upon includes:
[0022] If the digital signature of the second warning rule to be agreed upon is received from the power grid service management end, the second warning rule to be agreed upon is used as the refined warning rule for the target area.
[0023] In some embodiments, the method further comprises:
[0024] If the power grid service data meets the basic warning rule and does not meet the detailed warning rule, the processing result of the power grid service processing end in the target area for this warning message is sent to the power grid service management end.
[0025] The present application provides a multi-regional power grid business data early warning device based on blockchain, the device comprising:
[0026] A data acquisition module, used to acquire power grid business data of a target area; the target area is any area of the multiple areas;
[0027] A data sending module is used to upload the power grid business data to the blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on the basic warning rules deployed in the smart contract and the detailed warning rules of the target area to obtain a comparison result; the basic warning rules are warning rules agreed upon by the power grid business management end and the power grid business processing end of multiple regions, and the detailed warning rules of the target area are warning rules agreed upon by the power grid business management end and the power grid business processing end of the target area;
[0028] A message sending module, configured to send the warning message to the power grid business processing terminal in the target area if it is determined according to the comparison result that the warning is caused by the power grid business data satisfying the basic warning rule but not satisfying the detailed warning rule;
[0029] The message sending module is also used to send the warning message to the power grid business management terminal and the power grid business processing terminal of the target area if it is determined according to the comparison result that the warning is caused by the power grid business data not satisfying the basic warning rules.
[0030] The present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the above method.
[0031] The present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to execute the above method.
[0032] The present application provides a computer program product, on which a computer program is stored, and the computer program is executed by a processor to perform the above method.
[0033] The above-mentioned blockchain-based multi-regional power grid business data early warning method, device, computer equipment, storage medium and computer program product obtain the power grid business data of the target area; the target area is any area of the multiple areas; the power grid business data is uploaded to the blockchain platform, so that 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 detailed early warning rules of the target area to obtain the comparison results; 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 multiple areas, and the detailed early warning rules of the target area are the early warning rules agreed upon by the power grid business management end and the power grid business processing end of the target area; this application deploys the basic early warning rules of multi-party consensus on the smart contract of the blockchain platform, which can not only pull up the early warning rules of all parties, but also prevent tampering by one party; on this basis, in order to adapt to the more stringent early warning of power grid business data by different regions themselves, this application also deploys the region's own detailed early warning rules on the smart contract. After the deployment is completed, the power grid business data of any area can be uploaded to the blockchain platform for rule comparison. If it is determined according to the comparison results that this warning is caused by the power grid business data meeting the basic warning rules but not meeting the detailed warning rules, then there is no need to send this warning message to the power grid business management end, and this warning message will be sent to the power grid business processing end of the target area; if it is determined according to the comparison results that this warning is caused by the power grid business data not meeting the basic warning rules, then this warning message will be sent to the power grid business management end and the power grid business processing end of the target area to inform the power grid business management end of the situation that the basic warning rules are not met this time. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A flowchart of a multi-regional power grid business data early warning method based on blockchain in one embodiment;
[0036] Figure 2 A schematic diagram of a process for determining basic warning rules in an embodiment;
[0037] Figure 3 A schematic diagram of a process for determining and refining warning rules in an embodiment;
[0038] Figure 4 It is a structural block diagram of a multi-regional power grid business data early warning device based on blockchain in one embodiment;
[0039] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] The blockchain-based multi-regional power grid business data early warning method provided in the present application can be executed by a computer device, which can be a server. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0042] In one embodiment, a multi-regional power grid business data early warning method based on blockchain is provided, comprising: Figure 1 The steps shown are:
[0043] Step S101, obtaining power grid service data of a target area;
[0044] The target area is any area of the multiple areas; the data of the power grid business system in the target area during the business operation process can be used as power grid business data and sent to the computer device.
[0045] The power grid business system may include asset management system, financial management system, IT asset operation and maintenance management system, etc.
[0046] Step S102, uploading the power grid business data to the blockchain platform.
[0047] After obtaining the power grid business data, the computer equipment 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 warning rules deployed in the smart contract and the detailed warning rules of the target area to obtain the comparison results.
[0048] Among them, the basic warning rules are the warning rules agreed upon by the power grid business management end and the power grid business processing end in multiple regions, and the detailed warning rules for the target area are the warning rules agreed upon by the power grid business management end and the power grid business processing end in the target area. Among them, the warning scope of the basic warning rules is included in the warning scope of the detailed warning rules, and the warning scope of the basic warning rules is smaller than the warning scope of the detailed warning rules.
[0049] The power grid business management end is the end that monitors and manages the power grid business in multiple regions. The power grid business processing end of each region is the end that processes the power grid business in that region.
[0050] The basic warning rules can be pre-deployed on the smart contract of the blockchain platform. The detailed warning rules for each region can also be determined and pre-deployed on the smart contract of the blockchain platform. The detailed warning rules for each region are the warning rules agreed upon by the power grid business management end and the power grid business processing end of the region.
[0051] After the power grid business data of the target area is uploaded to the blockchain platform, each node of the blockchain platform can call the basic warning rules of the smart contract and the detailed warning rules of the target area to compare the power grid business data. Each node generates a block based on the rule comparison results obtained by itself and broadcasts it to other nodes for verification. The blocks accepted by most nodes can be written into the blockchain account book; according to the rule comparison results corresponding to the blocks accepted by most nodes, the processing results can be obtained. The blockchain platform sends the processing results to the computer device.
[0052] Step S103: If it is determined according to the comparison result that this warning is caused by the power grid business data satisfying the basic warning rules but not satisfying the detailed warning rules, this warning message is sent to the power grid business processing terminal in the target area.
[0053] After obtaining the comparison result, if the computer device determines that this warning is caused by the power grid business data meeting the basic warning rules and not meeting the detailed warning rules, it means that this warning meets the relatively loose basic warning rules and this warning is caused by the strict warning of the target area. Therefore, this warning message may not be sent to the power grid business management end, and the computer device may send this warning message to the power grid business processing end of the target area. After receiving this warning message, the power grid business processing end of the target area may perform corresponding processing, and the processing result may be fed back to the computer device.
[0054] Step S104: if it is determined according to the comparison result that this warning is caused by the power grid service data not satisfying the basic warning rules, this warning message is sent to the power grid service management terminal and the power grid service processing terminal of the target area.
[0055] After the computer device obtains the comparison result, if it is determined based on the comparison result that this warning is caused by the power grid business data not meeting the basic warning rules, it indicates that this warning does not meet the loose basic warning rules. At this time, in addition to being sent to the power grid business processing end in the target area, this warning message can also be sent to the power grid business management end so that the power grid business management end is informed of the situation for supervision. After receiving this warning message, the power grid business processing end in the target area can perform corresponding processing, and the processing results can be fed back to the computer device.
[0056] In the above-mentioned blockchain-based multi-regional power grid business data early warning method, the power grid business data of the target area is obtained; the target area is any area of the multiple areas; the power grid business data is uploaded to the blockchain platform, so that 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 detailed early warning rules of the target area to obtain the comparison results; 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 ends of multiple areas, and the detailed early warning rules of the target area are the early warning rules agreed upon by the power grid business management end and the power grid business processing end of the target area; this application deploys the basic early warning rules of multi-party consensus on the smart contract of the blockchain platform, which can not only pull up the early warning rules of all parties, but also prevent tampering by one party; on this basis, in order to adapt to the more stringent early warning of power grid business data by different regions themselves, this application also deploys the region's own detailed early warning rules on the smart contract. After the deployment is completed, the power grid business data of any area can be uploaded to the blockchain platform for rule comparison. If it is determined according to the comparison results that this warning is caused by the power grid business data meeting the basic warning rules but not meeting the detailed warning rules, then there is no need to send this warning message to the power grid business management end, and this warning message will be sent to the power grid business processing end of the target area; if it is determined according to the comparison results that this warning is caused by the power grid business data not meeting the basic warning rules, then this warning message will be sent to the power grid business management end and the power grid business processing end of the target area to inform the power grid business management end of the situation that the basic warning rules are not met this time.
[0057] In one embodiment, the method provided by the present application further includes Figure 2 The steps shown are: step S201, obtaining the first warning rule to be agreed upon; step S202, sending the first warning rule to be agreed upon to the power grid business management end and the power grid business processing end in multiple regions; step S203, determining whether to use the first warning rule to be agreed upon as the basic warning rule based on the digital signature of the power grid business management end and the power grid business processing end in multiple regions for the first warning rule to be agreed upon.
[0058] The computer device can obtain the first consensus-awaited warning rule and send it to the power grid business management terminal and the power grid business processing terminal of each region. After receiving the first consensus-awaited warning rule, if each terminal agrees with the first consensus-awaited warning rule, it can digitally sign the first consensus-awaited warning rule and feedback it to the computer device; if it disagrees with the first consensus-awaited warning rule, it may not digitally sign the first consensus-awaited warning rule.
[0059] The computer device determines whether to use the first warning rule to be agreed upon as the basic warning rule based on the digital signature of the power grid business management end for the first warning rule to be agreed upon and the digital signature of the power grid business processing end in each region for the first warning rule to be agreed upon.
[0060] In one embodiment, based on the digital signatures of the power grid business management end and the power grid business processing ends of multiple regions for the first warning rule to be agreed upon, it is determined whether to use the first warning rule to be agreed upon as the basic warning rule, including: if the digital signature of the management end is received, then it is determined whether the number of digital signatures received from the processing end exceeds a threshold; the digital signature of the management end is the digital signature of the power grid business management end for the first warning rule to be agreed upon, and the digital signature of the processing end is the digital signature of the power grid business processing end for the first warning rule to be agreed upon; if it exceeds the threshold, the first warning rule to be agreed upon is used as the basic warning rule.
[0061] If the power grid business management end agrees with the first consensus-pending warning rule, the first consensus-pending warning rule can be digitally signed, and the digital signature can be called the management end digital signature, and the digital signature is sent to the computer device.
[0062] If the power grid business processing end of a certain area agrees with the first consensus-awaited warning rule, the first consensus-awaited warning rule can be digitally signed, and the digital signature can be called the processing end digital signature, and the digital signature is sent to the computer device.
[0063] After the computer device receives the digital signature of the management end, it can determine whether the number of digital signatures of the processing end received exceeds the threshold. If it exceeds, it means that the power grid business processing ends in more areas agree to the first warning rule to be agreed upon; if it does not exceed, it means that the power grid business processing ends in fewer areas agree to the first warning rule to be agreed upon; for example, if the threshold is set to 5, if the number of digital signatures of the processing end received by the computer device exceeds the threshold 5, it means that the power grid business processing ends in more than 5 areas agree to the first warning rule to be agreed upon; if the number of digital signatures of the processing end received by the computer device does not exceed the threshold 5, it means that the power grid business processing ends in no more than 5 areas agree to the first warning rule to be agreed upon.
[0064] After obtaining the basic warning rules, they 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 warning rule to be agreed upon and carrying the corresponding digital signature sent by the power grid business processing end of the target area; step S302, sending the second warning rule to be agreed upon to the power grid business management end; step S303, determining whether to use the second warning rule to be agreed upon as the detailed warning rule for the target area according to the digital signature of the power grid business management end for the second warning rule to be agreed upon.
[0066] The detailed warning rules of a certain area are more stringent warning monitoring requirements that the area puts forward for itself. Therefore, the power grid business processing end of the area can use computer equipment to draft detailed warning rules (the warning rules can be called the second warning rules to be agreed upon) to let the power grid business management end confirm whether the warning rules are further detailed warning rules based on the basic warning rules, whether the warning scope of the warning rules is greater than the warning scope of the basic warning rules and whether it covers the warning scope of the basic warning rules. If so, the power grid business management end can agree to the warning rules.
[0067] Taking the target area as an example, the power grid business processing end of the target area can send the second consensus-to-be-consensus warning rule carrying its own digital signature to the computer device; after receiving the second consensus-to-be-consensus warning rule, the computer device can send the second consensus-to-be-consensus warning rule to the power grid business management end;
[0068] If the power grid business management end agrees with the second consensus warning rule, the second consensus warning rule can be digitally signed and fed back to the computer device. If the second consensus warning rule is not agreed, the second consensus warning rule may not be digitally signed.
[0069] In one embodiment, based on the digital signature of the second warning rule to be agreed upon by the power grid business management end, it is determined whether to use the second warning rule to be agreed upon as the refined warning rule for the target area, including: if the digital signature of the second warning rule to be agreed upon by the power grid business management end is received, the second warning rule to be agreed upon is used as the refined warning rule for the target area.
[0070] If the computer device receives the digital signature of the power grid business management end for the second warning rule to be agreed upon, it indicates that the power grid business management end agrees with the second warning rule to be agreed upon. At this time, the second warning rule to be agreed upon can be used as a detailed warning rule for the target area and deployed on the smart contract of the blockchain platform.
[0071] In one embodiment, the method provided in the present application also includes: if the power grid business data meets the basic warning rules and does not meet the detailed warning rules, the power grid business processing end of the target area sends the processing result of this warning message to the power grid business management end.
[0072] After the computer device obtains the comparison result, if it is determined based on the comparison result that this warning is caused by the power grid business data not meeting the basic warning rules, it indicates that this warning does not meet the loose basic warning rules. At this time, in addition to being sent to the power grid business processing end in the target area, this warning message can also be sent to the power grid business management end so that the power grid business management end is informed of the situation for supervision. After receiving this warning message, the power grid business processing end in the target area can perform corresponding processing, and the processing results can be fed back to the computer device.
[0073] After obtaining the processing result for this warning message, the computer equipment 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 status of this warning by the power grid business processing end in the target area.
[0074] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0075] Based on the same inventive concept, the embodiment of the present application also provides a blockchain-based multi-regional power grid business data early warning device for implementing the blockchain-based multi-regional power grid business data early warning method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more blockchain-based multi-regional power grid business data early warning device embodiments provided below can refer to the above limitations on the blockchain-based multi-regional power grid business data early warning method, which will not be repeated here.
[0076] In one embodiment, Figure 4 As shown, a multi-regional power grid business data early warning device based on blockchain is provided, comprising:
[0077] The data acquisition module 401 is used to acquire the power grid business data of the target area; the target area is any area of the multiple areas;
[0078] The data sending module 402 is used to upload the power grid business data to the blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on the basic warning rules deployed in the smart contract and the detailed warning rules of the target area to obtain a comparison result; the basic warning rules are warning rules agreed upon by the power grid business management end and the power grid business processing end of multiple regions, and the detailed warning rules of the target area are warning rules agreed upon by the power grid business management end and the power grid business processing end of the target area;
[0079] The message sending module 403 is used to send the warning message to the power grid business processing terminal in the target area if it is determined according to the comparison result that the warning is caused by the power grid business data satisfying the basic warning rule but not satisfying the detailed warning rule;
[0080] The message sending module 403 is also used to send the warning message to the power grid business management terminal and the power grid business processing terminal of the target area if it is determined according to the comparison result that the warning is caused by the power grid business data not satisfying the basic warning rules.
[0081] In one embodiment, the device also includes a rule processing module, which is used to: obtain a first warning rule to be agreed upon; send the first warning rule to be agreed upon to the power grid business management end and the power grid business processing end of multiple regions; and determine whether to use the first warning rule to be agreed upon as a basic warning rule based on the digital signature of the power grid business management end and the power grid business processing end of multiple regions for the first warning rule to be agreed upon.
[0082] In one embodiment, the rule processing module is also used to: if a digital signature from the management end is received, determine whether the number of digital signatures from the processing end received exceeds a threshold; the digital signature from the management end is the digital signature of the power grid business management end for the first warning rule to be agreed upon, and the digital signature from the processing end is the digital signature of the power grid business processing end for the first warning rule to be agreed upon; if the threshold is exceeded, the first warning rule to be agreed upon is used as the basic warning rule.
[0083] In one embodiment, the device also includes a rule processing module, which is used to: obtain a second warning rule to be agreed upon and carrying a corresponding digital signature sent by the power grid business processing end of the target area; send the second warning rule to be agreed upon to the power grid business management end; and determine whether to use the second warning rule to be agreed upon as a refined warning rule for the target area based on the digital signature of the power grid business management end for the second warning rule to be agreed upon.
[0084] In one embodiment, the rule processing module is further used to: if a digital signature of the power grid service management terminal for the second warning rule to be agreed upon is received, use the second warning rule to be agreed upon as a refined warning rule for the target area.
[0085] In one embodiment, the device also includes a processing result sending module, which is used to: if the power grid business data meets the basic warning rules and does not meet the detailed warning rules, then the power grid business processing end of the target area sends the processing result of this warning message to the power grid business management end.
[0086] Each module in the above-mentioned blockchain-based multi-regional power grid business data early warning device can be implemented in whole or in part through software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0087] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, 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. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes 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 operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data involved in the above method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a multi-regional power grid business data early warning method based on blockchain is implemented.
[0088] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0089] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above-mentioned various method embodiments when executing the computer program.
[0090] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0091] In one embodiment, a computer program product is provided, on which a computer program is stored, and the computer program is used by a processor to execute the steps in the above-mentioned various method embodiments.
[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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0093] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the 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. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0094] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0095] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A multi-regional power grid business data early warning method based on blockchain, characterized in that: The method comprises: Acquire power grid business data of a target area; the target area is any area of multiple areas; The power grid business data is uploaded to the blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on the basic warning rules deployed in the smart contract and the detailed warning rules of the target area to obtain a comparison result; the basic warning rules are warning rules agreed upon by the power grid business management end and the power grid business processing end of multiple regions, and the detailed warning rules of the target area are warning rules agreed upon by the power grid business management end and the power grid business processing end of the target area; If it is determined according to the comparison result that this warning is caused by the power grid service data satisfying the basic warning rule but not satisfying the detailed warning rule, then sending this warning message to the power grid service processing terminal of the target area; If it is determined according to the comparison result that this warning is caused by the power grid service data not satisfying the basic warning rules, this warning message is sent to the power grid service management end and the power grid service processing end of the target area.
2. The method according to claim 1, characterized in that The method further comprises: Get the first consensus warning rule; Sending the first consensus-pending warning rule to the power grid service management terminal and the power grid service processing terminals in multiple regions; According to the digital signature status of the first warning rule to be agreed upon by the power grid service management end and the power grid service processing ends in multiple regions, it is determined whether to use the first warning rule to be agreed upon as a basic warning rule.
3. The method according to claim 2, characterized in that Determining whether to use the first warning rule to be agreed upon as a basic warning rule according to the digital signature status of the power grid service management end and the multi-region power grid service processing end for the first warning rule to be agreed upon includes: If the digital signature of the management end is received, it is determined whether the number of the digital signatures of the processing end received exceeds the threshold; the digital signature of the management end is the digital signature of the power grid business management end for the first warning rule to be agreed upon, and the digital signature of the processing end is the digital signature of the power grid business processing end for the first warning rule to be agreed upon; If the threshold is exceeded, the first consensus-pending warning rule is used as the basic warning rule.
4. The method according to claim 1, characterized in that: The method further comprises: Obtain the second consensus-pending warning rule with the corresponding digital signature sent by the power grid business processing terminal in the target area; Sending the second consensus-pending warning rule to the power grid service management terminal; According to the digital signature of the second warning rule to be agreed upon by the power grid service management end, it is determined whether to use the second warning rule to be agreed upon as a detailed warning rule for the target area.
5. The method according to claim 4, characterized in that Determining whether to use the second warning rule to be agreed upon as a detailed warning rule for the target area according to the digital signature of the power grid service management terminal for the second warning rule to be agreed upon includes: If the digital signature of the second warning rule to be agreed upon is received from the power grid service management end, the second warning rule to be agreed upon is used as the refined warning rule for the target area.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: If the power grid service data meets the basic warning rule and does not meet the detailed warning rule, the processing result of the power grid service processing end in the target area for this warning message is sent to the power grid service management end.
7. A multi-regional power grid business data early warning device based on blockchain, characterized in that: The device comprises: A data acquisition module, used to acquire power grid business data of a target area; the target area is any area of the multiple areas; A data sending module is used to upload the power grid business data to the blockchain platform, so that the blockchain platform performs rule comparison processing on the power grid business data based on the basic warning rules deployed in the smart contract and the detailed warning rules of the target area to obtain a comparison result; the basic warning rules are warning rules agreed upon by the power grid business management end and the power grid business processing end of multiple regions, and the detailed warning rules of the target area are warning rules agreed upon by the power grid business management end and the power grid business processing end of the target area; A message sending module, configured to send the warning message to the power grid business processing terminal in the target area if it is determined according to the comparison result that the warning is caused by the power grid business data satisfying the basic warning rule but not satisfying the detailed warning rule; The message sending module is also used to send the warning message to the power grid business management terminal and the power grid business processing terminal of the target area if it is determined according to the comparison result that the warning is caused by the power grid business data not satisfying the basic warning rules.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Enterprise networking big data auditing risk control architecture based on blockchain consensus mechanism
CN112001586A
Service early warning processing method and device based on artificial intelligence, equipment and medium
CN112434949A
Data processing method and device based on block chain and readable storage medium
CN117294753A
Hidden danger identification and disposal method and disposal system for port safety operation
CN118798659A
Blockchain-based consensus method and device
US20190324867A1