Abstract
E-commerce, often known as electronic commerce, is the purchasing and selling of goods over the internet using electronic devices to share data. Banks and other financial institutions are frequently added as third-party platforms to traditional e-commerce platforms. As a result, it raises issues with integrity and cyber security. We suggest a deep learning-based strategy called the Hybrid Interactive Autodidactic School-Based Teaching-Learning Optimization (HIASTLO) algorithm to address these issues. The IoT-based e-commerce blockchain is used to extract and reject the various cyberattacks in the network, and deep learning is utilised to improve the weight and bias of the neural networks. We used a variety of performance indicators, including accuracy, precision, and recall, to identify cyberattacks. We also evaluated how well our work performed when compared to previous BSIoTNET, BCFC, DRNN, DNN-KNN, MOO-FS, LRNN, and HDLM efforts. Furthermore, MudraChain and NormaChain are used to examine the transaction time of our suggested task. The results show that our suggested work performs better than any other methods and offers highly secure internet services.
Introduction
The global business community has experienced an immediate expansion of electronic commerce as a result of the advent of globalisation in economics and communication technology [1]. E-commerce is the practise of conducting business using electronic media and the internet. As a result, traditional business practises have been fundamentally altered. Additionally, it reduces pollutants, which has a big effect on the environment. E-commerce is typically conducted through a website gateway, which makes use of the electronic shopping cart system and allows customers to pay with credit cards, debit cards, or EFT (Electronic Fund Transfer) systems [2]. Trust between suppliers and customers are crucial and extremely significant in the world of e-commerce.
With the advent of fifth-generation (5 G) technology, numerous IoT applications have recently been developed to improve the Quality of Service (QoS) and user experience, including smart transportation, healthcare, and virtual and augmented reality experiences. Reduced latency, increased system capacity, high data rates, and energy efficiency are just a few of the distinctive qualities that the 5G-enabled IoT revolution enables. However, such a revolution also results in a significant increase in data generation, which further increases the need for sophisticated and efficient network-wide data analytic operations. Data security and privacy issues, like as breaches and the loss of sensitive data, are also exacerbated by data growth. The requirements of a 5G-enabled IoT, particularly its distinct characteristics of low latency and high throughput, are not satisfied by standard data analysis and security methods.
Recently, IoT-based e-commerce platforms with a collection of dispersed, tiny IoT devices have been formed. These dispersed devices need to be managed by a structure. Thanks to blockchain technology, it is now possible. Nothing more than distributed data made up of several transaction records can be called blockchain. These records are linked together by several chains [3]. By organising the IoT’s distributed devices and fostering trust, blockchain solutions use more secure cryptographic methods. Utilizing the hash-connected chain data structure of the blockchain also allows for complete data integrity. By restricting access to just authorised users, it also provides high-level confidentiality protection for transactional information. The authorization is recognised by providing a time-sensitive unique key that immediately disables the system when the duration runs out. However, blockchain technology does not need a central authority because it uses decentralised computation [4].
In order to oversee the security of the user’s transaction information, some regulators are also required to develop the decryption procedure. It can protect transaction data and thwart unauthorised attacks. Some systems also work around this problem by storing the data in plaintext, although doing so compromises user privacy and the security that was promised. It is essential to keep track of transaction records and to protect those using encrypted keys. Therefore, a deep learning approach called the Hybrid Interactive Autodidactic School-Based Teaching and Learning Optimization (HIASTLO) algorithm was proposed.
The significance of our work is described here. In IoT-based e-commerce applications, our suggested blockchain is utilised to detect cyberattacks such self-serving mining attacks, DDoS attacks, poisoning attacks, Sybil attacks, and impersonation attacks. It protects the network’s IoT-based e-data commerce’s integrity. Cyberattacks can be quantified using performance indicators including recall, accuracy, and precision. The deep learning neural network’s weight and bias are improved with the help of the HIASTLO optimization algorithm.
The remainder of the work is organized as Section 2 deliberates the background of our work. Section 3 elaborates on the deep learning optimization model of our work. The proposed work is explained in Section 4 and the simulation results and the comparative analysis are listed in section 5. Finally, we concluded the proposed work in Section 6.
Related works
BlockSecIoTNet, a decentralised security architecture based on Software Defined Networking (SDN), was introduced by Rathore et al. [5] for IoT networks in the smart city. Three key strategies efficiently identify IoT network assaults. They are SDN, Blockchain, and Fog and mobile edge computing. Compared to other methods already in use, this method achieved faster detection times with higher accuracy. Malomo et al. [6] proposed the idea of a blockchain-enabled federated cloud to identify cybersecurity risks. Through the use of the Dempster-Shafer theory, the breach detection gap (BDG) is reduced, necessitating constant monitoring and analysis of network data. Last but not least, the federated cloud framework powered by blockchain surpassed traditional methods with greater results..
Almiani et al. [7] presented the Deep Recurrent Neural Network (DRNN) for IoT intrusion detection systems. Multi-layered recurrent neural networks are created for Fog computing security. Cohen’s Kappa coefficients and Mathew correlation measures are used to assess the effectiveness of DRNN in identifying attacks. This effectively proves the stability and resilience of simulation. Recursive neural networks are effectively used to tweak the hyperparameters in order to improve intrusion detection. The investigations into the U2 R, R2 L, and Probe attacks are completed. De Souza et al. [8] presented the Deep Neural Networks (DNN) and k-Nearest Neighbor (kNN) technique for intrusion detection in fog-based IoT environments. The CICIDS2017 and NSL-KDD databases do the experimental validations. The accuracy of the NSL-KDD and CICIDS2017 datasets was 99.77 percent and 99.85 percent, respectively. Finally, the reduced overhead is achieved with the least amount of processing and memory cost, but it requires a longer execution time.
Verma et al. [9] suggested machine learning classification algorithms to protect the IoT from DoS assaults. Utilizing the NSL-KDD UNSWNB15 and CIDDS-001 datasets with prominent metrics, the classifier’s performance is evaluated. In terms of response time, Raspberry Pi is used to validate the IoT-specific hardware classifiers. Extreme gradient boosting and trees outperformed superior response time and important metric trade-offs. For detecting routing attacks in IoT networks, this machine-learning categorization is not appropriate. Roopak et al. [10] presented the multi-objective optimization-based feature selection (FS) model (MOO-FS) to identify DoS attacks in IoT. With the help of the feature selection model, the performance of intrusion detection is enhanced while dimensionality is decreased. The optimization model successfully improves the data that may be deceptive in terms of attack detection, such as accuracy and relevance. The MOO-FS had a 99.9% accuracy rate when detecting DDoS attacks.
Latif et al. [11] introduced the Lightweight Random Neural Network (LRNN) for Industrial Internet of Things attack detection (IIoT). The LRNN approach foresees a variety of cybersecurity assaults, including as denial of service, malicious control, scanning, surveillance, and data type probing (DoS). In addition, LRNN outperforms other approaches including decision trees, support vector machines, and conventional artificial neural networks in terms of F1 score, recall, precision, and accuracy for intrusion detection. A Hybrid deep learning model for Botnet Attack Detection in IoT was proposed by Popoola et al. [12]. The Long Short-Term Memory Autoencoder (LAE) reduces the dimensionality of the large-scale IoT network traffic data during the encoding step. Zhou et al. (2017) [20] proposed the efficiency of resource sharing and optimal allocation in CMfg systems that are impacted by the service composition with the best overall quality of service (QoS). However, there are still certain restrictions on how to compose manufacturing services, particularly in the complex cloud environment. Dorri et al. (2017) [21] suggested a minimal BC-based architecture for the Internet of Things, which mostly does away with the overheads of traditional BC while retaining the majority of its security and privacy benefits. In order to reduce energy usage, IoT devices benefit from a private, irreversible ledger that functions similarly to BC but is centrally controlled. Shafay et al. (2022) [22] examined the significance of combining deep learning and blockchain technologies. We examine the body of research on deep learning and blockchain integration. Rathor et al. (2021) [23] suggested a Deep Learning (DL) and blockchain-enabled security architecture for intelligent, 5G-enabled IoT that makes use of DL capabilities for operations involving intelligent data analysis and blockchain for data security. Intelligent cities seek efficient and long-lasting smart solutions for government, energy, transportation, and environment issues due to the rapid growth in population. The smart city platform, which combines IoT, Big Data, and the Internet of Energy, is one of the most practical alternatives. It has a number of problems, including insufficient IoT security, difficulties maintaining and improving efficiency, higher operating costs associated with the construction of large data centres, good permeability to damage, difficulty gaining the trust of electricity internet users, rapid leakage of consumer privacy, an unacceptable business model, etc. One of today’s most revolutionary technologies is blockchain. Numerous towns all over the world are initiating blockchain initiatives as part of the wider endeavour to build the urban future. Digital transformation has numerous potential benefits, but it also raises important concerns including data security and confidentiality. This study suggested a security architecture that makes use of smart devices and blockchain technology to offer a secure communication system in an intelligent city [24–26].
The existing methodologies are summarized in Table 1.
Summary of existing methodologies
Summary of existing methodologies
In this section, we formulate the deep learning optimization model, which is the combination of the Hybrid Interactive Autodidactic School-based Teaching Learning Optimization (HIASTLO) algorithm with deep learning. The steps involved in deep learning optimization techniques are delineated below:
Hybrid interactive autodidactic school-based teaching learning optimization (HIASTLO) algorithm
Brand-new swarm intelligence metaheuristic called the HIASTLO algorithm has been touted as an efficient method for resolving a variety of optimization problems. We can see that the degrees of teaching success of two teachers differ when they are teaching the same subject to students with the same academic status in two different courses. Their main difference is that pupils with good teachers earn greater average levels of merit performance. Additionally, when students interact with their peers, they learn. The core of HIASTLO is this instructional strategy. A mathematical model is developed and used for HIASTLO-based optimization. Teachers are chosen because they are the best learners because they are the persons in the population with the most knowledge. By imparting knowledge to the class, the instructor increases knowledge and helps students succeed academically. A teacher can enhance the level of his or her students by raising the class’s overall average achievement. The efficacy of a teacher is determined by the average knowledge level reached by the class’s students, which is influenced by both the learner and instructor quality. Finding a new, more competent instructor may be necessary to raise standards even higher when a teacher’s efforts to improve class quality fail. The mean value of the population is utilised to assess the calibre of the students. The teacher puts a lot of effort into raising the calibre of the students, but eventually they might require a different teacher who is more capable than they are. A new teacher will therefore start a brand-new teaching method. HIASTLO is a population-based method that uses individual user answers to identify the overall ideal, similar to other nature-inspired algorithms. Every member of the TLBO population is treated as a student in a class, and each student in the class has a fitness value. The teacher is the one who has the highest fitness value. The two phases of HIASTLO are the instructor phase and the learner phase. Based on its adaptability and diversity, the metaheuristic technique is referred to in a variety of categories. The IAS algorithm’s fundamental concepts are adopted by the community of self-learning students’ knowledge growth process. The grades of the students reflect their most advanced level of learning. Because of the gradual expansion of community collective knowledge, competition for the top spot is ongoing. One of the community members gains certain degrees of knowledge from the didactic performance. Knowledge expansion is facilitated by leadership rivalry, criticism, interactive conversation, self-learning, and teaching. Randomly initialise the student population as the beginning population in accordance with the IAS method. The student’s eligibility to enrol in IAS is determined by the upper and lower boundaries. The highest grade a student receives at any level qualifies them for the position of top student. The IAS optimization achieves the optimum performance while achieving the smallest cost function value. The technique for generating and evaluating student competency in the classroom is described in the following mathematical model.
Step 1: Randomly generate the first group of students for the school using N student, the number of design variables, and the following formula (Note that a school must have at least three students).
Step 2: Among the original students, award the best student with the best grade (in this case, the best grade equates to the lowest value of the cost function) the position of the new leading student.
Step 3: This lesson may enhance the school’s performance and the knowledge of the top student. The allowed range between the lower and upper boundaries of the design variables is where the new student is formed. The fourth student is chosen as the new school’s top student since she received the highest grade out of all the kids. For k = 1 : M _ student P
k
= L
b
+ r
k
(0, 1) * (U
b
- L
b
) N
k
= F (P
k
) End For f (L
s
) = min{ N }
Hence, the U b and L b are the upper and lower bound variables and the leading student is L s . The kth student is generated as P k in which the variables tend to the interval [o, 1]. Where, the kth student’s mark is Nk and the number of students is 1, M _ student.
Individual training session
The learning-directed interaction period among the leading and other students describes the individual training. Select two members from a random group of trailing students. Note the individual knowledge of the student grows in such a peer-to-peer discussion with the leader. Thereafter the individual learning session is based on their original competence that the knowledge level of the trailing students [13]. The following mathematical models formalize the individual sessions. For k = 1 : M
student
Randomly choose P
j
Where k ≠ j End For The better marks than HP
k
and HP
j
is achieved then accept
Hence, the initial and second trailing students are
Cooperative training session
Every trailing student will contain the chance to review the final session after the individual training session. The mathematical representation of the collective session is described below: For k = 1 : M _ student DD
kj
= (DD
k
* HP
k
+ DD
j
* HP
j
)/DD
k
+ DD
j
(DD
k
+ DD
j
) End For
Where, recognize
With the use of a teacher and learning phase included in the teaching-learning-based optimization (TLBO) algorithm, also known as the Hybrid Interactive Autodidactic School-based Teaching Learning Optimization (HIASTLO) algorithm, [14] the challenges facing a new student in IAS optimization are increased.
Teacher phase
Here, the entire performance of the population is improved via the teacher. The random number s lies between 0 and 1. Each subject for every student Nk has calculated the mean values. The new values Yj,k new replace the individual population Yj,k old [14]. Equation (1) calculates the new values.
Repeat the process for all populations. Calculate the fitness values of the population after updating the design variables then collect the design variables.
The student enhances themselves with the interaction between them in the learning phase. Select the two populations (u, v) randomly then compare the fitness values (f
u
, f
v
).
Calculate the new fitness values and modified the design variables. At last, select the best fitness value among the population for the present iteration. Repeat the process till the stopping criterion is met.
The wonderful biological-inspired programming paradigm is neural networks. Deep learning or deep neural network (DNN) is a powerful technique for learning in neural networks. In general, the deep learning model solves several issues in the case of natural language processing, speech recognition, and image recognition [15]. Several layers perform the deep neural networks (DNN) composes computation. Normally, the DNN consists of one input layer, two hidden layers, and one output layer with neurons, weights, bias, and activation functions. Where denotes the hidden layer outputs with L hidden layers are calculated using Equation (4).
Where, the bias and activation of k
th
neuron in the L layer is
Hence,

