Industrial data processing method, system, equipment and medium

By using the primary and secondary screening rules set of data preprocessing modules in the industrial data acquisition system to classify industrial data, the real-time and complexity problems are solved, the data processing efficiency and transmission quality are improved, and real-time industrial data is realized efficient processing.

CN119271716AInactive Publication Date: 2025-01-07WUXI HUAIXIN INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411786386.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-01-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Industrial data acquisition systems face real-time and complex challenges, including high sampling rate data processing, multiple protocol support and a wide variety of equipment, resulting in low data transmission and processing efficiency, affecting the accuracy and real-time nature of data analysis.

Method used

The data preprocessing module is adopted to classify industrial data through a collection of primary and secondary screening rules, process emergency and non-emergency data in stages, and use event categories to determine communication pipelines to ensure the quality and timeliness of data transmission.

Benefits of technology

It improves the processing efficiency of real-time industrial data, reduces screening and transmission time, enhances the real-time and accuracy of data transmission, and reduces system complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271716A_ABST
    Figure CN119271716A_ABST
Patent Text Reader

Abstract

The invention discloses an industrial data processing method, system and device and a medium, and the method comprises the steps: carrying out the primary screening of read industrial data through a first screening rule set, and obtaining a primary return event; the industrial data is subjected to secondary screening processing by using a first screening rule set to obtain a primary return event, the industrial data is subjected to secondary screening processing by using a second screening rule set to obtain a secondary return event, and the first screening rule set and the second screening rule set are obtained by performing classification processing on condition expressions according to predefined emergency degree requirements and / or response speed requirements of the return event; and after the primary return event or the secondary return event is obtained, according to the event type corresponding to the primary return event or the secondary return event, transmitting the primary return event or the secondary return event to an application system or an industrial device or an industrial gateway through a pre-established communication pipeline corresponding to the event type. Through classification and grading in the screening process of the scheme, the real-time industrial data processing efficiency can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application generally relates to the field of industrial automation technology. More specifically, the present application relates to an industrial data processing method, system, device and medium. Background Art

[0002] With the rapid development of information technology, industrial data collection technology has also entered the digital stage. The data collection system at this stage can not only automatically collect data, but also digitize the data for easy storage, processing and analysis. At the same time, the data collection system has also begun to integrate with other information systems within the enterprise (such as enterprise resource planning systems, manufacturing execution systems, etc.), realizing data sharing and utilization.

[0003] However, data acquisition systems face many challenges when collecting data from industrial equipment. For example, a major feature of industrial data acquisition is real-time, including the real-time nature of data acquisition and data processing. Taking sensor data acquisition as an example, a high sampling rate means a large amount of data per unit time, which places high demands on network bandwidth and transmission reliability. For another example, the industrial field environment is complex and there are many types of equipment. The data acquisition system faces the problem of the coexistence of multiple industrial protocols, such as PROFIBUS, Modbus, CAN, HART, EtherCAT, EthernetIP, Modbus / TCP, PROFINET, OPC UA, etc., as well as a large number of manufacturer-proprietary protocols. This situation causes the data acquisition system to support multiple protocols, increasing system complexity and cost.

[0004] In view of this, there is an urgent need to provide an industrial data processing solution so as to effectively solve these problems and improve data collection efficiency and quality through reasonable system design and optimization. Summary of the invention

[0005] In order to at least solve one or more of the technical problems mentioned above, the present application proposes an industrial data processing solution in multiple aspects.

[0006] In a first aspect, the present application provides an industrial data processing method, which is executed by a data preprocessing module of an industrial data processing system, and the method includes: first using a first filtering rule set to perform primary filtering processing on the read industrial data to obtain a primary return event; then using a second filtering rule set to perform secondary filtering processing on the industrial data to obtain a secondary return event, the first filtering rule set and the second filtering rule set are obtained by classifying conditional expressions according to pre-defined urgency requirements and / or response speed requirements of return events, and the conditional expressions are used to evaluate the filtering rules of industrial data; after obtaining the primary return event or the secondary return event, according to the event category corresponding to the primary return event or the secondary return event, the primary return event or the secondary return event is transmitted to the application system or industrial equipment or industrial gateway through a pre-established communication channel corresponding to the event category, and the event category is pre-defined according to the device attributes or user attributes of the return event.

[0007] In a second aspect, the present application provides an industrial data processing system, the industrial data processing system comprising a data preprocessing module, the data preprocessing module comprising a first data screening unit, a second data screening unit, The first data screening unit is configured to first perform primary screening processing on the read industrial data using the first screening rule set to obtain a primary return event; the second data screening unit is configured to perform secondary screening processing on the industrial data using the second screening rule set to obtain a secondary return event, the first screening rule set and the second screening rule set are obtained by classifying the conditional expression according to the predefined urgency requirement and / or response speed requirement of the return event, and the conditional expression is used to evaluate the screening rules of the industrial data; the first data screening unit is also configured to, after obtaining the primary return event, transmit the primary return event to the application system or industrial device or industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the primary return event, and the event category is pre-defined according to the device attribute or user attribute of the primary return event; the second data screening unit is also configured to, after obtaining the secondary return event, transmit the secondary return event to the application system or industrial device or industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the secondary return event, and the event category is pre-defined according to the device attribute or user attribute of the secondary return event.

[0008] In a third aspect, the present application provides an electronic device, comprising: a processor; and a memory storing computer instructions for implementing an industrial data processing method, wherein when the computer instructions are executed by the processor, the electronic device executes the method described in the first aspect.

[0009] In a fourth aspect, the present application provides a computer-readable storage medium, comprising program instructions for implementing an industrial data processing method, and when the program instructions are executed by a processor, the method described in the first aspect is implemented.

