CN112462645A - Self-description method and device of universal device controller and storage medium - Google Patents

Self-description method and device of universal device controller and storage medium Download PDF

Info

Publication number
CN112462645A
CN112462645A CN202011248203.4A CN202011248203A CN112462645A CN 112462645 A CN112462645 A CN 112462645A CN 202011248203 A CN202011248203 A CN 202011248203A CN 112462645 A CN112462645 A CN 112462645A
Authority
CN
China
Prior art keywords
device controller
standardized
universal device
attributes
description file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011248203.4A
Other languages
Chinese (zh)
Inventor
周治国
谭伟澎
郑魏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mogulinker Technology Shenzhen Co Ltd
Original Assignee
Mogulinker Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mogulinker Technology Shenzhen Co Ltd filed Critical Mogulinker Technology Shenzhen Co Ltd
Priority to CN202011248203.4A priority Critical patent/CN112462645A/en
Publication of CN112462645A publication Critical patent/CN112462645A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23146Programmable, reconfigurable via microprocessor or coding switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a self-description method of a universal device controller, which is based on a cloud server and comprises the following steps: acquiring attributes and functions of all universal device controllers to be standardized, classifying the attributes and functions, and acquiring the attributes and functions related to the classified universal device controllers; quantifying the related attributes and functions of the classified universal device controller through a preset standard language to form a standardized description file of the universal device controller; and when a certain universal device controller to be standardized is connected with the cloud server, configuring a new description file through the standardized description file according to the attribute and the function of the universal device controller to be standardized. The universal device controller is described by a standard and concise language, so that the interface of the universal device controller is standardized, the cloud platform is simplified in identification, the execution is efficient, the characteristics of reducing the handshaking steps and the communication data amount during handshaking are achieved, and meanwhile, a user can conveniently define the human-computer interface, the controller function and the parameters of the controller according to actual requirements.

Description

