Differences and connections between URLs and Uris

Source: Internet
Author: User

When I was studying Android development, I suddenly found these two words, but I didn't understand what they meant. Later I checked the materials for half a day and finally found out that, of course, they were also written by others, now let's take a look at it and let more people see it:

Summary: 1. abbreviation: URI (Uniform Resource Identifier) unified resource identifier; URL (Uniform resource location) Unified Resource Identifier (or unified Resource Locator); URN (Uniform Resource Name) Unified Resource Name. 2. uri and URL comparison. uri is a more extensive concept. a url is a type of Uri and a subset of the URI naming mechanism. It can be said that the URI is abstract, and the URL is used to locate resources. B. each type of web resource, such as images, documents, and videos, is located by Uri. The so-called positioning here refers to the comparison between Web Resources and host servers, the specific path on the server. C. url is a string used to describe information resource files on the Internet. ProgramAnd the server, locate the information required by the client to connect to the server. It not only locates this information resource, but also defines how to find this resource. 3. in my vernacular, Uri is a resource locating mechanism. It positions resources in a general sense, not limited to clients and servers, but URLs position all resources on the Internet, all resources on the Internet have unique URLs.

Be sure to keep this source http://win7452.blog.51cto.com/147513/45741

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.