Automation equipment management method, device, electronic equipment and storage medium

By generating management software for automation equipment, combining metadata tables, data models, interface formats and encoding templates, real-time and convenience problems caused by interface complexity in automation equipment connection and control are solved, and efficient equipment management is achieved.

CN113064581BActive Publication Date: 2024-11-22CCTEG CHINA COAL RES INST
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202110226497.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-01
Publication Date
2024-11-22
Estimated Expiration
2041-03-01

AI Technical Summary

Technical Problem

Due to the complex interface format and service of existing automation equipment, data processing and instruction processing time is long, making it difficult to ensure the real-time nature of automation equipment and the convenience of monitoring and analysis.

Method used

By obtaining the automation equipment to be managed, and combining preset metadata table templates, data model templates, and interface formats to define text and encoding templates, the management software of the automation equipment is generated to realize real-time management of the automation equipment.

Benefits of technology

Through the generated management software, interface access and data processing are simplified, real-time control and monitoring and analysis of automation equipment are improved, and manual operation and development work are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113064581B_ABST
    Figure CN113064581B_ABST
Patent Text Reader

Abstract

The present disclosure is about a management method, device, electronic device and storage medium for automation equipment, and relates to the field of automation control technology. The method includes: obtaining the automation equipment to be managed, creating a metadata table for the automation equipment in combination with a preset metadata table template; creating a data model for the automation equipment in combination with the metadata table and a preset data model template; creating an interface for the automation equipment in combination with the data model and a preset interface format definition text; generating a service corresponding to the interface in combination with the interface and a preset coding template, and deploying the service on the automation equipment platform; generating a client code corresponding to the service in combination with the service and the interface format definition text, and compiling and packaging the client code to generate management software to manage the automation equipment. The management software for the automation equipment is generated, and the automation equipment is managed by the management software, which ensures the real-time control of the automation equipment and the convenience of monitoring and analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of automation control technology, and in particular to a management method, device, electronic device and storage medium for automation equipment. Background Art

[0002] At present, the connection and control of automation equipment are usually achieved through configuration software. Among them, configuration software is a kind of upper computer software. After the configuration software realizes the connection of automation equipment, it monitors and processes the operation data of the automation equipment, and provides OPC (OLE for Process Control), OPC-UA (OPC Unified Architecture, time-sensitive network technology based on OPC unified architecture), WebService (network service), Restful (Representational state transfer) services to the outside through the interface. The client develops the corresponding upper-level application through the engineering files and interface descriptions of the configuration software.

[0003] The above-mentioned method of connecting and controlling automation equipment through configuration software is complex and diverse, due to the complexity of interface formats, services provided by the interface, etc., and the mixture of data processing and command processing. When controlling the automation equipment, interface access, data processing, command processing, etc. will consume a lot of time, making it difficult to ensure the real-time control of the automation equipment and the convenience of monitoring and analysis. Summary of the invention

[0004] The present disclosure provides a management method, device, electronic device and storage medium for automation equipment, so as to at least solve the problem that the connection and control methods of automation equipment in related technologies are difficult to ensure the real-time nature of automation control and the convenience of monitoring and analysis.

[0005] The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, a method for managing automation equipment is provided, including: acquiring an automation equipment to be managed, and creating a metadata table for the automation equipment in combination with a preset metadata table template; creating a data model for the automation equipment in combination with the metadata table of the automation equipment and a preset data model template; creating an interface for the automation equipment in combination with the data model of the automation equipment and a preset interface format definition text; generating a service corresponding to the interface in combination with the interface of the automation equipment and a preset coding template, and deploying the service on an automation equipment platform; generating a client code corresponding to the service in combination with the service and the interface format definition text, and compiling and packaging the client code to generate management software for the automation equipment, so as to manage the automation equipment through the management software.

[0007] According to a second aspect of an embodiment of the present disclosure, there is provided a management device for an automation device, comprising:

[0008] The first creation module is used to obtain the automation equipment to be managed, and create the metadata table of the automation equipment in combination with a preset metadata table template; the second creation module is used to create the data model of the automation equipment in combination with the metadata table of the automation equipment and a preset data model template; the third creation module is used to create the interface of the automation equipment in combination with the data model of the automation equipment and a preset interface format definition text; the processing module is used to generate a service corresponding to the interface in combination with the interface of the automation equipment and a preset coding template, and deploy the service on the automation equipment platform; the generation module is used to generate a client code corresponding to the service in combination with the service and the interface format definition text, and compile and package the client code to generate the management software of the automation equipment, so as to manage the automation equipment through the management software.

[0009] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the management method of automated equipment proposed in the embodiment of the first aspect of the present disclosure.

[0010] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the management method of the automation equipment proposed in the embodiment of the first aspect of the present disclosure.

[0011] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program. When the computer program is executed by a processor of an electronic device, the electronic device can execute the management method of the automation device proposed in the embodiment of the first aspect of the present disclosure.

[0012] The technical solution provided by this application has the following beneficial effects:

[0013] By acquiring the automation equipment to be managed and combining it with a preset metadata table template, a metadata table of the automation equipment is created; combining the metadata table of the automation equipment and a preset data model template, a data model of the automation equipment is created; combining the data model of the automation equipment and a preset interface format definition text, an interface of the automation equipment is created; combining the interface of the automation equipment and a preset coding template, a service corresponding to the interface is generated, and the service is deployed on the automation equipment platform; combining the service and the interface format definition text, a client code corresponding to the service is generated, and the client code is compiled and packaged to generate the management software of the automation equipment, so as to manage the automation equipment through the management software, thereby realizing the generation of the management software of the automation equipment in combination with the preset metadata table template, the data model template, the interface format definition text, and the coding template, and managing the automation equipment through the generated management software of the automation equipment, which can ensure the real-time control of the automation equipment and the convenience of monitoring and analysis.

[0014] 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

[0015] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0016] Figure 1 is a flowchart of a method for managing an automation device according to an exemplary embodiment;

[0017] Figure 2 is a schematic diagram of a metadata table according to an exemplary embodiment;

[0018] Figure 3 is a schematic diagram of a data model template according to an exemplary embodiment;

[0019] Figure 4 is a diagram showing an example of deployment of a client and an automation device platform according to an exemplary embodiment;

[0020] Figure 5 is a structural diagram of a management device for automation equipment according to an exemplary embodiment;

[0021] Figure 6 It is a block diagram of an electronic device for automated device management according to an exemplary embodiment. DETAILED DESCRIPTION

[0022] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0024] At present, the connection and control of automation equipment are usually achieved through configuration software. Configuration software is a kind of upper computer software. After the configuration software realizes the connection of automation equipment, it monitors and processes the operation data of automation equipment, and provides OPC, OPC-UA, WebService, and Restful services to the outside through the interface. The client develops the corresponding upper-level application through the engineering files and interface descriptions of the configuration software.

[0025] The above-mentioned method of connecting and controlling automation equipment through configuration software is complex and diverse, due to the complexity of interface formats, services provided by the interface, etc., and the mixture of data processing and command processing. When controlling the automation equipment, interface access, data processing, command processing, etc. will consume a lot of time, making it difficult to ensure the real-time control of the automation equipment and the convenience of monitoring and analysis.

[0026] The present disclosure mainly aims at the above-mentioned problems and proposes a management method for automation equipment. The management method for automation equipment of the embodiment of the present disclosure first obtains the automation equipment to be managed, and creates the metadata table of the automation equipment in combination with the preset metadata table template, and then creates the data model of the automation equipment in combination with the metadata table of the automation equipment and the preset data model template, and then creates the interface of the automation equipment in combination with the data model of the automation equipment and the preset interface format definition text, and then generates the service corresponding to the interface in combination with the interface of the automation equipment and the preset coding template, and deploys the service on the automation equipment platform, and then generates the client code corresponding to the service in combination with the service and the interface format definition text, and compiles and packages the client code to generate the management software of the automation equipment, so as to manage the automation equipment through the management software. Thus, the management software of the automation equipment is generated in combination with the preset metadata table template, the data model template, the interface format definition text, and the coding template, and the automation equipment is managed through the generated management software of the automation equipment, which can ensure the real-time control of the automation equipment and the convenience of monitoring and analysis.

