Automated closed-loop actions in a network using a distributed ledger
Disclosed herein are system, method, and computer program product embodiments for analyzing a network. An embodiment operates by a third-party component deriving network data based on a received data packet from a network component configured to perform a network function. The third-party component orders a transaction including second network data from a distributed ledger. The third-party component determines that the first and second network data meet or exceed a condition of a smart contract comprising the condition and an associated network action related to the network function. The third-party component sends the condition of the smart contract and the first and second network data to another third-party component. The third-party component receives a validation that the first and second network data meet or exceed the first condition of the first smart contract and performing the first network action on the network.
1. A method, comprising:
receiving, by a third-party component from a network component, a copy of a first data packet related to a user component in a network;
deriving, by the third-party component from the copy of the first data packet, first network data based on header contents of the first data packet;
ordering, by the third-party component from a distributed ledger, a transaction relating to the first network data, wherein the transaction comprises second network data derived from a previous data packet;
determining, by the third-party component, that the first and second network data meet or exceed a first condition of a first smart contract that comprises the first condition and an associated first network action, wherein the associated first network action is related to a first network function of the network component;
sending, by the third-party component, the first condition of the first smart contract and the first and second network data of the first data packet to another third-party component;
receiving, by the third-party component from the other third-party component, a validation that the first and second network data meet or exceed the first condition of the first smart contract; and
performing the associated first network action on the network.
2. The method of claim 1 , further comprising:
identifying, by the third-party component, the first smart contract based on one or more of the first network data and the first network function.
3. The method of claim 2 , wherein identifying the first smart contract comprises:
identifying the first smart contract among the first smart contract and a second smart contract based on the first and second network data, wherein the second smart contract comprises a second condition and an associated second network action.
4. The method of claim 1 , further comprising:
storing, by the third-party component, the first smart contract at the third-party component or on the distributed ledger.
5. The method of claim 1 , wherein at least one of the network components and the third-party components is located at an edge of the network.
6. The method of claim 1 , wherein at least one of the network components and the third-party components is located at a center of the network.
7. The method of claim 1 , wherein the network function comprises performing a corrective action or a preventive action in response to the first and second network data.
8. The method of claim 7 , wherein the corrective action or the preventive action relates to application scaling for one or more user devices or cost optimization for the network.
9. The method of claim 1 , wherein determining that the first and second network data meet or exceed the first condition comprises determining whether a network usage per user or a group of users meet or exceed a predetermined threshold.
10. The method of claim 1 , wherein performing the associated first network action comprises scaling up one or more edge computing network components.
11. A system, comprising:
a memory; and
a processor coupled to the memory and configured to:
receive, from a network component, a copy of a first data packet related to a user component in a network;
derive from the copy of the first data packet, first network data based on header contents of the first data packet;
order, from a distributed ledger, a transaction relating to the first network data, wherein the transaction comprises a second network data derived from a previous data packet;
determine that the first and second network data meet or exceed a first condition of a first smart contract that comprises the first condition and an associated first network action, wherein the associated first network action is related to a first network function of the network component;
send the first condition of the first smart contract and the first and second network data of the first data packet to a third-party component;
receive, from the third-party component, a validation that the first and second network data meet or exceed the first condition of the first smart contract; and
performing the associated first network action on the network.
12. The system of claim 11 , wherein the processor is further configured to:
identify the first smart contract based on one or more of the first network data and the first network function.
13. The system of claim 12 , wherein, to identify the first smart contract, the processor is configured to:
identify the first smart contract among the first smart contract and the second smart contract based on the first and second network data, wherein the second smart contract comprises a second condition and an associated second network action.
14. The system of claim 11 , wherein the processor is further configured to:
store the first smart contract at the third-party component or on the distributed ledger.
15. The system of claim 11 , wherein at least one of the network components and the processor is located at an edge of the network.
16. The system of claim 11 , wherein the network function comprises performing a corrective action or a preventive action in response to the first and second network data.
17. The system of claim 16 , wherein the corrective action or the preventive action relates to application scaling for one or more user devices or cost optimization for the network.
18. A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
receiving, by a third-party component from a network component, a copy of a first data packet related to a user component in a network;
deriving, by the third-party component from the copy of the first data packet, first network data based on header contents of the first data packet;
ordering, by the third-party component from a distributed ledger, a transaction relating to the first network data, wherein the transaction comprises a second network data derived from a previous data packet;
determining, by the third-party component, that the first and second network data meet or exceed a first condition of a first smart contract that comprises the first condition and an associated first network action, wherein the associated first network action is related to a first network function of the network component:
sending, by the third-party component, the first condition of the first smart contract and the first and second network data of the first data packet to another third-party component;
receiving, by the third-party component from the other third-party component, a validation that the first and second network data meet or exceed the first condition of the first smart contract; and
performing the associated first network action on the network.
19. The non-transitory computer-readable device of claim 18 , wherein the instructions, when executed by the at least one computing device, cause the at least one computing device to perform an operation comprising:
storing, by the third-party component, the first smart contract at the third-party component or on the distributed ledger.
20. The non-transitory computer-readable device of claim 18 , wherein at least one of the network component and the third-party component is located at an edge of the network.