Control method, device, equipment and storage medium of cloud-based industrial system equipment
By adopting equipment standardized models and dynamic library interfaces in the cloud industrial control system, unified control of equipment of different brands and models is achieved, which solves the difficulty of logic modification during equipment replacement and simplifies the development and transplantation process.
Patent Information
- Application Number
- CN202111559475.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-20
AI Technical Summary
In cloud-based industrial control systems, industrial equipment from different manufacturers and models have differences in interface methods, communication protocols, etc., which results in a heavy workload for functional block development and the need to modify application logic when equipment is replaced, making transplantation difficult.
Use the common functions of the same type of equipment to build a equipment standardization model, including external interfaces and dynamic library interfaces. Control the equipment through the dynamic library interface call of the equipment standardization model, and replace the interface dynamic library when the equipment is replaced to realize the replacement of the equipment. control.
It reduces the need to define independent function blocks for each device, simplifies the development and maintenance process, realizes unified control of devices of different brands and models, and facilitates the access of new devices and application migration.
Smart Images

Figure CN114253240B
Abstract
Description
Background Art
[0002] With the development of the Internet of Things, sensor technology, cloud computing, big data, etc., the integration of OT and IT technologies has become more in-depth. In the traditional industrial control mode, factory automation equipment is controlled individually. With the development of IT technology, the data collection, analysis, and storage of automation equipment have begun to be transferred to the outside, such as to various industrial Internet of Things platforms, which can connect various industrial assets and suppliers to each other and access the cloud. Cloud industrial control systems combine networked control systems and cloud computing technologies to solve the defects of traditional industrial control technologies. By introducing IT technologies such as object-oriented, the integration of IT and OT technologies is achieved. Cloud industrial control systems develop corresponding applications and control instructions for equipment according to different scenarios. Specifically, the operations and properties of different industrial equipment are encapsulated in the form of function blocks. Application developers do not need to understand the internal implementation of function blocks. They can complete the writing of business logic by dragging and dropping function blocks, which reduces the difficulty of development and maintenance.
[0003] However, due to the large variety of industrial equipment and the frequent changes in industrial production lines, the following problems arise in actual production:
[0004] (1) The workload of function block development is large: There are many types of industrial equipment from different manufacturers and models, and their interface methods, communication protocols, and operating procedures are all different. Therefore, a set of function blocks needs to be encapsulated for each device, which is a huge workload.
[0005] (2) Difficulty in migration: Even if the functional blocks of each industrial equipment have been developed, if the industrial production line needs to replace the equipment with similar equipment from different manufacturers or models due to equipment failure, procurement changes, etc., the original application logic must be modified and the equipment functional blocks must be replaced to achieve equipment migration.
[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0007] The purpose of the present disclosure is to provide a control method, apparatus, device and storage medium for cloud-based industrial system equipment, which are used to overcome one or more problems caused by limitations and defects of related technologies at least to a certain extent.
[0008] According to a first aspect of an embodiment of the present disclosure, a control method for cloud-based industrial system equipment is provided, including:
[0009] Building a device standardization model based on common functions of devices of the same type, wherein the device standardization model includes an external interface and a dynamic library interface, wherein the external interface includes input events, output events, input variables, and output variables;
[0010] Building an interface dynamic library corresponding to the standardized model of the device based on the interface attributes of the device;
[0011] The interface dynamic library interface of the device standardization model calls the interface dynamic library to achieve control over the device.
[0012] In an exemplary embodiment of the present disclosure, the control method of cloud-based industrial system equipment also includes: when it is determined that a device of the same type has been replaced, replacing the interface dynamic library according to the replaced device to implement control of the replaced device by the device standardization model.
[0013] In an exemplary embodiment of the present disclosure, the interface attributes of the device include the manufacturer, model, interface mode and communication protocol of the device.
[0014] In an exemplary embodiment of the present disclosure, the device standardized model includes a plurality of common function blocks, and the common function blocks are defined based on operation events of the device.
[0015] In an exemplary embodiment of the present disclosure, the operation events of the device include initialization events, reset events, action execution events and query events.
[0016] In an exemplary embodiment of the present disclosure, the device standardization model loads the interface dynamic library based on a configuration file, and the configuration file includes a file name and a storage location of the interface dynamic library.
[0017] In an exemplary embodiment of the present disclosure, the types of devices include input / output devices, motors, sensors, robotic arms, CNC milling machines, and conveying devices.
[0018] According to a second aspect of an embodiment of the present disclosure, a control device for cloud-based industrial system equipment is provided, including:
[0019] A device standardization model construction module, used to construct a device standardization model based on common functions of devices of the same type, wherein the device standardization model includes an external interface and a dynamic library interface, wherein the external interface includes input events, output events, input variables, and output variables;
[0020] An interface dynamic library construction module, used to construct an interface dynamic library corresponding to the standardized model of the device based on the interface attributes of the device;
[0021] A control module is used for the interface dynamic library interface of the device standardized model to call the interface dynamic library to realize control of the device.
[0022] According to a third aspect of the present disclosure, there is provided an electronic device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute a control method for a cloud-based industrial system device as described in any one of the above items based on instructions stored in the memory.
[0023] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, the control method of the cloud-based industrial system equipment as described in any one of the above items is implemented.
[0024] The control method of the cloud-based industrial system equipment disclosed in the present invention constructs a device standardization model based on the common functions of similar devices to describe the functions and properties of such devices. A set of interface dynamic libraries is constructed based on the interface properties of the device, and the corresponding interface dynamic library is called through the dynamic library interface of the device standardization model. When controlling similar devices of different brands and models, there is no need to change the function blocks in the application logic, only different interface dynamic libraries need to be specified, so as to achieve unified function blocks to complete the control of similar devices. The cloud-based industrial control system no longer needs to define and develop independent function blocks for each device, but only needs to focus on unified modeling for each type of equipment, which greatly reduces the workload; the compatibility of heterogeneous devices is achieved through interface dynamic libraries, which is more convenient for the access and application transplantation of new devices.
[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0027] Figure 1 A flowchart schematically illustrates a method for controlling cloud-based industrial system equipment in an exemplary embodiment of the present disclosure.
[0028] Figure 2 The external interface diagram of the device standardization model of the exemplary embodiment of the present disclosure is schematically shown.
[0029] Figure 3A flowchart schematically illustrates a method for controlling cloud-based industrial system equipment in an exemplary embodiment of the present disclosure.
[0030] Figure 4 A schematic diagram schematically illustrates the compatibility of a control method for cloud-based industrial system equipment in an exemplary embodiment of the present disclosure with equipment from different manufacturers.
[0031] Figure 5 A block diagram schematically shows a control device for a cloud-based industrial system device in an exemplary embodiment of the present disclosure.
[0032] Figure 6 A block diagram schematically shows an electronic device in an exemplary embodiment of the present disclosure.
[0033] Figure 7 The diagram schematically shows a computer-readable storage medium in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0035] In addition, the accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0036] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0037] Figure 1 The flowchart of the control method of the cloud-based industrial system equipment in the exemplary embodiment of the present disclosure is schematically shown. Figure 1, a control method 100 for cloud-based industrial system equipment, comprising:
[0038] Step S101, constructing a device standardization model based on common functions of devices of the same type, wherein the device standardization model includes an external interface and a dynamic library interface, wherein the external interface includes input events, output events, input variables, and output variables;
[0039] Step S102, constructing an interface dynamic library corresponding to the standardized model of the device based on the interface attributes of the device;
[0040] Step S103: the interface dynamic library interface of the device standardization model calls the interface dynamic library to realize control over the device.
[0041] By building a device standardization model based on the common functions of similar devices, it is used to describe the functions and properties of such devices. A set of interface dynamic libraries is built based on the interface properties of the device, and the corresponding interface dynamic library is called through the dynamic library interface of the device standardization model. When controlling similar devices of different brands and models, there is no need to change the function blocks in the application logic. You only need to specify different interface dynamic libraries to achieve unified function blocks to complete the control of similar devices. Cloud-based industrial control systems no longer need to define and develop independent function blocks for each device, but only need to focus on unified modeling for each type of device, which greatly reduces the workload; the compatibility of heterogeneous devices is achieved through interface dynamic libraries, which is more convenient for the access of new devices and application transplantation.
[0042] Next, each step of the control method 100 for cloud-based industrial system equipment is described in detail.
[0043] Step S101 , constructing a device standardization model 110 based on common functions of devices of the same type, wherein the device standardization model includes an external interface 111 and a dynamic library interface 112 , wherein the external interface includes input events, output events, input variables, and output variables.
[0044] Specifically, in one embodiment of the present disclosure, the device standardization model 110 is identified by the type of device, which may include, for example, input / output devices (I / O devices), motors, sensors, robotic arms, CNC milling machines, and conveying devices.
[0045] In another embodiment of the present disclosure, for more complex equipment types, the equipment standardization model can also be identified by the subtype of the equipment. For more complex equipment types, there are differences in their operating functions, processes, and parameters. Using multiple subtypes to identify them makes it easier to build equipment standardization models. For example, a robotic arm can be subdivided into multiple different subtypes such as 4-axis, 6-axis, and 8-axis to identify equipment standardization models 110 respectively.
[0046] Specifically, in one embodiment of the present disclosure, the device standardization model 110 includes a plurality of general function blocks, which are defined based on the operation events of the device. Based on the object-oriented concept, each independent function block of the device is encapsulated as a general function block, and the internal function of each general function block is implemented by an algorithm, which can be written in a programming language such as C++.
[0047] In one embodiment of the present disclosure, the operation events of the device include, for example, initialization events, reset events, action execution events, and query events. For example, the operation events of an IO device may include: initialization events (setting the number of input and output IOs), action execution events (opening / closing specified IOs), query events (querying the status of specified IOs), etc. For another example, the operation events of a robotic arm include: initialization events, reset events, action execution events (including parameter configuration, single-point movement, continuous movement, grasping), query events (status query), etc. By abstracting the common functions of devices of the same type, the construction of a standardized model of devices is achieved.
[0048] Each general function block is equivalent to a black box. It can be called through the input events, output events and corresponding input variables and output variable parameters of the external interface without knowing its internal specific implementation. The general function block can be easily transplanted and reused, which is very convenient for development, debugging and maintenance.
[0049] Figure 2 A schematic diagram schematically shows an external interface 111 of an exemplary device standardization model of the present disclosure, referring to Figure 2 As shown, the external interface 111 of the device standardization model 110 includes input events, output events, input variables and output variables. The input parameters and output parameters can be accessed through the network, and the operation performed by the device is realized through the input variables and output variable parameters related to the input events and output events of the device standardization model.
[0050] Taking IO devices as an example, the external interfaces of the device standardization model include:
[0051] (1) Input event:
[0052] INIT stands for initialization, and the input parameters include the number of input / output IOs;
[0053] SET_IO_STATE means setting the state of the input IO of the specified index;
[0054] GET_IO_STATE means querying the status of the output IO of the specified index;
[0055] (2) Output events:
[0056] INITO indicates that initialization is complete, and the output parameter QO indicates whether the execution is successful.
[0057] SETO stands for Set IO Status Complete.
[0058] The functions of most IO devices can be described through the above input events and output events.
[0059] If we follow the development process of function blocks in the existing cloud-based industrial control system, after the function block is defined, we need to write C++ code in the algorithm to access and control the industrial equipment. However, even for the same type of industrial equipment, due to differences in manufacturers, models, etc., their communication methods and protocols are different, making it difficult to access them using a unified code. For example, if the same type of equipment needs to be replaced on the production line, such as replacing the robot arm of manufacturer A with the robot arm of manufacturer B, the application must be modified to replace the function block of the robot arm of manufacturer A with the function block of the robot arm of manufacturer B, which is not conducive to the need for rapid transplantation.
[0060] Based on this, after constructing the device standardization model, the embodiment of the present disclosure constructs an interface dynamic library 120 corresponding to the device standardization model 110 based on the interface attributes of the device in step S102; in step S103, the interface dynamic library interface 112 of the device standardization model 110 calls the interface dynamic library 120 to control the device. Specifically, the interface dynamic library 120 is a code compiled based on the device attributes. The dynamic library interface 112 of the device standardization model 110 calls the interface dynamic library 120 through the corresponding code language C++ or the like.
[0061] Specifically, in one embodiment of the present disclosure, the interface attributes of the device include the manufacturer, model, interface mode and communication protocol of the device. The communication protocol is used to implement device access, such as ModBus, MQTT, AMQP, XMPP, CoAP and other protocols, or devices based on TCP and UDP sockets. The interface dynamic library is used to shield the underlying design differences of different products of the same type of device to provide a unified operation interface.
[0062] Figure 3 Schematically, in one embodiment of the present disclosure, the control method of the cloud-based industrial system equipment further includes:
[0063] S104, when it is determined that a device of the same type is replaced, the interface dynamic library 120 is replaced according to the replaced device, so as to implement the control of the replaced device by the device standardization model 110.
[0064] When using different products of the same type of equipment, there is no need to change the functional blocks in the application logic, just specify different interface dynamic libraries. Figure 4 For the equipment standard model 110, the interface dynamic library 1 is specified to realize the control of the equipment of manufacturer A, the interface dynamic library 2 is specified to realize the control of the equipment of manufacturer B, and the interface dynamic library is specified to realize the control of the equipment of manufacturer M. For example, if the same type of equipment needs to be replaced on the production line, such as replacing the robot arm of manufacturer A with the robot arm of manufacturer B, it only needs to replace the corresponding interface dynamic library to realize the control of the robot arm of manufacturer B.
[0065] In one embodiment of the present disclosure, the device standardization model 110 loads the interface dynamic library 120 based on a configuration file, wherein the configuration file includes the file name and storage location of the interface dynamic library 120. The device standardization model 110 reads the information in the configuration file and calls the interface dynamic library 120 through the dynamic library interface.
[0066] In one embodiment of the present disclosure, the equipment standardization model 110 can be developed by the cloud industrial system as a unified universal function block, and the interface dynamic library 120 can be built by the equipment manufacturer. Equipment manufacturers are more familiar with their own products, and the workload can be reduced by developing interface dynamic libraries by equipment manufacturers.
[0067] Figure 5 A schematic diagram schematically shows a control device of a cloud-based industrial system device in an exemplary embodiment of the present disclosure. Figure 5 , a control device 500 for cloud-based industrial system equipment, comprising:
[0068] A device standardization model construction module 510 is used to construct a device standardization model based on common functions of devices of the same type, wherein the device standardization model includes an external interface and a dynamic library interface, wherein the external interface includes input events, output events, input variables, and output variables;
[0069] An interface dynamic library construction module 520, configured to construct an interface dynamic library corresponding to the device standardized model based on the interface attributes of the device;
[0070] The control module 530 is used for the interface dynamic library interface of the device standardization model to call the interface dynamic library to realize the control of the device.
[0071] In one embodiment of the present disclosure, the control device 500 further includes a replacement module, wherein the replacement module is used to replace the interface dynamic library 120 according to the replaced device when it is determined that the same type of device is replaced, so as to realize the control of the replaced device by the device standardization model 110.
[0072] Since the functions of the control device 500 of the cloud-based industrial system equipment have been described in detail in the corresponding method embodiments, the present disclosure will not elaborate on them here.
[0073] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0074] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-mentioned control method of the cloud-based industrial system equipment is also provided.
[0075] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0076] Refer to the following Figure 6 The electronic device 600 according to this embodiment of the present invention is described. Figure 6 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0077] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include but are not limited to: at least one processing unit 610, at least one storage unit 620, and a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610).
[0078] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1The control method of cloud-based industrial system equipment shown in the embodiment includes step S101, constructing a device standardization model based on the common functions of the same type of equipment, the device standardization model includes an external interface and a dynamic library interface, the external interface includes input events, output events, input variables, and output variables; step S102, constructing an interface dynamic library corresponding to the device standardization model based on the interface attributes of the device; step S103, the interface dynamic library interface of the device standardization model calls the interface dynamic library to realize the control of the device. The processing unit 610 can also execute the following steps: Figure 4 In step S104 shown, when it is determined that a device of the same type is replaced, the interface dynamic library 120 is replaced according to the replaced device, so as to implement the control of the replaced device by the device standardization model 110.
[0079] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0080] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0081] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0082] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 660. As shown, the network adapter 660 communicates with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0083] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0084] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0085] refer to Figure 7 As shown, a program product 800 for implementing the control method of the above-mentioned cloud-based industrial system equipment according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0086] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0087] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0088] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0089] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0090] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0091] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and concept of the present disclosure are indicated by the claims.
Claims
1. A control method for cloud-based industrial system equipment, characterized in that: include: Building a device standardization model based on common functions of devices of the same type, wherein the device standardization model includes an external interface and a dynamic library interface, wherein the external interface includes input events, output events, input variables, and output variables; Building an interface dynamic library corresponding to the standardized model of the device based on the interface attributes of the device; The dynamic library interface of the device standardization model calls the interface dynamic library to achieve control over the device; The universal function module is called through the input event, the output event and the corresponding input variable and the output variable of the external interface, wherein the device standardization model includes multiple universal function blocks, wherein the input parameters of the input event and the output parameters of the output event are accessed through the network, the input parameters include the number of input / output IO devices, and the output parameters describe whether the execution is successful, and the input event and the output event are used to describe the device function.
2. The control method of cloud-based industrial system equipment according to claim 1, characterized in that: Also includes: When it is determined that a device of the same type is replaced, the interface dynamic library is replaced according to the replaced device, so as to implement control of the replaced device by the device standardization model.
3. The control method of cloud-based industrial system equipment according to claim 1, characterized in that: The interface attributes of the device include the manufacturer, model, interface mode and communication protocol of the device.
4. The control method of cloud-based industrial system equipment according to claim 1, characterized in that: The general function blocks are defined based on operation events of the device.
5. The control method of cloud-based industrial system equipment according to claim 4 is characterized in that: The operation events of the device include initialization events, reset events, action execution events and query events.
6. The control method of cloud-based industrial system equipment according to claim 1, characterized in that: The device standardization model loads the interface dynamic library based on a configuration file, and the configuration file includes a file name and a storage location of the interface dynamic library.
7. According to the control method of cloud-based industrial system equipment in claim 1, the types of equipment include input / output devices, motors, sensors, robotic arms, CNC milling machines and conveying equipment.
8. A control device for cloud-based industrial system equipment, used to execute the control method for cloud-based industrial system equipment according to any one of claims 1 to 7, characterized in that: include: A device standardization model construction module, used to construct a device standardization model based on common functions of devices of the same type, wherein the device standardization model includes an external interface and a dynamic library interface, wherein the external interface includes input events, output events, input variables, and output variables; An interface dynamic library construction module, used to construct an interface dynamic library corresponding to the standardized model of the device based on the interface attributes of the device; A control module is used for the interface dynamic library interface of the device standardized model to call the interface dynamic library to realize control of the device.
9. An electronic device, characterized in that: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the control method of the cloud-based industrial system equipment according to any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control method of the cloud-based industrial system equipment according to any one of claims 1 to 7 is implemented.
