Research Article

Proactive Network Fault Management for Reliable Subscribed Network Slicing in Software-Defined Mobile Data IoT Services

Algorithm 2

SDQN-PDRA.
(1)Initial the main, target parameters, and replay buffer, and respectively
(2)Define number of episodes
(3)for each step in the episodes, then
(4) State observation
(5) DQNagent selects action based on the optimal policy
(6) Action selection and explore the next state and obtain the reward
(7)At each time slot SDN controller executes the action ,
(8)if the size of the size of replay buffer
(9)  cache into the replay buffer
(10)else
(11)  Replace queue tail element with the current as the FIFO process.
(12)End if
(13) Transition to next network state
(14) Random minibatch of samples from replay buffer
(15) Compute the target network value:
(16)
(17) Compute and minimize the loss:
(18)
(19) Update the target network , based on the updated :
(20)
(21)End for