[0010] The embodiment of the present application provides an industrial data processing method, system, device and medium. The method is executed by a data preprocessing module of an industrial data processing system. The method first uses a first screening rule set to perform primary screening processing on the read industrial data to obtain a primary return event; then uses a second screening rule set to perform secondary screening processing on the industrial data to obtain a secondary return event, wherein the first screening rule set and the second screening rule set are obtained by classifying the conditional expressions according to the urgency requirements and / or response speed requirements of the predefined return events, that is, by first classifying the screening rules, and then processing the screening process in stages according to the classification results, the return event can be completed in advance for data with a high response program or a high urgency program in the real-time industrial data. Then, after obtaining the primary return event or the secondary return event, according to the event category corresponding to the primary return event or the secondary return event, the primary return event or the secondary return event is transmitted to the application system or the industrial device or the industrial gateway through a pre-established communication channel corresponding to the event category. The event category is pre-defined according to the device attributes or user attributes of the return event. After completing the primary or secondary screening, the primary return event and the secondary return event are transmitted to the application system or the industrial device or the industrial gateway through the communication channel corresponding to the event category, which can ensure the quality and timeliness of data transmission. Therefore, the technical solution provided in the embodiment of the present application can improve the processing efficiency of real-time industrial data. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein: Figure 1 An exemplary application scenario of an embodiment of the present application is shown; Figure 2 An exemplary flow chart of an industrial data processing method 200 provided in some embodiments of the present application is shown; Figure 3 An exemplary flow chart of an industrial data processing method 300 provided in some embodiments of the present application is shown; Figure 4 An exemplary flow chart of an industrial data processing method 400 provided in some other embodiments of the present application is shown; Figure 5 An exemplary flow chart of an industrial data processing method 500 provided in some other embodiments of the present application is shown; Figure 6 An exemplary flow chart of an industrial data processing method 600 provided by yet other embodiments of the present application is shown; Figure 7 A schematic structural diagram of an industrial data processing system 700 provided in some other embodiments of the present application is shown; Figure 8 A schematic structural diagram of an industrial data processing system 800 provided in some other embodiments of the present application is shown; Fig. 9 A block diagram of an electronic device 900 suitable for implementing the embodiments of the present application is shown exemplarily. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 those skilled in the art without creative work are within the scope of protection of the present application.

[0013] It should be understood that the terms "include" and "comprising" used in the specification and claims of the present application indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0014] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this application specification and claims, unless the context clearly indicates otherwise, the singular forms of "a", "an" and "the" are intended to include plural forms. It should also be further understood that the term "and / or" used in this application specification and claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0015] As used in this specification and claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0016] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.

[0017] Exemplary application scenarios Figure 1 An exemplary scenario to which the embodiments of the present application can be applied is shown.

[0018] In industrial systems, application systems refer to computer software systems used to achieve specific business functions or management goals. These systems can be divided into many types according to their functions and application scenarios. For example, ERP (Enterprise Resource Planning) system is used to integrate various resources within the enterprise, including finance, human resources, production, logistics, etc., to improve the operational efficiency and resource utilization of the enterprise. MES (Manufacturing Execution System) system is mainly used in production sites and is responsible for production scheduling, material tracking, quality control and other tasks to ensure the smooth implementation of production plans. SCADA (Supervisory Control And Data Acquisition) system is widely used in the field of industrial automation to monitor and control production equipment, as well as collect and process production data. PLM (Product Lifecycle Management) system covers the entire life cycle from product design, manufacturing, service to scrapping, helping enterprises better manage product-related information and processes.

[0019] The data acquisition service system can be a hardware device or a software system. It is mainly responsible for real-time data collection from various industrial equipment (such as sensors, PLCs, instruments, etc.), and processing, storing and transmitting these data. Data acquisition servers play a vital role in industrial automation and informatization. The main functions of data acquisition servers include: Data acquisition: Through the connection with industrial equipment, various data from the production site are collected in real time, such as temperature, humidity, pressure, flow, equipment status, etc. Data processing: Pre-process the collected data, such as data cleaning, data conversion, data aggregation, etc., to ensure the accuracy and availability of the data. Data storage: Store the processed data in the database for subsequent query, analysis and reporting. Data transmission: Transmit the collected data to other systems or platforms such as MES, ERP, SCADA, etc. through the network to realize data sharing and utilization. Monitoring and alarm: Real-time monitoring of the operating status of industrial equipment, when abnormal conditions are detected, timely alarms can be issued to remind relevant personnel to take measures.

[0020] An industrial gateway, or industrial communication gateway, is a device used to connect different networks and realize data transmission. It plays a vital role in industrial automation systems. An industrial communication gateway can realize the conversion between different communication protocols, enabling seamless data transmission between different devices and systems. For example, it can convert industrial protocols such as Modbus, Profinet, and EtherNet / IP into a unified format to facilitate data sharing and utilization between different systems.

[0021] Industrial equipment refers to various mechanical equipment, instruments, control systems, etc. used in industrial production and manufacturing processes. These devices are usually used to perform specific production tasks, such as processing, assembly, transportation, storage, etc. Common industrial equipment includes but is not limited to: sensors are used to sense physical quantities in the environment (such as temperature, humidity, pressure, speed, etc.) and convert this information into electrical signals; actuators perform specific actions according to control signals (such as switching valves, adjusting the operating status of equipment, etc.). Programmable logic controller, a digital control system designed specifically for industrial environments, is used to achieve various automated control tasks. CNC machine tools, a device that controls the movement and operation of machine tools through computer programs, are widely used in metal cutting, mold manufacturing and other fields. Industrial automation equipment, including various motors, inverters, servo systems, pneumatic components, etc., are used to achieve automated control of the production process. Energy and power equipment: such as generators, transformers, compressors, etc., provide the required energy and power for industrial production and equipment operation.

[0022] Due to the complexity of the industrial environment, the diversity of equipment, and the challenges of data transmission and processing, data collection will encounter a series of problems. For example, in the process of industrial data collection, some outliers may appear, which may have a significant impact on the data analysis results, and different industrial equipment and sensors may generate data of different units and magnitudes, which will also affect the timely processing of data. In order to improve the efficiency and accuracy of data analysis, it is usually necessary to perform preprocessing after data collection, including data cleaning, format conversion, outlier processing and other steps. The more processing logic, the more it affects real-time performance. At present, for the preprocessing process of industrial data, it is necessary to wait for all processing events to be completed uniformly before sending them to the application system together. Obviously, if the preprocessing process takes too long, it will cause data delays, thereby affecting the real-time performance of the entire data processing process.

[0023] In summary, common problems in industrial data collection involve multiple aspects, and it is necessary to comprehensively consider factors such as protocol compatibility, real-time, data volume, device access, and transmission stability. Therefore, it is expected that these problems can be effectively solved through reasonable system design and optimization, thereby improving the efficiency and quality of data collection.

[0024] Figure 2 An exemplary flow chart of an industrial data processing method 200 provided in some embodiments of the present application is shown. The method is executed by a data preprocessing module of an industrial data processing system. Figure 2 As shown, the method includes: Step S201 : firstly perform primary screening processing on the read industrial data using a first screening rule set to obtain primary return events.

[0025] Step S202: Perform secondary screening on the industrial data using the second screening rule set to obtain secondary return events.

[0026] In the above steps, the first set of screening rules and the second set of screening rules are obtained by classifying and processing the conditional expressions according to the predefined urgency requirements and / or response speed requirements of the return events, and the conditional expressions are used to evaluate industrial data. Screening rules, which may also be referred to as screening conditions, refer to the criteria used to select specific data from industrial data or trigger recording data. The screening rules can be expressed using conditional expressions. Conditional expressions are used to evaluate the screening rules for industrial data. For example, the comparison relationship between industrial data and device attribute parameters is used as a conditional expression. The comparison relationship between industrial data and business configuration attribute parameters is used as a conditional expression. For example, the temperature range of device A is used as the device attribute parameter, the industrial data is the temperature value B collected from the thermometer, and the conditional expression is whether the temperature value B is within the temperature range of device A.