Deep learning with an optimization model.
BlockChain
In the cryptocurrency world blockchain is the most important as well as a confusing term. BlockChain is exploited to support the digital currency space. It was first invented by Satoshi Nakamoto in the year 2008 and was used to act as a public transaction ledger of the cryptocurrency bitcoin. Thus it averts the dependency of the central server by ignoring the double-spending problems. Basically, it is a combination of various existing methods and it contains three basic blocks; private-key cryptography shared ledger accounting and transaction details of the related network
Data pre-processing and analysis
The non-saturated data such as voice, texts, and images are collected in this stage. After that, we handle the pre-processing to extract the fitted data for further process. Convert the collected data in order to allow them in the Deep learning model in case of combining existing data properties, deleting or selecting data properties, and deleting or filling missing values. Apply the analyzed data to deep learning with optimization involving data learning using limited data, extracting inference and exploration data, mapping data, and exploring standardized data patterns. In general, a few noises with no consistency present in raw data in the data collection course, which is not appropriate for further process. But, data quality improvement with higher performance, accuracy, reliability, and quality is an important one. Hence, the data conflicts coordination, inconsistent data deletion, overlapping data elimination, and data error modification based on insight and professionalism conducts the data organization and analysis. For the development of Deep learning with optimization, enough quantity of high-quality data obtaining is complex. The proposed workflow model is delineated in Fig. 2.