[0027] The following describes the management method, device, electronic device and storage medium of the automation equipment provided by the embodiments of the present application in conjunction with the accompanying drawings.

[0028] Figure 1 The figure is a flowchart of a method for managing an automation device according to an exemplary embodiment.

[0029] The execution subject of the embodiment of the present disclosure may be a management device of an automation device, and the management device of the automation device may be a hardware device, or software installed in a hardware device, etc.

[0030] like Figure 1 As shown, the management method of the automation equipment may include the following steps 101-105.

[0031] In step 101, the automation equipment to be managed is obtained, and a metadata table of the automation equipment is created in combination with a preset metadata table template.

[0032] Among them, automated equipment, for example, can be coal excavation equipment and other equipment used in mine construction.

[0033] In an exemplary embodiment, a metadata template may be preset, so that after obtaining the automation equipment to be managed, the metadata of the automation equipment to be managed may be sorted in combination with the preset metadata table template to create a metadata table for the automation equipment.

[0034] In an exemplary embodiment, the metadata table template may include the name of each metadata and the metadata description. Accordingly, the metadata table of the automation device may be created in the following manner in combination with the preset metadata table template:

[0035] For each metadata in the metadata table template, determining whether the automation device is configured with the metadata;

[0036] If metadata is configured in the automation device, the metadata is used as the first metadata;

[0037] A metadata table of the automation device is generated according to each first metadata and the corresponding metadata description.

[0038] For example, a metadata table template as shown in Table 1 below can be pre-set. For the metadata corresponding to each metadata name in the metadata table template, it can be determined whether the automation equipment is configured with the metadata. If so, the metadata is used as the first metadata, and based on the metadata and the corresponding metadata description, the metadata is entered at the corresponding position in the metadata table template until all metadata configured with the automation equipment are entered in the metadata table template, thereby generating a metadata table for the automation equipment.

[0039] Table 1 Metadata table template

[0040]

[0041] In an exemplary embodiment, the metadata table created may be Figure 2 The form shown.

[0042] It should be noted that after the metadata table of the automated device is created, the content in the metadata table may be verified and incorrect content in the metadata table may be corrected to obtain a more accurate metadata table.

[0043] In step 102, a data model of the automation device is created by combining the metadata table of the automation device and a preset data model template.

[0044] In an exemplary embodiment, a data model template may be preset, so that a data model of the automation device may be created by combining the created metadata table of the automation device and the preset data model template.

[0045] It is understandable that the metadata of the automation equipment may include the real-time status data of the automation equipment, the event data of the status change reported by the automation equipment, and the command data issued to the automation equipment for execution. Among them, the real-time status data may include the operating status, function switch, gear status, etc., the event data may include the alarm, gear, switch quantity change, etc., and the command data may include the command parameters, return value, etc.

[0046] Accordingly, in an exemplary embodiment, the data model templates that may be preset include: a state data model template, an event data model template, and a command data model template.

[0047] The state data model template includes: each state variable model template, wherein the state variable model template includes: each metadata related to the state variable;

[0048] The event data model template includes: each event model template, a threshold type model template of the event in the event model template, and a parameter model template of the threshold type;

[0049] The command data model template includes: each command model template and the parameter model template in the command.

[0050] refer to Figure 3 The state data model template may include various state variable model templates, such as Figure 3 As shown on the right, each state variable model template can include the variable number and the following metadata names related to the state variable: variable English name, variable Chinese name, variable storage type, variable type, variable storage address, variable register address, initial value, maximum value, minimum value, variable enable status, etc.

[0051] The event data model template may include various event model templates, event threshold type model templates, and threshold type parameter model templates. Figure 3 As shown in the middle, each event model template may include the event number and the following metadata names related to the event: event English name, event Chinese name, event type, event text, parent event number, event enabled state, etc. Each threshold type model template of the event may include the threshold type number and the following metadata names related to the threshold type: threshold type English name, threshold type Chinese name, threshold type enabled state, etc. Each parameter model template of the threshold type may include the threshold parameter change and the following metadata related to the threshold parameter: value, threshold type number to which it belongs, and event number to which it belongs.