[0027] The conditional expression can be an evaluation condition related to device attribute parameters, an evaluation condition related to business configuration attribute parameters, or an evaluation condition related to user-defined parameters. Device attribute parameters are parameters related to device performance, including but not limited to the range parameters and numerical precision parameters of the device. Business configuration attribute parameters are parameters related to configurable requirements defined by the business, including but not limited to business configuration parameters used to control the production process.

[0028] The screening rule set is a set of one or more conditional expressions. The first screening rule set and the second screening rule set are sets obtained by classifying and processing the conditional expressions according to the predefined urgency requirements and / or response speed requirements of the return events. Among them, the first screening rule set may be a set including one or more first-class conditional expressions, which screen and judge the industrial data to obtain return events, and the urgency requirement of the return event is high (that is, feedback is required as soon as possible after processing), or the response speed is high (that is, the data is transmitted to the application system after it is obtained). The second screening rule set may be a set including one or more second-class conditional expressions, which screen and judge the industrial data to obtain return events, and the urgency requirement of the return event is general, or the response speed requirement is general.

[0029] A return event is a signal or message sent by the data acquisition service system to the application system after processing a request or task. It is used to notify the application system of the execution result of the task, including success, failure, progress and other information. The main function of the return event is to achieve communication and collaboration between systems. According to different application scenarios and requirements, return events can be divided into multiple types, including but not limited to device events, user-defined events defined by users according to specific business needs, etc. User-defined events are not limited to subscription events, archive events, business events related to business processes or process flows, etc. Return events may also include but are not limited to generated business event notifications and / or drive control instructions, or the results of operations directly targeting industrial data according to pre-defined return events. Business event notifications are used to notify the application system of the device status currently reflected by the industrial data. Drive control instructions are used to control the working equipment that reports industrial data or other industrial equipment connected to the working equipment that reports industrial data to participate in collaborative work. The results of operations directly targeting industrial data according to pre-defined return events can be a way of asynchronously processing industrial data, such as the processing results obtained after adding subscription tags to industrial data according to pre-defined subscription events.

[0030] Take the thermometer of a milk sterilizing tank as an example. The range parameters of the thermometer of a milk sterilizing tank vary depending on the specific equipment and process requirements. For pasteurization, the process temperature range may need to cover the range of 60~90℃; for UHT sterilization, it may need to cover the range of 100~150℃. During pasteurization, if the temperature value is detected to be 151℃, it means that the milk sterilizing tank is faulty, that is, the thermometer may be damaged or faulty, resulting in an inaccurate temperature display. In this case, the thermometer needs to be calibrated or replaced. It may also be that the operator made a mistake when setting or monitoring the temperature, causing the temperature to exceed the expected range. It is also possible that the process parameters of pasteurization are mistakenly set to a temperature higher than the conventional pasteurization temperature range (generally between 60℃ and 85℃). In this case, the process parameters need to be rechecked and adjusted. When the detected temperature value of 151℃ is preliminarily screened, a return event can be obtained, that is, the first business event notification is generated, and the first business event notification is reported to the application system to troubleshoot the above problem.

[0031] The industrial data read can be the industrial data read from the industrial equipment or industrial gateway by the data preprocessing module of the industrial data processing system; it can also be the industrial data read directly from the data collection point of the industrial equipment. Data collection point refers to the equipment or system used to collect and obtain various data in the production process in the field of industrial automation and intelligent manufacturing. Data collection points usually include sensors, actuators, programmable logic controllers (PLC), industrial robots and other equipment, which can collect and transmit various types of industrial data in real time, such as temperature, humidity, pressure, flow, vibration, image, etc.

[0032] Take the thermometer of a milk sterilizing tank as an example. The milk sterilizing tank is in the pasteurization working mode. The pasteurization working mode may include low temperature and long time (LTLT) pasteurization method: 62.8-65.6℃, 30 minutes; high temperature and short time (HTST) pasteurization method: 71.7℃, 15 seconds, or 72-75℃, 15-25 seconds. When the detected temperature value is 72, the milk sterilizing tank is controlled to work according to the high temperature and short time pasteurization method. Among them, the temperature value range of 62.8-65.6℃ is used as a business configuration attribute parameter, the temperature value of 71.7℃ is used as a business configuration attribute parameter, and the temperature value range of 72-75℃ is used as a business configuration attribute parameter. When the collected temperature value is between 62.8 and 65.6℃, the working state of low temperature and long time pasteurization is monitored by monitoring the continuous state of the temperature value.

[0033] Taking industrial data as temperature value as an example, when the temperature value is greater than the equipment range parameter, a business event notification is generated and transmitted to the application system. The business event notification can be in the form of a work order or other notification forms. For another example, when the pressure value collected on the pressure tank reaches the preset warning value, a drive control instruction is generated and written into the valve device of the pressure tank to control the switch state of the valve device, thereby enabling the pressure tank and other equipment to work together. For another example, by monitoring the temperature value of an industrial equipment in the production process, the switching of the process flow is controlled by the change of the temperature value.

[0034] The industrial data processing system can be configured on the server side, which can be one or more data acquisition servers or other servers with similar functions to the data acquisition servers. The functional modules used to implement the industrial data processing system can be centrally arranged on one server or distributed on multiple servers.

[0035] Step S203, after obtaining the primary return event or the secondary return event, according to the event category corresponding to the primary return event or the secondary return event, the primary return event or the secondary return event is transmitted to the application system or the industrial device or the industrial gateway through a pre-established communication channel corresponding to the event category, and the event category is pre-defined based on the device attributes or user attributes of the return event.

[0036] In the above steps, the communication methods used to report the return events to the application system include but are not limited to HTTP / HTTPS protocol, WebSocket protocol, Transmission Control Protocol (TCP, English abbreviation, English full name Transmission Control Protocol), etc. By transmitting the return events to the application system, the application system can further analyze and process the industrial data, or monitor and manage the working status of industrial equipment and predict and control it, so as to help engineers and technicians quickly locate key information, optimize the production process, improve product quality, and achieve cost savings.

[0037] The industrial data processing solution provided in the embodiment of the present application first classifies the screening rules, then uses the classified screening rules to perform hierarchical screening and processing on the industrial data, and then transmits the return events obtained from the screening and processing to the application system in a hierarchical manner through a pre-defined communication channel corresponding to the event type, which can effectively improve the processing efficiency of industrial data.

