USPatent applicationPatented

Method and apparatus for energy-optimized data transmission using the OPC UA protocol in radio networks

Granted 12 Mar 2019 · 4 office actions

Life of the application

18 dated events
⤢ drag to zoom20162018202020222024202620282030203220342036ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method and apparatus for energy-optimized data transmission by OPC UA protocol in radio networks is disclosed. When OPC UA communication is operated in a mobile device, e.g. as mobile access to part of a plant for maintenance, monitoring, parameterization, transmission is frequently implemented by the OPC UA's own request-response based communication behavior. Since the device is rarely able to switch off the transmitter, the battery of the device is very quickly discharged. This poses a problem, particularly in the case of devices that are intended to respond promptly to infrequent warnings or events. However, when a client device is intended to provide notification in relation to one event only, the previous polling, i.e. the periodic interrogation is dispensed with and an alternative notification through means inherent in the mobile network is used. This method uses, for example, a mobile push service supplied by the network provider.

Description

6 parts
›CROSS-REFERENCES TO RELATED APPLICATIONS

This application claims the priority of European Patent Application EP 14184182.5, filed Sep. 10, 2014, pursuant to 35 U.S.C. 119(a)-(d), the content of which is incorporated herein by reference in its entirety as if fully set forth herein.

›BACKGROUND OF THE INVENTION

OPC UA (OPC Unified Architecture) is an industrial communication protocol of the OPC Foundation for vendor-independent exchange of machine data, particularly in process automation. OPC UA is a relatively new standard in which the original focus was not on the control of an industrial plant, but rather on standardized information exchange, in particular standardized information exchange between devices from different vendors.

OPC UA has now also been integrated directly into automation technology devices, thereby creating a need for consistent writing of their data. Automation technology plants need to exchange process information, such as process values, measurement values, parameters, control commands, between different devices. It is important that information be transmitted consistently and resiliently between them there. This is particularly important in the case of the devices' data-modifying calls (i.e. the writing of variables).

The OPC UA protocol is also capable of communicating via Internet connections. In the Internet, the prevailing arrangement requires that a client/server communication always be initiated by the client, i.e. only the client is permitted to send requests and the server may then reply to the client's request. However, this conflicts with automation plants' requirement that communication must be initiated by either of the communication partners at any time.

The OPC UA protocol currently solves this problem by already sending at least one request from the client to the server, even in advance of actually requesting data communication from the server, as is shown in FIG. 2 . When the server (UA-S) wishes to send data to the client (UA-C), it can do this in accordance with the protocol as a response to one of these requests. These advance requests (PRI, PR 2 , PR 3 ) are referred to as “Publish Requests” and the associated responses (PA 1 , PA 2 , PA 3 ) as “Publish Responses”. Up to three requests are normally retained. When the server has had no need to send data to the client for a long time, it sends an “empty” response, also referred to as a “Keep Alive” response. When the client receives a “Publish Response” to its “Publish Request”, it sends a new request to the server.

This “Keep Alive” mechanism is necessary since the data traffic on the Internet is monitored by firewalls/proxies and similar network elements. These network elements clear down a connection when no data traffic has flowed via it for some time. Furthermore, this mechanism is also used to inform the communication partners of the correct function of the connection. With current means, a Keep Alive message must be dispatched every 10 seconds in order to keep the transmitter and receiver synchronized.

The spread of OPC UA and the use of cellphones and tablets for maintenance purposes are expected to only increase in future. Mobile devices communicate wirelessly using radio signals, such as wireless LAN, Bluetooth, 3G, and LTE, for example.

Since the mobile devices are normally powered by means of a battery and the energy requirements of the applications running on the device directly impact the running time of the device, their operation must be as energy-efficient as possible. The greatest energy consumption in mobile devices occurs in the transmission of messages. The transmitting antenna is therefore activated as little as possible. Reception, on the other hand, does not have a critical effect on the energy balance.