[0052] The command data model template may include various command model templates and parameter model templates in the command. Figure 3 As shown on the left, each command model template can include the command number and the following metadata names related to the command: command English name, command Chinese name, command enablement status. Each parameter model template in the command can include the command parameter number and the following metadata related to the command parameter: parameter type, parameter register number, parameter command number, etc.

[0053] In specific implementation, for each metadata name in the data model template, it can be determined whether there is corresponding metadata in the metadata table. If so, the metadata is entered into the corresponding position in the data model template until all metadata in the metadata table are entered into the data model template, thereby generating a data model for the automation device. The generated data model for the automation device can include the following three types: state data model, event data model, and command data model.

[0054] In an exemplary embodiment, when the number of automated devices is plural, reference Figure 3 The data model template may also include: a device model template, wherein: Figure 3 As shown above, the device model template may include the device name and device number, etc. The device name may include the Chinese name of the device and the English name of the device, and the device number may include the device number of the current device and the number of the parent device of the current device. Correspondingly, the state variable model template, event model template, and command model template may also include the device number of the device.

[0055] By setting the device model template in the pre-set data model template, the device model template, the state variable model template, the event model template and the command model template respectively include the device number of the device, so that when there are multiple automation devices, the metadata of multiple automation devices can be simultaneously entered into the data model template according to the metadata tables of multiple automation devices, thereby realizing high-frequency data collection of multiple automation devices.

[0056] In step 103, the interface of the automation device is created by combining the data model of the automation device and the preset interface format definition text.

[0057] In an exemplary embodiment, an interface format definition text may be generated in advance based on all writable variables of the automation device, wherein the input parameter in the interface format definition text may be a list of writable variables, and the output parameter may be an execution result status. Thus, after creating a data model of the automation device, the data model of the automation device and the preset interface format definition text may be combined to create an interface of the automation device.

[0058] In an exemplary embodiment, format items and descriptions of the format items in the interface format definition text may be as shown in Table 2 below.

[0059] Table 2 Format items and descriptions

[0060]

[0061] In step 104, a service corresponding to the interface is generated in combination with the interface of the automation device and a preset coding template, and the service is deployed on the automation device platform.

[0062] In an exemplary embodiment, a coding template capable of generating services corresponding to an interface may be pre-set, so that after creating an interface of an automation device, the interface of the automation device and the preset coding template may be combined to generate a service corresponding to the interface, and then the service may be deployed on the automation device platform.

[0063] In an exemplary embodiment, the interface of the automation device may include information such as the interface name and parameters. In specific implementation, the service corresponding to the interface may be generated by combining the interface of the automation device and a preset coding template in the following manner:

[0064] Combine the interface name and parameters of the automation equipment, replace the interface name and parameters in the coding template, and generate the service code;

[0065] Compile and package the service code to generate an executable file for the service corresponding to the interface.

[0066] Specifically, the interface name, parameter and other information in the coding template can be replaced in combination with the interface name, parameter and other information of the automation equipment to generate service coding, and then the service coding can be compiled and packaged to generate an executable file of the service corresponding to the interface, and the executable file can be stored in a preset storage location. The automation equipment platform can be hot-loaded and the interface can be published to the automation equipment platform to deploy the service to the automation equipment platform, so that the automation equipment platform can implement the service corresponding to the interface by calling the interface.

[0067] In step 105, the service and the interface format definition text are combined to generate the client code corresponding to the service, and the client code is compiled and packaged to generate the management software of the automation equipment, so as to manage the automation equipment through the management software.

[0068] In an exemplary embodiment, after the service is deployed on the automation device platform, the service and the created interface format definition text can be combined to generate client code corresponding to the service, and the client code can be compiled and packaged to generate management software for the automation device, and the automation device can be managed through the management software.

[0069] In an exemplary embodiment, a Java-based https restful service can be combined with the service and the created interface format definition text to generate a client code corresponding to the service.

[0070] In an exemplary embodiment, the communication between the management software and the automation equipment platform can be bidirectionally authenticated using https security certificate bidirectional authentication.