[0038] Figure 3An exemplary flow chart of an industrial data processing method 300 provided in some embodiments of the present application is shown. The method is executed by a data preprocessing module of an industrial data processing system. The first screening rule set includes one or more first-class conditional expressions, which are screening rules for screening industrial data to obtain return events with high urgency requirements or high response speed requirements, and the second screening rule set includes at least one second-class conditional expression related to business configuration, which is a conditional expression related to business configuration. Figure 3 As shown, the method includes: In step S301, the industrial data is evaluated using the first type of conditional expressions to obtain evaluation results corresponding to the first type of conditional expressions.

[0039] In step S302, when the evaluation result indicates that the industrial data needs to be processed, at least a first business event notification is generated as a primary return event, or the processing result obtained by asynchronously processing the industrial data is used as a primary return event. The first business event notification is used to notify the application system that there is a fault in the data collection point of the industrial equipment that reports the industrial data. Asynchronous processing of industrial data is to process the industrial data according to the parameters contained in the pre-defined return event.

[0040] In the above steps, the primary return event may be a first business event notification or a processing result obtained by asynchronously processing industrial data.

[0041] In some embodiments, when the evaluation result indicates that the industrial data needs to be processed, a first business event notification may be generated as a primary return event, or a first business event notification and a drive control instruction may be generated as a primary return event. For example, when the temperature exceeds the limit value of the hardware configuration of the device, it means that the industrial device is very dangerous at this time, and the industrial device can be powered off by writing a drive control instruction.

[0042] In some embodiments, the first type of conditional expression is whether the industrial data exceeds the range of the device range parameter, or whether the industrial data needs to be linearly converted, or whether the industrial data needs to be archived and stored, or whether the industrial data contains a subscription tag. The first type of conditional expression is used to filter the industrial data to obtain return events with high urgency requirements or high response speed requirements. Return events with high urgency requirements include but are not limited to equipment failure events. For example, industrial data that exceeds the device range is identified as reflecting a device failure, that is, an equipment failure event. Feedback times with high response speed requirements include but are not limited to periodic monitoring events using a subscription mechanism.

[0043] In step S303, the industrial data is evaluated using the second type of conditional expressions to obtain evaluation results corresponding to the second type of conditional expressions.

[0044] In the above steps, the second type of conditional expression is used to evaluate the industrial data, and the industrial data that meets the business configuration can be screened out. The business configuration related conditional expression includes but is not limited to the industrial data being within the preset business threshold range, indicating the current working state of the industrial equipment.

[0045] In step S304, when the evaluation result indicates that the industrial equipment reporting the industrial data is currently in normal production, a second business event notification is generated as a secondary return event, and the second business event notification is used to notify the application system that the industrial equipment reporting the industrial data is currently in normal production.

[0046] In step S305, when the evaluation result indicates that the industrial equipment reporting the industrial data is currently in a production failure state, a third business event notification and / or the drive control instruction is generated as a secondary return event, and the third business event notification is used to notify the application system that the working equipment reporting the industrial data is currently in a production failure state, and the drive control instruction is used to control the working equipment reporting the industrial data or other industrial equipment connected to the working equipment reporting the industrial data to participate in collaborative work.

[0047] In the above steps, the secondary return event includes a second business event notification, a third business event notification and / or a drive control instruction. In some embodiments, the secondary return event may include a second business event notification, or the secondary return event may include a third business event notification, or the secondary return event may include a drive control instruction, or the secondary return event may include a third business event notification and a drive control instruction, or the secondary return event also includes a log record of a drive empty instruction. The content of the secondary return event is not limited here, and can be configured or customized according to the specific industrial environment.

[0048] The urgency of the secondary return event is lower than that of the primary return event, or the response speed of the secondary return event is slower than that of the primary return event.

[0049] In some embodiments, after the secondary screening, other event processing may be associated. For example, if it is determined after the secondary screening that the industrial data needs to be archived, the processing of the archive event may be triggered.

[0050] In step S306, after obtaining the primary return event or the secondary return event, the primary return event or the secondary return event is transmitted to the application system or the industrial device or the industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the primary return event or the secondary return event. The event category is pre-defined based on the device attributes or user attributes of the return event.

[0051] The industrial data processing solution provided in the embodiment of the present application effectively saves the processing time of the preprocessing process by classifying the screening rules and then executing each type of screening rules in stages, and transmits the returned events to the application system or industrial equipment or industrial gateway in a timely and effective manner through the communication channel corresponding to the event type, which can effectively save transmission time and thus improve the processing efficiency of real-time industrial data as a whole.

[0052] Figure 4 An exemplary flow chart of an industrial data processing method 400 provided in some other embodiments of the present application is shown. The method is executed by a data preprocessing module of an industrial data processing system. The first screening rule set includes whether the industrial data exceeds the device range parameter range, or whether the industrial data needs to be linearly converted, or whether the industrial data needs to be archived and stored, or whether the industrial data contains a subscription tag. Figure 4 As shown, the method includes: In step S401 , industrial data is read.

[0053] In the above steps, each first-class conditional expression is used in parallel to evaluate the industrial data respectively, that is, whether the industrial data exceeds the device range parameter range, or whether the industrial data needs to be linearly converted, or whether the industrial data needs to be archived, or whether the industrial data contains a subscription tag is used in parallel to evaluate the industrial data respectively.

[0054] In step S402, it is determined whether the industrial data exceeds the range of the equipment measurement parameters.

[0055] In step S4021, when it is determined that the industrial data exceeds the range of the device measurement parameter, a first business event notification is generated as a primary return event. After the primary return event is obtained, according to the event category corresponding to the primary return event, the primary return event is transmitted to the application system or industrial device or industrial gateway through a pre-established communication channel corresponding to the event category. Then, the step of performing secondary screening processing on the read industrial data using the second screening rule set is entered.

[0056] In step S4022, when it is determined that the industrial data does not exceed the equipment range parameter range and the industrial data does not satisfy other first-category conditional expressions, the step of performing secondary screening processing on the read industrial data using the second screening rule set is entered.

[0057] In step S403, it is determined whether the industrial data needs to be linearly converted.

[0058] In step S4031, when it is determined that the industrial data needs to be linearly converted, the industrial data is directly linearly converted according to the conversion parameters of the predefined return event, and the processing result is obtained as the primary return event. According to the event category corresponding to the primary return event, the primary return event is transmitted to the application system or industrial equipment or industrial gateway through the pre-established communication channel corresponding to the event category. Then, the step of performing secondary filtering processing on the read industrial data using the second filtering rule set is entered.

[0059] In step S4032, when it is determined that the industrial data does not need to be linearly converted and the industrial data does not satisfy other first-category conditional expressions, a step of performing secondary screening processing on the read industrial data using a second screening rule set is entered, or the industrial data is discarded.

[0060] In step S404, it is determined whether the industrial data needs to be archived. In step S4041, when it is determined that the industrial data needs to be archived and stored, and when it is determined that the collection time of the industrial data has reached the archive storage time accumulation period, the industrial data is directly archived and stored according to the storage parameters of the predefined return event. Then, the step of performing secondary screening on the read industrial data using the second screening rule set is entered.