Self-description method and device of universal device controller and storage medium
Technical Field
The application belongs to the technical field of universal device controllers and relates to a self-description method and a self-description device of a universal device controller and a storage medium.
Background
At present, with the rapid development of the technology of the internet of things, the application of the industrial internet of things is more and more extensive, the automation and intelligence level of industrial equipment is continuously improved, and the industrial internet of things not only can realize the interconnection of the equipment, but also can provide a plurality of customizable humanized services. The core of the realization of the industrial internet of things is networking, namely, connecting equipment, but because the existing equipment controllers are various, the controllers are only special controllers developed aiming at certain type of equipment, the functions are single, the interfaces are not standardized, the functions are not self-defined, and the networking and the control of single-type equipment controllers can be realized only.
In addition, in order to improve the intelligent control and processing capacity of industrial equipment and provide more humanized product services, the terminal computing power of the equipment controller needs to be improved, and more convenient, fast and customizable services are provided by combining with intelligent computing technologies such as cloud computing and cloud storage and visual programming technologies.
In order to effectively solve the two problems, the description problem of the universal device controller needs to be solved, more universal device controllers are in communication connection with the cloud platform in a simple and effective mode, the cloud end can distinguish the types, functions and the like of the universal device controllers, accordingly, the controller functions can be customized based on the cloud platform, various control requirements of the universal device are met, and the intelligent control level of products is improved. However, there is no self-describing method for a general device controller in the prior art.
Disclosure of Invention
The embodiment of the invention aims to provide a self-description method, a self-description device and a storage medium of a universal device controller, and aims to overcome the defects in the prior art.
In order to solve the above technical problem, an embodiment of the present invention provides a self-description method for a universal device controller, which adopts the following technical solutions:
the method is based on a cloud server and comprises the following steps:
acquiring attributes and functions of all universal device controllers to be standardized, classifying the attributes and functions, and acquiring the attributes and functions related to the classified universal device controllers;
quantifying the attributes and functions related to the classified universal device controller through a preset standard language to form a standardized description file of the universal device controller;
and when a certain universal device controller to be standardized is connected with the cloud server, configuring a new description file through the standardized description file according to the attribute and the function of the universal device controller to be standardized.
Further, the attributes of the generic device controller include, but are not limited to:
product type, manufacturer, production place, product ID, communication interface type and number.
Further, the step of digitizing the classified attributes and functions related to the generic device controller by a preset standard language to form a standardized description file of the generic device controller specifically includes:
defining a binary file according to the classified attributes and functions related to the universal device controller;
dividing the binary file into a pointing part and a parameter part, wherein the pointing part describes names and corresponding offsets of attributes and functions according to numerical value meanings, and points to different positions of the parameter part through the offsets, and the parameter part expresses specific attributes or specific function operations according to preset data types and specific numerical values of the preset data types.
Further, when a certain to-be-standardized universal device controller is connected to the cloud server, the step of configuring a new description file through the standardized description file according to the attribute and the function of the to-be-standardized universal device controller specifically includes:
identifying and reading the original description file of the universal equipment controller to obtain the attribute and the function of the universal equipment controller;
and extracting the numerical description related to the attribute and the function of the universal device controller from the standardized description file, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller.
Further, the step of generating a new description file of the generic device controller and configuring the new description file into the generic device controller includes:
generating an operable virtual controller interface through a cloud visual programming technology, wherein the interface is a human-computer interface customized according to requirements and comprises optional controller functions;
and receiving an instruction of the attribute and the function related parameter configured by the user, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller through the cloud server.
In order to solve the above technical problem, an embodiment of the present invention provides a self-description apparatus of a universal device controller, which adopts the following technical solutions:
the device is based on high in the clouds server includes:
the classification module is used for acquiring and classifying the attributes and functions of all universal device controllers to be standardized to acquire the attributes and functions related to the classified universal device controllers;
the numeralization module is used for numeralizing the attributes and functions related to the classified universal device controller through a preset standard language to form a standardized description file of the universal device controller;
and the configuration module is used for configuring a new description file through the standardized description file according to the attribute and the function of a certain universal device controller to be standardized when the universal device controller to be standardized is connected with the cloud server.
Further, the digitizing module specifically includes:
the defining unit is used for defining a binary file according to the classified attributes and functions related to the universal device controller;
the description unit is used for dividing the binary file into a pointing part and a parameter part, wherein the pointing part describes names of attributes and functions and corresponding offsets according to numerical value meanings, and points to different positions of the parameter part through the offsets, and the parameter part expresses specific attributes or specific function operations by preset data types and specific numerical values thereof.
Further, the configuration module specifically includes:
the identification unit is used for identifying and reading the original description file of the universal device controller to obtain the attribute and the function of the universal device controller;
and the configuration unit is used for extracting the numerical description related to the attribute and the function of the universal device controller from the standardized description file, generating a new description file of the universal device controller and configuring the new description file into the universal device controller.
Further, the configuration unit is further configured to:
generating an operable virtual controller interface through a cloud visual programming technology, wherein the interface is a human-computer interface customized according to requirements and comprises optional controller functions;
and receiving an instruction of the attribute and the function related parameter configured by the user, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller through the cloud server.
In order to solve the above technical problem, an embodiment of the present invention also provides a computer-readable storage medium, which adopts the following technical solutions:
the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the self-describing method of the general-purpose device controller of any of the above.
Compared with the prior art, the self-description method, the self-description device and the storage medium of the universal device controller provided by the embodiment of the invention have the following beneficial effects:
this application describes the attribute and the function of general device controller with standard, succinct language in unison, makes the interface standardization, has unified the self-description mode of general device controller, and cloud platform discernment is simplistic, carries out the high efficiency, has the characteristics that reduce the step of shaking hands and communication data volume when shaking hands, and convenience of customers simultaneously is according to actual demand custom controller human-computer interface, controller function and parameter.
Drawings
In order to more clearly illustrate the solution of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive labor.
FIG. 1 is a flow diagram illustrating a method for self-describing a generic device controller in accordance with an embodiment of the present invention;
fig. 2 is a schematic diagram of the self-describing apparatus of the general device controller according to an embodiment of the present invention.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention; the terms "comprising" and "having," and any variations thereof, in the description and claims of this invention and the description of the above figures, are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and in the claims, or in the drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides a self-description method for a generic device controller, including the steps of:
s1, acquiring attributes and functions of all universal device controllers to be standardized, classifying the attributes and functions, and acquiring the attributes and functions related to the classified universal device controllers;
s2, digitizing the attributes and functions related to the classified universal device controller through a preset standard language to form a standardized description file of the universal device controller;
and S3, when a certain universal device controller to be standardized is connected with the cloud server, configuring a new description file through the standardized description file according to the attribute and the function of the universal device controller to be standardized.
In step S1, the generic device controllers do not have the same attributes and functions for the different generic device controllers. The universal device controller to be standardized refers to the fact that interfaces of some universal device controllers need to be subjected to unified standardized description, so that the cloud server can distinguish types and functions of the universal device controllers by the same set of control method, networking and controlling of some universal devices are achieved, and human-computer interfaces, controller functions and parameter configuration are customized according to requirements. The above-mentioned attributes related to the generic device controller refer to a product identifier and basic information of the generic device controller, wherein the product identifier includes: product type, manufacturer, place of production, product ID, communication interface type and number etc. basic information includes: total length of file, check code of file, etc. The functions related to the general device controller refer to working parameters (such as voltage, current, temperature, pressure, time and the like) of the general device controller, control instructions (such as turning on or off a specific work item), joint control parameters (working parameters when working together with other devices), condition early warning, workflow and the like. The classification refers to extracting the attributes and functions of the universal device controller to be standardized to obtain all the attributes and functions related to the description to be standardized. When the universal device controller to be standardized has a newly added universal device controller, only the fact that whether the attribute and the function of the universal device controller belong to all the attributes and functions related to the description to be standardized is needed to be determined, if the attribute and the function belong to all the attributes and functions related to the description to be standardized, the newly added universal device controller can be directly subjected to standardized description, and if the attribute and the function do not belong to all the universal device controllers to be standardized, all the universal device controllers to be standardized including the newly added universal device controller are required to be reclassified; therefore, the standardization of the present application is relative and has extensibility.
In step S2, the above-mentioned digitization refers to converting the information contained in the attributes and functions related to the generic device controller into measurable numbers with unique correspondence, and then building a digitization model with these numbers to convert them into a series of binary codes. The file formed by the series of binary codes is a standardized description file.
In step S3, the attributes and functions of a generic device controller to be standardized generally only relate to a portion of all the attributes and functions in the standardized description file, and thus, the new description file is extracted from the standardized description file for the attributes and functions of the generic device controller concerned, and the attributes and functions of the generic device controller not concerned are only in the standardized description file and are empty in the new description file for the generic device controller.
In view of the self-description method of the general device controller, the present application also proposes a second embodiment, wherein the attributes of the general device controller include, but are not limited to:
product type, manufacturer, production place, product ID, communication interface type and number.
In view of the above self-description method of the generic device controller, the present application further provides a third embodiment, where the step of digitizing the classified attributes and functions related to the generic device controller by using a preset standard language to form a standardized description file of the generic device controller specifically includes:
defining a binary file according to the classified attributes and functions related to the universal device controller;
dividing the binary file into a pointing part and a parameter part, wherein the pointing part describes names and corresponding offsets of attributes and functions according to numerical value meanings, and points to different positions of the parameter part through the offsets, and the parameter part expresses specific attributes or specific function operations according to preset data types and specific numerical values of the preset data types.
In this embodiment, the attributes and functions related to the generic device controller are represented by binary values, that is, a specific attribute is uniquely corresponding to a binary value of a specific data type, and according to requirements, the data types adopted by the same attribute or function may be the same or different, but different attributes or functions have different specific data fields and different binary values, so that the unique correspondence relationship can be achieved. The binary file is divided into a pointing part and a parameter part, wherein the pointing part describes two pieces of information, one is the name of the attribute or the function, and the other is the specific position of the attribute or the function of the specific name in the parameter part. For example, two binary bit groups in which the pointing part is continuous at a certain position respectively describe the specific offset of the origin and the origin parameter; specifically, for example, binary number 00000001 describes the origin, 00110101 describes the specific offset of the origin parameter, and then the specific value of the offset corresponding to 00110101 is 00000010, and the value 00000010 represents the Shenzhen. The production place of the device can be known as Shenzhen from the new description file. For another example, the pointing part describes the function "power on/off" by binary number 00000100 at a certain position, and specifies a specific offset, where a specific value of the corresponding offset is 1 to indicate power on, and 0 to indicate power off. And the on-off control of the equipment can be realized by changing the parameters.
In view of the self-description method of the universal device controller, the present application further provides a fourth embodiment, where the step of configuring a new description file by using the standardized description file according to the attribute and the function of a to-be-standardized universal device controller when the to-be-standardized universal device controller is connected to the cloud server specifically includes:
identifying and reading the original description file of the universal equipment controller to obtain the attribute and the function of the universal equipment controller;
and extracting the numerical description related to the attribute and the function of the universal device controller from the standardized description file, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller.
In this embodiment, the universal device controller to be standardized may be directly identified according to the target address of the information frame, and then the original description file is read, so that the cloud-side controller may quickly obtain the attribute and the function of the universal device controller to be standardized, obtain the related attribute and function, and the threshold of the function (for example, the pressure threshold is 0-1.6MPa), extract the numerical description related to the attribute and the function of the universal device controller to be standardized from the standardized description file, convert the obtained threshold into the specific numerical value of the standardized description, generate the new description file of the universal device controller to be standardized, and then configure the new description file to the universal device controller to be standardized, thereby completing the self-description of the universal device controller to be standardized.
In view of the above self-description method of the generic device controller, the present application further proposes a fifth embodiment, wherein the step of generating a new description file of the generic device controller and configuring the new description file into the generic device controller includes:
generating an operable virtual controller interface through a cloud visual programming technology, wherein the interface is a human-computer interface customized according to requirements and comprises optional controller functions;
and receiving an instruction of the attribute and the function related parameter configured by the user, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller through the cloud server.
In this embodiment, since the attribute, the function, and the related parameters of the generic device controller to be standardized may not be read from the original description file of the generic device controller, for example, when a reading error occurs or the original description file cannot be recognized, the cloud server cannot know the related information. Under the condition, a manual control platform is arranged on the equipment site and connected with the cloud, an operable virtual controller interface is generated on the platform, the controller interface can directly configure new description files according to the attributes, functions and related parameters of the universal equipment controller to be standardized by a user through selecting and configuring the attributes and functions covered by all standardized description files, and then the new description files are downloaded to the universal equipment controller to be standardized, so that the self description of the universal equipment controller to be standardized is completed.
Referring to fig. 2, a sixth embodiment of the present invention further provides a self-description apparatus of a generic device controller, where the apparatus is based on a cloud server, and the apparatus includes:
the classification module 1 is used for acquiring and classifying the attributes and functions of all universal device controllers to be standardized to acquire the attributes and functions related to the classified universal device controllers;
the numeralization module 2 is used for numeralizing the attributes and functions related to the classified universal device controller through a preset standard language to form a standardized description file of the universal device controller;
and the configuration module 3 is used for configuring a new description file through the standardized description file according to the attribute and the function of a certain universal device controller to be standardized when the universal device controller to be standardized is connected with the cloud server.
In the classification module 1, different generic device controllers do not have the same attributes and functions as the generic device controllers. The universal device controller to be standardized refers to the fact that interfaces of some universal device controllers need to be subjected to unified standardized description, so that the cloud server can distinguish types and functions of the universal device controllers by the same set of control method, networking and controlling of some universal devices are achieved, and human-computer interfaces, controller functions and parameter configuration are customized according to requirements. The above-mentioned attributes related to the generic device controller refer to a product identifier and basic information of the generic device controller, wherein the product identifier includes: product type, manufacturer, place of production, product ID, communication interface type and number etc. basic information includes: total length of file, check code of file, etc. The functions related to the general device controller refer to working parameters (such as voltage, current, temperature, pressure, time and the like) of the general device controller, control instructions (such as turning on or off a specific work item), joint control parameters (working parameters when working together with other devices), condition early warning, workflow and the like. The classification refers to extracting the attributes and functions of the universal device controller to be standardized to obtain all the attributes and functions related to the description to be standardized. When the universal device controller to be standardized has a newly added universal device controller, only the fact that whether the attribute and the function of the universal device controller belong to all the attributes and functions related to the description to be standardized is needed to be determined, if the attribute and the function belong to all the attributes and functions related to the description to be standardized, the newly added universal device controller can be directly subjected to standardized description, and if the attribute and the function do not belong to all the universal device controllers to be standardized, all the universal device controllers to be standardized including the newly added universal device controller are required to be reclassified; therefore, the standardization of the present application is relative and has extensibility.
In the digitizing module 2, the above digitizing means to convert the information contained in the related attributes and functions of the general device controller into measurable numbers with unique correspondence, and then to build a digitizing model with these numbers to convert them into a series of binary codes. The file formed by the series of binary codes is a standardized description file.
In the configuration module 3, the attributes and functions of a generic device controller to be standardized generally only relate to a part of all the attributes and functions in the standardized description file, and therefore, a new description file is extracted from the standardized description file for the concerned attributes and functions of the generic device controller, and the attributes and functions not related to the generic device controller are only in the standardized description file and are empty in the new description file for the generic device controller.
To the self-description apparatus of the general device controller, the present application further provides a seventh embodiment, where the digitizing module 2 specifically includes:
the defining unit is used for defining a binary file according to the classified attributes and functions related to the universal device controller;
the description unit is used for dividing the binary file into a pointing part and a parameter part, wherein the pointing part describes names of attributes and functions and corresponding offsets according to numerical value meanings, and points to different positions of the parameter part through the offsets, and the parameter part expresses specific attributes or specific function operations by preset data types and specific numerical values thereof.
In this embodiment, the attributes and functions related to the generic device controller are represented by binary values, that is, a specific attribute is uniquely corresponding to a binary value of a specific data type, and according to requirements, the data types adopted by the same attribute or function may be the same or different, but different attributes or functions have different specific data fields and different binary values, so that the unique correspondence relationship can be achieved. The binary file is divided into a pointing part and a parameter part, wherein the pointing part describes two pieces of information, one is the name of the attribute or the function, and the other is the specific position of the attribute or the function of the specific name in the parameter part. For example, two binary bit groups in which the pointing part is continuous at a certain position respectively describe the specific offset of the origin and the origin parameter; specifically, for example, binary number 00000001 describes the origin, 00110101 describes the specific offset of the origin parameter, and then the specific value of the offset corresponding to 00110101 is 00000010, and the value 00000010 represents the Shenzhen. The production place of the device can be known as Shenzhen from the new description file. For another example, the pointing part describes the function "power on/off" by binary number 00000100 at a certain position, and specifies a specific offset, where a specific value of the corresponding offset is 1 to indicate power on, and 0 to indicate power off. And the on-off control of the equipment can be realized by changing the parameters.
To the self-description apparatus of the general device controller, the present application further provides an eighth embodiment, where the configuration module 3 specifically includes:
the identification unit is used for identifying and reading the original description file of the universal device controller to obtain the attribute and the function of the universal device controller;
and the configuration unit is used for extracting the numerical description related to the attribute and the function of the universal device controller from the standardized description file, generating a new description file of the universal device controller and configuring the new description file into the universal device controller.
In this embodiment, the universal device controller to be standardized may be directly identified according to the target address of the information frame, and then the original description file is read, so that the cloud-side controller may quickly obtain the attribute and the function of the universal device controller to be standardized, obtain the related attribute and function, and the threshold of the function (for example, the pressure threshold is 0-1.6MPa), extract the numerical description related to the attribute and the function of the universal device controller to be standardized from the standardized description file, convert the obtained threshold into the specific numerical value of the standardized description, generate the new description file of the universal device controller to be standardized, and then configure the new description file to the universal device controller to be standardized, thereby completing the self-description of the universal device controller to be standardized.
The present application also proposes a ninth embodiment, in terms of the self-describing apparatus of the above-mentioned general device controller, wherein the configuration unit is further configured to:
generating an operable virtual controller interface through a cloud visual programming technology, wherein the interface is a human-computer interface customized according to requirements and comprises optional controller functions;
and receiving an instruction of the attribute and the function related parameter configured by the user, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller through the cloud server.
In this embodiment, since the attribute, the function, and the related parameters of the generic device controller to be standardized may not be read from the original description file of the generic device controller, for example, when a reading error occurs or the original description file cannot be recognized, the cloud server cannot know the related information. Under the condition, a manual control platform is arranged on the equipment site and connected with the cloud, an operable virtual controller interface is generated on the platform, the controller interface can directly configure new description files according to the attributes, functions and related parameters of the universal equipment controller to be standardized by a user through selecting and configuring the attributes and functions covered by all standardized description files, and then the new description files are downloaded to the universal equipment controller to be standardized, so that the self description of the universal equipment controller to be standardized is completed.
A tenth embodiment of the present application further provides, for the self-description method and apparatus of the general-purpose device controller, a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the self-description method of the general-purpose device controller described in any one of the above methods.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention without limiting its scope. This invention may be embodied in many different forms and, on the contrary, these embodiments are provided so that this disclosure will be thorough and complete. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and modifications can be made, and equivalents may be substituted for elements thereof. All equivalent structures made by using the contents of the specification and the attached drawings of the invention can be directly or indirectly applied to other related technical fields, and are also within the protection scope of the patent of the invention.