[0071] Specifically, the https security certificate two-way authentication method can be used to authenticate the management software and the automation equipment platform and to securely encrypt the communication content. The management software and the automation equipment platform can exchange security certificates offline, and the security certificates of the management software and the automation equipment platform are imported into the other party's certificate warehouse for storage after agreement by both parties. In this way, the communication security between the management software and the automation equipment platform is guaranteed.

[0072] In addition, the management software and automation equipment platform can use security certificates and digital signatures to authenticate identities and encrypt communication content when communicating with the cloud or third-party systems, thereby ensuring the security of communication between the management software and automation equipment platform and external cloud or third-party systems.

[0073] In an exemplary embodiment, if Figure 4 As shown, the management of automation equipment can adopt a multi-node coordinated distributed cache approach.

[0074] Among them, Figure 4 As shown in the figure, the automation equipment platform and the database server can jointly provide services for the client. Each client and the automation equipment platform can be deployed in multiple layers, so that the computing and processing capabilities can be infinitely expanded. The metadata table and the metadata therein can be stored in the distributed cache to achieve the storage and access of metadata tables and metadata with large amounts of data. In addition, load balancing can be achieved between the client and the automation equipment platform through a load balancer.

[0075] It can be understood that in the embodiments of the present application, by creating a metadata table for automation equipment in combination with a preset metadata table template, all metadata of each automation equipment can be sorted out, and by creating a data model for automation equipment in combination with the metadata table and the data model template, all metadata of each automation equipment can be divided into corresponding data models to achieve unification of the data model, and by creating an interface for automation equipment in combination with the data model and the interface format definition text, unification of the interface format can be achieved.

[0076] Since the management software for automation equipment generated by this application is generated by combining the interface of the created automation equipment and the preset coding template to generate the service corresponding to the interface, combining the service and the interface format definition text to generate the client code corresponding to the service, and compiling and packaging the client code, and the interface format of the automation equipment is unified, and the data model of the automation equipment is also unified, when the automation equipment is managed by the management software of the automation equipment, the time spent on interface access, data processing, instruction processing, etc. can be greatly shortened, thereby ensuring the real-time control of the automation equipment and the convenience of monitoring and analysis. In addition, the management method for automation equipment provided by this application does not require manual operation, avoids manual operation errors, and does not require a lot of research, development, and testing work, making remote docking and development possible.

[0077] The management method of the automation equipment of the embodiment of the present disclosure first obtains the automation equipment to be managed, and creates the metadata table of the automation equipment in combination with a preset metadata table template, then creates the data model of the automation equipment in combination with the metadata table of the automation equipment and a preset data model template, then creates the interface of the automation equipment in combination with the data model of the automation equipment and a preset interface format definition text, then generates a service corresponding to the interface in combination with the interface of the automation equipment and a preset coding template, and deploys the service on the automation equipment platform, then generates the client code corresponding to the service in combination with the service and the interface format definition text, compiles and packages the client code, generates the management software of the automation equipment, and manages the automation equipment through the management software, thereby realizing the generation of the management software of the automation equipment in combination with the preset metadata table template, the data model template, the interface format definition text, and the coding template, and managing the automation equipment through the generated management software of the automation equipment, which can ensure the real-time control of the automation equipment and the convenience of monitoring and analysis.

[0078] In order to implement the above embodiment, the embodiment of the present disclosure proposes a management device for automation equipment.

[0079] Figure 5 is a block diagram of a management device for an automation device according to an exemplary embodiment, referring to Figure 5 The management device 100 of the automation equipment may include: a first creation module 110, a second creation module 120, a third creation module 130, a processing module 140 and a generation module 150.

[0080] The first creation module 110 is used to obtain the automation equipment to be managed, and create a metadata table of the automation equipment in combination with a preset metadata table template;

[0081] The second creation module 120 is used to create a data model of the automation device by combining the metadata table of the automation device and the preset data model template;

[0082] The third creation module 130 is used to create an interface of the automation device by combining the data model of the automation device and the preset interface format definition text;

[0083] The processing module 140 is used to combine the interface of the automation device and the preset coding template to generate a service corresponding to the interface and deploy the service on the automation device platform;

[0084] The generation module 150 is used to combine the service and the interface format definition text to generate the client code corresponding to the service, compile and package the client code, and generate the management software of the automation equipment so as to manage the automation equipment through the management software.