[0061] In step S4042, when it is determined that the industrial data does not need to be archived and stored, and the industrial data does not satisfy other first-category conditional expressions, a step of performing secondary screening processing on the read industrial data using a second screening rule set is entered, or the industrial data is discarded.

[0062] The data preprocessing module of the industrial data processing system also includes a time series database. When the first type of conditional expression included in the first screening rule set is whether the industrial data needs to be archived and stored, after obtaining the primary return event, according to the event category corresponding to the primary return event, the primary return event is transmitted to the application system through a pre-established communication channel corresponding to the event category, including: when it is determined that the event category corresponding to the primary return event is an archive return event, the industrial data is stored in the time series database according to the preset parameters of the archive return event.

[0063] In step S405 , it is determined whether the industrial data contains a subscription tag. In step S4051, when it is determined that the industrial data includes a subscription tag, the industrial data is transmitted to the application system through a pre-established instant messaging channel according to the subscription parameters of the pre-defined return event. Then, the step of performing secondary screening processing on the read industrial data using the second screening rule set is entered.

[0064] In step S4052, when it is determined that the industrial data does not include a subscription tag and the industrial data does not satisfy other first-category conditional expressions, a step of performing secondary screening processing on the industrial data using a second screening rule set is entered, or the industrial data is discarded.

[0065] In step S406, the industrial data is subjected to secondary screening processing using the second screening rule set to obtain secondary return events. After the secondary return events are obtained, the process proceeds to step S407 to process the secondary return events.

[0066] In step S407, after obtaining the secondary return event, the secondary return event is transmitted to the application system or industrial equipment or industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the secondary return event. The event category is pre-defined based on the device attributes or user attributes of the return event.

[0067] The industrial data processing solution provided in the embodiment of the present application effectively saves the processing time of the preprocessing process by classifying the screening rules and then executing the screening of the industrial data using the screening rules in stages, and timely and effectively transmits the returned events to the application system or industrial equipment or industrial gateway through the communication channel corresponding to the event type, which can effectively save the transmission time, thereby improving the overall processing efficiency of real-time industrial data, and when there are multiple first-class conditional expressions, each first-class conditional expression can be used in parallel to judge the industrial data separately, which can significantly shorten the time for evaluating and processing the industrial data, thereby further improving the efficiency of real-time data processing.

[0068] Figure 5 1 shows an exemplary flow chart of an industrial data processing method 500 provided in some embodiments of the present application. The method is executed by a data preprocessing module of an industrial data processing system. The data preprocessing module of the industrial data processing system also includes an intermediate cache unit, which is configured to cache industrial data. Figure 5 As shown, the method includes: In step S501, an instant communication channel is pre-established between the application system and the intermediate cache unit, and the instant communication channel is configured to transmit subscription messages sent by the subscriber of the application system to the intermediate cache unit, and when it is determined that the industrial data includes a subscription tag, the industrial data is transmitted to the subscriber in the application system according to the subscription tag.

[0069] In step S502, industrial data is read from the intermediate cache unit.

[0070] In the above steps, the coupling relationship between the data preprocessing module and the industrial equipment or industrial gateway is released through the intermediate cache unit, thereby improving the processing efficiency of industrial data.

[0071] In step S503 , it is determined whether there is any relevant pre-defined subscription return event for the industrial data.

[0072] In step S504, when it is determined that there is a predefined subscription return event, a subscription tag corresponding to the industrial data is generated. When it is determined that there is no predefined subscription return event, the step of performing secondary screening processing on the industrial data using a second screening rule set is entered.

[0073] In step S505 , it is determined whether the industrial data contains a subscription tag.

[0074] In step S506, when it is determined that the industrial data contains a subscription tag, the processing result obtained by asynchronously processing the industrial data is used as a primary return event.

[0075] In step S507, the primary return event is transmitted to the application system through the instant messaging channel.

[0076] After the above steps are processed, the process proceeds to the step of performing secondary screening processing on the industrial data using the second screening rule set.

[0077] The industrial data processing solution provided by the embodiment of the present application allows the data recipient to subscribe to the required data in advance through a subscription mechanism, so that the relevant data is received immediately after the data is generated, without polling or waiting for notification. This method can significantly reduce data transmission delays and improve data processing efficiency. Through the subscription mechanism, the data recipient can specify to only receive the data he is concerned about, thereby reducing unnecessary data transmission and processing, and further improving data processing efficiency. The use of instant communication channels and subscription mechanisms can provide low-latency, high-reliability data transmission services, ensuring that high-sampling rate data can be transmitted to the destination immediately after it is generated, thereby improving the real-time and processing efficiency of the data.

[0078] Figure 6 600 according to some embodiments of the present application. The method is executed by a data preprocessing module of an industrial data processing system. The data preprocessing module of the industrial data processing system includes an intermediate cache unit, and the industrial data processing system includes a virtual connection module. Figure 6 As shown, before reading the industrial data, the method includes: In step S601 , a first communication connection is established between the intermediate cache unit and the virtual connection module, and the first communication connection is configured to transmit industrial data read from the industrial device and / or the industrial gateway to the intermediate cache unit.

[0079] In step S602, a second communication connection is established between the virtual connection module and the industrial device and / or the industrial gateway, and the second communication connection is configured to transmit the industrial data read from the industrial device and / or the industrial gateway to the first communication connection, and to transmit the drive control instructions received by the virtual connection module to the industrial gateway and / or the industrial device.

[0080] In the above steps, a second communication connection is established between the virtual connection module and the industrial device and / or the industrial gateway, including: pre-defining a class for establishing the second communication connection; calling the method defined in the class through a pre-created driver instance to complete the establishment of the second communication connection between the data collection point of the industrial device or the industrial gateway, and each driver instance corresponds to a communication protocol.

[0081] By pre-defining a class for establishing a second communication connection; and calling the method defined in the class through a pre-created driver instance, the connection between industrial equipment or industrial gateways in different industrial scenarios and the industrial data processing system can be achieved. Different hardware devices for different industrial scenarios are developed separately with corresponding drivers, and the method in the pre-defined class is called by the driver instance, so that a communication connection can be quickly established.

[0082] Therefore, the embodiment of the present application can establish a communication connection between different communication protocol versions by pre-creating a driver instance and a class for establishing a second communication connection, and calling methods in the class through the driver instance in different industrial scenarios. The establishment of such a communication connection also effectively saves the overall time for collecting industrial data, improves the processing efficiency of real-time industrial data, and has the advantage of low development cost.

[0083] In step S603, the virtual connection module receives a read request sent by the application system.

[0084] In step S604, in response to the read request, the read request is parsed to obtain the target point address carried in the read request.

[0085] In step S605, the point information corresponding to the target point address is searched according to the target point address.

