## 1 Introduction  
It is expected that the fifth-generation mobile network (5G) can cover a wide range of industrial use cases and improve network performance significantly. The current mobile networks are no more efficient at handling the multi-service demands and providing different qualities of service (QoS) to their users [1]. The virtualized and programmable nature of the 5G mobile network is the best and most cost-effective solution for ensuring on-demand services. Network slicing is an important feature of the 5G network that allows you to create multiple isolated logical networks, referred to as slices over the same physical infrastructure, for the mission of supporting multiple use cases, with diverse service requirements. The network slicing in a 5G network is achieved using network function virtualization (NFV) and software-defined network (SDN) technologies [2]. Just as 3G and 4G mobile networks revolutionized social behavior by enabling social networking on mobile phones, the 5G mobile network is also expected to connect everything, our environment, our businesses, our cities, and our industries will be revolutionized. The 5G network will not only give users high-speed throughput like 4G but will also make the industries and cities smarter. It will also encounter the diverse use cases of smart factories as well. The 5G network design can meet the two new services' requirements, unlike enhanced mobile broadband (eMBB): the large variety of connected objects, known as massive machine type communication (mMTC), and ultra-reliable low latency (URLLC)--which requires high reliability and low latency. The main three slice categories in the 5G network are presented in Figure 1.  
The 5G network architecture is designed on the service-oriented pattern that can provide better and different QoS to users for different kinds of application scenarios--data transmission and low latency, etc. The 5G network should be able to provide all kinds of services to every kind of user requirement, such as in the highly-dense area where the cellular traffic is very high. In those cases which require seamless service with high bandwidth, the indoor environment should provide seamless high bandwidth, even with fast speed mobility [3; 4; 5]. On the other hand, in the cases of large numbers of widespread low power-constrained devices (sensors, smartphones, security cameras, etc.) that need a reliable connection, 5G networks assure the connectivity of millions of these low powered and constrained-in-resources devices at very low cost. The other use-cases are connected vehicle, smart factories and real-time applications (health care monitoring) which require ultra-low latency; 5G networks fulfill the requirements of low latency application and provide secure communications by introducing the URLLC network slice [6]. We have proposed and developed an automated framework named intent-based network slicing in which the intent-based networking (IBN) tool is used for providing the upper-level slice configurations to the network orchestrator. This slicing system encompasses four major modules: the IBN tool, the Network Orchestrator Open-Source Mano (OSM), the radio access network (RAN) controller FLEXRAN, and the machine learning module. This system can perform E2E slicing for both the core network and the access network. 5G networking requires one to have an automated management system to create, delete, and update the on-demand network slices by providing just abstract-level configurations. Thus, our system can automate the procedure of network slice creation with the help of the IBN tool. The IBN tool has the ability to take high-level configurations for a slice and generate a network slice template according to the network orchestrator acceptable format, for example, a JSON string for the OSM orchestrator and the JSON file for the RAN controller FlexRAN. It also contains a machine learning module that continuously monitors the network resources' statistics and stores them in the IBN database resource repository.