[0085] Optionally, the metadata table template includes: the name of each metadata and metadata description;

[0086] Accordingly, the first creation module 150 is specifically configured to:

[0087] For each metadata in the metadata table template, determining whether the automation device is configured with the metadata;

[0088] If metadata is configured in the automation device, the metadata is used as the first metadata;

[0089] A metadata table of the automation device is generated according to each first metadata and the corresponding metadata description.

[0090] Optionally, the data model template includes: a state data model template, an event data model template and a command data model template;

[0091] The state data model template includes: each state variable model template, wherein the state variable model template includes: each metadata related to the state variable;

[0092] The event data model template includes: each event model template, a threshold type model template of the event in the event model template, and a parameter model template of the threshold type;

[0093] The command data model template includes: each command model template and the parameter model template in the command.

[0094] Optionally, there are multiple automation devices, and the data model template further includes: a device model template; the device model template includes: a device name and a device number;

[0095] The state variable model template, the event model template, and the command model template also include the device number of the device.

[0096] Optionally, the interface of the automation device includes: interface name and parameters;

[0097] The processing module 140 is specifically configured to:

[0098] Combine the interface name and parameters of the automation equipment, replace the interface name and parameters in the coding template, and generate the service code;

[0099] Compile and package the service code to generate an executable file for the service corresponding to the interface.

[0100] Optionally, the communication between the management software and the automation equipment platform is bidirectionally authenticated using https security certificate.

[0101] It should be noted that the implementation process and technical principles of the management device for automated equipment of this embodiment refer to the aforementioned explanation of the management method for automated equipment of the embodiment of the present disclosure, which will not be repeated here.

[0102] The management device of the automation equipment of the embodiment of the present disclosure first obtains the automation equipment to be managed, and creates the metadata table of the automation equipment in combination with a preset metadata table template, and then creates the data model of the automation equipment in combination with the metadata table of the automation equipment and the preset data model template, and then creates the interface of the automation equipment in combination with the data model of the automation equipment and the preset interface format definition text, and then generates the service corresponding to the interface in combination with the interface of the automation equipment and the preset coding template, and deploys the service on the automation equipment platform, and then generates the client code corresponding to the service in combination with the service and the interface format definition text, and compiles and packages the client code to generate the management software of the automation equipment, so as to manage the automation equipment through the management software, thereby realizing the generation of the management software of the automation equipment in combination with the preset metadata table template, the data model template, the interface format definition text, and the coding template, and managing the automation equipment through the generated management software of the automation equipment, which can ensure the real-time control of the automation equipment and the convenience of monitoring and analysis.

[0103] In order to implement the above embodiment, the embodiment of the present disclosure also proposes an electronic device.

[0104] Among them, electronic equipment includes:

[0105] processor;

[0106] a memory for storing processor-executable instructions;

[0107] The processor is configured to execute instructions to implement the management method of the automation equipment as described above.

[0108] As an example, Figure 6 is a block diagram of an electronic device 200 for automated device management according to an exemplary embodiment. Figure 6 As shown, the electronic device 200 may further include:

[0109] The memory 210 and the processor 220, a bus 230 connecting different components (including the memory 210 and the processor 220), the memory 210 stores a computer program, and when the processor 220 executes the program, the management method of the automation equipment described in the embodiment of the present disclosure is implemented.

[0110] Bus 230 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0111] The electronic device 200 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 200, including volatile and non-volatile media, removable and non-removable media.

[0112] The memory 210 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 240 and / or cache memory 250. The server 200 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 260 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 230 via one or more data medium interfaces. The memory 210 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0113] A program / utility 280 having a set (at least one) of program modules 270 may be stored, for example, in the memory 210, such program modules 270 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. The program modules 270 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0114] The electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 200, and / or communicate with any device that enables the electronic device 200 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface 292. Furthermore, the electronic device 200 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) via a network adapter 293. As shown, the network adapter 293 communicates with other modules of the electronic device 200 via a bus 230. 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 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0115] The processor 220 executes various functional applications and data processing by running the programs stored in the memory 210 .