[0086] In step S606, the point information is used as an input parameter of the method defined in the calling class to complete the reading of industrial data at the target point address.

[0087] In step S607 , the read industrial data is transmitted to the intermediate cache unit through the second communication connection and the first communication connection.

[0088] In the above steps, the read request is a request for reading industrial data from an industrial device or an industrial gateway or a data collection point of an industrial device. The read request may carry the target point address. Point information refers to the specific installation or layout location and related attributes of sensors, devices, etc. used to collect data. The point information of the data collection point includes but is not limited to channel coding, device coding, measurement point type, data type, source point, and acquisition frequency. The industrial data processing solution provided in the embodiment of the present application can, after receiving a read request sent by an application system, search for corresponding point information based on the target point address carried in the read request, and then quickly read the industrial data into the intermediate cache unit through the pre-created second communication connection and the first communication connection, thereby effectively saving the time for industrial data reading and further improving the processing efficiency of real-time industrial data.

[0089] To sum up, the industrial data processing solution provided in the embodiment of the present application can significantly reduce the delay of industrial data in the data processing stage by classifying and grading the screening rules of industrial data, and then transmit the returned events to the application system in a classified and graded manner through the communication channels corresponding to the event categories, thereby further reducing the transmission delay, thereby improving the overall processing efficiency of real-time industrial data.

[0090] In some embodiments, an instant communication pipeline is used to provide a low-latency, high-reliability data transmission service to ensure that high-sampling rate data can be transmitted to the destination immediately after it is generated, and a subscription mechanism is used to allow the data recipient to subscribe to the required data in advance, so that the relevant data can be received immediately after the data is generated without polling or waiting for notification, thereby reducing unnecessary data transmission and processing. Therefore, the use of a subscription mechanism and an instant communication pipeline to transmit high-frequency collected real-time industrial data can greatly ensure the real-time nature and transmission quality of the industrial data, thereby effectively improving the processing efficiency of real-time industrial data.

[0091] In some embodiments, real-time industrial data that needs to be archived is stored in a time series database, which can efficiently handle the writing and query operations of a large amount of real-time data, which is particularly important for application scenarios that require frequent recording and analysis of real-time industrial data. It uses archive return events to store the industrial data to be archived in a time series database, which can effectively improve the efficiency of real-time data reading and writing, thereby improving the processing efficiency of real-time industrial data.

[0092] Figure 7A schematic structural diagram of an industrial data processing system 700 provided by some other embodiments of the present application is shown. The system includes a data preprocessing module 701 that establishes a communication connection with an application system and an industrial device or an industrial gateway. The data preprocessing module 701 is configured to: first perform primary screening processing on the read industrial data using a first screening rule set to obtain a primary return event; then perform secondary screening processing on the industrial data using a second screening rule set to obtain a secondary return event, the first screening rule set and the second screening rule set are obtained by classifying and processing the conditional expression used to screen the industrial data according to the urgency requirement and / or response speed requirement of the predefined return event; after obtaining the primary return event or the secondary return event, according to the event category corresponding to the primary return event or the secondary return event, the primary return event or the secondary return event is transmitted to the application system or the industrial device or the industrial gateway that is connected to the industrial data processing system through a pre-established communication channel corresponding to the event category, and the event category is pre-defined according to the device attribute or user attribute of the return event.

[0093] The industrial data processing solution provided in the embodiment of the present application can significantly reduce the delay of industrial data in the data processing stage by classifying and grading the screening rules of industrial data, and then transmit the returned events to the application system in a classified and graded manner through the communication pipeline corresponding to the event category, thereby further reducing the transmission delay, thereby improving the overall processing efficiency of real-time industrial data.

[0094] Figure 8 Schematic diagram of industrial data processing system 800 provided by some embodiments of the present application is shown. The system is configured on the server side. The system includes a data preprocessing module 801 and a virtual connection module 802 that establish communication connection with the application system and the industrial device or industrial gateway. Figure 7 The data preprocessing module 701 shown is the same, please refer to the above related description. The data preprocessing module 801 may include: a first data screening unit and a second data screening unit.

[0095] The first data screening unit is configured to first perform primary screening processing on the read industrial data using a first screening rule set to obtain a primary return event.

[0096] The second data screening unit is configured to perform secondary screening processing on the industrial data using the second screening rule set to obtain secondary return events. The first screening rule set and the second screening rule set are obtained by classifying the conditional expressions according to the pre-defined urgency requirements and / or response speed requirements of the return events. The conditional expressions are used to evaluate the screening rules for the industrial data.

[0097] The first data screening unit is further configured to, after obtaining the primary return event, transmit the primary return event to an application system or industrial device or industrial gateway in communication connection with the industrial data processing system through a pre-established communication channel corresponding to the event category according to the event category corresponding to the primary return event, wherein the event category is pre-defined according to the device attribute or user attribute of the return event; The second data screening unit is also configured to, after obtaining the secondary return event, transmit the secondary return event to the application system or industrial equipment or industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the secondary return event, and the event category is pre-defined based on the device attributes or user attributes of the secondary return event.

[0098] In some embodiments, the first filtering rule set includes at least one first-class conditional expression, and the first-class conditional expression is a filtering rule for filtering industrial data to obtain return events with high urgency requirements or high response speed requirements. The first data filtering unit is also configured to: evaluate and process the industrial data using the first-class conditional expression to obtain an evaluation result corresponding to the first-class conditional expression; when the evaluation result indicates that the industrial data needs to be processed, generate a first business event notification as a primary return event, or use the processing result obtained by asynchronously processing the industrial data as the primary return event. The first business event notification is used to notify the application system that there is a fault in the data collection point of the industrial equipment that reports the industrial data. Asynchronous processing of industrial data is to process the industrial data according to the parameters contained in the pre-defined return event.

[0099] In some embodiments, the first type of conditional expression is whether the industrial data exceeds the device range parameter range, whether the industrial data needs to be linearly converted, whether the industrial data needs to be archived, or whether the industrial data contains a subscription tag.

[0100] In some embodiments, when the first screening rule set includes multiple first-class conditional expressions, the first data screening unit is further configured to: evaluate and process the industrial data in parallel using each first-class conditional expression to obtain an evaluation result corresponding to each first-class conditional expression.

[0101] In some embodiments, the second screening rule set includes at least one second type of conditional expression related to the business configuration, and the second data screening unit is configured to evaluate and process the industrial data using the second type of conditional expression to obtain an evaluation result corresponding to the second type of conditional expression; when the evaluation result indicates that the industrial equipment reporting the industrial data is currently in a normal production state, a second business event notification is generated, and the second business event notification is used to notify the application system that the industrial equipment reporting the industrial data is currently in a normal production state; or, when the evaluation result indicates that the industrial equipment reporting the industrial data is currently in a production failure state, a third business event notification and / or a drive control instruction is generated, and the third business event notification is used to notify the application system that the working equipment reporting the industrial data is currently in a production failure state, and the drive control instruction is used to control the working equipment reporting the industrial data or other industrial equipment connected to the working equipment reporting the industrial data to participate in collaborative work.

