Equipment running state data processing method and device, equipment, medium and program
By classifying the device operating status data, and using the combination of state databases and non-state databases, the problems of high storage cost and poor management flexibility are solved, and lossless storage and efficient management are achieved.
Patent Information
- Application Number
- CN202510482430.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-07-11
AI Technical Summary
When the existing technology faces the huge amount of data generated by the device, it cannot effectively solve the problems of high storage costs and poor management flexibility, resulting in low data processing efficiency.
By classifying the device's operating status data, storing state data using a state database and storing non-state data using a non-state database, different storage strategies are adopted to achieve lossless storage and flexible management.
It realizes lossless storage of device operating status data, reduces storage costs and improves the flexibility and efficiency of data management.
Smart Images

Figure CN120296017A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of data processing, and in particular, to a method, device, equipment, medium and program for processing device operation status data. Background Art
[0002] With the continuous development of technology, the types of devices are becoming increasingly rich, and their internal structures are becoming increasingly complex, which leads to a sharp increase in the amount of data generated by devices. Currently, in the face of the continuously expanding data scale, enterprises mainly reduce the occupation of physical storage space by compressing historical data or performing backups, or use high-performance storage media to improve data reading and writing speeds. However, these methods can only alleviate the problem to a certain extent and cannot fundamentally solve the challenges brought by the huge amount of data. Summary of the Invention
[0003] Embodiments of the present invention provide a method, device, equipment, medium and program for processing device operation status data, which can achieve lossless storage of data, reduce the storage cost of data, and improve the flexibility of data management at the same time.
[0004] According to one aspect of the present invention, there is provided a method for processing device operation status data, including:
[0005] Obtaining current data to be processed of a target system device;
[0006] When it is determined that the current data to be processed is status data of the target system device, storing the current data to be processed in a status database;
[0007] When it is determined that the current data to be processed is non-status data of the target system device, storing the current data to be processed in a non-status database according to a non-status data storage policy.
[0008] According to another aspect of the present invention, there is provided a device for processing device operation status data, including:
[0009] A current data to be processed obtaining module, configured to obtain current data to be processed of a target system device;
[0010] A status data storage module, configured to store the current data to be processed in a status database when it is determined that the current data to be processed is status data of the target system device;
[0011] A non-status data storage module, configured to store the current data to be processed in a non-status database according to a non-status data storage policy when it is determined that the current data to be processed is non-status data of the target system device.
[0012] According to another aspect of the present invention, there is provided an electronic device, which includes:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the device operation state data processing method according to any embodiment of the present invention.
[0016] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the device operation state data processing method according to any embodiment of the present invention when executed.
[0017] According to another aspect of the present invention, there is also provided a computer program product including a computer program which implements the device operation state data processing method according to any embodiment of the present invention when executed by a processor.
[0018] In the embodiments of the present invention, by obtaining the current data to be processed of the target system device and judging the type of the current data to be processed. Further, when it is determined that the current data to be processed is the status data of the target system device, the current data to be processed is stored in the status database; when it is determined that the current data to be processed is non-status data of the target system device, according to the non-status data storage strategy, the current data to be processed is stored in the non-status database, which solves the problems of high storage cost and poor management flexibility existing in the existing data processing methods, can achieve lossless storage of data, reduce the storage cost of data, and improve the flexibility of data management at the same time.
[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.
[0021] Figure 1It is a flowchart of a method for processing device operation status data provided in the first embodiment of the present invention;
[0022] Figure 2 It is a schematic diagram of monitoring data of various levels of devices in an energy storage power station provided in the first embodiment of the present invention;
[0023] Figure 3 It is a flowchart of a method for processing device operation status data provided in the second embodiment of the present invention;
[0024] Figure 4 It is a flowchart of processing device operation status data of an energy storage power station provided in the second embodiment of the present invention;
[0025] Figure 5 It is a schematic flowchart of Strategy 1 for classification and downsampling according to measurement point types provided in the second embodiment of the present invention;
[0026] Figure 6 It is a schematic flowchart of Strategy 2 for classification and downsampling according to measurement point types provided in the second embodiment of the present invention;
[0027] Figure 7 It is a schematic flowchart of Strategy 3 for classification and downsampling according to measurement point types provided in the second embodiment of the present invention;
[0028] Figure 8 It is a schematic flowchart of Strategy 4 for classification and downsampling according to measurement point types provided in the second embodiment of the present invention;
[0029] Figure 9 It is a schematic diagram of a device operation status data processing device provided in the third embodiment of the present invention;
[0030] Figure 10 It is a schematic structural diagram of an electronic device provided in the fourth embodiment of the present invention. Detailed implementation manners
[0031] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
[0032] It should be noted that the terms "first", "second", "target", etc. in the description, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0033] Embodiment 1
[0034] Figure 1 It is a flowchart of a method for processing device operation status data provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of storing a large amount of device data in different regions according to different storage strategies. This method can be executed by a device operation status data processing device, which can be implemented in software and / or hardware, and is generally integrated in an electronic device. The electronic device can be a terminal device or a server device, as long as it can execute the device operation status data processing method. The present invention does not limit the specific type of the electronic device. Correspondingly, as Figure 1 shown, the method includes the following operations:
[0035] S110. Obtain the currently to-be-processed data of the target system device.
[0036] Among them, the target system device can be any device that needs to process data. For example, it can include but is not limited to energy storage power station devices, cluster system devices, computer systems, Internet of Things devices, etc., as long as there is a data processing requirement. The present invention does not limit the specific type of the target system device. The currently to-be-processed data can be real-time data generated by the target system device during operation.
[0037] In the embodiment of the present invention, when it is necessary to process the data of a certain system device, the system device can be used as the target system device, and the currently to-be-processed data of the target system device can be obtained to process the currently to-be-processed data of the target system device.
[0038] In a specific example, assume that the target system device is an energy storage power station device. Then the current data to be processed can be the voltage, current, power, switch quantity, temperature, humidity, SOH (State of Health), battery SOC (State of Charge), charge and discharge amount, alarm information, early warning information, etc. of the devices at all levels of the energy storage power station.
[0039] S120. Determine whether the current data to be processed is the status data of the target system device. If so, execute S130; otherwise, execute S140.
[0040] Among them, the status data can be a set of information describing the current operating condition, health status, and related parameters of the target system device. Exemplarily, the status data can include but is not limited to the device status data and device alarm status data of the target system device. The embodiments of the present invention do not limit the specific data type of the status data. In a specific example, assume that the target system device is an energy storage power station device. Then the device status data can include but is not limited to the operating status of all levels of the energy storage power station, such as the stack operating status, cluster operating status, and cluster EPO (Emergency Power Off) status, etc., for example, charging or discharging status, stationary status, and status switching or alarm, etc. The device alarm status data can include but is not limited to stack overcurrent early warning, stack SOC too high early warning, cluster insulation low early warning, cluster temperature imbalance alarm, and cluster thermal runaway fault, etc. The embodiments of the present invention do not limit the specific data type of the device alarm status data.
[0041] Correspondingly, the non-status data can be data generated during the operation of the target system device but having no direct association with the operating status of the target system device. In a specific example, assume that the target system device is an energy storage power station device. According to different data measurement points, the non-status data can include but is not limited to the monitoring data of the devices at all levels of the energy storage power station during operation, such as the monitoring data of devices above the cluster level, cell monitoring data, status binding data, and SOH data, etc., which are time-series data. The embodiments of the present invention do not limit the specific data type of the non-status data. Among them, Figure 2 is a schematic diagram of the monitoring data of the devices at all levels of an energy storage power station provided by Embodiment 1 of the present invention. As Figure 2As shown, the monitoring data of each level of equipment in the energy storage power station may include, but are not limited to, the cumulative charging or discharging power of the power station, the SOC of the power station, the cumulative charging or discharging power of the unit, the total voltage of the battery stack, the total power of the battery stack, the SOC of the cluster, the cluster voltage, and the cluster current, etc. The monitoring data of the battery cells may include, but are not limited to, the temperature of the battery cells, the voltage of the battery cells, and the SOC of the battery cells, etc. The state binding data may include, but are not limited to, the temperature difference of the battery stack and the cluster numbers where the maximum temperature of the battery stack is located, the cluster number where the minimum temperature of the battery stack is located, the voltage difference of the cluster and the maximum single cell voltage of the cluster, the minimum single cell voltage of the cluster, the module number of the maximum voltage of the cluster, the module number of the minimum voltage of the cluster, the battery cell number in the module with the maximum voltage of the cluster, and the battery cell number in the module with the minimum voltage of the cluster, etc. The SOH data may include, but are not limited to, the SOH of the power station, the SOH of the unit, the SOH of the battery stack, the SOH of the battery cluster, and the SOH of the battery cells, etc.
[0042] S130. Store the current data to be processed into the state database.
[0043] Among them, the state database may be a database for storing and managing the state data of the target system equipment.
[0044] In the embodiment of the present invention, after obtaining the current data to be processed of the target system equipment, the data type of the current data to be processed may be judged. If it is determined that the current data to be processed is state data, the current data to be processed may be stored in the state database, such as the MySQL database. The state database has the characteristics of high performance and low latency, and can support the rapid writing and query of real-time data, so as to meet the requirements of real-time monitoring and rapid response to the state of the target system equipment. In this way, the data processing system can effectively manage and utilize the state data, providing strong support for the stable operation and maintenance of the target system equipment.
[0045] S140. Store the current data to be processed into the non-state database according to the non-state data storage strategy.
[0046] Among them, the non-state data storage strategy may be a method for storing and managing non-state data. The non-state database may be a database for storing and managing the non-state data of the target system equipment.
[0047] Correspondingly, if it is determined that the current data to be processed is non-state data, the current data to be processed may be stored in the non-state database according to the preset non-state data storage strategy, such as IOTDB (Internet of Things Database). IOTDB is a time series database and can be used to store non-state data. The non-state database has the characteristics of high concurrency support, flexibility, and scalability, and can support the storage and processing of large-scale data. This storage strategy can not only meet the storage requirements of non-state data, but also optimize the storage cost and the performance of the data processing system.
[0048] It can be seen that the method for processing device operation status data provided by the embodiments of the present invention can achieve lossless storage of massive data of the target system device by storing the status data and non-status data of the current data to be processed of the target system device in different databases. At the same time, storing non-status data according to different non-status data storage strategies can reduce the storage cost of data, improve the flexibility of data management, and provide strong support for the stable operation and maintenance of the target system device.
[0049] The embodiments of the present invention obtain the current data to be processed of the target system device and determine the type of the current data to be processed. Further, in the case where it is determined that the current data to be processed is the status data of the target system device, the current data to be processed is stored in the status database; in the case where it is determined that the current data to be processed is the non-status data of the target system device, according to the non-status data storage strategy, the current data to be processed is stored in the non-status database, solving the problems of high storage cost and poor management flexibility existing in the existing data processing methods, being able to achieve lossless storage of data, reduce the storage cost of data, and improve the flexibility of data management at the same time.
[0050] Embodiment 2
[0051] Figure 3 It is a flowchart of a method for processing device operation status data provided by Embodiment 2 of the present invention. This embodiment is specific based on the above embodiment. In this embodiment, various specific and optional implementation manners of storing the current data to be processed in the non-status database according to the non-status data storage strategy are given. Correspondingly, as Figure 3 shown, the method of this embodiment may include:
[0052] S210. Obtain the current data to be processed of the target system device.
[0053] S220. Determine whether the current data to be processed is the status data of the target system device. If so, execute S230; otherwise, execute S240a, S240b, and S240c.
[0054] S230. Store the current data to be processed in the status database.
[0055] S240a. Determine the real-time storage period of the non-status data.
[0056] Among them, the real-time storage period may be the time interval for the non-status database to store non-status data. For example, it may store all non-status data within the recent month.
[0057] In an embodiment of the present invention, when it is determined that the current data to be processed is non-status data of a target system device, the real-time storage period of the non-status data can be determined, and thus the current data to be processed can be stored according to the real-time storage period of the non-status data.
[0058] S250a. Store the current data to be processed within the real-time storage period into the real-time database.
[0059] Among them, the non-status database may include a real-time database. The real-time database may be a database system for processing and storing real-time data. In an embodiment of the present invention, the real-time database may be used to store all non-status data of the target system device in real time.
[0060] Correspondingly, after determining the real-time storage period of the non-status data, the current data to be processed within the real-time storage period can be stored into the real-time database. It can be understood that the data stored in the real-time database is the data of the target system device within the real-time storage period. If a certain data is not within the real-time storage period, the data can be deleted from the real-time database. Figure 4 It is a flowchart of processing operation status data of an energy storage power station device provided in the second embodiment of the present invention. In a specific example, such as Figure 4 shown, the real-time database can set a timing task to regularly clean up expired data to ensure that only the latest data in the most recent period is retained in the real-time database. Assume that the current time is March 10, 2025, and the real-time storage period is 1 month, then the data in the real-time database before February 10, 2025 should be deleted.
[0061] S240b. Collect the current data to be processed at the first collection frequency to obtain the first target collection data.
[0062] Among them, the first collection frequency may be the number of times of collecting data from the current data to be processed per unit time. The first target collection data may be the data obtained by collecting data from the current data to be processed at the first collection frequency.
[0063] In an embodiment of the present invention, when it is determined that the current data to be processed is non-status data of a target system device, data collection can also be performed on the current data to be processed according to a data storage algorithm at a preset first collection frequency, so as to obtain target collection data. It should be noted that the first collection frequencies of different types of data in the first target collection data can be the same or different. This process can ensure that non-status data can be collected and processed in an efficient and orderly manner, thereby improving the availability and value of the data. Taking the data collection of a 200MW / 400MWH energy storage power station equipment as an example, the first collection frequency of the equipment-level measurement points above the battery cells can be 1 second / time, and the first collection frequency of the battery cell-level measurement points can be 10 seconds / time. The first collection frequency can be determined according to factors such as application scenarios and requirements, as well as equipment characteristics. The embodiments of the present invention do not limit the specific value of the first collection frequency.
[0064] S250b. Classify the first target collection data to obtain multiple classified collection data.
[0065] Among them, the classified collection data can be classified data obtained by classifying the first target collection data.
[0066] Correspondingly, after data collection is performed on the current data to be processed at the first collection frequency to obtain the first target collection data, the first target collection data can be classified to obtain multiple classified collection data.
[0067] S260b. Store each of the classified collection data in the downsampling database according to the data type of the classified collection data.
[0068] Among them, the non-status database can also include a downsampling database, and the downsampling database can be a database system for storing and managing downsampled data. In an embodiment of the present invention, the downsampling database can be used to store the downsampled non-status data of the target system device.
[0069] Correspondingly, after classifying the first target collection data to obtain multiple classified collection data, the data type of the classified collection data can be judged. Further, data sampling can be performed on each classified collection data according to the data type of the classified collection data, so that the sampled results of each classified collection data can be stored in the downsampling database.
[0070] In an alternative embodiment of the present invention, storing each of the classified acquisition data into the downsampling database according to the data type of the classified acquisition data may include: determining data storage reference information for each of the classified acquisition data according to the data type of the classified acquisition data; wherein the data storage reference information includes a data storage time interval and a target classified data value; obtaining target classified acquisition data from each of the classified acquisition data according to the data storage reference information; and storing the target classified acquisition data into the downsampling database.
[0071] Among them, the data storage reference information may be key information used to guide and optimize the storage of each classified acquisition data during the data storage process. Exemplarily, the data storage reference information may include, but is not limited to, a data storage time interval and a target classified data value. The data storage time interval may be the time interval for storing each classified acquisition data once. The target classified data value may be the number of data to be stored when each classified acquisition data is stored once. It can be understood that the data storage time intervals and target classified data values of each classified acquisition data may be the same or different. The target classified acquisition data may be classified acquisition data determined according to the data storage time interval and the target classified data value.
[0072] In an embodiment of the present invention, during the process of storing each classified acquisition data into the downsampling database according to the data type of the classified acquisition data, first, data storage reference information including values such as a data storage time interval and a target classified data value may be determined according to the data type of the classified acquisition data. For example, for some data with relatively slow changes and / or relatively low timeliness requirements, the data storage time interval can be appropriately lengthened; while for those data with strong real-time performance and / or frequent fluctuations, the data storage time interval needs to be correspondingly shortened. Further, target classified acquisition data can be obtained from each of the classified acquisition data according to the data storage time interval and the target classified data value.
[0073] Optionally, after obtaining the target classified acquisition data, unified format conversion can be performed on the target classified acquisition data, and feature calculation can be performed. Finally, the target classified acquisition data can be stored into the downsampling database. The above method can reduce the amount of redundant data through downsampling and classified storage, realizing efficient and reliable data storage management, and providing a solid foundation for subsequent data analysis and applications.
[0074] In a specific example, assuming that the target system device is an energy storage power station device, different processing strategies can be formulated for the working state of the battery stack in the energy storage power station device, and different processing can be performed on data of different measurement point types.
[0075] In a specific example, it is assumed that the measurement point data of type I is the monitoring data of each level of equipment in the energy storage power station, the measurement point data of type II is the battery cell detection data, the measurement point data of type III is the status binding data, and the measurement point data of type IV is the SOH data. Figure 5 is a schematic flowchart of Strategy 1 for classified downsampling according to the measurement point type provided in the second embodiment of the present invention, as Figure 5 shown. Strategy 1 is that when the energy storage power station equipment is in the charging or discharging state, for the measurement point data of type I, four feature points (the first value, the last value, the maximum value, and the minimum value) can be extracted every 2 minutes for storage. This data storage strategy can retain key trend data and eliminate non-sensitive data; for the measurement point data of type II, the data can be saved once every 1 minute; for the measurement point data of type IV, two feature points (the maximum value and the minimum value) can be extracted every 1 hour for storage.
[0076] Figure 6 is a schematic flowchart of Strategy 2 for classified downsampling according to the measurement point type provided in the second embodiment of the present invention, as Figure 6 shown. Strategy 2 is that when the energy storage power station equipment switches states or alarms, for the measurement point data of type I and type II, the full amount of original data for 5 minutes before and after the switching moment can be retained; for the measurement point data of type III, the full amount of original data for 5 minutes before and after the switching moment can be retained; for the measurement point data of type IV, two feature points (the maximum value and the minimum value) can be extracted every 1 hour for storage.
[0077] Figure 7 is a schematic flowchart of Strategy 3 for classified downsampling according to the measurement point type provided in the second embodiment of the present invention, as Figure 7 shown. Strategy 3 is that when the energy storage power station equipment is in the stationary state, for the measurement point data of type I, two feature points (the maximum value and the minimum value) can be extracted every 5 minutes for storage; for the measurement point data of type II, the data can be saved once every 5 minutes; for the measurement point data of type IV, two feature points (the maximum value and the minimum value) can be extracted every 2 hours for storage. It can be understood that when the energy storage power station equipment is in the charging or discharging state or the stationary state, the data processing system mainly focuses on the core operating parameters of the equipment and does not involve the measurement point data of type III. Therefore, when the energy storage power station equipment is in the charging or discharging state and the stationary state, the data processing system will not store the measurement point data of type III, thereby optimizing the storage resources and further improving the data management efficiency.
[0078] S240c. Collect data from the real-time database according to the second collection frequency to obtain the second target collection data.
[0079] Among them, the second collection frequency can be the number of times of collecting data from the real-time database within a unit time. The second target collection data can be the collection data obtained by collecting data from the real-time database according to the second collection frequency.
[0080] In the embodiment of the present invention, when it is determined that the current data to be processed is non-status data of the target system device, the value of the second collection frequency can also be determined. Further, data can be collected from the real-time database according to the second collection frequency, and the collected data can be used as the second target collection data.
[0081] S250c. Generate status binding data of the target feature element of the target system device according to the second target collection data.
[0082] Among them, the target feature element can be a feature element related to the target system device. For example, the key parameters during the operation of the target system device can include, but are not limited to, temperature and voltage, etc. The status binding data can be a data form that binds the operating status of the target system device to the relevant feature elements.
[0083] Correspondingly, after collecting the second target collection data from the real-time database according to the second collection frequency, the status binding data of the target feature element of the target system device can be generated according to the second target collection data. Specifically, the feature trend data of the target feature element in each level of the target system device in the real-time library can be obtained according to the second target collection data. Further, the status binding data of the target feature element can be determined according to the feature trend data of the target feature element.
[0084] Continuing with the above example for illustration, Figure 8 is a schematic flowchart of Strategy 4 for classification and downsampling according to the measurement point type provided in the second embodiment of the present invention, as Figure 8 shown. Assuming that the target system device is an energy storage power station device, data can be collected from the real-time database once every 5 minutes, and the feature trends of the temperature range and voltage range in each level of the energy storage power station device can be extracted. Further, the measured point data bound, that is, the status binding data, can be obtained according to the timestamps of the temperature range and voltage range data. After time alignment, the status binding data can be stored in the downsampling database.
[0085] S260c. Store the status binding data in the downsampling database.
[0086] Correspondingly, after obtaining the status binding data of the target feature element of the target system device, the status binding data can be stored in the downsampling database.
[0087] Optionally, during the data downsampling and storage process, the trend noise reduction and equidistant processing technologies provided by the non-state database can be utilized to ensure the consistency of the data sparsity degree, thereby making the data curve smoother, and further improving the fluency of the front-end rendering and the user experience.
[0088] Optionally, in the data display link, the data processing system can extract the required data from different databases according to the time of querying the data. At the same time, the powerful trend query function of the non-state database can be utilized, and combined with its automatic data point filling ability, the efficiently processed data can be returned to the front end for visual display.
[0089] In a specific example, assume that the target system device is an energy storage power station device. In this embodiment, the data of a 200MW / 400MWH energy storage power station device is used as a test sample. The data acquisition frequency of the equipment-level measurement points above the battery cell is 1 second / time, and the data acquisition frequency of the battery cell-level measurement points is 10 seconds / time. Table 1 is a test effect table provided by the second embodiment of the present invention. As shown in Table 1, after adopting the equipment operation state data processing method proposed by the present invention, while retaining the characteristic data of the data, the data volume is reduced to about 1 / 17 of the original, and the downsampling rate is about 94%, significantly reducing the occupation of storage resources. At the same time, the improvement of the data storage efficiency directly drives the leap of the data operation performance. Taking the operation of querying the historical data of the past month as an example, with the support of the efficient storage mechanism, the query time-consuming is greatly shortened, and it only takes 86 milliseconds to complete. In addition, the data growth trend is also effectively controlled, avoiding the negative impact on the performance of the data processing system caused by the unrestricted expansion of the data. This fully proves the excellent effect of the present invention in dealing with the problems of massive data storage and real-time monitoring of megawatt-level energy storage power station devices.
[0090] Table 1 Test Effect Table
[0091]
[0092] In an embodiment of the present invention, the current data to be processed of the target system device is obtained, and the type of the current data to be processed is determined. Further, in the case where it is determined that the current data to be processed is the status data of the target system device, the current data to be processed is stored in the status database. In the case where it is determined that the current data to be processed is non-status data of the target system device, the real-time storage period of the non-status data can be determined, and the current data to be processed within the real-time storage period is stored in the real-time database; it is also possible to collect the current data to be processed at the first acquisition frequency to obtain the first target acquisition data, and classify the first target acquisition data to obtain various classified acquisition data, so that each classified acquisition data can be stored in the downsampling database according to the data type of the classified acquisition data; it is also possible to collect the real-time database at the second acquisition frequency to obtain the second target acquisition data, so that the status binding data of the target feature elements of the target system device can be generated according to the second target acquisition data, and the status binding data is stored in the downsampling database. The above solution solves the problems of high storage cost and poor management flexibility existing in the existing data processing methods, can achieve lossless storage of data, reduce the storage cost of data, and improve the flexibility of data management at the same time.
[0093] In the technical solution of the present disclosure, the processing of the collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information involved all complies with the provisions of relevant laws and regulations and does not violate public order and good customs.
[0094] It should be noted that any permutation and combination of the technical features in the above embodiments also fall within the protection scope of the present invention.
[0095] Embodiment III
[0096] Figure 9 is a schematic diagram of a device operation status data processing device provided in Embodiment III of the present invention, as Figure 9 shown, the device includes: a current data to be processed acquisition module 310, a status data storage module 320, and a non-status data storage module 330, where:
[0097] The current data to be processed acquisition module 310 is configured to acquire the current data to be processed of the target system device.
[0098] The status data storage module 320 is configured to store the current data to be processed in the status database in the case where it is determined that the current data to be processed is the status data of the target system device.
[0099] The non-status data storage module 330 is configured to store the current data to be processed in the non-status database according to the non-status data storage policy in the case where it is determined that the current data to be processed is the non-status data of the target system device.
[0100] In an embodiment of the present invention, the current data to be processed of the target system device is obtained, and the type of the current data to be processed is judged. Further, in the case where it is determined that the current data to be processed is the status data of the target system device, the current data to be processed is stored in the status database; in the case where it is determined that the current data to be processed is the non-status data of the target system device, according to the non-status data storage policy, the current data to be processed is stored in the non-status database, solving the problems of high storage cost and poor management flexibility existing in the existing data processing methods, enabling lossless storage of data, reducing the storage cost of data, and at the same time improving the flexibility of data management.
[0101] Optionally, the non-status database may include a real-time database, and the non-status data storage module 330 is specifically used for: determining the real-time storage period of the non-status data; storing the current data to be processed within the real-time storage period in the real-time database.
[0102] Optionally, the non-status database may include a downsampling database, and the non-status data storage module 330 is further used for: performing data acquisition on the current data to be processed at a first acquisition frequency to obtain first target acquisition data; classifying the first target acquisition data to obtain multiple classified acquisition data; storing each classified acquisition data in the downsampling database according to the data type of the classified acquisition data.
[0103] Optionally, the non-status data storage module 330 is further used for: performing data acquisition on the real-time database at a second acquisition frequency to obtain second target acquisition data; generating status binding data of the target feature elements of the target system device according to the second target acquisition data; storing the status binding data in the downsampling database.
[0104] Optionally, the non-status data storage module 330 is further used for: determining data storage reference information of each classified acquisition data according to the data type of the classified acquisition data; where the data storage reference information includes a data storage time interval and a target classified data value; obtaining target classified acquisition data from each classified acquisition data according to the data storage reference information; storing the target classified acquisition data in the downsampling database.
[0105] Optionally, the target system device may include an energy storage power station device or a cluster system device.
[0106] The above-mentioned device operation status data processing apparatus can execute the device operation status data processing method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution of the method. For technical details not described in detail in this embodiment, reference can be made to the device operation status data processing method provided in any embodiment of the present invention.
[0107] Since the above-introduced device operation status data processing apparatus is a device that can execute the device operation status data processing method in the embodiments of the present invention, based on the device operation status data processing method introduced in the embodiments of the present invention, those skilled in the art can understand the specific implementation manners and various variations of the device operation status data processing apparatus in this embodiment. Therefore, the details of how the device operation status data processing apparatus implements the device operation status data processing method in the embodiments of the present invention will not be described in detail here. As long as the devices adopted by those skilled in the art to implement the device operation status data processing method in the embodiments of the present invention belong to the scope protected by this application.
[0108] Embodiment 4
[0109] Figure 10 The structure diagram of an electronic device 10 that can be used to implement the embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0110] As Figure 10 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by the at least one processor. The processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0111] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0112] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the device operating status data processing method.
[0113] In some embodiments, the device operating status data processing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the device operating status data processing method described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the device operating status data processing method by any other suitable means (e.g., by means of firmware).
[0114] Optionally, the device operating status data processing method may include: obtaining the current data to be processed of the target system device; storing the current data to be processed in the status database when it is determined that the current data to be processed is the status data of the target system device; and storing the current data to be processed in the non-status database according to the non-status data storage policy when it is determined that the current data to be processed is the non-status data of the target system device.
[0115] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0116] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing device, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.
[0117] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0118] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0119] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0120] The computing system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0121] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in this disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and no limitation is imposed herein.
[0122] The above specific embodiments do not constitute a limitation on the protection scope of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the protection scope of this disclosure.
Claims
1. A method for processing device operation status data, characterized in that, Including: Obtain the current data to be processed of the target system device; When it is determined that the current data to be processed is the status data of the target system device, store the current data to be processed in the status database; When it is determined that the current data to be processed is non-status data of the target system device, store the current data to be processed in the non-status database according to the non-status data storage policy.
2. The method according to claim 1, wherein The non-status database includes a real-time database. According to the non-status data storage policy, storing the current data to be processed in the non-status database includes: Determine the real-time storage period of the non-status data; Store the current data to be processed within the real-time storage period in the real-time database.
3. The method according to claim 2, characterized in that, The non-status database includes a downsampling database. According to the non-status data storage policy, storing the current data to be processed in the non-status database includes: Collect the current data to be processed at a first collection frequency to obtain first target collection data; Classify the first target collection data to obtain multiple classified collection data; Store each classified collection data in the downsampling database according to the data type of the classified collection data.
4. The method according to claim 3, wherein It also includes: Collect data from the real-time database at a second collection frequency to obtain second target collection data; Generate status binding data of the target feature elements of the target system device according to the second target collection data; Store the status binding data in the downsampling database.
5. The method according to claim 3, characterized in that, The storing each classified collection data in the downsampling database according to the data type of the classified collection data includes: Determine the data storage reference information of each classified collection data according to the data type of the classified collection data; wherein, the data storage reference information includes a data storage time interval and a target classified data value; Obtain target classified collection data from each classified collection data according to the data storage reference information; Store the target classified collection data in the downsampling database.
6. The method according to any one of claims 1-5, characterized in that, The target system device includes an energy storage power station device or a cluster system device.
7. A device operation status data processing device, characterized in that, Including: A current data to be processed acquisition module, configured to obtain the current data to be processed of the target system device; A status data storage module, configured to store the current data to be processed in the status database when it is determined that the current data to be processed is the status data of the target system device; A non-status data storage module, configured to store the current data to be processed in the non-status database according to the non-status data storage policy when it is determined that the current data to be processed is the non-status data of the target system device.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the device operation status data processing method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for implementing the method for processing device operation status data according to any one of claims 1-6 when executed by a processor.
10. A computer program product comprising a computer program / instructions, wherein, When the computer program / instructions are executed by a processor, the method for processing device operation status data according to any one of claims 1-6 is implemented.