Public opinion supervision is an important part of the national security supervision system. In the Internet era, especially with the rapid development of mobile social media, the position of online public opinion supervision in public opinion supervision is becoming more and more prominent. Internet public opinion supervision has a wide range of subjects, diverse objects, multiple channels, instant and efficient communication speed, and two-way interaction and has its distinctive features, but at the same time there are phenomena such as online rumors, invasion of others' privacy, and venting private anger. The existence of these problems requires strengthening the legal system of public opinion supervision, enhancing the network literacy of Internet users, government management departments, website operators, and other subjects of online public opinion supervision, continuously improving the technical level of online public opinion monitoring, and public opinion guidance ability of network supervision departments, and strengthening the regulation of online public opinion supervision through the improvement and improvement of legal system and coordinated promotion of cyberspace governance. Meanwhile, mobile Internet is the soil for social opinion dissemination. With the development of technology, cognitive wireless network is becoming an important infrastructure in the mobile Internet. Therefore, this paper studies social opinion dissemination and cyber law management in cognitive wireless networks and proposes a cognitive engine model based on artificial intelligence algorithms for cognitive wireless networks for enhancing opinion dissemination and law management. The extended experiments demonstrate the advanced performance and effectiveness of the proposed method in this paper and provide a new technical approach for enhancing public opinion dissemination and legal management.