Communication with automatable industrial devices or equipment or their controllers
By establishing communication connections based on routing path information between automatable industrial devices, the flexibility and cost issues of cross-network communication are solved, and flexible address management and efficient message routing are achieved.
Patent Information
- Application Number
- CN202080070124.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-07-30
AI Technical Summary
Existing cross-network communication between automated industrial devices and controllers requires a virtual private network (VPN), and each node must have a globally unique address, which is restrictive and expensive, and lacks flexibility.
By establishing communication connections between nodes of at least two networks, using routing path information to indicate network or node identifiers traversed, avoiding the need for globally unique addresses, employing randomly generated connection identifiers to avoid conflicts, and storing routes between nodes Path information to optimize message routing.
It realizes flexible communication connections across networks, reduces the complexity and cost of address management, improves system flexibility and scalability, and avoids address conflicts and unnecessary storage requirements.
Smart Images

Figure CN114556880B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to communication with automatable industrial devices or installations or with controllers thereof, in particular to the establishment of a communication connection. Background Art
[0002] Automatable industrial devices include in particular autonomous transport devices (automated guided vehicles, (AGV)), automatable processing equipment or processing stations, fixed or mobile manipulators, fixed or mobile manipulator units, in particular fixed or mobile robots or fixed or mobile robot units, or controllers therefor, or combinations of two or more thereof. Automatable industrial devices include in particular units with one or more automatable industrial devices, in particular one of the above-mentioned devices. The controllers considered herein include controllers for controlling the above-mentioned devices or equipment. These controllers can be configured, for example, as computers, computer devices, control cards or integrated circuits.
[0003] It is known that communication with an automatable industrial device or equipment or with its controller is carried out, for example, via a GRPC interface according to the Protobuf protocol, in particular in response to such a device, equipment or controller or in other words, in exchange of data with it. Currently, in order to be able to respond to GRPC services across network boundaries, at least one VPN network (Virtual Private Network) is required. In addition, within the VPN, each component must be uniquely addressable. Summary of the invention
[0004] The object of the invention is to improve the communication or the establishment of a communication connection with an automatable industrial device or installation or its controller.
[0005] The object of the invention is achieved by a method having the features of claim 1. Claim 14 protects a control device which is designed to carry out the method described herein. Claims 15 and 16 protect a computer program or a computer program product for carrying out the method described herein. Preferred developments are given by the dependent claims.
[0006] A first aspect of the invention relates to a method for establishing a communication connection between a first node in a first network of at least two networks and a second node in a second network of the at least two networks, wherein at least one of the first node and the second node is an automatable industrial device or an automatable industrial device or a controller used therefor,
[0007] wherein the at least two networks each individually form a homogeneous address space,
[0008] wherein the at least two networks do not together form a homogeneous address space,
[0009] The method comprises the following steps:
[0010] sending a call to establish a communication connection between the first node and the second node, the call including routing path information indicating a routing path from the first node to the second node, wherein the routing path information includes at least one identifier of each network or node to be traversed on the routing path, but does not necessarily include an identifier of the first network; and
[0011] A communication connection is established between the first node and the second node based on the routing path information.
[0012] In this context, a communication connection is particularly understood to mean a connection that enables data exchange in at least one direction, in particular in both directions, for example in order to control an automatable industrial device or installation or to determine measured values associated therewith. It should be noted that the control of the device or installation does not necessarily have to take place immediately but can be saved for later use.
[0013] Networks with homogeneous address spaces are, for example, the Internet, cloud networks, local area networks, or individual devices, such as computers, laptops, smartphones, etc. If each of these networks is considered separately, each node (each component) of the network can be uniquely addressable within the corresponding network, hence the term homogeneous address space. However, if these networks are considered together as an overall network, they generally do not form a homogeneous address space, i.e., two nodes can be uniquely addressable within their respective networks by the same identifier (e.g., a number), but not within the combination of their networks.
[0014] In principle, this can be achieved by giving each node a globally unique address or performing address translation. The inventors of the present application consider both of these to be restrictive and / or inflexible and / or require huge expenditure. The method according to the invention provides an alternative technical solution, which is particularly more flexible and / or less restrictive and / or less expensive.
[0015] The routing path information indicates which networks or nodes are traversed on the routing path through corresponding identifiers. That is, according to the routing path information, a communication connection can be established between the first node and the second node in a clear manner.
[0016] It is provided that the call is usually issued from the first node, so that the routing path information does not necessarily have to include the identifier of the first network, since this identifier is known in advance. However, the routing path information can also include the identifier of the first network. It is particularly advantageous, for example, when a call is issued from a superior control device, but the purpose of which is to establish a communication connection between the first node and the second node (i.e. not between the superior control device and one of the nodes) within the framework of the call.
[0017] In order to correctly route the call and / or correctly determine the routing path, it is sufficient for the routing path information to contain only the identifier of the network to be traversed, without having to include the identifier of the node to be traversed alternatively or additionally. However, it is also possible to indicate the identifier of the node to be traversed in the routing information additionally or alternatively, in particular when the routing path within a specific network passes through two or more nodes of the network. Even in this case, however, this is not mandatory, because it is also possible to decide within the network through which node the call should be routed within the network, without having to determine this in the routing path information of the call.
[0018] In one embodiment, the routing path information includes an identifier of the second node.
[0019] This may be particularly advantageous in the case where the network in which the second node is located has a plurality of nodes. Accordingly, the call can be reliably routed to the second node. If the second network has only one node, namely the second node, the second node is somehow identical to the second network, and therefore there is no need to indicate an identifier of the second node in addition to an identifier of the second network. Likewise, if it is clear from the outset, e.g. due to the nature of the call, to which node inside the second network it should be routed, there may be no need to indicate an identifier of the second node in the routing path information.
[0020] According to one embodiment, the call further includes a connection identifier. Such a connection identifier can be used to identify a communication connection, in particular to distinguish a certain communication connection from other communication connections. The connection identifier can be assigned in the manner described below.
[0021] According to one embodiment, the communication connection between the first node and the second node comprises at least two messages, wherein all messages of the communication connection between the first node and the second node have the connection identifier.
[0022] By using the same connection identifier for multiple messages belonging to a specific communication connection, it is possible to easily identify their belonging to the specific communication connection, for example by a node located on a routing path. It is also possible to group two or more messages efficiently in this way. In addition, the advantages of this application of the connection identifier also have the advantages to be described below for routing the message.
[0023] According to one embodiment, at least a portion of the connection identifier is randomly generated or assigned, in particular randomly generated or assigned by the first node. The randomly generated or assigned portion of the connection identifier may include, for example, numbers, letters, number / letter combinations, etc. According to this embodiment, the connection identifier can be generated or assigned relatively uncomplicated. Another portion of the connection identifier can be generated or assigned in other ways. For example, the portion can be generated or assigned based on the identification of the current time or node (e.g., the first node). However, it is also possible that all connection identifiers are randomly generated or assigned, that is, they do not have a portion that is not randomly generated or assigned.
[0024] The inventors assume that, depending on the implementation, it is relatively unlikely that two communication connections with the same connection identifier are established or to be established simultaneously in the entire network. Therefore, it can be expected that a "conflict" caused by two communication connections with the same connection identifier is also relatively unlikely to exist. This may not be a problem even if the corresponding routing paths do not traverse the same network and / or nodes.
[0025] In some cases, a conflict will only occur when the routing paths of the same connection identifier pass through the same network or pass through the same node. Therefore, in one embodiment, when the connection identifiers of the first and second calls are consistent, especially when the routing paths of the first and second calls pass through the same node, the second call will be rejected and / or a new connection identifier will be generated or allocated for the second call.
[0026] According to this embodiment, conflicts can be avoided or conflicts that have already occurred can be "resolved" in a relatively uncomplicated manner. After avoiding or resolving a conflict, the risk of (further) conflicts can be checked again. This process can be repeated until a communication connection can be established without conflicts.
[0027] According to one embodiment, for each node on the routing path between the first node and the second node or one of the storage devices belonging thereto or the first call, the associated connection identifier and the leading node are stored. The node identifier of the node and the node identifier of the successor node (Nachfolgerknoten),
[0028] The leading node is a node located on the routing path in the direction of the first node, in particular a node directly adjacent to the first node on the routing path, and
[0029] The successor node is a node located on the routing path in the direction of the second node, in particular, a node directly adjacent to the second node on the routing path.
[0030] According to this embodiment, in each node on the routing path, the part of the routing path related to the node is stored in some way, for example in a routing table. In particular, if only node identifiers of adjacent nodes are stored, the storage requirement of this storage is relatively low. In principle, it is not necessary, but possible, to store node identifiers that are not adjacent.
[0031] According to one embodiment, the routing path information of the call and the associated connection identifier are included in the initiation message.
[0032] According to this embodiment, an association is formed between the routing path information and the connection identifier. This association can be transmitted to the corresponding node via the start message.
[0033] According to one embodiment, the message following the start message of the call contains the relevant connection identifier but does not contain the routing path information.
[0034] Therein, the message following the start message is preferably routed according to a node identifier stored in a node in a routing path between the first node and the second node or in a related storage device.
[0035] Since the nodes on the routing path have been informed of the routing path information in the initiation message (and as described above, the node can store the relevant parts, such as the node identifiers of the neighboring nodes, for example in a routing table), it is not necessary that the message following the initiation message also contains the routing path information. When receiving a (subsequent) message at a node, the node will determine the stored node identifier of the neighboring node based on the connection identifier and forward the message to it.
[0036] According to one embodiment, when a call in a node located on a routing path between a first node and a second node or in a corresponding storage device ends, the stored related connection identifier and / or the stored node identifier of the preceding node and / or the stored node identifier of the successor node are deactivated, in particular deleted.
[0037] The deactivation or deletion described above can minimize storage requirements. It can also ensure that information that is no longer required can no longer be accessed, which helps to achieve better data protection.
[0038] According to one embodiment, the communication connection is a bidirectional communication connection.
[0039] In the present context, a bidirectional communication connection is understood in particular as data being able to be transmitted, in particular transmitted, in both directions. For example, if the path from the first node to the second node is considered as the outbound path, the path from the second node to the first node is considered as the return path. In an application example, for example, the first node can be a central robot monitoring device and the second node can be a robot. The first node sends a request to the second node, for example, via the outbound path, in order to obtain sensor data related to the second node (robot). The second node determines the sensor data and sends it back to the first node via the return path.
[0040] As described above, if all nodes on the routing path have stored the association between a connection identifier and the node identifiers of two adjacent nodes, the message can be bidirectionally routed according to the connection identifier, that is, whether for the outbound path or the return path. That is, for a bidirectional communication connection, the message following the start message does not need to contain routing information about the routing path, although this can also be used as an alternative.
[0041] According to one embodiment, the method also includes: before sending the call, the first node sends an initial call, which does not contain routing path information or only contains incomplete routing path information, wherein the routing path information required for the call can be determined based on the initial call, in particular by a node different from the first node, in particular by means of the assignment relationship between the information contained in the initial call and the routing path information.
[0042] According to this embodiment, the first node does not have to know the (complete) routing path information necessary for establishing a communication connection between the first node and the second node. Nevertheless, a communication connection can still be established according to this embodiment.
[0043] The initial call may, for example, only identify a type of service that should be provided by another node to the first node, wherein the first node does not necessarily know which other node can provide the service or is configured to provide the service. However, based on the initial call or the information contained therein, for example by a node different from the first node, it can be determined which node can or should provide the requested service.
[0044] This embodiment also makes it possible to achieve a flexible handling of the allocation of services, in particular a dynamic allocation of services, i.e. a service allocation that can change over time, and in particular to achieve such a change without great costs for deactivation. Thus, for example, the "service allocation", i.e. the allocation as to which node can or should execute which service, can be stored in only one node (the third node). If the service allocation changes or should change, it only needs to be updated in the third node, and not in any other node that may want to access the relevant service. This advantageously makes it possible to achieve a "transfer" of services from one node to another, while keeping the update costs low.
[0045] This embodiment also allows a certain degree of anonymity, ie a first node wishing to access a specific service does not need to know (or not know) within the framework of this embodiment which node can / should perform or execute the requested service.
[0046] According to an embodiment, the method further comprises: rejecting the call, in particular at or by a node on a routing path between the first node and the second node, in particular if the call or the communication connection is not authorized.
[0047] According to this embodiment, the call can be rejected, for example, because the "destination node" (second node) is unavailable for the requested service, for example, because it no longer performs the requested service type or because it does not have idle capacity for performing the service. Similarly, if there is no authorization for the call or communication connection, the call can also be rejected. This can be used, for example, to implement access authorization within the enterprise, or to provide the selected service to the node only after paying the corresponding fee for this. The corresponding inspection can be performed by the node on the routing path, for example, by the second node itself or even by the first node. However, it is preferred to make the inspection or rejection occur on a node between the first and second nodes, for example, on a node inside the enterprise intranet. This enables centralized inspection and rejection, particularly when there are multiple second nodes.
[0048] According to one embodiment, at least one of the first node and the second node is an autonomous transport device, a fixed or mobile manipulator, a fixed or mobile manipulator unit, in particular a fixed or mobile robot or a fixed or mobile robot unit, or a controller therefor, or a combination of two or more thereof.
[0049] In the context of automatable industrial devices or automatable industrial equipment, autonomous transport devices include in particular transport vehicles that are able to transport objects autonomously, for example inside a building such as a warehouse or between multiple buildings / warehouses or on a factory site. In simple cases, they can have a loading platform or a container / container for transporting objects from one location to another without loading and / or unloading. However, such transport vehicles can also be equipped with suitable facilities for loading and / or unloading, such as lifting devices in forklifts, clamps, etc.
[0050] Manipulators, manipulator units, robots or robotic cells come into consideration, in particular, including devices for machining workpieces or changing their position or location.
[0051] A second aspect of the invention relates to a control device for a node, in particular for a manipulator, in particular for a robot, which is designed to carry out one of the above-described methods.
[0052] A third aspect of the invention relates to a computer program which, when executed in a control device as described above, performs one of the methods described above.
[0053] A fourth aspect of the invention relates to a computer program product having a program code which is stored on a machine-readable carrier and comprises a computer program as described above.
[0054] In one embodiment, a computer program product may include, in particular, a storage medium for storing a program or having a program stored thereon, in particular a non-volatile storage medium, wherein executing the program enables a system or a controller, in particular a computer, to perform the method described herein or one or more steps thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Further advantages and features are given by the dependent claims and embodiments. For this purpose, the following is partially schematically shown:
[0056] Figure 1 A system or network structure according to an embodiment of the present invention;
[0057] Figure 2 A system or network structure according to another embodiment of the present invention; and
[0058] Figure 3 Flow chart of method steps of the method according to the present invention. DETAILED DESCRIPTION
[0059] Figure 1 The system or network structure according to the embodiment of the present invention is shown. Figure 1In the figure, multiple networks are shown by dashed rectangles. Each of these networks forms a homogeneous address space, in which each node is uniquely addressable, that is, has a unique network address. Figure 1 That is, within each network, participants or nodes must reach a consensus on address allocation.
[0060] exist Figure 1 The nodes shown in FIG. 1 can in principle communicate with one another or exchange data. Such communication can take place, for example, by wire (e.g. Ethernet) or wirelessly (e.g. mobile radio, WLAN). However, according to Figure 1 , not every node shown can communicate directly with any other node shown. Figure 1 In the illustrated embodiment, all possible direct connections are shown with solid lines.
[0061] As mentioned above, the present invention is applied to communication between two nodes, at least one of which is an automatable industrial device, equipment or controller used. Examples of these have been mentioned. For the sake of clarity, now in conjunction with Figure 1 The embodiment assumes that one of the nodes is a robot, but is not limited to this. As a specific example, Figure 1 The network KI shown in FIG. 1 may be an intranet of a robot manufacturing enterprise. The network CL-C represents a cloud network, the network CL-S represents another cloud network, the network CD represents a customer network, and the network CT represents another customer network.
[0062] Node K in network KI represents the interface to access cloud network CL-C. There are also nodes D and T accordingly. The two cloud networks are connected to each other through their respective interfaces S and C, where interface C also communicates with interfaces K, D and T. The remaining nodes in networks KI, CD and CT cannot communicate directly with interface C, but can only communicate through the corresponding interfaces K, D and T in their respective networks.
[0063] Now assume that: in this example, node 1 inside network CT is a robot. Furthermore, we also assume that node 1 in network KI can provide certain services, such as diagnosing problems that may occur in a (customer) robot, such as robot 1 in customer network CT. Furthermore, assume that node 1 in network KI should actually perform a diagnosis of robot 1 in customer network CT, such as repeatedly checking at defined time intervals or in response to an explicit request.
[0064] For the purpose of diagnosis, the node 1 in the network KI must now query the sensor data of the robot 1 in the network CT, for example, i.e. these sensor data must be requested and subsequently transmitted. Figure 1The addressing in the overall network 50 shown is performed according to the conventional addressing method. Figure 1 All nodes shown in must be uniquely globally addressable. However, in the example shown, this is problematic because there are nodes with the identifier "1" not only in the network CT, but also in, for example, the networks CD and CL-C. Therefore, according to conventional addressing methods, these nodes must first be assigned unique addresses.
[0065] In contrast, according to the invention, such unique global addressing is not necessary. In the presented embodiment according to the invention, multiple subnetworks can have and retain nodes with the same identifier (here, for example, "1"). Now, in order for node 1 in network KI to query the sensor data of robot 1 in network CT, node 1 in network KI (the node is here referred to as the "first node") sends a call to establish a communication connection between the first node (that is, itself) and robot 1 in network CT (here referred to as the "second node"). The call contains routing path information indicating the routing path from the first node to the second node. The routing path in this case leads via node K to node C, from there to node T and then to the second node with identifier "1". The routing path information can, for example, include the identifiers of the nodes to be traversed. However, the indication of identifier K is not necessary, since it is always obvious that the routing path can be led out of network KI based on other indicated identifiers (for example C), and since in Figure 1 In the example shown, the only connection leading out of the network KI is through the node K. That is, in this example, the indicator identifiers C, T and 1 are sufficient to clearly indicate the routing path from the first node to the second node. Figure 1 It is shown by a dot-dash line named "C / T / 1".
[0066] Instead of the identifier of the node to be traversed, the routing information may also include the identifier of the network to be traversed (in this example, the CL-C and CT networks), or a mixture of the identifiers of the network to be traversed and the node. In this sense, the identifier "1" indicating the second node is also required in the last-mentioned example in order to clearly indicate the routing path to the second node.
[0067] In a variant, it is not necessary to indicate the identifier of the second node if, for example, in the network CT all calls are always routed by default to the robot with identifier 1.
[0068] Based on the routing path information, a communication connection can then be established between the first node and the second node. That is, for example, a request can be sent as a payload from the first node along the routing path to the second node, whereby the second node transmits sensor data to the first node.
[0069] Figure 1 Other examples of communication connections are indicated by dashed lines and are briefly described below.
[0070] exist Figure 1 The far left of shows four individual nodes 1, 2, 3 and 4, which form independent networks, i.e. their networks contain only one node. They are connected to a cloud network CL-S, i.e. they can (only) communicate directly with this cloud network.
[0071] The routing path from node 4 to node S is directly from node 4 to node S, and the routing path does not traverse other nodes. Accordingly, it is sufficient for the routing path information for indicating the routing path to only include the identifier "S", such as Figure 1 As shown. Figure 1 The upper left part of shows another communication connection, which is from the node with the identifier "1" via the nodes S and C to another node with the identifier "1" in the network CL-C. That is, in order to (unambiguously) indicate the corresponding routing path, it is sufficient to indicate the identifiers S, C and 1, as shown in FIG. Figure 1 The string "S / C / 1" in Figure 1 Node 1 in the upper middle left has only one direct connection to node S, but in this example an indication of the identifier S is provided. This is because the connection crosses a network boundary.
[0072] On the contrary, Figure 1 In another example of the routing path shown, it is sufficient to indicate the identifiers C and 1 from the node with the identifier "4" in the customer network CT via the node T to the node C and further to the node 1 in the cloud network CL-C. The indication of the identifier T is not necessary, because only one connection is derived from the customer network CT via the node T.
[0073] exist Figure 1 The example of another routing path shown in relates to a customer network CD. Inside this network CD there is another customer network CF. This network comprises nodes F, 1, 2, 3 and 4. The only connection outward from the customer network CF is via node F and from there via nodes not marked with an identifier to node D. The network CF can be, for example, a network inside the customer network CD, wherein all employees of the enterprises assigned to these networks can access areas of the network CD outside the network CF, but only certain employees can also access the network CF.
[0074] The routing path from node 4 to node 3 in the network CF is fully defined simply by indicating the identifier "3" in the corresponding routing path information, such as Figure 1 as shown in the lower right portion of .
[0075] The routing path from node 1 inside network CF to node C in cloud network CL-C must lead out of network CF via node F, from there leave network CD via node D, and from there reach node C in cloud network CL-C. This path can be fully defined by simply indicating the identifier "C", because it is clear from the outset that all paths leaving networks CF and CD must pass through nodes F and D. Therefore, it is no longer necessary to indicate the identifiers F and D in the corresponding routing path information.
[0076] Finally Figure 1 The last routing path example in Figure 1 can be viewed in some form as the reverse of the previous example. Here, the routing path should be from node C in cloud network CL-C via node D in customer network CD and node F in customer network CF to node 2 in network CF. Unlike the previous example, the identifiers D, F, and 2 must now be indicated in order to unambiguously define the routing path, e.g. Figure 1 In this case, indicating only the identifier "2" is not sufficient to unambiguously identify the routing path, because without indicating the identifier D, starting from the node C, it is not clear from the outset that the routing path should be introduced into the network CD.
[0077] Figure 2 Another example of a network system or overall network 50 is shown. The overall network 50 has four (independent) subnetworks. To simplify the illustration, these subnetworks are not drawn separately. The first network has nodes 10 to 13, the second network has nodes 20 and 21, the third network has nodes 30 to 32 and the fourth network has nodes 40 and 41.
[0078] Each of these four networks represents a homogeneous address space, so each node in each of the four networks is uniquely addressable. Figure 2 All nodes shown also have different reference numerals between 10 and 41, but this does not mean that the entire network 50 also forms a homogeneous address space. Figure 2 It is not necessarily considered as an identifier of a single node, but for the sake of clarity, two nodes do not have the same reference numeral. The situation of the node identifier is different. Figure 2 Not shown, but may be similar to Figure 1 distributed to each node. Figure 2 In the embodiment, two different nodes in two different networks may also have the same identifier. For example, nodes 11 and 31 may have identifier "1", nodes 12 and 32 may have identifier "2", etc. However, in the following description, for the sake of clarity, the reference numerals of the nodes are also regarded as the identifiers of the nodes.
[0079] and Figure 1 Similarly, direct connections (i.e., those that do not have to pass through other nodes) are shown with solid lines or double arrows. That is, direct communication between node 11 and node 10 is possible. On the contrary, the communication connection between node 11 and node 20 must pass through node 10 compulsorily.
[0080] The establishment of a communication connection is now described in detail with reference to an example according to the present invention. It is now assumed that a call is sent by node 11 to establish a communication connection between this node 11 (which is therefore regarded as a "first node") and node 31 (which is regarded as a "second node"). The communication connection reaches node 31 from node 11 via nodes 10, 20 and 30. The corresponding routing path P is represented by a dotted arrow.
[0081] In a first step, the first node 11 sends a call to establish a communication connection with the second node 31, for example to request sensor data from the node 31. Figure 1 As described above, the call contains the necessary routing path information, i.e., the identifiers of at least nodes 20 and 30, and in some cases, may also contain the identifier of node 10 and / or node 31. In the following process, it is assumed that the routing path information contains the (node) identifiers of all nodes on the routing path P, i.e., the identifiers of nodes 10, 20, 30 and 31, for example in the form of a string "10 / 20 / 30 / 31".
[0082] Based on the routing information contained in the call, the node 10 forwards the call to the node 20, then to the node 30, and finally to the second node 31. Therefore, the call can be routed to the second node 31, that is, a communication connection is established between the first node 11 and the second node 31.
[0083] Although a particularly simple example of establishing a communication connection between a first node and a second node has been described above, there are many design options and variations, which are described below.
[0084] Variant 1
[0085] After the call is routed to the node 31 as described above, the node can know from the routing information (for example, because its node identifier is the last identifier included in the routing information) that the call is to determine it as the target node. The second node 31 can then execute instructions that can be included in the call in the form of a payload. For example, if the call includes an instruction to collect sensor data and send it back to the first node 11, the second node 31 can collect these data and then send back a corresponding message along the loop of the routing path P, which message contains the routing information (but in reverse order). The message can be forwarded along the way through the nodes 30, 20 and 10 similarly to the call. According to an embodiment, for example, since the node 11 is the only (additional) node in the network where the node 10 is located, it is not necessary to indicate the node identifier of the initial first node 11 in the routing information.
[0086] According to the references so far Figure 2 In the embodiment and its further improvement, each message sent must contain (complete) routing information of the routing path P.
[0087] Variant 2
[0088] In another embodiment of the present invention, the latter can be avoided in order to save storage space in the routing node or in a memory connected thereto and / or to make the routing of the message more efficient. For this purpose, the first node 11 can first send an initiation message. The initiation message contains a connection identifier in addition to the routing information, i.e., the identifier of the node located on the routing path P. The connection identifier identifies the connection to be established, in order to distinguish the connection from other communication connections that have been established or are to be established, for example.
[0089] The start message is processed after it arrives at node 10. For this reason, the routing path information is stored in the corresponding memory according to the connection identifier, for example, in a type of routing table. The start message is then forwarded to node 20 accordingly, where it is processed accordingly and forwarded to node 30. This node also processes the start message, and finally forwards it to node 31, where the start message is also processed accordingly. The routing path information is therefore stored in all relevant nodes, so that the routing path information can be called again according to the connection identifier. This has the following advantages in particular: that is, other messages related to the communication connection do not have to contain the routing path information again. That is, for example, it is sufficient for the message from node 31 to node 11 through the loop to contain only the connection identifier. Then, the node located on the routing path P can forward these return messages accordingly according to the stored routing path information. This also applies to other messages sent from the first routing node 11 to the second routing node 31 or vice versa.
[0090] Variant 3
[0091] In another advantageous improvement, not all routing path information is stored in each node involved, but only the relevant part is stored. To illustrate this point, it is assumed that the routing information contained in the start message has a format such as "10 / 20 / 30 / 31". In addition, the start message also contains a connection identifier as described above. The start message is now sent from the first node 11 to the node 10. The node recognizes that the start message should be forwarded to the node 20 based on the routing information. Therefore, the node 10 forwards the start message to the node 20. In addition, the node 10 stores the connection identifier and the node identifiers of the nodes 11 and 20 connected thereto in its memory or the allocated memory. The node 10 can extract the node identifier of the node 20 from the routing information. The node 10 can extract the identifier of the node 11 from the fact that it has obtained the start message from the node 11. The other parts of the routing information, in particular the identifiers of the nodes 30 and 31, are not stored in the routing table of the node 10 because it cannot communicate directly with these nodes anyway.
[0092] After receiving the start message, node 20 processes it accordingly. And based on the connection identifier, the identifier of node 30 is stored in its routing table as the identifier of the neighboring node in the target direction (i.e., towards the target node 31), and the identifier of node 10 is also stored as the identifier of the neighboring node in the starting direction (i.e., towards the starting node 11). In addition, node 20 forwards the start message to node 30, which processes it accordingly and finally forwards the start message to node 31. This node itself is the target node, so based on the connection identifier, only the identifier of node 30 is stored there as the identifier of the neighboring node in the starting direction.
[0093] Other communication connections established under this framework no longer need to contain routing path information, but only need to indicate the connection identifier. Then, the nodes involved can determine to which adjacent nodes the message should be forwarded based on the routing table stored therein.
[0094] Variant 4
[0095] In another embodiment, the routing path information contained in the start message can be shortened when forwarded to the next adjacent node. For example, if the routing path is from the first node 11 through the nodes 10, 20, 30 to the second node 31 as described above, the routing path information can be represented by the string "11 / 10 / 20 / 30 / 31" in principle. On the other hand, the node identifiers of nodes 11 and 10 do not have to be included in the start message sent from node 11 to node 10. For node 10, its node identifier is already known, and node 10 also knows that the start message is sent by node 11. In this case, since the only connection derived from the network containing nodes 10 and 11 passes through node 10, the start message can only contain the string "20 / 30 / 31" as the routing path information. When forwarding the start message to node 20, node 10 can subtract the node identifier of node 20 from the routing path information, so that the start message to be transmitted to node 20 only contains the string "30 / 31" as the routing information. Node 20 recognizes that it has received the start message from node 10, so it can store this information in its routing table. Node 20 processes this information accordingly, shortens the routing path information to "31", and forwards the start message with this shortened routing path information to node 30. This node also recognizes that it has obtained the start message from node 20, so this node can record this information in its routing table. The start message forwarded from node 30 to node 31 can contain "null path", because node 31 knows that it has received the start message from node 30, and does not need to explicitly indicate this with the help of the routing path information contained in the start message.
[0096] Connection Identifier
[0097] According to some of the above-mentioned embodiments, the above-mentioned connection identifier is of certain importance, in particular because it is used for the correct routing of messages. For this reason, it is meaningful to ensure that the same connection identifier is not used for two different communication connections. This can be achieved in principle by a global agreement of all relevant networks, but it may be difficult to implement and / or inflexible. Although possible, the allocation of connection identifiers based on the starting node and time specification (Zeitangabe) may not be unique, because two different nodes in two different networks may have the same node identifier and may send calls at the same time. According to one embodiment of the present invention, an alternative method for allocating connection identifiers is proposed: the connection identifier (or at least a part of each connection identifier) is randomly generated, for example, randomly generated by the first node itself. Alternatively, the connection identifier can also be generated by another node in response to a corresponding request and allocated to the first node or the required (angestrebten) communication connection. Then, a communication connection can be established according to one of the above-mentioned methods.
[0098] However, for randomly generated connection identifiers, for example, two desired target communication connections originating from two different nodes may be assigned the same connection identifier. Figure 2 In the embodiment of, for example, node 11 may expect a communication connection with node 31 and generate a connection identifier, such as "17", for this purpose. The communication connection is established according to one of the above methods. At about the same time or at least during the establishment of the communication connection between node 11 and node 31, for example, node 41 expects a communication connection with node 32 and also wants to use the connection identifier "17" randomly for this purpose. Subsequently, node 41 sends its start message to node 40, and node 40 forwards them to node 20 as described above. Here, node 20 determines that a communication connection with the connection identifier "17" already exists in its routing table. In order to avoid "conflict" or to ensure that the messages for the two communication connections are correctly routed, node 20 rejects the second start message with the connection identifier "17". That is, the communication connection desired by node 41 is no longer established further at present. Instead, node 20 sends a message to node 40, and node 40 sends a message back to node 41 accordingly to inform these nodes that the communication connection with the connection identifier "17" already exists. Based on the message, node 41 then randomly generates a new connection identifier for the desired connection. Then, it retry to establish the desired communication connection according to the new connection identifier. Depending on the implementation, it is relatively unlikely that the retry will be rejected again. However, if this is the case, this part of the method is repeated until the communication connection between node 41 and node 32 can be established without conflict.
[0099] End the communication connection
[0100] An extension that can be used in conjunction with all of the above methods involves terminating or cancelling an established communication connection. Figure 2 This is explained again according to the example in which the node 11 has requested sensor data from the node 31. The cancellation of the communication connection between the first node 11 and the second node 31 can be introduced, for example, by a finish message. The finish message can be sent, for example, by the second node after it has determined that it has sent all requested sensor data, or by the first node 11 after it has determined that no further sensor data from the first node 31 is required.
[0101] Now assume that the second node 31 has sent this end message and has started to withdraw in node 31. Like other messages belonging to the corresponding communication connection, this end message is sent along the routing path P, specifically from node 31 through nodes 30, 20 and 10 to node 11 in this example. Along with the sending of the end message, each node involved marks the communication connection or connection identifier as deactivating or deleting the corresponding entry in its routing table, in particular together with the node identifier of the stored leading node and / or successor node. The latter is particularly in order not to unnecessarily block storage space. Then, in any case, the corresponding connection identifier is available for the desired communication connection in the future. Thus, the probability of conflict of the communication connection with the same connection identifier is minimized.
[0102] Alternatively, if the end message is sent by the first node 11, the revocation is performed in the reverse order. The end message or the revocation may also originate from another node, for example the node 20. The revocation of the communication connection is then propagated from the node 20 in both directions, i.e. in the direction of the first node 11 and the second node 31.
[0103] Initial Call
[0104] In another embodiment, an additional step is performed before sending the call for establishing the communication connection. Figure 2 As a specific application example, let us assume that node 11 is a robot controller. For example, the robot controller 11 now wishes to develop a path plan for a new manufacturing process. Although this can be performed locally / internally for many robots, in some cases it makes sense to have the path planning performed by another node, especially when the path planning is computationally intensive and the robot controller 11 itself does not have sufficient computing power. Node 11 can now send a call to the robot controller 11 as described above, i.e., indicate the corresponding routing path information. Figure 2A specific node in the system shown requests path planning. However, in this variant, node 11 does not know which node can / should perform path planning. Accordingly, it may not send a call with the required routing path information at least initially. Instead, the system can be designed to store, for example, in node 10 which node can / should perform path planning according to the corresponding request. In order to request path planning, node 11 now sends a corresponding message, which is referred to as an "initial call" in this example. The initial call is sent to node 10 and is identified as a path planning request due to its format or content. The initial call may, for example, have the content of a "path planning service".
[0105] Now a table can be stored in node 10, which indicates that node 13 is responsible for path planning in the same network. Accordingly, a call containing routing path information is generated and sent, thereby establishing communication between node 11 and node 13 in the same network. It should be noted here that the call is not necessarily issued by node 11. For example, since the call is generated by a table stored in node 10, the call can be sent by node 10. As an extension, node 11 does not even need to know that node 13 is the target node (or second node) in the communication connection, because node 11 only communicates directly with node 10, and it is not or is not necessarily relevant to node 11 through which node the path planning is actually performed.
[0106] The last described variant also allows transparent service migration. For example, the path planning service performed by node 13 before a certain point in time may be "migrated" to another node due to a change in responsibilities. This other node can be, for example, another node in the same network, such as node 12, or a node in another network, such as node 31 belonging to the network of another enterprise. In order to achieve this migration, it is sufficient to only update the table in node 10, so node 13 is no longer marked in the "path planning service", but node 12 or node 31 is marked accordingly. This "migration" is not or is not necessarily known to the node 11 requesting the path planning service. Node 11 sends an initial call to node 10 as described above, and then node 10 sends an actual call for establishing a communication connection, and the communication connection is not established with node 13, but with node 12 or node 31 in the example. This is particularly advantageous when multiple nodes (such as multiple robots in an enterprise) want to access the same service. Instead of storing new path information for the migrated service in each individual node / robot etc., an update at only one node (node 10 in the presented example) is sufficient to correctly route future requests for the corresponding service.
[0107] Access restrictions
[0108] Refer again Figure 2 Another embodiment will be described.
[0109] According to this embodiment, the access options can be restricted. This is particularly interesting if the networks involved do not all belong to the same company. For example, Figure 2 An access control is arranged in the node 30 of the Node 20, which controls access to the network to which the nodes 30, 31 and 32 belong. In this example, each call transmitted from the node 20 to the node 30 is analyzed by the latter. If there is a corresponding authorization, the call can be forwarded. Otherwise it is rejected.
[0110] However, such access control does not necessarily have to be arranged in the node belonging to the network to be controlled. That is, for example, the access control for the network to which nodes 30, 31 and 32 belong may also be arranged in node 20.
[0111] By means of the access control proposed here, the network can be protected from unauthorized access. By means of such access control, it can also be ensured that nodes, for example, only access those services for which corresponding fees have been paid.
[0112] Figure 3 A flow chart with method steps according to an embodiment of the method according to the invention is shown. After the start 100 of the method, a call for establishing a communication connection is sent in step 101. The call contains routing information, which indicates a routing path from a first node to a second node. In a next step 102, a communication connection between the first node and the second node is established based on the routing path information. Thereafter, the method can end (step 103).
[0113] Further details of the embodiment of the method according to the invention have been described above.
[0114] Embodiments of the present invention are applicable to various applications. The following applications can be used as non-limiting examples to illustrate.
[0115] Example 1
[0116] The user has a user interface through which he can manage specific robot user applications. With the present invention, this user interface can be used basically anywhere: directly connected to the robot; in the WLAN network of the factory where the robot is located; in the intranet of the company to which the robot belongs; or via the public Internet.
[0117] Depending on the implementation and other factors, the routing path or routing path information may or may not be known to the user or the device (computer, laptop, tablet, smartphone, etc.) that the user is using as an interface. Such factors may include the current "location" of the device used as an interface and / or a (direct) connection to a specific network.
[0118] If the routing path or routing path information is not known, this information can be determined. There are multiple options for this, and these options can also be applied in other examples or embodiments:
[0119] (a) Paths in the file system: There are roots in the network that can be directly addressed from anywhere (e.g., a node in the robot manufacturer’s cloud network), and a logical topology, e.g.: cloud / customer / factory / robot.
[0120] (b) Interactive browsing: The user searches the network himself starting from his local node. The interaction is then similar to that in a file system browser. The user navigates step by step from one node to the next (adjacent) node, from there to the next (adjacent) node, and so on. When the user finally finds his goal, the path thus found corresponds to the routing path sought.
[0121] (c) Phonebook / Search Services: There are directly accessible services that store routing paths and can be searched based on additional information. Services / bots can log into such services with arbitrary information and can be discovered. For example, a client first provides the bot name as a search term (Suchbegriff) to a service (e.g., cloud / client1 / search) and gets the routing path from the service in response.
[0122] (d) Domain Name System (which may correspond to or build upon what was described in the "Initial Call" section): The target service / robot has an abstract name. This abstract name is known to the user. In addition, the abstract name and the current routing path to the target service / robot are stored in a directly accessible service. If the service / robot "migrates", the stored information is updated. The user can then access the target service / robot based on its known abstract name.
[0123] Example 2
[0124] For customer applications, the customer's robot is equipped with additional sensors. Customer-specific services are developed to read the sensor data and run on the robot. These customer-specific extension services are connected to the robot and used in (e.g. Figure 1 The robot can be connected to the overall network 50 (shown) and can therefore also be provided to a cloud network, for example, without having to change the communication between the customer and the network of the robot manufacturer.
[0125] Example 3
[0126] The reading of sensor data has already been mentioned. For example, a staff member of a robot manufacturing company can query sensor data related to a robot located in another network within the framework of customer service via the company's intranet. Sensor data can also be automatically reported from the customer's network to the network of the robot manufacturing company. These sensor data can be checked for anomalies, for example, in the customer network or in the robot manufacturing company network. If there are significant deviations from pre-defined values, additional sensor data can be requested, if necessary, in order to be able to diagnose problems related to the robot, for example.
[0127] Example 4
[0128] It has already been mentioned that, for example, path planning services or other services that may be combined with automatable industrial devices can be transferred out, that is, not directly provided by or to the industrial devices. As a result, storage capacity and / or computing capacity on the device or multiple devices can be saved when necessary, which can be conducive to more cost-effective and / or resource-saving production. Accordingly, the corresponding services can be provided centrally, that is, for multiple devices, by nodes in another network, for example. In addition, the provision of these services can be dynamically transferred to other nodes. In particular, if this transfer is performed "transparently", it may only be necessary to update the routing table or the like at a single node, rather than at all nodes that use the relevant service as already described.
[0129] Although exemplary embodiments have been described in the foregoing description, it should be noted that a variety of modifications are possible. It should also be noted that these exemplary embodiments are merely examples and should not constitute any limitation on the scope of protection, application and configuration. On the contrary, the foregoing description can provide a person skilled in the art with a teaching for converting at least one exemplary embodiment, wherein various changes, in particular with respect to the functions and arrangements of the components, can be implemented without departing from the scope of protection of the present invention, such as can be obtained according to the claims and equivalent feature combinations.
[0130] Reference numerals list
[0131] 1-4 Node / Identifier
[0132] C, D, F, K, S, T Node / Identifier
[0133] KI Network (Robot manufacturer's intranet)
[0134] CL-C, CL-S (Cloud) Network
[0135] CD, CF, CT (customer) network
[0136] 10-13 nodes
[0137] 20-21 nodes
[0138] 30-32 nodes
[0139] 40-41 nodes
[0140] 50 Overall Network
[0141] 100-103 Method steps.
Claims
1. A method for establishing a communication connection between a first node (11) in a first of at least two networks and a second node (31) in a second of the at least two networks, wherein at least one of the first and second nodes (11, 31) is an automatable industrial device or an automatable industrial device or a controller thereof, in, The at least two networks each individually form a homogeneous address space, wherein the at least two networks do not together form a homogeneous address space, Wherein, the method comprises the following steps: sending (101) a call for establishing a communication connection between said first node and said second node, wherein said call comprises routing path information (10 / 20 / 30 / 31) indicating a routing path from said first node (11) to said second node (31), wherein said routing path information (10 / 20 / 30 / 31) comprises an identifier (10, 20, 30, 31) of each network or node to be traversed on said routing path, but does not necessarily comprise an identifier of said first network; and establishing (102) a communication connection between the first node (11) and the second node (31) based on the routing path information (10 / 20 / 30 / 31), wherein the call further comprises a connection identifier; wherein the communication connection between the first node (11) and the second node (31) comprises at least two messages; wherein all messages of the communication connection between the first node (11) and the second node (31) contain the connection identifier; wherein at least a portion of the connection identifier is randomly generated or assigned by the first node (11); Wherein, when the connection identifiers of the first and second calls are consistent or the routing paths of the first and second calls pass through the same node (20), the second call is rejected and / or a new connection identifier is generated or allocated for the second call.
2. The method according to claim 1, wherein: The routing path information (10 / 20 / 30 / 31) includes an identifier of the second node (31).
3. The method according to claim 1, wherein: For each node on the routing path between the first node (11) and the second node (31) or a call in the storage device, the associated connection identifier and the node identifier of the preceding node and the node identifier of the succeeding node are stored, wherein the leading node is a node located on the routing path in the direction of the first node (11), and The successor node is a node located on the routing path in the direction of the second node (31).
4. The method according to claim 3, wherein: The predecessor node is a node located directly adjacent to the first node (11) on the routing path, and wherein the successor node is a node located directly adjacent to the second node (31) on the routing path.
5. The method according to claim 1, wherein: The routing path information (10 / 20 / 30 / 31) of the call and the associated connection identifier are included in the Origination message.
6. The method according to claim 5, wherein: The message following the initiation message of the call contains the relevant connection identifier but does not contain the routing path information (10 / 20 / 30 / 31), The message following the start message is routed according to a node identifier stored in a node in a routing path between the first node (11) and the second node (31) or in a related storage device.
7. The method according to claim 3, wherein: When a call in a node located on a routing path between the first node (11) and the second node (31) or in a related storage device ends, the stored related connection identifier and / or the stored node identifier of the leading node and / or the stored node identifier of the successor node are deactivated.
8. The method according to claim 3, wherein: When a call in a node located on a routing path between the first node (11) and the second node (31) or in a related storage device ends, the stored related connection identifier and / or the stored node identifier of the leading node and / or the stored node identifier of the successor node are deleted.
9. The method according to claim 1, wherein: The communication connection is a bidirectional communication connection.
10. The method according to any one of claims 1 to 9, further comprising: Before sending the call, the first node (11) sends an initial call, wherein the initial call does not contain routing path information or only contains incomplete routing path information, wherein the routing path information (10 / 20 / 30 / 31) required for the call can be determined based on the initial call.
11. The method according to claim 10, wherein the routing path information (10 / 20 / 30 / 31) required for the call is determined by a node different from the first node (11).
12. The method according to claim 10, wherein the routing path information (10 / 20 / 30 / 31) required for the call is determined by means of an assignment relationship between information contained in the initial call and the routing path information (10 / 20 / 30 / 31).
13. The method according to any one of claims 1 to 9, further comprising: In case the call or the communication connection is not authorized, the call is rejected.
14. The method according to claim 13, wherein: A call is rejected at a node located on a routing path between the first node (11) and the second node (31).
15. The method according to any one of claims 1 to 9, wherein: At least one of the first and second nodes (11, 31) is an autonomous transport device, a fixed or mobile manipulator, a fixed or mobile manipulator unit or a controller therefor, or a combination of two or more thereof.
16. The method according to claim 15, wherein: The fixed or mobile manipulator or the fixed or mobile manipulator unit is a fixed or mobile robot or a fixed or mobile robot unit.
17. A machine-readable carrier having stored thereon a program code of a computer program, said computer program executing the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Hierarchical access control method of communication network
CN101272395A
Methods, nodes and system for establishing independent network paths
CN108463975A
Method for operating communication devices within an industrial automation system and communication device
EP3142334A1
Internet friendly proxy server extending legacy software connectivity
US20070074280A1
Method and system for acquiring a transmission path of an sip message
US20090204715A1
