CN111970230B - Industrial field protocol automatic analysis method and system based on cloud identification - Google Patents

Industrial field protocol automatic analysis method and system based on cloud identification Download PDF

Info

Publication number
CN111970230B
CN111970230B CN202010590217.8A CN202010590217A CN111970230B CN 111970230 B CN111970230 B CN 111970230B CN 202010590217 A CN202010590217 A CN 202010590217A CN 111970230 B CN111970230 B CN 111970230B
Authority
CN
China
Prior art keywords
protocol
analysis
target
component
protocol analysis
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.)
Active
Application number
CN202010590217.8A
Other languages
Chinese (zh)
Other versions
CN111970230A (en
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.)
Gechuang Dongzhi Shenzhen Technology Co ltd
Original Assignee
Gechuang Dongzhi Shenzhen Technology 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 Gechuang Dongzhi Shenzhen Technology Co ltd filed Critical Gechuang Dongzhi Shenzhen Technology Co ltd
Priority to CN202010590217.8A priority Critical patent/CN111970230B/en
Publication of CN111970230A publication Critical patent/CN111970230A/en
Application granted granted Critical
Publication of CN111970230B publication Critical patent/CN111970230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to a method and a system for automatically analyzing an industrial field protocol based on cloud identification. The method comprises the following steps: the industrial gateway receives a protocol analysis request sent by an industrial field; sending a component request message to a preset industrial field protocol configuration platform according to the protocol analysis request; receiving a target protocol analysis component returned by the industrial field protocol configuration platform based on the component request message; and analyzing the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway based on the target protocol analysis component to obtain corresponding equipment operation parameters. By the technical scheme of the invention, the industrial gateway can realize protocol analysis on the basis of not individually analyzing and deploying the industrial gateway and not loading a large number of protocol analysis components in advance for the industrial gateway, and the analysis efficiency of the industrial gateway on the protocol and the data corresponding to the protocol can be improved.

Description