When OPC UA communication is used in a mobile device (e.g. as mobile access to part of a plant for the purposes of maintenance, monitoring, parameterization, etc.), transmission is frequently implemented by means of the OPC UA's own request-response based communication behavior. Since the mobile device is rarely able to switch off its transmitter, the battery of the device is very quickly discharged by this behavior. This poses a problem, particularly when the devices are required to respond promptly to infrequent warnings or events.

The situation of mobile communication was not taken into account in the definition of the OPC UA standard. Mobile terminals such as MOBIC, the MOBile Industrial Communicator, an industry-enabled mobile Internet Pad from Siemens for local and worldwide access to the Intranet and Internet using plug-in radio cards and wireless LAN, which is already used in plants today, communicate using other protocols.

Today, there is still no established solution to this problem. The spread of the use of OPC UA and the increasing use of mobile terminals for maintenance purposes are expected in future.

›SUMMARY OF THE INVENTION

The invention provides a method and apparatus that overcome the problems described above and enable mobile terminals to use the OPC UA protocol.

In a method in accordance with the invention for communication between at least one client and at least one server of a client/server system using the OPC UA industrial communication protocol and having a Keep Alive mechanism in which a data connection existing between the server and the client is ended when no data packets are transmitted in a Keep Alive time period, permits only requests from at least one client and only responses thereto from at least one server, the client initially receives a first trigger message from the server, in response to which it sends out its request to the server.

An apparatus for carrying out the method described above accordingly comprises a transmitting device that transmits a trigger message to the client at the end of the Keep Alive period for the publication of data to be communicated.

The method is particularly advantageous when the planned communication from the server to the client is a transmission of a single OPC UA event notification. Then it is particularly evident that, when the client device does not have to permanently maintain a connection over which nothing is transmitted, except for the Keep Alive packets required from time to time, energy saving can be achieved, and therefore also an extension of the running time without needing to recharge the energy store.

It is advantageous that the underlying communication network is the Internet or a mobile network having a conventional mobile standard, GSM, GPRS, Edge, LTE, UMTS or HSPA in particular, for using current conventional mobile terminals. When the underlying communication network is the Internet, the HTTP protocol or the HTTPS Tunnel Protocol is advantageously used.

The invention is advantageously implemented using a push service provided by the underlying communication network. The communication can thus be implemented using a push service interface.

When the method is implemented using the OPC UA Republish mechanism for the repeated request of a data packet having a unique sequence number, then when the receipt of the data packet having this sequence number is not confirmed, a repeated request for the data packet is possible within the time period defined in the OPC UA until the requester rejects it.

The requirements of Web communication were taken into account in the communication mechanism of the OPC UA protocol described in the introduction by a mechanism based on the request-response behavior that is suitable for every application. However, this is not necessary for an OPC UA variant based on TCP/IP, for example.

The solution according to the invention then intervenes on the client and on the server side in the protocol layer. The upper layers of the OPC UA architecture remain unchanged, so that the method is transparently usable. The exchange in OPC UA uses the protocol layer, so that the invention is a standard-compliant extension of the OPC UA protocol.

For communication at short time intervals everything remains unchanged. However, when a client device is only used to provide notification in response to a single event, the previous polling, i.e. the periodic interrogation having proxy server timeout values of 10-30 seconds, is dispensed with and an alternative notification means inherent in the mobile network is used.

This method makes use of a mobile push service that the network provider already supplies, for example. This push service offers a service interface with which the OPC UA server notifies the client that it would like to address the client, a mobile terminal such as a Smartphone for example.

In the case of a mobile network using the GSM standard, for example, the GSM provider offers a mobile push service having a service interface for this purpose. When an OPC UA client is then to be woken up by an OPC UA server, the OPC UA server triggers a message to the OPC UA client using the push service interface. This is then implemented using a Hidden Text Message to the telephone number of the mobile terminal, for example. In this way, the client implementation thus ensures that a Hidden Message will awaken the OPC UA client. The client then retrieves the message or messages from the OPC UA server before it can put itself back to sleep again.

›BRIEF DESCRIPTION OF THE DRAWING

Other features and advantages of the present invention will be more readily apparent upon reading the following description of a currently preferred exemplified embodiment of the invention with reference to the accompanying drawing, in which:

FIG. 1 shows the data exchange between the OPC UA client and an OPC UA server according to the invention;

FIG. 2 shows the data exchange between the OPC UA client and an OPC UA server according to the prior art;

FIG. 3 shows an example of a network structure having devices in accordance with the invention; and

FIG. 4A shows a calculation of the energy consumption according to the prior art; and

FIG. 4B shows a calculation of the energy consumption in accordance with the present invention.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 1 of 2

An extension of the OPC UA protocol providing an event notification mechanism according to the invention is shown in FIG. 1 and contrasted with a conventional event notification mechanism that is provided by the OPC UA client, shown in FIG. 2 . In FIG. 1 , when the server (UA-S) wishes to transmit data to the client (UA-C), such as the fault data discussed below, can do this as a response to a request (PR) by the client. These requests (PR) the client are triggered according to the invention with a trigger message (WU) from the server (UA-S), particularly after an interval (St) when the Keep Alive time (T 0 ) of the client (UA-C) has already been exceeded as shown in FIG. 1 . Thus, in accordance with the invention, it is not necessary to keep the client constantly on standby for transmission and reception.

An example of an implementation could look like this: On the client side (UA-C) the publish requests (PR) are dismissed without response. On the server side (UA-S), it is always assumed that a query, Publish Request (PR), is available and that the corresponding reply, Publish Response (PA), is transmitted directly to the client (UA-C).

This new behavior can be negotiated transparently between the server and client when the connection is set up. This provides that, in the ideal case, after the data updates have been configured (OPC UA: CreateSubscription, etc.) the client actually no longer needs to activate its transmitter for data changes.

The OPC UA “Republish” mechanism, which is defined as optional in the OPC UA standard, can be used by the OPC UA client in accordance with the invention as follows: As shown in FIG. 2 , each of the publish request data packets (PR) that are transmitted (OPC UA Notification Messages) are consecutively numbered with respective sequence numbers “x”. The client's receipt-of those data packets (PRx) that were requested by the client is not confirmed, and the server's corresponding data messages to the client (PAx) expire at the end of a time period (Tx), as provided in the OPC UA standard. Using this “Republish” mechanism the OPC UA client can request a repetition (Republish) of the data packets, but it can only make this request in this time period (Tx) before the request message (PRx) expires. In the Republish request (PRx) the OPC UA client indicates the sequence number “x” of the data that needs to be retransmitted.

The Republish mechanism is not normally used by a mobile device. This is possible, but then the OPC UA client must activate its transmitter when it is to be used to republish.

Should the HTTPS Tunnel Protocol be used as the transmission protocol, the same applies as for OPC Binary, since the tunnel uses the same protocol. When HTTP is used as the transmission protocol, the Request-Response paradigm must be taken into account by HTTP. This is achieved by producing a single Publish Request in response to which a plurality of responses are transmitted by “Chunked Data Encoding”. Under the HTTP protocol, this is treated as a single response.

When transmission monitoring takes place, a forced disconnection/reconnection must be provided at the HTTP level, oriented to the circumstances of the monitoring. The transmitter must be activated during the interval required for the monitoring and therefore, at least in terms of energy consumption, has a disadvantage in that case. However, in the context of automation technology plants, since there the infrastructure is under control, it normally has no impact.

The method is preferably used to implement an energy-efficient response to events that typically have a low communication frequency.

OPC UA is not based on a request mechanism that uses “polling” communication but, rather, implements a complete “Callback Interface”. This callback can be transparently implemented in accordance with the invention for energy-efficient mobile notification of events that typically have a low communication frequency through intelligent integration in the communication stack of the mobile client, and with the help of a corresponding push service interface (GW) on the server side.

The life span of a session is normally very long, therefore it is advantageous when the connection (http/TCP connection) is re-established on demand. This action is implemented transparently for the application.

The implementation of the Server Push Pattern is described below by way of example, as well as the representation in FIG. 1 and FIG. 3 .

