Currently, cloud computing provides the necessary infrastructure and software services to provide the requested services needed by users on the Internet. Due to the spectacular growth of cloud computing, the number of users and the number of demands are increasing rapidly, which creates a high workload on servers and computing resources. In this situation, for the optimal use of resources, the need for an efficient and effective management approach is fully felt. For this purpose, game theory has been used. The game structure is designed in such a way that the leader (leader) owns a large number of resources and plans the allocation of resources based on the request received from mobile users. The goal from the leader's point of view is to minimize the cost of using the resources located in the fog nodes, on the other hand, the goal considered from the mobile users' point of view is to minimize the cost of responding and transmitting the message to the desired fog node. For this purpose, the entire region is divided into regions and a fog node is considered for each region. The main goal of this research is to reduce the average delay in the provision of services related to Internet of Things applications in cloud computing platforms. For this purpose, an attempt is made to provide a new method for allocating multiple tasks in mobile collective monitoring based on fog computing in the Internet of Things using the inverse Stackelberg game theory with the help of fuzzy logic and deep reinforcement learning algorithm.