Power grid data model processing method, system, device, medium and program product
By filtering and judging power grid data specifications and service conditions, the problem of power grid data processing delay is solved and efficient data processing is achieved.
Patent Information
- Application Number
- CN202410450537.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2024-09-10
AI Technical Summary
In the current technology, when processing power grid data, data acquisition, analysis and transmission cause delays, affecting processing efficiency.
By obtaining the initial data and data model of the power grid system, the model data is constructed, and the model data is screened and judged according to the protocol conditions and service conditions. It is divided into protocol data and service data, which are sent to the power consumption terminal and the Internet of Things platform respectively, and stored. Protocol data and service data.
The processing volume and delay of power grid model data processing are reduced, and the processing efficiency is improved.
Smart Images

Figure FT_1 
Figure FT_6 
Figure FT_2
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power grid data processing, and in particular to a power grid data model processing method, system, device, medium and program product. Background Art
[0002] Power grid data refers to the data generated by the power grid system during operation. Since the power grid system includes multiple links and many processes, such as power generation, transmission and transformation, and power consumption, the data generated in each process needs to be processed in real time, and the data processing volume is very large.
[0003] Existing technologies can use big data analysis methods to find potential relationships and hidden rules among massive amounts of power grid data, and can organize and process data through data models. However, when processing power grid data, data acquisition, analysis, and transmission are performed simultaneously, which can easily lead to large delays in data upload and affect data processing efficiency. Summary of the invention
[0004] Based on this, it is necessary to provide a method, system, device, medium and program product that can efficiently process power grid data model in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for processing a power grid data model, the method comprising:
[0006] Acquire initial data and a grid data model of the grid system, and construct model data of the grid system according to the grid data model and the initial data;
[0007] Determine the protocol conditions and service conditions of the power grid system, and judge the model data according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system;
[0008] The protocol data is sent to the power consumption terminal through the protocol, and the service data is sent to the Internet of Things platform, and the protocol data and service data are stored separately.
[0009] In one embodiment, the model data is judged according to the protocol conditions and the service conditions respectively to obtain the protocol data and service data of the power grid system, including:
[0010] The model data is filtered by the specification conditions, and the model data satisfying the specification conditions is used as the specification data;
[0011] The model data that does not meet the specification conditions are further screened through the service conditions, and the model data that meets the service conditions is used as the service data.
[0012] In one embodiment, obtaining initial data of a power grid system includes:
[0013] Reading raw data in the power grid system database;
[0014] The original data is extracted and integrated according to the data type identifier and the device identifier, respectively, to obtain operation and maintenance data corresponding to different device identifiers for characterizing the equipment operating status, and cost value data for characterizing the equipment electricity cost.
[0015] In one embodiment, before judging the model data according to the protocol condition and the service condition respectively, the method further includes:
[0016] Perform data validity check on the model data and discard invalid model data to obtain updated model data;
[0017] The model data is judged according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system, including:
[0018] The updated model data are judged according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system.
[0019] In one embodiment, the method further comprises:
[0020] According to different equipment identifications, the protocol data is sent to different power consumption terminals.
[0021] In a second aspect, the present application provides a power grid data model processing system, the system comprising:
[0022] An acquisition module is used to acquire initial data and a power grid data model of the power grid system, and construct model data of the power grid system according to the power grid data model and the initial data;
[0023] A classification module is used to determine the protocol conditions and service conditions of the power grid system, and to judge the model data according to the protocol conditions and service conditions respectively, so as to obtain the protocol data and service data of the power grid system;
[0024] The processing module is used to send the protocol data to the power consumption terminal through the protocol protocol, send the service data to the Internet of Things platform, and store the protocol data and service data separately.
[0025] In one embodiment, the classification module further includes a southbound protocol module and a northbound service module, wherein:
[0026] The southbound specification module is used to filter model data according to specification conditions and use model data that meets the specification conditions as specification data;
[0027] The northbound service module is used to continue filtering the model data that does not meet the specification conditions through the service conditions, and use the model data that meets the service conditions as the service data.
[0028] In a third aspect, the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0029] Acquire initial data and a grid data model of the grid system, and construct model data of the grid system according to the grid data model and the initial data;
[0030] Determine the protocol conditions and service conditions of the power grid system, and judge the model data according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system;
[0031] The protocol data is sent to the power consumption terminal through the protocol, and the service data is sent to the Internet of Things platform, and the protocol data and service data are stored separately.
[0032] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the following steps when the computer program is executed by a processor:
[0033] Acquire initial data and a grid data model of the grid system, and construct model data of the grid system according to the grid data model and the initial data;
[0034] Determine the protocol conditions and service conditions of the power grid system, and judge the model data according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system;
[0035] The protocol data is sent to the power consumption terminal through the protocol, and the service data is sent to the Internet of Things platform, and the protocol data and service data are stored separately.
[0036] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0037] Acquire initial data and a grid data model of the grid system, and construct model data of the grid system according to the grid data model and the initial data;
[0038] Determine the protocol conditions and service conditions of the power grid system, and judge the model data according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system;
[0039] The protocol data is sent to the power consumption terminal through the protocol, and the service data is sent to the Internet of Things platform, and the protocol data and service data are stored separately.
[0040] The above-mentioned power grid data model processing method, system, device, medium and program product, by acquiring the initial data and power grid data model of the power grid system, constructs the model data of the power grid system according to the power grid data model and the initial data; determines the protocol conditions and service conditions of the power grid system, and judges the model data according to the protocol conditions and service conditions respectively, to obtain the protocol data and service data of the power grid system; sends the protocol data to the power consumption terminal through the protocol protocol, sends the service data to the Internet of Things platform, and stores the protocol data and service data separately. The present application judges and classifies the model data obtained by constructing the power grid data model according to the protocol conditions and service conditions of the power grid system, reduces the processing amount during the processing of the power grid model data, and sends the protocol data to the power consumption terminal through the protocol protocol respectively, sends the service data to the Internet of Things platform, and stores the protocol data and service data separately, reduces the processing delay of the power grid model data, and improves the processing efficiency of the power grid model data. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] 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.
[0042] Figure 1 An application environment diagram of a power grid data model processing method in one embodiment;
[0043] Figure 2 A schematic diagram of a flow chart of a method for processing a power grid data model in one embodiment;
[0044] Figure 3 is a schematic diagram of a process for classifying model data in one embodiment;
[0045] Figure 4 A schematic diagram of a flow chart of a method for processing a power grid data model in another embodiment;
[0046] Figure 5 is a structural block diagram of a power grid data model processing system in one embodiment;
[0047] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] 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.
[0049] The power grid data model processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 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 server 104 obtains the initial data and the power grid data model of the power grid system, and constructs the model data of the power grid system according to the power grid data model and the initial data; determines the protocol conditions and service conditions of the power grid system, and judges the model data according to the protocol conditions and service conditions respectively, to obtain the protocol data and service data of the power grid system; sends the protocol data to the power consumption terminal through the protocol protocol, sends the service data to the Internet of Things platform, and stores the protocol data and service data respectively.
[0050] The terminal 102 may be, but is not limited to, various power-consuming terminals of a power grid system, and the server 104 may be implemented by an independent server or a server cluster consisting of multiple servers.
[0051] In an exemplary embodiment, Figure 2 As shown, a method for processing a power grid data model is provided, and the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate the method, which includes the following steps 202 to 206. Among them:
[0052] Step 202: Acquire initial data and a grid data model of the grid system, and construct model data of the grid system according to the grid data model and the initial data.
[0053] Among them, the power grid data model is a preset data processing model that constructs data according to a preset data structure or data format. The data model associates different data and outputs consistent data, for example, constructing the appearing data into specific and actionable data to facilitate subsequent data processing and analysis.
[0054] For example, since there is a large amount of data in the operation of the power grid system, the present application processes the initial data of the power grid system through a preset power grid data model to obtain model data. The initial data can be directly read from the database of the power grid system and can be obtained by separately collecting data from each device of the power grid system.
[0055] Step 204, determining the protocol conditions and service conditions of the power grid system, and judging the model data according to the protocol conditions and service conditions respectively, to obtain the protocol data and service data of the power grid system.
[0056] Among them, the protocol conditions are used to characterize the constraints of each power terminal in the power grid system. Different power terminals correspond to different protocol conditions. For example, different power terminals require different data formats, transmission methods, and transmission protocols. The model data is judged according to the protocol conditions, and the data matching the protocol conditions is determined in the model data, and the data is sent to the power terminal.
[0057] Service conditions are used to characterize the constraints of the service control end or data processing end in the power grid system. Service conditions are generally similar to protocol conditions. The difference is that the model data that meets the service conditions is used to transmit to the control end such as the data platform, while the model data that meets the protocol conditions is used to transmit to the power terminal.
[0058] It can be understood that this embodiment has no restrictions on the protocol conditions and service conditions, as long as the judgment of the model data can be achieved.
[0059] Step 206, sending the protocol data to the power user terminal through the protocol protocol, sending the service data to the Internet of Things platform, and storing the protocol data and the service data separately.
[0060] Among them, the power terminal represents the node terminal in the power grid system, and the power terminal can realize the configuration and management of the power terminal according to the protocol data. The Internet of Things platform includes multiple data control terminals, which are used to connect with the distribution terminal and send service data to the Internet of Things platform so that the service data can be exchanged between different data control terminals in the Internet of Things platform. For example, the Internet of Things platform can send the received service data to other control terminals, and determine whether the model data belongs to the power terminal corresponding to the current control terminal at the other control terminals.
[0061] The protocol data and service data are stored separately. For example, the protocol data and service data can be stored in the ledger module of the power grid system. The ledger module is used to record, count and back up the power grid data. Storing the data in the ledger module can ensure the security and reliability of the data.
[0062] In the above-mentioned power grid data model processing method, by acquiring the initial data and power grid data model of the power grid system, the model data of the power grid system is constructed according to the power grid data model and the initial data; the protocol conditions and service conditions of the power grid system are determined, and the model data is judged according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system; the protocol data is sent to the power user terminal through the protocol protocol, the service data is sent to the Internet of Things platform, and the protocol data and service data are stored separately. The present application judges and classifies the model data obtained by constructing the power grid data model according to the protocol conditions and service conditions of the power grid system, reduces the processing amount during the processing of the power grid model data, and sends the protocol data to the power user terminal through the protocol protocol respectively, sends the service data to the Internet of Things platform, and stores the protocol data and service data separately, reduces the processing delay of the power grid model data, and improves the processing efficiency of the power grid model data.
[0063] In an exemplary embodiment, Figure 3 As shown, step 204 includes steps 302 to 304. Among them:
[0064] Step 302, filter the model data by the specification conditions, and use the model data satisfying the specification conditions as the specification data.
[0065] Exemplarily, the model data is first screened by the specification conditions. For example, this can be achieved by determining whether the basic parameters of the model data, such as the data structure, data type, or data transmission protocol, are consistent with the requirements in the specification conditions; if the basic parameters of the model data are consistent with the specification conditions, it means that the model data meets the specification conditions, and the model data is classified as specification data. For data that does not meet the specification conditions, the service conditions are then determined.
[0066] Step 304: continue to screen the model data that do not meet the specification conditions through the service conditions, and use the model data that meet the service conditions as service data.
[0067] Exemplarily, model data that does not meet the specification conditions is screened through service conditions, and it can also be achieved by determining whether the data structure, data type or data transmission protocol of the model data is consistent with the requirements in the service conditions; if the basic parameters of the model data are consistent with the service conditions, it means that the model data meets the service conditions, and the model data is classified as service data.
[0068] In this embodiment, the model data is first screened according to the specification conditions, and the model data that does not meet the specification conditions is then screened according to the service conditions, thereby reducing the amount of data processing when screening data according to the service conditions and improving data processing efficiency.
[0069] In one embodiment, initial data of a power grid system is obtained, including: reading raw data from a power grid system database; extracting and integrating the raw data according to data type identifiers and device identifiers, respectively, to obtain operation and maintenance data corresponding to different device identifiers for characterizing the operating status of the equipment, and cost value data for characterizing the cost of electricity consumption of the equipment.
[0070] Among them, operation and maintenance data includes power grid operation data and maintenance data. Operation data can be data such as the amount of electricity generated, operation time, and operation efficiency, and maintenance data can be data such as equipment failure time and repair time. Cost value data is data used to represent the value of electricity, which can be electricity charges, electricity discounts, etc.
[0071] Data extraction is to obtain the required data from a data source such as a database. Data extraction extracts the data into the same processor to facilitate subsequent data analysis. Since the types and categories of power grid data are numerous and the amount of data is huge, it can include operation and maintenance data used to characterize the operating status of the equipment, cost value data used to characterize the cost of equipment electricity consumption, and data when interacting with other external systems; the same data may be represented by different data structures in different process links. In this embodiment, the original data required to construct the model data is extracted from the original data of the power grid database according to the data type identifier and the device identifier, thereby improving data processing efficiency.
[0072] Exemplarily, when extracting data, you can first extract based on the data type identifier, and then extract it again based on the device identifier; correspondingly, you can first extract based on the device identifier, and then extract it again based on the data type identifier. It can be understood that this embodiment has no restrictions on the method and order of data extraction, as long as the initial data including operation and maintenance data and cost value data can be obtained.
[0073] In one implementation, after the initial data is extracted from the original data, the extracted data may be integrated, scanned or sorted to obtain updated initial data, and the updated initial data may be constructed using a power grid data model to obtain model data.
[0074] Among them, data integration is to merge and unify different data to ensure data integrity and consistency. While integrating data, data cleaning, data conversion and other operations may also be required to ensure that different data can be merged and unified. Data scanning is an operation to check and traverse the data to identify abnormal data or key data in the data. Through data scanning, potential problems or potential correlations in the data can be discovered. Data sorting refers to the process of cleaning, converting and preparing raw data for subsequent analysis and visualization. Exemplarily, data sorting includes data cleaning steps such as removing duplicate values, handling missing values, and correcting errors, or data conversion steps such as format conversion, data normalization, and data merging, or data preparation steps such as selecting a suitable data structure, establishing indexes, and optimizing performance.
[0075] In one embodiment, before judging the model data according to the protocol conditions and the service conditions respectively, the method also includes: performing data validity detection on the model data and discarding invalid model data to obtain updated model data; judging the model data according to the protocol conditions and the service conditions respectively to obtain the protocol data and service data of the power grid system, including: judging the updated model data according to the protocol conditions and the service conditions respectively to obtain the protocol data and service data of the power grid system.
[0076] The data detection is used to check and evaluate the model data to determine whether the model data meets the detection criteria. In order to further reduce the amount of data processing, this embodiment detects the validity of the data before classifying the model data, and discards invalid data to reduce the amount of processing for model data classification judgment.
[0077] Exemplarily, invalid model data may be invalid due to data quality not meeting standards, such as duplicate values, wrong values, inconsistent data formats, etc.; invalid due to data security not meeting standards, such as data with potential risks, unencrypted data, etc.; invalid due to data integrity not meeting standards, such as data loss, damage, etc. Invalid model data is discarded from the model data to obtain updated model data, and the updated model data is judged according to the protocol conditions and service conditions to obtain protocol data and service data of the power grid system.
[0078] In one embodiment, the method further includes: sending the protocol data to different power-consuming terminals according to different device identifiers.
[0079] Exemplarily, after classifying the model data, the protocol data of different power terminals are stored together. When sending the protocol data to the power terminals, the protocol data can be sent to different power terminals through different device identifiers to improve the efficiency of data transmission.
[0080] In one embodiment, Figure 4 As shown, a method for processing a power grid data model is provided, comprising the following steps 402 to 410. Among them:
[0081] Step 402, read the original data in the power grid system database, and extract the original data to obtain initial data, wherein the initial data at least includes operation and maintenance data for characterizing the operating status of the equipment, and cost value data for characterizing the cost of the equipment's electricity consumption.
[0082] Among them, the power grid system database is a data source for summarizing various data of the power grid system, and data is extracted from the original data of the power grid system database to obtain initial data. When extracting data, you can first extract it according to the data type identifier, and then extract it again according to the device identifier; you can also first extract it according to the device identifier, and then extract it again according to the data type identifier; you can also extract it based on the data type identifier and the device identifier.
[0083] Step 404, obtaining a power grid data model, and constructing model data of the power grid system according to the power grid data model and the initial data.
[0084] Before constructing the model data, the initial data can also be processed by data integration, data scanning, data sorting, etc., so as to obtain the model data based on the unified data. Data integration is to merge and unify different data to ensure data integrity and consistency. Data scanning is to check and traverse the data to identify abnormal data or key data in the data. Data sorting refers to the process of cleaning, converting and preparing the original data for subsequent analysis and visualization.
[0085] Step 406, perform validity check on the model data, discard invalid model data, and obtain updated model data.
[0086] Among them, data detection is used to check and evaluate the model data to determine whether the model data meets the detection standards. In order to further reduce the amount of data processing, the validity of the data is tested before the model data is classified, and invalid data caused by data quality not meeting the standards, data security not meeting the standards, or data integrity not meeting the standards is discarded to reduce the processing volume of model data classification judgment.
[0087] Step 408, determining the protocol conditions and service conditions of the power grid system, and judging the updated model data according to the protocol conditions and service conditions respectively, to obtain the protocol data and service data of the power grid system.
[0088] Among them, the protocol conditions are used to characterize the constraints of each power terminal in the power grid system. Different power terminals correspond to different protocol conditions. For example, different power terminals require different data formats, transmission methods, and transmission protocols. The model data is judged according to the protocol conditions, and the data matching the protocol conditions is determined in the model data, and the data is sent to the power terminal.
[0089] Service conditions are used to characterize the constraints of the service control end or data processing end in the power grid system. Service conditions are generally similar to protocol conditions. The difference is that the model data that meets the service conditions is used to transmit to the control end such as the data platform, while the model data that meets the protocol conditions is used to transmit to the power terminal.
[0090] Step 410, sending the protocol data to the power user terminal through the protocol protocol, sending the service data to the Internet of Things platform, and storing the protocol data and the service data separately.
[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 data model processing system for implementing the power grid data model processing method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power grid data model processing system embodiments provided below can refer to the limitations on the power grid data model processing method above, and will not be repeated here.
[0093] In an exemplary embodiment, Figure 5 As shown, a power grid data model processing system is provided, including: an acquisition module 502, a classification module 504 and a processing module 506, wherein:
[0094] An acquisition module 502 is used to acquire initial data and a power grid data model of the power grid system, and construct model data of the power grid system according to the power grid data model and the initial data;
[0095] The classification module 504 is used to determine the protocol conditions and service conditions of the power grid system, and judge the model data according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system;
[0096] The processing module 506 is used to send the protocol data to the power consumption terminal through the protocol protocol, send the service data to the Internet of Things platform, and store the protocol data and the service data separately.
[0097] In one implementation, the acquisition module 502 further includes a data construction module, and the data construction module is used to construct model data of the power grid system according to the power grid data model and the initial data.
[0098] In one embodiment, the classification module 504 also includes a southbound specification module and a northbound service module, wherein: the southbound specification module is used to filter the model data through the specification conditions, and use the model data that meets the specification conditions as the specification data; the northbound service module is used to continue to filter the model data that does not meet the specification conditions through the service conditions, and use the model data that meets the service conditions as the service data.
[0099] In one embodiment, the acquisition module 502 may also include an extraction module, which is used to read the original data in the power grid system database; extract and integrate the original data according to the data type identifier and the device identifier, and obtain operation and maintenance data corresponding to different device identifiers for characterizing the equipment operating status, as well as cost value data for characterizing the equipment electricity cost.
[0100] Furthermore, when the original data is extracted and integrated respectively through the data type identifier and the device identifier, the extraction module in the acquisition module 502 also includes a first extraction sub-module and a second extraction sub-module, wherein the first extraction sub-module is used to extract the original data according to the data type identifier, and the second extraction sub-module is used to extract the original data according to the device identifier; or, the first extraction sub-module is used to extract the original data according to the device identifier, and the second extraction sub-module is used to extract the original data according to the data type identifier.
[0101] In one implementation, the acquisition module 502 also includes a data integration module, a data scanning module or a data sorting module, wherein the data integration module is used to integrate the extracted data, merge and unify different data, and ensure data integrity and consistency; the data scanning module is used to check and traverse the data to identify abnormal data or key data operations in the data, and potential problems or potential correlations in the data can be discovered through data scanning; the data sorting module is used to clean, convert and prepare the original data for subsequent analysis and visualization. After pre-processing such as integration, scanning, and sorting of the extracted initial data, the updated initial data is obtained, and the updated initial data is constructed through the power grid data model to obtain model data.
[0102] In one embodiment, the system also includes a detection module 508, which is connected to the classification module 504 and is used to: perform data validity detection on the model data and discard invalid model data to obtain updated model data; judge the model data according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system, including: judge the updated model data according to the protocol conditions and service conditions respectively to obtain the protocol data and service data of the power grid system.
[0103] In one embodiment, the processing module 506 is further configured to send the protocol data to different power consumption terminals according to different device identifiers.
[0104] In one embodiment, the system further includes a ledger module, which is used to store updated model data obtained after invalidity detection, and to store protocol data and service data separately after the model data is classified by a classification module.
[0105] Each module in the above-mentioned power grid data model processing system can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0106] 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 6As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is 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 of the power grid system. 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 data model processing method is implemented.
[0107] Those skilled in the art will understand that Figure 6 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.
[0108] 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 the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0109] 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.
[0110] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0111] 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.
[0112] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, 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 this application can include at least one of non-volatile 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), magnetoresistive 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, etc., but are not limited to this.
[0113] 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 specification.
[0114] 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 method for processing power grid data model, It is characterized in that The method comprises: Acquire initial data and a power grid data model of a power grid system, and construct model data of the power grid system according to the power grid data model and the initial data; Determining the protocol conditions and service conditions of the power grid system, and judging the model data according to the protocol conditions and the service conditions respectively, to obtain the protocol data and service data of the power grid system; The protocol data is sent to the power consumption terminal through the protocol protocol, the service data is sent to the Internet of Things cloud platform, and the protocol data and the service data are stored separately.
2. The method according to claim 1, It is characterized in that The judging the model data according to the protocol conditions and the service conditions respectively to obtain the protocol data and service data of the power grid system comprises: The model data is screened by the specification condition, and the model data satisfying the specification condition is used as the specification data; The model data that does not meet the specification condition is further screened according to the service condition, and the model data that meets the service condition is used as the service data.
3. The method according to claim 1, It is characterized in that The obtaining of initial data of the power grid system includes: Reading original data in the power grid system database; The original data is extracted and integrated according to the data type identifier and the device identifier respectively, to obtain operation and maintenance data corresponding to different device identifiers for characterizing the equipment operation status, and cost value data for characterizing the equipment electricity cost.
4. The method according to claim 1, It is characterized in that Before judging the model data according to the specification conditions and the service conditions respectively, the method further includes: Performing data validity check on the model data and discarding invalid model data to obtain updated model data; The judging the model data according to the protocol conditions and the service conditions respectively to obtain the protocol data and service data of the power grid system comprises: The updated model data is judged according to the protocol conditions and the service conditions respectively to obtain the protocol data and service data of the power grid system.
5. The method according to claim 1, It is characterized in that The method further comprises: The protocol data is sent to different power consumption terminals according to different device identifiers.
6. A power grid data model processing system, It is characterized in that The system comprises: An acquisition module, used for acquiring initial data and a power grid data model of a power grid system, and constructing model data of the power grid system according to the power grid data model and the initial data; A classification module, used to determine the protocol conditions and service conditions of the power grid system, and to judge the model data according to the protocol conditions and the service conditions respectively, so as to obtain the protocol data and service data of the power grid system; The processing module is used to send the protocol data to the power consumption terminal through the protocol protocol, send the service data to the Internet of Things platform, and store the protocol data and the service data respectively.
7. The system according to claim 6, It is characterized in that The classification module also includes a southbound protocol module and a northbound service module, wherein: The southbound specification module is used to filter the model data according to the specification conditions, and use the model data satisfying the specification conditions as the specification data; The northbound service module is used to continue screening the model data that does not meet the specification conditions according to the service conditions, and use the model data that meets the service conditions as the service data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is 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 5 are implemented.
10. A computer program product comprising a computer program, It is 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 5 are implemented.
