Artificial intelligence (AI) and the Internet of Things (IoT) make it urgent to push the frontier of AI to the network edge and release the potential of edge big data. The model’s accuracy in data acquisition and music genre classification (MGC) is further improved based on theater music data acquisition. First, machine learning and AI algorithms are used to collect data on various devices and automatically identify music genres. The data collected by edge devices are safe and private, which shortens the time delay of data processing and response. In addition, the deep belief network (DBN)-based MGC algorithm has better overall recognition and classification effect on music genres. The MGC accuracy of the proposed improved DBN algorithm is nearly 80%, compared to 30%–40% of the traditional algorithms. The DBN algorithm is more accurate than the traditional classical algorithm in MGC. The research has an important reference value for developing Internet technology and establishing a music recognition model.