Power grid asset data early warning management method and device based on block chain platform, computer equipment, computer readable storage medium and computer program product
By adopting the power grid asset data early warning management method based on the blockchain platform in power grid data management, the problem of grid data tampering is solved, and more efficient data management and resource conservation are achieved.
Patent Information
- Application Number
- CN202411736205.6
- 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 prior art is difficult to effectively handle data tampering in power grid data management, affecting the integrity and reliability of data.
Adopt the power grid asset data early warning management method based on the blockchain platform, and by verifying data tampering, accessing business systems, updating early warning configuration rules, generating and deploying new smart contracts, and pushing early warning notifications to target objects.
It improves the processing effect of power grid data tampering, ensures that early warning notifications are made with the latest warning configuration rules, avoids resource waste caused by frequent updates of smart contracts when data tampering occurs, and is suitable for massive data management scenarios in the power grid.
Smart Images

Figure CN119691062A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power grid data management based on blockchain, and in particular to a power grid asset data early warning management method, device, computer equipment, computer-readable storage medium and computer program product based on a blockchain platform. Background Art
[0002] With the informatization development of the power grid, relevant systems such as financial management system, marketing management system, asset management system, and human resources management system have been established. With the deepening of the practical application of the system, data quality issues have become increasingly prominent. In order to ensure the integrity, standardization, consistency, and accuracy of the data, data governance for each system has become imminent.
[0003] Data governance based on blockchain has achieved certain results, but a few cases of data tampering still occur. Corresponding data exception handling in such cases is also very important for improving the reliability of power grid data management. Summary of the invention
[0004] Based on this, it is necessary to provide a power grid asset data early warning management method, device, computer equipment, computer-readable storage medium and computer program product based on a blockchain platform, which can improve the processing effect when the power grid data is tampered with, in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a power grid asset data early warning management method based on a blockchain platform, the method comprising:
[0006] Verify whether the stored power grid asset data has been tampered with based on the blockchain platform;
[0007] If the power grid asset data is tampered with, then access each business system connected to the blockchain platform, the business system is used to generate the power grid asset data;
[0008] If there is an update to the warning configuration rules in the business system, a new smart contract is generated based on the updated warning configuration rules, and the new smart contract is deployed, wherein the warning configuration rules include push object screening rules;
[0009] Based on the new smart contract, an early warning notification is generated and pushed to a target object, wherein the early warning notification includes the tampering time and the tampered power grid asset data.
[0010] In one embodiment, generating a new smart contract based on the updated warning configuration rule includes:
[0011] The updated warning configuration rules are embedded in the smart contract to generate a new smart contract.
[0012] In one embodiment, the warning configuration rule also includes a warning notification generation rule, and the pushing of the warning notification to the target object includes:
[0013] Parse and obtain the warning configuration rules in the new smart contract, and perform authority verification and user screening according to the push object screening rules in the warning configuration rules and the pre-stored user list to determine the target object, which is an electronic device used by a user who has passed the authority verification and meets the push object screening rules;
[0014] Based on the warning notification generation rule in the warning configuration rule, the warning notification is generated and sent to the target object.
[0015] In one embodiment, the parsing obtains the warning configuration rules in the new smart contract, and performs permission verification and user screening according to the push object screening rules in the warning configuration rules and the pre-stored user list to determine the target object, including:
[0016] Determine the warning level and the business system corresponding to the tampered data;
[0017] Based on the business system corresponding to the tampered data, filter out the users in the user list corresponding to the business system;
[0018] Based on the warning level, a user who has access authority of the warning level among users corresponding to the business system is determined as the target object.
[0019] In one embodiment, after the step of sending the warning notification to the target object, the method further includes:
[0020] Receive the updated warning notification fed back by the target object, and store the updated warning notification on the chain.
[0021] In one embodiment, the method further comprises:
[0022] Generate statistical reports periodically based on the early warning notification, and store the statistical reports on the chain.
[0023] In a second aspect, a power grid asset data early warning management device based on a blockchain platform is provided, the device comprising:
[0024] The data tampering judgment module is used to verify whether the stored power grid asset data has been tampered with based on the blockchain platform;
[0025] A business system access module, used to access each business system connected to the blockchain platform when the power grid asset data is tampered with, and the business system is used to generate the power grid asset data;
[0026] A smart contract update module, used to generate a new smart contract based on the updated warning configuration rules and deploy the new smart contract when there is an update to the warning configuration rules in the business system, wherein the warning configuration rules include push object screening rules;
[0027] The early warning push module is used to generate an early warning notification based on the new smart contract and push the early warning notification to the target object, wherein the early warning notification includes the tampering time and the tampered power grid asset data.
[0028] According to a third aspect, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0029] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0030] In a fifth aspect, a computer program product is provided, comprising a computer program, which implements the steps of the above method when executed by a processor.
[0031] The above-mentioned power grid asset data early warning management method, device, computer equipment, computer readable storage medium and computer program product based on the blockchain platform verify whether the stored power grid asset data has been tampered with based on the blockchain platform; if the power grid asset data has been tampered with, it means that an early warning reminder is needed. At this time, by accessing each business system connected to the blockchain platform, it can be checked whether a new early warning configuration rule has been generated on the business system side. If there is an update to the early warning configuration rule in the business system, a new smart contract is generated based on the updated early warning configuration rule, and a new smart contract is deployed. The early warning configuration rule includes a push object screening rule; based on the new smart contract, an early warning notification is generated, and an early warning notification is pushed to the target object. The early warning notification includes the tampering time and the tampered power grid asset data. Through the steps of this method, when data tampering occurs, the business system is accessed to update the early warning configuration rule on the chain, generate a new smart contract, and broadcast it based on the blockchain platform. In this way, it can ensure that the early warning notification is pushed with the latest early warning configuration rule, and avoid the waste of resources caused by the frequent update of the smart contract when no data tampering occurs. It is suitable for the power grid massive data management scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 This is an application environment diagram of a power grid asset data early warning management method based on a blockchain platform in one embodiment;
[0034] Figure 2 A schematic diagram of a process of a power grid asset data early warning management method based on a blockchain platform in one embodiment;
[0035] Figure 3 A flowchart of a step of pushing the warning notification to a target object based on the new smart contract in an embodiment;
[0036] Figure 4 It is a structural block diagram of a power grid asset data early warning management device based on a blockchain platform in one embodiment;
[0037] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0038] 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.
[0039] The power grid asset data early warning management method based on the blockchain platform provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the business system 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The business system 102 (for example, it may include a power grid asset system, a power grid financial system, and a power grid asset application system) uploads the power grid asset data to the server 104, builds a blockchain platform on the server 104, and determines whether the power grid asset data is tampered with based on the blockchain verification mechanism. When the power grid asset data is tampered with, an early warning notification is generated, which includes the tampering time and the tampered power grid asset data. At this time, it is necessary to remind relevant personnel to perform early warning management actions. By accessing various business systems connected to the blockchain platform, check whether the user has updated the early warning configuration rules in the business system. If there is an update of the early warning configuration rules in the business system, a new smart contract is generated based on the updated early warning configuration rules, and the new smart contract is deployed on the blockchain platform. The early warning configuration rules include push object screening rules to ensure that when data tampering occurs, early warning notifications can always be pushed to the target object based on the new smart contract. At the same time, it can avoid the generation of smart contracts triggered by the early warning configuration rules updated in the business system when no data tampering occurs. For example, between the last data tampering event and the current data tampering event, the business system updated the early warning configuration rules 5 times. If the smart contract needs to be updated every time, it will waste computing resources. It only needs to be updated when the current data tampering event occurs. Based on this, the reliability of power grid asset data early warning management can be improved and resources can be saved.
[0040] The terminal 102 may be, but is not limited to, various personal computers, desktop computers, etc. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0041] In an exemplary embodiment, Figure 2 As shown in the figure, a power grid asset data early warning management method based on a blockchain platform is provided, and the method is applied to Figure 1 Taking the server shown in the figure as an example, a blockchain platform can be built based on the server. The method includes:
[0042] S100 verifies whether the stored power grid asset data has been tampered with based on the blockchain platform.
[0043] The blockchain platform has the characteristics of being tamper-proof and decentralized, making the stored data highly secure and credible. This step mainly uses these characteristics of the blockchain to verify the power grid asset data and check whether the data has been illegally modified during the storage process or on the business system side. The implementation of verifying whether the power grid asset data has been tampered with can be done through hash value comparison, timestamp verification, etc. For example, each time the power grid asset data is updated, a new hash value is generated and compared with the previous hash value. If they are different, it indicates that the power grid asset data has been tampered with.
[0044] S200, if the power grid asset data is tampered with, then access each business system connected to the blockchain platform, the business system is used to generate the power grid asset data. When an early warning notification occurs, by accessing the business system, it can be checked whether a new early warning configuration rule has been generated on the side of each business system. The access process can be carried out through API interfaces, data sharing protocols, etc. to ensure the real-time and accuracy of the data.
[0045] S300: If there is an update to the warning configuration rule in the business system, a new smart contract is generated based on the updated warning configuration rule, and the new smart contract is deployed. The warning configuration rule includes a push object screening rule.
[0046] Warning configuration rules define the push objects and push methods of warning notifications. When these rules change, new smart contracts need to be generated and deployed to adapt to these changes. Smart contracts are automatically executed contracts that can be programmed and deployed on the blockchain platform. Through smart contracts, automatic push and screening of warning notifications can be achieved, improving the efficiency and accuracy of warnings. Warning configuration rules may include the priority of the push object, the push time interval, the push method (such as SMS, email, APP push, etc.), and the format of the push content.
[0047] S400, generating a warning notification based on the new smart contract, and pushing the warning notification to the target object.
[0048] In addition to the tampering time and the tampered power grid asset data, the early warning notification can also include the power grid asset data before the tampering, the identity information of the tamperer (which can be determined based on the tracking algorithm), etc., so as to conduct a more in-depth investigation and analysis. For example, if data tampering occurs under a user account, the user account can be frozen first to prevent the user account from continuing to illegally delete, add, modify, and other tampering operations (illegal here refers to unauthorized behavior).
[0049] According to the push object screening rules in the new smart contract, the warning notification is pushed to the specified target object. The push process can be carried out through the message transmission mechanism of the blockchain platform, third-party notification services, etc. The target object can be power grid operation and maintenance personnel, management personnel, relevant departments, etc., who can take corresponding measures to deal with data tampering events based on the warning notification.
[0050] Specifically, the blockchain platform verifies whether the stored power grid asset data has been tampered with; if the power grid asset data has been tampered with, it means that an early warning reminder is required. At this time, by accessing each business system connected to the blockchain platform, it can be checked whether a new early warning configuration rule has been generated on the business system side. If there is an update to the early warning configuration rule in the business system, a new smart contract is generated based on the updated early warning configuration rule, and a new smart contract is deployed. The early warning configuration rule includes a push object screening rule; based on the new smart contract, an early warning notification is generated, and an early warning notification is pushed to the target object. The early warning notification includes the tampering time and the tampered power grid asset data. Through the steps of this method, when data tampering occurs, the business system is accessed to update the early warning configuration rule on the chain, generate a new smart contract, and broadcast it based on the blockchain platform. For example, between the last data tampering event and the current data tampering event, the business system updated the early warning configuration rule 5 times. If the smart contract needs to be updated every time, computing resources will be wasted. It only needs to be updated when the current data tampering event occurs. Based on this, the reliability of power grid asset data early warning management can be improved and resources can be saved.
[0051] In one embodiment, the step S300 of generating a new smart contract based on the updated warning configuration rule includes:
[0052] The updated warning configuration rules are embedded in the smart contract to generate a new smart contract.
[0053] The updated warning configuration rules are embedded into the code of the smart contract to replace or update the original warning configuration rules, ensuring that when data tampering occurs, the new warning configuration rules can guide the smart contract to execute the corresponding warning notification push action.
[0054] Among them, the warning configuration rules may include the format and content of the warning notification, the push objects of the warning notification (such as power grid operation and maintenance personnel, management personnel, etc.), the push method (such as SMS, email, APP push, etc.), and the push time interval, etc. These rules may need to be updated as the operation status of the power grid, business needs or security policies change.
[0055] Before the updated warning configuration rules are embedded into the smart contract, new smart contract code needs to be written. After writing, the smart contract needs to be rigorously tested to ensure that it can correctly perform the warning operation and does not introduce new vulnerabilities or errors. Once the smart contract has been tested and confirmed to be correct, it can be deployed on the blockchain platform. Specifically, the code of the smart contract can be uploaded to the blockchain platform and added to the blockchain's ledger through a consensus mechanism. After deployment, the smart contract will begin to listen to events and data changes on the blockchain, and execute the push of warning notifications according to the updated warning configuration rules. It can ensure that the updated warning configuration rules can be correctly embedded in the smart contract, and the corresponding warning notification generation and push operations are automatically executed on the blockchain. This helps to improve the security and reliability of power grid asset data warning management.
[0056] In one embodiment, the warning configuration rules also include warning notification generation rules, such as Figure 3 As shown, the step S400 of pushing the warning notification to the target object based on the new smart contract includes:
[0057] S410, parse and obtain the warning configuration rules in the new smart contract, and perform permission verification and user screening according to the push object screening rules in the warning configuration rules and the pre-stored user list to determine the target object, which is an electronic device used by a user who has passed the permission verification and meets the push object screening rules.
[0058] Push object filtering rules define which users or user groups should receive alert notifications. They can be based on the user's role, department, geographic location, etc.
[0059] By pre-storing, a user list containing all potential recipients is stored. These users and their related information (such as user ID, device ID, role, etc.) are pre-stored in the system. The user list supports online updates. For example, when an employee resigns or changes positions, the user list can be updated to provide the latest matching candidates for early warning notification push.
[0060] By verifying the permissions and filtering the potential recipients according to the push object screening rules and the pre-stored user list, it can be ensured that only users with appropriate permissions can receive the warning notification, and the scope of recipients can be further narrowed through user screening. The target objects determined after permission verification and user screening are the electronic devices used by users who have passed the permission verification and meet the push object screening rules. The push of warning notifications also has high data security, avoiding the leakage of power grid asset data related content caused by the leakage of warning notifications.
[0061] S420: Generate and send the warning notification to the target object based on the warning notification generation rule in the warning configuration rule.
[0062] The warning notification generation rules define the specific content, format, priority, etc. of the warning notification, which may include the title, body, specific event description that triggers the warning, and recommended action steps (for example, freezing the user account that tampered with the data). According to the warning notification generation rules, a specific warning notification is generated in combination with the grid asset data before and after the tampering, time, etc. The generated warning notification is sent to the target object via SMS, email, in-application notification, etc.
[0063] The embodiment of the present application provides a method for quickly determining the target object through automatic parsing of warning configuration rules and based on push object screening, and effectively pushing the generated warning notification, which can not only ensure that the warning notification is not leaked, but also shorten the warning response time and improve the efficiency of emergency response.
[0064] In one embodiment, the warning notification generation rule may further include a matching risk level. When data tampering is found, relevant content of the warning notification may be generated in the form of a list, such as an inconsistency warning table.
[0065] The business system includes the power grid asset system, the power grid financial system and the power grid asset application system as an example for explanation.
[0066] When the power grid asset system is connected to the blockchain platform, the following inconsistency warning table is generated within a certain monitoring period:
[0067]
[0068] When the power grid financial system is connected to the blockchain platform, the following inconsistency warning table is generated within a certain monitoring period:
[0069]
[0070] When the power grid asset application system is connected to the blockchain platform, the following inconsistency warning table is generated within a certain monitoring period:
[0071]
[0072] The blockchain platform can further write the inconsistent warning table back to the corresponding business system, such as the power grid financial system, to facilitate users to export the inconsistent warning table on the business system side and update it synchronously with operators offline.
[0073] In one embodiment, the parsing obtains the warning configuration rules in the new smart contract, and performs permission verification and user screening according to the push object screening rules in the warning configuration rules and the pre-stored user list to determine the step S410 of the target object, including:
[0074] Determine the warning level and the business system corresponding to the tampered data;
[0075] Based on the business system corresponding to the tampered data, filter out the users in the user list corresponding to the business system;
[0076] Based on the warning level, a user who has access authority of the warning level among users corresponding to the business system is determined as the target object.
[0077] In one embodiment, after the step of sending the warning notification to the target object, the method further includes:
[0078] Receive the updated warning notification fed back by the target object, and store the updated warning notification on the chain.
[0079] By storing warning notifications on the chain, they can be queried and traced by subsequent users, and also provide data basis for warning statistics.
[0080] In one embodiment, the method further comprises:
[0081] Generate statistical reports periodically based on the early warning notification, and store the statistical reports on the chain.
[0082] By periodically conducting statistical reports,
[0083] In one example, after a period of statistical analysis, based on the inconsistency warning tables corresponding to the three business systems of the current power grid asset system, power grid financial system, and power grid asset application system, the following statistical results are obtained. The inconsistency warning tables of different business systems can be stored in partitions in the blockchain database:
[0084]
[0085] In order to better illustrate the implementation process of the solution provided in this application, an example is given here:
[0086] If it is found that the previous and subsequent data on the blockchain do not match (based on the comparison of data fields and hash values, if the comparison is inconsistent, it is determined that the previous and subsequent data do not match), it is determined that data tampering has occurred and an early warning is required.
[0087] At this time, the blockchain platform first accesses the business system to determine whether there are new warning configuration rules generated. If so, a new smart contract is generated based on the new warning configuration rules, and warning notifications are generated and sent based on the new smart contract, as follows:
[0088] Write a new smart contract version, embed the updated warning configuration rules into it, deploy the new smart contract version on the blockchain network, ensure a smooth transition of the old version of the contract, and notify relevant parties (such as blockchain network participants, business system administrators, etc.) about the smart contract update. Before sending the warning notification, the blockchain performs permission verification and user screening based on the preset permissions and user list. Verify which users have the permission to receive such warning information and obtain their contact information based on the user list. Prepare the content of the warning notification to be sent, which may include detailed information of the data tampering incident, warning level, scope of impact, countermeasures, etc. Determine the method of sending the warning information, such as via email, SMS service API, blockchain messaging system, etc.
[0089] After confirming that all preparations are complete, an early warning notification is sent to users with receiving permissions through the selected communication channel.
[0090] Optionally, energy consumption can be further reduced by limiting the broadcast frequency, adjusting the broadcast range, etc.
[0091] 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.
[0092] Based on the same inventive concept, the embodiment of the present application also provides a power grid asset data early warning management device based on a blockchain platform for implementing the power grid asset data early warning management method based on a blockchain platform. 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 embodiments of the power grid asset data early warning management device based on a blockchain platform provided below can refer to the limitations of the power grid asset data early warning management method based on a blockchain platform above, and will not be repeated here.
[0093] In an exemplary embodiment, Figure 4 As shown, a power grid asset data early warning management device based on a blockchain platform is provided, comprising: a data tampering judgment module 100, a business system access module 200, a smart contract update module 300, and an early warning push module 400, wherein:
[0094] In a second aspect, a power grid asset data early warning management device based on a blockchain platform is provided, the device comprising:
[0095] The data tampering judgment module is used to verify whether the stored power grid asset data has been tampered with based on the blockchain platform;
[0096] A business system access module, used to access each business system connected to the blockchain platform when the power grid asset data is tampered with, and the business system is used to generate the power grid asset data;
[0097] A smart contract update module, used to generate a new smart contract based on the updated warning configuration rules and deploy the new smart contract when there is an update to the warning configuration rules in the business system, wherein the warning configuration rules include push object screening rules;
[0098] The early warning push module is used to generate an early warning notification based on the new smart contract and push the early warning notification to the target object, wherein the early warning notification includes the tampering time and the tampered power grid asset data.
[0099] In one embodiment, the smart contract update module includes:
[0100] The contract updating unit is used to embed the updated warning configuration rules into the smart contract to generate a new smart contract.
[0101] In one embodiment, the warning push module includes:
[0102] A target object determination unit, used to parse and obtain the warning configuration rules in the new smart contract, and perform authority verification and user screening according to the push object screening rules in the warning configuration rules and the pre-stored user list to determine the target object, wherein the target object is an electronic device used by a user who has passed the authority verification and meets the push object screening rules;
[0103] The warning execution unit is used to generate and send the warning notification to the target object based on the warning notification generation rule in the warning configuration rule.
[0104] In one embodiment, the target object determination unit includes:
[0105] An early warning level and matching business system determination unit, used to determine the early warning level and the business system corresponding to the tampered data;
[0106] A user screening unit, configured to screen out users in the user list corresponding to the business system based on the business system corresponding to the tampered data;
[0107] The object determination unit is used to determine, based on the warning level, a user who has access rights of the warning level among users corresponding to the business system as the target object.
[0108] In one embodiment, the above device further comprises:
[0109] The warning notification chain storage module is used to receive the updated warning notification fed back by the target object and store the updated warning notification on the chain.
[0110] In one embodiment, the above device further comprises:
[0111] The statistical report generation module is used to periodically generate statistical reports based on the early warning notification and store the statistical reports on the chain.
[0112] Each module in the above-mentioned power grid asset data early warning management device based on the blockchain platform 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.
[0113] 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 5As 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 such as smart contracts and early warning configuration rules. 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 power grid asset data early warning management method based on a blockchain platform is implemented.
[0114] 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.
[0115] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the above-mentioned power grid asset data early warning management method based on the blockchain platform are implemented.
[0116] 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 of the above-mentioned power grid asset data early warning management method based on the blockchain platform are implemented.
[0117] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned blockchain platform-based power grid asset data early warning management method.
[0118] 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.
[0119] 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.
[0120] 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.
[0121] 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 power grid asset data early warning management method based on a blockchain platform, characterized in that: The method comprises: Verify whether the stored power grid asset data has been tampered with based on the blockchain platform; If the power grid asset data is tampered with, then access each business system connected to the blockchain platform, the business system is used to generate the power grid asset data; If there is an update to the warning configuration rules in the business system, a new smart contract is generated based on the updated warning configuration rules, and the new smart contract is deployed, wherein the warning configuration rules include push object screening rules; Based on the new smart contract, an early warning notification is generated and pushed to a target object, wherein the early warning notification includes the tampering time and the tampered power grid asset data.
2. The method according to claim 1, characterized in that The generating of a new smart contract based on the updated warning configuration rules includes: The updated warning configuration rules are embedded in the smart contract to generate a new smart contract.
3. The method according to claim 1, characterized in that The warning configuration rule also includes a warning notification generation rule, and the pushing of the warning notification to the target object includes: Parse and obtain the warning configuration rules in the new smart contract, and perform authority verification and user screening according to the push object screening rules in the warning configuration rules and the pre-stored user list to determine the target object, which is an electronic device used by a user who has passed the authority verification and meets the push object screening rules; Based on the warning notification generation rule in the warning configuration rule, the warning notification is generated and sent to the target object.
4. The method according to claim 3, characterized in that The parsing obtains the warning configuration rules in the new smart contract, and performs permission verification and user screening according to the push object screening rules in the warning configuration rules and the pre-stored user list to determine the target object, including: Determine the warning level and the business system corresponding to the tampered data; Based on the business system corresponding to the tampered data, filter out the users in the user list corresponding to the business system; Based on the warning level, a user who has access authority of the warning level among users corresponding to the business system is determined as the target object.
5. The method according to claim 3, characterized in that: After the step of sending the warning notification to the target object, the method further includes: Receive the updated warning notification fed back by the target object, and store the updated warning notification on the chain.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Generate statistical reports periodically based on the early warning notification, and store the statistical reports on the chain.
7. A power grid asset data early warning management device based on a blockchain platform, characterized in that: The device comprises: The data tampering judgment module is used to verify whether the stored power grid asset data has been tampered with based on the blockchain platform; A business system access module, used to access each business system connected to the blockchain platform when the power grid asset data is tampered with, and the business system is used to generate the power grid asset data; A smart contract update module, used to generate a new smart contract based on the updated warning configuration rules and deploy the new smart contract when there is an update to the warning configuration rules in the business system, wherein the warning configuration rules include push object screening rules; The early warning push module is used to generate an early warning notification based on the new smart contract and push the early warning notification to the target object, wherein the early warning notification includes the tampering time and the tampered power grid asset data.
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 steps of the method according to any one of claims 1 to 6 are 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 steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Block chain-based configuration data processing method and system, equipment and medium
CN116319082A
Component control method and device based on block chain, and computer equipment
CN117421368A
Public data circulation supervision platform and method based on block chain
CN118965128A
Encryption key and smart contract implementation management system using hardware security module
KR102499947B1