Industrial field protocol automatic analysis method and system based on cloud identification
Technical Field
The invention relates to the technical field of gateways, in particular to a method and a system for automatically analyzing an industrial field protocol based on cloud identification.
Background
Currently, with the rapid development of industrial internet, manufacturers expect more and more automation processes to be implemented in the system scope, and therefore, the requirements of the IT system for open data access and the real-time requirements of the industrial control system must be considered. Industrial ethernet systems require high certainty and reliability. In many plant automation applications, ethernet has replaced the traditional serial "fieldbus" connection due to its higher bandwidth and ability to link to enterprise networks, but industrial networks have their unique requirements, such as reliable data transfer and time synchronization of data, which require different network protocols to be adopted for different applications, presenting challenges in how multi-protocol transfers resolve.
The industrial gateway device serves as a bridge between an industrial field environment and an IT system, and bears the task of analyzing an industrial field complex protocol, and in the face of a complex and changeable industrial field private protocol, the industrial gateway needs a set of flexible mechanism to effectively complete the protocol analysis function, and the existing protocol analysis mode either needs to individually analyze and deploy the industrial gateway device or wastes more industrial gateway hardware resources, so that the analysis efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method and a system for automatically analyzing an industrial field protocol based on cloud identification. The technical scheme is as follows:
according to a first aspect of the embodiments of the present invention, there is provided a method for automatically parsing an industrial field protocol based on cloud identification, including:
the method comprises the steps that an industrial gateway receives a protocol analysis request sent by an industrial field;
sending a component request message to a preset industrial field protocol configuration platform according to the protocol analysis request;
receiving a target protocol analysis component returned by the industrial field protocol configuration platform based on the component request message;
and analyzing the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway based on the target protocol analysis component to obtain corresponding equipment operation parameters.
In one embodiment, after the industrial field protocol configuration platform receives the protocol parsing request, the method further includes:
judging whether a protocol message field can be identified from the protocol analysis request;
when the protocol message field can be identified, identifying a protocol type corresponding to the protocol analysis request according to the protocol message field;
and sending the identified corresponding protocol to the industrial gateway.
In one embodiment, the industrial field protocol configuration platform is further configured to:
when the protocol message field cannot be identified from the protocol analysis request, generating a protocol type prompt notice;
sending the protocol type prompt notification to a target terminal to request a user of the target terminal to identify the protocol type corresponding to the data to be analyzed;
and after receiving a protocol type identification result sent by the target terminal, sending the protocol type identification result to the industrial gateway.
In one embodiment, the analyzing, by the target protocol analysis component, the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway to obtain corresponding device operation parameters includes:
calling a function analysis interface of the target protocol analysis component;
and analyzing the data to be analyzed through the function analysis interface to obtain the equipment operation parameters.
In one embodiment, the industrial field protocol configuration platform calls a pre-stored protocol analysis component library after receiving the protocol analysis request;
determining the protocol types which can be analyzed by each target protocol analysis component in the protocol analysis component library;
judging whether the data to be analyzed is matched with the protocol type;
when the data to be analyzed is matched with the protocol type, determining a target protocol analysis component required for analyzing the data to be analyzed;
and returning the target protocol analysis component to the industrial gateway through an IP network.
In one embodiment, the method further comprises:
sending the equipment operation parameters and the data to be analyzed to an assembly management and control platform so as to analyze the analysis performance indexes of the equipment operation parameters through the assembly management and control platform, wherein the analysis performance indexes comprise at least one of the following items: the analysis accuracy, the analysis delay and the analysis duration are controlled;
judging the superiority and inferiority of the target protocol analysis component according to the analysis performance index;
determining whether performance optimization needs to be carried out on the target protocol analysis component or not according to the advantages and disadvantages of the target protocol analysis component;
and when the performance of the target protocol analysis assembly needs to be optimized, the target protocol analysis assembly is sent to the assembly management and control platform for upgrading.
In one embodiment, the determining the superiority or inferiority of the target protocol parsing component includes:
a1, calculating a judgment value of the target protocol analysis component according to the following formula;
Figure BDA0002555182370000031
wherein λ is the judgment value of the target protocol analysis component, y i Value, x, of the ith determining factor of the target protocol parsing component i An optimal value of the i-th judgment factor, h, of the target protocol parsing component it The importance evaluation value of the ith judgment factor of the target protocol analysis component is evaluated by a tth professional, n is the number of the judgment factors of the target protocol analysis component, and the judgment factors at least comprise the analysis accuracy, the analysis delay and the analysis duration;
a2, determining the advantages and disadvantages of the target protocol analysis component according to the evaluation value;
Figure BDA0002555182370000041
/>
and lambda is the result of judging the superiority and inferiority of the target protocol analysis component.
According to a second aspect of the embodiments of the present invention, there is provided a system for automatically parsing an industrial field protocol based on cloud identification, the system including an industrial gateway and an industrial field protocol configuration platform, wherein the industrial gateway includes:
the receiving module is used for receiving a protocol analysis request sent by an industrial field;
the request sending module is used for sending a component request message to a preset industrial field protocol configuration platform according to the protocol analysis request;
the protocol analysis component receiving module is used for receiving a target protocol analysis component returned by the industrial field protocol configuration platform based on the component request message;
and the protocol analysis component execution module is used for analyzing the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway based on the target protocol analysis component to obtain corresponding equipment operation parameters.
In one embodiment, the industrial field protocol configuration platform comprises:
the judging module is used for judging whether a protocol message field can be identified from the protocol analysis request or not after the protocol analysis request is received;
the identification module is used for identifying the protocol type corresponding to the protocol analysis request according to the protocol message field when the protocol message field can be identified;
and the sending module is used for sending the identified corresponding protocol to the industrial gateway.
In one embodiment, the industrial field protocol configuration platform is further to:
when the protocol message field cannot be identified from the protocol analysis request, generating a protocol type prompt notice;
sending the protocol type prompt notification to a target terminal to request a user of the target terminal to identify the protocol type corresponding to the data to be analyzed;
and after receiving a protocol type identification result sent by the target terminal, sending the protocol type identification result to the industrial gateway.
In one embodiment, the protocol parsing component execution module comprises:
the calling submodule is used for calling a function analysis interface of the target protocol analysis component;
and the analysis submodule is used for analyzing the data to be analyzed through the function analysis interface so as to obtain the equipment operation parameters.
In one embodiment, the industrial field protocol configuration platform is further configured to:
after receiving the protocol analysis request, calling a pre-stored protocol analysis component library;
determining the protocol type which can be analyzed by each target protocol analysis component in the protocol analysis component library;
judging whether the data to be analyzed is matched with the protocol type;
when the data to be analyzed is matched with the protocol type, determining a target protocol analysis component required for analyzing the data to be analyzed;
and returning the target protocol analysis component to the industrial gateway through an IP network.
In one embodiment, the system is further configured to:
sending the equipment operation parameters and the data to be analyzed to an assembly management and control platform so as to analyze the analysis performance indexes of the equipment operation parameters through the assembly management and control platform, wherein the analysis performance indexes comprise at least one of the following items: the analysis accuracy, the analysis delay and the analysis duration are controlled;
judging the superiority and inferiority of the target protocol analysis component according to the analysis performance index;
determining whether performance optimization needs to be carried out on the target protocol analysis component or not according to the advantages and disadvantages of the target protocol analysis component;
and when the performance of the target protocol analysis assembly needs to be optimized, the target protocol analysis assembly is sent to the assembly management and control platform for upgrading.
In one embodiment, the system is further configured to:
a1, calculating a judgment value of the target protocol analysis component according to the following formula;
Figure BDA0002555182370000061
wherein λ is a judgment value of the target protocol analysis component, y i Value, x, of the ith determining factor of the target protocol parsing component i An optimal value of the i-th judgment factor, h, of the target protocol parsing component it The importance evaluation value of the ith judgment factor of the target protocol analysis component is evaluated by a tth professional, n is the number of the judgment factors of the target protocol analysis component, and the judgment factors at least comprise the analysis accuracy, the analysis delay and the analysis duration;
a2, determining the advantages and disadvantages of the target protocol analysis component according to the evaluation value;
Figure BDA0002555182370000062
wherein λ is a result of determining the superiority and inferiority of the target protocol analysis component.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
after a protocol analysis request is received, a component request message is sent to a preset industrial field protocol configuration platform, a protocol analysis component capable of analyzing data received by an industrial gateway can be obtained based on the industrial field protocol configuration platform, and then the data to be analyzed corresponding to the protocol analysis request is automatically analyzed according to the analysis component, so that corresponding equipment operation parameters are obtained.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a method for cloud-based industrial field protocol auto-resolution according to an exemplary embodiment.
FIG. 2 is a block diagram illustrating an industrial field protocol configuration platform in accordance with an example embodiment.
FIG. 3 is a block diagram illustrating an industrial gateway in accordance with an example embodiment.
Fig. 4 is a flowchart illustrating another method for cloud-based industrial field protocol auto-resolution according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of systems and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In order to solve the above technical problem, an embodiment of the present invention provides a method for automatically analyzing an industrial field protocol based on cloud identification, as shown in fig. 1, the method includes steps S101 to S104:
in step S101, the industrial gateway receives a protocol analysis request sent by the industrial field;
in step S102, according to the protocol analysis request, sending a component request message to a preset industrial field protocol configuration platform;
in step S103, receiving a target protocol analysis component returned by the industrial field protocol configuration platform based on the component request message;
in step S104, the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway is analyzed based on the target protocol analysis component, so as to obtain corresponding device operation parameters. The data to be analyzed is data sent by the industrial field device connected with the industrial gateway, and the data to be analyzed can be contained in the protocol analysis request or can not be sent in the protocol analysis request at this time, but is sent to the industrial gateway independently.
After receiving a protocol analysis request, sending a component request message to a preset industrial field protocol configuration platform, acquiring a protocol analysis component capable of analyzing data received by an industrial gateway based on the industrial field protocol configuration platform, and then automatically analyzing the data to be analyzed corresponding to the protocol analysis request according to the analysis component, so as to obtain corresponding equipment operation parameters.
In one embodiment, after the industrial field protocol configuration platform receives the protocol parsing request, the method further includes:
judging whether a protocol message field can be identified from the protocol analysis request;
when the protocol message field can be identified, identifying the protocol type corresponding to the protocol analysis request according to the protocol message field;
and sending the identified corresponding protocol to the industrial gateway.
After receiving the protocol analysis request, the industrial field protocol configuration platform can judge whether the protocol message field can be identified from the protocol analysis request, if so, the protocol message field corresponds to different protocol message fields, therefore, if the protocol message field is identified, the protocol type is automatically identified based on the protocol message field, and then the protocol type is sent to the industrial gateway.
In one embodiment, the industrial field protocol configuration platform is further configured to:
when the protocol message field cannot be identified from the protocol analysis request, generating a protocol type prompt notice;
sending the protocol type prompt notification to a target terminal to request a user of the target terminal to identify the protocol type corresponding to the data to be analyzed;
and after receiving a protocol type identification result sent by the target terminal, sending the protocol type identification result to the industrial gateway.
When the protocol message field is not identified by the industrial field protocol configuration platform, a protocol type prompt notice can be generated, then the protocol type prompt notice is sent to the target terminal to request a user of the target terminal to identify the protocol type corresponding to the data to be analyzed, namely, the user is requested to assist in identifying the protocol type, then after a protocol type identification result sent by the target terminal is received, the protocol type identification result is sent to the industrial field protocol configuration platform by the industrial gateway, so that the industrial gateway can request the protocol analysis component corresponding to the protocol type from the platform by using the protocol type identification result, and the industrial gateway can automatically analyze the protocol and the data corresponding to the protocol on the basis of saving hardware cost without loading a large number of protocol analysis components in advance.
In one embodiment, the analyzing, by the target protocol analysis component, the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway to obtain corresponding device operation parameters includes:
calling a function analysis interface of the target protocol analysis component;
and analyzing the data to be analyzed through the function analysis interface to obtain the equipment operation parameters.
The function analysis interface of the target protocol analysis component is called, so that the industrial gateway can automatically analyze data to be analyzed to analyze the equipment operation parameters, and the equipment operation parameters can be sent to the IT system after the analysis, so that the industrial gateway can analyze the protocol data without individually analyzing and deploying the industrial gateway and wasting a large amount of industrial gateway hardware resources, and the protocol analysis efficiency is improved.
In one embodiment, the industrial field protocol configuration platform calls a pre-stored protocol analysis component library after receiving the protocol analysis request;
determining the protocol types which can be analyzed by each target protocol analysis component in the protocol analysis component library;
judging whether the data to be analyzed is matched with the protocol type;
when the data to be analyzed is matched with the protocol type, determining a target protocol analysis component required for analyzing the data to be analyzed;
and returning the target protocol analysis component to the industrial gateway through an IP network.
After receiving a protocol analysis request, the industrial field protocol configuration platform calls a pre-stored protocol analysis component library so as to determine the protocol type which can be analyzed by each target protocol analysis component, then judges whether the data to be analyzed is matched with the protocol type, if so, judges whether the data to be analyzed is matched according to the protocol message field in the data to be analyzed, and if so, can determine the target protocol analysis component required by analyzing the data to be analyzed so as to provide the required target protocol analysis component for the industrial gateway in time.
In one embodiment, the method further comprises:
sending the equipment operation parameters and the data to be analyzed to an assembly management and control platform so as to analyze the analysis performance indexes of the equipment operation parameters through the assembly management and control platform, wherein the analysis performance indexes comprise at least one of the following items: the analysis accuracy, the analysis delay and the analysis duration;
judging the superiority and inferiority of the target protocol analysis component according to the analysis performance index;
determining whether performance optimization needs to be carried out on the target protocol analysis component or not according to the advantages and disadvantages of the target protocol analysis component;
and when the performance of the target protocol analysis assembly needs to be optimized, the target protocol analysis assembly is sent to the assembly management and control platform for upgrading.
The analysis performance index of the equipment operation parameter can be analyzed by sending the equipment operation parameter and the data to be analyzed to the component management and control platform, and then the advantages and the disadvantages of the target protocol analysis component are judged according to the analysis performance index, namely the analysis performance index is high, the target protocol analysis component is better, otherwise, the target protocol analysis component is worse, therefore, when the target protocol analysis component needs to be optimized in performance according to the advantages and the disadvantages of the target protocol analysis component, the target protocol analysis component can be sent to the component management and control platform for optimized upgrading, the protocol analysis component can be timely optimized and upgraded, the analysis performance is guaranteed to be kept in a higher state all the time, and the analysis performance of the industrial gateway is favorably improved.
In one embodiment, the determining the superiority or inferiority of the target protocol parsing component includes:
a1, calculating a judgment value of the target protocol analysis component according to the following formula;
Figure BDA0002555182370000111
wherein λ is a judgment value of the target protocol analysis component, y i Value, x, of the i-th determining factor of the target protocol parsing component i Is the optimal value, h, of the ith judgment factor of the target protocol parsing component it The importance evaluation value of the ith judgment factor of the target protocol analysis component for the tth professional is given, and n is the judgment factor number of the target protocol analysis componentThe judgment factors at least comprise an analysis accuracy, an analysis delay and an analysis duration;
a2, determining the advantages and disadvantages of the target protocol analysis component according to the evaluation value;
Figure BDA0002555182370000112
wherein λ is a result of determining the superiority and inferiority of the target protocol analysis component.
Because the influence degree of each judgment factor of the target protocol analysis component on the result is quantized and very clear and definite, and the evaluation result is that the superiority and inferiority are fuzzy concepts, the superiority and inferiority judgment result of the target protocol analysis component can be directly and intuitively obtained through conversion, and the weight of each factor of the target protocol analysis component is obtained according to the investigation of professionals in the judgment process, the superiority and inferiority calculation result is more convincing and more accurate.
Finally, it is clear that: the above embodiments can be freely combined by those skilled in the art according to actual needs.
The technical solution of the present invention will be further described in detail with reference to other embodiments:
according to the invention, the balance of industrial gateway resources and efficiency is realized by dynamically loading the protocol analysis module from the industrial field protocol configuration platform at the cloud.
(As to the dynamic load flow, detailed below, the dynamic load contents, which are not specified herein, for embedded SDK, which is generally a protocol, the JAVA developing device may be a Java jar package, or a Bundle component of OSGI, a container technology of the current comparison flow, or a container, etc., the components of these modules generally include a protocol parsing process flow)
The invention defines an industrial field protocol configuration platform, which is shown in fig. 2 and comprises the following four modules:
1) Protocol analysis request receiving module
And the system is responsible for receiving a protocol analysis request from the industrial gateway, wherein the request is attached with protocol message field information of an industrial field protocol.
(different protocols have different specific field differences, and are larger, some protocols are binary, for example, an IP message of an Ethernet protocol interface has a 12-byte MAC address and a 0x800 field is arranged behind the MAC address to identify the IP message, because various protocols on an industrial field have more types, the IP message can be conveniently identified as long as the protocol message format is open, of course, the identification field of each protocol is also different, and the invention is not limited)
2) Protocol identification module
The system is responsible for identifying the protocol type according to the field information of the protocol message of the industrial field protocol, if the protocol characteristics are obvious, the protocol type can be automatically identified through a program, if the protocol characteristics cannot be automatically identified, a user is prompted to identify the protocol type through a manual mode, and finally the protocol type is manually input through a configuration page of the platform. Different protocols and different protocol characteristics are different, and generally disclosed protocols have own encapsulation formats, such as an IP message, namely a destination MAC (media access control), a source MAC (media access control) and then the IP message.
3) Protocol analysis component library
A collection of protocol resolution components for various industrial sites.
4) Protocol analysis component pushing module
And pushing the corresponding protocol analysis functional component to the industrial gateway through the IP network, and calling a functional interface provided by the component after the gateway loads the component.
The invention also defines an industrial gateway, which, as shown in fig. 3, comprises the following three modules:
1) Protocol analysis request sending module
The gateway is responsible for sending a protocol analysis component loading request to the configuration platform, and because the gateway is not responsible for identifying the protocol type, the corresponding protocol message field needs to be packaged into a request message and sent to the configuration platform, and the configuration platform completes the protocol identification process.
2) Protocol analysis component loading module
And receiving a protocol analysis component from the configuration platform and loading the protocol analysis component to an executable environment of the industrial gateway.
3) Protocol analysis component execution module
The interface of the protocol analysis component is called to complete the analysis work of the specific industrial field protocol and identify the equipment operation parameters. The function of analyzing the operation parameters of the equipment is to monitor the state of the equipment, and the equipment can be digitally modeled, which is also the basis of the frequently mentioned digital twins. The operation parameters include various information of the equipment, and the operation parameters of the equipment can be angles, coordinate positions and the like of the mechanical arm.
An example of the operation of the present invention is shown in FIG. 4 below:
the method comprises the following specific steps:
the industrial gateway accesses a new industrial device and receives an unrecognized protocol type.
The gateway sends the unrecognizable protocol message field to the configuration platform through an IP link, and the request platform analyzes the specific protocol type.
After receiving the request message, the configuration platform identifies the protocol type according to the field of the protocol message, if the protocol characteristic is obvious, the protocol type can be automatically identified through a program, if the protocol characteristic cannot be automatically identified, the configuration platform prompts a user to identify the protocol type through a manual mode, and finally, the protocol type is manually input through a configuration page of the platform. The protocol type is identified in this example as protocol a.
The configuration platform pushes the parsing component of protocol a to the industrial gateway over the IP link.
And after receiving the analysis component of the protocol A, the industrial gateway loads the analysis component into the operating environment of the industrial gateway and starts the analysis process of the protocol A.
In response to the method for automatically analyzing the industrial field protocol based on the cloud identification provided by the embodiment of the present invention, an embodiment of the present invention further provides a system for automatically analyzing the industrial field protocol based on the cloud identification, including an industrial gateway and an industrial field protocol configuration platform, where the industrial gateway includes:
the receiving module is used for receiving a protocol analysis request sent by an industrial field;
the request sending module is used for sending a component request message to a preset industrial field protocol configuration platform according to the protocol analysis request;
the protocol analysis component receiving module is used for receiving a target protocol analysis component returned by the industrial field protocol configuration platform based on the component request message;
and the protocol analysis component execution module is used for analyzing the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway based on the target protocol analysis component to obtain corresponding equipment operation parameters.
In one embodiment, the industrial field protocol configuration platform comprises:
the judging module is used for judging whether a protocol message field can be identified from the protocol analysis request or not after the protocol analysis request is received;
the identification module is used for identifying the protocol type corresponding to the protocol analysis request according to the protocol message field when the protocol message field can be identified;
and the sending module is used for sending the identified corresponding protocol to the industrial gateway.
In one embodiment, the industrial field protocol configuration platform is further configured to:
when the protocol message field cannot be identified from the protocol analysis request, generating a protocol type prompt notice;
sending the protocol type prompt notification to a target terminal to request a user of the target terminal to identify the protocol type corresponding to the data to be analyzed;
and after receiving a protocol type identification result sent by the target terminal, sending the protocol type identification result to the industrial gateway.
In one embodiment, the protocol parsing component execution module comprises:
the calling submodule is used for calling a function analysis interface of the target protocol analysis component;
and the analysis submodule is used for analyzing the data to be analyzed through the function analysis interface so as to obtain the equipment operation parameters.
In one embodiment, the industrial field protocol configuration platform is further to:
after receiving the protocol analysis request, calling a pre-stored protocol analysis component library;
determining the protocol types which can be analyzed by each target protocol analysis component in the protocol analysis component library;
judging whether the data to be analyzed is matched with the protocol type;
when the data to be analyzed is matched with the protocol type, determining a target protocol analysis component required for analyzing the data to be analyzed;
and returning the target protocol analysis component to the industrial gateway through an IP network.
In one embodiment, the system is further configured to:
sending the equipment operation parameters and the data to be analyzed to an assembly management and control platform so as to analyze the analysis performance indexes of the equipment operation parameters through the assembly management and control platform, wherein the analysis performance indexes comprise at least one of the following items: the analysis accuracy, the analysis delay and the analysis duration are controlled;
judging the superiority and inferiority of the target protocol analysis component according to the analysis performance index;
determining whether performance optimization needs to be carried out on the target protocol analysis component or not according to the advantages and disadvantages of the target protocol analysis component;
and when the performance of the target protocol analysis assembly needs to be optimized, the target protocol analysis assembly is sent to the assembly management and control platform for upgrading.
In one embodiment, the system is further configured to:
a1, calculating a judgment value of the target protocol analysis component according to the following formula;
Figure BDA0002555182370000151
wherein λ is a judgment value of the target protocol analysis component, y i Value, x, of the i-th determining factor of the target protocol parsing component i Is the optimal value, h, of the ith judgment factor of the target protocol parsing component it The importance evaluation value of the ith judgment factor of the target protocol analysis component is evaluated by a tth professional, n is the number of the judgment factors of the target protocol analysis component, and the judgment factors at least comprise the analysis accuracy, the analysis delay and the analysis duration;
a2, determining the advantages and disadvantages of the target protocol analysis component according to the evaluation value;
Figure BDA0002555182370000161
wherein λ is a result of determining the superiority and inferiority of the target protocol analysis component.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements 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 invention is limited only by the appended claims.