Proposed workflow diagram.
In general, sufficient ground results are unable to provide with Deep learning technology, which is constrained to the passive recognition area and the operating process is not completely transparent. In this article, we have chosen five attacks namely selfish mining attack, DDoS attack, Poisoning attack, Sybil attack, and Impersonation attack. The rapid increase in IoT nodes that have insufficient security features is often prone to different types of cybersecurity attacks. This work deals with the e-commerce industry that utilizes blockchain. Even though blockchain provides integrity to different attacks, it is prone to different cybersecurity attacks listed below:
Selfish Mining attack: In this attack, the abnormal node diverts its normal behavior without suddenly revealing the details of the newly added block. It sabotages the nodes which have high processing power by giving an unequal share of rewards.
Distributed Denial of Service(DDOS): Here a hacker loads the network with a massive amount of requests to disrupt the proper functioning of the system. Blockchain-based e-commerce is also prone to DDoS attacks. In the blockchain network, the DDOS attack enables the hacker to access the confidential network that provides the e-wallet and exchange services.
Sybil attack: In this attack, the hacker hacks the e-commerce website by using different user profiles. In the blockchain-based e-commerce network, the hacker runs multiple nodes in the network. This attack prevents the blockchain from adding new blocks into the network.
Poisoning Attack: The poisoning attack is capable of injecting malicious data into the model’s training data. In the blockchain, the poisoning attack pollutes the network by adding an increased amount of malicious data at a lower cost.
Impersonation attack: In the impersonation attack, the attacker sends an email to the e-commerce website by replicating a trusted user/company to gain access to their data. They mainly attempt this attack to transfer a huge amount of money to a fraudulent account.
In the proposed work, the above-discussed cyber-attacks are handled using deep learning with an optimization algorithm that avoids the vulnerability of malignant data. Deep learning optimization requires data integrity. For sophisticated deep learning optimization, the raw data requires manual procedure and examination to secure data quality with inevitable human errors are obtained. While the deep learning optimization technique processes input data, the unexpected outputs are led due to differences between raw data, and incomplete and damaged data. With the help of processed learning data required for monitoring, the various outputs of the deep learning-based HIASTLO model are verified [16].
Apply different processing and collecting services to the deep learning optimization model. Nevertheless, the major issue is information reliability and requires a traceable, analyzed, and identified data collection environment. When the middle IoT server stops or is modulated then the central server exists to manage open data. Generally, the data availability and reliability with information degradations are occurred due to serval threats including selfish mining attacks, DDoS attacks, Poisoning attacks, Sybil attacks, and Impersonation attacks. Hence, we require IoT big data server stability, and additionally, the deep learning optimization model data offer big data in the collection course. In this article, we proposed an IoT blockchain-based deep learning optimization data management method.
Thus the security analysis of the proposed method is based on five category mentioned as follows;
“The process of establishing trust in the identification of people or information systems” is known as authentication.
The phrase “critical information is not divulged to unauthorised entities” is used to describe secrecy.
Non-repudiation is the “protection against a person fraudulently denying that they have carried out a certain activity.”
“Ensuring timely and dependable access to and use of information” is the definition of availability.
Integrity is a fundamental characteristic of the blockchain technology
Deep learning optimization model
The raw data is utilized with a deep learning optimization model and must prevent the data forgery affected by a third party in terms of malicious attack. The raw data encryption must protect personal information. The proposed deep learning optimization model with IoT-based blockchain ensures and satisfies the data integrity. Before providing deep learning optimization data, the learners with data are never modulated. The IoT-based blockchain stores the hashcode of raw data, which is received from at least one IoT data provider. The raw data hashcode stored in the IoT-based blockchain compares the data hashcode used for the deep learning optimization model thereby the data integrity is verified. The accurate data provider integrity and raw data forgery preventions are enabled via raw data for the deep learning optimization model.
The raw data of block data obtained from the data provider encrypts the IoT blockchain and stores raw data. Based on the features of the deep learning optimization model, the efficiency of processing data is ensured and data integrity is provided. Further, the deep learning-based optimization model provides safety against selfish mining, DDoS, Poisoning, Sybil, and Impersonation attacks.
Deep learning model verification
The data must confirm via processing data and raw data tracking in the deep learning optimization model. The deep learning optimization model above wired and wireless networks demeanor data verification with the help of IoT-based blockchain server connection. From the data provision node, the verification node is obtained and the blockchain stores it. The raw data with its hashcode is transmitted to the data layer by the information provider layer in the E-Commerce model verification [17]. The data and hashcode obtained from the provider layer are encrypted with the usage of data collection and management. For model management, the learning patterns teach the deep learning optimization model and obtain the outputs.
Furthermore, the verification node creates the encryption and decryption keys and it saves the data obtained from the information provision node in the IoT-based blockchain. In an open network, a similar encryption key is used for the amount of data users. The hashcode obtained from the deep learning optimization model server depends upon the request for the data verification. Transmit and decrypt the encrypted hash value to the verification module.
Simulation results and discussion
The simulation of our method is carried out by blockchain running Hyperledger fabric v1.2 with a docker container of version 2.0.5. Virtual machine Ubuntu Linux v16.04 LTS with 1 virtual CPU core is used in our simulation. The effective execution of Hyperledge fabrics requires internal memory of about 2 GB and 20 GB of external memory. Additionally, Node.js v8.9.1 is appended to conduct the multi-node testing with the npm version of 6.8.0. Moreover, the power supply is given by using a Gigabit Ethernet switch. The experiments are carried out to analyze the user integrity authorization and cost function.
Performance analysis in terms of scalability and interoperability
The performance of scalability and interoperability are analyzed in this section. Scalability is determined as the addition of a transactional block to the chain whereas interoperability is determined as the time taken to append a block to the chain. The time of adding a block to the chain is directly proportional to the time required to create a block on the fabric network. Figure 3 illustrates the comparative study of response time for user integrity authorization with the number of transactions. We have conducted almost 1500 transactions and enlisted the data. Further, Fig. 3 shows that the response time for the user integrity authorization enhances marginally with the addition of more blocks. After the completion of 1250 transactions, the curve increases linearly corresponding to the number of transactions.

