This application is based on and hereby claims priority to European Patent Application Nos. 011 221 34.8 filed on Sep. 14, 2001 and 011 241 51.0 filed on Oct. 10, 2001, the contents of which are hereby incorporated by reference.
The invention relates to an operating method for an automation unit which is communicatively linked to at least one further automation unit. The communicative link existing between them means that the two automation units and software applications (programs) running thereon are communication partners in a communication session.
So that two communication partners, referred to below as partners for short, can communicate with one another over a communication link of whatever type, they need to know not only the respective communication protocol but also the respective interfaces, what interface the partner uses to receive data or to output data, and in what format these data are available.
To distinguish between the communication partners involved, a communication partner providing a functionality is referred to below as a server, and a communication partner requesting a functionality is referred to as a client.
A simple example of the general problem situation is, by way of example, a server providing an arithmetic application having the “adding” functionality under the function “add” (uint 32, uint 32, return uint 32). For a client for which this interface is known, the corresponding function request can be transferred to a program and the function can be requested. By contrast, this is not possible if it is not clear what functionality is provided by the remote partner, the server, and how the functionality can be retrieved.
To solve this problem, the prior art has to date provided for the respective applications, which are, by way of example, a server in a first case and a client in a second case, depending on the communication session, each to “know” the respective functionalities and the associated interfaces by assuming, by way of example, a common global variable and interface declaration, as supported by today's customary “relatively high level” programming languages, e.g. by using common variable declaration modules or interface declaration modules—the “header files” in the case of the programming language “C”.
This disadvantageously requires that, for every application, data of this type can be accessed when the application is created; this cannot be ensured or can be ensured only with difficulty, particularly when the individual application is developed on a distributed basis. In addition, it is also barely possible for the functionality of a first application to be subsequently adjusted, since it must always be assumed that such a change will result in inconsistencies for other applications which use the original interface to request this functionality.
It is therefore an object of the invention to specify a communication method in which the indicated disadvantages are avoided.
This object is achieved with an operating method for an automation unit in accordance with claim 1. In this case the automation unit is communicatively linked to at least one further automation unit. The automation unit or an application (program) running thereon is referred to as a client, and the at least one further automation unit or an application running thereon is referred to as a server. In addition, the server is provided with a functionality which is to be used by the client, with information about the functionality being stored on the server. The operating method then comprises the following steps:
If the server providing the functionality is ascertained by the client on the basis of the information obtained in step (a), it is not necessary for the client to “know” before the functionality is actually requested which other communicating parties hold the functionality. Instead, the client sends an inquiry to a central server, which is designed as such, in particular, and receives from this central server not only the information regarding what functionality is provided by the other communicating parties which can be reached, but also information regarding which communicating party provides what functionality.
If the information which the server transmits to the client comprises a designator and an interface for the functionality, and the request for the functionality is made using the designator and the interface, then even remote functionality can be used particularly transparently in the customary syntax of “relatively high level” programming languages.
If the interface comprises input and output parameters and the result corresponds to the output parameter(s), then results which have been ascertained using or by a remote functionality can be transferred without additional conversion operations to the database for the application which has requested the functionality as a client.
These and other objects and advantages of the present invention will become more apparent and more readily appreciated from the following description of the preferred embodiments, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
The rest of the description continues for the exemplary situation in which the server 2 provides at least one functionality 4 which is to be used by the client 1. Such a functionality 4 is, by way of example, a functionality which cannot be held on the client 1 on account of the storage space required or which cannot be executed, or cannot be executed in a feasible time, on account of the computation power required.
An example of such a functionality 4 is access to an extensive database (not shown) or the execution of a complex calculation, such as an optimization method, particularly an iterative optimization method. Every conceivable functionality is referred to below by the general term functionality 4.
So that the functionality 4 which is on the server 2 can be requested by the client 1, certain information is needed about the functionality 4. To this end,
The sequence of the method shown in
Holding the information file 9 on the server 2 requires storage space which is not always available on the server 2, or is not available to a sufficient degree. It is then possible to provide for the information file 9 not to be held, or not to be held completely, on the server 2 but rather on a central server 3.
As illustrated in
The sequence of the method shown in
In summary, the invention can be described as making provision for a potential communication partner 2, 3 to be able receive an inquiry 10 which prompts it to notify the inquiring party 1 of its interface 11 in machine-readable form, e.g. in the “XML format”, directly or indirectly. An indirect notification means that the inquiring partner 1 is notified of which further partner in the network it can ask for the interface directly. When the interface data 5 for the potential communication partner 2, 3 are thus available, these data can be transferred to a program, and communication with the remote partner 2, 3 can be started, the communication including a request 12 for a functionality 4 which is provided by the remote partner 2, 3.
The invention has been described in detail with particular reference to preferred embodiments thereof and examples, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
01122134 | Sep 2001 | EP | regional |
01124151 | Oct 2001 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
6314447 | Lea et al. | Nov 2001 | B1 |
6792605 | Roberts et al. | Sep 2004 | B1 |
20020046239 | Stawikowski et al. | Apr 2002 | A1 |
20020143819 | Han et al. | Oct 2002 | A1 |
20030204622 | Blizniak et al. | Oct 2003 | A1 |
20040054690 | Hillerbrand et al. | Mar 2004 | A1 |
Number | Date | Country |
---|---|---|
732 834 | Sep 1996 | EP |
733 968 | Sep 1996 | EP |
2813471 | Mar 2002 | FR |
0077618 | Dec 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20030056021 A1 | Mar 2003 | US |