Claims (9)

1. A method for automatically analyzing an industrial field protocol based on cloud identification is characterized by comprising the following steps:
the method comprises the steps that an industrial gateway receives a protocol analysis request sent by an industrial field;
sending a component request message to a preset industrial field protocol configuration platform according to the protocol analysis request;
receiving a target protocol analysis component returned by the industrial field protocol configuration platform based on the component request message;
analyzing the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway based on the target protocol analysis component to obtain corresponding equipment operation parameters;
the method further comprises the following steps:
sending the equipment operation parameters and the data to be analyzed to an assembly management and control platform so as to analyze the analysis performance indexes of the equipment operation parameters through the assembly management and control platform, wherein the analysis performance indexes comprise at least one of the following items: the analysis accuracy, the analysis delay and the analysis duration are controlled;
judging the superiority and inferiority of the target protocol analysis component according to the analysis performance index;
determining whether performance optimization needs to be carried out on the target protocol analysis component or not according to the advantages and disadvantages of the target protocol analysis component;
and when the performance of the target protocol analysis assembly needs to be optimized, the target protocol analysis assembly is sent to the assembly management and control platform for upgrading.
2. The method of claim 1, wherein after the industrial field protocol configuration platform receives the protocol resolution request, the method further comprises:
judging whether a protocol message field can be identified from the protocol analysis request;
when the protocol message field can be identified, identifying a protocol type corresponding to the protocol analysis request according to the protocol message field;
and sending the identified corresponding protocol to the industrial gateway.
3. The method of claim 2, wherein the industrial field protocol configuration platform is further configured to:
when the protocol message field cannot be identified from the protocol analysis request, generating a protocol type prompt notice;
sending the protocol type prompt notification to a target terminal to request a user of the target terminal to identify the protocol type corresponding to the data to be analyzed;
and after receiving a protocol type identification result sent by the target terminal, sending the protocol type identification result to the industrial gateway.
4. The method of claim 1,
the analyzing the data to be analyzed corresponding to the protocol analysis request and received by the industrial gateway based on the target protocol analysis component to obtain corresponding equipment operation parameters comprises the following steps:
calling a function analysis interface of the target protocol analysis component;
and analyzing the data to be analyzed through the function analysis interface to obtain the equipment operation parameters.
5. The method of claim 1,
after receiving the protocol analysis request, the industrial field protocol configuration platform calls a pre-stored protocol analysis component library;
determining the protocol types which can be analyzed by each target protocol analysis component in the protocol analysis component library;
judging whether the data to be analyzed is matched with the protocol type;
when the data to be analyzed is matched with the protocol type, determining a target protocol analysis component required for analyzing the data to be analyzed;
and returning the target protocol analysis component to the industrial gateway through an IP network.
6. The method of claim 1,
the judging the superiority and inferiority of the target protocol analysis component comprises:
a1, calculating a judgment value of the target protocol analysis component according to the following formula;
Figure FDA0003704460250000031
wherein λ is a judgment value of the target protocol analysis component, y i Value, x, of the i-th determining factor of the target protocol parsing component i Is the optimal value, h, of the ith judgment factor of the target protocol parsing component it The importance evaluation value of the ith judgment factor of the target protocol analysis component is evaluated by a tth professional, n is the number of the judgment factors of the target protocol analysis component, and the judgment factors at least comprise the analysis accuracy, the analysis delay and the analysis duration;
a2, determining the advantages and disadvantages of the target protocol analysis component according to the evaluation value;
Figure FDA0003704460250000032
wherein λ is a result of determining the superiority and inferiority of the target protocol analysis component.
7. The utility model provides a system for industry field protocol automatic analysis based on high in clouds discernment which characterized in that, the system includes industry gateway and industry field protocol configuration platform, wherein, industry gateway includes:
the receiving module is used for receiving a protocol analysis request sent by an industrial field;
the request sending module is used for sending a component request message to a preset industrial field protocol configuration platform according to the protocol analysis request;
the protocol analysis component receiving module is used for receiving a target protocol analysis component returned by the industrial field protocol configuration platform based on the component request message;
the protocol analysis component execution module is used for analyzing the data to be analyzed corresponding to the protocol analysis request received by the industrial gateway based on the target protocol analysis component to obtain corresponding equipment operation parameters;
the protocol analysis group execution module is further configured to send the device operating parameters and the to-be-analyzed data to an assembly management and control platform, so that the assembly management and control platform analyzes analysis performance indexes of the device operating parameters, where the analysis performance indexes include at least one of the following: the analysis accuracy, the analysis delay and the analysis duration are controlled;
judging the superiority and inferiority of the target protocol analysis component according to the analysis performance index;
determining whether performance optimization needs to be carried out on the target protocol analysis component or not according to the advantages and disadvantages of the target protocol analysis component;
and when the performance of the target protocol analysis assembly needs to be optimized, the target protocol analysis assembly is sent to the assembly management and control platform for upgrading.
8. The system of claim 7, wherein the industrial field protocol configuration platform comprises:
the judging module is used for judging whether a protocol message field can be identified from the protocol analysis request or not after the protocol analysis request is received;
the identification module is used for identifying the protocol type corresponding to the protocol analysis request according to the protocol message field when the protocol message field can be identified;
and the sending module is used for sending the identified corresponding protocol to the industrial gateway.
9. The system of claim 8, wherein the industrial field protocol configuration platform is further configured to:
when the protocol message field cannot be identified from the protocol analysis request, generating a protocol type prompt notice;
sending the protocol type prompt notification to a target terminal to request a user of the target terminal to identify the protocol type corresponding to the data to be analyzed;
and after receiving a protocol type identification result sent by the target terminal, sending the protocol type identification result to the industrial gateway.
CN202010590217.8A 2020-06-24 2020-06-24 Industrial field protocol automatic analysis method and system based on cloud identification Active CN111970230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010590217.8A CN111970230B (en) 2020-06-24 2020-06-24 Industrial field protocol automatic analysis method and system based on cloud identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010590217.8A CN111970230B (en) 2020-06-24 2020-06-24 Industrial field protocol automatic analysis method and system based on cloud identification