Performance analysis response time for user integrity authorization vs No. of transactions.
Figure 4. shows the performance analysis of response time with respect to the number of transactions. The performance of automatic verification time and optimized data integrity time of our proposed methods were analyzed. From we can conclude that user integrity and convergence are enhanced marginally with respect to the increasing number of transactions.

Performance analysis of block addition response time of auto verification and data integrity verification.
Next, the total transaction time of our proposed method is analyzed with MudraChain [19] and NormaChain [18] methods. From Fig. 5, it is evident that the proposed method transfers more data in 1 hour when compared with the other two methods.

Performance analysis of total transactions time.
Due to the complexity of the cost function in some optimization problems, the leading student may always be the temporary/local optimum, even though they are still far from the permanent/global optimum, and the gradual improvement of the trailing students may be constrained to a small area of design space just around them. As a result, a bad operational loop would develop, impeding the optimization process and perhaps even making it impossible to reach the global optimum. The “challenge of the new student” is intended to supplement the algorithm with ongoing rebellion against the present leader in order to give IAS a more dynamic and exploratory character. The new student will assume control of the challenge if he is more skilled than the one who is currently in the lead.
The convergence curve in Fig. 6 is used to examine the cost function of our proposed system. The global optimum was found as soon as possible, or after the 40th iteration, as can be seen in the Fig. 6. As a result, the robustness of our proposed deep learning-based HIASTLO algorithm is determined by this result. Consequently, our solution quickly makes the safe e-commerce application available.

Convergence curve for the IoT based Ecommerce security applications.
The throughput of our proposed method is analyzed by comparing the number of IoT nodes against the total number of transactions per second. The outcome is depicted in Fig. 7 and shows that our proposed method possesses greater transactions per second and hence it fulfills the required ability for the e-commerce blockchain.

Performance analysis in terms of Throughput.
To analyze the performance of our proposed work in terms of data privacy we have taken some habitually applied financial datasets which are illustrated in Table 2. From Table 2 it is evident that our proposed work confirms the data privacy in the IoT-based e-commerce blockchain.
Data privacy analysis
Data privacy analysis
This stage involves gathering the non-saturated data, such as speech, texts, and photos. The fitted data is then extracted for further processing after which we take care of the pre-processing. Convert the gathered data so that it can be used in the deep learning model in the event that current data properties are combined, properties are deleted or selected, and missing values are deleted or filled in. Apply the examined data to deep learning while optimising the process by removing inference and exploration data, mapping the data, and looking for standardised data patterns. The raw data collected during the data gathering procedure typically contains a few sounds that are inconsistent and are not suitable for further processing. However, increasing performance, accuracy, reliability, and quality of data is a crucial step.
Accuracy can be determined as the ratio of accurate predictions to the total number of IoT nodes estimated.
Precision can be determined as the fraction of accurate predictions of data that are relevant to the process. It can be given as,
Recall can be determined as the successfully enabled relevant document from the fraction of accurately predicted documents.
Here, T P , T N , F N , and F p are the true positives, true negatives, false negatives, and false positives correspondingly.
The performance metrics of our proposed deep learning-based HIASTLO is analyzed with the existing BSIoTNET [5], BCFC [6], DRNN [7], DNN-KNN [8], MOO-FS [10], LRNN [11], and HDLM [12] works. Figure 8. shows the performance analysis of our proposed method in terms of accuracy with other works mentioned above. The comparative analysis shows that our proposed method exhibits the highest accuracy of about 98.1% and the LRNN method possesses the least accuracy of about 78.21%. Thus our proposed deep learning-based HIASTLO outperforms the other approaches.

