DEVICE AND METHOD FOR SETTING UP AND / OR PROVIDING A WORK ENVIRONMENT, IN PARTICULARLY USED IN A MACHINE ECONOMY ENVIRONMENT
Patent Information
- Application Number
- DE502018015111
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2018-06-14
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2038-06-14
AI Technical Summary
In the context of Industry 4.0 and machine economy, existing solutions do not adequately address the need for secure and flexible resource allocation and communication infrastructure to ensure reliable execution of smart contracts and tasks between autonomous entities, particularly in scenarios where radio transmission may be disturbed or interrupted.
A control device and method that utilizes a blockchain-based distributed database to manage and allocate resources, set up a working environment, and execute tasks, ensuring secure and flexible resource distribution and communication by matching requested resources with agreed-upon blockchain-stored agreements, and includes a monitoring unit to log and store parameters for task execution and billing purposes.
Enables secure, decentralized, and efficient resource allocation and communication, ensuring task completion and resource release while protecting against manipulation, with optional billing and triggering of additional smart contracts, thus enhancing the reliability of machine interactions in Industry 4.0 environments.
Description
[0001] The invention relates to a device and method for setting up and / or providing a working environment, in particular used in a machine economy environment.
[0002] There is a need to use IT security mechanisms to protect products, such as devices (e.g., control units, Internet of Things (IoT) devices), device components, or software components, as well as machines, machine tools, or even robots or robot-controlled components, from manipulation and / or reverse engineering. Cryptographic IT security mechanisms are already in use, for example, in smart devices, such as Internet of Things (IoT) devices, cyber-physical systems, automation systems in energy technology, manufacturing systems, operational technology, and other systems.
[0003] In this description, "tamper-proof" goes beyond the term "security." This not only involves the use of the aforementioned cryptographic and security methods, but also reliably safeguards data transmission against external attacks or unauthorized access.
[0004] The term "security" or "safety" in this description essentially refers to the security or protection, confidentiality, and / or integrity of data and its transmission, as well as the security, confidentiality, and / or integrity of access to corresponding data. Authentication during data transmission or data access also falls within the term "security" as used in this description. A module of a device or component can be defined as a hardware and / or functional unit, which can be implemented as software and / or firmware. The function can be executed, for example, by means of a processor and / or a memory unit for storing program instructions.
[0005] Industrial devices, such as control units, field devices, IoT devices, or IoT gateways, use a variety of cryptographic keys, e.g., to authenticate themselves, to protect the integrity of stored data and program code, to check and decrypt firmware updates, and to protect the integrity and, if necessary, the confidentiality of project planning and configuration data. To transfer data, especially control data, these devices can be equipped with a data interface that can be designed and configured as a wired or wireless interface, e.g., a WLAN, Bluetooth, or NFC (Near Field Communication) interface. Using this data interface, the device can be connected to a network or communicate with other devices.
[0006] Other wireless or radio-based transmission technologies can be used here (e.g. Safety over WLAN such as ProfiSafe, WiMax, Cloud Robotics, GSM, UMTS, LTE, 5G, Vehicle-2-X Communication, etc.).
[0007] In a "machine economy," which will be used particularly in the context of Industry 4.0, services are offered to autonomous entities, whereby the conditions and agreement for a service can be negotiated and defined through so-called smart contracts (intelligent consensus or intelligent consensus contract). Distributed databases exist. For the entities using the distributed database, a common, binding business logic can be distributed and / or centrally stored, which can encompass the negotiated and binding conditions between the entities or their agreement. "Binding" can be understood as a period of time within which the conditions are valid or for which the agreement applies.In the present context, business logic does not mean a purely economic consensus between the entities. Rather, the business logic requires one or more agreements from the participating entities, preferably regarding at least one stated technical requirement or prerequisite or condition – e.g., resource requirements or technical components to be provided or compliance with technical standards or use of specific protocols. These agreements should be designed in a way that cannot be manipulated. A special type of distributed database, or distributed ledger, is organized on the basis of blockchain technology. Such smart contracts can enforce conditions or agreements on the participating entities in a decentralized manner.
[0008] A block chain or blockchain is generally understood to be a distributed database whose integrity (protection against subsequent manipulation) is ensured by storing the one-way function value, also called the hash value, of the previous data set or block or link in the subsequent one, i.e. by cryptographic chaining. Protection is provided by a majority of trustworthy nodes in a blockchain network, which carry out what is known as mining or validating blocks. In the network of nodes participating in a blockchain, a new block is created at regular intervals, for example every 10 minutes, and the hash value of an existing block is also stored. Once transactions appear in the chain, they can no longer be changed unnoticed.A so-called "oracle" can be used to introduce customized / modified data from other sources into a smart contract, which can lead to a specific behavior of the smart contract. The sequence of all transactions stored in the blockchain can be referred to as the blockchain's "ledger." One type of blockchain is an out-of-band blockchain or a hybrid form, in which some of the blockchain nodes communicate with each other in-band and some of the blockchain nodes communicate with each other out-of-band. Out-of-band communication refers in particular to communication over a public network and / or communication over a network that is different from the network mentioned above.
[0009] Well-known blockchain systems are Bitcoin and Ethereum. While Bitcoin was originally created for cryptocurrency transfers, Ethereum is built on the integration of smart contracts. The implementation of the contractual terms and agreements is controlled via the corresponding transactions: Follow-up actions specified in a programmed smart contract can be executed depending on the transaction. By implementing business logic as smart contracts in a blockchain environment, the execution of the business logic initiated by a signed transaction is guaranteed to be immutable and tamper-proof.
[0010] A possible solution to secure the data exchange between two units or devices, especially in the context of an SDN controller, using a blockchain has already been proposed in DE 102017217057.3.
[0011] In addition, EP 18173595.2 has already proposed a control device for operating a software-defined network with a number of network elements, wherein the network image published in a ledger of a blockchain makes it possible to compare the network image of the control device with a network image of another control device.
[0012] From WO 2017 / 021155 A1, a controlled resource distribution in a distributed computing environment is known, which relates only to the computer resource distribution, but does not refer to the task execution of factory machines.
[0013] Once a consensus has been reached between two autonomous units (e.g., two factory machines from two different manufacturers or companies), it is necessary to set up and configure the communication infrastructure (IT) and runtime environment (OT) in order to manage the execution of the agreed transaction and to guarantee its timely execution. Bitcoin, as mentioned above, uses a relatively simple stack-based runtime environment. A transaction includes the checksum to verify the validity of the transaction. The Ethereum blockchain platform, as mentioned above, supports a freely programmable runtime environment, allowing the program code of a blockchain to be implemented flexibly. For example, business logic is stored as program code in the blockchain. In this sense, the transaction to be executed is stored as a transaction record in a (chain) link of the blockchain. Further blockchain implementations are possible, for example:Hyperledger is possible. Hyperledger supports a freely programmable runtime environment for executing smart contracts.
[0014] The solutions mentioned provide purely structural environments for executing smart contracts. However, they do not cover the operational part and the execution itself.
[0015] In most Industry 4.0 scenarios, there is a need to enable and implement flexible resource allocation during system or plant operation. An integrated solution for consistent and efficient resource allocation and distribution is also necessary with regard to cloud, edge cloud, and / or industrial edge cloud.
[0016] There is a need for reliable communication for wireless transmission of control data and additional data used for control purposes. It must be assumed that the wireless transmission may be temporarily disrupted or interrupted.
[0017] It is the object of the present invention to improve methods and devices compared to the above-mentioned prior art, particularly in the field of machine interactions.
[0018] This object is achieved by the features specified in the independent claims. Advantageous developments of the invention are presented in the dependent claims.
[0019] The invention claims a control device for setting up and / or providing a working environment comprising at least one execution unit for executing at least one task, comprising: a resource management unit for requesting resources necessary for the work environment, a comparison unit which is configured to compare the requested resources with at least one resource agreed in a binding agreement stored in a distributed database and to approve them depending on the comparison result, wherein the control device is configured to set up and / or provide the work environment with at least one matched and approved resource.
[0020] The distributed database is preferably organized as a blockchain. One or more such agreements can be designed or implemented as smart contracts on at least one blockchain.
[0021] The work environment can be a virtual work environment, meaning it is only "logically" or functionally modeled on a physical work environment. It is conceivable that there are multiple blockchain structures for an overall agreement between the aforementioned entities. In this case, this agreement is organized into multiple smart contracts or complementary states of a smart contract in order to find or form consensus.
[0022] The execution unit can be configured to execute the at least one task after setting up and / or providing the working environment.
[0023] In the context of the invention, "providing" can mean, for example, setting up, loading, and / or saving the working environment from a data storage medium or platform. Setting up, loading, and / or saving is typically accomplished by one or more computer programs in software or firmware.
[0024] In addition, the execution unit can be configured to coordinate the check for complete task completion by one or more units involved in the work environment. The final state for complete task completion can then be defined in a smart contract. This final state can then be passed on to other units.
[0025] The control device can be configured to initiate a release of the said resources and / or to carry out this release itself.
[0026] The execution unit can also have a monitoring unit configured to log the parameters required to execute the at least one task and, if necessary, store them in the blockchain or in multiple blockchains. The monitoring unit or component, for example, implemented as part of support services for (factory) task execution, can be integrated into the execution infrastructure to track various parameters and store them in the blockchain. This can be used, for example, for later billing or as input parameters for further smart contract negotiations or agreements, but can also trigger other smart contracts during task execution (as a side effect).
[0027] In a further embodiment of the invention, one or more infrastructure providers for the execution environment can involve additional entities in the negotiation of the smart contract for task execution. The agreement then encompasses not only the offer and use of a service (e.g., a manufacturing step), but also the delivery of the execution unit or an execution infrastructure corresponding to its functionality. The participation of the infrastructure providers in the contract negotiation then also includes the resource allocation for a jointly shared or used infrastructure, which then forms part of a consensus mechanism.
[0028] A further aspect of the invention is a method for setting up and / or providing a working environment for performing at least one task, comprising the following steps: Requesting resources necessary for the work environment, comparing the requested resources with at least one resource agreed in a binding agreement stored in a distributed database and allowing this resource depending on the comparison result, whereby setting up and / or providing the work environment with at least one compared and approved resource.
[0029] After setting up and / or providing the work environment, a fee can be charged for the permitted resources. This can vary depending on the device / system setup and the business model.
[0030] The invention has the following advantages: Human-machine or machine-machine interactions are enabled by the physical and / or virtual infrastructure through agreements. (Virtual) work environments are created and delivered during the lifetime of the system or facility, with agreements automatically adhered to and decentralized, defined by agreement(s). Resource allocation is securely guaranteed and protected, with optional charging for allocated resources.
[0031] Furthermore, a computer program (product) comprising program code is provided that can be executed by at least one processor and that causes the at least one processor to carry out the method according to the invention and its embodiments. The computer program can run on a program-controlled device or device of the type mentioned above or initiate the implementation of the method according to the invention, or it can be stored as a computer program product on a computer-readable medium.
[0032] Additionally, a variant of the computer program (product) may include program instructions for configuring a creation device, such as a 3D printer, a computer system, or a manufacturing machine suitable for creating processors and / or devices.
[0033] The method and computer program(s) can be designed according to the further developments / embodiments of the aforementioned device or apparatus and their further developments / embodiments.
[0034] The above-described properties, features, and advantages of this invention, as well as the manner in which they are achieved, will become clearer and more readily understood in connection with the following description of the exemplary embodiments, which are explained in more detail in conjunction with the figures. In this schematic representation: Figure 1 shows schematically a machine economy environment, Figure 2 shows an inventive process for setting up a work environment.
[0035] An inventive aspect is based on a dynamic and on demand setup of a trusted and agreed task, e.g. in Figure 1An execution infrastructure for Smart Contacts SC, designated CT (cooperation task), implemented using blockchain technology in a machine economy environment. Independent (i.e., different manufacturers or suppliers) entities, such as factory machines or devices D1 to D4, provide and use services autonomously or semi-autonomously among themselves and negotiate, fulfill, and document agreements / contracts using a distributed ledger DL, which is characterized by blockchain technology. Figure 1An example of such a machine economy environment is shown. Blockchain nodes BC are indicated in the distributed ledger. The machines here are, for example, an autonomous transport vehicle TP, which includes a task management module TM and is connected to or equipped with a mobile communication device CD1. Another machine is, for example, a mobile robot MR, which also has a task management module TM and a communication device CD2.
[0036] In order to fulfill the collaborative task, which is controlled by an order management system (OM), communication via the network (NW) between the two machines (TP and MR) must be ensured and, ideally, also protected. For this purpose, a communication path (SC) or a virtual communication connection (virtual network, e.g., VLAN or SDN, possibly also VPN) is established according to the terms of the smart contract. Finally, resources must be requested for the machines that enable the setup of a working environment and ensure the execution of the collaborative task, which can include one or more production tasks or steps. The communication path is secured against manipulation and attacks with the help of the previously negotiated conditions in the smart contract and the correspondingly defined structure of the (virtual) communication network.The resources are provided by a support service, which can be provided by device D1 or a cloud (not shown). The aforementioned work environment, in this example, can include the order management unit (OM) controlling the setup of the work environment, the units (TP and MR), and the units (SC) communicating with the devices (D1, D2, D3) of the network (NW) via the communication path (SC). Resource allocation (SC, TM, CD1, CD2, D1, D2, D3) for this work environment occurs after the smart contract condition(s) stored in the distributed ledger (DL) have been met or fulfilled.
[0037] More specifically, a computer-based method sets up a working environment or infrastructure as soon as the agreement or condition resulting from the smart contract is fulfilled. Figure 2The following steps, marked with numbers 1 to 10, are carried out: Marked with 1: reaching an agreement: participating machines reach an agreement, which can be implemented as a smart contract, which is stored in a blockchain. This agreement includes parameters and required service level agreements (agreement on the scope of services) for an operational infrastructure. An agreement could, for example, be: Machine 1, in Figure 1 e.g. MR, manufactured by supplier A supports or delivers a task B, in Figure 1 e.g. CT, for machine 2, in Figure 1 e.g. TP produced by supplier C for a price D in a time window E with requirements X (e.g. machine ID), Y (e.g. communication service requirement), Z (e.g. resource requirement), in Figure 2 In step 2, for example, Z is requested to the execution infrastructure or working environment.
[0038] Marked with 2: Resource requirement: The smart contract contains infrastructure requirements to integrate infrastructure manufacturers or suppliers. Such a requirement is signed by a smart contract and includes, for example, machine identification (ID), machine signatures, communication service requirements, and requirements for a virtual workspace, such as participating resources in the form of physical or virtual units for storage, processing, or communication or connection. Communication service requirements, such as bandwidth, delay, jitter, or specific protocol requirements (e.g., Profinet IRT), can be defined as an end-to-end connection or specified by a simple (virtual) connection.If an infrastructure provider cannot confirm and / or fulfill a request, the smart contract is notified, which triggers the execution of business logic to search for an alternative provider. Each resource available in the resource pool reports its availability to the service, along with the components it can offer for the virtual workspace. This may also include requirements for the virtual workspace. If the resource provider cannot fulfill the request, the smart contract is notified.
[0039] Marked with 3: Setting up or creating a working environment: The working environment is compiled using software. It may also include hardware infrastructure and a communication connection to remote cloud elements. Participating infrastructure providers allocate resources, set up the virtual working environment, and build a virtual network according to the guaranteed resource allocations based on the signatures provided by the smart contract. The virtual working environment, with its virtual network layers, allows exclusive communication between the contracting parties according to the specifications and / or conditions in the contract. The setting up of the virtual working environment is performed during the runtime of the system, including the virtualized execution environment.If necessary, so-called containers, virtual network functions within a virtual tenant network—for example, tenant-specific access control or traffic adaptation—as well as system-level virtual network functions are used. The setup of the virtual working environment is performed by the system owner, whereby tenants or participants in the tenant network within the working environment are free to use the allocated resources according to the contract, without further intervention / configuration by the system owner. The setup process may use the infrastructure provided by the distributed ledger. This can be the immutable data storage in the distributed ledger, for example, for later audits, or cryptography elements such as public / private key infrastructure to identify or authenticate devices or to sign completed transactions or their steps.
[0040] Marked with 4: Factory task e.g. in Figure 1 called a cooperation task, which can include a manufacturing process: all machines involved use the allocated resources and carry out their factory tasks or manufacturing tasks.
[0041] Marked with 5: Check for correct and / or complete completion of the factory task: after the factory task is finished, all participating machines check for complete correct completion of the task and fulfillment of the agreement / contract by the smart contract.
[0042] Marked with 6: Final state propagation: The smart contract contains the final state to prompt the participating infrastructure providers to release resources. Marked with 7: Resource release: After being notified that the task received by the smart contract has been successfully completed, the participating infrastructure providers release resources, i.e., the virtual infrastructure and the shutdown of all units that are part of the virtual work environment. Finally, resource usage, including its signatures, is reported to the smart contract.
[0043] Marked with 8: Billing: This can be performed depending on the system structure and business model. This step is optional.
[0044] Marked with 9: Support services: Support services provide functionalities such as monitoring infrastructure usage, measuring resource utilization, receiving and processing necessary information (e.g., data usage or alarms) from the infrastructure, and maintaining infrastructure configuration and usage. Support functions can generate alarms and trigger events (e.g., in the event of an infrastructure failure or a breach of the agreement between the contracting parties) and send them to the distributed ledger.
[0045] Marked with 10: Distributed Ledger: Distributed Ledger DL (e.g., implemented as a blockchain) provides the functionality to store data and business logic (e.g., smart contracts) that is immutable in a decentralized manner for various independent participating entities or parties. These independent entities can reach consensus through the smart contract, thereby implying trust and security. This allows any data to be stored and agreements relevant to the execution of on-demand business relationships between various participating parties (e.g., agreed requirements for the execution infrastructure, execution of actions, and billing information) to be made.
[0046] Another embodiment of the invention is a monitoring unit or component (as part of the support services) for factory task execution, which is integrated into the execution infrastructure to track various parameters and store them in the distributed ledger. This can be used, for example, for later billing or input parameters for further smart contract negotiations or agreements, but can also trigger other smart contracts during task execution (as a side effect).
[0047] Although the invention has been illustrated and described in detail by the preferred embodiment, the invention is not limited to the disclosed examples and other variations may be derived therefrom by those skilled in the art without departing from the scope of the invention.
[0048] The processes or procedures described above can be implemented using instructions located on computer-readable storage media or in volatile computer memories (hereinafter collectively referred to as computer-readable memories). Computer-readable memories include, for example, volatile memories such as caches, buffers, or RAM, as well as non-volatile memories such as removable media, hard disks, etc.
[0049] The functions or steps described above can be present in the form of at least one instruction set in / on a computer-readable memory. The functions or steps are not tied to a specific instruction set or a specific form of instruction sets, a specific storage medium, a specific processor, or specific execution schemes and can be executed by software, firmware, microcode, hardware, processors, integrated circuits, etc., either alone or in any combination. A wide variety of processing strategies can be used, for example, serial processing by a single processor, multiprocessing, multitasking, parallel processing, etc.
[0050] The instructions can be stored in local memory, but it is also possible to store the instructions on a remote system and access them via the network.
[0051] The term "processor," "central signal processing," "control unit," or "data evaluation means," as used herein, encompasses processing means in the broadest sense, such as servers, general-purpose processors, graphics processors, digital signal processors, application-specific integrated circuits (ASICs), programmable logic circuits such as FPGAs, discrete analog or digital circuits, and any combination thereof, including all other processing means known to those skilled in the art or developed in the future. Processors may consist of one or more devices, units, or devices. If a processor consists of multiple devices, these devices may be designed or configured for parallel or sequential processing or execution of instructions.
Claims
1. Control device (OM) for setting up and / or providing a work environment that comprises at least one performance unit (TM) for performing at least one factory task (CT) using machines (D1, D2, D3, D4, TP, MR), comprising: - a resource management unit for requesting resources needed for the work environment, - a comparison unit configured to compare the requested resources with at least one resource agreed in a binding agreement stored in a distributed database (DL) and to approve said resources on the basis of the comparison result, wherein - the control device (OM) is configured to set up and / or provide the work environment using at least one compared and approved resource, the resources being provided from a resource pool comprising units for storage, processing or communication; wherein the at least one performance unit (TM) is configured to follow setup and / or provision of the work environment by the control device (OM) by using the at least one compared and approved resource and performing the at least one factory task (CT); and wherein the control device is configured to instigate a release of said resources and / or to perform said release itself, characterized in that: the at least one performance unit (TM) is configured to coordinate the check for correct and / or entire factory task completion by one or more machines (D1, D2, D3, D4, TP, MR) involved in the work environment, and the control device (OM) is configured to look for an alternative supplier if an infrastructure supplier is unable to confirm and / or meet a requirement included in the agreement.
2. Control device (OM) according to Claim 1, characterized in that the agreement is embodied as a smart contract stored in one or more blockchains (DL).
3. Control device (OM) according to either of the preceding claims, characterized in that the at least one performance unit also has a monitoring unit configured to log the parameters needed for performing the at least one task (CT) and if necessary to store said parameters in the blockchain (DL).
4. Method for setting up and / or providing a work environment for performing at least one factory task (CT) using machines (D1, D2, D3, D4, TP, MR), comprising the following steps: - requesting (2) resources needed for the work environment from a resource pool comprising units for storage, processing or communication, - comparing the requested resources with at least one resource agreed in a binding agreement stored in a distributed database (DL) and approving said resources on the basis of the comparison result, - setting up and / or providing (3) the work environment using at least one compared and approved resource, - following setup and / or provision of the work environment by using the at least one compared and approved resource and performing (4) the at least one task (CT); - coordinating the check (4) for correct and / or entire factory task completion by one or more machines (D1, D2, D3, D4, TP, MR) involved in the work environment; - instigating (7) and / or performing a release (7) of said resources and instigating a search for an alternative supplier if an infrastructure supplier is unable to confirm and / or meet a requirement included in the agreement.
5. Method according to one of the preceding method claims, characterized in that the agreement is embodied as a smart contract stored in one or more blockchains.
6. Method according to either of the preceding method claims, characterized in that the parameters needed for performing the at least one task (CT) are logged and if necessary stored in the blockchain (DL).
7. Method according to one of the preceding method claims, characterized in that setup and / or provision of the work environment is followed by billing (8) for the approved resources being performed.
8. Computer program product that instigates performance of the method according to one of the preceding method claims on a program-controlled device, in particular the control device according to one of the preceding device claims.
9. Computer program product according to Claim 8, wherein the program-controlled device is a control device according to one of the preceding device claims.