When the OPC UA client UA-C sends a request, the PRO Publish Request; the OPC UA stack on the client side consisting of the Client APP (C-APP), OP UA Client API (C-API), IP Socket Layer (IP SL), buffers this request. For an event, the OPC UA server UA-S sends a trigger message, the WU Wake-up Message, with the Publish Response information, to the client device. The OPC UA Client Protocol Stack in the client device UA-C then sends the server UA-S the buffered Publish Request (PRO) and server UA-S sends its response (PA- 0 ), the Publish Response, to the client UA-C, as shown in FIG. 1 .

An example of an advantageous embodiment of application software (C-APP, S-APP) in accordance with the invention that provides an extension of the OPC UA protocol is shown in FIG. 3 . This embodiment, uses the OPC UA “Republish” trigger (RE) of the mobile client (C-APP) of the mobile device (MW HW) in FIG. 3 , which ought to be used only for fault notification, described below. In the event that a fault notification is received from the communication-stack (UA-S) of the server, this OPC UA-based embodiment enables the mobile user (UA-C) to access and use the fault data immediately over the mobile data network (M NW) in an energy-efficient manner, as noted above.

The communication runs via the Internet (I) and/or a mobile network (M NW). The following boundary conditions apply: The proxy “Keep Alive” cycle in the network lasts 10 seconds and just a few, two to three events on average, are transmitted per day. The antenna part is deactivated after 500 milliseconds. Extrapolations relating to the energy requirements of client devices such as those shown in FIGS. 4A and 4B , follow:

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 2 of 2

Using conventional fault notification, FIG. 4A :

The client must ask the server 360 times per hour to check whether there are any new messages. Otherwise, the proxy server will end the session and the client will have to again set up a complete session. This results in active energy consumption during times T 1 to T 360 in each hour, in addition to Idle Energy. Thus 24 * 360 =8640 requests must be transmitted per day. For each request, the antenna part is activated for at least 0.5 seconds. The resulting active antenna time is then at least: 8640 * 0.5 seconds =4320 seconds =72 minutes per day.

In contrast, in the proposed fault notification in FIG. 4B :

The 3 events produce 3 wake-up activities TE 1 , TE 2 , TE 3 per day. The active antenna time is therefore: 3 * 0.5 second =1.5 seconds per day. As a result, a considerable saving potential is evidently possible. The expected extension of the battery running time of a mobile terminal is in the order of factors.

When the OPC UA protocol is used without change on a mobile terminal, for example, or a comparable device having an energy store, heavy power consumption is to be expected, i.e. hours of running time for the device, since the transmitter is more or less constantly activated, as described above.

The OPC UA protocol makes no provision for minimizing transmission time when mobile devices are used as the client. The method described here enables a considerable energy saving with minimal intervention in the communication architecture of OPC UA. This guarantees that unwanted side-effects due to changes in its behavior are more or less excluded. The method can be implemented as an extension of the standard, so that both communication partners continue to behave in a manner that is standard-compliant (and therefore compatible with third-party devices). A further positive effect is that the operation of the server and client can be significantly simplified, since the entire Keep Alive operation is eliminated.

While the invention has been illustrated and described in connection with currently preferred embodiments shown and described in detail, it is not intended to be limited to the details shown since various modifications and structural changes may be made without departing in any way from the spirit and scope of the present invention. The embodiments were chosen and described in order to explain the principles of the invention and practical application to thereby enable a person skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated.

What is claimed as new and desired to be protected by Letters Patent is set forth in the appended claims and includes equivalents of the elements recited therein.

Claims as granted

20 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section H — Electricity
  • H04L29/06
  • H04W76/19
  • H04L29/08
  • H04W76/00

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2015Jan 2016Jul 2016Jan 2017Jul 2017Jan 2018Jul 2018Jan 2019USPTOApplicantNon-final rejectionResponse after non-finalRequest for continued examinationResponse after non-finalResponse after final
USPTOApplicanthover for detail · click to open
Pendency
3.5 y
1,280 days filing → grant
Office actions
4
non-final + final
Responses
4
1 RCE
Interviews
1
examiner interview summaries
Examiner
Shailendra Kumar
art unit 2471 · TC 2400
Citations: 26 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20162018202020222024202620282030203220342036Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock