US 11,928,049 B2
Blockchain system for source code testing and script generation with artificial intelligence
Obi Reddy Yanamala, Hyderabad (IN); Kumaresan Karuppiah, Chennai (IN); Vinay Jaisinghani, Navi Mumbai (IN); Ravi Ranjan Shandilya, Hyderabad (IN); and Samson Paulraj, Hyderabad (IN)
Assigned to Bank of America Corporation, Charlotte, NC (US)
Filed by Bank of America Corporation, Charlotte, NC (US)
Filed on May 10, 2021, as Appl. No. 17/315,745.
Prior Publication US 2022/0358030 A1, Nov. 10, 2022
Int. Cl. G06F 11/36 (2006.01); G06F 8/65 (2018.01); G06F 16/27 (2019.01); G06F 21/60 (2013.01); G06N 5/04 (2023.01); H04L 9/32 (2006.01); H04L 9/00 (2022.01)
CPC G06F 11/3684 (2013.01) [G06F 8/65 (2013.01); G06F 11/3664 (2013.01); G06F 16/27 (2019.01); G06F 21/604 (2013.01); G06N 5/04 (2013.01); H04L 9/3239 (2013.01); G06F 11/3688 (2013.01); H04L 9/50 (2022.05)] 18 Claims
OG exemplary drawing
 
1. A system for validating and updating scripts associated with a plurality of software components of a software application, the system comprising:
a user computing device comprising at least one first processor and a memory storing first computer-readable instructions that, when executed by the at least one first processor, cause the user computing device to:
receive user input comprising a script associated with a software component of the plurality of software components; and
send the script to a plurality of nodes of a peer-to-peer (P2P) network and an ordering server;
a node, of the plurality of nodes of the P2P network, comprising at least one second processor and a memory storing second computer-readable instructions that, when executed by the at least one second processor, cause the node to send an endorsement response for the script, wherein the plurality of nodes are associated with corresponding local copies of a blockchain and local copies of a world state;
the ordering server comprising at least one third processor and a memory storing third computer-readable instructions that, when executed by the at least one third processor, cause the ordering server to:
receive, from the plurality of nodes of the P2P network, endorsement responses;
generate a new block for addition to the local copies of the blockchain, wherein generating the new block comprises:
generating a hash value based on the script, the endorsement responses, and an immediately preceding block hash in the blockchain, and
generating the new block, wherein the new block comprises the script, the endorsement responses, the generated hash value, and the immediately preceding block hash in the blockchain; and
send, to the plurality of nodes of the P2P network, the new block for addition to corresponding local copies of the blockchain and for updating the local copies of the world state to indicate the script; and
a cognitive analytical system comprising a centralized data store, a dynamic script modifier, an artificial intelligence module, and at least one fourth processor and a memory storing fourth computer-readable instructions that, when executed by the at least one fourth processor, cause the cognitive analytical system to:
query the world state to determine whether the world state indicates the script; and
based on the world state indicating the script, add the script to the centralized data store, or modify the script via the dynamic script modifier and the artificial intelligence module and add the modified script to the centralized data store;
wherein the third computer-readable instructions, when executed by the at least one third processor, further cause the ordering server to:
generate, based on the script being added to the centralized data store, one or more test scripts for one or more software components of the plurality of software components;
generate a second block, wherein the second block comprises the one or more test scripts; and
send, to the plurality of nodes of the P2P network, the second block.