Claims (10)

1. A self-description method of a universal device controller is characterized in that the method is based on a cloud server and comprises the following steps:
acquiring attributes and functions of all universal device controllers to be standardized, classifying the attributes and functions, and acquiring the attributes and functions related to the classified universal device controllers;
quantifying the attributes and functions related to the classified universal device controller through a preset standard language to form a standardized description file of the universal device controller;
and when a certain universal device controller to be standardized is connected with the cloud server, configuring a new description file through the standardized description file according to the attribute and the function of the universal device controller to be standardized.
2. The self-description method of a generic device controller as claimed in claim 1, wherein the generic device controller attributes include, but are not limited to:
product type, manufacturer, production place, product ID, communication interface type and number.
3. The self-description method of a generic device controller according to claim 1, wherein the step of digitizing the classified attributes and functions of the generic device controller by a predetermined standard language to form a standardized description file of the generic device controller specifically comprises:
defining a binary file according to the classified attributes and functions related to the universal device controller;
dividing the binary file into a pointing part and a parameter part, wherein the pointing part describes names and corresponding offsets of attributes and functions according to numerical value meanings, and points to different positions of the parameter part through the offsets, and the parameter part expresses specific attributes or specific function operations according to preset data types and specific numerical values of the preset data types.
4. The self-description method of the generic device controller according to claim 3, wherein the step of configuring the new description file by using the standardized description file according to the attribute and function of a generic device controller to be standardized when the generic device controller to be standardized is connected to the cloud server specifically comprises:
identifying and reading the original description file of the universal equipment controller to obtain the attribute and the function of the universal equipment controller;
and extracting the numerical description related to the attribute and the function of the universal device controller from the standardized description file, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller.
5. The self-description method of a generic device controller as defined in claim 4, wherein the step of generating a new description file for the generic device controller and configuring it into the generic device controller comprises:
generating an operable virtual controller interface through a cloud visual programming technology, wherein the interface is a human-computer interface customized according to requirements and comprises optional controller functions;
and receiving an instruction of the attribute and the function related parameter configured by the user, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller through the cloud server.
6. A self-describing apparatus of a universal device controller, the apparatus being based on a cloud server, comprising:
the classification module is used for acquiring and classifying the attributes and functions of all universal device controllers to be standardized to acquire the attributes and functions related to the classified universal device controllers;
the numeralization module is used for numeralizing the attributes and functions related to the classified universal device controller through a preset standard language to form a standardized description file of the universal device controller;
and the configuration module is used for configuring a new description file through the standardized description file according to the attribute and the function of a certain universal device controller to be standardized when the universal device controller to be standardized is connected with the cloud server.
7. The self-description apparatus of a generic device controller according to claim 6, wherein the digitizing module specifically comprises:
the defining unit is used for defining a binary file according to the classified attributes and functions related to the universal device controller;
the description unit is used for dividing the binary file into a pointing part and a parameter part, wherein the pointing part describes names of attributes and functions and corresponding offsets according to numerical value meanings, and points to different positions of the parameter part through the offsets, and the parameter part expresses specific attributes or specific function operations by preset data types and specific numerical values thereof.
8. The self-description apparatus of a generic device controller according to claim 7, wherein the configuration module specifically comprises:
the identification unit is used for identifying and reading the original description file of the universal device controller to obtain the attribute and the function of the universal device controller;
and the configuration unit is used for extracting the numerical description related to the attribute and the function of the universal device controller from the standardized description file, generating a new description file of the universal device controller and configuring the new description file into the universal device controller.
9. The self-describing apparatus of a generic device controller of claim 8, wherein the configuration unit is further configured to:
generating an operable virtual controller interface through a cloud visual programming technology, wherein the interface is a human-computer interface customized according to requirements and comprises optional controller functions;
and receiving an instruction of the attribute and the function related parameter configured by the user, generating a new description file of the universal device controller, and configuring the new description file into the universal device controller through the cloud server.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the self-describing method of a generic device controller according to any one of claims 1 to 5.
CN202011248203.4A 2020-11-10 2020-11-10 Self-description method and device of universal device controller and storage medium Pending CN112462645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011248203.4A CN112462645A (en) 2020-11-10 2020-11-10 Self-description method and device of universal device controller and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011248203.4A CN112462645A (en) 2020-11-10 2020-11-10 Self-description method and device of universal device controller and storage medium

Publications (1)

Publication Number Publication Date
CN112462645A true CN112462645A (en) 2021-03-09

Family

ID=74824917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011248203.4A Pending CN112462645A (en) 2020-11-10 2020-11-10 Self-description method and device of universal device controller and storage medium

Country Status (1)

Country Link
CN (1) CN112462645A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060106775A1 (en) * 2004-11-18 2006-05-18 Microsoft Corporation Multilevel device capabilities hierarchy
CN101441470A (en) * 2008-12-26 2009-05-27 美的集团有限公司 Method for realizing equipment mutual control through equipment self description
CN101571845A (en) * 2008-04-29 2009-11-04 浙江省电力试验研究院 Self-description realization method of IEC61850 standard
CN101739594A (en) * 2009-12-28 2010-06-16 中国人民解放军总后勤部军事交通运输研究所 Sensor virtual spreadsheet-based self-descriptive sensing tag system
CN105138609A (en) * 2015-08-04 2015-12-09 广东瑞德智能科技股份有限公司 XML language based household appliance description method
CN105223823A (en) * 2015-09-24 2016-01-06 广东瑞德智能科技股份有限公司 A kind of simple home appliance describing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060106775A1 (en) * 2004-11-18 2006-05-18 Microsoft Corporation Multilevel device capabilities hierarchy
CN101571845A (en) * 2008-04-29 2009-11-04 浙江省电力试验研究院 Self-description realization method of IEC61850 standard
CN101441470A (en) * 2008-12-26 2009-05-27 美的集团有限公司 Method for realizing equipment mutual control through equipment self description
CN101739594A (en) * 2009-12-28 2010-06-16 中国人民解放军总后勤部军事交通运输研究所 Sensor virtual spreadsheet-based self-descriptive sensing tag system
CN105138609A (en) * 2015-08-04 2015-12-09 广东瑞德智能科技股份有限公司 XML language based household appliance description method
CN105223823A (en) * 2015-09-24 2016-01-06 广东瑞德智能科技股份有限公司 A kind of simple home appliance describing method

