Data processing system, method, apparatus, storage medium, and program product
By introducing a streaming data processing platform, a big data processing platform and a distributed file storage system into the data processing system, the performance bottleneck problem of traditional relational databases when processing massive equipment operating data is solved, and efficient data processing and response are achieved. Ensure the safe and stable operation of the equipment.
Patent Information
- Application Number
- CN202411097229.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-08-12
AI Technical Summary
Traditional relational databases have serious performance bottlenecks when processing massive amounts of equipment operation data, and cannot respond to fault alarms in a timely manner, resulting in lagging monitoring and management, which affects the safe, stable and efficient operation of equipment.
Use a data processing system, including a streaming data processing platform, a big data processing platform, a cache database and a distributed file storage system. Raw telemetry data is received and processed through the streaming data processing platform. Real-time data is stored in the cache database, and query data is stored in the relational database. In the database, the original telemetry data is stored in a distributed file storage system in the form of files. The big data processing platform performs statistical analysis and processing, generates statistical data and stores it in a relational database.
It significantly improves data processing and response speed, can efficiently handle filtering queries and statistical analysis of massive data, improves the timeliness and efficiency of equipment monitoring, and ensures the safe and stable operation of equipment.
Smart Images

Figure CN118626518A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data processing system, method, device, storage medium and program product. Background Art
[0002] During the operation of some equipment, data related to the operation of the equipment will be generated. These data play a vital role in maintaining the safe, stable and efficient operation of the equipment.
[0003] In the related art, the data generated during the operation of the equipment can be stored and processed by a database management system. However, if the amount of data generated during the operation of the equipment is huge, the database management system has a poor processing and response speed for the data. Summary of the invention
[0004] The embodiments of the present application provide a data processing system, method, device, storage medium and program product, which can effectively improve the processing and response speed of data.
[0005] In a first aspect, an embodiment of the present application provides a data processing system, the data processing system comprising a stream data processing platform, a big data processing platform, a cache database, a relational database, and a distributed file storage system; wherein the stream data processing platform is respectively connected in communication with the cache database, the relational database, the distributed file storage system, and the big data processing platform, and the big data processing platform is also connected in communication with the distributed file storage system; The stream data processing platform is used to receive the original telemetry data reported by the target device, and extract the real-time data and query data from the original telemetry data, store the real-time data in the cache database, store the query data in the relational database, and store the original telemetry data in the distributed file storage system in the form of a file; wherein the real-time data is the data that changes dynamically during the operation of the target device; The big data processing platform is used to respond to the data processing instructions of the stream data processing platform, perform statistical analysis and processing on the original telemetry data stored in the distributed file storage system, obtain statistical data of the target device, and store the statistical data in the relational database.
[0006] In some embodiments, the stream data processing platform is connected to the target device through the Internet of Things platform, and the stream data processing platform is specifically used to: Receive the JSON message sent by the IoT platform; Parsing the original telemetry data from the JSON message according to a preset table structure; Extracting initial real-time data and initial query data from the original telemetry data; the initial query data includes at least one of the following: fault alarm data, system data, and version change data; Deduplication processing is performed on the initial real-time data to obtain real-time data, and the real-time data is obtained and stored in the cache database; Filtering and splitting the initial query data to obtain the query data, and storing the query data in the relational database in the form of key-value pairs; The raw telemetry data is stored in the distributed file storage system in a columnar file storage format.
[0007] In some embodiments, the stream data processing platform is specifically used for: extracting initial real-time data within a time window from the raw telemetry data; The initial real-time data within the time window is partitioned according to the device type; Using the latest data in each partition as the real-time data; According to the device identification corresponding to the real-time data, the real-time data is stored in the partition corresponding to the device identification in the cache database in a manner of overwriting old data of the device identification.
[0008] In some embodiments, the raw telemetry data includes: alarm data, the query data includes alarm data, and N bits of the alarm data correspond to one type of alarm event; The stream data processing platform is specifically used for: The alarm data is split according to bits to obtain a plurality of alarm data; one alarm data corresponds to one alarm event; The alarm data is written into an alarm record corresponding to the relational database, wherein the alarm record includes: a first byte and a second byte; the first byte is used to indicate whether an alarm event exists, and the second byte is used to indicate whether the alarm event ends.
[0009] In some embodiments, the stream data processing platform is specifically used for: Acquire an alarm value corresponding to the alarm data, and query an alarm record matching the alarm data from the relational database; In the case where the alarm value indicates that no alarm event has occurred, if the alarm record is queried and the alarm record indicates that the alarm event corresponding to the alarm data has not ended, updating the alarm value in the alarm record; In the case where the alarm value indicates that an alarm event has occurred, if the alarm record is found and the alarm record indicates that the alarm event corresponding to the alarm data has ended, or if the alarm record is not found, then the alarm value is updated in a newly added manner; In the case where the alarm value indicates that an alarm event has occurred, if the alarm record is queried and the alarm record indicates that the alarm event corresponding to the alarm data has not ended, the alarm value is updated in the alarm record.
[0010] In some embodiments, the target device is a device in an energy storage power station, and the big data processing platform is further used to: Acquire operation data of the energy storage device of the energy storage power station from the distributed file storage system; Using the machine learning model to predict the operating status of the energy storage device and generate a prediction result; Writing the prediction result into the relational database; And / or, when the prediction result indicates that the energy storage device is abnormal, outputting alarm information of the abnormality of the energy storage device.
[0011] In some embodiments, the data processing system further includes: a web application end; the web application end is respectively connected to the cache database, the relational database, the distributed file storage system, and the big data processing platform; The web application end is used for: Acquire real-time data from the cache database; Acquire query data from the relational database and / or the big data processing platform; The raw telemetry data is obtained from the distributed file storage system.
[0012] In some embodiments, the distributed file storage system is also used to receive the original telemetry data of the target device uploaded in batches by the web application.
[0013] In some embodiments, the stream data processing platform is further used for: Sending a device provisioning program to the Internet of Things platform; the device provisioning program is used to define an Internet of Things device for receiving the raw telemetry data in the Internet of Things platform.
[0014] In a second aspect, an embodiment of the present application provides a data processing method, which is applied to a data processing system, wherein the data processing system includes a stream data processing platform, a big data processing platform, a cache database, a relational database, and a distributed file storage system; wherein the stream data processing platform is respectively connected in communication with the cache database, the relational database, the distributed file storage system, and the big data processing platform, and the big data processing platform is also connected in communication with the distributed file storage system; The stream data processing platform is used to receive the original telemetry data reported by the target device, and extract real-time data and query data from the original telemetry data, store the real-time data in the cache database, store the query data in the relational database, and store the original telemetry data in the distributed file storage system; wherein the real-time data is the data that changes dynamically during the operation of the target device; The big data processing platform is used to respond to the data processing instructions of the stream data processing platform, perform statistical analysis and processing on the original telemetry data stored in the distributed file storage system, obtain statistical data of the target device, and store the statistical data in the relational database.
[0015] In a third aspect, an embodiment of the present application provides a data processing device, including: a memory and a processor; The memory is used to store computer instructions; the processor is used to execute the computer instructions stored in the memory to implement any method in the first aspect.
[0016] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement any one of the methods in the first aspect.
[0017] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which implements any one of the methods in the first aspect when executed by a processor.
[0018] The data processing system, method, device, storage medium and program product provided by the embodiment of the present application, the data processing system includes a stream data processing platform, a big data processing platform, a cache database, a relational database, and a distributed file storage system; wherein the stream data processing platform is respectively connected to the cache database, the relational database, the distributed file storage system, and the big data processing platform, and the big data processing platform is also connected to the distributed file storage system; the stream data processing platform is used to receive the original telemetry data reported by the target device, and extract the real-time data and query data from the original telemetry data, store the real-time data in the cache database, store the query data in the relational database, and store the original telemetry data in the distributed file storage system; wherein the real-time data is the data that changes dynamically during the operation of the target device; the big data processing platform is used to perform statistical analysis on the original telemetry data stored in the distributed file storage system, obtain the statistical data of the target device, and store the statistical data in the relational database. Through the above system, the speed of data processing and response generated by the target device can be effectively improved to meet the user's usage needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic diagram of a data processing system provided in an embodiment of the present application Figure 1 ; Figure 2 A schematic diagram of a process of storing real-time data in a relational database provided in an embodiment of the present application; Figure 3 A schematic diagram of a process of writing alarm data into a relational database provided in an embodiment of the present application; Figure 4 A schematic diagram of a data processing system provided in an embodiment of the present application Figure 2 ; Figure 5 A flowchart of a data processing method provided in an embodiment of the present application; Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0021] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects, and do not limit their order. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0022] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0023] Energy storage power stations are a solution proposed to address the problems faced by power systems, such as renewable energy volatility, load demand peaks and stability. While reducing carbon emissions, they achieve supply and demand balance and stability in the power system, providing stronger and more sustainable support for future power systems. This is of great significance to the power industry and sustainable energy development strategies.
[0024] During the operation of energy storage power stations, a considerable amount of data will be generated, which plays a vital role in maintaining the safe, stable and efficient operation of the power station. Therefore, how to collect, store, analyze and process the data generated during the operation of energy storage power stations is of great significance.
[0025] In related technologies, the data generated during the operation of energy storage power station equipment can be stored and processed through a database management system (DBMS). For example, the data of the energy storage power station is collected through sensors, and the collected data is stored in a traditional relational database (such as MySQL, SQL Server), and the data is retrieved and analyzed by users or managers through SQL statement queries.
[0026] However, traditional relational databases will encounter performance bottlenecks when the amount of data in a single table reaches tens of millions, such as query performance and memory pressure. The amount of data in a single day in an energy storage power station can easily reach tens of millions, so traditional relational databases obviously cannot provide sufficient performance and response speed, and cannot handle filtering queries and statistical analysis of massive data, which may lead to delayed monitoring and management of energy storage power stations. When a fault alarm occurs in the energy storage power station, the abnormal situation cannot be handled in time, causing unnecessary losses.
[0027] In view of this, the embodiments of the present application provide a data processing system, method, device, storage medium and program product. By analyzing and processing the received data and storing different data in different types of databases, sufficient performance and response speed can be provided, and a big data processing platform can be deployed in the data processing system to perform filtering queries and statistical analysis on massive data.
[0028] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0029] Figure 1 A data processing system provided in an embodiment of the present application, such as Figure 1 As shown, the data processing system includes: a stream data processing platform, a big data processing platform, a cache database, a relational database, and a distributed file storage system.
[0030] The stream data processing platform is respectively connected in communication with the cache database, the relational database, the distributed file storage system, and the big data processing platform, and the big data processing platform is also connected in communication with the distributed file storage system.
[0031] In some embodiments, the stream data processing platform is communicatively connected to the target device.
[0032] In some embodiments, the stream data processing platform is communicatively connected to the target device via an Internet of Things platform.
[0033] In some embodiments, the target device may be a device in an energy storage power station, or other device that can generate a large amount of data, which is not limited in the embodiments of the present application. That is, the data processing system provided in the embodiments of the present application can not only store and process the data of the energy storage power station, but also store and process the data generated by other devices or systems (for example, power grid data, operator data, etc.), and the embodiments of the present application do not limit the application scenarios of the data processing system.
[0034] For ease of understanding, the following will take the target device as the equipment of the energy storage power station and the transmission of raw telemetry data through the IoT platform as an example.
[0035] In some embodiments, the stream data processing platform is used to receive raw telemetry data reported by the energy storage power station.
[0036] The energy storage power station is provided with a data acquisition device, which can collect data (raw telemetry data) during the operation of each device in the energy storage power station through sensors, and report the raw telemetry data to the stream data processing platform in the data processing system through the Internet of Things platform (IoT Hub).
[0037] In one possible implementation, the data acquisition device can periodically collect the raw telemetry data at a preset time period, and send the collected raw telemetry data to the Internet of Things platform. When the Internet of Things platform receives the raw telemetry data, it can forward the raw telemetry data to the stream data processing platform.
[0038] In another possible implementation, the Internet of Things platform can periodically send data acquisition instructions to the data acquisition device at a preset time period, receive the original telemetry data collected based on the data acquisition instructions sent by the data acquisition device, and forward the original telemetry data to the stream data processing platform.
[0039] In some embodiments, when the IoT platform receives the raw telemetry data, it can encapsulate the raw telemetry data in a target format (e.g., JSON format), and send the encapsulated raw telemetry data in the form of a message (e.g., JSON message) to the stream data processing platform.
[0040] When the stream data processing platform receives the JSON message sent by the Internet of Things platform, it can parse the JSON message according to the preset table structure to extract the original telemetry data of the energy storage power station.
[0041] In some embodiments, after the stream data processing platform obtains the original telemetry data of the energy storage power station, it can process the original telemetry data. For example, the stream data processing platform can extract real-time data and query data from the original telemetry data according to preset data types, store the real-time data in the cache database, store the query data in the relational database, and store the original telemetry data in the distributed file storage system in the form of files.
[0042] The real-time data refers to data that changes dynamically during the operation of the equipment in the energy storage power station, such as equipment status, power generation, battery status, etc. The query data refers to some static information during the operation of the equipment in the energy storage power station, such as user information, system data, fault alarm information, version change information, etc.
[0043] In some embodiments, the stream data processing platform may extract initial real-time data and initial query data from the raw telemetry data.
[0044] The stream data processing platform can obtain real-time data after deduplication processing on the initial real-time data, and store the real-time data in the cache database. Among them, the stream data processing platform can use a preset automatic deduplication tool to deduplicate the initial real-time data to obtain the real-time data. By storing real-time data in the cache database, users can monitor the storage power station in real time through the cache database, which effectively improves the timeliness of monitoring the energy storage power station.
[0045] The stream data processing platform can filter and split the initial query data to obtain the query data, and store it in the relational database in the form of key-value pairs.
[0046] The stream data processing platform can filter the initial query data, remove redundant information in the initial query data, improve the simplicity of the data, and split the initial query data into different query data according to different type identifiers, and store them in the relational data in the form of key-value pairs.
[0047] Among them, the key-value pair is a simple correspondence relationship, the key is used as the index of the element, and the value represents the stored and read data. When the stream data processing platform obtains the query data, for any query data, the stream data processing platform can use the device identifier corresponding to the query data as the key of the query data, and use the query data as the corresponding value. The user can subsequently quickly obtain the corresponding value (query data) through the key value, which effectively improves the performance and response speed of the data processing system.
[0048] The stream data processing platform can store the raw telemetry data in the distributed file storage system in a columnar file storage format (for example, Parquet file format). Optionally, the stream data processing platform can also compress the raw telemetry data and store it in the distributed file storage system in a columnar file storage format to reduce the storage space occupied by the distributed file storage system. By storing the raw telemetry data in the distributed file storage system, the raw telemetry data can be traced and the system performance will not be affected by the huge amount of data.
[0049] Optionally, the stream data processing platform may also perform data cleaning on the raw telemetry data when writing the raw telemetry data into the distributed file storage system, thereby improving the quality of the raw telemetry data and reducing the probability of errors occurring when the raw telemetry data is subsequently used.
[0050] In some embodiments, the original telemetry data also contains some valuable statistical analysis data (referred to as statistical data), such as statistical analysis of the number of charging and discharging cycles and the charging and discharging amount of the station. These statistical analysis data require some complex statistical analysis and calculation on the original telemetry data. In order to enable users to quickly obtain these data, the data processing system can process the original telemetry data through the big data processing platform to obtain statistical data.
[0051] Exemplarily, the big data processing platform is used to perform statistical analysis on the original telemetry data stored in the distributed file storage system to obtain statistical data of the energy storage power station, and store the statistical data in the relational database.
[0052] In some embodiments, the big data processing platform has a built-in big data computing engine (for example, a Spark big data computing engine). When the big data processing platform receives a data processing instruction sent by the stream data processing platform, it can read the original telemetry data corresponding to the data processing instruction from the distributed file storage system, and execute the data processing instruction through the big data computing engine to obtain the statistical data.
[0053] In some embodiments, a data processing program may also be preset in the big data processing platform, and the pre-set calculation program is executed by the big data computing engine to read the corresponding original telemetry data from the distributed file storage system, and perform statistical analysis on the original telemetry data to obtain the statistical data.
[0054] After obtaining the statistical data, the big data processing platform can store the statistical data in the relational data in the form of key-value pairs to facilitate subsequent quick queries by users.
[0055] The data processing system provided in the embodiment of the present application processes the original telemetry data of the energy storage power station through a stream data processing platform, stores the real-time data in a cache database, stores the query data in a relational database, and stores the original telemetry data in a distributed file storage system. The original telemetry data is statistically analyzed through a big data processing platform to obtain statistical data and store them in a relational database. This can effectively improve the performance and response speed of the data processing system, meet the needs of filtering, querying and statistically analyzing massive data, and improve the ability and efficiency of monitoring the energy storage power station.
[0056] Next Figure 1 Based on the illustrated embodiment, the process of the stream data processing platform storing real-time data into a relational database is described in detail.
[0057] Figure 2 A schematic diagram of a process of storing real-time data in a relational database using a stream data processing platform provided in an embodiment of the present application, such as Figure 2 As shown, including: S201. Extracting initial real-time data within a time window from the original telemetry data.
[0058] In some embodiments, in order to prevent the real-time data from being written too frequently into the cache database, which may cause excessive pressure on the server and affect the performance of the cache database, the stream data processing platform can set a time window (for example, by creating a window function Tumbling Window() to set the time window) during the processing process, and extract the initial real-time data within the time window from the original telemetry data. For example, if the original telemetry data is data within 10 consecutive minutes, and the time window set by the stream data processing platform is the last minute, then the stream data processing platform extracts the initial real-time data of the last minute from the original telemetry data.
[0059] S202: partition the initial real-time data in the time window according to device type.
[0060] In some embodiments, the real-time data of different devices may be different, and the addresses stored in the cache database may also be different. Therefore, the stream data processing platform can partition the acquired initial real-time data by device type, with each partition corresponding to one type of initial real-time data.
[0061] S203: Use the latest data in each partition as the real-time data.
[0062] In some embodiments, since the cache database caches the real-time data of each device, the stream data processing platform can use the latest data in each partition as the real-time data, thereby obtaining real-time data with the minimum data transmission cost, effectively reducing the number of write requests, and reducing the probability of server crashes or processing delays in the cache database.
[0063] S204: According to the device identification corresponding to the real-time data, the real-time data is stored in the partition corresponding to the device identification in the cache database by overwriting old data of the device identification.
[0064] In some embodiments, when the stream data processing platform writes the real-time data of each device into the cache database, it can use the device identification of each device as the unique ID written into the cache database. When writing the real-time data of each device, if the data corresponding to the unique ID already exists in the cache database (that is, there is old data), the stream data processing platform can use the method of overwriting the old data of the device identification to store the real-time data in the partition corresponding to the device identification in the cache database. If the data corresponding to the unique ID does not exist in the cache database (that is, there is no old data), the stream data processing platform can create a new data partition in the cache database and store the real-time data in the new data partition in an additional manner. By using the created unique id as the cache key, the data items with the same id can be overwritten each time, which can ensure the real-time and uniqueness of the data cached by the current device.
[0065] In some embodiments, the original telemetry data reported by the energy storage power station includes: alarm data. When the stream data processing platform extracts query data including alarm data from the telemetry data, since N bits (for example, 1 bit) in the alarm data correspond to one type of alarm event, when the stream data processing platform writes the alarm data into the relational database, it is necessary to split the alarm data. Figure 3 This process is described.
[0066] Figure 3 A schematic diagram of a process of writing alarm data into a relational database provided in an embodiment of the present application is as follows: Figure 3 As shown, including: S301. Split the alarm data according to bits to obtain multiple alarm data; one alarm data corresponds to one alarm event.
[0067] Exemplarily, the alarm data includes 8 bits, each byte corresponds to a type of alarm of the device. For example, the alarm data is 00110101.
[0068] The stream data processing platform splits the alarm data into bits to obtain multiple alarm data. For example, the alarm data 00110101 is split into 8 alarm data. If the value of the first bit is 0, it can indicate that the alarm event of this type has not been sent, or that the alarm event of this type has occurred. The following explanation will be given by taking 0 indicating that the alarm event of this type has not been sent as an example.
[0069] It should be understood that the alarm type corresponding to each bit is pre-defined in the stream data processing platform.
[0070] Optionally, the stream data processing platform further reorganizes the 8 alarm data, for example, adds a device identifier to obtain 8 alarm data.
[0071] S302: Update the alarm data to the alarm record corresponding to the relational database, wherein the alarm record includes: a first byte and a second byte; the first byte is used to indicate whether an alarm event exists, and the second byte is used to indicate whether the alarm event ends.
[0072] In some embodiments, the data included in the alarm record includes: the site identification of the energy storage power station, the equipment identification, the equipment type, the fault type, the fault start mark, the fault start time, the fault end mark, the fault end time, etc.
[0073] When the stream data processing platform obtains multiple alarm data, it can update the alarm data to the corresponding alarm record according to the device identifier and alarm type. The alarm record includes the first byte (bitValue1, fault start flag) and the second byte (bitValue2, fault end flag).
[0074] Among them, the value of bitValue1 is not 1 or null, and the value of bitValue1 is 1, indicating that the current device has this type of fault. The value of bitValue2 is not 0 or null, and the value of bitValue2 is 0, indicating that the current device has disappeared.
[0075] In some embodiments, the stream data processing platform may write the alarm data into the alarm record by following the steps below: S3021. Obtain an alarm value corresponding to the alarm data, and query an alarm record matching the alarm data from the relational database.
[0076] The alarm value corresponding to the alarm data is the value of the corresponding bit (bitValue). The alarm record matched by the alarm data is the value of the latest first byte and second byte of the type of the device.
[0077] S3022: When the alarm value indicates that no alarm event has occurred, if the alarm record is found and the alarm record indicates that the alarm event corresponding to the alarm data has not ended, update the alarm value in the alarm record.
[0078] For any alarm data, if bitValue is 0, it means that the current type of fault does not exist in the current device. If an alarm record is queried, and the corresponding alarm record is: the value of bitValue1 is 1, and the value of bitValue2 is empty (the alarm record indicates that the alarm event corresponding to the alarm data has not ended), then the alarm value is written in the alarm record.
[0079] Example: The alarm record is as follows: bitValue1(1), bitValue2(); (queried alarm record) bitValue1(), bitValue2(0); (updated alarm value).
[0080] or, bitValue1(1,null); bitValue2(null, 0); The first value of bitValue1 and bitValue2 is not queried, and the second value is not written to the warning value.
[0081] That is, the stream data processing platform updates the alarm data to the corresponding fault alarm record by updating, indicating that the current fault has disappeared and the current fault alarm record is a complete record data.
[0082] S3023. When the alarm value indicates that an alarm event has occurred, if the alarm record is found and the alarm record indicates that the alarm event corresponding to the alarm data has ended, or if the alarm record is not found, the alarm value is updated in a new manner.
[0083] For any alarm data, if bitValue is 1, it means that the current device has the current type of fault. If no alarm record is found, or the alarm record is found and the alarm record indicates that the alarm event corresponding to the alarm data has ended (the corresponding alarm record is: the value of bitValue1 is empty, the value of bitValue2 is 0, or the value of bitValue1 is 1, the value of bitValue2 is 0), it means that a new alarm has occurred in the device, and the alarm value is written in the alarm record in a new manner.
[0084] For example, the alarm record is as follows: bitValue1(), bitValue2(0); (queried alarm records) bitValue1(1), bitValue2(); (update the alarm value).
[0085] or; bitValue1(null); bitValue2(0); bitValue1(1); bitValue2(null); Among them, the first two bitValue1 (null) and bitValue2 (0) are the queried values, and the last two bitValue1 (1) and bitValue2 (null) are the newly added values.
[0086] S3024: When the alarm value indicates that an alarm event has occurred, if the alarm record is found and the alarm record indicates that the alarm event corresponding to the alarm data has not ended, update the alarm value in the alarm record.
[0087] For any alarm data, if bitValue is 1, it means that the current device has the current type of fault. If the alarm record is queried, and the alarm record indicates that the alarm event corresponding to the alarm data has not ended (the corresponding alarm record is: the value of bitValue1 is 1, and the value of bitValue2 is empty), it means that the device is continuing to alarm, and the alarm value is updated in the alarm record.
[0088] Example: The alarm record is as follows: bitValue1(1), bitValue2(); (queried alarm records) bitValue1(1), bitValue2(); (updated alarm values).
[0089] or, bitValue1(1, 1); bitValue2(null, null).
[0090] Optionally, when updating the alarm start identifier and / or the alarm end identifier in the alarm record, the time corresponding to the alarm start identifier and / or the alarm end identifier may also be updated simultaneously.
[0091] Optionally, for any alarm data, if bitValue is 1, it means that the current device has the current type of fault. If the alarm record is queried, and the alarm record indicates that the alarm event corresponding to the alarm data has not ended (the corresponding alarm record is: the value of bitValue1 is 1, and the value of bitValue2 is empty), it means that the device is continuously generating alarms. The stream data processing platform may not update the alarm record so that users can easily query the first occurrence time of the alarm.
[0092] In the embodiment of the present application, the stream data processing platform processes fault alarm data by creating a stored procedure, so that the same fault or alarm data corresponds to both an occurrence record and a disappearance record, thereby simplifying the operation of fault alarm closed-loop query, saving database disk space and improving the query speed of fault alarm data.
[0093] Based on the above embodiments, the data processing system provided in the embodiments of the present application also includes a web application end.
[0094] Figure 4 A schematic diagram of the structure of a data processing system provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the data processing system also includes: a web application end; the web application end is respectively communicatively connected with the cache database, the relational database, the distributed file storage system, and the big data processing platform.
[0095] In some embodiments, the web application obtains real-time data from the cache database. For example, the web application can execute a predefined query command to obtain real-time data from the cache database and display the real-time data to monitor the operation of the energy storage power station in real time.
[0096] Optionally, the cache database may also process the real-time data, for example, process the real-time data into a preset format to facilitate display on the web application, or perform operations such as filtering the real-time data.
[0097] In some embodiments, the web application obtains the query data from the relational database and / or the big data processing platform. For example, the web application may execute a predefined query statement to obtain the query data from the relational database and display the query data to the user. Alternatively, when the big data processing platform obtains the query data, when storing the query data in the relational database, the big data processing platform sends the query data to the web application.
[0098] In some embodiments, the web application obtains the original telemetry data from the distributed file storage system. The distributed file storage system is preset with a data interface, and the web application can directly obtain the original telemetry data from the distributed file storage system through the data interface. Alternatively, the web application can obtain the original telemetry data from the distributed file storage system through a big data processing platform.
[0099] In some embodiments, some energy storage power stations may also be offline devices that are not connected to the Internet of Things platform. For the original telemetry data of these energy storage power stations (referred to as offline data), the original telemetry data of the devices of these energy storage power stations can be uploaded in batches through the web application and stored in the distributed file system.
[0100] In some embodiments, in order to further improve the monitoring of the operation process of the energy storage power station and ensure the normal operation of the energy storage power station, the big data processing platform can predict the status of the energy storage device (for example, battery) in the energy storage power station.
[0101] Exemplarily, the big data processing platform obtains the operating data of the energy storage device of the energy storage power station from the distributed file storage system; uses the machine learning model to predict the operating status of the energy storage device and generate a prediction result; writes the prediction result into the relational database; and / or, when the prediction result indicates that the energy storage device is abnormal, outputs an alarm information of the abnormality of the energy storage device.
[0102] The big data processing platform has a pre-trained machine learning model built in. When the big data processing platform obtains the operating data of the energy storage device of the energy storage power station from the distributed file system, the operating data can be input into the machine learning model, and the prediction result of the machine learning model predicting the operating status of the energy storage device can be obtained. The big data processing platform can write the prediction result into the relational database and / or send it to the web application end.
[0103] The big data processing platform can also judge the prediction result to identify whether the prediction result indicates that there is an abnormality in the energy storage device. If the big data platform identifies that there is an abnormality in the energy storage device based on the prediction result, it can generate abnormal alarm information and output the alarm information of the abnormality of the energy storage device to the web application end.
[0104] In some embodiments, when the equipment in the energy storage power station sends raw telemetry data to the IoT platform, it is necessary to define an IoT device in the IoT platform for receiving the raw telemetry data of the equipment of the corresponding energy storage power station. Since the energy storage power station is large in scale and has many devices, it is impossible to define the IoT devices one by one. Therefore, the stream data processing platform can also send a device provisioning program (e.g., Device ProvisioningService, DPS program) to the IoT platform; the device provisioning program is used to define an IoT device in the IoT platform for receiving the raw telemetry data of the equipment of the corresponding energy storage power station.
[0105] In some embodiments, when the stream data processing platform stores raw telemetry data in a distributed file storage system, it creates a file format of parquet type, and sets the maximum number of data rows that can be written to the file and the maximum writing time to ensure that the file size is within a controllable range.
[0106] In some embodiments, the stream data processing platform includes multiple data processing nodes. To achieve high concurrency and high throughput of the stream data processing platform, when the stream data processing platform receives the original telemetry data, it can split the original telemetry data into multiple sub-data (for example, split by device type), and distribute them to multiple data processing nodes for processing.
[0107] In some embodiments, when the stream data processing platform distributes multiple sub-data to multiple data processing nodes for processing, it can adopt a load balancing strategy for distribution. For example, if a data processing node currently has fewer computing tasks, more sub-data are distributed; if a data processing node currently has more computing tasks, more sub-data are distributed or no sub-data are distributed.
[0108] In summary, the data processing system provided by the embodiment of the present application can store the real-time data of each device in a cache database, which effectively improves the system performance and response speed; the data generated by large-scale, globally distributed energy storage power stations must be massive, and the high-value part of these massive data is only the real-time data part, so there is no need to store historical data in a relational database to affect performance. This method directly stores the original telemetry data in the form of files in a distributed file storage system, so that the original data can be traced and will not affect the system performance. The files in the distributed file storage system are loaded through the big data processing platform to perform complex analysis and calculation on the historical data of the energy storage power station, and the calculation results are saved in a relational database for query and display by the server; at the same time, this method can easily deal with the data field change problems and complex data nesting problems brought about by different projects in the energy storage power station. Both the stream data processing platform and the distributed cache can easily expand the data storage format, greatly reducing the maintenance cost of the project in the later stage.
[0109] Based on the above embodiments, the embodiments of the present application also provide a data processing method.
[0110] Figure 5A flow chart of a data processing method provided in an embodiment of the present application, wherein the method is applied to a data processing system, wherein the system includes a stream data processing platform, a big data processing platform, a cache database, a relational database, and a distributed file storage system; wherein the stream data processing platform is respectively connected to the cache database, the relational database, the distributed file storage system, and the big data processing platform in communication, and the big data processing platform is also connected to the distributed file storage system in communication, such as Figure 5 As shown, including: S501. The stream data processing platform receives the original telemetry data reported by the target device, and extracts real-time data and query data from the original telemetry data, stores the real-time data in the cache database, stores the query data in the relational database, and stores the original telemetry data in the distributed file storage system; wherein the real-time data is data that changes dynamically during the operation of the equipment of the energy storage power station.
[0111] S502. The big data processing platform performs statistical analysis on the original telemetry data stored in the distributed file storage system in response to the data processing instructions of the stream data processing platform, obtains statistical data of the target device, and stores the statistical data in the relational database.
[0112] In some embodiments, the stream data processing platform is connected to the devices of multiple energy storage power stations through an Internet of Things platform, and the stream data processing platform receives a JSON message sent by the Internet of Things platform; according to a preset table structure, the original telemetry data of the energy storage power station is parsed from the JSON message; initial real-time data and initial query data are extracted from the original telemetry data; the initial query data includes at least one of the following: fault alarm data, system data, and version change data; the initial real-time data is deduplicated to obtain real-time data, and the real-time data is obtained and stored in the cache database; the initial query data is filtered and split to obtain the query data, and stored in the relational database in the form of key-value pairs; the original telemetry data is stored in the distributed file storage system in a columnar file storage format.
[0113] In some embodiments, the stream data processing platform extracts initial real-time data within a time window from the original telemetry data; partitions the initial real-time data within the time window according to device type; uses the latest data in each partition as the real-time data; and according to the device identifier corresponding to the real-time data, stores the real-time data in the partition corresponding to the device identifier in the cache database by overwriting the old data of the device identifier.
[0114] In some embodiments, the original telemetry data includes: alarm data, the query data includes alarm data, and N bits of the alarm data correspond to one type of alarm event.
[0115] The stream data processing platform splits the alarm data according to bits to obtain multiple alarm data; one alarm data corresponds to an alarm event; the alarm data is written into the alarm record corresponding to the relational database, and the alarm record includes: a first byte and a second byte; the first byte is used to indicate whether there is an alarm event, and the second byte is used to indicate whether the alarm event is over.
[0116] In some embodiments, the stream data processing platform obtains the alarm value corresponding to the alarm data, and queries the alarm record matching the alarm data from the relational database; when the alarm value indicates that no alarm event has occurred, if the alarm record is queried and the alarm record indicates that the alarm event corresponding to the alarm data has not ended, the alarm value is updated in the alarm record; when the alarm value indicates that an alarm event has occurred, if the alarm record is queried and the alarm record indicates that the alarm event corresponding to the alarm data has ended, or if the alarm record is not queried, the alarm value is updated in a new manner; when the alarm value indicates that an alarm event has occurred, if the alarm record is queried and the alarm record indicates that the alarm event corresponding to the alarm data has ended, then the alarm value is updated in the alarm record.
[0117] In some embodiments, the target device is a device in an energy storage power station, and the big data processing platform obtains the operating data of the energy storage device of the energy storage power station from the distributed file storage system; uses the machine learning model to predict the operating status of the energy storage device and generate a prediction result; writes the prediction result into the relational database; and / or, when the prediction result indicates that the energy storage device is abnormal, outputs an alarm information of the abnormality of the energy storage device.
[0118] In some embodiments, the data processing system further includes: a web application end; the web application end is respectively communicatively connected with the cache database, the relational database, the distributed file storage system, and the big data processing platform.
[0119] The web application end obtains real-time data from the cache database; obtains query data from the relational database and / or the big data processing platform; and obtains the original telemetry data from the distributed file storage system.
[0120] In some embodiments, the distributed file storage system receives raw telemetry data of equipment of the energy storage power station uploaded in batches by the web application.
[0121] In some embodiments, the stream data processing platform sends a device provisioning program to the Internet of Things platform; the device provisioning program is used to define an Internet of Things device in the Internet of Things platform for receiving raw telemetry data of equipment corresponding to the energy storage power station.
[0122] In some embodiments, the stream data processing platform includes multiple computing nodes. After receiving the original telemetry data, the stream data processing platform will first shard the original telemetry data, and use load balancing to distribute the sharded original telemetry data to multiple computing nodes for parallel processing, thereby achieving high concurrency and high throughput of stream data processing.
[0123] In some embodiments, the stream data processing platform uses an internal optimizer to perform logical optimization on query operations during the processing of raw telemetry data, thereby reducing computing overhead and resource consumption. Secondly, the stream data processing platform manages state information in memory and stores intermediate calculation results in memory, thereby avoiding frequent disk I / O operations, so that the processing speed of stream data reaches near real-time processing effect. In addition, the stream data processing platform will regularly create checkpoints to save processing status and intermediate results, and can resume processing after node failure to ensure data consistency. Finally, the stream data processing platform can dynamically adjust resource allocation according to the load to ensure efficient operation of the system.
[0124] For the specific implementation of each step in the data processing method for the energy storage power station equipment provided in the embodiment of the present application, reference can be made to the specific implementation of each component in the data processing system of the energy storage power station equipment in the above embodiment. The principles and technical effects are similar and will not be repeated here.
[0125] The embodiment of the present application further provides a data processing device, which can implement the technical solution executed by any device (eg, stream data processing platform) in the data processing system described in any of the above embodiments.
[0126] Figure 6 A schematic diagram of the structure of a data processing device 60 provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the electronic device may include: a transceiver 601 , a processor 602 , and a memory 603 .
[0127] The processor 602 executes the computer-executable instructions stored in the memory, so that the processor 602 executes the solution in the above embodiment. The processor 602 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0128] The memory 603 is connected to the processor 602 via a system bus and completes communication between them. The memory 603 is used to store computer program instructions.
[0129] The transceiver 601 can perform receiving data / instructions and sending data / instructions.
[0130] Optionally, the electronic device 60 may further include a communication interface 604, so that it can communicate and interact with an external or internal device through the communication interface 603. The external device may be, for example, a client (e.g., a mobile phone, a tablet). In a specific implementation, if the communication interface 604, the memory 603, and the processor 602 are implemented independently, the communication interface 604, the memory 603, and the processor 602 may be interconnected through a bus and communicate with each other.
[0131] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.
[0132] Optionally, in a specific implementation, if the communication interface 604, the memory 603 and the processor 602 are integrated on a chip, the communication interface 604, the memory 603 and the processor 602 can complete communication through an internal interface.
[0133] An embodiment of the present application also provides a chip for executing instructions, which is used to execute the technical solution executed by any device in the above-mentioned data processing system in the above-mentioned embodiment.
[0134] A computer-readable storage medium is also provided in an embodiment of the present application, on which a computer program is stored. When the computer program is executed by a processor, the technical solution executed by any device in the above-mentioned data processing system is implemented. The implementation principle and technical effect are similar and will not be repeated here.
[0135] In one possible implementation, a computer-readable medium may include a random access memory (RAM), a read-only memory (ROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage device, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of the medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.
[0136] A computer program product is also provided in an embodiment of the present application, including a computer program. When the computer program is executed by a processor, the technical solution executed by any device in the above-mentioned data processing system is implemented. The implementation principle and technical effect are similar and will not be repeated here.
[0137] In the specific implementation of the above-mentioned terminal device or server, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0138] Those skilled in the art will appreciate that all or part of the steps of any of the above method embodiments may be completed by hardware associated with program instructions. The aforementioned program may be stored in a computer-readable storage medium, and when the program is executed, all or part of the steps of the above method embodiments are executed.
[0139] If the technical solution of the present application is implemented in the form of software and sold or used as a product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the technical solution of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a computer program or several instructions. The computer software product enables a computer device (which can be a personal computer, a server, a network device, or a similar electronic device) to perform all or part of the steps of the method described in the embodiment of the present application.
[0140] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0141] It should be further noted that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flow chart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0142] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0143] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0144] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor may be any appropriate hardware processor, such as CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.
[0145] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0146] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data processing system, characterized in that: The data processing system includes a stream data processing platform, a big data processing platform, a cache database, a relational database, and a distributed file storage system; wherein the stream data processing platform is respectively connected in communication with the cache database, the relational database, the distributed file storage system, and the big data processing platform, and the big data processing platform is also connected in communication with the distributed file storage system; The stream data processing platform is used to receive the original telemetry data reported by the target device, and extract real-time data and query data from the original telemetry data, store the real-time data in the cache database, store the query data in the relational database, and store the original telemetry data in the distributed file storage system; wherein the real-time data is the data that changes dynamically during the operation of the target device; The big data processing platform is used to respond to the data processing instructions of the stream data processing platform, perform statistical analysis and processing on the original telemetry data stored in the distributed file storage system, obtain statistical data of the target device, and store the statistical data in the relational database.
2. The system according to claim 1, characterized in that The stream data processing platform is connected to the target device through the Internet of Things platform, and the stream data processing platform is specifically used for: Receive the JSON message sent by the IoT platform; Parsing the original telemetry data from the JSON message according to a preset table structure; extracting initial real-time data and initial query data from the raw telemetry data; The initial query data includes at least one of the following: fault alarm data, system data, and version change data; Performing deduplication processing on the initial real-time data to obtain real-time data, and storing the real-time data in the cache database; Filtering and splitting the initial query data to obtain the query data, and storing the query data in the relational database in a key-value pair manner; The raw telemetry data is stored in the distributed file storage system in a columnar file storage format.
3. The system according to claim 2, characterized in that The stream data processing platform is specifically used for: extracting initial real-time data within a time window from the raw telemetry data; The initial real-time data within the time window is partitioned according to the device type; Using the latest data in each partition as the real-time data; According to the device identification corresponding to the real-time data, the real-time data is stored in the partition corresponding to the device identification in the cache database in a manner of overwriting old data of the device identification.
4. The system according to claim 3, characterized in that The stream data processing platform is specifically used for: The alarm data is split and processed according to bits to obtain a plurality of alarm data; one of the alarm data corresponds to one alarm event; The alarm data is updated to the alarm record corresponding to the relational database, and the alarm record includes: a first byte and a second byte; the first byte is used to indicate whether an alarm event exists, and the second byte is used to indicate whether the alarm event ends; the original telemetry data includes the alarm class data, the query data includes the alarm data, and N bits of the alarm class data correspond to one type of the alarm event.
5. The system according to claim 4, characterized in that The stream data processing platform is specifically used for: Acquire an alarm value corresponding to the alarm data, and query an alarm record matching the alarm data from the relational database; In the case where the alarm value indicates that no alarm event has occurred, if the alarm record is queried and the alarm record indicates that the alarm event corresponding to the alarm data has not ended, updating the alarm value in the alarm record; In the case where the alarm value indicates that an alarm event has occurred, if the alarm record is found and the alarm record indicates that the alarm event corresponding to the alarm data has ended, or if the alarm record is not found, then the alarm value is updated in a newly added manner; In the case where the alarm value indicates that an alarm event has occurred, if the alarm record is queried and the alarm record indicates that the alarm event corresponding to the alarm data has not ended, the alarm value is updated in the alarm record.
6. The system according to any one of claims 1 to 5, characterized in that: The target device is a device in an energy storage power station, and the big data processing platform is also used for: Acquire operation data of the energy storage device of the energy storage power station from the distributed file storage system; Using a machine learning model to predict the operating status of the energy storage device and generate a prediction result; Writing the prediction result into the relational database; And / or, when the prediction result indicates that the energy storage device is abnormal, outputting alarm information of the abnormality of the energy storage device.
7. The system according to any one of claims 1 to 5, characterized in that: The data processing system further includes: a web application end; the web application end is respectively connected to the cache database, the relational database, the distributed file storage system, and the big data processing platform for communication; The web application end is used for: Acquire real-time data from the cache database; Acquire query data from the relational database and / or the big data processing platform; The raw telemetry data is obtained from the distributed file storage system.
8. The system according to claim 7, characterized in that The distributed file storage system is also used to receive the original telemetry data of the target device uploaded in batches by the web application end.
9. The system according to any one of claims 2 to 5, characterized in that: The stream data processing platform is also used for: Sending a device provisioning program to the Internet of Things platform; the device provisioning program is used to define an Internet of Things device for receiving the raw telemetry data in the Internet of Things platform.
10. The system according to any one of claims 1 to 5, characterized in that: The stream data processing platform further includes a plurality of data processing nodes, and the stream data processing platform is further used for: The original telemetry data is distributed to the multiple data processing nodes in a load balancing manner, so that the multiple data processing nodes extract the real-time data and query data.
11. A data processing method, characterized in that: The method is applied to a data processing system, which includes a stream data processing platform, a big data processing platform, a cache database, a relational database, and a distributed file storage system; wherein the stream data processing platform is respectively connected in communication with the cache database, the relational database, the distributed file storage system, and the big data processing platform, and the big data processing platform is also connected in communication with the distributed file storage system; The stream data processing platform is used to receive the original telemetry data reported by the target device, and extract real-time data and query data from the original telemetry data, store the real-time data in the cache database, store the query data in the relational database, and store the original telemetry data in the distributed file storage system; wherein the real-time data is the data that changes dynamically during the operation of the target device; The big data processing platform is used to respond to the data processing instructions of the stream data processing platform, perform statistical analysis and processing on the original telemetry data stored in the distributed file storage system, obtain statistical data of the target device, and store the statistical data in the relational database.
12. A data processing device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method as claimed in claim 11.
13. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is executed by a processor to implement the method described in claim 11.
14. A computer program product, characterized in that The invention comprises a computer program, which implements the method as claimed in claim 11 when being executed by a controller.
Citation Information
Patent Citations
Method, device and system for recording distributed equipment failure
CN106375113A
Power distribution and consumption data processing method and system
CN107590749A
Power consumption information acquisition master station system based on distributed technology
CN111432295A
Historical meteorological data query and analysis system and method
CN116010703A
Optical storage all-in-one machine alarm management method, optical storage all-in-one machine and computer storage medium
CN117931502A
Cited By
Data management method and device, electronic equipment, storage medium and computer program product
CN121233561A