[0102] In some embodiments, the data preprocessing module of the industrial data processing system also includes an intermediate cache unit, which is configured to cache industrial data. The industrial data processing system also includes: an instant communication channel pre-established between the application system and the intermediate cache unit, the instant communication channel is configured to transmit subscription messages sent by the subscriber of the application system to the intermediate cache unit, and when it is determined that the industrial data includes a subscription tag, the industrial data is transmitted to the subscriber in the application system according to the subscription tag.

[0103] The first data screening unit is configured to read the industrial data from the intermediate cache unit; If the first type of conditional expression included in the first filtering rule set is whether the industrial data contains a subscription tag, and the pre-established communication channel corresponding to the event category is an instant communication channel, then the first data filtering unit is configured to transmit the industrial data to the application system through the instant communication channel according to the subscription tag contained in the industrial data when it is determined that the event category corresponding to the primary return event is a subscription return event.

[0104] In some embodiments, the data preprocessing module also includes a time series database. When the first type of conditional expression included in the first filtering rule set is whether the industrial data needs to be archived and stored, the first data filtering unit is also configured to store the industrial data in the time series database according to preset parameters of the archived return event when it is determined that the event category corresponding to the primary return event is an archived return event.

[0105] In some embodiments, the industrial data processing system also includes a virtual connection module 802, and the data preprocessing module also includes an intermediate cache unit. The system also includes: a first communication connection establishment unit (not shown in the figure) and a second communication connection establishment unit (not shown in the figure). The virtual connection module 802 is configured to store the point information of the data collection point of the industrial equipment, store multiple pre-created driver instances, and receive a read request sent by the application system; in response to the read request, parse the read request to obtain the target point address carried by the read request; search for the point information corresponding to the target point address according to the target point address; use the point information as the input parameter of the method defined in the calling class to complete the reading of industrial data at the target point address; transmit the read industrial data to the intermediate cache unit through the second communication connection and the first communication connection.

[0106] A first communication connection establishing unit, configured to establish a first communication connection between the intermediate cache unit and the virtual connection module, the first communication connection being configured to transmit industrial data read from the industrial device and / or the industrial gateway to the intermediate cache unit; The second communication connection establishing unit is configured to establish a second communication connection between the virtual connection module and the industrial device and / or the industrial gateway, and the second communication connection is configured to transmit the industrial data read from the industrial device and / or the industrial gateway to the first communication connection, and transmit the drive control instructions received by the virtual connection module to the industrial gateway and / or the industrial device.

[0107] In some embodiments, the second communication connection establishing unit is configured to predefine a class for establishing a second communication connection; the method defined in the class is called through a pre-created driver instance to complete the establishment of a second communication connection between data collection points of industrial equipment or industrial gateways, and each driver instance corresponds to a communication protocol.

[0108] In some embodiments, the virtual connection module is configured to receive a read request sent by an application system; parse the read request to obtain the target point address carried by the read request; search for point information corresponding to the target point address based on the target point address; use the point information as an input parameter of the method defined in the calling class to complete the reading of industrial data at the target point address; and transmit the read industrial data to the intermediate cache unit through the second communication connection and the first communication connection.

[0109] In some embodiments, the virtual connection module may further include a configuration unit, a read-write unit, and a drive unit.

[0110] The configuration unit is configured to store point information of data collection points of industrial equipment.

[0111] The read-write unit is configured to receive a read request sent by the application system; in response to the read request, parse the read request to obtain the target point address carried by the read request; search for point information corresponding to the target point address according to the target point address. Use the point information as an input parameter of the method defined in the calling class to complete the reading of industrial data at the target point address; transmit the read industrial data to the intermediate cache unit through the second communication connection and the first communication connection.

[0112] The driver unit is configured to store a plurality of pre-created driver instances.

[0113] To sum up, the industrial data processing solution provided in the embodiment of the present application can significantly reduce the delay of industrial data in the data processing stage by classifying and grading the screening rules of industrial data, and then transmit the returned events to the application system in a classified and graded manner through the communication channels corresponding to the event categories, thereby further reducing the transmission delay, thereby improving the overall processing efficiency of real-time industrial data.

[0114] In some embodiments, an instant communication pipeline is used to provide a low-latency, high-reliability data transmission service to ensure that high-sampling rate data can be transmitted to the destination immediately after it is generated, and a subscription mechanism is used to allow the data recipient to subscribe to the required data in advance, so that the relevant data can be received immediately after the data is generated without polling or waiting for notification, thereby reducing unnecessary data transmission and processing. Therefore, the use of a subscription mechanism and an instant communication pipeline to transmit high-frequency collected real-time industrial data can greatly ensure the real-time nature and transmission quality of the industrial data, thereby effectively improving the processing efficiency of real-time industrial data.

[0115] In some embodiments, real-time industrial data that needs to be archived is stored in a time series database, which can efficiently handle the writing and query operations of a large amount of real-time data and improve the processing efficiency of real-time industrial data.

[0116] Fig. 9 The block diagram of the electronic device 900 provided in the embodiment of the present application is shown as an example. Fig. 9 As shown, the electronic device 900 includes a memory 901 and a processor 902, wherein: the memory 901 stores a computer program, and the processor 902 implements various specific implementations of the industrial data processing method described above when executing the computer program, for example Figure 2-6 The industrial data processing method shown in the figure, wherein the memory 901 and the processor 902 can be connected via a bus.

[0117] The part of the industrial data processing method provided in the present application involving software logic can be implemented using a programmable logic device, or it can be implemented as a computer program product, which enables the computer to execute the method for the demonstration. The computer program product includes a computer-readable storage medium, which contains a computer program logic or code part, which is used to implement the various steps of the above-mentioned part involving software logic. The computer-readable storage medium can be a built-in medium installed in the computer or a removable medium (such as a hot-swappable storage device) that can be removed from the computer body. Built-in media include, but are not limited to, rewritable non-volatile memory, such as RAM, ROM, and hard disk. Removable media include, but are not limited to: optical storage media (such as CD-ROM and DVD), magneto-optical storage media (such as MO), magnetic storage media (such as magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (such as memory card) and media with built-in ROM (such as ROM box).

[0118] Those skilled in the art will appreciate that any computer system with an appropriate programming device can perform the steps of the method of the present application contained in the computer program product. Although most of the specific embodiments described in this specification focus on software programs, alternative embodiments that implement the method provided by the present application in hardware are also within the scope of protection claimed in the present application.

[0119] Those skilled in the art know that the embodiments of the present application can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as "circuit", "module", "unit" or "system". In addition, in some embodiments, the present application can also be implemented in the form of a computer program product in one or more computer-readable media, which contains computer-readable program code.

[0120] Computer program code for performing the operation of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0121] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified in the boxes in the flowchart and / or block diagram.

