UPnP (Universal Plug and Play OPENCONNECTIVITY.ORG/RESOURCES/SPECIFICATIONS/UPNP) is a set of technical standards for network protocols that allow smart devices such as personal computers, smart TVs, mobile phones, Gateway) discovers and establishes a peer- to network connection in the network for data sharing, communication, and entertainment. The upper layer protocols/specifications used by UPnP are: SSDP (Simple Device Discovery Protocol), HTTP, SOAP (Simple Object Access Protocol), XML.
Many routers are NAT-penetrated through UPnP, and routers describe themselves as Internet Gateway devices, allowing any local UPnP control point to perform various operations such as retrieving the external IP address of the device, adding or removing port mappings. is a UPnP-enabled router (UPnP gateway device) discovered by Windows 10 and discovered by Android programs.
DLNA (Digital Living Network Alliance Https://spirespark.com/dlna) is a solution for device interconnection and digital media entertainment developed by a wide range of protocols and technical standards, and the DLNA technology architecture includes UPnP.
Cling (https://github.com/4thline) is a Java-implemented Upnp/dlna protocol stack that relies on a lot of things, referencing cling-2.1.1\distribution\src\ Dist the Readme file and the source code pom.xml, using cling you also need the following dependent libraries:
- Cling-core-2.1.1.jar,cling-support-2.1.1.jar
- Seamless-http-1.1.1.jar,seamless-util-1.1.1.jar,seamless-xml-1.1.1.jar
- jetty-client-8.1.21.v20160908.jar,jetty-continuation-8.1.21.v20160908.jar,jetty-http-8.1.21.v20160908.jar,jetty-io-8.1.21 . v20160908.jar,jetty-security-8.1.21.v20160908.jar,jetty-server-8.1.21.v20160908.jar,jetty-servlet-8.1.21.v20160908.jar,j Etty-util-8.1.21.v20160908.jar,servlet-api-3.0.jar
- Javax.enterprise-cdi-api-1.2.jar,javax.mail-mail-1.4.7.jar
- Net.sf.kxml-kxml2-2.3.0.jar
- Org.dbunit-dbunit-2.2.3.jar
- Org.hibernate-hibernate-core-3.6.10.final.jar
- Org.slf4j-slf4j-api-1.6.6.jar,org.slf4j-slf4j-jdk14-1.6.6.jar
These libraries can use the versions indicated in Pom.xml or use their latest stable version.
Android Upnp/dlna app and cling 2.1.1 Dependent library