Friday 7 June 2013

URI vs URL vs URN vs URC

URI là gì?

Uniform Resource Identifier (URI) là một chuỗi kí tự được sử dụng để định danh tên, hoặc tài nguyên trên Internet. Việc định danh này cho phép tương tác với các tài nguyên trên mạng sử dụng một giao thức xác định. Schemes specifying a concrete syntax and associated protocols define each URI.
URI xác định tài nguyên theo vị trí, theo tên, hoặc cả 2. URI có 2 nhánh là URL và URN

URL là gì?

Uniform Resource Locator (URL) là tập con của URI, xác định tài nguyên có tồn tại hay không, và cơ chế lấy nó về. URL != URI
URL xác định rõ cách tài nguyên có thể lấy về, không nhất thiết phải là HTTP url (http://) mà có thể là ftp:// hoặc smb://

URN là gì?

Uniform Resource Name là URI mà sử dụng URN scheme, và không bao hàm tính sẵn sàng của tài nguyên. Nó chỉ đưa ra tính miêu tả cho tài nguyên mà không thực sự trỏ đến nó. vd: urn:isbn:90-12-12345

URC là gì?

Uniform Resource Characteristics (URCs) were proposed as a semi-standard form of metadata that described World Wide Web Resources that were identified by a URI. In the early days of the Internet URC was planned as "a set of meta-level information about a resource. Some examples of such meta-information are: owner, encoding, access restrictions and cost."


The effort to standardize URCs within the IETF faltered after its initial introduction. The need for standard metadata description of a Resource has been solved by various technologies such as Resource Description Framework and Meta tags.