Usage of UPnP Functions
Usage of UPnP Functions
I. Concepts of UPnP:
The following is an explanation of UPnP on the Microsoft Official Website:
Q: What is UPnP?
A: Universal plug-and-play (UPnP) is a common architecture for peer-to-peer network connection between PC machines and smart devices (or instruments), especially in the home. Based on Internet standards and technologies (such as TCP/IP, HTTP, and XML), UPnP enables devices to automatically connect to and work with each other to enable the network (especially the home network) it is possible for more people.
Q: What does UPnP mean to consumers?
A: simple, more choices, and more innovative experiences. Network products that contain general plug-and-play technologies only need to be connected to the network to start working normally. In fact, UPnP can be used together with any network media technology (wired or wireless. For example, this includes the category 5 ethernet cable, Wi-Fi or 802.11b wireless network, IEEE 1394 ("FireWire"), telephone line network, or power line network. When these devices are connected to PCs, users can make full use of all kinds of innovative services and applications.Program.
Q: What are the technical elements of UPnP?
A: The UPnP is widely used because it targets the home network, nearby network, and networks in small businesses and residential buildings. Under the management of network control devices, it supports data communication between any two devices. UPnP does not depend on a specific operating system,Programming LanguageOr physical media.
UPnP supports the zero-configuration Network and automatic search function. In this way, the device can dynamically join the network, obtain the IP address, and announce its own name. The device can provide functions as needed, learn about the existence and functions of other devices. DHCP and DNS servers are optional. You can use it as long as it is available on the network. In addition, devices can automatically and smoothly leave the network without leaving any unnecessary status.
UPnP draws on the successes of the Internet and inherits its components, including IP, TCP, UDP, HTTP, and XML. UPnP involves multi-vendor collaboration to establish a standard Device Control Protocol (DCP ). Similar to the Internet, these protocols are in XML format based on the announcement line protocol and communicate over HTTP.
The following is an explanation of UPnP on the official BC Website:
UPnP (Universal Plug and Play) is a general plug-and-play protocol. It cannot be simply understood as UPnP = "automatic port ing ".
In the bitcomet download, UPnP contains two layers:
1. For an intranet computer, the UPnP function of bitcomet Enables automatic port ing between the NAT module of the gateway or vro to map the port listened by bitcomet from the gateway or vro to the Intranet computer.
2. The network firewall module of the gateway or router opens this port to other computers on the Internet.
I think Microsoft's interpretation is too theoretical and suitable for writing into the Oxford Dictionary, while the explanation on the official website of BC is too obscure. In fact, for general users, you can simply understand UPnP as automatic port ing. It is a new Internet protocol based on TCP/IP protocol for communication between devices, the purpose is to allow all devices connected to the Internet to communicate with each other without being blocked by the gateway in the future.
2. Which users need to use the UPnP function?
1. We need to consider UPnP only when we need to use P2P software that supports UPnP, such as BT, eMule, and MSN. If you don't need the software, just browse the Internet, you don't have to read the following;
2. If you need to use the P2P software, but you are an Internet user, you can skip the following sections, because you can use the P2P software normally without the need for UPnP;
For how to determine whether you are an intranet user or an Internet user, refer to the third floor below:
Full resolution of bandwidth users over the Intranet or Internet --
3. If you are an intranet user, but you have manually mapped the ports for these P2P software, for example, you can see "remote" in the "user list" When downloading data using BC ", or, after successfully connecting to the server using the eMule, it is displayed as a high ID. You can skip the following steps.
However, it should be noted that the manual port ing only works for a P2P software. If a new P2P software is used, port ing is still required for new P2P software;
For how to manually perform port ing, refer to the first floor below:
Description of ADSL Modem Port ing method --
4. If you are an intranet user, you need to use these P2P software without manual port ing. For example, when you use BC for download, in the "user list", there is only "local" and no "remote". When using the eMule, It also displays a low ID. In this case, we need to consider the port ing problem!
In this case, we can have two options:
1. for manual port ing, see the link at above.Article;
2. Enable the UPnP function and perform automatic port ing, which is what we will talk about below;
Summary: objective of UPnP automatic port ing:
Taking BC as an example, both manual port ing and automatic UPNP port ing are intended to obtain remote connections. Therefore, users who see "remote" in the "user list" Can, no port ing or UPnP is required! UPnP and port ing only need to take one of them. They are equivalent to two different methods to achieve the goal.
Therefore, if your system or hardware does not support the UPnP function, you don't have to worry about it. You can do port ing manually according to the method in the 3rd-point link article. The effect is the same;
Iii. Conditions for UPnP implementation:
Three conditions must be met simultaneously:
1. the modem must support the UPnP function: Check the instruction documents or consult the manufacturer. Generally, modem must also support the routing function, unless you have a separate router;
2. Operating System Support: In the article about UPnP mentioned at the beginning of this article, only Windows XP supports UPnP, however, Microsoft's official website claims that the UPnP feature has been supported since Windows ME. However, I have never used Windows ME. You can test it on your own;
3. The software must support UPnP functions, such as BC, eMule, and MSN;
Note: The preceding three conditions must be met at the same time. Otherwise, you must consider manual port ing;