[0122] These computer program instructions may also be stored in a computer-readable medium that enables a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0123] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable device to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0124] Although multiple embodiments of the present application have been shown and described herein, it is obvious to those skilled in the art that such embodiments are provided only by way of example. Those skilled in the art can think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein can be adopted. The attached claims are intended to limit the scope of protection of the present application, and therefore cover equivalents or alternatives within the scope of these claims.

Claims

1. An industrial data processing method, characterized in that: The method is performed by a data preprocessing module of an industrial data processing system, and the method comprises: First, the read industrial data is subjected to primary screening processing using the first screening rule set to obtain primary return events; Then, the industrial data is subjected to secondary screening processing by using a second screening rule set to obtain a secondary return event, wherein the first screening rule set and the second screening rule set are obtained by classifying conditional expressions according to predefined urgency requirements and / or response speed requirements of return events, and the conditional expressions are used to evaluate screening rules for industrial data; After obtaining the primary return event or the secondary return event, the primary return event or the secondary return event is transmitted to the application system or industrial equipment or industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the primary return event or the secondary return event, and the event category is pre-defined according to the device attributes or user attributes of the return event.

2. The method according to claim 1, characterized in that The first screening rule set includes at least one first-class conditional expression, which is a screening rule for screening industrial data to obtain return events with high urgency requirements or high response speed requirements. The primary screening process of the industrial data using the first screening rule set includes: Using the first type of conditional expressions to evaluate the industrial data, and obtaining an evaluation result corresponding to the first type of conditional expressions; When the evaluation result indicates that the industrial data needs to be processed, at least a first business event notification is generated as a primary return event, or the processing result obtained by asynchronously processing the industrial data is used as a primary return event. The first business event notification is used to notify the application system that there is a fault in the data collection point of the industrial equipment that reports the industrial data. The primary return event is a return event with high urgency requirements or high response speed requirements. The asynchronous processing of industrial data is to process the industrial data according to the parameters contained in the pre-defined return event.

3. The method according to claim 2, characterized in that The first type of conditional expression is whether the industrial data exceeds the range of the device measurement parameter, whether the industrial data needs to be linearly converted, whether the industrial data needs to be archived and stored, or whether the industrial data contains a subscription tag.

4. The method according to claim 2, characterized in that: When the first screening rule set includes a plurality of first-type conditional expressions, evaluating the industrial data using the first-type conditional expressions includes: Each of the first-type conditional expressions is used in parallel to evaluate the industrial data, respectively, to obtain an evaluation result corresponding to each of the first-type conditional expressions.

5. The method according to claim 1, characterized in that The second screening rule set includes at least one second type of conditional expression related to the business configuration, and the second screening rule set is used to perform secondary screening processing on the industrial data, including: Using the second type of conditional expression to evaluate the industrial data, and obtain an evaluation result corresponding to the second type of conditional expression; When the evaluation result indicates that the industrial equipment reporting the industrial data is currently in a normal production state, a second business event notification is generated, where the second business event notification is used to notify the application system that the industrial equipment reporting the industrial data is currently in a normal production state; or When the evaluation result indicates that the industrial equipment reporting the industrial data is currently in a production failure state, a third business event notification and / or a drive control instruction is generated, and the third business event notification is used to notify the application system that the working equipment reporting the industrial data is currently in a production failure state, and the drive control instruction is used to control the working equipment reporting the industrial data or other industrial equipment connected to the working equipment reporting the industrial data to participate in collaborative work.

6. The method according to claim 1, characterized in that The data preprocessing module further includes an intermediate cache unit, and the intermediate cache unit is configured to cache the industrial data. The method includes: An instant communication channel is pre-established between the application system and the intermediate cache unit, the instant communication channel is configured to transmit a subscription message sent by a subscriber of the application system to the intermediate cache unit, and when it is determined that the industrial data includes a subscription tag, the industrial data is transmitted to the subscriber in the application system according to the subscription tag; Reading the industrial data from the intermediate cache unit; If the first type of conditional expression included in the first screening rule set is whether the industrial data contains a subscription tag, and the pre-established communication channel corresponding to the event category is the instant communication channel, then after obtaining the primary return event, according to the event category corresponding to the primary return event, the primary return event is transmitted to the application system through the pre-established communication channel corresponding to the event category, including: When it is determined that the event category corresponding to the primary return event is a subscription return event, the industrial data is transmitted to the application system through the instant communication channel according to the subscription tag contained in the industrial data.

7. The method according to claim 1, characterized in that The data preprocessing module further includes a time series database. When the first type of conditional expression included in the first screening rule set is whether the industrial data needs to be archived and stored, after obtaining the primary return event, according to the event category corresponding to the primary return event, the primary return event is transmitted to the application system through a pre-established communication channel corresponding to the event category, including: When it is determined that the event category corresponding to the primary return event is an archive return event, the industrial data is stored in the time series database according to preset parameters of the archive return event.

8. An industrial data processing system, characterized in that: The industrial data processing system includes a data preprocessing module, which includes a first data screening unit and a second data screening unit. A first data screening unit is configured to first perform primary screening processing on the read industrial data using a first screening rule set to obtain a primary return event; a second data screening unit, configured to perform secondary screening processing on the industrial data using a second screening rule set to obtain a secondary return event, wherein the first screening rule set and the second screening rule set are obtained by classifying conditional expressions according to predefined urgency requirements and / or response speed requirements of return events, and the conditional expressions are used to evaluate screening rules for industrial data; The first data screening unit is further configured to, after obtaining the primary return event, transmit the primary return event to the application system or the industrial device or the industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the primary return event, wherein the event category is pre-defined according to the device attribute or the user attribute of the primary return event; The second data screening unit is also configured to, after obtaining the secondary return event, transmit the secondary return event to the application system or industrial equipment or industrial gateway through a pre-established communication channel corresponding to the event category according to the event category corresponding to the secondary return event, wherein the event category is pre-defined based on the device attributes or user attributes of the secondary return event.

9. An electronic device, characterized in that: include: processor; as well as, A memory storing computer instructions for implementing an industrial data processing method, wherein when the computer instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The invention comprises program instructions for implementing an industrial data processing method, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Centralized security event generation policy

    CN113625665A

  • Industrial data acquisition system and method

    CN116257025A

  • Rule matching method and device, server and computer readable storage medium

    CN116910097A

  • Industrial event processing method and device, electronic equipment and storage medium

    CN119005589A

Cited By

  • Industrial process data collection method, device and equipment based on SPEL expression and storage medium

    CN120523157A

  • Industrial process data acquisition method and device based on SPEL expression, equipment and storage medium

    CN120523157B