Similar Documents

Publication Publication Date Title
CN106254437B (en) Internet of Things communication means
CN102902664B (en) Artificial intelligence natural language operation system on a kind of intelligent terminal
CN107679276B (en) Generation method and device of power system tide wiring diagram and electronic equipment
CN109889592B (en) Intelligent manufacturing method and device based on edge calculation
CN113901162B (en) Unmanned aerial vehicle environment monitoring method and system based on city management and cloud platform
CN104881016A (en) Intelligent household device control method and intelligent household controller
CN103019233B (en) Method for detecting whether race condition exists in PLC (programmable logic controller) ladder diagram program or not
CN110995639A (en) Data transmission method
CN110784538A (en) Household appliance configuration file generation method and device, household appliance and storage medium
CN110867956A (en) Topology automatic identification system and method based on intelligent platform area
CN115794067A (en) Industrial software generation method and device, electronic equipment and readable storage medium
CN109660627A (en) A kind of integrated management control platform of internet of things equipment
CN111459037A (en) Intelligent household system control method and device, electronic equipment and readable storage medium
CN110399612A (en) The semantic conversion method and middleware of marginal layer in industry internet
CN112462645A (en) Self-description method and device of universal device controller and storage medium
CN114598602B (en) Data acquisition method, device, computer equipment and computer readable storage medium
CN112001483A (en) Method and device for pruning neural network model
CN115857910A (en) Programming method, device, server and medium of edge computing collector
CN112818012A (en) Equipment data matching method, device, equipment and storage medium
CN111026045B (en) Work management and control method and system
CN114637582A (en) Method and system for processing calculation task
CN112764637B (en) Intelligent agriculture Internet of things equipment description file generation method
TWI658712B (en) Gateway and method of determining machines to be networked at gateway
CN114268650A (en) Configuration method and system for establishing communication connection
CN113139012A (en) Method for processing data by ETL tool engine based on JSON and ETL data processing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210309