Intelligent factory data processing method, device and system
Process production data through the industry information model and generate intermediate data files, which solves the problem that traditional platforms cannot describe industrial production factors, realizes standardized expression of data and construction of business logic relationships, supports analysis and data mining of industrial production, and reduces information islands. Phenomenon.
Patent Information
- Application Number
- CN202410428576.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2024-08-23
AI Technical Summary
The traditional industrial Internet platform cannot effectively obtain the semantic information of industrial production factors in data processing, resulting in insufficient data description capabilities and difficulty in achieving the integration and sharing of multi-source heterogeneous data. It is also difficult to interconnect and interoperate between industrial production factors. The phenomenon of information islands appears.
Use predetermined industry information models to process the collected production-related data, generate intermediate data files describing industrial production factors, and digitally describe them through attributes, associations, and basic logic methods to achieve standardized expression of data and construction of business logic relationships.
It achieves a comprehensive description of industrial production factors and the construction of business logic relationships, supports the analysis, reasoning and data mining of industrial production, improves the understandability and processing capabilities of data, and reduces the occurrence of information island phenomena.
Smart Images

Figure CN118535600A
Abstract
Description
Technical Field
[0001] The present application relates to but is not limited to industrial Internet technology, and particularly to a method, device and system for processing data in a smart factory. Background Art
[0002] Intelligent manufacturing is an advanced production method based on the deep integration of new generation information technology and advanced manufacturing technology, which runs through all aspects of manufacturing activities such as design, production, management, and service. It has the characteristics of self-perception, self-decision-making, self-execution, self-adaptation, and self-learning, and aims to improve the quality, efficiency, and core competitiveness of the manufacturing industry. With the development of industrial automation, informatization, and intelligence, a new industrial production and service system that is fully connected with all factors, the entire industrial chain, and the entire value chain is gradually taking shape, accelerating the process of intelligent construction of factories.
[0003] At present, in the traditional industrial Internet platform, the attributes of industrial production factors and businesses related to industrial production are mainly defined by defining a large number of database forms, and various types of production data are organized by using database forms. The basic attribute model of the object is defined in the form of key-value. The relationship between various industrial production factors is mainly established by building foreign key associations between tables. Various services and applications obtain data from a large number of database forms through data services, and provide data support for the development and operation of other services and applications through data services. Only data transmission is achieved, and more valuable data semantic information cannot be obtained. In the process of manufacturing industry's transformation to digitalization, networking and intelligence, its production, management and operation links have a large number of forms in the entire database due to the large number of industrial production factors and complex business logic. The design model based on database forms gradually exposes the difficulties of multi-source heterogeneous data fusion and sharing, the lack of digital description capabilities of industrial production factors, the inability to achieve a comprehensive description of industrial production factors, the difficulty of interconnection and interoperability between various industrial production factors, and the serious phenomenon of information islands between different applications. Summary of the invention
[0004] The following is a summary of the subject matter described in detail in this application. This summary is not intended to limit the scope of the claims.
[0005] The embodiments of the present disclosure provide a method, device and system for processing data in a smart factory, which can achieve a comprehensive description of industrial production factors and describe the business logic relationship between industrial production factors.
[0006] The present disclosure provides a method for processing data in a smart factory, including:
[0007] Collecting production-related operation data, which includes the operation data of production equipment and / or production peripherals during the production process of products;
[0008] The collected operation data is processed through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor.
[0009] On the other hand, an embodiment of the present disclosure further provides a computer storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned method of smart factory data processing is implemented.
[0010] In another aspect, an embodiment of the present disclosure further provides a terminal, comprising: a memory and a processor, wherein the memory stores a computer program; wherein:
[0011] The processor is configured to execute the computer program in the memory;
[0012] When the computer program is executed by the processor, the method for smart factory data processing as described above is implemented.
[0013] In another aspect, the present disclosure also provides a device for processing data in a smart factory, including:
[0014] A collection unit and a processing unit; wherein,
[0015] A collection unit, used to collect production-related operation data, where the production-related operation data includes operation data of production equipment and / or production peripherals during the production process of the product;
[0016] A processing unit, used to process the collected operation data through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor;
[0017] Among them, the industrial production factors include one or any combination of the following production factors: production staff, tools used in production, materials used in product production, product production and processing methods and production environment; the industry information model includes a model for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods.
[0018] In another aspect, the embodiment of the present disclosure further provides a system for processing data in a smart factory, including: a collection unit, a processing unit, a data storage unit and an application unit; wherein:
[0019] A collection unit, used to collect production-related operation data, where the production-related operation data includes operation data of production equipment and / or production peripherals during the production process of the product;
[0020] A processing unit, used to process the collected operation data through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor;
[0021] A data storage unit, used for storing the obtained intermediate data files in one or more databases by classification;
[0022] An application unit, used for executing application processing according to the intermediate data file;
[0023] Among them, the industrial production factors include one or any combination of the following production factors: production staff, tools used in production, materials used in product production, product production and processing methods and production environment; the industry information model includes a model for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods.
[0024] Compared with the related art, the present application includes: collecting production-related operation data, the production-related operation data includes the operation data of production equipment and / or production peripherals during the product production process; processing the collected operation data through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor; wherein the industrial production factor includes one or any combination of the following production factors: production staff, tools used in production, materials used in product production, product production and processing methods and production environment; the industry information model includes a model for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods. The disclosed embodiments use an industry information model to digitally describe various industrial production factors at a semantic level, and through the rules set by the information module, process the collected production-related operation data into computer-understandable and processable identification, attributes, association relationships, methods and other information, effectively organize and associate the disorganized operation data, obtain regular intermediate data files, and achieve standardized expression of various industrial production factors and information between industrial production factors. While comprehensively characterizing and describing industrial production factors, it constructs business logic relationships between various industrial production factors, providing data support for the analysis, reasoning and mining of industrial production.
[0025] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0027] Figure 1 A flowchart of a method for processing data in a smart factory according to an embodiment of the present disclosure;
[0028] Figure 2 It is a structural block diagram of a device for intelligent factory data processing according to an embodiment of the present disclosure;
[0029] Figure 3 The present invention is a block diagram of the system for intelligent factory data processing according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
[0031] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
[0032] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.
[0033] The database form-based method can only define the basic attribute model of the object in the form of Key-Value, and cannot define the methods and behaviors of industrial production factors, nor can it comprehensively characterize and describe industrial production factors; the relationship between various industrial production factors can only be represented by foreign key associations, the expression ability of the relationship is weak, and the type of the relationship is single, and it is impossible to build complex business logic relationships.
[0034] Figure 1 Flow chart of the method for processing data in a smart factory according to an embodiment of the present disclosure. Figure 1 As shown, including:
[0035] Step 101: Collecting production-related operation data, where the production-related operation data includes operation data of production equipment and / or production peripherals during the production process of the product;
[0036] In an exemplary embodiment, the data of the operation of the production equipment and the data of the operation of the duration peripherals of the embodiment of the present disclosure are data well known to those skilled in the art. For example, the data of the operation of the production equipment may include data such as the flow rate of the water pump and the pressure of the reactor, and the data of the operation of the production peripherals may include data scanned by a barcode scanner and status data of a printer.
[0037] Step 102: Process the collected operation data using a predetermined industry information model to obtain an intermediate data file describing each industrial production factor.
[0038] Among them, industrial production factors include one or any combination of the following production factors: production staff, production tools, materials used in product production, product production and processing methods and production environment; industry information models include models for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods.
[0039] The embodiments of the present disclosure refer to the definitions in the relevant technologies and refer to the five industrial production elements, namely, production staff, production tools, production materials, production and processing methods, and production environment, as “people, machines, materials, methods, and environment”.
[0040] The smart factory in the disclosed embodiments is based on the deep integration of new-generation information technology and advanced production and manufacturing technology. It runs through all aspects of production and manufacturing activities such as design, production, management, and service. It has the characteristics of self-perception, self-decision-making, self-execution, self-adaptation, and self-learning. It aims to improve production and manufacturing quality, efficiency, and core competitiveness, reduce manual intervention in production lines, and improve the controllability of the production process.
[0041] The disclosed embodiments use an industry information model to digitally describe various industrial production factors such as people, machines, materials, methods, and environment at a semantic level, and through the rules set by the information module, process the collected production-related operation data into computer-understandable and processable identification, attributes, association relationships, methods and other information, effectively organize and associate the disorganized operation data, obtain regular intermediate data files, and achieve standardized expression of various industrial production factors and information between industrial production factors. While comprehensively characterizing and describing industrial production factors, it constructs business logic relationships between various industrial production factors, providing data support for the analysis, reasoning and mining of industrial production.
[0042] In an exemplary embodiment, the embodiment of the present disclosure collects production-related operation data, including:
[0043] Collecting operation data through an input-output (IO) driver framework; and / or,
[0044] Collect operating data through pre-set information system interfaces.
[0045] The disclosed embodiment can realize the collection of operation data through IO driver framework processing, and can also realize the issuance of remote control and telemetry commands. At the same time, when the system is connected to the device, the link state management between the system and the device is realized; the management of the above-mentioned link state in the disclosed embodiment includes but is not limited to: protocol conversion, dynamic expansion of protocol driver (supporting different protocol drivers), communication link multiplexing, reading and writing of external system data, data conversion and data synchronization, etc., supporting Ethernet / serial communication, link type expansion, link self-diagnosis, link state monitoring, non-formatted data processing, configuration data management and persistence, etc. The disclosed embodiment can be used to access the operation data of the above-mentioned information system through the information system interface, and the information system can include: application system and other information systems; among which, the application system can include manufacturing execution system (MES) and advanced planning and scheduling system (APS), etc., and other information systems can include: enterprise resource planning system (ERP) and warehouse management system (WMS), etc.; through the information system interface, data interconnection and intercommunication between information systems can be realized, and sharing and information exchange between heterogeneous systems, applications, and data sources can be realized.
[0046] The industry information model in the embodiment of the present disclosure is obtained by the following processing: dividing the modeling objects into two or more categories according to a preset application category standard, and constructing a basic information model corresponding to the modeling objects of each category; selecting a basic information model for constructing the industry information model, and obtaining an industry information model corresponding to a specific business application by expanding and logically arranging the selected basic information model; and instantiating the constructed industry information model to obtain an instance.
[0047] After distinguishing different types of basic information models, the disclosed embodiment forms basic information models for objects of different categories by performing higher-level abstraction on different types of basic information models according to different categories, including abstraction and general description of common contents such as general attributes, association relationships or basic logical methods; by combining industry application requirements, the basic information model is expanded and logically arranged to construct an industry information model for specific business applications, thereby realizing the reuse of the basic information model and improving the modeling efficiency of the industry information model.
[0048] In an exemplary instance, the embodiment of the present disclosure expands and logically arranges the selected basic information model, including: according to the received addition instruction, adding one or any combination of the following components to the selected basic information model: attributes, association relationships, and basic logical methods; logically arranging the basic information model with the added components according to the received logical arrangement instruction to obtain an industry information model corresponding to the specific business application; wherein the addition instruction is determined according to the specific business application.
[0049] The information model including the basic information model and the industry information model in the disclosed embodiment is a digital description modeling of various industrial production factors such as people, machines, materials, methods, and environment at the semantic level. It defines and stores information such as the identification, attributes, association relationships, and basic logical methods of objects in a machine-understandable and processable form according to certain rules. Its purpose is to effectively organize and associate the disorganized information, integrate it into a regular information model, realize the standardized expression of information between various industrial elements, and perform analysis, reasoning, and mining. Through the constructed industry information model, the interconnection, interoperability, and industrial intelligent services and applications with model-driven as the core can be realized. The modeling objects of the industry information model should include various industrial production factors such as people, machines, materials, methods, and environment (for example, materials, equipment, factories, personnel, etc.), as well as digital objects such as algorithms, software, and documents. Taking the robotic arm equipment in the electronic manufacturing application scenario as an example, adding attributes, association relationships and basic logical methods according to business applications may include: in the electronic manufacturing application scenario, for the robotic arm equipment, its basic information model can be defined, including the basic attributes of the robotic arm, the inclusion relationship between the robotic arm and its components, the basic linkage control method of the robotic arm, etc. In the specific business application process, based on the above basic information model, its energy consumption, working time, effective utilization rate and other attributes can be expanded, its collaborative relationship with adjacent robotic arms can be expanded, and the control method of the robotic arm when facing specific clamping objects can be expanded.
[0050] In an exemplary embodiment, the embodiment of the present disclosure instantiates the constructed industry information model, including: instantiating the object model in the constructed industry information model to obtain the object model instance; instantiating the information model in the constructed industry information to obtain the information model instance.
[0051] In an exemplary instance, the application category standard in the embodiment of the present disclosure includes the international standard ISA-95 for enterprise system and control system integration, and correspondingly, the corresponding basic information model of the constructed modeling object includes one or any combination of the following: a basic information model for SCADA applications, a basic information model for MES applications, and a basic information model for simulation applications.
[0052] In an exemplary instance, when the basic information model of the embodiment of the present disclosure includes a basic information model for SCADA applications, a basic information model corresponding to each category of modeling objects is constructed, including: obtaining a basic information model by describing the common basic components contained in the device objects and editing the basic logical methods of the device objects; wherein the common basic components contained in the device objects for constructing the basic information model of the SCADA application include one of the following or any combination: analog input AI, analog output AO, digital input DI, digital output DO, device base class EQ; the basic logical methods include one of the following or any combination: basic mathematical operations, basic logical operations, comparison operations, selection operations, floating point rounding and alarm processing.
[0053] In an exemplary instance, the EQ in the embodiment of the present disclosure can be composed of part or all of AI, AO, DI and DO, where the number of AI, AO, DI and DO can be 0 or several, and an EQ as a sub-end can also be added under the EQ to support multi-level EQ layering.
[0054] In an exemplary instance, when the basic information model of the embodiment of the present disclosure includes a basic information model for MES applications, a basic information model corresponding to each category of modeling objects is constructed, including: defining common basic attributes and basic logical methods abstracted from each preset object to obtain the basic information model for MES applications; wherein the preset objects include one or any of the following objects: factories, materials, BOMs, work orders, equipment, assets, inventory, personnel, organizational structures, job roles, and team scheduling objects.
[0055] In an exemplary embodiment, when the basic information model of the embodiment of the present disclosure includes a basic information model for MES applications, the basic information model corresponding to each category of modeling objects is constructed, including: constructing a basic information model for MES applications by setting one or any combination of the following information: attributes, internal relationships, external relationships, verification rules, indexes, and encryption attributes. In an exemplary embodiment, the basic information model for MES applications of the embodiment of the present disclosure includes one or any combination of the following models: factory model, material model, BOM model, work order model, equipment model, asset model, inventory model, personnel model, organizational structure model, job role model, and team scheduling model.
[0056] In an exemplary embodiment, the disclosed embodiment defines a basic logical method for each preset object abstraction, including one or any combination of the following methods: querying a database record of a model instance according to an ID or a unique attribute (FindUnique() method); reading the first data in a model instance list that matches the query condition (findFirstfindFirst() method); reading multiple data of a model instance (findMany() method); creating a model instance data in a transaction (create() method); updating a model instance data (update() method); updating existing or creating new model instance data (upsert() method); () method); delete a piece of data of a model instance according to its ID or unique attribute (Delete() method); create multiple pieces of model instance data in one transaction (createMany() method); batch update multiple pieces of model instance data (updateMany() method); batch delete multiple pieces of model instance data (deleteMany() method); count the total number of model instance data (count() method); query the maximum, minimum, average, sum, count, etc. of model instance data within a certain range (aggregate() method); group and query model instance data by one or more attribute values (groupBy() method).
[0057] In an exemplary instance, when the basic information model of an embodiment of the present disclosure includes a basic information model for simulation applications, the basic information model for simulation applications includes one or any combination of the following models: resources (Resources), material flow (Material Flow), information flow (Information Flow), user interface (UserInterface) and mobile unit (MU).
[0058] In an exemplary instance, when the basic information model of the embodiment of the present disclosure includes a basic information model for simulation applications, a basic information model corresponding to each category of modeling objects is constructed, including defining the basic information model for simulation applications through one or more of the following basic logic methods: opening an object window (openDialog() method); closing an object window (closeDialog() method); placing an object at a corresponding position (setPosition() method); copying an object (duplicate() method); reading object attribute values (getAttribute() method); setting object attribute values (setAttribute() method); starting a fault (startFailure() method); terminating a fault (endFailure() method); starting a pause (startPause() method); terminating a pause (endPause() method); creating a fault description (createFailure() method); deleting a fault description (deleteFailure() method); querying a fault description (getFailure() method); returning the number of fault descriptions (count() method).
[0059] In an exemplary embodiment, the industry information model includes a physical model. When the physical model is instantiated, the method of the embodiment of the present disclosure further includes: integrating the physical model and IO through instantiation.
[0060] The integrated configuration of physical model and IO is to integrate the instantiation of physical model and the process of IO configuration to improve the configuration efficiency.
[0061] In an exemplary embodiment, the embodiment of the present disclosure integrates the physical model and IO through instantiation processing, including: selecting a specific IO acquisition protocol, setting the IO tag name (measurement point name) and tag ID under different data types (analog quantity, discrete quantity, switch quantity), and associating the instantiated device object with the measurement point (sensor connected to the device object) through the set IO tag name and tag ID.
[0062] In an exemplary embodiment, the logic arrangement of the embodiment of the present disclosure includes: according to business requirements, different basic information models are associated according to predetermined rules and sequences, and executed in a logical sequence.
[0063] In an exemplary embodiment, the logic arrangement in the embodiment of the present disclosure is to associate different object models according to certain rules and sequences according to business needs, and perform the arrangement in a logical sequence, so that the constructed industry information model has more advanced business functions; the logic arrangement mainly includes the following two parts:
[0064] Logical arrangement of physical models: including logical arrangement within physical models and logical arrangement between physical models. The logical arrangement within physical models is to arrange the basic information model into an equipment model through basic logical methods or association relationships, such as injection molding machine model, water pump model, etc.; the logical arrangement between physical models is to control single or multiple equipment objects through programs to execute according to certain rules and sequence to complete complex tasks, usually including single remote control, equipment linkage and sequential control, etc.
[0065] Logical orchestration for business production applications: The basis for orchestration is the business functions in the production process (such as inventory management, team scheduling or organizational structure, etc.). Usually, the objects are associated according to the order of business process execution and certain rules (such as timing and quantity) to achieve specific business functions.
[0066] In an exemplary embodiment, the method of the embodiment of the present disclosure further includes: setting corresponding model editing permissions for two or more predetermined users respectively;
[0067] Among them, model editing permissions include one or any combination of the following: importing of basic information models, exporting of basic information models, constructing of basic information models, deleting of basic information models, adding, deleting and / or adjusting basic logical methods contained in basic information models, importing of industry information models, exporting of industry information models, constructing of industry information models, deleting of industry information models, adding, deleting and / or adjusting basic logical methods contained in industry information models, logical arrangement of industry information models, instantiation of industry information models, management of established industry information models, importing of instances obtained by instantiating industry information modules, exporting of instances obtained by instantiating industry information modules, adding, deleting and / or adjusting basic logical methods contained in instances obtained by instantiating industry information modules.
[0068] In an exemplary embodiment, the disclosed embodiment provides a graphical operation interface for the construction of basic information models and industry information models. For application developers, it provides functions such as management of the basic information model library, addition, deletion, modification and query of information models, development of complex logic methods, and import / export of models; for engineering implementation personnel, the modeling tool provides functions such as management of the basic object model library, addition, deletion, modification and query of object models, model instantiation, import / export, and logical arrangement of models.
[0069] The disclosed embodiments provide two types of functions, namely, information model definition for application development and information model configuration for engineering implementation, according to different users, model construction content and construction methods.
[0070] In the disclosed embodiments, in the application development environment, developers can use modeling tools to complete information model creation, complex logic development, and model import / export functions to meet the model development work of MES, SCADA and other applications. The construction of information models for application development can be completed by a new construction method, or by exporting from other projects and then importing model files to avoid duplication of work and improve model reuse. For the new construction of industry information models, users can build models based on the basic information model Entity provided by the modeling tool. The model content that needs to be built includes: attributes, internal relationships, external relationships, methods, verification rules, indexes and security; among them,
[0071] Attributes: mainly describe the basic information of an object. For example, in a material model, attributes can be information such as the name of the material, the material date, and the supplier name;
[0072] Internal relations: describe the relations between models within an application, for example, the relation between the material model and the sampling rule model in the material management application;
[0073] External relations: describe the relationship between models of different applications, for example, the relationship between the material model under the material management application and the inventory model under the inventory management application;
[0074] Methods: operations that can be performed on the model;
[0075] Verification rules: used to constrain the legitimacy of attributes, for example, the gender of a person can only be male or female;
[0076] Index: Set indexes for attributes that may be used as query conditions;
[0077] Security: Users set attribute information that needs to be encrypted.
[0078] In the process of model building, the embodiment of the present disclosure provides a graphical association relationship between models. Users can use graphical connections to create, modify and delete relationships between models, and perform drag-and-drop graphical operations to reduce the difficulty of use for users. The management of internal relationships of the model can be achieved through graphical connections. At the same time, in order to facilitate user viewing when multiple model objects are displayed on one interface, the model interface can be enlarged, reduced, dragged and moved, and other operations.
[0079] The basic information model provided by the embodiment of the present disclosure includes commonly used basic logic methods. However, when the basic logic methods cannot meet the application requirements, it supports developers to develop complex logic methods through native code development and expand them to the logic method library for use in logic orchestration functions.
[0080] In the application development environment, with the continuous accumulation of information models, the disclosed embodiments can quickly realize model reuse between different projects through the import / export function of the model, reduce repetitive development, and improve development efficiency; wherein, the export of model files: supports exporting the information model in the development environment to the current environment and saving it in the user-specified path; the import of model files: supports users to import model files of a specified format into the modeling tool from the specified path; the legality check of the imported model files: performs a legality check on the files imported by the user to prevent erroneous data. The disclosed embodiments can be set to support import / export operations of different granularities, and can perform import / export operations on models of different ranges, such as the entire engineering project, a single application, a single information model, etc.
[0081] In an exemplary embodiment, the method of the present disclosure further includes:
[0082] The constructed basic information model and the obtained industry model are stored and managed separately.
[0083] In an exemplary instance, the above-mentioned basic information model of the embodiment of the present disclosure can be managed in the form of a model library. When constructing an industry information model, it can be directly implemented by reusing and extending the basic information model. The basic information model can be used to quickly expand the industry information model and improve the efficiency of model construction.
[0084] In an exemplary instance, for constructing an industry information model in a new way, the embodiment of the present disclosure can construct a model based on the basic information model Entity; the model content that needs to be constructed in the embodiment of the present disclosure may include: attributes, internal relationships, external relationships, methods, verification rules, indexes and security; among them, attributes: mainly describe the basic information of the object; for example, the attributes in the material model can be the name of the material, the material date, the supplier name and other information; internal relationships: describe the relationship between models within an application, for example, the association relationship between the material model and the sampling rule model in the material management application; external relationships: describe the relationship between models of different applications, for example, the association relationship between the material model under the material management application and the inventory model under the inventory management application; methods: operations that can be performed on the model; verification rules: used to constrain the legitimacy of attributes, for example, the gender of a person can only be male or female and other constraints; indexes: index settings for attributes that may be used as query conditions; security: users set attribute information that needs to be encrypted.
[0085] In an exemplary embodiment, the definition of the object model of the embodiment of the present disclosure is mainly based on the construction of the basic information model for SCADA application, and the modeling process is as follows:
[0086] Selecting a corresponding basic information model from pre-stored basic information models for SCADA applications;
[0087] Configure the attributes of the basic information model and build internal and external associations;
[0088] Configure the IO acquisition link and associate the device measurement point with the actual IO acquisition link;
[0089] Instantiate the physical model, associate the equipment measurement points with the collected data, and perform configuration management of the internal relationships of the equipment and configuration of equipment-related methods.
[0090] When instantiating the physical model, perform integrated configuration synchronously with IO. Integrate the process of physical model instantiation and IO configuration to improve configuration efficiency. When instantiating the physical model, configure the device IO at the same time, including: selecting the specific IO acquisition protocol to be used, setting the IO tag name / measurement point name and tag ID under different data types (analog, discrete, switch), supporting batch import of tag names, and associating the instantiated device objects with the measurement points.
[0091] Configuration of physical model relationships: Based on the internal and external relationships of the actual equipment, relationship configuration is performed to represent the logical association information between the internal and external.
[0092] Method configuration of the object model: According to the logical arrangement requirements of the object model, the commonly used basic logic methods contained in the basic information model for SCADA applications are called, and the logic methods are configured by graphical drag and drop. The basic logic methods are configured into method groups with certain logical functions, and the method calling method, trigger conditions, and execution method are set.
[0093] In an exemplary embodiment, the method of the present disclosure further includes:
[0094] Step 103: Classify and store the obtained intermediate data files into one or more databases.
[0095] In an exemplary embodiment, the embodiment of the present disclosure stores the obtained intermediate data files in one or more databases by classification, including:
[0096] When the intermediate data file contains static attributes, the intermediate data file is stored in a relational database;
[0097] When the intermediate data file contains dynamic attributes, the intermediate data file is stored in the time series database;
[0098] When the intermediate data file contains dynamic attributes and the time in the dynamic attributes is within the preset duration, the intermediate data file is stored in the real-time database;
[0099] When the intermediate data file contains an association relationship, and the association relationship contains the mutual association between the industrial production factor and other industrial production factors, the intermediate data file is stored in the graph database. Here, other industrial production factors are relative. The embodiment of the present disclosure assumes that when industrial production factor 1 is processed, when industrial production factor 1 has an association relationship with industrial production factor 2, or industrial production factor n, industrial production factor 2 or industrial production factor n is the above-mentioned other industrial production factors.
[0100] When the operation data includes operation-related files, the method of the embodiment of the present disclosure further includes:
[0101] Store run-related files in a document database;
[0102] The operation-related files include one or any combination of the following: a node configuration file, a script file required for device operation, and a data file in the JS object notation (json) or extensible markup language (xml) format that needs to be stored.
[0103] The disclosed embodiments provide different types of database storage methods for operation data and intermediate data files, and support the storage and management of documents such as operation data, association relationships, time series data, data generated during the production process, and node configuration files. Based on the data collection, integration processing, and data storage provided by the platform, it can support industrial applications such as production monitoring, equipment management, order management, process management, logistics scheduling, inventory management, digital twins, simulation, planning and scheduling APS, and energy optimization.
[0104] In an exemplary instance, the method of the embodiment of the present disclosure may also include performing one or any combination of the following database management services on the stored intermediate data files or operating data: redundancy management, fault tolerance management, recovery management, and security management, etc.
[0105] The disclosed embodiment integrates the attributes, associations, and methods of various industrial production factors such as people, machines, materials, methods, and environment in the production process of an enterprise through an industry information model, obtains intermediate data files, and realizes the digital description of various industrial objects. Based on the data collection, integration processing, and data storage capabilities provided by the platform, the disclosed embodiment can support industrial applications such as production monitoring, equipment management, order management, process management, logistics scheduling, inventory management, digital twins, simulation, planning and scheduling APS, and energy optimization. It can support GraphQL interface document generation, interface query, and interface debugging tools, and provide an operational display interface.
[0106] The embodiment of the present disclosure further provides a computer storage medium, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned data processing method is implemented.
[0107] The embodiment of the present disclosure also provides a terminal, including: a memory and a processor, wherein a computer program is stored in the memory;
[0108] in,
[0109] The processor is configured to execute the computer program in the memory;
[0110] When the computer program is executed by a processor, the above-mentioned data processing method is implemented.
[0111] Figure 2 is a structural block diagram of a data processing device according to an embodiment of the present disclosure, such as Figure 2 As shown, it includes: a collection unit and a processing unit; wherein,
[0112] The collection unit is used to collect production-related operation data, and the production-related operation data includes the operation data of the production equipment and / or production peripherals during the product production process;
[0113] The processing unit is used to process the collected operation data through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor;
[0114] Among them, industrial production factors include one or any combination of the following production factors: production staff, production tools, materials used in product production, product production and processing methods and production environment; industry information models include models for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods.
[0115] The disclosed embodiments use an industry information model to digitally describe various industrial production factors at a semantic level, and through the rules set by the information module, process the collected production-related operation data into computer-understandable and processable identification, attributes, association relationships, methods and other information, effectively organize and associate the disorganized operation data, obtain regular intermediate data files, and achieve standardized expression of various industrial production factors and information between industrial production factors. While comprehensively characterizing and describing industrial production factors, it constructs business logic relationships between various industrial production factors, providing data support for the analysis, reasoning and mining of industrial production.
[0116] In an exemplary embodiment, the acquisition unit of the embodiment of the present disclosure is configured as follows:
[0117] Collecting operation data through an input-output (IO) driver framework; and / or,
[0118] Collect operating data through pre-set information system interfaces.
[0119] In an exemplary embodiment, the present disclosure:
[0120] When industrial production factors include production staff, the staff includes one or any combination of the following: operators, managers and maintenance personnel;
[0121] When the factors of industrial production include tools used in production, the tools used in production include the equipment used in production;
[0122] When industrial production factors include materials used in the production of products, the materials include any one or any combination of the following: semi-finished products, accessories and raw materials;
[0123] When industrial production factors include product production methods, product production methods include production methods and processes.
[0124] In an exemplary embodiment, the present disclosure:
[0125] When the model used in the industry information model is used to extract and organize the attributes of industrial production factors, the attributes are information used to record one or any combination of the following of industrial production factors: description of the nature, characteristics and status;
[0126] When the industry information model includes a model for extracting and organizing the association relationship of industrial production factors, the association relationship is: information used to record the mutual association between the attributes of the industrial production factors themselves, and / or used to record the mutual association between the industrial production factors and other industrial production factors, wherein the mutual association includes one or any combination of the following associations: inheritance relationship, parent-child relationship, organizational relationship, collaborative relationship and attribute pointing;
[0127] When the industry information model includes a model for extracting and organizing the basic logical methods of industrial production factors, the basic logical methods of the industrial production factors are information for recording operations performed by the industrial production factors.
[0128] In an exemplary embodiment, the attributes in the embodiment of the present disclosure include: static attributes and dynamic attributes; wherein,
[0129] Static attributes are used to describe the static properties of industrial production factors. Static properties are related to the description of object entities, and the frequency of changes over time is less than the preset frequency threshold;
[0130] Dynamic attributes are used to describe the dynamic properties of industrial production factors. The frequency of changes in dynamic properties over time is greater than or equal to the preset frequency threshold.
[0131] In an exemplary embodiment, the device of the embodiment of the present disclosure further includes a storage unit, which is used to:
[0132] The intermediate data files are classified and stored in more than one database.
[0133] In an exemplary embodiment, the storage unit of the embodiment of the present disclosure is configured as follows:
[0134] When the intermediate data file contains static attributes, the intermediate data file is stored in a relational database;
[0135] When the intermediate data file contains dynamic attributes, the intermediate data file is stored in the time series database;
[0136] When the intermediate data file contains dynamic attributes and the time in the dynamic attributes is within the preset duration, the intermediate data file is stored in the real-time database;
[0137] When the intermediate data file contains an association relationship, and the association relationship contains the mutual association between the industrial production factor and other industrial production factors, the intermediate data file is stored in the graph database.
[0138] In an exemplary embodiment, the storage unit of the embodiment of the present disclosure is also used for:
[0139] When the operation data includes operation-related files, the operation-related files are stored in a document database;
[0140] The operation-related files include one or any combination of the following: a node configuration file, a script file required for device operation, and a JS object notation or data file in the extensible markup language xml format that needs to be stored.
[0141] Figure 3 The structure diagram of the system for intelligent factory data processing according to the embodiment of the present disclosure is as follows: Figure 3 As shown, it includes: a collection unit, a processing unit, a data storage unit and an application unit; wherein,
[0142] The collection unit is used to: collect production-related operation data, where the production-related operation data includes operation data of production equipment and / or production peripherals during the production process of the product;
[0143] The processing unit is used to: process the collected operation data through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor;
[0144] The data storage unit is used to: classify and store the obtained intermediate data files into one or more databases;
[0145] The application unit is used to: perform application processing according to the intermediate data file;
[0146] Among them, industrial production factors include one or any combination of the following production factors: production staff, tools used in production, materials used in product production, product production and processing methods and production environment; the industry information model includes a model for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods.
[0147] In an exemplary embodiment, the application unit of the embodiment of the present disclosure is configured to perform one or any combination of the following application processing according to the intermediate data file:
[0148] Production monitoring, order management, equipment management, process management, logistics scheduling, inventory management, digital twin, simulation, energy optimization, planning and scheduling.
[0149] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
Claims
1. A method for processing data in a smart factory, characterized in that: include: Collecting production-related operation data, which includes the operation data of production equipment and / or production peripherals during the production process of products; The collected operation data is processed through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor.
2. The method according to claim 1, characterized in that The collected production-related operation data includes: Collecting the operation data through an input / output (IO) driver framework; and / or, The operation data is collected through a preset information system interface.
3. The method according to claim 1 or 2, characterized in that: The collected operation data is processed through a predetermined industry information model, including: Extracting and arranging characteristic information of each industrial production factor contained in the operation data through the industry information model to obtain the intermediate data file; The characteristic information includes: attributes, association relationships and basic logical methods.
4. The method according to claim 3, characterized in that: When the industry information model extracts and organizes the attributes of industrial production factors, the attributes are used to describe the nature, characteristics and status of the industrial production factors; When the industry information model extracts and organizes the association relationships of industrial production factors, the association relationships include: the mutual association relationships between the attributes of the industrial production factors themselves, and / or the mutual association relationships between the industrial production factors and other industrial production factors, wherein the mutual association relationships include: inheritance relationships, parent-child relationships, organizational relationships, collaborative relationships, and attribute pointing relationships; When the industry information model extracts and organizes the basic logical methods of industrial production factors, the basic logical methods of industrial production factors are information about the operations performed on the industrial production factors.
5. The method according to claim 4, characterized in that The attributes include: static attributes and dynamic attributes; wherein, The static attribute is used to describe the static properties of the industrial production factor, and the static property is an attribute that describes the frequency of changes of the object entity over time that is less than a preset frequency threshold; The dynamic attribute is used to describe the dynamic properties of industrial production factors, and the frequency of changes in the dynamic properties over time is greater than or equal to a preset frequency threshold.
6. The method according to claim 5, characterized in that After obtaining the intermediate data file describing each industrial production factor, the method further includes: The intermediate data files are classified and stored in more than one database.
7. The method according to claim 6, characterized in that The storing the intermediate data files in more than one database by classification includes: When the intermediate data file contains static attributes, the intermediate data file is stored in a relational database; When the intermediate data file contains dynamic attributes, the intermediate data file is stored in a time series database; When the intermediate data file contains dynamic attributes and the time in the dynamic attributes is within a preset time period, the intermediate data file is stored in a real-time database; When the intermediate data file contains an association relationship, and the association relationship contains the mutual association between the industrial production factor and other industrial production factors, the intermediate data file is stored in the graph database.
8. The method according to any one of claims 1 to 3, characterized in that: The production-related operation data also includes operation-related files of production equipment and / or production peripherals, and the operation-related files are stored in a document database, wherein the operation-related files include: node configuration files, script files required for equipment operation, and JS object notation or extensible markup language xml format data files that need to be stored.
9. A computer storage medium, wherein a computer program is stored in the computer storage medium, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 8 is implemented.
10. A terminal, comprising: A memory and a processor, wherein the memory stores a computer program; wherein, The processor is configured to execute the computer program in the memory; When the computer program is executed by the processor, the method for smart factory data processing according to any one of claims 1 to 8 is implemented.
11. A device for processing data in a smart factory, comprising: A collection unit and a processing unit; wherein, A collection unit, used to collect production-related operation data, where the production-related operation data includes operation data of production equipment and / or production peripherals during the production process of the product; A processing unit, used to process the collected operation data through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor; Among them, the industrial production factors include one or any combination of the following production factors: production staff, tools used in production, materials used in product production, product production and processing methods and production environment; the industry information model includes a model for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods.
12. A system for intelligent factory data processing, characterized in that: include: Acquisition unit, processing unit, data storage unit and application unit; wherein, A collection unit, used to collect production-related operation data, where the production-related operation data includes operation data of production equipment and / or production peripherals during the production process of the product; A processing unit, used to process the collected operation data through a predetermined industry information model to obtain an intermediate data file describing each industrial production factor; A data storage unit, used for storing the obtained intermediate data files in one or more databases by classification; An application unit, used for executing application processing according to the intermediate data file; Among them, the industrial production factors include one or any combination of the following production factors: production staff, tools used in production, materials used in product production, product production and processing methods and production environment; the industry information model includes a model for extracting and organizing one or any combination of the following information of each industrial production factor: attributes, association relationships and basic logical methods.
13. The system according to claim 12, characterized in that The application unit is configured to perform one or any combination of the following application processing according to the intermediate data file: Production monitoring, order management, equipment management, process management, logistics scheduling, inventory management, digital twin, simulation, energy optimization, planning and scheduling APS.
Citation Information
Patent Citations
A production process modeling and product data tracking system
CN109583762A
Data collection platform of smart factory and implementation method thereof
CN112041867A
Production system data processing method and device, equipment and storage medium
CN115828572A
Production element management system and method based on Internet of Things identification
CN116306662A
Systems and methods for data transmission within an industrial automation system
US11934178B1