Performance analysis in terms of Accuracy.
The precision is analyzed and depicted in Fig. 9. Our proposed deep learning method exhibits almost 99.16% precision, whereas, HDLM shows the least precision of about 74.25%. Moreover, our proposed method shows an almost 2.87% greater value than the existing DRNN method. The performance metrics recall is comparatively analyzed and depicted in Fig. 10. It shows that our method has 97.78% recall and the MOO-FS method shows the least recall of 70.12%. Our proposed method shows a 2.36% rise in recall than the BSIoTNET method. Therefore we can conclude that our proposed deep learning-based HIASTLO shows better performances than the other existing approaches.

Performance analysis in terms of Precision.

Performance analysis in terms of Recall.
Based on the several cyber attacks, the performance of our proposed deep learning-based HIASTLO algorithm is analyzed with some of the existing works such as BSIoTNET [5], BCFC [6], DRNN [7], DNN-KNN [8], MOO-FS [10], LRNN [11], and HDLM [12]. The outcomes are tabulated in Table 3. In that table, S is used to denote the algorithm protects against that particular attack and N denotes it doesn’t provide protection and if that particular attack is not considered and analyzed means it is denoted as U. Moreover, it also shows that our proposed method provides better protection against all attacks and has better security than other approaches.
Comparison in terms of Cyberattacks
Comparison in terms of Cyberattacks
Notation Table
This article proposes an optimized deep learning model that can ensure data integrity in IoT-based blockchain applications. The hybrid Interactive Autodidactic School-Based Teaching-Learning Optimization (HIASTLO) algorithm is utilized for optimizing the neural networks. While ensuring data integrity, this work is also robust against cyber-attacks such as selfish mining, DDoS, poisoning, Sybil, and impersonation attacks. The throughput, scalability, and interoperability of the proposed model are effectively analyzed. The learning data integrity is verified via the IoT-based E-commerce blockchain data integrity model and thereby the reliability and confidentiality are improved. The proposed transaction time is higher compared to the Mudra chain and the Norma chain. Further, the performance of cybersecurity attack prevention is validated by using different evaluation measures such as precision, recall, and accuracy. Finally, the proposed deep learning with optimization model demonstrates without threats IoT-based blockchain.