Publications (2)

Publication Number Publication Date
CN111970230A CN111970230A (en) 2020-11-20
CN111970230B true CN111970230B (en) 2023-03-31

Family

ID=73362331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010590217.8A Active CN111970230B (en) 2020-06-24 2020-06-24 Industrial field protocol automatic analysis method and system based on cloud identification

Country Status (1)

Country Link
CN (1) CN111970230B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671726A (en) * 2020-12-10 2021-04-16 国网思极网安科技(北京)有限公司 Industrial control protocol analysis method and device, electronic equipment and storage medium
CN112788015B (en) * 2020-12-31 2022-08-09 天津大学 Industrial control protocol identification and analysis method based on industrial gateway
CN114125079B (en) * 2021-09-07 2023-09-12 北京网藤科技有限公司 Thermal power safety simulation platform protocol analysis system and analysis method thereof
CN114422618B (en) * 2021-12-31 2024-01-02 北京千方科技股份有限公司 Cloud-protogenesis-based IOT platform protocol adaptation method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006204A (en) * 2010-12-09 2011-04-06 广东高新兴通信股份有限公司 Distributed resolution system and method for monitoring data stream in real time
CN102075963A (en) * 2009-11-25 2011-05-25 中国移动通信集团贵州有限公司 A mobile business data acquisition analysis method and a system for the same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010030811A1 (en) * 2010-07-01 2012-01-05 Endress + Hauser Flowtec Ag Automated adaptation to various Industrial Ethernet protocols
CN109995675B (en) * 2017-12-29 2021-07-13 中国科学院沈阳自动化研究所 Self-adaptive industrial Ethernet gateway system and method based on software definition
CN110474915A (en) * 2019-08-20 2019-11-19 苏州恒志汇智能科技有限公司 A kind of design method of industrial protocol dynamic self-adapting adaption system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075963A (en) * 2009-11-25 2011-05-25 中国移动通信集团贵州有限公司 A mobile business data acquisition analysis method and a system for the same
CN102006204A (en) * 2010-12-09 2011-04-06 广东高新兴通信股份有限公司 Distributed resolution system and method for monitoring data stream in real time

