CN114390088A - Interaction method and device for EDPS (enhanced distributed packet system) to pass through OPC UA (optical proximity correction) client and OPC UA server - Google Patents

Interaction method and device for EDPS (enhanced distributed packet system) to pass through OPC UA (optical proximity correction) client and OPC UA server Download PDF

Info

Publication number
CN114390088A
CN114390088A CN202111670250.2A CN202111670250A CN114390088A CN 114390088 A CN114390088 A CN 114390088A CN 202111670250 A CN202111670250 A CN 202111670250A CN 114390088 A CN114390088 A CN 114390088A
Authority
CN
China
Prior art keywords
opc
client
server
function
variable
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.)
Granted
Application number
CN202111670250.2A
Other languages
Chinese (zh)
Other versions
CN114390088B (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN202111670250.2A priority Critical patent/CN114390088B/en
Publication of CN114390088A publication Critical patent/CN114390088A/en
Application granted granted Critical
Publication of CN114390088B publication Critical patent/CN114390088B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides an interactive method, a device, equipment and a storage medium for an EDPS (electronic data processing system) to pass through an OPC UA client and an OPC UA server, wherein the method is applied to the EDPS of the electronic data processing system and comprises the following steps: receiving a trigger instruction for interacting with an OPC UA server; and sending an interactive instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server based on the interactive instruction through the OPC UA client. The technical scheme provided by the embodiment of the invention can realize the interaction with the server through the EDPS, can avoid the development of an independent client and can save development resources.

Description

Interaction method and device for EDPS (enhanced distributed packet system) to pass through OPC UA (optical proximity correction) client and OPC UA server
Technical Field
The embodiment of the invention relates to the technical field of software engineering, in particular to an interactive method, device, equipment and storage medium for an EDPS (embedded distributed processing system) to interact with an OPC UA (embedded processing architecture) server through an OPC UA client.
Background
Currently, data acquisition from a development platform communication Unified Architecture (OPC UA) server requires an OPC UA client as an intermediary. The OPC UA client provides a channel connected with the OPC UA server and can interact with the OPC UA server.
In the related art, under the condition of interaction of OPC UA servers, there are mainly the following three methods for implementing an OPC UA client: 1) according to an OPC UA protocol standard IEC62541, development is carried out from the perspective of realizing the protocol; 2) an Open-source library package such as Open62541 is introduced, so that the protocol standard is encapsulated to a certain extent, the development difficulty is simplified, but the protocol principle needs to be known; 3) and the third-party library package can be quickly constructed after use. However, the method implemented by the OPC UA client is suitable for independent client software development, and may cause resource waste to some extent.
Disclosure of Invention
The embodiment of the invention provides an EDPS interaction method, device, equipment and storage medium through an OPC UA client and an OPC UA server, which can realize interaction with the OPC UA server through the EDPS, avoid development of an independent client and save development resources.
In a first aspect, an embodiment of the present invention provides an EDPS interaction method with an OPC UA server through an OPC UA client, where the method is applied to an electronic data processing system EDPS, and the method includes:
receiving a trigger instruction for interacting with an OPC UA server;
and sending an interactive instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server based on the interactive instruction through the OPC UA client.
In a second aspect, an embodiment of the present invention further provides an EDPS-based interactive apparatus, where the apparatus is configured in an electronic data processing system EDPS, and the apparatus includes:
the receiving module is used for receiving a trigger instruction interacting with an OPC UA server;
and the interaction module is used for sending an interaction instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server through the OPC UA client based on the interaction instruction.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the methods provided by the embodiments of the present invention.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method provided by the present invention.
According to the technical scheme provided by the embodiment of the invention, if a trigger instruction for interacting with the OPC UA server is received, the input/output service module sends an interaction instruction to the OPC UA client integrated on the EDPS based on the trigger instruction, and the OPC UA client interacts with the OPC UA server based on the interaction instruction, namely interacts with the OPC UA server through the OPC UA client integrated on the EDPS, so that the interaction with the server can be realized through the EDPS, the development of an independent client can be avoided, and the development resources can be saved.
Drawings
Fig. 1a is a flowchart of an interaction method of an EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention;
FIG. 1b is an interaction diagram between a client, an input output service module, and a server;
fig. 2a is a flowchart of an interaction method of EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention;
fig. 2b is a flowchart of an interaction method between the EDPS and the OPC UA server through the OPC UA client according to an embodiment of the present invention;
fig. 3a is a flowchart of an interaction method of EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention;
fig. 3b is a flowchart of an interaction method of EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention;
fig. 4a is a flowchart of an interaction method of EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention;
fig. 4b is a flowchart of an interaction method between an EDPS and an OPC UA server through an OPC UA client according to an embodiment of the present invention;
fig. 5a is a flowchart of an interaction method of EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention;
FIG. 5b is a flowchart of an interaction method between an EDPS and an OPC UA server through an OPC UA client according to an embodiment of the present invention;
FIG. 6 is a block diagram of an EDPS interaction device with an OPC UA server via an OPC UA client according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1a is a flowchart of an EDPS interaction method between an OPC UA client and an OPC UA server according to an embodiment of the present invention, where the method may be performed by an EDPS-based interaction device, which may be implemented by software and/or hardware, and the EDPS may be configured in an Electronic Data Processing System (EDPS). The EDPS is an electronic data processing system on the 5G intelligent edge gateway equipment, and can acquire equipment data and push the equipment data to an upper layer; as a data exchange management system, an EDPS provides a scheduling framework inside, and developers can perform secondary development based on the framework to realize adaptation work of multiple protocols, and currently, multiple industrial common protocols such as modbus tcp (modbus protocol tcp), modbus sttu (modbus protocol rtu), CANopen, S7, Communication protocol (PPI), Message Queue Telemetry Transport (MQTT) protocol, and the like are supported. From the aspect of supporting protocol extension, on the basis of the supported protocol of the EDPS, the embodiment of the present invention further adds support for OPC UA.
As shown in fig. 1a, the technical solution provided by the embodiment of the present invention includes:
s110: and receiving a trigger instruction interacting with an OPC UA server.
In the embodiment of the present invention, the interaction with the OPC UA service may include the OPC UA client integrated in the EDPS establishing a connection with the OPC UA service, disconnecting the connection with the OPC UA service, reading data from the OPC UA service, and writing data to the OPC UA service. When the EDPS is started, the EDPS receives a trigger instruction for establishing connection between the OPC UA client and the OPC UA server; when the EDPS is closed, the EDPS receives a trigger instruction for disconnecting the OPC UA client from the OPC UA server; when receiving the trigger signal of the polling listener, the EDPS receives a trigger instruction that the OPC UA client reads data from the OPC UA server or writes data to the OPC UA server, and may periodically read data from the OPC UA server or may periodically write data to the OPC UA server.
S120: and sending an interactive instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server through the OPC UA client based on the interactive instruction.
In the embodiment of the present invention, the OPC UA client is integrated in the EDPS, and when a connection needs to be established with the OPC UA server, the OPC interface of the OPC UA client needs the following connection basic parameters in table 1, and needs to be configured based on the parameters in table 1, thereby implementing interaction with the OPC UA server.
TABLE 1
Parameter name Meaning of parameters
IP Server IP address
Port Network port number
clientKeyFileName Client-side key filename
clientCertFileName Client certificate filename
serverCertFileName Server certificate filename
messageSecurityMode Message security mode
isAnonymous Whether it is anonymous
userName User name
password Cipher code
In the embodiment of the present invention, when the OPC UA client interacts with the OPC UA server (for example, data is monitored or modified), the variable characteristic information corresponding to the data needs to be known, and therefore, the OPC interface needs the variable characteristic information in table 2.
TABLE 2
Figure BDA0003452784250000041
Figure BDA0003452784250000051
In an implementation manner of the embodiment of the present invention, optionally, sending, by an input/output service module, an interactive instruction to a client integrated in an EDPS based on the trigger instruction, and interacting with the server by the client based on the interactive instruction includes: the method comprises the following steps of sending an interactive instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS, and interacting with the OPC UA server through the OPC UA client based on the interactive instruction, wherein the method comprises the following steps: the input and output service module sends an opening instruction to the OPC UA client to trigger the OPC UA client to establish secure connection/non-secure connection and initialize a variable characteristic storage area with the OPC UA server; or the input/output service module sends a read/write instruction to the OPC UA client to trigger the 0PC UA client to read from the OPC UA server or write data to the OPC UA server; or the input and output service module sends a closing instruction to the OPC UA client to trigger the OPC UA client to destroy the data variable characteristic storage area and disconnect the connection with the OPC UA server. The method comprises the steps of calling an OPC UA client integrated in an EDPS through an input/output service module to establish connection with the OPC UA server, disconnecting the OPC UA server, reading data from the OPC UA server and writing data into the OPC UA server. Specifically, the complete interaction process of the EDPS with the 0PC UA server through the 0PC UA client is as follows: an input/output service module of the EDPS sends an opening instruction to the OPC UA client to trigger the OPC UA client to establish secure connection/non-secure connection and initialize a variable feature storage area with the OPC UA server; the input and output service module sends a read/write instruction to the OPC UA client to trigger the 0PC UA client to read from the OPC UA server or write data to the OPC UA server; and the input and output service module sends a closing instruction to the OPC UA client to trigger the PC UA client to destroy the variable characteristic storage area and disconnect the connection with the OPC UA server.
As shown in fig. 1b, in the EDPS, the input/output service module (EDPS IOSrv module) may send an OPEN instruction (DEV OPEN) to the OPC UA client, and the OPC UA client establishes a connection (executes OPC UA connent) with the OPC UA server based on the OPEN instruction; the connection establishment method can be establishing a secure connection or establishing a non-secure connection; and the client acquires the basic connection parameters based on the instruction, and establishes safe connection or non-safe connection based on the information in the basic connection parameters. That is, establishing secure and non-secure connections may be based on user configuration information in the connection base parameters.
As shown in fig. 1b, optionally, the input/output service module may send a READ instruction (DEV READ) to the OPC UA client, and the OPC UA client READs data from the OPC UA server based on the READ instruction (performs OPC UA READ); optionally, the input/output service module may send a WRITE instruction (DEV WRITE) to the OPC UA client, and the OPC UA client WRITEs data (executes the OPC UA WRITE) to the OPC UA server based on the instruction; optionally, the input/output module may send a CLOSE instruction (DEV CLOSE) to the OPC UA client, and the OPC UA client disconnects from the OPC UA server (performs OPC Disconnect) based on the CLOSE instruction.
In the embodiment of the present invention, the client may include an OPC UA custom service module and an OPC UA driver, where the OPC UA custom service module may include a custom service function of the client, and may be used by the OPC UA driver, including connection processing, disconnection processing, data reading, data writing, and the like. The OPC UA custom service module and the OPC UA driver include a plurality of functions, and for example, the function usage may be specifically as follows:
in the phase of establishing connection between the OPC UA Client and the OPC UA server, a Device open function (PTL _ Device _ open ()) may be called by a CMM Device open function (CMM _ Device _ open ()), a connection basic parameter may be obtained by a Device open function call obtaining parameter API, and a Custom connection function (UA _ Client _ Custom _ Connect ()) may be called to establish a secure connection or a non-secure connection with the OPC UA server. If the connection fails, the CMM Device attempted open function (CMM _ Device _ tryopen ()) may be called to call a Device attempted open function (PTL _ Device _ tryopen ()) to attempt to establish a connection with the OPC UA service. Wherein the CMM device turns on a function for turning on the communication device; the device opening function is used for opening a protocol device (which can be an OPC UA server), UA _ Client _ Custom _ Connect (), establishing non-secure connection with the OPC UA server, and UA _ Client _ Custom _ ConnectInSecure (), establishing secure connection with the OPC UA server; a standby attempted opening function (PTL _ Device _ tryopen ()) for attempting to open a protocol Device; the CMM Device attempts to open a function (CMM _ Device _ beyond ()) to attempt to open the communication Device.
In the phase of disconnecting the OPC UA Client from the OPC UA server, a Device closing function (PTL _ Device _ close ()) may be called by a CMM Device closing function (CMM _ Device _ close ()), data of a variable storage area is cleared by the Device closing function, and a Custom disconnecting function (UA _ Client _ store _ Disconnect ()) is called to Disconnect from the OPC UA server. Wherein the CMM device shutdown function is to shut down the communication device; a device shutdown function for disconnecting the connection with the OPC UA server; and the user-defined disconnection function is used for disconnecting the OPC UA server.
In the stage that the OPC UA Client reads data from the OPC UA server, a Custom connection check function (UA _ Client _ Custom _ ConnectivityCheck ()) is called through a Device read function (PTL _ Device _ read ()) to check the connection state of the OPC UA Client and the OPC UA server, and in the connection state, corresponding data is read from the OPC server based on variable characteristic information through calling the Custom read data function ((UA _ Client _ Custom _ ReadData ()). The user-defined data reading function can call a user-defined node ID retrieval function (UA _ Client _ Custom _ Retrieve _ NodeIdbyVarParam ()), and obtains the node ID of the variable in the OPC UA server according to the variable characteristic information, so that data corresponding to the variable characteristic information is obtained according to the node ID. The device reading function is used for reading protocol device data; a self-defined connection check function for checking the connection state between the user-defined connection check function and an OPC UA server; and the self-defined data reading function is used for reading data from the OPC UA server. The user-defined node ID retrieval function can call the following function to acquire the node ID: a node ID display name iteration retrieval function (UA _ Client _ Custom _ Retrieve _ NodeIdbyDisplayNameIterator ()) is defined by a user, and is used for acquiring a NodeID according to a display name by an iterator; a user-defined node ID display name recursive retrieval function (UA _ Client _ Custom _ Retrieve _ NodeIdbyDisplayNameRecurved ()) for obtaining NodeID according to display name in a recursive manner; retrieving a node ID function (UA _ Client _ Custom _ Retrieve _ NodeIdbyDisplayName ()) by self-defining through a display name, and obtaining a NodeID according to the display name; and the user-defined node ID function (UA _ Client _ Custom _ Retrieve _ NodeIdbyNodeIdSetter ()) is retrieved through the setter and is used for acquiring the NodeID according to the node setter.
In the stage that an OPC UA Client writes data into an OPC UA server, a Custom connection check function (UA _ Client _ Custom _ ConnectivityCheck ()) is called through a Device write data packet function (PTL _ Device _ writePackets ()) to check the connection state of the OPC UA Client and the OPC UA server, and in the connection state, variable characteristic information and data corresponding to the variable characteristic information are obtained through the Device write data packet function, and the data are written into the OPC UA server through the Custom write data packet (UA _ Client _ Custom _ WritePackets) function based on the variable characteristic information. The Device writes a data packet function (PTL _ Device _ writePackets ()) for writing a protocol Device data packet; and the self-defined data packet writing function is used for writing the data packet into the OPC UA server. The Custom data writing packet function can call a Custom node ID retrieval function (UA _ Client _ Custom _ store _ Retrieve _ node idbyvarparam ()), obtain a node ID (node ID) of a variable in a server according to variable feature information, and call a writing attribute function provided by open62541 to write data corresponding to the variable feature information based on the node ID. The introduction of the user-defined node ID retrieval function can refer to the introduction in the data reading phase.
When the EDPS is started, a create device object function (createdcmtriverobject ()) can be called to create a protocol device object by creating a CMM object function (createdcmtriverobject ()), so as to create a client object, and thus, the OPC UA client interacts with the OPC UA server. The destroy device object function (destroyptldverobject ()) may be called to destroy the protocol device object when the EDPS is shut down or restarted by destroying the CMM object function (destroycmmdriveverobject ()). Wherein a CMM object function (createmmdriveobject ()) is created for creating a communication device object; a destroy CMM object function (destroycmmdriveobject ()) for destroying a communication device object; a create device object function (createdldroadobject ()) creates a protocol device object; a destroy device object function (destroyptldroadobject ()) for destroying protocol device objects.
It should be noted that the function in the client is not limited to the above function, and may also include other function functions.
According to the technical scheme provided by the embodiment of the invention, if a trigger instruction for interacting with the OPC UA server is received, the input/output service module sends an interaction instruction to the OPC UA client integrated on the EDPS based on the trigger instruction, and the OPC UA client interacts with the OPC UA server based on the interaction instruction, namely interacts with the OPC UA server through the OPC UA client integrated on the EDPS, so that the interaction with the OPC UA server can be realized through the EDPS, the development of an independent client can be avoided, and the development resources can be saved.
Fig. 2a is a flowchart of an interaction method between an EDPS and an OPC UA server through an OPC UA client according to an embodiment of the present invention. Optionally, the method includes:
the method for establishing connection and initializing a variable feature storage area between the OPC UA client and the OPC UA server comprises the following steps:
calling an acquisition parameter Application Program Interface (API) provided by the EDPS through a device opening function in the OPC UA client to acquire a basic connection parameter, and transmitting the basic connection parameter to a custom connection function in the OPC UA client;
performing connection configuration based on the connection basic parameters through the custom connection function, and establishing connection with the OPC UA server based on connection configuration information;
and allocating a storage space for a variable storage area through the equipment opening function, and writing the variable characteristic information into the variable storage area through the equipment opening function under the condition that the variable quantity is not empty.
As shown in fig. 2a, the technical solution provided by the embodiment of the present invention includes:
s210: and receiving a trigger instruction for interacting with the server.
S220: and sending an opening instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the triggering instruction, wherein the opening instruction is used for triggering a device opening function in the OPC UA client to call an acquisition parameter Application Program Interface (API) provided by the EDPS to acquire a basic connection parameter, and transmitting the basic connection parameter to a custom connection function in the OPC UA client.
In the embodiment of the present invention, a Device open function (PTL _ Device _ open ()) in the OPC UA client is used to open a protocol Device, and the protocol Device may be an OPC UA server of a protocol, and specifically may be used to connect with the OPC UA server and initialize a variable storage area. After the OPC UA client establishes a connection with the OPC UA server, the variable storage area needs to be initialized in order to subsequently read data from the OPC UA server or write data into the OPC UA server, so as to store variable feature information.
In the embodiment of the invention, the basic connection parameters can be input by a user or imported by the user, and the connection parameters are obtained by opening a function through equipment in an OPC UA client to call an acquisition parameter API of an EDPS; wherein, the connection basic parameters can be parameters in table 1; the user-defined connection function (UA _ Client _ Custom _ Connect ()) in the OPC UA Client is mainly used for establishing connection with the OPC UA server.
S230: and performing connection configuration on the basis of the connection basic parameters through the custom connection function, and establishing connection with the OPC UA server on the basis of connection configuration information.
In the embodiment of the present invention, specifically, the custom connection function may call a library function provided by open62541 to complete connection configuration; among them, open62541 is an open source, free-to-implement OPC UA (OPC unified architecture) written in C99 and a generic subset of C + +98 languages. This library can be used with all major compilers and provides the necessary tools to implement dedicated OPC UA clients and servers. In the basic connection parameters, the required message security mode can be obtained according to the basic connection parameters input by the user; the client certificate and the client private key can be loaded according to a file name input by a user, and the trust server certificate can be obtained in a user importing mode. Before establishing connection with the OPC UA server, a connection mode needs to be judged according to 'anonymous' in connection basic parameters, if the connection mode is the anonymous connection mode, a user-defined connection function is connected with the OPC UA server by calling a connection establishing function provided by open62541, wherein the IP address and the network port number of the needed OPC UA server can be acquired according to user input; if the connection mode is not anonymous, calling a user name and password provided by open62541 to establish a connection function to connect with the OPC UA server, wherein the required user name and password can be acquired according to the input of the user.
S240: and allocating a storage space for a variable storage area through the equipment opening function, and writing the variable characteristic information into the variable storage area through the equipment opening function under the condition that the variable quantity is not empty.
In the embodiment of the present invention, specifically, the device opens a function to call a variable statistics API provided by the EDPS to count the variable number, determines a storage space required by a variable storage area based on the variable number, opens an extended storage space API provided by the function call EDPS by the device, allocates a storage space for the variable storage area based on the required storage space, and opens the function call EDPS by the device to obtain a variable information API provided by the function call EDPS to obtain variable characteristic information and write the variable characteristic information into the variable storage area when the variable number is not empty (may not be 0).
The device in the OPC UA client side is used for opening a function to call a variable statistic API provided by the EDPS to count the variable quantity through variable characteristic parameters in a table 2 provided by a user, calculating the size of a storage space required by a variable storage area based on variable data, and allocating the storage space for the variable storage area based on the size of the required storage space through an extended storage space API provided by the EDPS, so that the variable characteristic information can be written into the variable storage area, and reading and writing of corresponding data can be performed through the variable characteristic information of the variable storage area. Specifically, under the condition that the counted variable quantity is 0, the connection with the OPC UA server is disconnected, and the EDPS judges that the equipment is failed to be opened; if the counted variable data is not O, the equipment in the OPC UA client opens a function call to acquire a variable information API to acquire variable characteristic information, and writes the variable characteristic information into a variable storage area. The variable characteristic information is information in table 2, and is description information of variable characteristics, and data can be read from or written into the OPC UA server through the variable characteristic information.
Fig. 2b may also be referred to as a flow of the input/output module in the EDPS calling the OPC UA client to establish a connection with the OPC UA server.
Therefore, the device opening function in the OPC UA client is called through the input and output module, the connection with the OPC UA server is completed through the device opening function, and the connection with the OPC UA server can be established through the EDPS for writing the variable characteristic information into the variable characteristic storage area, so that the development of an independent client is avoided.
Fig. 3a is a flowchart of an interaction method of an EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention, where in the embodiment of the present invention, the method is applied to a case where the OPC UA client is disconnected from the OPC UA server, and optionally, the disconnecting of the client from the server based on the device closing instruction includes:
the method for destroying the variable feature storage area and disconnecting the variable feature storage area from the OPC UA server by the OPC UA client comprises the following steps:
obtaining the variable quantity and the initial address of a variable storage area through a variable statistical API provided by a device closing function call EDPS in the OPC UA client;
traversing the variable storage area through the equipment closing function based on the variable quantity and the initial address, and sequentially clearing data in the variable storage area;
and calling a custom disconnection function in the OPC UA client to disconnect with the OPC UA server through the equipment closing function.
As shown in fig. 3a, the technical solution provided by the embodiment of the present invention includes:
s310: and receiving a trigger instruction for interacting with the server.
S320: and sending a closing instruction to the OPC UA client through an input/output module of the EDPS based on the triggering instruction, wherein the closing instruction is used for triggering a variable statistic API provided by calling the EDPS through a device closing function in the OPC UA client to acquire the variable quantity and the initial address of the variable storage area.
In the embodiment of the present invention, a Device shutdown function (PTL _ Device _ close ()) in the OPC UA client is used to close a protocol Device, which may be an OPC UA server of a protocol; the method can be particularly used for eliminating data in the variable characteristic area and disconnecting the OPC UA server. When the OPC UA client is disconnected from the OPC UA server, the data in the variable storage area needs to be cleared.
In the embodiment of the present invention, the variable quantity may be counted by the variable characteristic information in table 2, and the device shutdown function may call the variable counting API provided by the EDPS to obtain the start address of the variable storage area.
S330: traversing the variable storage area through the equipment closing function based on the variable quantity and the initial address, and sequentially clearing data in the variable storage area.
In the embodiment of the invention, the variable storage area is traversed based on the initial address of the variable storage area through the equipment closing function, the information of the variable is cleared when the information of one variable in the variable storage area is traversed, and the variable quantity is based on until the last variable is traversed. The information of one variable comprises variable characteristic information and data corresponding to the variable characteristic information.
S340: and calling a custom disconnection function in the OPC UA client to disconnect with the OPC UA server through the equipment closing function.
In this embodiment of the present invention, specifically, the Custom disconnection function (UA _ Client _ Custom _ Disconnect ()) may call the disconnection provided by open62541 and delete the interface of the Client object to complete the disconnection operation with the OPC UA server.
Fig. 3b may also be referred to as a flow of the input/output module in the EDPS calling the OPC UA client to disconnect from the OPC UA server.
Therefore, the equipment closing function in the OPC UA client is called through the input and output module, data clearing in the variable characteristic area and disconnection with the OPC UA server are completed through the equipment closing function, interaction with the OPC UA server can be carried out through the EDPS, development of an independent client is avoided, and development resources are saved.
Fig. 4a is a flowchart of an interaction method of an EDPS through an OPC UA client and an OPC UA server according to an embodiment of the present invention, where the method in this embodiment is suitable for a case where a client reads data from a server, and in this embodiment, optionally,
the 0PC UA client reads data from the OPC UA server, and the data reading comprises the following steps:
calling a custom connection check function in the OPC UA client through a device reading function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server;
and under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information through the equipment reading function, transmitting the variable characteristic information to a custom data reading function in the OPC UA client, reading corresponding data from the OPC UA server through the custom data reading function based on the variable characteristic information, and storing the data into a variable table of the variable storage area.
Optionally, the method may further include:
if the OPC UA client and the OPC UA server are not in a connection state, calling a custom connection function to establish the connection between the OPC UA client and the OPC UA server.
As shown in fig. 4a, the technical solution provided by the embodiment of the present invention includes:
s410: and receiving a trigger instruction for interacting with the server.
S420: sending a read instruction to the client through the input/output service module of the EDPS based on the trigger instruction, wherein the read instruction is used for triggering a device read function in the OPC UA client to call a custom connection check function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server.
In the embodiment of the present invention, a Device read function (PTL _ Device _ read ()) in the OPC UA client is used to read protocol Device data, and the protocol Device may be an OPC UA server of a protocol, and is specifically used to read data from the OPC UA server.
In the embodiment of the present invention, in order to ensure the connection state with the OPC UA service, a Custom connection check function (UA _ Client _ store _ connection _ check ()) is called to check the connection state between the OPC UA Client and the OPC UA service before each operation of reading data from the OPC UA service is performed. The parameters required by the custom connection check function to execute the operation may be the same as the custom connection function, and all the parameters need to be acquired by using an acquisition parameter API provided by EDPS, and when the operation of checking the connection state is executed, a connection interface provided by Open62541 is called, and the connection state is recorded by the interface, and the connection state between the OPC UA client and the OPC UA server can be acquired through the state provided by the interface.
S430: if the OPC UA client and the OPC UA server are not in a connection state, calling a custom connection function to establish the connection between the OPC UA client and the OPC UA server.
In the embodiment of the invention, if the OPC UA client and the OPC UA server are not in a connection state, connection is tried to be established, and a custom connection function can be called to establish the connection between the OPC UA client and the OPC UA server; for a specific description of establishing the connection between the OPC UA client and the OPC UA server through the custom function, reference may be made to the above embodiments, and the description will not be repeated.
S440: and under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information through the equipment reading function, transmitting the variable characteristic information to a custom data reading function in the OPC UA client, reading corresponding data from the OPC UA server through the custom data reading function based on the variable characteristic information, and storing the data into a variable table of the variable storage area.
In the embodiment of the invention, under the condition that an OPC UA client is connected with an OPC UA server, a variable statistic API provided by an EDPS is called through a device reading function to obtain the variable quantity and the initial address of a variable storage area, the variable storage area is traversed based on the variable quantity and the initial address to obtain the variable characteristic information, the variable characteristic information is transmitted to a custom read data function in the client, corresponding data is read from the OPC UA server through the custom read data function based on the variable characteristic information, and the data is stored in a variable table of the variable storage area through a storage API provided by the EDPS.
In the embodiment of the present invention, the variable quantity may be counted by using the variable characteristic information in table 2, the device read function may call the variable counting API provided by the EDPS to obtain the start address of the variable storage area, and the device read function may traverse the variable storage area based on the start address of the variable storage area, so as to obtain the variable characteristic information stored in the variable storage area, and traverse to the last variable based on the variable quantity. The Custom read data function (UA _ Client _ store _ ReadData ()) can read corresponding data from the OPC UA server based on the variable characteristic information, and store the read data in the variable table such as the variable storage area through EDPS provisioning storage API. The variable table comprises data corresponding to the variable characteristic information and variable identification.
In the embodiment of the present invention, optionally, a specific implementation in the Custom read data function may call a Custom node ID retrieval function (UA _ Client _ Custom _ Retrieve _ node idbyvarparam ()), obtain a node ID (node ID) of a variable in the OPC UA service end according to the variable feature information, and call a read attribute function provided by open62541, and obtain data corresponding to the variable feature information based on the node ID.
Fig. 4b may also be referred to in the flow of the input/output module in the EDPS calling the OPC UA client to read data from the OPC UA server.
Therefore, the input and output module calls a device reading function in the OPC UA client, the device reading function reads data from the OPC UA server, and the EDPS can interact with the OPC UA server, so that development of an independent client is avoided, and development cost is saved.
Fig. 5a is a flowchart of an interaction method between an EDPS and an OPC UA server through an OPC UA client according to an embodiment of the present invention, where the embodiment is suitable for a case where the OPC UA client writes data into the OPC UA server, optionally,
the 0PC UA client writes data from the OPC UA to the OPC UA server, and the method comprises the following steps:
calling a custom connection check function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server through a device write data packet function in the OPC UA client;
under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information and data corresponding to the variable characteristic information through the device write data packet function, transmitting the variable characteristic information and the data to a custom write data packet function in the OPC UA client, and writing the data into the OPC UA server through the custom write data packet function based on the variable characteristic information.
Optionally, the method may further include:
and if the OPC UA client and the OPC UA server are not in a connection state, calling a custom connection function to establish the connection between the OPC UA client and the OPC UA server.
As shown in fig. 5a, the technical solution provided by the embodiment of the present invention includes:
s510: and receiving a trigger instruction for interacting with the server.
S520: sending a write instruction to an OPC UA server through an input/output module of an EDPS (enhanced data protection system) based on a trigger instruction, wherein the write instruction is used for triggering a user-defined connection check function in the OPC UA client to be called through a device write data packet function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server.
In the embodiment of the present invention, a Device write data packet function (PTL _ Device _ writePackets ()) in the OPC UA client is used to write protocol Device data, and the protocol Device may be a service end of a protocol, and is specifically used to write data to the OPC UA service end.
In the embodiment of the present invention, to ensure the connection state with the OPC UA service, a Custom connection check function (UA _ Client _ store _ ConnectivityCheck ()) is called to check the connection state between the OPC UA Client and the OPC UA service before each operation of writing data into the OPC UA service is performed. The parameters required by the custom connection check function to execute the operation may be the same as the custom connection function, and all the parameters need to be acquired by using an acquisition parameter API provided by EDPS, and when the operation of checking the connection state is executed, a connection interface provided by Open62541 is called, and the connection state is recorded by the interface, and the connection state between the OPC UA client and the OPC UA server can be acquired through the state provided by the interface.
S530: and if the OPC UA client and the OPC UA server are not in a connection state, calling a custom connection function to establish the connection between the OPC UA client and the OPC UA server.
In the embodiment of the invention, if the OPC UA client and the OPC UA server are not in a connection state, connection is tried to be established, and a custom connection function can be called to establish the connection between the OPC UA client and the OPC UA server; for a specific description of establishing the connection between the OPC UA client and the OPC UA server through the customized connection function, reference may be made to the above embodiments, and the description will not be repeated. If the OPC UA client and the OPC UA server are in a connected state, S540 is performed.
S540: under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information and data corresponding to the variable characteristic information through the device write data packet function, transmitting the variable characteristic information and the data to a custom write data packet function in the OPC UA client, and writing the data into the OPC UA server through the custom write data packet function based on the variable characteristic information.
In the embodiment of the invention, under the condition that an OPC UA client is connected with an OPC UA server, a write variable acquisition API provided by an EDPS is called through a write data packet function of the equipment to acquire a write variable linked list, the write variable linked list is traversed to acquire variable characteristic information and data corresponding to the variable characteristic information, the variable characteristic information and the data are transmitted to a custom write data packet function in the OPC UA client, and the data are written into the OPC UA server through the custom write data packet function based on the variable characteristic information.
In the embodiment of the invention, data in a write variable linked list can be input by a user, the write variable linked list can comprise a variable ID and data corresponding to variable characteristic information, a device write data packet function acquires the write variable linked list by calling a write variable API provided by an EDPS (enhanced distributed programming system), the variable characteristic information is inquired through the variable ID in the write variable linked list, so that the variable characteristic information and the data corresponding to the variable characteristic information can be acquired by traversing the write variable linked list, and the corresponding data is written into an OPC UA (optical proximity Client) server based on the variable characteristic information by a user-defined write data packet function (UA _ Client _ Custom _ store _ WritePuck ()). Specifically, the Custom write data packet function may call a Custom node ID retrieval function (UA _ Client _ Custom _ Retrieve _ node idbyvarparam ()), obtain a node ID (node ID) of a variable in the OPC UA server according to the variable feature information, and call the write attribute function provided by open62541, based on the node ID, to write data corresponding to the variable feature information.
Fig. 5b may also be referred to in the flow of the input/output module in the EDPS calling the OPC UA client to write data into the OPC UA server.
Therefore, the device write data packet function in the OPC UA client is called through the input/output module, data is written into the OPC UA server through the device write data packet function, interaction can be carried out between the EDPS and the OPC UA server, development of an independent client is avoided, and development resources are saved.
Fig. 6 is a block diagram of an interactive device of the EDPS with the OPCUA server through the OPC UA client according to the embodiment of the present invention, as shown in fig. 6, the device is configured in the electronic data processing system EDPS, and the device receiving module 610 and the interactive module 620 are configured.
The receiving module 610 is configured to receive a trigger instruction interacting with an OPC UA server;
and the interaction module 620 is configured to send an interaction instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interact with the service end of the OPC UA through the OPC UA client based on the interaction instruction.
Optionally, the sending, by the EDPS input/output service module, an interactive instruction to an OPC UA client integrated in the EDPS, and interacting, by the OPC UA client, with the OPC UA server based on the interactive instruction includes:
the input and output service module sends an opening instruction to the OPC UA client to trigger the OPC UA client to establish secure connection/non-secure connection and initialize a variable characteristic storage area with the OPC UA server; or the like, or, alternatively,
the input and output service module sends a read/write instruction to the OPC UA client to trigger the 0PC UA client to read from the OPC UA server or write data to the OPC UA server; or the like, or, alternatively,
and the input and output service module sends a closing instruction to the OPC UA client to trigger the OPC UA client to destroy the variable characteristic storage area and disconnect the connection with the OPC UA server.
Optionally, the establishing, by the OPC UA client, a connection with the OPC UA server and initializing the variable feature storage area includes:
calling an acquisition parameter Application Program Interface (API) provided by the EDPS through a device opening function in the OPC UA client to acquire a basic connection parameter, and transmitting the basic connection parameter to a custom connection function in the OPC UA client;
performing connection configuration based on the connection basic parameters through the custom connection function, and establishing connection with the OPC UA server based on connection configuration information;
and allocating a storage space for a variable storage area through the equipment opening function, and writing the variable characteristic information into the variable storage area through the equipment opening function under the condition that the variable quantity is not empty.
Optionally, the destroying the variable feature storage area and disconnecting the connection with the OPC UA server by the OPC UA client includes:
obtaining the variable quantity and the initial address of a variable storage area through a variable statistical API provided by a device closing function call EDPS in the OPC UA client;
traversing the variable storage area through the equipment closing function based on the variable quantity and the initial address, and sequentially clearing data in the variable storage area;
and calling a custom disconnection function in the OPC UA client to disconnect with the OPC UA server through the equipment closing function.
Optionally, the 0PC UA client reads data from the OPC UA server, including:
calling a custom connection check function in the OPC UA client through a device reading function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server;
and under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information through the equipment reading function, transmitting the variable characteristic information to a custom data reading function in the OPC UA client, reading corresponding data from the OPC UA server through the custom data reading function based on the variable characteristic information, and storing the data into a variable table of the variable storage area.
Optionally, the writing data from the OPC UA to the OPC UA server by the 0PC UA client includes:
calling a custom connection check function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server through a device write data packet function in the OPC UA client;
under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information and data corresponding to the variable characteristic information through the device write data packet function, transmitting the variable characteristic information and the data to a custom write data packet function in the OPC UA client, and writing the data into the OPC UA server through the custom write data packet function based on the variable characteristic information.
Optionally, after invoking a custom connection check function in the OPC UA client to check a connection state between the OPC UA client and the OPC UA server, the method further includes:
and if the OPC UA client and the OPC UA server are not in a connection state, calling a custom connection function to establish the connection between the OPC UA client and the OPC UA server.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 7 is a schematic structural diagram of an apparatus provided in an embodiment of the present invention, and as shown in fig. 7, the apparatus includes:
one or more processors 710, one processor 710 being illustrated in FIG. 7;
a memory 720;
the apparatus may further include: an input device 730 and an output device 740.
The processor 710, the memory 720, the input device 730 and the output device 740 of the apparatus may be connected by a bus or other means, for example, in fig. 7.
The memory 720, which is a non-transitory computer-readable storage medium, may be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules (e.g., the receiving module 610 and the interacting module 620 shown in fig. 6) corresponding to a file processing method according to an embodiment of the present invention. The processor 710 executes software programs, instructions and modules stored in the memory 720, so as to execute various functional applications and data processing of the computer device, that is, an EDPS implementing the above method embodiments is an interactive method between an OPC UA client and an OPC UA server, that is, the method includes:
receiving a trigger instruction for interacting with an OPC UA server;
and sending an interactive instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server based on the interactive instruction through the OPC UA client.
The memory 720 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 720 may optionally include memory located remotely from processor 710, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 740 may include a display device such as a display screen.
The embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an interaction method between an EDPS and an OPC UA server through an OPC UA client, according to an embodiment of the present invention:
receiving a trigger instruction for interacting with an OPC UA server;
and sending an interactive instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server based on the interactive instruction through the OPC UA client.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An EDPS (electronic data processing system) interaction method between an OPC UA client and an OPC UA server, which is applied to an EDPS (electronic data processing system), and comprises the following steps:
receiving a trigger instruction for interacting with an OPC UA server;
and sending an interactive instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server based on the interactive instruction through the OPC UA client.
2. The method of claim 1, wherein sending an interactive command to an OPC UA client integrated in the EDPS through an input output service module of the EDPS, and interacting with the OPC UA server through the OPC UA client based on the interactive command comprises:
the input and output service module sends an opening instruction to the OPC UA client to trigger the OPC UA client to establish secure connection/non-secure connection and initialize a variable characteristic storage area with the OPC UA server; or the like, or, alternatively,
the input and output service module sends a read/write instruction to the OPC UA client to trigger the 0PC UA client to read from the OPC UA server or write data to the OPC UA server; or the like, or, alternatively,
and the input and output service module sends a closing instruction to the OPC UA client to trigger the OPC UA client to destroy the variable characteristic storage area and disconnect the connection with the OPC UA server.
3. The method of claim 1, wherein the establishing the connection and initializing the variable feature storage area between the OPC UA client and the OPC UA server comprises:
calling an acquisition parameter Application Program Interface (API) provided by the EDPS through a device opening function in the OPC UA client to acquire a basic connection parameter, and transmitting the basic connection parameter to a custom connection function in the OPC UA client;
performing connection configuration based on the connection basic parameters through the custom connection function, and establishing connection with the OPC UA server based on connection configuration information;
and allocating a storage space for a variable storage area through the equipment opening function, and writing the variable characteristic information into the variable storage area through the equipment opening function under the condition that the variable quantity is not empty.
4. The method of claim 2, wherein the OPC UA client destroys the variable feature storage area and disconnects from the OPC UA server, comprising:
obtaining the variable quantity and the initial address of a variable storage area through a variable statistical API provided by a device closing function call EDPS in the OPC UA client;
traversing the variable storage area through the equipment closing function based on the variable quantity and the initial address, and sequentially clearing data in the variable storage area;
and calling a custom disconnection function in the OPC UA client to disconnect with the OPC UA server through the equipment closing function.
5. The method of claim 2, wherein the 0PC UA client reads data from the OPC UA server, comprising:
calling a custom connection check function in the OPC UA client through a device reading function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server;
and under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information through the equipment reading function, transmitting the variable characteristic information to a custom data reading function in the OPC UA client, reading corresponding data from the OPC UA server through the custom data reading function based on the variable characteristic information, and storing the data into a variable table of the variable storage area.
6. The method of claim 2, wherein the 0PC UA client writes data from the OPC UA to the OPC UA server, comprising:
calling a custom connection check function in the OPC UA client to check the connection state of the OPC UA client and the OPC UA server through a device write data packet function in the OPC UA client;
under the condition that the OPC UA client is connected with the OPC UA server, acquiring variable characteristic information and data corresponding to the variable characteristic information through the device write data packet function, transmitting the variable characteristic information and the data to a custom write data packet function in the OPC UA client, and writing the data into the OPC UA server through the custom write data packet function based on the variable characteristic information.
7. The method according to claim 5 or 6, further comprising, after the step of calling the custom connection check function in the OPC UA client to check the connection status of the OPC UA client and the OPC UA server:
and if the OPC UA client and the OPC UA server are not in a connection state, calling a custom connection function to establish the connection between the OPC UA client and the OPC UA server.
8. An EDPS-based interactive device, the device being configured in an electronic data processing system, EDPS, the device comprising:
the receiving module is used for receiving a trigger instruction interacting with an OPC UA server;
and the interaction module is used for sending an interaction instruction to an OPC UA client integrated in the EDPS through an input/output service module of the EDPS based on the trigger instruction, and interacting with the OPC UA server through the OPC UA client based on the interaction instruction.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202111670250.2A 2021-12-31 2021-12-31 Interaction method and device of EDPS (electronic data transfer protocol) through OPC UA client and OPC UA server Active CN114390088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111670250.2A CN114390088B (en) 2021-12-31 2021-12-31 Interaction method and device of EDPS (electronic data transfer protocol) through OPC UA client and OPC UA server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111670250.2A CN114390088B (en) 2021-12-31 2021-12-31 Interaction method and device of EDPS (electronic data transfer protocol) through OPC UA client and OPC UA server

Publications (2)

Publication Number Publication Date
CN114390088A true CN114390088A (en) 2022-04-22
CN114390088B CN114390088B (en) 2024-04-09

Family

ID=81200091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111670250.2A Active CN114390088B (en) 2021-12-31 2021-12-31 Interaction method and device of EDPS (electronic data transfer protocol) through OPC UA client and OPC UA server

Country Status (1)

Country Link
CN (1) CN114390088B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101903837A (en) * 2007-12-21 2010-12-01 Abb研究有限公司 Method and device for client/server communication according to the standard protocol OPC UA
CN101981897A (en) * 2007-12-21 2011-02-23 Abb研究有限公司 Method and device for communicating according to the standard protocol OPC UA in a client/server system
US20140280509A1 (en) * 2013-03-15 2014-09-18 Sencha, Inc. Offloading execution of a portion of a client-side web application to a server
CN108052086A (en) * 2017-12-28 2018-05-18 珠海格力智能装备技术研究院有限公司 Data acquisition system
CN111580869A (en) * 2020-03-25 2020-08-25 吉利汽车研究院(宁波)有限公司 Data communication method and system based on OPC UA

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101903837A (en) * 2007-12-21 2010-12-01 Abb研究有限公司 Method and device for client/server communication according to the standard protocol OPC UA
CN101981897A (en) * 2007-12-21 2011-02-23 Abb研究有限公司 Method and device for communicating according to the standard protocol OPC UA in a client/server system
US20140280509A1 (en) * 2013-03-15 2014-09-18 Sencha, Inc. Offloading execution of a portion of a client-side web application to a server
CN108052086A (en) * 2017-12-28 2018-05-18 珠海格力智能装备技术研究院有限公司 Data acquisition system
CN111580869A (en) * 2020-03-25 2020-08-25 吉利汽车研究院(宁波)有限公司 Data communication method and system based on OPC UA

Also Published As

Publication number Publication date
CN114390088B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US11750589B2 (en) System and method for secure application communication between networked processors
CN111193698B (en) Data processing method, device, terminal and storage medium
US20150156183A1 (en) System and method for filtering network communications
CN108718347B (en) Domain name resolution method, system, device and storage medium
US20230273853A1 (en) Securing an application based on auto-learning and auto-mapping of application services and apis
CN100433645C (en) Network device management method and network management system
US20190297055A1 (en) Automated learning of externally defined network assets by a network security device
CN113556359B (en) Communication protocol conversion method, device, system and gateway device
KR20200102328A (en) Method and device for processing data
CN114124929A (en) Cross-network data processing method and device
KR20120002587A (en) Use of snmp for management of small footprint devices
CN113595927A (en) Method and device for processing mirror flow in bypass mode
CN107294910B (en) Login method and server
CN105323128B (en) method, device and system for accessing front-end equipment to server
RU2647687C2 (en) Device monitoring using multiple servers optimised for different types of communications
CN112187869A (en) Remote debugging system and method of IOT device, electronic device and storage medium
CN114390088B (en) Interaction method and device of EDPS (electronic data transfer protocol) through OPC UA client and OPC UA server
CN113922972B (en) Data forwarding method and device based on MD5 identification code
CN114567678A (en) Resource calling method and device of cloud security service and electronic equipment
CN108055305B (en) Storage expansion method and storage expansion device
US12010112B2 (en) Remote secured console over a secured connection for inoperable virtual machine
CN115242763B (en) Network traffic acquisition method, system and related device for terminal application
US11909764B1 (en) Man-in-the-middle interceptor for application security testing
CN115776392A (en) Program networking control method and device, electronic equipment and storage medium
US9740854B2 (en) System and method for code protection

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