[0116] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the management method of the automation equipment of the embodiment of the present disclosure, and will not be repeated here.

[0117] The electronic device provided by the embodiment of the present disclosure can generate management software for automation equipment in combination with preset metadata table templates, data model templates, interface format definition texts, and coding templates, and manage the automation equipment through the generated management software for the automation equipment, thereby ensuring the real-time control of the automation equipment and the convenience of monitoring and analysis.

[0118] In order to implement the above embodiment, the embodiment of the present disclosure further proposes a storage medium, wherein when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the management method of the automation device as described above.

[0119] In order to implement the above embodiments, the present disclosure further provides a computer program product, including a computer program, which, when executed by a processor of an electronic device, enables the electronic device to execute the management method of the automation device as described above.

[0120] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure 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 description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0121] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A management method for automated equipment, characterized in that: include: Acquire the automation equipment to be managed, and create a metadata table of the automation equipment in combination with a preset metadata table template; Creating a data model of the automation device by combining the metadata table of the automation device and a preset data model template; Creating an interface of the automation device by combining a data model of the automation device and a preset interface format definition text; Combining the interface of the automation device and a preset coding template, generating a service corresponding to the interface, and deploying the service on the automation device platform; Combining the service and the interface format definition text, generating a client code corresponding to the service, and compiling and packaging the client code to generate management software for the automation device, so as to manage the automation device through the management software; The metadata table template includes: the name of each metadata and metadata description; The step of creating the metadata table of the automation device in combination with a preset metadata table template includes: For each metadata in the metadata table template, determining whether the automation device is configured with the metadata; If the metadata is configured in the automation device, use the metadata as the first metadata; A metadata table of the automation device is generated according to each of the first metadata and the corresponding metadata description.

2. The method according to claim 1, characterized in that The data model templates include: a state data model template, an event data model template and a command data model template; Wherein, the state data model template includes: each state variable model template, wherein the state variable model template includes: each metadata related to the state variable; The event data model template includes: each event model template, a threshold type model template of the event in the event model template, and a parameter model template of the threshold type; The command data model template includes: various command model templates and parameter model templates in the command.

3. The method according to claim 2, characterized in that The number of the automation devices is multiple, and the data model template also includes: a device model template; the device model template includes: a device name and a device number; The state variable model template, the event model template and the command model template also include the device number of the device.

4. The method according to claim 1, characterized in that The interface of the automation equipment includes: interface name and parameters; The combining the interface of the automation device and the preset coding template to generate a service corresponding to the interface includes: In combination with the interface name and the parameters of the automation device, the interface name and the parameters in the coding template are replaced to generate a service code; The service code is compiled and packaged to generate an executable file of the service corresponding to the interface.

5. The method according to claim 1, characterized in that The communication between the management software and the automation equipment platform is bidirectionally authenticated using https security certificate.

6. A management device for automated equipment, characterized in that: include: A first creation module is used to obtain the automation equipment to be managed, and create a metadata table of the automation equipment in combination with a preset metadata table template; A second creation module, used to create a data model of the automation device in combination with the metadata table of the automation device and a preset data model template; A third creation module, used to create an interface of the automation device in combination with a data model of the automation device and a preset interface format definition text; A processing module, used to combine the interface of the automation device and a preset coding template, generate a service corresponding to the interface, and deploy the service on the automation device platform; A generation module, used to combine the service and the interface format definition text, generate a client code corresponding to the service, compile and package the client code, and generate management software for the automation device, so as to manage the automation device through the management software; The metadata table template includes: the name of each metadata and metadata description; The first creation module is specifically used for: For each metadata in the metadata table template, determining whether the automation device is configured with the metadata; If the metadata is configured in the automation device, use the metadata as the first metadata; A metadata table of the automation device is generated according to each of the first metadata and the corresponding metadata description.

7. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the management method of the automation equipment according to any one of claims 1 to 5.

8. A storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the management method of an automation device as described in any one of claims 1 to 5.

Citation Information

Cited By

  • Method for the automated creation of a skill interface, computer program product, and device

    US12416913B2

  • Method for the automated creation of a skill interface, computer program product, and device

    US20230280733A1