Also Published As

Publication number Publication date
CN111970230A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN111970230B (en) Industrial field protocol automatic analysis method and system based on cloud identification
CN108366067B (en) System and method for testing consistency of universal service protocol of power system
CN101895436B (en) Network real-time monitoring and control system
US20030212778A1 (en) UML representation of parameter calculation expressions for service monitoring
CN113572651B (en) Cloud platform resource management method and system based on multi-protocol equipment management architecture
CN111917717A (en) Method and system for automatically analyzing industrial field protocol based on gateway identification
CN112764410B (en) Vehicle-mounted controller testing device, system and method
CN102752770B (en) Method and device for polling service system
CN111552568A (en) Cloud service calling method and device
CN112804124A (en) Test bed and test method for time-sensitive network equipment
CN115412602A (en) Data parsing and transferring method, device, equipment and medium for digital twin
CN110677322B (en) Python language-based industrial control safety equipment automatic test system and method
CN110278148B (en) data compatibility gateway system
CN113766026B (en) Data processing method and system applied to energy industrial network
US20210263506A1 (en) Semantics-based internet of things device data processing-related application installation method and apparatus
CN107948005B (en) Internet of things protocol updating method and device
CN112003872B (en) Method and device for detecting and calling secondary node capability of industrial internet identifier
CN117273628A (en) Business processing system, method, device and medium based on flow automation
CN109587349B (en) Multimedia agent line testing method and device, electronic equipment and storage medium
CN112905197A (en) Information processing method, device and system, electronic equipment and storage medium
CN111506641A (en) Data management method, data acquisition platform, data management system and storage medium
CN115499432A (en) Family terminal computing resource management system and computing resource scheduling method
CN112019491B (en) Message processing method and system
CN112817539A (en) Industrial data storage method and system, electronic device and storage medium
KR20010055482A (en) Converting Method of Managing Operation from service management system to Switching Command in a Integrated Network

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
GR01 Patent grant
GR01 Patent grant