Power data integration method and device, electronic equipment and readable storage medium
1. A method of power data integration, the method comprising:
determining power production activities included in the overall power production and determining power production equipment used by each power production activity;
when the power production activity causes the attribute value of the measured attribute of the power production equipment used by the power production activity to change, acquiring equipment information of the power production equipment with the changed attribute value in the power production activity as target equipment information corresponding to the power production activity, and taking the measured attribute before and after the power production activity as the target attribute corresponding to the target equipment information;
and correspondingly storing the activity description information of each power production activity, the target equipment information corresponding to the power production activity and the target attribute to obtain an initial data system, wherein the initial data system comprises the time sequence relation of the power production activity.
2. The method according to claim 1, wherein, in a case where an electric power production activity causes a change in an attribute value of a measured attribute of an electric power production equipment used for the electric power production activity, the obtaining equipment information of the electric power production equipment of which the attribute value has changed in the electric power production activity as target equipment information corresponding to the electric power production activity, and taking the measured attributes before and after the electric power production activity as target attributes corresponding to the target equipment information, comprises:
obtaining at least one ordered set of power production activities according to a time sequence relationship between power production activities included in the entire power production;
and for each power production activity ordered set, sequentially determining whether each power production activity causes the change of the attribute value of each measured attribute of each used power production equipment according to the sequence of the power production activities in the power production activity ordered set, so as to obtain the target equipment information and the target attribute corresponding to the change when the change occurs.
3. The method of claim 2, wherein the determining whether each power production activity results in a change in an attribute value of each measured attribute of each power production equipment used to obtain the target equipment information and target attributes corresponding to the change when the change occurs comprises:
determining parts included in the power production equipment according to the engineering bill of materials (EBOM) file of the power production equipment;
when a change occurs in the detection value of the detection device of the component included in the power production equipment before and after the power production activity, the detection result of the detection device of the component corresponding to the change before and after the power production activity is taken as the target attribute, and the target equipment information of the power production equipment is obtained.
4. The method according to any one of claims 1-3, wherein said determining power production activities included in the overall power production comprises:
obtaining an electricity production business process model, wherein the electricity production business process model comprises activity information of electricity production activities included in the whole electricity production;
determining, by identification, an electrical production activity included in the overall electrical production based on the electrical production business process model.
5. The method according to any one of claims 1-3, further comprising:
and obtaining an attribute value of each target attribute in power production, and correspondingly storing the obtained attribute values into the initial data system to obtain a target data system, wherein in the target data system, the target attribute with the corresponding relation is correspondingly stored with the attribute value.
6. A power data integration apparatus, the apparatus comprising:
an information determination module for determining power production activities included in the entire power production and determining power production equipment used by each power production activity;
the information determining module is further used for acquiring the equipment information of the power production equipment with the changed attribute value in the power production activity as target equipment information corresponding to the power production activity when the attribute value of the measured attribute of the power production equipment used in the power production activity is changed due to the power production activity, and taking the measured attribute before and after the power production activity as the target attribute corresponding to the target equipment information;
the storage module is used for correspondingly storing the activity description information of each power production activity, the target equipment information and the target attribute corresponding to the power production activity so as to obtain an initial data system, wherein the initial data system comprises the time sequence relation of the power production activity.
7. The apparatus of claim 6, wherein the information determination module is specifically configured to:
obtaining at least one ordered set of power production activities according to a time sequence relationship between power production activities included in the entire power production;
and for each power production activity ordered set, sequentially determining whether each power production activity causes the change of the attribute value of each measured attribute of each used power production equipment according to the sequence of the power production activities in the power production activity ordered set, so as to obtain the target equipment information and the target attribute corresponding to the change when the change occurs.
8. The apparatus of claim 7, wherein the information determining module is specifically configured to:
determining parts included in the power production equipment according to the engineering bill of materials (EBOM) file of the power production equipment;
when a change occurs in the detection value of the detection device of the component included in the power production equipment before and after the power production activity, the detection result of the detection device of the component corresponding to the change before and after the power production activity is taken as the target attribute, and the target equipment information of the power production equipment is obtained.
9. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the power data integration method of any one of claims 1-5.
10. A readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing a power data integration method according to any one of claims 1-5.
Background
At present, the data system construction of the power data is mainly constructed by referring to an organizational structure-based functional system, for example, a data system is constructed according to the power data category directly related to a certain functional department. That is, the existing power data system construction technology will respectively construct the power business data of the power enterprise according to the longitudinal blocks, resulting in the data system being an independent block based on the organization structure. Many data are missing in the data system constructed in the mode.
Disclosure of Invention
The embodiment of the application provides a power data integration method, a device, electronic equipment and a readable storage medium, which can be used for constructing a data system for accurately and objectively reflecting a power production business process by taking power production activities carried out in the whole power production as a basis and combining power production equipment used in the activities and measured data of the equipment, so that the source of the data and the evolution trend of the next step can be obtained from the constructed data system.
The embodiment of the application can be realized as follows:
in a first aspect, an embodiment of the present application provides a power data integration method, where the method includes:
determining power production activities included in the overall power production and determining power production equipment used by each power production activity;
when the power production activity causes the attribute value of the measured attribute of the power production equipment used by the power production activity to change, acquiring equipment information of the power production equipment with the changed attribute value in the power production activity as target equipment information corresponding to the power production activity, and taking the measured attribute before and after the power production activity as the target attribute corresponding to the target equipment information;
and correspondingly storing the activity description information of each power production activity, the target equipment information corresponding to the power production activity and the target attribute to obtain an initial data system, wherein the initial data system comprises the time sequence relation of the power production activity.
In a second aspect, an embodiment of the present application provides a power data integration apparatus, including:
an information determination module for determining power production activities included in the entire power production and determining power production equipment used by each power production activity;
the information determining module is further used for acquiring the equipment information of the power production equipment with the changed attribute value in the power production activity as target equipment information corresponding to the power production activity when the attribute value of the measured attribute of the power production equipment used in the power production activity is changed due to the power production activity, and taking the measured attribute before and after the power production activity as the target attribute corresponding to the target equipment information;
the storage module is used for correspondingly storing the activity description information of each power production activity, the target equipment information and the target attribute corresponding to the power production activity so as to obtain an initial data system, wherein the initial data system comprises the time sequence relation of the power production activity.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the power data integration method described in the foregoing embodiment.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the power data integration method as described in the foregoing embodiments.
In the power data integration method, the device, the electronic device, and the readable storage medium provided in the embodiments of the present application, when determining a power production activity related to the entire power production and a power production device used in each power production activity, for each power production activity, when an attribute value of a measured attribute of the used power production device changes due to the power production activity, device information of the power production device of which the attribute value changes in the power production activity is obtained as target device information corresponding to the power production activity, and the measured attribute before and after the power production activity occurs is used as a target attribute corresponding to the target device information; and correspondingly storing the activity description information of each power production activity, the target equipment information corresponding to the power production activity and the target attribute to obtain an initial data system. Therefore, the business process is used as a reference object to construct a data system, so that the situations that the structure of the obtained data system is unreasonable and data is lost due to improper selection of the reference object can be avoided, and the actual requirements of the business taking the process as the center can be reflected; in addition, the constructed data system comprises the time sequence relation of the business processes and the data dimension corresponding to the data change caused by each business process, so that the data system comprises the dynamic business process relation, the source of the data and the evolution trend of the next step can be embodied, and the relevant information of each data can be conveniently obtained.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a power data integration method according to an embodiment of the present disclosure;
fig. 3 is a second schematic flowchart of a power data integration method according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a power data integration apparatus according to an embodiment of the present disclosure.
Icon: 100-an electronic device; 110-a memory; 120-a processor; 130-a communication unit; 200-a power data integration device; 210-an information determination module; 220-save module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Electricity, as a form of energy, is the main output of power production activities, is a special intangible product, and is transmitted at the speed of light, and needs to be sensed by specific tool means. The above characteristics determine that the construction of the data system using the power production as the main line has outstanding complexity, and unlike the manufacturing enterprises producing tangible products, the data main line of the manufacturing process cannot be integrally constructed by directly using physical products as objects.
At present, when a power data system is constructed, an organizational structure is mainly referred to as a core function system, and a business system mainly based on a process (particularly a cross-department and cross-field process) is not referred to. In this way, data loss occurs in the constructed data system due to inappropriate selection of the reference object according to which the data system is constructed. For example, in the data system corresponding to function 1, data of power generation activities unrelated to function 1 cannot be obtained.
Moreover, the existing data system construction method is mainly to construct the data system from the business of the enterprise according to the longitudinal plate and the longitudinal plate, so that the data system is still an independent plate using the organization structure as the basic frame, and a data main line system using the flow as the basic frame is not constructed. The construction of the data system is mainly under the constraint of the fixed position of the division of the organizational functions and thinking, and the actual requirements of the business taking the flow as the center cannot be reflected. That is, the current data system is partitioned into blocks, is not linearly related and integrated along the flow, and cannot meet the actual requirement of taking the flow as the center.
Meanwhile, in a data system constructed by taking a service domain plate as a center, the data system loses a dynamic service flow relationship, so that the data system only stores the data and does not know the appearance of the data, namely, only the data exists and the evolution trend of the data source and the next step is unknown.
In order to alleviate the above problem, embodiments of the present application provide a power data integration method, apparatus, electronic device, and readable storage medium.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, please refer to fig. 1, and fig. 1 is a block diagram illustrating an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 may be, but is not limited to, a computer, a server, etc. The electronic device 100 includes a memory 110, a processor 120, and a communication unit 130. The elements of the memory 110, the processor 120 and the communication unit 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used to store programs or data. The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory 110 and perform corresponding functions. For example, the memory 110 stores therein the power data integration apparatus 200, and the power data integration apparatus 200 includes at least one software functional module which can be stored in the memory 110 in the form of software or firmware (firmware). The processor 120 executes various functional applications and data processing by running software programs and modules stored in the memory 110, such as the power data integration device 200 in the embodiment of the present application, so as to implement the power data integration method in the embodiment of the present application.
The communication unit 130 is used for establishing a communication connection between the electronic apparatus 100 and another communication terminal via a network, and for transceiving data via the network. For example, the electronic device 100 sends the constructed initial data hierarchy to other devices through the communication unit 130 for use.
It should be understood that the structure shown in fig. 1 is only a schematic structural diagram of the electronic device 100, and the electronic device 100 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 is a schematic flow chart of a power data integration method according to an embodiment of the present disclosure. The method may be applied to the electronic device 100 described above. The specific flow of the power data integration method is described in detail below. The method can include steps S110 to S130.
Step S110 determines the power production activities included in the entire power production, and determines the power production equipment used for each power production activity.
In the present embodiment, the power generation activity included in the entire power generation, that is, the entire activity of the entire power generation may be determined by an arbitrary method.
As an alternative embodiment, the whole business process model of the power generation, that is, the power generation business process model, may be obtained first, and the basic unit included in the power generation business process model is the power generation activity. The power production business process model may include activity information for each power production activity, and as such, the power production business process model is an objective description and definition of the business process of power production. The power production activities included in the overall power production may be determined by identification based on the power production business process model.
When the power production activities are determined by identification, the power production activities may be identified and extracted one by one in the power production business process model according to the order of the activities in the model, so as to obtain an ordered set p.A of all power production activities, where the power production activities included in the set p.A are the power production activities included in the whole power production. This approach may avoid situations where power production activities are missed in the identification.
It is to be understood that the above-mentioned manner of determining the power generation activity included in the whole power generation through the power generation business process model is only an example, and the power generation activity included in the whole power generation may also be determined through other methods, and is not limited herein.
In the case of determining the power production activity, activity description information for the power production activity may also be determined based on the activity information for the power production activity to facilitate subsequent data preservation in the initial data hierarchy. Alternatively, the activity description information of an electricity production activity may be activity information of the electricity production activity, may be a brief description of the electricity production activity, and may be identification information of the electricity production activity. Such as the name of the activity, etc.
The development of power production activities requires corresponding plant facilities as material base and conditions. Unlike physical products of general manufacturing industry, the dynamics of electricity cannot be directly perceived, but the relevant information of electricity is reflected by the power generation facility through which it flows.
For example, in the process of power transmission, a transformer is required to convert the voltage. Therefore, the business process model related to power transmission necessarily includes activities such as voltage reduction (or voltage increase). The transformer is used as a main device for voltage reduction (or voltage increase), the activity of voltage reduction (or voltage increase) of the transformer is reflected by the detection result of the corresponding detection device on the transformer, and the detection result of the corresponding detection device on the transformer represents the data change caused by the activity of voltage reduction (or voltage increase).
Thus, in case an electrical power production activity is determined, also the electrical power production equipment used in the electrical power production activity may be determined. Alternatively, the power generation equipment involved in an electric power generation activity may be determined in any manner, for example, the power generation equipment involved in the electric power generation activity may be determined according to the activity information of the electric power generation activity; alternatively, the staff member may specify the power generation equipment related to each power generation activity and input this information into the electronic device 100, and optionally, the device information of the power generation equipment in the information received by the electronic device 100 may be stored in association with the activity description information of the power generation activity corresponding to the power generation equipment, so that the power generation equipment used in each power generation activity may be specified. The device information may be a device name or other identifier of the power device, or other information that can determine the device.
Optionally, in order to obtain the detection result of the corresponding detection device of the power generation equipment subsequently, an EBOM (Engineering Bill of Material) file produced by each power generation equipment may be further obtained, so as to determine the components included in each power generation equipment, and further obtain the measurement data (i.e., the detection result) of the detection device of each component subsequently.
As an alternative embodiment, the staff may input the EBOM of the power generation equipment depending on the power generation activity sequence included in the power generation business process model into the electronic device 100 according to the power generation business process model.
Step S120, when the power generation activity causes a change in the attribute value of the measured attribute of the power generation equipment used in the power generation activity, obtaining equipment information of the power generation equipment of which the attribute value has changed in the power generation activity as target equipment information corresponding to the power generation activity, and taking the measured attribute before and after the power generation activity as the target attribute corresponding to the target equipment information.
In this embodiment, the following analysis may be performed for each power production activity: determining whether the power production activity results in a change in an attribute value of each measured attribute of each power production device used in the power production activity; for each power generation facility for which the attribute value has changed, the facility information of the power generation facility is set as target facility information corresponding to the power generation event, and the measured attributes of the power generation facility before and after the power generation event (the measured attributes refer to the changed measured attributes) are set as target attributes corresponding to the target facility information.
The measured attribute may be specifically set in combination with the actual power generation device and the observation requirement, and is not specifically limited herein. The measured attributes refer to which aspects are detected, such as temperature, humidity, voltage values and the like; the attribute value of the measured attribute refers to a specific numerical value, such as a temperature value, a specific humidity value, a specific voltage value, and the like. For example, the measured property is temperature, and the property value of the measured property is 30 ℃.
As an alternative embodiment, the target device information and the target attribute corresponding to each power generation activity may be obtained as follows: obtaining at least one ordered set of power production activities according to a time sequence relationship between power production activities included in the entire power production; and for each power production activity ordered set, sequentially determining whether each power production activity causes the change of the attribute value of each measured attribute of each used power production equipment according to the sequence of the power production activities in the power production activity ordered set, so as to obtain the target equipment information and the target attribute corresponding to the change when the change occurs.
Optionally, a directed edge connecting two power production activities may be included in the power production business process model, the directed edge representing a flow relationship (the flow relationship including a timing relationship). The traversal can be performed from the first node (i.e., the initial power production activity) of the power production business process model p by combining all the directed edge sets p.R representing the flow relationships in the power production business process model p, so as to obtain an ordered relationship set of the power production activity, that is, ∀ r belongs to p.R. Therefore, at least one ordered set of power production activities can be obtained based on the time sequence relation, and the power production activities in the set can be ordered according to the time sequence.
The electric power production business process model may include a collection of electric power production activities included in various electric power productions, for example, a collection of electric power production activities related to three electric power productions of commercial power, dynamic power and direct current, and through the analysis of the above-mentioned combination timing relationship, an ordered collection of electric power production activities corresponding to the commercial power, the dynamic power and the direct current can be obtained.
In the case of obtaining the ordered set of power production activities, it may be sequentially determined, for each ordered set of power production activities, according to the ordering of the power production activities in the ordered set of power production activities, whether each power production activity causes a change in an attribute value of each measured attribute of each used power production device, and when the change occurs, device information of the power production device corresponding to the change is used as target device information corresponding to the power production activity, and the measured attributes before and after the occurrence of the power production activity corresponding to the change are used as target attributes corresponding to the target device information.
Optionally, the parts included in the power generation equipment can be determined according to the EBOM file of the power generation equipment; when a change occurs in the detection value of the detection device of the component included in the power production equipment before and after the power production activity, the detection result of the detection device of the component corresponding to the change before and after the power production activity is taken as the target attribute, and the target equipment information of the power production equipment is obtained.
For example, the set of power production equipment involved in the entire power production is D, ∀ a e p.A (a represents a power production campaign, p.A represents an ordered set of all power production campaigns for the entire power production), and the set of all equipment D associated with power production campaign a is determineda⊆D。
The set of devices of the power production activity a is denoted Da,∀d∈DaAnd d represents an electricity generation facility used by the electricity generation activity a, if the EBOM file of the electricity generation facility d is ebdI is ebdSet of all parts in (b), ∀ in∈ebd.I,inRepresenting one part in the set I; when the electricity production activity a leads to inThe test data (i.e., the detection result, the detection value) of the detection device (e.g., sensor) is changed, i is calculatednThe equipment information of the electric power production equipment d is taken as the target equipment information, and the detection results before and after the electric power production activity a is generated are taken asAndas data items (i.e., target attributes to which the target device information corresponds). Alternatively, the target attribute may be represented as: component inThe detection result of the detection device before and after the activity.
In this embodiment, each power generation activity is used as a factor for inducing data change, and data systems in the whole power generation process are connected in series along an activity sequence defined by a business process model, so as to implement management of a business data main line.
Step S130, correspondingly storing the activity description information of each power generation activity and the target device information and the target attribute corresponding to the power generation activity to obtain an initial data system.
Under the condition of obtaining the target device information corresponding to each power production activity and the target attribute corresponding to the target device, the activity description information of each power production activity, the target device information corresponding to the power production activity and the target attribute can be correspondingly stored, so that an initial data system is obtained. It is understood that the initial data system is a data frame, and the data frame may include activity description information of each power generation activity in the whole power generation, target device information corresponding to each power generation activity, and target attributes corresponding to the target device information, and may further include a time sequence relationship of the power generation activities. Therefore, based on the data frame, the source and the next trend of the data can be presented by combining the target attribute and the time sequence relation of the power production activity, and the relevant information of each data can be conveniently obtained from the data frame.
In the embodiment of the application, the business process is used as the reference object to construct the data system, so that the situations that the structure of the obtained data system is unreasonable and data is lost due to improper selection of the reference object can be avoided, and the actual requirements of the business taking the process as the center can be reflected. In addition, the constructed data system comprises the time sequence relation of the business processes and the data dimension corresponding to the data change caused by each business process, so that the data system comprises the dynamic business process relation, the source of the data and the evolution trend of the next step can be embodied, and the relevant information of each data can be conveniently obtained.
Referring to fig. 3, fig. 3 is a second schematic flow chart of the power data integration method according to the embodiment of the present application. In this embodiment, the method may further include step S140. Step S140 may be executed simultaneously with step S120, or may be executed after step S120, and the execution order is not specifically limited herein.
Step S140, obtaining an attribute value of the target attribute in power generation, and correspondingly storing the obtained attribute value into the initial data system to obtain a target data system.
In this embodiment, the attribute value of the target attribute in the initial data system may be obtained according to an actual production condition, and the attribute value is stored in a position corresponding to the target attribute in the initial data system, so as to obtain the target data system. That is, in the target data system, the target attribute having the corresponding relationship is stored in correspondence with the attribute value. From the target data system, various information (for example, used equipment, data change of the equipment caused by the activity, and the like) in the power production activity in the power production can be obtained, so that the user requirements can be met.
Optionally, in generating the target data hierarchy, attribute values of all target attributes in the initial data hierarchy may be obtained, or only attribute values of a part of the target attributes may be obtained. The part of target attributes may be determined in accordance with specific requirements, for example, if only a target data system corresponding to the commercial power condition is required, only an attribute value of the target attribute related to the commercial power may be obtained.
Optionally, in the case of obtaining the target data hierarchy, an actual database may be further constructed according to the target data hierarchy, so as to provide a corresponding service through the database.
According to a theoretical method and tools of an E-R (Entity-Relationship Model), electric power production equipment in the target data system is used as an Entity, target attributes and attribute values are used as attributes, connected activities are used as relations, an ER Entity relation is constructed and output, and then tools such as UML (unified modeling language), Rose (Rose), Powerdesign and the like are used for converting output results into an actual database table.
In order to perform the corresponding steps in the above embodiments and various possible manners, an implementation manner of the power data integration apparatus 200 is given below, and optionally, the power data integration apparatus 200 may adopt the device structure of the electronic device 100 shown in fig. 1. Further, referring to fig. 4, fig. 4 is a block diagram illustrating a power data integration apparatus 200 according to an embodiment of the present disclosure. It should be noted that the basic principle and the generated technical effect of the power data integration apparatus 200 provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, no part of the present embodiment is mentioned, and corresponding contents in the above embodiments may be referred to. The power data integration device 200 may include: an information determination module 210 and a storage module 220.
The information determination module 210 is configured to determine the power generation activities included in the entire power generation, and determine the power generation equipment used by each power generation activity.
The information determining module 210 is further configured to, when an electric power production activity causes a change in an attribute value of a measured attribute of an electric power production device used in the electric power production activity, obtain device information of the electric power production device of which the attribute value is changed in the electric power production activity as target device information corresponding to the electric power production activity, and take the measured attribute before and after the electric power production activity as a target attribute corresponding to the target device information.
The saving module 220 is configured to correspondingly save the activity description information of each power generation activity, and the target device information and the target attribute corresponding to the power generation activity, so as to obtain an initial data system, where the initial data system includes a time sequence relationship of the power generation activity.
Optionally, in this embodiment, the information determining module 210 is specifically configured to: obtaining at least one ordered set of power production activities according to a time sequence relationship between power production activities included in the entire power production; and for each power production activity ordered set, sequentially determining whether each power production activity causes the change of the attribute value of each measured attribute of each used power production equipment according to the sequence of the power production activities in the power production activity ordered set, so as to obtain the target equipment information and the target attribute corresponding to the change when the change occurs.
Optionally, in this embodiment, the information determining module 210 is specifically configured to: determining parts included in the power production equipment according to the engineering bill of materials (EBOM) file of the power production equipment; when a change occurs in the detection value of the detection device of the component included in the power production equipment before and after the power production activity, the detection result of the detection device of the component corresponding to the change before and after the power production activity is taken as the target attribute, and the target equipment information of the power production equipment is obtained.
Optionally, in this embodiment, the information determining module 210 is specifically configured to: obtaining an electricity production business process model, wherein the electricity production business process model comprises activity information of electricity production activities included in the whole electricity production; determining, by identification, an electrical production activity included in the overall electrical production based on the electrical production business process model.
Optionally, in this embodiment, the saving module 220 is further configured to: and obtaining an attribute value of each target attribute in power production, and correspondingly storing the obtained attribute values into the initial data system to obtain a target data system, wherein in the target data system, the target attribute with the corresponding relation is correspondingly stored with the attribute value.
Alternatively, the modules may be stored in the memory 110 shown in fig. 1 in the form of software or Firmware (Firmware) or may be fixed in an Operating System (OS) of the electronic device 100, and may be executed by the processor 120 in fig. 1. Meanwhile, data, codes of programs, and the like required to execute the above-described modules may be stored in the memory 110.
The embodiment of the application also provides a readable storage medium, on which a computer program is stored, and the computer program realizes the power data integration method when being executed by a processor.
In summary, embodiments of the present application provide an electric power data integration method, an apparatus, an electronic device, and a readable storage medium, where, when an electric power production activity involved in the entire electric power production and an electric power production device used in each electric power production activity are determined, for each electric power production activity, when an attribute value of a measured attribute of the electric power production device used is changed due to the electric power production activity, device information of the electric power production device of which the attribute value is changed in the electric power production activity is obtained as target device information corresponding to the electric power production activity, and the measured attribute before and after the electric power production activity is generated is used as a target attribute corresponding to the target device information; and correspondingly storing the activity description information of each power production activity, the target equipment information corresponding to the power production activity and the target attribute to obtain an initial data system. Therefore, the business process is used as a reference object to construct a data system, so that the situations that the structure of the obtained data system is unreasonable and data is lost due to improper selection of the reference object can be avoided, and the actual requirements of the business taking the process as the center can be reflected; in addition, the constructed data system comprises the time sequence relation of the business processes and the data dimension corresponding to the data change caused by each business process, so that the data system comprises the dynamic business process relation, the source of the data and the evolution trend of the next step can be embodied, and the relevant information of each data can be conveniently obtained.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The foregoing is illustrative of only alternative embodiments of the present application and is not intended to limit the present application, which may be modified or varied by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.